1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-05-08 07:58:35 +00:00

Added italian translation

This commit is contained in:
zhengxie 2013-02-28 10:37:39 +08:00
parent 788e6376d3
commit 86a690b68f
4 changed files with 8435 additions and 2 deletions

View File

@ -4,10 +4,10 @@
# Names should be added to this file like so: # Names should be added to this file like so:
# Name <email address> # Name <email address>
# Please keep the list sorted.
Алексей Сергеев <niteusmail@gmail.com> Алексей Сергеев <niteusmail@gmail.com>
chuyskywalker <github.com@jrm.cc> chuyskywalker <github.com@jrm.cc>
Phillip Thelen <viirus@pherth.net> Phillip Thelen <viirus@pherth.net>
Robin Nehls <github@manol.is> Robin Nehls <github@manol.is>
Hector Colina <hcolina@gmail.com> Hector Colina <hcolina@gmail.com>
Alessandro Blasi <oculus@oculus.it>

View File

@ -54,6 +54,10 @@ Then, run this command:
There will be a file named `django.po` under `locale/ru/LC_MESSAGES`. There will be a file named `django.po` under `locale/ru/LC_MESSAGES`.
**NOTE:** If you install your Django source under thirdpart, you need to ignore all files under Django directory, otherwise the po file will become large.
django-admin.py makemessages -l ru -e py,html -i "thirdpart/Django-1.3-py2.7-egg/*"
After you modified `django.po`, you can run `./i18n.sh compile-all`, this will create `.mo` file under same directory with `django.po`. After you modified `django.po`, you can run `./i18n.sh compile-all`, this will create `.mo` file under same directory with `django.po`.
That's it. After restart Seahub, you can select popup button at right top, and your translations are ready for use. That's it. After restart Seahub, you can select popup button at right top, and your translations are ready for use.

File diff suppressed because it is too large Load Diff

View File

@ -101,6 +101,7 @@ LANGUAGES = (
('ru', gettext_noop(u'Русский')), ('ru', gettext_noop(u'Русский')),
('de', gettext_noop(u'Deutsch')), ('de', gettext_noop(u'Deutsch')),
('es', gettext_noop('Español')), ('es', gettext_noop('Español')),
('it', gettext_noop('Italiano')),
) )
LOCALE_PATHS = ( LOCALE_PATHS = (
os.path.join(os.path.dirname(__file__), 'locale'), os.path.join(os.path.dirname(__file__), 'locale'),