[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
untranslatable error string in compile.c
From: |
Assaf Gordon |
Subject: |
untranslatable error string in compile.c |
Date: |
Fri, 3 Jun 2016 22:02:34 -0400 |
Hello,
Commit 854b64 [1] (which I suggested about a year ago) had an unintended effect:
It makes the last error message untranslatable, because nowhere is it passed to
gettext's N_() macro.
In the current repository that message is "recursive escaping after \\c not
allowed" [2],
and it does not appear in 'po/sed.pot' as a result.
The attached patch uncomments the unused macro END_ERRORS, then the string does
appear in po/sed.pot.
Not sure if this is the optimal way.
Comments welcomed,
- assaf
0002-sed-enable-translation-of-new-error-message.patch
Description: Binary data
[1]
http://git.savannah.gnu.org/cgit/sed.git/commit/sed?id=854b64b79b7f405330f4d4bc2679020c673ccfd8
[2] http://git.savannah.gnu.org/cgit/sed.git/tree/sed/compile.c#n114
- untranslatable error string in compile.c,
Assaf Gordon <=