Skip to content

Commit 3fa178d

Browse files
committed
Add placeholder to the ASCII tree quick pick in commit message command
- the placeholder on 'ascii tree' quick pick is empty └── apps └── editor └── src ├── commands │ └── generate-commit-message-command │ └── generate-commit-message-command.ts └── i18n └── translations └── commands └── generate-commit-message.ts
1 parent 61c3a23 commit 3fa178d

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

‎apps/editor/src/commands/generate-commit-message-command/generate-commit-message-command.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,9 @@ export const generate_commit_message_command = (
243243
quick_pick.title = t(
244244
'command.generate-commit-message.attach-ascii-tree.title'
245245
)
246+
quick_pick.placeholder = t(
247+
'command.generate-commit-message.attach-ascii-tree.placeholder'
248+
)
246249
quick_pick.ignoreFocusOut = true
247250
quick_pick.buttons = [vscode.QuickInputButtons.Back]
248251

‎apps/editor/src/i18n/translations/commands/generate-commit-message.ts‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,5 +215,24 @@ export const translations = {
215215
cs: 'Strom souborů ASCII',
216216
hu: 'ASCII fájlfa',
217217
bg: 'ASCII дърво на файловете'
218+
},
219+
'command.generate-commit-message.attach-ascii-tree.placeholder': {
220+
en: 'Attach an ASCII file tree of the context files to the commit message?',
221+
pl: 'Dołączyć drzewo plików ASCII plików kontekstowych do wiadomości commita?',
222+
'zh-cn': '是否将上下文文件的 ASCII 文件树附加到提交信息中?',
223+
ja: 'コンテキストファイルの ASCII ファイルツリーをコミットメッセージに添付しますか?',
224+
'zh-tw': '是否將上下文檔案的 ASCII 檔案樹附加到提交訊息中?',
225+
de: 'Möchten Sie einen ASCII-Dateibaum der Kontextdateien an die Commit-Nachricht anhängen?',
226+
es: '¿Adjuntar un árbol de archivos ASCII de los archivos de contexto al mensaje de commit?',
227+
fr: 'Joindre une arborescence de fichiers ASCII des fichiers de contexte au message de commit ?',
228+
'pt-br':
229+
'Anexar uma árvore de arquivos ASCII dos arquivos de contexto à mensagem de commit?',
230+
ru: 'Прикрепить ASCII дерево контекстных файлов к сообщению коммита?',
231+
ko: '컨텍스트 파일의 ASCII 파일 트리를 커밋 메시지에 첨부하시겠습니까?',
232+
it: 'Allegare un albero dei file ASCII dei file di contesto al messaggio di commit?',
233+
tr: 'Bağlam dosyalarının ASCII dosya ağacı işleme mesajına eklensin mi?',
234+
cs: 'Připojit strom souborů ASCII kontextových souborů ke zprávě commitu?',
235+
hu: 'Csatoljon egy ASCII fájlfát a kontextusfájlokról a commit üzenethez?',
236+
bg: 'Да се прикачи ли ASCII дърво на контекстните файлове към commit съобщението?'
218237
}
219238
} as const

0 commit comments

Comments
 (0)