From 742dfeeb542a800ea82a0604e02962cc1ec1be9d Mon Sep 17 00:00:00 2001 From: lars Date: Mon, 5 Feb 2007 23:07:50 +0000 Subject: [PATCH] added dependency for python-m2crypto added necessary steps for adding new languages added new language Urdu --- debian/control | 2 +- scripts/update_po_files.py | 2 +- stuff/language_specification.txt | 10 ++++++++++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index ca20c2e..af9e76c 100644 --- a/debian/control +++ b/debian/control @@ -8,7 +8,7 @@ Standards-Version: 3.7.2 Package: cryptobox-server Architecture: any -Depends: python-central (>= 0.5.6), cryptsetup (>=20050111), e2fsprogs (>= 1.27), adduser, python (>=2.4), python-clearsilver, super, dosfstools, python-cherrypy, python-configobj +Depends: python-central (>= 0.5.6), cryptsetup (>=20050111), e2fsprogs (>= 1.27), adduser, python (>=2.4), python-clearsilver, super, dosfstools, python-cherrypy, python-configobj, python-m2crypto Suggests: samba, apache2, stunnel Replaces: cryptobox XB-Python-Version: ${python:Versions} diff --git a/scripts/update_po_files.py b/scripts/update_po_files.py index f17e712..e1602b8 100755 --- a/scripts/update_po_files.py +++ b/scripts/update_po_files.py @@ -54,7 +54,7 @@ LANG_DIR = 'intl' MAIL_ADDRESS = 'info@cryptobox.org' ## the complete list of languages wastes a lot of space - for now we use only a few #ALL_LANGUAGES = "af aka am ar bn ca cs da de el en es et eu fa fi fr fur gl he hi hr hu hy is it ja ka kg ko ku lt lv mr ms mt nb ne nl nn ns pa pl pt ru sl sr st sv tr uk ve vi xh".split(" ") -ALL_LANGUAGES = "cs da de en es fi fr hu it ja nl pl pt ru sl sv".split(" ") +ALL_LANGUAGES = "cs da de en es fi fr hu it ja nl pl pt ru sl sv ur".split(" ") # --------------=-=-=- functions -=-=-=-------------------- diff --git a/stuff/language_specification.txt b/stuff/language_specification.txt index 6ddd75d..706ea87 100644 --- a/stuff/language_specification.txt +++ b/stuff/language_specification.txt @@ -21,3 +21,13 @@ Attributes: - "Link.Rel" and "Link.Prot" may be used together (see plugin/volume_format_fs/lang/en.hdf for a good example for links) + +2) adding a new language + - add the language code (e.g. "de") to the ALL_LANGUAGES setting in + scripts/update_po_files.py + - run "scripts/update_po_files.py && scripts/revert_unchanged_po_files.sh" + - svn add plugins/*/intl/NEW_LANG_CODE intl/NEW_LANG_CODE + - svn revert plugins/*/intl/NEW_LANG_CODE/*.mo intl/NEW_LANG_CODE/*.mo + - svn propset svn:ignore "*.mo" plugins/*/intl/NEW_LANG_CODE intl/NEW_LANG_CODE + - add it to /etc/pootle/pootle.prefs in the translation pootle server +