Skip to content

Commit 06b0bce

Browse files
committed
Print default option when prompting to create a new git repo
1 parent da32b59 commit 06b0bce

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

pkg/i18n/english.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1529,7 +1529,7 @@ func EnglishTranslationSet() *TranslationSet {
15291529
DiscardFileChangesTitle: "Discard file changes",
15301530
DiscardFileChangesPrompt: "Are you sure you want to remove changes to the selected file(s) from this commit?\n\nThis action will start a rebase, reverting these file changes. Be aware that if subsequent commits depend on these changes, you may need to resolve conflicts.\nNote: This will also reset any active custom patches.",
15311531
DisabledForGPG: "Feature not available for users using GPG.\n\nIf you are using a passphrase agent (e.g. gpg-agent) so that you don't have to type your passphrase when signing, you can enable this feature by adding\n\ngit:\n overrideGpg: true\n\nto your lazygit config file.",
1532-
CreateRepo: "Not in a git repository. Create a new git repository? (y/n): ",
1532+
CreateRepo: "Not in a git repository. Create a new git repository? (y/N): ",
15331533
BareRepo: "You've attempted to open Lazygit in a bare repo but Lazygit does not yet support bare repos. Open most recent repo? (y/n) ",
15341534
InitialBranch: "Branch name? (leave empty for git's default): ",
15351535
NoRecentRepositories: "Must open lazygit in a git repository. No valid recent repositories. Exiting.",

pkg/i18n/translations/ja.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@
159159
"RemoteBranchesDynamicTitle": "リモートブランチ (%s)",
160160
"CommitFilesTitle": "コミットファイル",
161161
"DiscardFileChangesTitle": "ファイルの変更を破棄",
162-
"CreateRepo": "Gitリポジトリではありません。リポジトリを作成しますか? (y/n): ",
162+
"CreateRepo": "Gitリポジトリではありません。リポジトリを作成しますか? (y/N): ",
163163
"Cancel": "キャンセル",
164164
"DiscardAllChanges": "すべての変更を破棄",
165165
"HardReset": "hardリセット",

pkg/i18n/translations/ko.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@
190190
"DiscardOldFileChangeTooltip": "Discard this commit's changes to this file",
191191
"DiscardFileChangesTitle": "파일 변경 사항 버리기",
192192
"DiscardFileChangesPrompt": "Are you sure you want to discard this commit's changes to this file? If this file was created in this commit, it will be deleted",
193-
"CreateRepo": "Git 저장소가 아닙니다. 저장소를 생성하시겠습니까? (y/n): ",
193+
"CreateRepo": "Git 저장소가 아닙니다. 저장소를 생성하시겠습니까? (y/N): ",
194194
"Discard": "View 'discard changes' options",
195195
"Cancel": "취소",
196196
"DiscardAllChanges": "모든 변경사항 버리기",

pkg/i18n/translations/nl.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@
159159
"DiscardOldFileChangeTooltip": "Uitsluit deze commit zijn veranderingen aan dit bestand",
160160
"DiscardFileChangesTitle": "Uitsluit bestand zijn veranderingen",
161161
"DiscardFileChangesPrompt": "Weet je zeker dat je de wijzigingen van deze commit in dit bestand wilt weggooien? Als dit bestand is gecreëerd in deze commit dan zal dit bestand worden verwijdert",
162-
"CreateRepo": "Niet in een git repository. Creëer een nieuwe git repository? (y/n): ",
162+
"CreateRepo": "Niet in een git repository. Creëer een nieuwe git repository? (y/N): ",
163163
"AutoStashPrompt": "Je moet je veranderingen stashen en poppen om ze over te brengen. Dit automatisch doen? (enter/esc)",
164164
"StashPrefix": "Auto-stashing veranderingen voor ",
165165
"Discard": "Bekijk 'veranderingen ongedaan maken' opties",

pkg/i18n/translations/pl.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@
322322
"DiscardOldFileChangeTooltip": "Odrzuć zmiany w tym pliku z tego commita. Uruchamia interaktywny rebase w tle, więc możesz otrzymać konflikt scalania, jeśli późniejszy commit również zmienia ten plik.",
323323
"DiscardFileChangesTitle": "Odrzuć zmiany w pliku",
324324
"DiscardFileChangesPrompt": "Czy na pewno chcesz usunąć zmiany w wybranym pliku/ach z tego commita?\n\nTa akcja uruchomi rebase, cofając te zmiany w pliku. Pamiętaj, że jeśli późniejsze commity zależą od tych zmian, możesz potrzebować rozwiązać konflikty.\nUwaga: Spowoduje to również zresetowanie wszelkich aktywnych niestandardowych łatek.",
325-
"CreateRepo": "Nie w repozytorium git. Utworzyć nowe repozytorium git? (t/n): ",
325+
"CreateRepo": "Nie w repozytorium git. Utworzyć nowe repozytorium git? (t/N): ",
326326
"BareRepo": "Próbujesz otworzyć Lazygit w gołym repozytorium, ale Lazygit jeszcze nie obsługuje gołych repozytoriów. Otworzyć najnowsze repozytorium? (t/n) ",
327327
"InitialBranch": "Nazwa gałęzi? (pozostaw puste dla domyślnej gita): ",
328328
"NoRecentRepositories": "Musisz otworzyć lazygit w repozytorium git. Brak ważnych ostatnich repozytoriów. Wyjście.",

pkg/i18n/translations/pt.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@
384384
"DiscardOldFileChangeTooltip": "Descartar as alterações desse commit para este arquivo. Isso executa uma rebase interativa em segundo plano, então você pode ter um conflito de merge se um commit posterior também alterar este arquivo.",
385385
"DiscardFileChangesTitle": "Descartar alterações de arquivo",
386386
"DiscardFileChangesPrompt": "Você tem certeza de que deseja remover as alterações do(s) arquivo(s) selecionado(s) deste commit?",
387-
"CreateRepo": "Não está em um repositório git. Criar um novo repositório git? (y/n): ",
387+
"CreateRepo": "Não está em um repositório git. Criar um novo repositório git? (y/N): ",
388388
"BareRepo": "Você tentou abrir Lazygit em um repositório puro, mas Lazygit ainda não suporta repositórios vazios. Abrir os repositórios mais recentes? (y/n) ",
389389
"InitialBranch": "Nome da branch? (deixe vazio para o padrão do git): ",
390390
"NoRecentRepositories": "É necessário abrir lazygit em um repositório git. Nenhum repositório recente válido. Saindo do sistema.",

pkg/i18n/translations/ru.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@
243243
"DiscardOldFileChangeTooltip": "Отменить изменения коммита в этом файле",
244244
"DiscardFileChangesTitle": "Отменить изменения файла",
245245
"DiscardFileChangesPrompt": "Вы уверены, что хотите удалить изменения в выбранных файлах из этого коммита?\n\nЭто действие запустит перебазирование и отменит изменения в этих файлах. Обратите внимание, что если последующие коммиты зависят от этих изменений, вам, возможно, придется разрешить конфликты.\nПримечание: это также сбросит все активные пользовательские патчи.",
246-
"CreateRepo": "Не в git репозитории. Создать новый git репозиторий? (y/n):",
246+
"CreateRepo": "Не в git репозитории. Создать новый git репозиторий? (y/N):",
247247
"BareRepo": "Вы пытались открыть Lazygit в пустом репозитории, но Lazygit ещё не поддерживает пустые репозитории. Открыть последний репозиторий? (y/n)",
248248
"InitialBranch": "Название ветки? (оставьте пустым для git по умолчанию):",
249249
"NoRecentRepositories": "Необходимо открыть lazygit в git репозитории. Нет валидных последних репозиториев. Выход.",

pkg/i18n/translations/zh-TW.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@
280280
"CheckoutCommitFileTooltip": "檢出檔案",
281281
"DiscardFileChangesTitle": "捨棄檔案更改",
282282
"DiscardFileChangesPrompt": "是否捨棄此提交?如果這個檔案是在此提交中創建的,它將被刪除",
283-
"CreateRepo": "未在 git 版本庫中。是否建立新版本庫? (y/n): ",
283+
"CreateRepo": "未在 git 版本庫中。是否建立新版本庫? (y/N): ",
284284
"BareRepo": "你嘗試在裸版本庫中開啟 Lazygit,但 Lazygit 尚未支援裸版本庫。是否開啟最新版本庫? (y/n) ",
285285
"InitialBranch": "分支名稱?(留空使用 git 的預設值):",
286286
"NoRecentRepositories": "必須在 git 版本庫中開啟 lazygit。沒有有效的最近版本庫。退出。",

0 commit comments

Comments
 (0)