diff options
| author | Slávek Banko <slavek.banko@axis.cz> | 2022-12-13 08:40:15 +0100 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2022-12-13 08:40:15 +0100 |
| commit | 7fa4f1ed9bdbb5f5ffee2d1d7e7076242a451c8b (patch) | |
| tree | 6be0de2952b047ae811eb7a36b154108e147dc15 /translations/preparetips | |
| parent | b02fdb4d705016a6c8e83f9d492b8df7c531b805 (diff) | |
| download | bibletime-7fa4f1ed.tar.gz bibletime-7fa4f1ed.zip | |
Remove the original translation directory layout.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'translations/preparetips')
| -rwxr-xr-x | translations/preparetips | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/translations/preparetips b/translations/preparetips deleted file mode 100755 index 1e5c35a..0000000 --- a/translations/preparetips +++ /dev/null @@ -1,45 +0,0 @@ -# !/usr/bin/perl -# little script to extract the text from the tips file -# and output it, so xgettext can add the tips to the po file -# -# 2000 by Matthias Kiefer <matthias.kiefer@gmx.de> -# Command line option added by Joachim Ansorg - -open(FILE,"<$ARGV[0]") || die "unable to open tips file"; - -$inTip=0; - -while(<FILE>) -{ - chomp; - - # tip starts with <html> - if(/^\s*<html>/i) - { - $inTip=1; - print "\ni18n(\n"; - next; - } - - if($inTip!=0) - { - # tip ends with </html> - if(/^\s*<\/html>/i) - { - print ");\n"; - $inTip=0; - } - else - { - # replace \ with \\ - s/\\/\\\\/g; - - # replace " with \" - s/"/\\"/g; - - print "\"$_\\n\"\n"; - } - } -} - -close(FILE); |
