added dependency for python-m2crypto

added necessary steps for adding new languages
added new language Urdu
This commit is contained in:
lars 2007-02-05 23:07:50 +00:00
parent 71f4289ae4
commit 742dfeeb54
3 changed files with 12 additions and 2 deletions

2
debian/control vendored
View file

@ -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}

View file

@ -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 -=-=-=--------------------

View file

@ -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