mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-12 04:12:16 +00:00
Added i18n for seahub
This commit is contained in:
parent
1418a244cd
commit
2afa404385
6
i18n.sh.template
Executable file
6
i18n.sh.template
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Ignore all apps
|
||||||
|
django-admin.py makemessages -l zh_CN -e py,html -i "thirdpart*" -i "api*" -i "avatar*" -i "base*" -i "contacts*" -i "group*" -i "notifications*" -i "organizations*" -i "profile*" -i "share*"
|
||||||
|
|
||||||
|
django-admin.py compilemessages
|
BIN
locale/zh_CN/LC_MESSAGES/django.mo
Normal file
BIN
locale/zh_CN/LC_MESSAGES/django.mo
Normal file
Binary file not shown.
57
locale/zh_CN/LC_MESSAGES/django.po
Normal file
57
locale/zh_CN/LC_MESSAGES/django.po
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
# SOME DESCRIPTIVE TITLE.
|
||||||
|
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||||
|
# This file is distributed under the same license as the PACKAGE package.
|
||||||
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||||
|
#
|
||||||
|
#, fuzzy
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2012-10-20 16:19+0800\n"
|
||||||
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
"Language: \n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Plural-Forms: nplurals=1; plural=0\n"
|
||||||
|
|
||||||
|
#: forms.py:26
|
||||||
|
msgid "A user with this email already"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: forms.py:40
|
||||||
|
msgid "The two password fields didn't match."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/myhome_base.html:8
|
||||||
|
msgid "My Home"
|
||||||
|
msgstr "我的页面"
|
||||||
|
|
||||||
|
#: templates/registration/password_reset_email.html:2
|
||||||
|
msgid "You're receiving this e-mail because you requested a password reset"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/registration/password_reset_email.html:3
|
||||||
|
#, python-format
|
||||||
|
msgid "for your user account at %(site_name)s"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/registration/password_reset_email.html:5
|
||||||
|
msgid "Please go to the following page and choose a new password:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/registration/password_reset_email.html:9
|
||||||
|
msgid "Your username, in case you've forgotten:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/registration/password_reset_email.html:11
|
||||||
|
msgid "Thanks for using our site!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/registration/password_reset_email.html:13
|
||||||
|
#, python-format
|
||||||
|
msgid "The %(site_name)s team"
|
||||||
|
msgstr ""
|
@ -1,10 +1,11 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
{% load url from future %}
|
{% load url from future %}
|
||||||
|
{% load i18n %}
|
||||||
{% block top_bar_myaccount_class %} class="cur"{% endblock %}
|
{% block top_bar_myaccount_class %} class="cur"{% endblock %}
|
||||||
{% block nav %}
|
{% block nav %}
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ SITE_ROOT }}home/my/" {% block nav_myhome_class %}{% endblock %}>我的页面</a>
|
<a href="{{ SITE_ROOT }}home/my/" {% block nav_myhome_class %}{% endblock %}>{% trans "My Home" %}</a>
|
||||||
</li>
|
</li>
|
||||||
{% if not cloud_mode %}
|
{% if not cloud_mode %}
|
||||||
<li>
|
<li>
|
||||||
|
Loading…
Reference in New Issue
Block a user