X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=po%2Fpostats.sh;h=7244daa0c3a688adeee243f9f0b4c57af9fc5fd6;hb=865face4251fd7cb664ac2b25fca350d3db6f0ab;hp=3630112bab86af98d1a50223848c4de1b60588f3;hpb=a73ed93eb0e5276710c082d412a621a477b47ef0;p=lyx.git diff --git a/po/postats.sh b/po/postats.sh index 3630112bab..7244daa0c3 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,7 +13,7 @@ # 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) @@ -25,7 +25,7 @@ lyx_branch= # GNU sed and grep have real problems dealing with 8-bit characters # in UTF-8 encoded environments. unset LANG - +LANGUAGE=C warning () { echo $* 1>&2 @@ -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 < @@ -203,7 +203,7 @@ cat < 'Italian', 'nl' => 'Dutch', 'nn' => 'Nynorsk', - 'no' => 'Norwegian', + 'nb' => 'Norwegian', 'pl' => 'Polish', 'pt' => 'Portuguese', 'ro' => 'Romanian', @@ -307,7 +307,7 @@ while (list(\$foo,\$info) = each(\$podata)) { EOF }