comparison src/vim9compile.c @ 32383:b8e9ea3c1ed0 v9.0.1523

patch 9.0.1523: some error messages are not marked for translation Commit: https://github.com/vim/vim/commit/276410e78f0b82e3123059383994d2f4c578dfbd Author: zeertzjq <zeertzjq@outlook.com> Date: Sun May 7 21:59:33 2023 +0100 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 https://github.com/vim/vim/issues/12356)
author Bram Moolenaar <Bram@vim.org>
date Sun, 07 May 2023 23:00:03 +0200
parents 71c5920fb43e
children 72ffe2b9a4b1
comparison
equal deleted inserted replaced
32382:39901eb11943 32383:b8e9ea3c1ed0
2154 else 2154 else
2155 { 2155 {
2156 dest_type = lhs->lhs_type->tt_type; 2156 dest_type = lhs->lhs_type->tt_type;
2157 if (dest_type == VAR_DICT && range) 2157 if (dest_type == VAR_DICT && range)
2158 { 2158 {
2159 emsg(e_cannot_use_range_with_dictionary); 2159 emsg(_(e_cannot_use_range_with_dictionary));
2160 return FAIL; 2160 return FAIL;
2161 } 2161 }
2162 if (dest_type == VAR_DICT 2162 if (dest_type == VAR_DICT
2163 && may_generate_2STRING(-1, FALSE, cctx) == FAIL) 2163 && may_generate_2STRING(-1, FALSE, cctx) == FAIL)
2164 return FAIL; 2164 return FAIL;