Debian Codegraph @

debian/patches/intltool-update

raw
1 Bug#978315:
2
3 INTLTOOL_EXTRACT="/usr/bin/intltool-extract" XGETTEXT="/usr/bin/xgettext" srcdir=. /usr/bin/intltool-update --gettext-package dasher --pot
4 xgettext: x-c.c:1666: phase5_get: Assertion `UNICODE_VALUE (c) >= 0 && UNICODE_VALUE (c) < 0x110000' failed.
5 ERROR: xgettext failed to generate PO template file. Please consult
6 error message above if there is any.
7
8 This is because xgettext is parsing all strings, not only strings marked
9 to be translated.
10
11 xgettext could just provide us with an option to ignore Testing/
12 entirely, that we could pass with XGETTEXT_ARGS
13
14 ---
15 Testing/gtest/test/gtest_unittest.cc | 4 ++--
16 1 file changed, 2 insertions(+), 2 deletions(-)
17
18 --- a/Testing/gtest/test/gtest_unittest.cc
19 +++ b/Testing/gtest/test/gtest_unittest.cc
20 @@ -464,8 +464,8 @@ TEST(WideStringToUtf8Test, CanEncode17To
21
22 // Tests that encoding an invalid code-point generates the expected result.
23 TEST(WideStringToUtf8Test, CanEncodeInvalidCodePoint) {
24 - EXPECT_STREQ("(Invalid Unicode 0xABCDFF)",
25 - WideStringToUtf8(L"\xABCDFF", -1).c_str());
26 + //EXPECT_STREQ("(Invalid Unicode 0xABCDFF)",
27 + // WideStringToUtf8(L"\xABCDFF", -1).c_str());
28 }
29 #else // !GTEST_WIDE_STRING_USES_UTF16_
30 // Tests that surrogate pairs are encoded correctly on the systems using