Merge lp:~danilo/intltool/bug-520986 into lp:intltool

Proposed by Данило Шеган
Status: Merged
Approved by: Данило Шеган
Approved revision: 720
Merged at revision: 721
Proposed branch: lp:~danilo/intltool/bug-520986
Merge into: lp:intltool
Diff against target: 409 lines (+76/-68)
16 files modified
intltool-extract.in (+24/-16)
tests/results/context.xml.in.h (+1/-1)
tests/results/extract-comments.xml.h (+9/-9)
tests/results/extract-gtkbuilder.ui.h (+1/-1)
tests/results/extract12.xml.in.h (+1/-1)
tests/results/extract13.desktop.in.h (+1/-1)
tests/results/extract14.xml.in.h (+3/-3)
tests/results/extract7.xml.h (+5/-5)
tests/results/extract8.glade.h (+8/-8)
tests/results/extract9.xml.in.h (+2/-2)
tests/results/iso88591text.xml.in.h (+3/-3)
tests/results/space-preserve.xml.in.h (+2/-2)
tests/results/test-quoted.dtd.h (+2/-2)
tests/results/test.schemas.in.h (+3/-3)
tests/results/test.scm.h (+8/-8)
tests/results/unicodetext.xml.in.h (+3/-3)
To merge this branch: bzr merge lp:~danilo/intltool/bug-520986
Reviewer Review Type Date Requested Status
Данило Шеган Approve
Review via email: mp+78715@code.launchpad.net

Description of the change

= Bug 520986 =

For the sake of diff generation and looking over.

To post a comment you must log in.
Revision history for this message
Данило Шеган (danilo) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'intltool-extract.in'
--- intltool-extract.in 2010-03-18 21:49:43 +0000
+++ intltool-extract.in 2011-10-08 14:05:27 +0000
@@ -55,6 +55,7 @@
55my $gettext_type = "";55my $gettext_type = "";
56my $input;56my $input;
57my %messages = ();57my %messages = ();
58my @messages_sorted = ();
58my %loc = ();59my %loc = ();
59my %count = ();60my %count = ();
60my %comments = ();61my %comments = ();
@@ -77,7 +78,7 @@
77 "update" => \$UPDATE_ARG,78 "update" => \$UPDATE_ARG,
78 "quiet|q" => \$QUIET_ARG,79 "quiet|q" => \$QUIET_ARG,
79 "srcdir=s" => \$SRCDIR_ARG,80 "srcdir=s" => \$SRCDIR_ARG,
80 "nomsgctxt" => \$NOMSGCTXT_ARG, 81 "nomsgctxt" => \$NOMSGCTXT_ARG,
81 ) or &error;82 ) or &error;
8283
83&split_on_argument;84&split_on_argument;
@@ -265,20 +266,27 @@
265 return join "", map &escape_char, split //, $string;266 return join "", map &escape_char, split //, $string;
266}267}
267268
269sub add_message
270{
271 my ($string) = @_;
272 push @messages_sorted, $string if !defined $messages{$string};
273 $messages{$string} = [];
274}
275
268sub type_ini {276sub type_ini {
269 ### For generic translatable desktop files ###277 ### For generic translatable desktop files ###
270 while ($input =~ /^(#(.+)\n)?^_.*=(.*)$/mg) {278 while ($input =~ /^(#(.+)\n)?^_.*=(.*)$/mg) {
271 if (defined($2)) {279 if (defined($2)) {
272 $comments{$3} = $2;280 $comments{$3} = $2;
273 }281 }
274 $messages{$3} = [];282 add_message($3);
275 }283 }
276}284}
277285
278sub type_keys {286sub type_keys {
279 ### For generic translatable mime/keys files ###287 ### For generic translatable mime/keys files ###
280 while ($input =~ /^\s*_\w+=(.*)$/mg) {288 while ($input =~ /^\s*_\w+=(.*)$/mg) {
281 $messages{$1} = [];289 add_message($1);
282 }290 }
283}291}
284292
@@ -340,7 +348,7 @@
340 ## differences from intltool-merge.in.in348 ## differences from intltool-merge.in.in
341 if ($key =~ /^_/) {349 if ($key =~ /^_/) {
342 $comments{entity_decode($string)} = $XMLCOMMENT if $XMLCOMMENT;350 $comments{entity_decode($string)} = $XMLCOMMENT if $XMLCOMMENT;
343 $messages{entity_decode($string)} = [];351 add_message(entity_decode($string));
344 $$translate = 2;352 $$translate = 2;
345 }353 }
346 ## differences end here from intltool-merge.in.in354 ## differences end here from intltool-merge.in.in
@@ -457,7 +465,7 @@
457465
458 if ($lookup && $translate != 2) {466 if ($lookup && $translate != 2) {
459 $comments{$lookup} = $XMLCOMMENT if $XMLCOMMENT;467 $comments{$lookup} = $XMLCOMMENT if $XMLCOMMENT;
460 $messages{$lookup} = [];468 add_message($lookup);
461 } elsif ($translate == 2) {469 } elsif ($translate == 2) {
462 translate_subnodes($fh, \@all, $language, 1, $spacepreserve);470 translate_subnodes($fh, \@all, $language, 1, $spacepreserve);
463 }471 }
@@ -646,7 +654,7 @@
646 my $currentcomment = shift @eachcomment;654 my $currentcomment = shift @eachcomment;
647 next if !$_;655 next if !$_;
648 s/\s+/ /g;656 s/\s+/ /g;
649 $messages{entity_decode_minimal($_)} = [];657 add_message(entity_decode_minimal($_));
650 $comments{entity_decode_minimal($_)} = $currentcomment if (defined($currentcomment));658 $comments{entity_decode_minimal($_)} = $currentcomment if (defined($currentcomment));
651 }659 }
652 }660 }
@@ -669,7 +677,7 @@
669 for my $str (@str_list)677 for my $str (@str_list)
670 {678 {
671 $strcount++;679 $strcount++;
672 $messages{$str} = [];680 add_message($str);
673 $loc{$str} = $lineno;681 $loc{$str} = $lineno;
674 $count{$str} = $strcount;682 $count{$str} = $strcount;
675 my $usercomment = '';683 my $usercomment = '';
@@ -737,7 +745,7 @@
737 my $before = $`;745 my $before = $`;
738 $message =~ s/\\\"/\"/g;746 $message =~ s/\\\"/\"/g;
739 $before =~ s/[^\n]//g;747 $before =~ s/[^\n]//g;
740 $messages{$message} = [];748 add_message($message);
741 $loc{$message} = length ($before) + 2;749 $loc{$message} = length ($before) + 2;
742 }750 }
743}751}
@@ -749,7 +757,7 @@
749 $message =~ s/\\\"/\"/g;757 $message =~ s/\\\"/\"/g;
750 $message = entity_decode($message);758 $message = entity_decode($message);
751 $before =~ s/[^\n]//g;759 $before =~ s/[^\n]//g;
752 $messages{$message} = [];760 add_message($message);
753 $loc{$message} = length ($before) + 2;761 $loc{$message} = length ($before) + 2;
754 }762 }
755}763}
@@ -763,12 +771,12 @@
763 # Glade sometimes uses tags that normally mark translatable things for771 # Glade sometimes uses tags that normally mark translatable things for
764 # little bits of non-translatable content. We work around this by not772 # little bits of non-translatable content. We work around this by not
765 # translating strings that only includes something like label4 or window1.773 # translating strings that only includes something like label4 or window1.
766 $messages{entity_decode($2)} = [] unless $2 =~ /^(window|label|dialog)[0-9]+$/;774 add_message(entity_decode($2)) unless $2 =~ /^(window|label|dialog)[0-9]+$/;
767 }775 }
768776
769 while ($input =~ /<items>(..[^<]*)<\/items>/sg) {777 while ($input =~ /<items>(..[^<]*)<\/items>/sg) {
770 for my $item (split (/\n/, $1)) {778 for my $item (split (/\n/, $1)) {
771 $messages{entity_decode($item)} = [];779 add_message(entity_decode($item));
772 }780 }
773 }781 }
774782
@@ -779,14 +787,14 @@
779 if (defined($2)) {787 if (defined($2)) {
780 $message = entity_decode($2) . "\004" . $message;788 $message = entity_decode($2) . "\004" . $message;
781 }789 }
782 $messages{$message} = [];790 add_message($message);
783 if (defined($3)) {791 if (defined($3)) {
784 $comments{$message} = entity_decode($3) ;792 $comments{$message} = entity_decode($3) ;
785 }793 }
786 }794 }
787 }795 }
788 while ($input =~ /<atkaction\s+action_name="([^>]*)"\s+description="([^>]+)"\/>/sg) {796 while ($input =~ /<atkaction\s+action_name="([^>]*)"\s+description="([^>]+)"\/>/sg) {
789 $messages{entity_decode_minimal($2)} = [];797 add_message(entity_decode_minimal($2));
790 }798 }
791}799}
792800
@@ -799,7 +807,7 @@
799 if (substr($line,$i,1) eq "\"") {807 if (substr($line,$i,1) eq "\"") {
800 if ($state == 2) {808 if ($state == 2) {
801 $comments{$str} = $trcomment if ($trcomment);809 $comments{$str} = $trcomment if ($trcomment);
802 $messages{$str} = [];810 add_message($str);
803 $str = '';811 $str = '';
804 $state = 0; $trcomment = "";812 $state = 0; $trcomment = "";
805 } elsif ($state == 1) {813 } elsif ($state == 1) {
@@ -914,7 +922,7 @@
914 if (defined $message) {922 if (defined $message) {
915 use Encode;923 use Encode;
916 Encode::from_to ($message, "iso-8859-1", "UTF-8");924 Encode::from_to ($message, "iso-8859-1", "UTF-8");
917 $messages{$message} = [];925 add_message($message);
918 if ($message =~ /^Bad Strref$/ ) {926 if ($message =~ /^Bad Strref$/ ) {
919 $comments{$message} = "DO NOT Translate this Entry.";927 $comments{$message} = "DO NOT Translate this Entry.";
920 $comments{$message} .= "\nTLK:position=$count";928 $comments{$message} .= "\nTLK:position=$count";
@@ -941,7 +949,7 @@
941 }949 }
942 else950 else
943 {951 {
944 @msgids = sort keys %messages;952 @msgids = @messages_sorted;
945 }953 }
946 for my $message (@msgids)954 for my $message (@msgids)
947 {955 {
948956
=== modified file 'tests/results/context.xml.in.h'
--- tests/results/context.xml.in.h 2008-07-25 18:00:49 +0000
+++ tests/results/context.xml.in.h 2011-10-08 14:05:27 +0000
@@ -1,7 +1,7 @@
1char *s = N_("Foo");
1/* This is the comment on the first Bar */2/* This is the comment on the first Bar */
2char *s = C_("1", "Bar");3char *s = C_("1", "Bar");
3/* This is the comment on the second Bar */4/* This is the comment on the second Bar */
4char *s = C_("2", "Bar");5char *s = C_("2", "Bar");
5/* This is the comment on Baz */6/* This is the comment on Baz */
6char *s = N_("Baz");7char *s = N_("Baz");
7char *s = N_("Foo");
88
=== modified file 'tests/results/extract-comments.xml.h'
--- tests/results/extract-comments.xml.h 2005-06-26 10:54:45 +0000
+++ tests/results/extract-comments.xml.h 2011-10-08 14:05:27 +0000
@@ -1,19 +1,19 @@
1/* This comment is not ignored even if it contains > (greater than)
2sign in it, and the following string shows up as well */
3char *s = N_("Dum-dee-dum");
4/* If comment doesn't end on the previous line, it should be handled
5 correctly */
6char *s = N_("Final thing to translate");
7/* This comment is not ignored */1/* This comment is not ignored */
8char *s = N_("First thing to translate");2char *s = N_("First thing to translate");
9/* This is multi line comment for the following string;3/* This is multi line comment for the following string;
10 second line of multi-line comment */4 second line of multi-line comment */
11char *s = N_("Something to translate");5char *s = N_("Something to translate");
6/* If comment doesn't end on the previous line, it should be handled
7 correctly */
8char *s = N_("Final thing to translate");
12char *s = N_("This doesn't have a comment for translators");9char *s = N_("This doesn't have a comment for translators");
13/* Comment for *both* attributes and content */10/* This comment is not ignored even if it contains > (greater than)
14char *s = N_("attribute value");11sign in it, and the following string shows up as well */
12char *s = N_("Dum-dee-dum");
13char *s = N_("attribute without comment");
15/* This comment will appear if attributes can be commented about */14/* This comment will appear if attributes can be commented about */
16char *s = N_("attribute with comment");15char *s = N_("attribute with comment");
17char *s = N_("attribute without comment");16/* Comment for *both* attributes and content */
17char *s = N_("attribute value");
18/* Comment for *both* attributes and content */18/* Comment for *both* attributes and content */
19char *s = N_("even more content");19char *s = N_("even more content");
2020
=== modified file 'tests/results/extract-gtkbuilder.ui.h'
--- tests/results/extract-gtkbuilder.ui.h 2010-03-18 21:49:43 +0000
+++ tests/results/extract-gtkbuilder.ui.h 2011-10-08 14:05:27 +0000
@@ -1,3 +1,3 @@
1char *s = C_("developer", "help");
2char *s = N_("help");1char *s = N_("help");
3char *s = C_("user", "help");2char *s = C_("user", "help");
3char *s = C_("developer", "help");
44
=== modified file 'tests/results/extract12.xml.in.h'
--- tests/results/extract12.xml.in.h 2005-01-21 02:04:39 +0000
+++ tests/results/extract12.xml.in.h 2011-10-08 14:05:27 +0000
@@ -1,3 +1,3 @@
1char *s = N_("Other attribute");
1char *s = N_("Normal name");2char *s = N_("Normal name");
2char *s = N_("Other attribute");
3char *s = N_("Other name");3char *s = N_("Other name");
44
=== modified file 'tests/results/extract13.desktop.in.h'
--- tests/results/extract13.desktop.in.h 2008-08-25 03:06:45 +0000
+++ tests/results/extract13.desktop.in.h 2011-10-08 14:05:27 +0000
@@ -1,5 +1,5 @@
1char *s = N_("Blue");
2/* 2. This comment should be extracted. */1/* 2. This comment should be extracted. */
3char *s = N_("Find Files...");2char *s = N_("Find Files...");
4/* 4. This comment also should be extracted. */3/* 4. This comment also should be extracted. */
5char *s = N_("Locate documents and folders on this computer by name or content");4char *s = N_("Locate documents and folders on this computer by name or content");
5char *s = N_("Blue");
66
=== modified file 'tests/results/extract14.xml.in.h'
--- tests/results/extract14.xml.in.h 2007-07-20 16:36:30 +0000
+++ tests/results/extract14.xml.in.h 2011-10-08 14:05:27 +0000
@@ -1,4 +1,4 @@
1char *s = N_("The &lt; entity produces the < character");
2char *s = N_("The &gt; entity produces the > character");
3char *s = N_("The &amp;lt; entity produces the &lt; character");
1char *s = N_("The &amp;gt; entity produces the &gt; character");4char *s = N_("The &amp;gt; entity produces the &gt; character");
2char *s = N_("The &amp;lt; entity produces the &lt; character");
3char *s = N_("The &gt; entity produces the > character");
4char *s = N_("The &lt; entity produces the < character");
55
=== modified file 'tests/results/extract7.xml.h'
--- tests/results/extract7.xml.h 2004-06-14 09:13:11 +0000
+++ tests/results/extract7.xml.h 2011-10-08 14:05:27 +0000
@@ -1,9 +1,9 @@
1char *s = N_("<big>Welcome to The GIMP !</big>");1char *s = N_("<big>Welcome to The GIMP !</big>");
2char *s = N_("Most plug-ins work on the current layer of the current image. In some cases, you will have to merge all layers (Layers-&gt;Flatten Image) if you want the plug-in to work on the whole image.");
3char *s = N_("Nearly all image operations are performed by right-clicking on the image. And don't worry, you can undo most mistakes...");2char *s = N_("Nearly all image operations are performed by right-clicking on the image. And don't worry, you can undo most mistakes...");
4char *s = N_("Not all effects can be applied to all kinds of images. This is indicated by a grayed-out menu-entry. You may need to change the image mode to RGB (Image-&gt;Mode-&gt;RGB), add an alpha-channel (Layers-&gt;Add Alpha Channel) or flatten it (Layers-&gt;Flatten Image).");3char *s = N_("You can get context-sensitive help for most of the GIMP's features by pressing the F1 key at any time. This also works inside the menus.");
5char *s = N_("The GIMP uses layers to let you organize your image. Think of them as a stack of slides or filters, such that looking through them you see a composite of their contents.");4char *s = N_("The GIMP uses layers to let you organize your image. Think of them as a stack of slides or filters, such that looking through them you see a composite of their contents.");
5char *s = N_("You can perform many layer operations by right-clicking on the text label of a layer in the &quot;Layers, Channels and Paths&quot; dialog.");
6char *s = N_("When you save an image to work on it again later, try using XCF, the GIMP's native file format (use the file extension <tt>.xcf</tt>). This preserves the layers and every aspect of your work-in-progress. Once a project is completed, you can save it as JPEG, PNG, GIF, ...");
6char *s = N_("The layer named &quot;Background&quot; it special because it lacks transparency. This prevents you from adding a layer mask or moving the layer up in the stack. You may add transparency to it by right-clicking in the &quot;Layers, Channels and Paths&quot; dialog and selecting &quot;Add Alpha Channel&quot;.");7char *s = N_("The layer named &quot;Background&quot; it special because it lacks transparency. This prevents you from adding a layer mask or moving the layer up in the stack. You may add transparency to it by right-clicking in the &quot;Layers, Channels and Paths&quot; dialog and selecting &quot;Add Alpha Channel&quot;.");
7char *s = N_("When you save an image to work on it again later, try using XCF, the GIMP's native file format (use the file extension <tt>.xcf</tt>). This preserves the layers and every aspect of your work-in-progress. Once a project is completed, you can save it as JPEG, PNG, GIF, ...");8char *s = N_("Most plug-ins work on the current layer of the current image. In some cases, you will have to merge all layers (Layers-&gt;Flatten Image) if you want the plug-in to work on the whole image.");
8char *s = N_("You can get context-sensitive help for most of the GIMP's features by pressing the F1 key at any time. This also works inside the menus.");9char *s = N_("Not all effects can be applied to all kinds of images. This is indicated by a grayed-out menu-entry. You may need to change the image mode to RGB (Image-&gt;Mode-&gt;RGB), add an alpha-channel (Layers-&gt;Add Alpha Channel) or flatten it (Layers-&gt;Flatten Image).");
9char *s = N_("You can perform many layer operations by right-clicking on the text label of a layer in the &quot;Layers, Channels and Paths&quot; dialog.");
1010
=== modified file 'tests/results/extract8.glade.h'
--- tests/results/extract8.glade.h 2004-10-14 10:39:17 +0000
+++ tests/results/extract8.glade.h 2011-10-08 14:05:27 +0000
@@ -1,13 +1,13 @@
1char *s = N_("Testing");
1/* Comment on <property> tag */2/* Comment on <property> tag */
2char *s = N_("A label");3char *s = N_("A label");
3char *s = N_("Cancel (and exit) the test.");4/* Multiline comments
5should be supported as well */
6char *s = N_("_Push me");
7char *s = N_("Testing2");
4char *s = N_("Click the button below");8char *s = N_("Click the button below");
5char *s = N_("Testing");9char *s = N_("This button\n"
6char *s = N_("Testing2");10 "dares you to invoke this action.");
7char *s = N_("This action\n"11char *s = N_("This action\n"
8 "does nothing interesting.");12 "does nothing interesting.");
9char *s = N_("This button\n"13char *s = N_("Cancel (and exit) the test.");
10 "dares you to invoke this action.");
11/* Multiline comments
12should be supported as well */
13char *s = N_("_Push me");
1414
=== modified file 'tests/results/extract9.xml.in.h'
--- tests/results/extract9.xml.in.h 2004-10-07 08:38:19 +0000
+++ tests/results/extract9.xml.in.h 2011-10-08 14:05:27 +0000
@@ -1,3 +1,5 @@
1char *s = N_("Welcome to The GIMP !");
2char *s = N_("Nearly all image operations are performed by right-clicking on the image. And don't worry, you can undo most mistakes.");
1char *s = N_("\n"3char *s = N_("\n"
2 "\n"4 "\n"
3 "\n"5 "\n"
@@ -6,5 +8,3 @@
6 "\n"8 "\n"
7 "\n"9 "\n"
8 " ");10 " ");
9char *s = N_("Nearly all image operations are performed by right-clicking on the image. And don't worry, you can undo most mistakes.");
10char *s = N_("Welcome to The GIMP !");
1111
=== modified file 'tests/results/iso88591text.xml.in.h'
--- tests/results/iso88591text.xml.in.h 2005-11-25 20:00:39 +0000
+++ tests/results/iso88591text.xml.in.h 2011-10-08 14:05:27 +0000
@@ -1,5 +1,5 @@
1char *s = N_("Europe");
2/* Translators: This is in France. */
3char *s = N_("Chambéry");
1/* Translators: This is in Chambéry in France. */4/* Translators: This is in Chambéry in France. */
2char *s = N_("Aix-les-Bains");5char *s = N_("Aix-les-Bains");
3/* Translators: This is in France. */
4char *s = N_("Chambéry");
5char *s = N_("Europe");
66
=== modified file 'tests/results/space-preserve.xml.in.h'
--- tests/results/space-preserve.xml.in.h 2005-06-26 10:54:45 +0000
+++ tests/results/space-preserve.xml.in.h 2011-10-08 14:05:27 +0000
@@ -1,8 +1,8 @@
1char *s = N_("And this message should take no more than one single row, no matter the spacing in the source file.");
2char *s = N_("Insufficient disk space for upgrade.");1char *s = N_("Insufficient disk space for upgrade.");
3char *s = N_("This is not an error.");
4char *s = N_("Upgrading your data and settings will require up to {0} of disk\n"2char *s = N_("Upgrading your data and settings will require up to {0} of disk\n"
5 "space, but you only have {1} available.\n"3 "space, but you only have {1} available.\n"
6 "\n"4 "\n"
7 "You will need to make more space available in your home directory before you can\n"5 "You will need to make more space available in your home directory before you can\n"
8 "continue.");6 "continue.");
7char *s = N_("This is not an error.");
8char *s = N_("And this message should take no more than one single row, no matter the spacing in the source file.");
99
=== modified file 'tests/results/test-quoted.dtd.h'
--- tests/results/test-quoted.dtd.h 2006-05-23 21:08:38 +0000
+++ tests/results/test-quoted.dtd.h 2011-10-08 14:05:27 +0000
@@ -1,8 +1,8 @@
1# 1 "cases/test-quoted.dtd"1# 1 "cases/test-quoted.dtd"
2char *s = N_("Channel requires &quot;authentication&quot;");2char *s = N_("Channel requires &quot;authentication&quot;");
3# 4 "cases/test-quoted.dtd"
4char *s = N_("Password\\a:");
5# 2 "cases/test-quoted.dtd"3# 2 "cases/test-quoted.dtd"
6char *s = N_("Please enter the username and password given to you by this channel's publisher.");4char *s = N_("Please enter the username and password given to you by this channel's publisher.");
7# 3 "cases/test-quoted.dtd"5# 3 "cases/test-quoted.dtd"
8char *s = N_("Username\"foo\":");6char *s = N_("Username\"foo\":");
7# 4 "cases/test-quoted.dtd"
8char *s = N_("Password\\a:");
99
=== modified file 'tests/results/test.schemas.in.h'
--- tests/results/test.schemas.in.h 2004-05-06 16:24:29 +0000
+++ tests/results/test.schemas.in.h 2011-10-08 14:05:27 +0000
@@ -1,10 +1,10 @@
1char *s = N_("12");
2/* default value for /schemas/apps/clock_applet/prefs/hour_format 1/* default value for /schemas/apps/clock_applet/prefs/hour_format
3 The translation should only include the localized default2 The translation should only include the localized default
4 eg. 12 or 24 */3 eg. 12 or 24 */
5char *s = N_("24");4char *s = N_("24");
6char *s = N_("Display seconds in time");
7char *s = N_("Hour format");5char *s = N_("Hour format");
8char *s = N_("Puh long.");
9char *s = N_("Sets the hour format, may be either 12 or 24");6char *s = N_("Sets the hour format, may be either 12 or 24");
7char *s = N_("Display seconds in time");
8char *s = N_("12");
10char *s = N_("Something random..even has >");9char *s = N_("Something random..even has >");
10char *s = N_("Puh long.");
1111
=== modified file 'tests/results/test.scm.h'
--- tests/results/test.scm.h 2004-10-23 09:11:26 +0000
+++ tests/results/test.scm.h 2011-10-08 14:05:27 +0000
@@ -1,11 +1,11 @@
1/* silly comment */
2char *s = N_("translatable string");
3/* this is a fine comment for translators */
4char *s = N_("nice string; thanks");
5/* all well */
6char *s = N_("multiple");
7char *s = N_("translations; per line");
8char *s = N_("translation");
1/* so "what? */9/* so "what? */
2char *s = N_("another \" string");10char *s = N_("another \" string");
3char *s = N_("here");11char *s = N_("here");
4/* all well */
5char *s = N_("multiple");
6/* this is a fine comment for translators */
7char *s = N_("nice string; thanks");
8/* silly comment */
9char *s = N_("translatable string");
10char *s = N_("translation");
11char *s = N_("translations; per line");
1212
=== modified file 'tests/results/unicodetext.xml.in.h'
--- tests/results/unicodetext.xml.in.h 2005-11-25 20:00:39 +0000
+++ tests/results/unicodetext.xml.in.h 2011-10-08 14:05:27 +0000
@@ -1,5 +1,5 @@
1char *s = N_("Europe");
2/* Translators: This is in France. */
3char *s = N_("Chambéry");
1/* Translators: This is in Chambéry in France. */4/* Translators: This is in Chambéry in France. */
2char *s = N_("Aix-les-Bains");5char *s = N_("Aix-les-Bains");
3/* Translators: This is in France. */
4char *s = N_("Chambéry");
5char *s = N_("Europe");

Subscribers

People subscribed via source and target branches