mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 9.0.1133: error message names do not match the items
Problem: Error message names do not match the items. Solution: Add "_str" when the text contains "%s".
This commit is contained in:
@@ -3670,7 +3670,7 @@ syn_cmd_clear(exarg_T *eap, int syncing)
|
||||
id = syn_scl_namen2id(arg + 1, (int)(arg_end - arg - 1));
|
||||
if (id == 0)
|
||||
{
|
||||
semsg(_(e_no_such_syntax_cluster_1), arg);
|
||||
semsg(_(e_no_such_syntax_cluster_str_1), arg);
|
||||
break;
|
||||
}
|
||||
else
|
||||
@@ -3880,7 +3880,7 @@ syn_cmd_list(
|
||||
{
|
||||
id = syn_scl_namen2id(arg + 1, (int)(arg_end - arg - 1));
|
||||
if (id == 0)
|
||||
semsg(_(e_no_such_syntax_cluster_2), arg);
|
||||
semsg(_(e_no_such_syntax_cluster_str_2), arg);
|
||||
else
|
||||
syn_list_cluster(id - SYNID_CLUSTER);
|
||||
}
|
||||
|
Reference in New Issue
Block a user