File tree Expand file tree Collapse file tree 3 files changed +25
-24
lines changed
Lib/test/test_tools/msgfmt_data Expand file tree Collapse file tree 3 files changed +25
-24
lines changed Original file line number Diff line number Diff line change 33 " " ,
44 " Project-Id-Version: PACKAGE VERSION\n POT-Creation-Date: 2024-10-26 18:06+0200\n PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n Last-Translator: FULL NAME <EMAIL@ADDRESS>\n Language-Team: LANGUAGE <LL@li.org>\n MIME-Version: 1.0\n Content-Type: text/plain; charset=UTF-8\n Content-Transfer-Encoding: 8bit\n "
55 ],
6+ [
7+ " \n newlines \n " ,
8+ " \n translated \n "
9+ ],
10+ [
11+ " \" escapes\" " ,
12+ " \" translated\" "
13+ ],
14+ [
15+ " Multilinestring" ,
16+ " Multilinetranslation"
17+ ],
618 [
719 [
8- " abc \u0004 One email sent." ,
20+ " One email sent." ,
921 0
1022 ],
1123 " One email sent."
1224 ],
1325 [
1426 [
15- " abc \u0004 One email sent." ,
27+ " One email sent." ,
1628 1
1729 ],
1830 " %d emails sent."
1931 ],
20- [
21- " abc\u0004 foo" ,
22- " bar"
23- ],
24- [
25- " bar" ,
26- " baz"
27- ],
28- [
29- " xyz\u0004 \n newlines \n " ,
30- " \n translated \n "
31- ],
32- [
33- " xyz\u0004 \" escapes\" " ,
34- " \" translated\" "
35- ],
36- [
37- " xyz\u0004 Multilinestring" ,
38- " Multilinetranslation"
39- ],
4032 [
4133 [
42- " xyz \u0004 One email sent." ,
34+ " abc \u0004 One email sent." ,
4335 0
4436 ],
4537 " One email sent."
4638 ],
4739 [
4840 [
49- " xyz \u0004 One email sent." ,
41+ " abc \u0004 One email sent." ,
5042 1
5143 ],
5244 " %d emails sent."
5345 ],
46+ [
47+ " abc\u0004 foo" ,
48+ " bar"
49+ ],
50+ [
51+ " bar" ,
52+ " baz"
53+ ],
5454 [
5555 " xyz\u0004 foo" ,
5656 " bar"
Original file line number Diff line number Diff line change @@ -149,6 +149,7 @@ def make(filename, outfile):
149149 elif l .startswith ('msgid' ) and not l .startswith ('msgid_plural' ):
150150 if section == STR :
151151 add (msgctxt , msgid , msgstr , fuzzy )
152+ msgctxt = None
152153 if not msgid :
153154 # See whether there is an encoding declaration
154155 p = HeaderParser ()
You can’t perform that action at this time.
0 commit comments