[dev-gnome-web/wip/fredp/i18n: 2/2] Add translation for Spanish



commit 7bb29b9f4e9a6d4eaaa9037a17f1b047f0d8b64a
Author: Frédéric Péters <fpeters 0d be>
Date:   Thu Jan 28 12:39:03 2016 +0100

    Add translation for Spanish

 server/config.py                               |    2 +-
 server/translations/es/LC_MESSAGES/messages.po |   24 ++++++++++++++++++++++++
 2 files changed, 25 insertions(+), 1 deletions(-)
---
diff --git a/server/config.py b/server/config.py
index a6c376c..e3d2dfd 100644
--- a/server/config.py
+++ b/server/config.py
@@ -6,6 +6,6 @@ from os import environ
 
 BABEL_DEFAULT_LOCALE = 'en'
 BABEL_DEFAULT_TIMEZONE = 'UTC'
-LANGUAGES = {'en'}
+LANGUAGES = {'en', 'es'}
 
 TESTING = environ.get("FLASK_TESTING") is not None
diff --git a/server/translations/es/LC_MESSAGES/messages.po b/server/translations/es/LC_MESSAGES/messages.po
new file mode 100644
index 0000000..458dda6
--- /dev/null
+++ b/server/translations/es/LC_MESSAGES/messages.po
@@ -0,0 +1,24 @@
+# Spanish translations for PROJECT.
+# Copyright (C) 2016 ORGANIZATION
+# This file is distributed under the same license as the PROJECT project.
+# FIRST AUTHOR <EMAIL ADDRESS>, 2016.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: PROJECT VERSION\n"
+"Report-Msgid-Bugs-To: EMAIL ADDRESS\n"
+"POT-Creation-Date: 2016-01-28 12:30+0100\n"
+"PO-Revision-Date: 2016-01-28 12:35+0100\n"
+"Last-Translator: FULL NAME <EMAIL ADDRESS>\n"
+"Language: es\n"
+"Language-Team: es <LL li org>\n"
+"Plural-Forms: nplurals=2; plural=(n != 1)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Generated-By: Babel 2.2.0\n"
+
+#: client/index.html:3
+msgid "Hello world"
+msgstr "Hola, mundo"
+


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]