Changeset 9091
- Timestamp:
- 2005-02-17T17:25:30+13:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/bin/script/translator/writetranslationmedium.pl
r8922 r9091 66 66 67 67 my $option_show_all_translations = 0; 68 my $option_show_complete_translations = 0; 68 69 69 70 … … 83 84 while ($optionalarg) { 84 85 if ($optionalarg eq "-show_all_translations") { $option_show_all_translations = 1; } 86 if ($optionalarg eq "-show_complete_translations") { $option_show_complete_translations = 1; } 85 87 $optionalarg = shift(@_); 86 88 } … … 183 185 $translationstowrite{$key}[0] = $sourcehash{$key}; 184 186 $translationstowrite{$key}[1] = $translationdata{$key} || ""; 187 } 188 } 189 } 190 191 elsif ($option_show_complete_translations) { 192 foreach $key (keys(%translationdata)) { 193 if ($key !~ /\*$/ && $translationdata{$key} ne "") { 194 $translationstowrite{$key}[0] = $sourcehash{$key}; 195 $translationstowrite{$key}[1] = $translationdata{$key}; 185 196 } 186 197 }
Note:
See TracChangeset
for help on using the changeset viewer.