Mercurial > vim
comparison src/regexp_nfa.c @ 34698:e5d2d9024ad6 v9.1.0229
patch 9.1.0229: Error E877 is not translated
Commit: https://github.com/vim/vim/commit/b64cec217f3434a089a5677d265bfbc21367e98b
Author: Christian Brabandt <cb@256bit.org>
Date: Sun Mar 31 17:52:56 2024 +0200
patch 9.1.0229: Error E877 is not translated
Problem: Error E877 is not translated (RestorerZ)
Solution: Declare the error with N_ to mark it as translatable, add _()
around the error message in regexp_nfa.c
fixes: #14333
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 31 Mar 2024 18:00:04 +0200 |
parents | df52075b12cd |
children | 97b5457962ed |
comparison
equal
deleted
inserted
replaced
34697:94ebf16bb278 | 34698:e5d2d9024ad6 |
---|---|
5148 return OK; | 5148 return OK; |
5149 break; | 5149 break; |
5150 | 5150 |
5151 default: | 5151 default: |
5152 // should not be here :P | 5152 // should not be here :P |
5153 siemsg(e_nfa_regexp_invalid_character_class_nr, class); | 5153 siemsg(_(e_nfa_regexp_invalid_character_class_nr), class); |
5154 return FAIL; | 5154 return FAIL; |
5155 } | 5155 } |
5156 return FAIL; | 5156 return FAIL; |
5157 } | 5157 } |
5158 | 5158 |