Re: All translations are outdated
"Stéphane Raimbault" <[email protected]> Wed, 5 Nov 2008 12:19:09 +0100
| Newsgroups | gmane.comp.python.formencode |
|---|---|
| Message-ID | <[email protected]> |
Hi, The FormEncode translations still in the same state, outdated, since my first mail. Can someone update the trunk, please? I added to my scripts, an updated French translation (with many fixes) so could you commit this file after the update? Stephane ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ FormEncode-discuss mailing list FormEncode-discuss-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/formencode-discuss
update-po.py
(text/x-python, 340 B)
#!/usr/bin/env python
import os
def main():
I18N_DIR = 'i18n'
for lang in open(I18N_DIR + '/LINGUAS').readlines():
lang = lang.strip()
print lang
os.system("msgmerge -U %s/%s/LC_MESSAGES/FormEncode.po %s/FormEncode.pot" %
(I18N_DIR, lang, I18N_DIR))
if __name__ == '__main__':
main()
update-pot.sh
(application/x-sh, 62 B)
#!/bin/sh pygettext -o i18n/FormEncode.pot -a *.py util/*.py
FormEncode.po
(application/octet-stream, 14.4 KB) - not displayed
LINGUAS
(application/octet-stream, 72 B) - not displayed