diff options
Diffstat (limited to 'src/quickfix.c')
-rw-r--r-- | src/quickfix.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/quickfix.c b/src/quickfix.c index 690c3ffa84..101240a448 100644 --- a/src/quickfix.c +++ b/src/quickfix.c @@ -268,7 +268,7 @@ efmpat_to_regpat( if (efminfo->addr[idx]) { // Each errorformat pattern can occur only once - semsg(_("E372: Too many %%%c in format string"), *efmpat); + semsg(_(e_too_many_chr_in_format_string), *efmpat); return NULL; } if ((idx && idx < 6 @@ -276,7 +276,7 @@ efmpat_to_regpat( || (idx == 6 && vim_strchr((char_u *)"OPQ", efminfo->prefix) == NULL)) { - semsg(_("E373: Unexpected %%%c in format string"), *efmpat); + semsg(_(e_unexpected_chr_in_format_str), *efmpat); return NULL; } efminfo->addr[idx] = (char_u)++round; @@ -351,7 +351,7 @@ scanf_fmt_to_regpat( // skip ; if (efmp == efm + len) { - emsg(_("E374: Missing ] in format string")); + emsg(_(e_missing_rsb_in_format_string)); return NULL; } } @@ -364,7 +364,7 @@ scanf_fmt_to_regpat( else { // TODO: scanf()-like: %*ud, %*3c, %*f, ... ? - semsg(_("E375: Unsupported %%%c in format string"), *efmp); + semsg(_(e_unsupported_chr_in_format_string), *efmp); return NULL; } @@ -385,7 +385,7 @@ efm_analyze_prefix(char_u *efmp, efm_T *efminfo) efminfo->prefix = *efmp; else { - semsg(_("E376: Invalid %%%c in format string prefix"), *efmp); + semsg(_(e_invalid_chr_in_format_string_prefix), *efmp); return NULL; } @@ -452,7 +452,7 @@ efm_to_regpat( } else { - semsg(_("E377: Invalid %%%c in format string"), *efmp); + semsg(_(e_invalid_chr_in_format_string), *efmp); return FAIL; } } @@ -573,7 +573,7 @@ parse_efm_option(char_u *efm) } if (fmt_first == NULL) // nothing found - emsg(_("E378: 'errorformat' contains no pattern")); + emsg(_(e_errorformat_contains_no_pattern)); goto parse_efm_end; @@ -1273,7 +1273,7 @@ qf_parse_dir_pfx(int idx, qffields_T *fields, qf_list_T *qfl) { if (*fields->namebuf == NUL) { - emsg(_("E379: Missing or empty directory name")); + emsg(_(e_missing_or_empty_directory_name)); return QF_FAIL; } qfl->qf_directory = @@ -3787,7 +3787,7 @@ qf_age(exarg_T *eap) { if (qi->qf_curlist == 0) { - emsg(_("E380: At bottom of quickfix stack")); + emsg(_(e_at_bottom_of_quickfix_stack)); break; } --qi->qf_curlist; @@ -3796,7 +3796,7 @@ qf_age(exarg_T *eap) { if (qi->qf_curlist >= qi->qf_listcount - 1) { - emsg(_("E381: At top of quickfix stack")); + emsg(_(e_at_top_of_quickfix_stack)); break; } ++qi->qf_curlist; |