mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
patch 9.0.1523: some error messages are not marked for translation
Problem: Some error messages are not marked for translation. Solution: Surround the messages in _(). (closes #12356)
This commit is contained in:
@@ -1526,7 +1526,7 @@ pum_show_popupmenu(vimmenu_T *menu)
|
|||||||
// pum_size being zero.
|
// pum_size being zero.
|
||||||
if (pum_size <= 0)
|
if (pum_size <= 0)
|
||||||
{
|
{
|
||||||
emsg(e_menu_only_exists_in_another_mode);
|
emsg(_(e_menu_only_exists_in_another_mode));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -2126,7 +2126,7 @@ f_getscriptinfo(typval_T *argvars, typval_T *rettv)
|
|||||||
return;
|
return;
|
||||||
if (sid <= 0)
|
if (sid <= 0)
|
||||||
{
|
{
|
||||||
semsg(e_invalid_value_for_argument_str_str, "sid",
|
semsg(_(e_invalid_value_for_argument_str_str), "sid",
|
||||||
tv_get_string(&sid_di->di_tv));
|
tv_get_string(&sid_di->di_tv));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@@ -695,6 +695,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1523,
|
||||||
/**/
|
/**/
|
||||||
1522,
|
1522,
|
||||||
/**/
|
/**/
|
||||||
|
@@ -2156,7 +2156,7 @@ compile_assign_unlet(
|
|||||||
dest_type = lhs->lhs_type->tt_type;
|
dest_type = lhs->lhs_type->tt_type;
|
||||||
if (dest_type == VAR_DICT && range)
|
if (dest_type == VAR_DICT && range)
|
||||||
{
|
{
|
||||||
emsg(e_cannot_use_range_with_dictionary);
|
emsg(_(e_cannot_use_range_with_dictionary));
|
||||||
return FAIL;
|
return FAIL;
|
||||||
}
|
}
|
||||||
if (dest_type == VAR_DICT
|
if (dest_type == VAR_DICT
|
||||||
|
Reference in New Issue
Block a user