[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-www] branch master updated: adding portuguese
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-www] branch master updated: adding portuguese |
Date: |
Mon, 05 Feb 2018 15:03:17 +0100 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository www.
The following commit(s) were added to refs/heads/master by this push:
new 27bcd99 adding portuguese
27bcd99 is described below
commit 27bcd990946426209ad740b8207e141abce1067b
Author: Marcello Stanisci <address@hidden>
AuthorDate: Mon Feb 5 15:02:57 2018 +0100
adding portuguese
---
.gitignore | 1 +
Makefile | 2 ++
template.py | 3 ++-
3 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/.gitignore b/.gitignore
index 02acdf2..e995b28 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,6 +14,7 @@ fr/
it/
es/
ru/
+pt/
__pycache__
*.pyc
diff --git a/Makefile b/Makefile
index 8dc4bae..3b7a543 100644
--- a/Makefile
+++ b/Makefile
@@ -17,6 +17,7 @@ locale-update: locale/messages.pot
msgmerge -U -m --previous locale/es/LC_MESSAGES/messages.po
locale/messages.pot
msgmerge -U -m --previous locale/it/LC_MESSAGES/messages.po
locale/messages.pot
msgmerge -U -m --previous locale/ru/LC_MESSAGES/messages.po
locale/messages.pot
+ msgmerge -U -m --previous locale/pt/LC_MESSAGES/messages.po
locale/messages.pot
if grep -nA1 '#-#-#-#-#' locale/*/LC_MESSAGES/messages.po; then echo -e
"\nERROR: Conflicts encountered in PO files.\n"; exit 1; fi
@@ -28,6 +29,7 @@ locale-compile:
pybabel compile -d locale -l it --use-fuzzy
pybabel compile -d locale -l es --use-fuzzy
pybabel compile -d locale -l ru --use-fuzzy
+ pybabel compile -d locale -l pt --use-fuzzy
# Process everything related to gettext translations.
locale: locale-update locale-compile
diff --git a/template.py b/template.py
index 005239d..f0d37da 100755
--- a/template.py
+++ b/template.py
@@ -30,7 +30,8 @@ langs_full = {"en": "English",
"it": "Italiano",
"es": "Español",
"de": "Deutsch",
- "ru": "Ру́сский язы́к"}
+ "ru": "Ру́сский язы́к",
+ "pt": "Português"}
for in_file in glob.glob("*.j2"):
name, ext = re.match(r"(.*)\.([^.]+)$", in_file.rstrip(".j2")).groups()
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-www] branch master updated: adding portuguese,
gnunet <=