Changeset 23091 in osm
- Timestamp:
- 2010-09-10T09:59:47+02:00 (14 years ago)
- Location:
- applications/editors/josm/i18n
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/i18n/convpreset.pl
r17973 r23091 27 27 if($line =~ /name_context=(".*?")/) 28 28 { 29 print " trc($1, $val); /* item $item */\n";29 print "/* item $item */ trc($1, $val);\n"; 30 30 } 31 31 else 32 32 { 33 print " tr($val); /* item $item */\n";33 print "/* item $item */ tr($val);\n"; 34 34 } 35 35 } … … 41 41 if($line =~ /name_context=(".*?")/) 42 42 { 43 print " trc($1,$gr); /* group $group */\n";43 print "/* group $group */ trc($1,$gr);\n"; 44 44 } 45 45 else 46 46 { 47 print " tr($gr); /* group $group */\n";47 print "/* group $group */ tr($gr);\n"; 48 48 } 49 49 } … … 57 57 if($line =~ /text_context=(".*?")/) 58 58 { 59 print " trc($1,$text); /* item $item label $text */\n";59 print "/* item $item label $text */ trc($1,$text);\n"; 60 60 } 61 61 else 62 62 { 63 print " tr($text); /* item $item label $text */\n";63 print "/* item $item label $text */ tr($text);\n"; 64 64 } 65 65 } … … 69 69 if($line =~ /text_context=(".*?")/) 70 70 { 71 print " trc($1,$n); /* item $item text $n */\n";71 print "/* item $item text $n */ trc($1,$n);\n"; 72 72 } 73 73 else 74 74 { 75 print " tr($n); /* item $item text $n */\n";75 print "/* item $item text $n */ tr($n);\n"; 76 76 } 77 77 } … … 81 81 if($line =~ /text_context=(".*?")/) 82 82 { 83 print " trc($1,$n); /* item $item check $n */\n";83 print "/* item $item check $n */ trc($1,$n);\n"; 84 84 } 85 85 else 86 86 { 87 print " tr($n); /* item $item check $n */\n";87 print "/* item $item check $n */ tr($n);\n"; 88 88 } 89 89 } … … 93 93 if($line =~ /text_context=(".*?")/) 94 94 { 95 print " trc($1,$n); /* item $item role $n */\n";95 print "/* item $item role $n */ trc($1,$n);\n"; 96 96 } 97 97 else 98 98 { 99 print " tr($n); /* item $item role $n */\n";99 print "/* item $item role $n */ tr($n);\n"; 100 100 } 101 101 } … … 107 107 if($line =~ /text_context=(".*?")/) 108 108 { 109 print " trc($1,$n); /* item $item combo $n */";109 print "/* item $item combo $n */ trc($1,$n);"; 110 110 } 111 111 else 112 112 { 113 print " tr($n); /* item $item combo $n */";113 print "/* item $item combo $n */ tr($n);"; 114 114 } 115 115 foreach my $val (split ",",$vals) … … 126 126 if($line =~ /text_context=(".*?")/) 127 127 { 128 print " trc($1,$n); /* item $item combo $n */";128 print "/* item $item combo $n */ trc($1,$n);"; 129 129 } 130 130 else 131 131 { 132 print " tr($n); /* item $item combo $n */";132 print "/* item $item combo $n */ tr($n);"; 133 133 } 134 134 foreach my $val (split ",",$vals) -
applications/editors/josm/i18n/convstyle.pl
r13392 r23091 18 18 if($line =~ /<rules\s+name=(".*?")/) 19 19 { 20 print " tr($1); /* mappaint style named $1 */\n";20 print "/* mappaint style named $1 */ tr($1);\n"; 21 21 } 22 22 elsif($line =~ /colour="([^"]+)#/) 23 23 { 24 print " tr(\"$1\"); /* color $1 */\n";24 print "/* color $1 */ tr(\"$1\");\n"; 25 25 } 26 26 else -
applications/editors/josm/i18n/convsurveyor.pl
r13392 r23091 21 21 if($line =~ /^#(.*)$/) 22 22 { 23 print "/ /$1\n";23 print "/* $1 */\n"; 24 24 } 25 25 elsif($line =~ /^$/) … … 29 29 elsif($line =~ /<button label=\"(.*?)\"/) 30 30 { 31 print " tr(\"$1\"); // $line\n";31 print "/* $line*/ tr(\"$1\");\n"; 32 32 } 33 33 else -
applications/editors/josm/i18n/convvalidator.pl
r13392 r23091 21 21 if($line =~ /^#(.*)$/) 22 22 { 23 print "/ /$1\n";23 print "/* $1 */\n"; 24 24 } 25 25 elsif($line =~ /^$/) … … 29 29 elsif($line =~ /(.*) *# *(.*) *$/) 30 30 { 31 print " tr(\"$2\"); // $1\n";31 print "/* $1 */ tr(\"$2\");\n"; 32 32 } 33 33 else -
applications/editors/josm/i18n/convwms.pl
r13392 r23091 21 21 if($line =~ /^#(.*)$/) 22 22 { 23 print "/ /$1\n";23 print "/* $1 */\n"; 24 24 } 25 25 elsif($line =~ /^$/) … … 29 29 elsif($line =~ /^(.*?);(.*?);(.*)$/) 30 30 { 31 print " tr(\"$2\"); // $3\n";31 print "/* $3 */ tr(\"$2\");\n"; 32 32 } 33 33 else
Note:
See TracChangeset
for help on using the changeset viewer.