Skip to content

Commit

Permalink
Temporarily prevent es6 template strings due to translation bug
Browse files Browse the repository at this point in the history
  • Loading branch information
spencerhance committed Aug 2, 2018
1 parent d8c92b7 commit 70ce681
Show file tree
Hide file tree
Showing 20 changed files with 182 additions and 38 deletions.
9 changes: 9 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@
],
"class-methods-use-this": [
"off"
],
// Remove once xgettext supports backticks
"prefer-template": [
"off"
],
// Remove once xgettext supports backticks
"no-restricted-syntax": [
"error",
"TemplateLiteral"
]
},
"env": {
Expand Down
Binary file modified credentials/conf/locale/en/LC_MESSAGES/django.mo
Binary file not shown.
4 changes: 2 additions & 2 deletions credentials/conf/locale/en/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: 0.1a\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2018-07-30 17:27+0000\n"
"PO-Revision-Date: 2018-07-30 17:27:21.918989\n"
"POT-Creation-Date: 2018-08-01 19:42+0000\n"
"PO-Revision-Date: 2018-08-01 19:42:11.724301\n"
"Last-Translator: \n"
"Language-Team: openedx-translation <[email protected]>\n"
"Language: en\n"
Expand Down
Binary file modified credentials/conf/locale/en/LC_MESSAGES/djangojs.mo
Binary file not shown.
53 changes: 46 additions & 7 deletions credentials/conf/locale/en/LC_MESSAGES/djangojs.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: 0.1a\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2018-07-30 17:27+0000\n"
"PO-Revision-Date: 2018-07-30 17:27:21.926504\n"
"POT-Creation-Date: 2018-08-01 19:42+0000\n"
"PO-Revision-Date: 2018-08-01 19:42:11.737514\n"
"Last-Translator: \n"
"Language-Team: openedx-translation <[email protected]>\n"
"Language: en\n"
Expand All @@ -18,29 +18,65 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: static/components/ProgramRecord.jsx
msgid "Not Earned"
msgid "Earned"
msgstr ""

#: static/components/ProgramRecord.jsx
msgid "Send Learner Record"
msgstr ""

#: static/components/ProgramRecord.jsx
msgid "Share"
msgstr ""

#: static/components/ProgramRecord.jsx
msgid "Download Record"
msgstr ""

#: static/components/ProgramRecord.jsx
msgid "We are sending your program record."
msgstr ""

#: static/components/ProgramRecord.jsx
msgid "We were unable to send your program record."
msgstr ""

#: static/components/ProgramRecord.jsx
msgid ""
"We were unable to send your record to {orgs}. You can attempt to send this "
"record again. Contact support if this issue persists."
msgstr ""

#: static/components/ProgramRecord.jsx
msgid "You have successfully shared your Learner Record"
msgstr ""

#: static/components/ProgramRecord.jsx
msgid ""
"You have sent your record to {orgs}. Next, ensure you understand their "
"application process."
msgstr ""

#: static/components/ProgramRecord.jsx
msgid "{name} Record"
msgstr ""

#: static/components/ProgramRecord.jsx
msgid "{type} Program Record"
msgstr ""

#: static/components/ProgramRecord.jsx static/components/RecordsList.jsx
msgid "Completed"
msgstr ""

#: static/components/ProgramRecord.jsx static/components/RecordsList.jsx
msgid "Partially Completed"
msgstr ""

#: static/components/ProgramRecord.jsx
msgid "Last Updated {date}"
msgstr ""

#: static/components/ProgramRecord.jsx
msgid "Course Name"
msgstr ""
Expand Down Expand Up @@ -117,10 +153,6 @@ msgstr ""
msgid "Back to My Profile"
msgstr ""

#: static/components/RecordsList.jsx
msgid "Completed"
msgstr ""

#: static/components/RecordsList.jsx
msgid "View Program Record"
msgstr ""
Expand Down Expand Up @@ -178,6 +210,13 @@ msgstr ""
msgid "Send"
msgstr ""

#: static/components/ShareProgramRecordModal.jsx
msgid ""
"Instead of sharing a link, you can also {start_anchor}directly send your "
"program record to {platform} partners{end_anchor} for credit or application "
"purposes."
msgstr ""

#: static/components/ShareProgramRecordModal.jsx
msgid "Share Link to Record"
msgstr ""
Expand Down
Binary file modified credentials/conf/locale/eo/LC_MESSAGES/django.mo
Binary file not shown.
4 changes: 2 additions & 2 deletions credentials/conf/locale/eo/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: 0.1a\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2018-07-30 17:27+0000\n"
"PO-Revision-Date: 2018-07-30 17:27:21.918989\n"
"POT-Creation-Date: 2018-08-01 19:42+0000\n"
"PO-Revision-Date: 2018-08-01 19:42:11.724301\n"
"Last-Translator: \n"
"Language-Team: openedx-translation <[email protected]>\n"
"Language: eo\n"
Expand Down
Binary file modified credentials/conf/locale/eo/LC_MESSAGES/djangojs.mo
Binary file not shown.
63 changes: 55 additions & 8 deletions credentials/conf/locale/eo/LC_MESSAGES/djangojs.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: 0.1a\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2018-07-30 17:27+0000\n"
"PO-Revision-Date: 2018-07-30 17:27:21.926504\n"
"POT-Creation-Date: 2018-08-01 19:42+0000\n"
"PO-Revision-Date: 2018-08-01 19:42:11.737514\n"
"Last-Translator: \n"
"Language-Team: openedx-translation <[email protected]>\n"
"Language: eo\n"
Expand All @@ -18,13 +18,32 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: static/components/ProgramRecord.jsx
msgid "Not Earned"
msgstr "Nöt Éärnéd Ⱡ'σяєм ιρѕυм ∂σłσ#"
msgid "Earned"
msgstr "Éärnéd Ⱡ'σяєм ιρѕυ#"

#: static/components/ProgramRecord.jsx
msgid "Send Learner Record"
msgstr "Sénd Léärnér Réçörd Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт,#"

#: static/components/ProgramRecord.jsx
msgid "Share"
msgstr "Shäré Ⱡ'σяєм ιρѕ#"

#: static/components/ProgramRecord.jsx
msgid "Download Record"
msgstr "Döwnlöäd Réçörd Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт α#"

#: static/components/ProgramRecord.jsx
msgid "We are sending your program record."
msgstr ""
"Wé äré séndïng ýöür prögräm réçörd. Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, ¢σηѕє¢тєт#"

#: static/components/ProgramRecord.jsx
msgid "We were unable to send your program record."
msgstr ""
"Wé wéré ünäßlé tö sénd ýöür prögräm réçörd. Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, "
"¢σηѕє¢тєтυя #"

#: static/components/ProgramRecord.jsx
msgid ""
"We were unable to send your record to {orgs}. You can attempt to send this "
Expand All @@ -33,6 +52,12 @@ msgstr ""
"Wé wéré ünäßlé tö sénd ýöür réçörd tö {orgs}. Ýöü çän ättémpt tö sénd thïs "
"réçörd ägäïn. Çöntäçt süppört ïf thïs ïssüé pérsïsts. Ⱡ'σяє#"

#: static/components/ProgramRecord.jsx
msgid "You have successfully shared your Learner Record"
msgstr ""
"Ýöü hävé süççéssfüllý shäréd ýöür Léärnér Réçörd Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт "
"αмєт, ¢σηѕє¢тєтυя α#"

#: static/components/ProgramRecord.jsx
msgid ""
"You have sent your record to {orgs}. Next, ensure you understand their "
Expand All @@ -41,10 +66,26 @@ msgstr ""
"Ýöü hävé sént ýöür réçörd tö {orgs}. Néxt, énsüré ýöü ündérständ théïr "
"äpplïçätïön pröçéss. Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, ¢σηѕ#"

#: static/components/ProgramRecord.jsx
msgid "{name} Record"
msgstr "{name} Réçörd Ⱡ'σяєм ιρѕυм ∂σłσ#"

#: static/components/ProgramRecord.jsx
msgid "{type} Program Record"
msgstr "{type} Prögräm Réçörd Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт#"

#: static/components/ProgramRecord.jsx static/components/RecordsList.jsx
msgid "Completed"
msgstr "Çömplétéd Ⱡ'σяєм ιρѕυм ∂σł#"

#: static/components/ProgramRecord.jsx static/components/RecordsList.jsx
msgid "Partially Completed"
msgstr "Pärtïällý Çömplétéd Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт,#"

#: static/components/ProgramRecord.jsx
msgid "Last Updated {date}"
msgstr "Läst Ûpdätéd {date} Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αм#"

#: static/components/ProgramRecord.jsx
msgid "Course Name"
msgstr "Çöürsé Nämé Ⱡ'σяєм ιρѕυм ∂σłσя #"
Expand Down Expand Up @@ -126,10 +167,6 @@ msgstr ""
msgid "Back to My Profile"
msgstr "Bäçk tö Mý Pröfïlé Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт#"

#: static/components/RecordsList.jsx
msgid "Completed"
msgstr "Çömplétéd Ⱡ'σяєм ιρѕυм ∂σł#"

#: static/components/RecordsList.jsx
msgid "View Program Record"
msgstr "Vïéw Prögräm Réçörd Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт,#"
Expand Down Expand Up @@ -203,6 +240,16 @@ msgstr ""
msgid "Send"
msgstr "Sénd Ⱡ'σяєм ι#"

#: static/components/ShareProgramRecordModal.jsx
msgid ""
"Instead of sharing a link, you can also {start_anchor}directly send your "
"program record to {platform} partners{end_anchor} for credit or application "
"purposes."
msgstr ""
"Ìnstéäd öf shärïng ä lïnk, ýöü çän älsö {start_anchor}dïréçtlý sénd ýöür "
"prögräm réçörd tö {platform} pärtnérs{end_anchor} för çrédït ör äpplïçätïön "
"pürpösés. Ⱡ#"

#: static/components/ShareProgramRecordModal.jsx
msgid "Share Link to Record"
msgstr "Shäré Lïnk tö Réçörd Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, #"
Expand Down
Binary file modified credentials/conf/locale/rtl/LC_MESSAGES/django.mo
Binary file not shown.
4 changes: 2 additions & 2 deletions credentials/conf/locale/rtl/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: 0.1a\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2018-07-30 17:27+0000\n"
"PO-Revision-Date: 2018-07-30 17:27:21.918989\n"
"POT-Creation-Date: 2018-08-01 19:42+0000\n"
"PO-Revision-Date: 2018-08-01 19:42:11.724301\n"
"Last-Translator: \n"
"Language-Team: openedx-translation <[email protected]>\n"
"Language: rtl\n"
Expand Down
Binary file modified credentials/conf/locale/rtl/LC_MESSAGES/djangojs.mo
Binary file not shown.
58 changes: 50 additions & 8 deletions credentials/conf/locale/rtl/LC_MESSAGES/djangojs.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: 0.1a\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2018-07-30 17:27+0000\n"
"PO-Revision-Date: 2018-07-30 17:27:21.926504\n"
"POT-Creation-Date: 2018-08-01 19:42+0000\n"
"PO-Revision-Date: 2018-08-01 19:42:11.737514\n"
"Last-Translator: \n"
"Language-Team: openedx-translation <[email protected]>\n"
"Language: rtl\n"
Expand All @@ -18,13 +18,29 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: static/components/ProgramRecord.jsx
msgid "Not Earned"
msgstr "Nøʇ Ɇɐɹnǝd"
msgid "Earned"
msgstr "Ɇɐɹnǝd"

#: static/components/ProgramRecord.jsx
msgid "Send Learner Record"
msgstr "Sǝnd Łǝɐɹnǝɹ Ɍǝɔøɹd"

#: static/components/ProgramRecord.jsx
msgid "Share"
msgstr "Sɥɐɹǝ"

#: static/components/ProgramRecord.jsx
msgid "Download Record"
msgstr "Đøʍnløɐd Ɍǝɔøɹd"

#: static/components/ProgramRecord.jsx
msgid "We are sending your program record."
msgstr "Wǝ ɐɹǝ sǝndᴉnƃ ʎønɹ dɹøƃɹɐɯ ɹǝɔøɹd."

#: static/components/ProgramRecord.jsx
msgid "We were unable to send your program record."
msgstr "Wǝ ʍǝɹǝ nnɐblǝ ʇø sǝnd ʎønɹ dɹøƃɹɐɯ ɹǝɔøɹd."

#: static/components/ProgramRecord.jsx
msgid ""
"We were unable to send your record to {orgs}. You can attempt to send this "
Expand All @@ -33,6 +49,10 @@ msgstr ""
"Wǝ ʍǝɹǝ nnɐblǝ ʇø sǝnd ʎønɹ ɹǝɔøɹd ʇø {orgs}. Ɏøn ɔɐn ɐʇʇǝɯdʇ ʇø sǝnd ʇɥᴉs "
"ɹǝɔøɹd ɐƃɐᴉn. Ȼønʇɐɔʇ snddøɹʇ ᴉɟ ʇɥᴉs ᴉssnǝ dǝɹsᴉsʇs."

#: static/components/ProgramRecord.jsx
msgid "You have successfully shared your Learner Record"
msgstr "Ɏøn ɥɐʌǝ snɔɔǝssɟnllʎ sɥɐɹǝd ʎønɹ Łǝɐɹnǝɹ Ɍǝɔøɹd"

#: static/components/ProgramRecord.jsx
msgid ""
"You have sent your record to {orgs}. Next, ensure you understand their "
Expand All @@ -41,10 +61,26 @@ msgstr ""
"Ɏøn ɥɐʌǝ sǝnʇ ʎønɹ ɹǝɔøɹd ʇø {orgs}. Nǝxʇ, ǝnsnɹǝ ʎøn nndǝɹsʇɐnd ʇɥǝᴉɹ "
"ɐddlᴉɔɐʇᴉøn dɹøɔǝss."

#: static/components/ProgramRecord.jsx
msgid "{name} Record"
msgstr "{name} Ɍǝɔøɹd"

#: static/components/ProgramRecord.jsx
msgid "{type} Program Record"
msgstr "{type} Ᵽɹøƃɹɐɯ Ɍǝɔøɹd"

#: static/components/ProgramRecord.jsx static/components/RecordsList.jsx
msgid "Completed"
msgstr "Ȼøɯdlǝʇǝd"

#: static/components/ProgramRecord.jsx static/components/RecordsList.jsx
msgid "Partially Completed"
msgstr "Ᵽɐɹʇᴉɐllʎ Ȼøɯdlǝʇǝd"

#: static/components/ProgramRecord.jsx
msgid "Last Updated {date}"
msgstr "Łɐsʇ Ʉddɐʇǝd {date}"

#: static/components/ProgramRecord.jsx
msgid "Course Name"
msgstr "Ȼønɹsǝ Nɐɯǝ"
Expand Down Expand Up @@ -125,10 +161,6 @@ msgstr ""
msgid "Back to My Profile"
msgstr "Ƀɐɔʞ ʇø Mʎ Ᵽɹøɟᴉlǝ"

#: static/components/RecordsList.jsx
msgid "Completed"
msgstr "Ȼøɯdlǝʇǝd"

#: static/components/RecordsList.jsx
msgid "View Program Record"
msgstr "Vᴉǝʍ Ᵽɹøƃɹɐɯ Ɍǝɔøɹd"
Expand Down Expand Up @@ -193,6 +225,16 @@ msgstr "Sǝlǝɔʇ øɹƃɐnᴉzɐʇᴉøn(s) ʎøn ʍᴉsɥ ʇø sǝnd ʇɥᴉs
msgid "Send"
msgstr "Sǝnd"

#: static/components/ShareProgramRecordModal.jsx
msgid ""
"Instead of sharing a link, you can also {start_anchor}directly send your "
"program record to {platform} partners{end_anchor} for credit or application "
"purposes."
msgstr ""
"Ɨnsʇǝɐd øɟ sɥɐɹᴉnƃ ɐ lᴉnʞ, ʎøn ɔɐn ɐlsø {start_anchor}dᴉɹǝɔʇlʎ sǝnd ʎønɹ "
"dɹøƃɹɐɯ ɹǝɔøɹd ʇø {platform} dɐɹʇnǝɹs{end_anchor} ɟøɹ ɔɹǝdᴉʇ øɹ ɐddlᴉɔɐʇᴉøn "
"dnɹdøsǝs."

#: static/components/ShareProgramRecordModal.jsx
msgid "Share Link to Record"
msgstr "Sɥɐɹǝ Łᴉnʞ ʇø Ɍǝɔøɹd"
Expand Down
Loading

0 comments on commit 70ce681

Please sign in to comment.