Changeset 89795c7 in git for devel/updatelangphp.awk


Ignore:
Timestamp:
2012-08-01T08:12:14Z (7 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.0, 3.1, 3.2, master, trunk
Children:
16c7313
Parents:
6eecd74
Message:

htdocs: updated translation using po

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1102 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/updatelangphp.awk

    r6eecd74 r89795c7  
    22BEGIN {
    33    print "<?php";
    4     print "";
     4    print "// auto generated, do not modify";
    55    print "$strings += array(";
    66}
     
    1111            if (msgid == "") {
    1212            }
     13            else if (msgstr == "") {
     14            }
    1315            else {
    14                 print "\t\""msgid"\"";
    15                 print "\t=> \""msgstr"\",";
     16                print "\t\t'"msgid"'";
     17                print "\t\t=> '"msgstr"',";
    1618            }
    1719        }
     
    6163END {
    6264    flushOut();
    63     print ");";
     65    print "\t\t);";
    6466    print "";
    6567}
Note: See TracChangeset for help on using the changeset viewer.