File tree Expand file tree Collapse file tree
i18n/translations/commands Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,7 +124,11 @@ export const history_command = (params: {
124124 ( c ) => c . trigger != 'temporary'
125125 )
126126
127- quick_pick . buttons = [ clear_all_button , close_button ]
127+ if ( visible_checkpoints . length > 0 || temp_checkpoint_is_valid ) {
128+ quick_pick . buttons = [ clear_all_button , close_button ]
129+ } else {
130+ quick_pick . buttons = [ close_button ]
131+ }
128132
129133 visible_checkpoints . sort ( ( a , b ) => {
130134 return b . timestamp - a . timestamp
@@ -297,6 +301,7 @@ export const history_command = (params: {
297301 }
298302
299303 if ( button === clear_all_button ) {
304+ notification_count ++
300305 quick_pick . hide ( )
301306
302307 const temp_checkpoint =
@@ -307,6 +312,7 @@ export const history_command = (params: {
307312 vscode . window . showInformationMessage (
308313 t ( 'command.history.info.nothing-to-delete' )
309314 )
315+ notification_count --
310316 quick_pick . show ( )
311317 return
312318 }
@@ -325,6 +331,8 @@ export const history_command = (params: {
325331 )
326332 }
327333 await refresh_and_update_view ( )
334+ notification_count --
335+ quick_pick . show ( )
328336 }
329337 } )
330338
Original file line number Diff line number Diff line change @@ -162,22 +162,22 @@ export const translations = {
162162 bg : 'напр. Добавена е форма за вход'
163163 } ,
164164 'command.history.trigger.manual' : {
165- en : 'Manual ' ,
166- pl : 'Ręczny ' ,
167- 'zh-cn' : '手动 ' ,
168- ja : '手動 ' ,
169- 'zh-tw' : '手動 ' ,
170- de : 'Manuell ' ,
171- es : 'Manual ' ,
172- fr : 'Manuel ' ,
173- 'pt-br' : 'Manual ' ,
174- ru : 'Вручную ' ,
175- ko : '수동 ' ,
176- it : 'Manuale ' ,
177- tr : 'Manuel ' ,
178- cs : 'Ručně ' ,
179- hu : 'Kézi ' ,
180- bg : 'Ръчно '
165+ en : 'Created on-demand ' ,
166+ pl : 'Utworzony na żądanie ' ,
167+ 'zh-cn' : '按需创建 ' ,
168+ ja : 'オンデマンドで作成 ' ,
169+ 'zh-tw' : '按需建立 ' ,
170+ de : 'Auf Abruf erstellt ' ,
171+ es : 'Creado a pedido ' ,
172+ fr : 'Créé à la demande ' ,
173+ 'pt-br' : 'Criado sob demanda ' ,
174+ ru : 'Создано по запросу ' ,
175+ ko : '요청 시 생성됨 ' ,
176+ it : 'Creato su richiesta ' ,
177+ tr : 'İsteğe bağlı oluşturuldu ' ,
178+ cs : 'Vytvořeno na vyžádání ' ,
179+ hu : 'Igény szerint létrehozva ' ,
180+ bg : 'Създадено при поискване '
181181 } ,
182182 'command.history.trigger.auto' : {
183183 en : 'Auto Checkpoint' ,
You can’t perform that action at this time.
0 commit comments