Changeset 35422 in osm for applications/editors/josm/i18n
- Timestamp:
- 2020-04-13T22:27:14+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/i18n/convpreset.pl
r34809 r35422 133 133 } 134 134 } 135 elsif($line =~ /< optional.*\s+text=(".*?")/)136 { 137 my $n = fix($1);138 if($line =~ /text_context=(".*?")/) 139 { 140 print infoblock(" optional$n") . "trc($1,$n);\n";141 } 142 else 143 { 144 print infoblock(" optional$n") . "tr($n);\n";135 elsif($line =~ /<(optional|preset_link).*\s+text=(".*?")/) 136 { 137 my ($type,$n) = ($1,fix($2)); 138 if($line =~ /text_context=(".*?")/) 139 { 140 print infoblock("$type $n") . "trc($1,$n);\n"; 141 } 142 else 143 { 144 print infoblock("$type $n") . "tr($n);\n"; 145 145 } 146 146 }
Note:
See TracChangeset
for help on using the changeset viewer.