diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2009-06-13 17:18:06 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2009-06-13 17:18:06 +0000 |
| commit | bc20e9c433c1c7bd2a9516a936d1d7ffee1e90f2 (patch) | |
| tree | 172eb47c01b26969ccda334006f83859f43abe90 /scripts | |
| parent | 6d9ccee95dd99fecda3a6ba62c2768b4d39f69e5 (diff) | |
| download | zcatch-bc20e9c433c1c7bd2a9516a936d1d7ffee1e90f2.tar.gz zcatch-bc20e9c433c1c7bd2a9516a936d1d7ffee1e90f2.zip | |
localization update
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/update_localization.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/update_localization.py b/scripts/update_localization.py index 7dbc90f5..087f55a4 100644 --- a/scripts/update_localization.py +++ b/scripts/update_localization.py @@ -48,7 +48,7 @@ def generate_languagefile(outputfilename, srctable, loctable): print >>f, "##### translated strings #####" print >>f, "" for k in srctable: - if k in loctable: + if k in loctable and len(loctable[k]): print >>f, k print >>f, "==", loctable[k] print >>f, "" @@ -58,7 +58,7 @@ def generate_languagefile(outputfilename, srctable, loctable): print >>f, "##### needs translation ####" print >>f, "" for k in srctable: - if not k in loctable: + if not k in loctable or len(loctable[k]) == 0: print >>f, k print >>f, "==", srctable[k] print >>f, "" |