Skip to content

Commit 88cbf8d

Browse files
committed
Rename context selection commands and translation keys to context restoration for better clarity and consistency
- rename 'save context selection' -> 'save current selection', 'restore context selection' -> 'restore saved selection'. In identifiers, file names, etc. - rename 'context sources' to 'destination' (when saving), 'source' (when restoring) - rename `apps/editor/src/i18n/translations/commands/context-selection.ts` file to something better matching purpose. also rename 'command.apply-context'
1 parent bb4eefc commit 88cbf8d

31 files changed

Lines changed: 185 additions & 157 deletions

apps/editor/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -133,14 +133,14 @@
133133
"icon": "$(github-alt)"
134134
},
135135
{
136-
"command": "codeWebChat.saveContextSelection",
137-
"title": "%codeWebChat.saveContextSelection.title%",
136+
"command": "codeWebChat.saveCurrentSelection",
137+
"title": "%codeWebChat.saveCurrentSelection.title%",
138138
"category": "Code Web Chat",
139139
"icon": "$(save)"
140140
},
141141
{
142-
"command": "codeWebChat.restoreContextSelection",
143-
"title": "%codeWebChat.restoreContextSelection.title%",
142+
"command": "codeWebChat.restoreSavedSelection",
143+
"title": "%codeWebChat.restoreSavedSelection.title%",
144144
"category": "Code Web Chat",
145145
"icon": "$(history)"
146146
},
@@ -603,12 +603,12 @@
603603
"group": "navigation@9"
604604
},
605605
{
606-
"command": "codeWebChat.saveContextSelection",
606+
"command": "codeWebChat.saveCurrentSelection",
607607
"when": "view == codeWebChatViewWorkspace",
608608
"group": "1_more@1"
609609
},
610610
{
611-
"command": "codeWebChat.restoreContextSelection",
611+
"command": "codeWebChat.restoreSavedSelection",
612612
"when": "view == codeWebChatViewWorkspace",
613613
"group": "1_more@2"
614614
},

apps/editor/package.nls.bg.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"codeWebChat.saveContextSelection.title": "Запази избора на контекст",
3-
"codeWebChat.restoreContextSelection.title": "Възстанови избора на контекст",
2+
"codeWebChat.saveCurrentSelection.title": "Запази избора на контекст",
3+
"codeWebChat.restoreSavedSelection.title": "Възстанови избора на контекст",
44
"codeWebChat.applyChatResponse.title": "Приложи отговор от чата",
55
"codeWebChat.copyContext.title": "Копирай контекста",
66
"codeWebChat.checkpoints.title": "Контролни точки",

apps/editor/package.nls.cs.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"codeWebChat.saveContextSelection.title": "Uložit výběr kontextu",
3-
"codeWebChat.restoreContextSelection.title": "Obnovit výběr kontextu",
2+
"codeWebChat.saveCurrentSelection.title": "Uložit výběr kontextu",
3+
"codeWebChat.restoreSavedSelection.title": "Obnovit výběr kontextu",
44
"codeWebChat.applyChatResponse.title": "Použít odpověď chatu",
55
"codeWebChat.copyContext.title": "Kopírovat kontext",
66
"codeWebChat.checkpoints.title": "Kontrolní body",

apps/editor/package.nls.de.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"codeWebChat.saveContextSelection.title": "Kontextauswahl speichern",
3-
"codeWebChat.restoreContextSelection.title": "Kontextauswahl wiederherstellen",
2+
"codeWebChat.saveCurrentSelection.title": "Kontextauswahl speichern",
3+
"codeWebChat.restoreSavedSelection.title": "Kontextauswahl wiederherstellen",
44
"codeWebChat.applyChatResponse.title": "Chat-Antwort anwenden",
55
"codeWebChat.copyContext.title": "Kontext kopieren",
66
"codeWebChat.checkpoints.title": "Checkpoints",

apps/editor/package.nls.es.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"codeWebChat.saveContextSelection.title": "Guardar selección de contexto",
3-
"codeWebChat.restoreContextSelection.title": "Restaurar selección de contexto",
2+
"codeWebChat.saveCurrentSelection.title": "Guardar selección de contexto",
3+
"codeWebChat.restoreSavedSelection.title": "Restaurar selección de contexto",
44
"codeWebChat.applyChatResponse.title": "Aplicar respuesta del chat",
55
"codeWebChat.copyContext.title": "Copiar contexto",
66
"codeWebChat.checkpoints.title": "Puntos de control",

apps/editor/package.nls.fr.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"codeWebChat.saveContextSelection.title": "Enregistrer la sélection de contexte",
3-
"codeWebChat.restoreContextSelection.title": "Restaurer la sélection de contexte",
2+
"codeWebChat.saveCurrentSelection.title": "Enregistrer la sélection de contexte",
3+
"codeWebChat.restoreSavedSelection.title": "Restaurer la sélection de contexte",
44
"codeWebChat.applyChatResponse.title": "Appliquer la réponse du chat",
55
"codeWebChat.copyContext.title": "Copier le contexte",
66
"codeWebChat.checkpoints.title": "Points de contrôle",

apps/editor/package.nls.hu.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"codeWebChat.saveContextSelection.title": "Kontextus választás mentése",
3-
"codeWebChat.restoreContextSelection.title": "Kontextus választás visszaállítása",
2+
"codeWebChat.saveCurrentSelection.title": "Kontextus választás mentése",
3+
"codeWebChat.restoreSavedSelection.title": "Kontextus választás visszaállítása",
44
"codeWebChat.applyChatResponse.title": "Csevegési válasz alkalmazása",
55
"codeWebChat.copyContext.title": "Kontextus másolása",
66
"codeWebChat.checkpoints.title": "Ellenőrzőpontok",

apps/editor/package.nls.it.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"codeWebChat.saveContextSelection.title": "Salva selezione contesto",
3-
"codeWebChat.restoreContextSelection.title": "Ripristina selezione contesto",
2+
"codeWebChat.saveCurrentSelection.title": "Salva selezione contesto",
3+
"codeWebChat.restoreSavedSelection.title": "Ripristina selezione contesto",
44
"codeWebChat.applyChatResponse.title": "Applica risposta chat",
55
"codeWebChat.copyContext.title": "Copia contesto",
66
"codeWebChat.checkpoints.title": "Punti di controllo",

apps/editor/package.nls.ja.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"codeWebChat.saveContextSelection.title": "コンテキスト選択を保存",
3-
"codeWebChat.restoreContextSelection.title": "コンテキスト選択を復元",
2+
"codeWebChat.saveCurrentSelection.title": "コンテキスト選択を保存",
3+
"codeWebChat.restoreSavedSelection.title": "コンテキスト選択を復元",
44
"codeWebChat.applyChatResponse.title": "チャットの応答を適用",
55
"codeWebChat.copyContext.title": "コンテキストをコピー",
66
"codeWebChat.checkpoints.title": "チェックポイント",

apps/editor/package.nls.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"codeWebChat.saveContextSelection.title": "Save Context Selection",
3-
"codeWebChat.restoreContextSelection.title": "Restore Context Selection",
2+
"codeWebChat.saveCurrentSelection.title": "Save Current Selection",
3+
"codeWebChat.restoreSavedSelection.title": "Restore Saved Selection",
44
"codeWebChat.applyChatResponse.title": "Apply Chat Response",
55
"codeWebChat.copyContext.title": "Copy context",
66
"codeWebChat.checkpoints.title": "Checkpoints",

0 commit comments

Comments
 (0)