Skip to content

Commit 9b7f7de

Browse files
Error messages for create declaration definition (#10393)
1 parent a6f535f commit 9b7f7de

File tree

1 file changed

+70
-1
lines changed

1 file changed

+70
-1
lines changed

Extension/src/nativeStrings.json

Lines changed: 70 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,5 +368,74 @@
368368
},
369369
"cm_addfunction": {
370370
"text": "Automatic add function"
371-
}
371+
},
372+
"e_com_virtual_redundant": {
373+
"text": "vsCMFunctionVirtual is redundant and must not be specified when with vsCMFunctionComMethod.",
374+
"hint": "Do not localized 'vsCMFunctionVirtual' and 'vsCMFunctionComMethod', they are code implementation."
375+
},
376+
"e_static_com_method": {
377+
"text": "vsCMFunctionComMethod cannot be static.",
378+
"hint": "Do not localized 'vsCMFunctionComMethod', it is code implementation."
379+
},
380+
"e_invalid_ftype": {
381+
"text": "Invalid C/C++ file: '%s'.",
382+
"hint": "%s is the invalid file."
383+
},
384+
"e_fname_to_long": {
385+
"text": "File name too long: '%s'.",
386+
"hint": "%s is the file that has a long name."
387+
},
388+
"e_create_file": {
389+
"text": "Cannot create file '%s'.",
390+
"hint": "%s is the file that could not be created."
391+
},
392+
"e_access_file": {
393+
"text": "Cannot access directory or file '%s' for writing.",
394+
"hint": "%s is the directory or file that could not be accessed for writing."
395+
},
396+
"e_invalid_pathname": {
397+
"text": "Invalid file path: '%s'.",
398+
"hint": "%s is the file that has an invalid path."
399+
},
400+
"e_cm_file_not_in_project": {
401+
"text": "File '%s' was not found.",
402+
"hint": "%s is the file that was not found."
403+
},
404+
"refactor_create_declaration_definition_failed":
405+
{
406+
"text": "Create Declaration / Definition failed:",
407+
"hint": "The operation 'Create Declaration / Definition' on a function was not successfully."
408+
},
409+
"refactor_create_default_delete":
410+
{
411+
"text": "Unable to create function '%s'. Creating defaulted or deleted functions is not supported.",
412+
"hint": "%s is the function that could not be created."
413+
},
414+
"refactor_function_copied_to_clipboard": "The function signature was copied to the clipboard.",
415+
"refactor_function_not_created":
416+
{
417+
"text": "Unable to create function '%s'.",
418+
"hint": "%s is the function that could not be created."
419+
},
420+
"refactor_ambiguous_locations":
421+
{
422+
"text": "Unable to find an unambiguous location for function '%s'.",
423+
"hint": "%s is the function for the unambiguous location."
424+
},
425+
"refactor_file_not_in_project":
426+
{
427+
"text": "File '%s' was not found.",
428+
"hint": "%s is the file that was not found."
429+
},
430+
"refactor_not_class_namespace":
431+
{
432+
"text": "Could not find class or namespace '%s'.",
433+
"hint": "%s is the class or namespace code that could not be found."
434+
},
435+
"refactor_operation_unsupported":
436+
{
437+
"text": "The operation is not supported for '%s'.",
438+
"hint": "%s is the function that is not supported for an operation that involves automatically generating code."
439+
},
440+
"unknown_error": "Unknown error."
372441
}

0 commit comments

Comments
 (0)