Merge branch 'master' of git://gitorious.org/mediagoblin/mediagoblin into f298_create_envball

This commit is contained in:
Joar Wandborg 2011-08-08 03:48:27 +02:00
commit 537afbb6db
7 changed files with 71 additions and 2 deletions

8
.tx/config Normal file
View File

@ -0,0 +1,8 @@
[mediagoblin.mediagoblin]
file_filter = mediagoblin/i18n/<lang>/LC_MESSAGES/mediagoblin.po
source_file = mediagoblin/i18n/en/LC_MESSAGES/mediagoblin.po
source_lang = en
[main]
host = https://www.transifex.net

View File

@ -10,4 +10,4 @@ encoding = utf-8
# # Extraction from JavaScript files # # Extraction from JavaScript files
# [javascript: mediagoblin/static/js/**.js] # [javascript: mediagoblin/static/js/**.js]
# extract_messages = $._, jQuery._ # extract_messages = $._, jQuery._

Binary file not shown.

View File

@ -0,0 +1,25 @@
# Translations template for PROJECT.
# Copyright (C) 2011 ORGANIZATION
# This file is distributed under the same license as the PROJECT project.
#
# <cwebber@dustycloud.org>, 2011.
msgid ""
msgstr ""
"Project-Id-Version: GNU MediaGoblin\n"
"Report-Msgid-Bugs-To: http://bugs.foocorp.net/projects/mediagoblin/issues\n"
"POT-Creation-Date: 2011-08-06 23:01-0500\n"
"PO-Revision-Date: 2011-08-07 14:06+0000\n"
"Last-Translator: cwebber <cwebber@dustycloud.org>\n"
"Language-Team: German (http://www.transifex.net/projects/p/mediagoblin/team/de/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 0.9.6\n"
"Language: de\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
#: mediagoblin/templates/mediagoblin/root.html:21
msgid "Welcome to GNU MediaGoblin!"
msgstr "Willkommen bei GNU MediaGoblin!"

View File

@ -0,0 +1,35 @@
# Translations template for GNU MediaGoblin.
#
# GNU MediaGoblin -- federated, autonomous media hosting
# Copyright (C) 2011 Free Software Foundation, Inc
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: GNU MediaGoblin\n"
"POT-Creation-Date: 2011-08-06 23:01-0500\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"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 0.9.6\n"
#: mediagoblin/templates/mediagoblin/root.html:21
msgid "Welcome to GNU MediaGoblin!"
msgstr ""

View File

@ -300,7 +300,7 @@ def send_email(from_addr, to_addrs, subject, message_body):
TRANSLATIONS_PATH = pkg_resources.resource_filename( TRANSLATIONS_PATH = pkg_resources.resource_filename(
'mediagoblin', 'translations') 'mediagoblin', 'i18n')
def locale_to_lower_upper(locale): def locale_to_lower_upper(locale):

View File

@ -53,6 +53,7 @@ setup(
entry_points = """\ entry_points = """\
[console_scripts] [console_scripts]
gmg = mediagoblin.gmg_commands:main_cli gmg = mediagoblin.gmg_commands:main_cli
pybabel = mediagoblin.babel.messages.frontend:main
[paste.app_factory] [paste.app_factory]
app = mediagoblin.app:paste_app_factory app = mediagoblin.app:paste_app_factory