@@ -412,7 +412,7 @@ class ChatStatusDashboard extends Disposable {
412
412
// Settings
413
413
{
414
414
const chatSentiment = this . chatEntitlementService . sentiment ;
415
- addSeparator ( localize ( 'completionsAndNES' , "Completions / NES " ) , chatSentiment . installed && ! chatSentiment . disabled && ! chatSentiment . untrusted ? toAction ( {
415
+ addSeparator ( localize ( 'completionsAndNES' , "Completions" ) , chatSentiment . installed && ! chatSentiment . disabled && ! chatSentiment . untrusted ? toAction ( {
416
416
id : 'workbench.action.openChatSettings' ,
417
417
label : localize ( 'settingsLabel' , "Settings" ) ,
418
418
tooltip : localize ( 'settingsTooltip' , "Open Settings" ) ,
@@ -599,11 +599,11 @@ class ChatStatusDashboard extends Disposable {
599
599
// --- Code completions
600
600
{
601
601
const globalSetting = append ( settings , $ ( 'div.setting' ) ) ;
602
- this . createCodeCompletionsSetting ( globalSetting , localize ( 'settings.codeCompletions' , "Code completions (all files) " ) , '*' , disposables ) ;
602
+ this . createCodeCompletionsSetting ( globalSetting , localize ( 'settings.codeCompletions.allFiles ' , "All files" ) , '*' , disposables ) ;
603
603
604
604
if ( modeId ) {
605
605
const languageSetting = append ( settings , $ ( 'div.setting' ) ) ;
606
- this . createCodeCompletionsSetting ( languageSetting , localize ( 'settings.codeCompletionsLanguage ' , "Code completions ( {0}) " , this . languageService . getLanguageName ( modeId ) ?? modeId ) , modeId , disposables ) ;
606
+ this . createCodeCompletionsSetting ( languageSetting , localize ( 'settings.codeCompletions.language ' , "{0}" , this . languageService . getLanguageName ( modeId ) ?? modeId ) , modeId , disposables ) ;
607
607
}
608
608
}
609
609
@@ -743,19 +743,19 @@ class ChatStatusDashboard extends Disposable {
743
743
744
744
const timeLeftMs = this . inlineCompletionsService . snoozeTimeLeft ;
745
745
if ( ! isEnabled || timeLeftMs <= 0 ) {
746
- timerDisplay . textContent = localize ( 'settings.mute5minutes ' , "Mute for 5 mins" ) ;
746
+ timerDisplay . textContent = localize ( 'completions.snooze5minutesTitle ' , "Hide completions for 5 mins" ) ;
747
747
button . label = label ;
748
- button . setTitle ( localize ( 'settings .snooze5minutes' , "Snooze completions and NES for 5 mins" ) ) ;
748
+ button . setTitle ( localize ( 'completions .snooze5minutes' , "Hide completions and NES for 5 mins" ) ) ;
749
749
return true ;
750
750
}
751
751
752
752
const timeLeftSeconds = Math . ceil ( timeLeftMs / 1000 ) ;
753
753
const minutes = Math . floor ( timeLeftSeconds / 60 ) ;
754
754
const seconds = timeLeftSeconds % 60 ;
755
755
756
- timerDisplay . textContent = `${ minutes } :${ seconds < 10 ? '0' : '' } ${ seconds } remaining` ;
757
- button . label = localize ( 'settings .plus5mins' , "+5 mins" ) ;
758
- button . setTitle ( localize ( 'settings .snoozeAdditional5minutes' , "Snooze additional 5 mins" ) ) ;
756
+ timerDisplay . textContent = `${ minutes } :${ seconds < 10 ? '0' : '' } ${ seconds } ${ localize ( 'completions.remainingTime' , " remaining" ) } ` ;
757
+ button . label = localize ( 'completions .plus5mins' , "+5 mins" ) ;
758
+ button . setTitle ( localize ( 'completions .snoozeAdditional5minutes' , "Hide additional 5 mins" ) ) ;
759
759
toolbar . push ( [ cancelAction ] , { icon : true , label : false } ) ;
760
760
761
761
return false ;
0 commit comments