mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
patch 9.0.1572: error messages are not translated
Problem: Error messages are not translated. Solution: Add _().
This commit is contained in:
@@ -3198,7 +3198,7 @@ source_startup_scripts(mparm_T *parmp)
|
||||
{
|
||||
if (do_source((char_u *)VIM_DEFAULTS_FILE, FALSE, DOSO_NONE, NULL)
|
||||
!= OK)
|
||||
emsg(e_failed_to_source_defaults);
|
||||
emsg(_(e_failed_to_source_defaults));
|
||||
}
|
||||
else if (STRCMP(parmp->use_vimrc, "NONE") == 0
|
||||
|| STRCMP(parmp->use_vimrc, "NORC") == 0)
|
||||
@@ -3273,7 +3273,7 @@ source_startup_scripts(mparm_T *parmp)
|
||||
// When no .vimrc file was found: source defaults.vim.
|
||||
if (do_source((char_u *)VIM_DEFAULTS_FILE, FALSE, DOSO_NONE,
|
||||
NULL) == FAIL)
|
||||
emsg(e_failed_to_source_defaults);
|
||||
emsg(_(e_failed_to_source_defaults));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user