@@ -6,6 +6,12 @@ export const dictionary = {
66 } ,
77
88 information_message : {
9+ ALL_CHECKPOINTS_CLEARED : 'All checkpoints have been cleared.' ,
10+ ALL_CHECKED_FILES_UNCAHNGED_SINCE_COMMIT : (
11+ folder_name : string ,
12+ commit_hash : string
13+ ) =>
14+ `All checked files in "${ folder_name } " are unchanged since commit ${ commit_hash } .` ,
915 NO_INTELLIGENT_UPDATE_CONFIGURATIONS_FOUND :
1016 'No "Intelligent Update" configurations found. Please add one in the settings.' ,
1117 NO_SAFE_FILE_PATHS_REMAINING :
@@ -17,10 +23,19 @@ export const dictionary = {
1723 COPIED_TO_CLIPBOARD : 'Message copied to the clipboard.' ,
1824 CHECKPOINTS_COPIED_TO_CLIPBOARD :
1925 'Checkpoints copied to clipboard as logs.' ,
26+ CHECKPOINT_DELETED : ( from_now : string ) =>
27+ `Checkpoint from ${ from_now } deleted.` ,
28+ CHECKPOINT_RESTORED : 'Checkpoint restored.' ,
2029 NO_SAVED_CONTEXTS_IN_WORKSPACE_STATE :
2130 'No saved contexts remaining in the Workspace State.' ,
2231 NO_SAVED_CONTEXTS_IN_JSON_FILE :
2332 'No saved contexts remaining in the JSON file.' ,
33+ COMMIT_SEEMS_EMPTY : ( commit_hash : string ) =>
34+ `Commit ${ commit_hash } seems empty.` ,
35+ CONFIRM_SAVE_CHANGES_TO_ITEM : ( item_type : string ) =>
36+ `Save changes to the ${ item_type } ?` ,
37+ COULD_NOT_UNDO_ANOTHER_CHECKPOINT_DELETED :
38+ 'Could not undo. Another checkpoint was deleted.' ,
2439 NO_FILE_PATHS_FOUND_IN_CLIPBOARD : 'No file paths found in the clipboard.' ,
2540 NO_MATCHING_FILES_FOUND_FOR_CLIPBOARD_PATHS :
2641 'No matching files found in workspace for the paths in clipboard.' ,
@@ -38,12 +53,62 @@ export const dictionary = {
3853 'No files selected for commit message generation.' ,
3954 COMMIT_MESSAGE_GENERATION_CANCELLED : 'Commit message generation cancelled.' ,
4055 NO_CHANGES_TO_COMMIT : 'No changes to commit.' ,
56+ MODELS_ROUTE_NOT_FOUND : ( provider_name : string ) =>
57+ `The '/models' route was not found for ${ provider_name } . This might mean the provider does not support listing models.` ,
58+ MODELS_ROUTE_NOT_FOUND_MANUAL_ENTRY : ( provider_name : string ) =>
59+ `The '/models' route was not found for ${ provider_name } . This might mean the provider does not support listing models. You can enter model name manually.` ,
60+ NAMED_TEMPLATE_DELETED : ( template_name : string ) =>
61+ `Template "${ template_name } " has been deleted.` ,
62+ NO_CHANGES_FOUND_BETWEEN_BRANCHES : ( branch_name : string ) =>
63+ `No changes found between current branch and ${ branch_name } .` ,
64+ NO_CHANGES_FOUND_BETWEEN_BRANCHES_IN_FOLDER : (
65+ branch_name : string ,
66+ folder_name : string
67+ ) =>
68+ `No changes found between current branch and ${ branch_name } in ${ folder_name } .` ,
69+ NO_CHECKED_FILES_IN_REPO_FOR_COMMIT : (
70+ folder_name : string ,
71+ commit_hash : string
72+ ) =>
73+ `No checked files in the "${ folder_name } " repository for commit ${ commit_hash } .` ,
4174 NO_DEFAULT_INTELLIGENT_UPDATE_CONFIGURATION :
4275 'No default "Intelligent Update" configuration found. Please set one as default in the settings.' ,
4376 NO_EDIT_CONTEXT_CONFIGURATIONS_FOUND :
4477 'No "Edit Context" configurations found. Please add one in the settings.' ,
4578 PRESET_PREVIEW_SENT_TO_BROWSER :
46- 'Preset preview sent to the connected browser.'
79+ 'Preset preview sent to the connected browser.' ,
80+ DELETED_CONTEXT_FROM_ALL_ROOTS : ( context_name : string ) =>
81+ `Deleted context "${ context_name } " from all workspace roots` ,
82+ NO_HISTORY_FOR_MODE : 'No history to show for the current mode.' ,
83+ NO_TEXT_SELECTED_FOR_SELECTION_PLACEHOLDER :
84+ 'No text selected for #Selection placeholder.' ,
85+ PLEASE_CONFIRM : 'Please confirm' ,
86+ RESTORED_CONTEXT : ( context_name : string ) =>
87+ `Restored context "${ context_name } ".` ,
88+ NO_GIT_REPOSITORY_FOUND_IN_WORKSPACE :
89+ 'No Git repository found in the workspace.' ,
90+ NO_UNSTAGED_FILES_FOUND : 'No unstaged files found.' ,
91+ NO_ACTIONABLE_UNSTAGED_FILES_FOUND :
92+ 'No actionable unstaged files found (e.g. only deletions).' ,
93+ SELECTED_FILES : ( count : number ) =>
94+ `Selected ${ count } file${ count == 1 ? '' : 's' } .` ,
95+ DELETED_CONTEXT_FROM_WORKSPACE_STATE : ( context_name : string ) =>
96+ `Deleted context "${ context_name } " from workspace state` ,
97+ CONTEXT_SAVED_TO_JSON : ( context_name : string , workspaces : string ) =>
98+ `Context "${ context_name } " saved to ${ workspaces } .` ,
99+ CONTEXT_SAVED_TO_WORKSPACE_STATE : ( context_name : string ) =>
100+ `Context "${ context_name } " saved to the workspace state successfully.` ,
101+ FILES_REMAIN_CHECKED : ( count : number ) =>
102+ `${ count } file${ count == 1 ? '' : 's' } remain${
103+ count == 1 ? 's' : ''
104+ } checked.`,
105+ CRUNCHING_TOKEN_COUNTS : 'Please wait, crunching token counts...' ,
106+ TEMPLATE_RESTORED : 'Template has been restored.' ,
107+ UNNAMED_TEMPLATE_DELETED : 'Unnamed template has been deleted.' ,
108+ UNSAVED_CHANGES_TO_ITEM_WILL_BE_LOST : ( item_type : string ) =>
109+ `If you don't save, updates to the ${ item_type } will be lost.` ,
110+ BASE_URL_DOES_NOT_END_WITH_V1 :
111+ 'The Base URL does not end with "/v1". Many OpenAI-compatible APIs require this. Would you like to add it?'
47112 } ,
48113
49114 warning_message : {
@@ -89,6 +154,8 @@ export const dictionary = {
89154 `URL override for preset "${ preset_name } " was discarded because it uses a different domain.` ,
90155 CONTEXT_SIZE_WARNING : ( threshold : string , percentage : number ) =>
91156 `Context exceeds threshold of ${ threshold } tokens by ${ percentage } %. Excessive context size affects accuracy and cost-efficiency.` ,
157+ COULD_NOT_DELETE_CHECKPOINT_FILES : ( message : string ) =>
158+ `Could not delete checkpoint files: ${ message } ` ,
92159 FAILED_TO_CREATE_FILE : ( file_path : string ) =>
93160 `Failed to create file: ${ file_path } .` ,
94161 FAILED_TO_APPLY_CHANGES_TO_FILE : ( file_path : string ) =>
@@ -101,10 +168,22 @@ export const dictionary = {
101168 `Could not undo file: ${ file_path } . It might have been closed or deleted.` ,
102169 NO_VALID_PATHS_IN_CONTEXT : ( context_name : string ) =>
103170 `No valid paths found in context "${ context_name } ".` ,
171+ CONFIRM_CLEAR_ALL_CHECKPOINTS :
172+ 'Are you sure you want to clear all checkpoints? This operation cannot be undone.' ,
173+ CONFIRM_CLEAR_API_KEY : ( provider_name : string ) =>
174+ `Are you sure you want to clear the API key for ${ provider_name } ? This action cannot be undone.` ,
104175 CONFIRM_DELETE_CONTEXT : ( context_name : string ) =>
105176 `Are you sure you want to delete context "${ context_name } "?` ,
106- CONFIRM_DELETE_ITEM : ( item_type : 'file' | 'folder' ) =>
177+ CONFIRM_DELETE_ITEM : ( item_type : 'file' | 'folder' | 'group' | 'preset' ) =>
107178 `Are you sure you want to delete this ${ item_type } ?` ,
179+ CONFIRM_DELETE_NAMED_ITEM : ( item_type : string , name : string ) =>
180+ `Are you sure you want to delete ${ item_type } "${ name } "?` ,
181+ CONTEXT_WITH_IDENTICAL_PATHS_EXISTS : ( context_name : string ) =>
182+ `A context with identical paths already exists in workspace state: "${ context_name } "` ,
183+ CONFIRM_OVERWRITE_CONTEXT : ( context_name : string ) =>
184+ `A context named "${ context_name } " already exists. Overwrite?` ,
185+ CONFIRM_OVERWRITE_CONTEXT_IN_WORKSPACE_STATE : ( context_name : string ) =>
186+ `A context named "${ context_name } " already exists in Workspace State. Overwrite?` ,
108187 SAVED_CONTEXT_NOT_FOUND : ( name : string , source : string ) =>
109188 `Saved context "${ name } " from ${ source } not found.` ,
110189 CONFIRM_DELETE_CONFIGURATION : ( model : string , provider : string ) =>
@@ -164,6 +243,8 @@ export const dictionary = {
164243 FAILED_TO_COMMIT_CHANGES : 'Failed to commit changes.' ,
165244 ERROR_COMMITTING_CHANGES :
166245 'Error committing changes. See console for details.' ,
246+ FAILED_TO_SELECT_UNSTAGED_FILES : ( message : string ) =>
247+ `Failed to select unstaged files: ${ message } .` ,
167248 FAILED_TO_DELETE : ( message : string ) => `Failed to delete: ${ message } .` ,
168249 ERROR_GENERATING_COMMIT_MESSAGE :
169250 'Error generating commit message. See console for details.' ,
@@ -205,6 +286,8 @@ export const dictionary = {
205286 API_KEY_MISSING_FOR_PROVIDER :
206287 'API key is missing for the selected provider. Please add it in the Settings tab.' ,
207288 FAILED_TO_GENERATE_COMMIT_MESSAGE : 'Failed to generate commit message.' ,
289+ CHECKPOINTS_ONLY_IN_WORKSPACE :
290+ 'Checkpoints can only be used in a workspace.' ,
208291 GIT_EXTENSION_NOT_FOUND : 'Git extension not found.' ,
209292 NO_GIT_REPOSITORY_FOUND : 'No Git repository found.' ,
210293 REPOSITORY_NOT_FOUND : 'Repository not found.' ,
@@ -229,10 +312,15 @@ export const dictionary = {
229312 `Failed to duplicate preset: ${ error } .` ,
230313 WORKSPACE_NOT_FOUND_FOR_FILE : ( file_path : string ) =>
231314 `Workspace not found for file: ${ file_path } .` ,
315+ WORKSPACE_FOLDER_NOT_FOUND : ( folder_name : string ) =>
316+ `Workspace folder "${ folder_name } " not found.` ,
232317 COULD_NOT_OPEN_FILE : ( file_path : string ) =>
233318 `Could not open file: ${ file_path } .` ,
234319 API_PROVIDER_FOR_DEFAULT_CONFIG_NOT_FOUND :
235320 'API provider for the default API tool configuration was not found.' ,
321+ COULD_NOT_FIND_TEMP_CHECKPOINT_TO_REVERT :
322+ 'Could not find temporary checkpoint to revert.' ,
323+ COULD_NOT_GET_GIT_API : 'Could not get Git API.' ,
236324 INTELLIGENT_UPDATE_CONTEXT_NOT_FOUND :
237325 'Could not find the context for intelligent update. Please apply the changes again.' ,
238326 ORIGINAL_STATE_FOR_FILE_NOT_FOUND : ( file_name : string ) =>
@@ -243,6 +331,15 @@ export const dictionary = {
243331 `Intelligent update failed for ${ file_name } : ${ message } .` ,
244332 FAILED_TO_FETCH_OPEN_ROUTER_MODELS :
245333 'Failed to fetch Open Router models. Please check your connection.' ,
334+ FAILED_TO_GET_CHANGES_FROM_BRANCH : ( branch_name : string ) =>
335+ `Failed to get changes from branch ${ branch_name } . Make sure the branch exists.` ,
336+ FAILED_TO_GET_CHANGES_FROM_BRANCH_IN_FOLDER : (
337+ branch_name : string ,
338+ folder_name : string
339+ ) =>
340+ `Failed to get changes from branch ${ branch_name } in ${ folder_name } . Make sure the branch exists.` ,
341+ FAILED_TO_GET_DIFF_FOR_COMMIT : ( commit_hash : string ) =>
342+ `Failed to get diff for commit ${ commit_hash } .` ,
246343 COULD_NOT_UPDATE_ITEM_NOT_FOUND : ( item_type : string , name : string ) =>
247344 `Could not update ${ item_type } : Original ${ item_type } "${ name } " not found.` ,
248345 ERROR_HANDLING_MESSAGE : ( message : string ) =>
0 commit comments