X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=po%2Fpostats.sh;h=8ed3b7dfea540515f1d597393c8722f77250f869;hb=e6b2b340979bed3b5e1290bb3f1ac7edb76e8a9b;hp=d803374c02e60438e570bc4be0028be3c3a93965;hpb=d6a33844c3c1bc429da19a25d127c816cd926616;p=lyx.git diff --git a/po/postats.sh b/po/postats.sh index d803374c02..8ed3b7dfea 100755 --- a/po/postats.sh +++ b/po/postats.sh @@ -5,7 +5,7 @@ # This file is part of LyX, the document processor. # Licence details can be found in the file COPYING. # -# author: Michael Schmitt, michael.schmitt@teststep.org +# author: Michael Gerz, michael.gerz@teststep.org # # This script extracts some information from the po file headers (last # translator, revision date), generates the corresponding gmo files @@ -13,12 +13,12 @@ # and generates a PHP web page. # # Invocation: -# postats.sh po_files > "pathToWebPages"/i18n.php3 +# postats.sh po_files > "pathToWebPages"/i18n.php # modifiy this when you change version # Note that an empty lyx_branch variable (ie cvs HEAD) # will "do the right thing". -lyx_version=1.4.0cvs +lyx_version=1.5.0svn lyx_branch= @@ -99,7 +99,7 @@ run_msgfmt () { date=`grep 'Revision-Date' $pofile | sed 's/ */ /g' | cut -d ' ' -f 2` # Searching for a string of the form - # '"Last-Translator: Michael Schmitt \n"' + # '"Last-Translator: Michael Gerz \n"' translator= email= input=`grep "Last-Translator" $pofile` && { @@ -161,12 +161,12 @@ cat < @@ -181,9 +181,9 @@ EOF dump_tail () { test "$lyx_branch" = "" && { - branch_tag="" + branch_tag="trunk" } || { - branch_tag="?only_with_tag=$lyx_branch" + branch_tag="branches/$lyx_branch" } cat < 'Basque', 'fi' => 'Finnish', 'fr' => 'French', + 'gl' => 'Galician', 'he' => 'Hebrew', 'hu' => 'Hungarian', 'it' => 'Italian', 'nl' => 'Dutch', 'nn' => 'Nynorsk', - 'no' => 'Norwegian', + 'nb' => 'Norwegian', 'pl' => 'Polish', 'pt' => 'Portuguese', 'ro' => 'Romanian', @@ -270,7 +271,7 @@ while (list(\$foo,\$info) = each(\$podata)) { } print "" ; - print "" . \$lang[\$info['langcode']] . ""; + print "" . \$lang[\$info['langcode']] . ""; print "" . \$info['msg_tr'] . ""; @@ -307,7 +308,7 @@ while (list(\$foo,\$info) = each(\$podata)) { EOF }