Skip to content

Commit

Permalink
Adds config necessary for jenkins translation jobs
Browse files Browse the repository at this point in the history
LEARNER-1939
  • Loading branch information
amangano-edx committed Oct 31, 2017
1 parent cf8ed86 commit 6eb6ce4
Show file tree
Hide file tree
Showing 9 changed files with 188 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .tx/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[main]
host = https://www.transifex.com

[edx-credentials-themes.djangopo]
source_file = edx_credentials_themes/locale/en/LC_MESSAGES/django.po
source_lang = en
type = PO
file_filter = edx_credentials_themes/locale/<lang>/LC_MESSAGES/django.po
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ generate_translations: extract_translations dummy_translations compile_translati
i18n_requirements:
pip install -r ./requirements/i18n.txt

pull_translations:
tx pull -af --mode reviewed

requirements: i18n_requirements
npm install

Expand Down
2 changes: 1 addition & 1 deletion edx_credentials_themes/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.1.8'
__version__ = '0.1.9'
Binary file modified edx_credentials_themes/locale/en/LC_MESSAGES/django.mo
Binary file not shown.
3 changes: 2 additions & 1 deletion edx_credentials_themes/locale/en/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: 0.1a\n"
"Report-Msgid-Bugs-To: \n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2017-10-27 15:09-0400\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
Expand All @@ -14,6 +14,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: templates/edx.org/credentials/programs/base.html:20
msgid "About edX"
Expand Down
Binary file not shown.
169 changes: 169 additions & 0 deletions edx_credentials_themes/locale/es_419/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@
# edX translation file.
# Copyright (C) 2017 EdX
# EdX Team <[email protected]>, 2017.
#
msgid ""
msgstr ""
"Project-Id-Version: 0.1a\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-10-27 15:09-0400\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: Spanish (Latin America) (https://www.transifex.com/open-edx/teams/79642/es_419/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: es_419\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: templates/edx.org/credentials/programs/base.html:20
msgid "About edX"
msgstr ""

#: templates/edx.org/credentials/programs/base.html:23
#, python-brace-format
msgid ""
"{link_start} edX{link_end} offers interactive online classes and MOOCs from "
"the world’s best universities, including MIT, Harvard, Berkeley, University "
"of Texas, and many others. edX is a non-profit online initiative created by "
"founding partners Harvard and MIT."
msgstr ""

#. Translators: MicroMasters should not be translated
#: templates/edx.org/credentials/programs/micromasters/certificate.html:8
#, python-format
msgid ""
"You worked hard to earn your MicroMasters Credential from "
"%(organization_name)s."
msgstr ""

#. Translators: MicroMasters should not be translated, this phrase is preceded
#. by the learner's name and followed by a program title
#: templates/edx.org/credentials/programs/micromasters/certificate.html:16
msgid ""
"has successfully completed all courses and received passing grades for a "
"MicroMasters credential in"
msgstr ""

#. Translators: MicroMasters should not be translated
#: templates/edx.org/credentials/programs/micromasters/certificate.html:21
msgid "MicroMasters credential"
msgstr ""

#. Translators: MicroMasters should not be translated
#: templates/edx.org/credentials/programs/micromasters/certificate.html:26
msgid "About the edX MicroMasters credential"
msgstr ""

#. Translators: MicroMasters should not be translated
#: templates/edx.org/credentials/programs/micromasters/certificate.html:31
#, python-brace-format
msgid ""
"An edX MicroMasters credential signifies that the learner has completed a "
"group of courses that add up to a rich understanding of an area of study. "
"Completion of MicroMasters Programs requires that learners earn "
"{link_start}Verified Certificates{link_end} from each of the courses "
"included in the Program."
msgstr ""

#. Translators: This phrase is preceded by the learner's name and followed by
#. a program title
#: templates/edx.org/credentials/programs/professional-certificate/certificate.html:7
msgid ""
"successfully completed all courses and received passing grades for a "
"Professional Certificate in"
msgstr ""

#: templates/edx.org/credentials/programs/professional-certificate/certificate.html:11
msgid "Professional Certificate"
msgstr ""

#: templates/edx.org/credentials/programs/professional-certificate/certificate.html:15
msgid "About the edX Professional Certificate"
msgstr ""

#: templates/edx.org/credentials/programs/professional-certificate/certificate.html:19
#, python-brace-format
msgid ""
"An edX Professional Certificate signifies that the learner has completed a "
"group of courses that add up to a rich understanding of an area of study. "
"Completion of Professional Certificate Programs requires that learners earn "
"{link_start}Verified Certificates{link_end} from each of the courses "
"included in the Program."
msgstr ""

#. Translators: XSeries should not be translated
#: templates/edx.org/credentials/programs/xseries/certificate.html:8
#, python-format
msgid ""
"You worked hard to earn your XSeries Program certificate from "
"%(organization_name)s."
msgstr ""

#. Translators: XSeries should not be translated, this phrase is preceded by
#. the learner's name and followed by a program title
#: templates/edx.org/credentials/programs/xseries/certificate.html:16
msgid ""
"has successfully completed all courses and received passing grades for an "
"XSeries Program certificate in"
msgstr ""

#. Translators: XSeries should not be translated
#: templates/edx.org/credentials/programs/xseries/certificate.html:21
msgid "XSeries Program certificate"
msgstr ""

#. Translators: XSeries should not be translated
#: templates/edx.org/credentials/programs/xseries/certificate.html:26
msgid "About the edX XSeries Program certificate"
msgstr ""

#. Translators: XSeries should not be translated
#: templates/edx.org/credentials/programs/xseries/certificate.html:31
#, python-brace-format
msgid ""
"An edX XSeries Program certificate signifies that the learner has completed "
"a group of courses that add up to a rich understanding of an area of study. "
"Completion of XSeries Programs requires that learners earn "
"{link_start}Verified Certificates{link_end} from each of the courses "
"included in the Program."
msgstr ""

#: templates/mitpe/_footer.html:12
msgid "Terms of Service"
msgstr ""

#: templates/mitpe/_footer.html:17
msgid "Privacy Policy"
msgstr ""

#: templates/mitpe/_footer.html:28
msgid "All rights reserved except where noted."
msgstr ""

#: templates/mitpe/_footer.html:36
msgid "Powered by Open edX"
msgstr ""

#: templates/mitpe/credentials/programs/base.html:30
msgid "This is to certify that"
msgstr ""

#: templates/mitpe/credentials/programs/base.html:34
msgid "has successfully completed the"
msgstr ""

#: templates/mitpe/credentials/programs/base.html:40
msgid "held during"
msgstr ""

#: templates/mitpe/credentials/programs/base.html:52
msgid "Noted by"
msgstr ""

#: templates/mitpe/credentials/programs/base.html:81
#, python-format
msgid ""
"For tips and tricks on printing your certificate, view the %(link_start)sWeb"
" Certificates help documentation%(link_end)s."
msgstr ""
4 changes: 4 additions & 0 deletions openedx.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# This file describes this Open edX repo, as described in OEP-2:
# https://github.com/edx/open-edx-proposals/blob/master/oeps/oep-0002.rst

owner: edx/learner
1 change: 1 addition & 0 deletions requirements/i18n.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
edx-i18n-tools==0.4.0
transifex-client==0.12.4

0 comments on commit 6eb6ce4

Please sign in to comment.