summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-05-07 21:59:33 +0100
committerBram Moolenaar <Bram@vim.org>2023-05-07 21:59:33 +0100
commit276410e78f0b82e3123059383994d2f4c578dfbd (patch)
tree3994b117d2fb41e4a8b141d30b36ca04ea94ecf9
parente4098457ab9c94225b1b0e3c5e06b82b75587971 (diff)
downloadvim-git-276410e78f0b82e3123059383994d2f4c578dfbd.tar.gz
patch 9.0.1523: some error messages are not marked for translationv9.0.1523
Problem: Some error messages are not marked for translation. Solution: Surround the messages in _(). (closes #12356)
-rw-r--r--src/popupmenu.c2
-rw-r--r--src/scriptfile.c2
-rw-r--r--src/version.c2
-rw-r--r--src/vim9compile.c2
4 files changed, 5 insertions, 3 deletions
diff --git a/src/popupmenu.c b/src/popupmenu.c
index 9cba669e3..7210420e1 100644
--- a/src/popupmenu.c
+++ b/src/popupmenu.c
@@ -1526,7 +1526,7 @@ pum_show_popupmenu(vimmenu_T *menu)
// pum_size being zero.
if (pum_size <= 0)
{
- emsg(e_menu_only_exists_in_another_mode);
+ emsg(_(e_menu_only_exists_in_another_mode));
return;
}
diff --git a/src/scriptfile.c b/src/scriptfile.c
index b2e25092f..8a42db920 100644
--- a/src/scriptfile.c
+++ b/src/scriptfile.c
@@ -2126,7 +2126,7 @@ f_getscriptinfo(typval_T *argvars, typval_T *rettv)
return;
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));
return;
}
diff --git a/src/version.c b/src/version.c
index b24277d9f..1197ada91 100644
--- a/src/version.c
+++ b/src/version.c
@@ -696,6 +696,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1523,
+/**/
1522,
/**/
1521,
diff --git a/src/vim9compile.c b/src/vim9compile.c
index f045c74af..477f5eed7 100644
--- a/src/vim9compile.c
+++ b/src/vim9compile.c
@@ -2156,7 +2156,7 @@ compile_assign_unlet(
dest_type = lhs->lhs_type->tt_type;
if (dest_type == VAR_DICT && range)
{
- emsg(e_cannot_use_range_with_dictionary);
+ emsg(_(e_cannot_use_range_with_dictionary));
return FAIL;
}
if (dest_type == VAR_DICT