Skip to content

Commit 2f49417

Browse files
committed
Update git repository not found notification to warning and remove unused translation
1 parent 42127d6 commit 2f49417

2 files changed

Lines changed: 1 addition & 19 deletions

File tree

‎apps/editor/src/commands/select-modified-files-command.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export const select_modified_files_command = (
3434
}
3535

3636
if (git_api.repositories.length === 0) {
37-
vscode.window.showInformationMessage(
37+
vscode.window.showWarningMessage(
3838
t('common.warning.no-git-repository-found')
3939
)
4040
return

‎apps/editor/src/i18n/translations/common.ts‎

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -863,24 +863,6 @@ export const translations = {
863863
hu: 'Visszavonás',
864864
bg: 'Отмяна'
865865
},
866-
'common.error.git-integration-missing': {
867-
en: "Editor's Git integration hasn't loaded yet.",
868-
pl: 'Integracja Gita w edytorze jeszcze się nie załadowała.',
869-
'zh-cn': '编辑器的 Git 集成尚未加载。',
870-
ja: 'エディタの Git 統合がまだ読み込まれていません。',
871-
'zh-tw': '編輯器的 Git 整合尚未載入。',
872-
de: 'Die Git-Integration des Editors wurde noch nicht geladen.',
873-
es: 'La integración de Git del editor aún no se ha cargado.',
874-
fr: "L'intégration Git de l'éditeur n'a pas encore été chargée.",
875-
'pt-br': 'A integração do Git do editor ainda não foi carregada.',
876-
ru: 'Интеграция Git редактора еще не загружена.',
877-
ko: '편집기의 Git 통합이 아직 로드되지 않았습니다.',
878-
it: "L'integrazione Git dell'editor non è ancora stata caricata.",
879-
tr: 'Düzenleyicinin Git entegrasyonu henüz yüklenmedi.',
880-
cs: 'Integrace Gitu v editoru ještě nebyla načtena.',
881-
hu: 'A szerkesztő Git-integrációja még nem töltött be.',
882-
bg: 'Git интеграцията на редактора все още не е заредена.'
883-
},
884866
'common.success.item-deleted': {
885867
en: '{item} deleted.',
886868
pl: 'Usunięto: {item}.',

0 commit comments

Comments
 (0)