diff options
author | Oliver Tappe | 2006-10-04 15:42:25 +0200 |
---|---|---|
committer | Oliver Tappe | 2006-10-04 15:42:25 +0200 |
commit | a8ccdb8dc888b24a619b09d39f3e01de87f6fbce (patch) | |
tree | c8746d71596089f478bd3c93adb75d40494fd52b /config-db/tools/extractTranslations.pl | |
parent | * changed ODLX to OpenSLX such that things work again (diff) | |
download | core-a8ccdb8dc888b24a619b09d39f3e01de87f6fbce.tar.gz core-a8ccdb8dc888b24a619b09d39f3e01de87f6fbce.tar.xz core-a8ccdb8dc888b24a619b09d39f3e01de87f6fbce.zip |
* minor formatting corrections
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@442 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'config-db/tools/extractTranslations.pl')
-rwxr-xr-x | config-db/tools/extractTranslations.pl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/config-db/tools/extractTranslations.pl b/config-db/tools/extractTranslations.pl index f90d5f98..6fa23429 100755 --- a/config-db/tools/extractTranslations.pl +++ b/config-db/tools/extractTranslations.pl @@ -93,21 +93,21 @@ sub UpdateTrModule if ($useKeyAsTranslation) { # POSIX language: use key as translation: $updatedTranslations - .= "\tqq{$tr}\n\t\t => qq{$tr},\n\n"; + .= "\tqq{$tr}\n\t=>\n\tqq{$tr},\n\n"; } else { # no translation available, we mark the key, such that a # search for this key will fall back to the english message: $updatedTranslations - .= "\tqq{NEW:$tr}\n\t\t => qq{$translations{$tr}},\n\n"; + .= "\tqq{NEW:$tr}\n\t=>\n\tqq{$translations{$tr}},\n\n"; } } else { # use existing translation for key: $updatedTranslations - .= "\tqq{$tr}\n\t\t => qq{$translations{$tr}},\n\n"; + .= "\tqq{$tr}\n\t=>\n\tqq{$translations{$tr}},\n\n"; } } $text =~ s[%translations\s*=\s*\(\s*(.+)\s*\);] - [$updatedTranslations);\n]os; + [$updatedTranslations);]os; chomp $text; open(F, "> $trModule") or die "could not open file $trModule for writing!"; |