diff --git a/Makefile b/Makefile index 3d724f249..532e20952 100755 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ transifex_resource = frontend-component-footer -transifex_langs = "ar,fr,es_419,zh_CN" +transifex_langs = "ar,fr,es_419,zh_CN,pt,it,de,uk,ru,hi,fr_CA" transifex_utils = ./node_modules/.bin/transifex-utils.js i18n = ./src/i18n diff --git a/src/i18n/index.js b/src/i18n/index.js index 8a014289b..0336b3a28 100644 --- a/src/i18n/index.js +++ b/src/i18n/index.js @@ -1,31 +1,27 @@ import arMessages from './messages/ar.json'; -import caMessages from './messages/ca.json'; -// no need to import en messages-- they are in the defaultMessage field -import es419Messages from './messages/es_419.json'; import frMessages from './messages/fr.json'; +import es419Messages from './messages/es_419.json'; import zhcnMessages from './messages/zh_CN.json'; -import heMessages from './messages/he.json'; -import idMessages from './messages/id.json'; -import kokrMessages from './messages/ko_kr.json'; -import plMessages from './messages/pl.json'; -import ptbrMessages from './messages/pt_br.json'; -import ruMessages from './messages/ru.json'; -import thMessages from './messages/th.json'; +import ptMessages from './messages/pt.json'; +import itMessages from './messages/it.json'; import ukMessages from './messages/uk.json'; +import deMessages from './messages/de.json'; +import ruMessages from './messages/ru.json'; +import hiMessages from './messages/hi.json'; +import frCAMessages from './messages/fr_CA.json'; +// no need to import en messages-- they are in the defaultMessage field const messages = { ar: arMessages, 'es-419': es419Messages, fr: frMessages, 'zh-cn': zhcnMessages, - ca: caMessages, - he: heMessages, - id: idMessages, - 'ko-kr': kokrMessages, - pl: plMessages, - 'pt-br': ptbrMessages, + pt: ptMessages, + it: itMessages, + de: deMessages, + hi: hiMessages, + 'fr-ca': frCAMessages, ru: ruMessages, - th: thMessages, uk: ukMessages, }; diff --git a/src/i18n/messages/ar.json b/src/i18n/messages/ar.json index 513d762f3..9e26dfeeb 100644 --- a/src/i18n/messages/ar.json +++ b/src/i18n/messages/ar.json @@ -1,32 +1 @@ -{ - "footer.socialLinks.srText.facebook": "Like edX on Facebook", - "footer.socialLinks.srText.twitter": "Follow edX on Twitter", - "footer.socialLinks.srText.youtube": "Subscribe to the edX YouTube channel", - "footer.socialLinks.srText.linkedin": "Follow edX on LinkedIn", - "footer.socialLinks.srText.reddit": "Subscribe to the edX subreddit", - "footer.languageForm.select.label": "Choose Language", - "footer.languageForm.submit.label": "Apply", - "footer.edxLinks.about": "About", - "footer.edxLinks.business": "edX for Business", - "footer.edxLinks.affiliates": "Affiliates", - "footer.edxLinks.openEdx": "Open edX", - "footer.edxLinks.careers": "Careers", - "footer.edxLinks.news": "News", - "footer.legalLinks.heading": "Legal", - "footer.legalLinks.termsOfService": "Terms of Service & Honor Code", - "footer.legalLinks.privacyPolicy": "Privacy Policy", - "footer.legalLinks.a11yPolicy": "Accessibility Policy", - "footer.legalLinks.trademarkPolicy": "Trademark Policy", - "footer.legalLinks.sitemap": "Sitemap", - "footer.connectLinks.heading": "Connect", - "footer.connectLinks.blog": "Blog", - "footer.connectLinks.contact": "Contact Us", - "footer.connectLinks.help": "Help Center", - "footer.connectLinks.mediaKit": "Media Kit", - "footer.connectLinks.donate": "Donate", - "footer.mobileApp.apple": "Download the edX mobile app from the Apple App Store", - "footer.mobileApp.google": "Download the edX mobile app from Google Play", - "footer.logo.altText": "Powered by Open edX", - "footer.logo.ariaLabel": "edX Home", - "footer.ariaLabel": "Page Footer" -} \ No newline at end of file +{} \ No newline at end of file diff --git a/src/i18n/messages/ca.json b/src/i18n/messages/de.json similarity index 100% rename from src/i18n/messages/ca.json rename to src/i18n/messages/de.json diff --git a/src/i18n/messages/es_419.json b/src/i18n/messages/es_419.json index 513d762f3..9e26dfeeb 100644 --- a/src/i18n/messages/es_419.json +++ b/src/i18n/messages/es_419.json @@ -1,32 +1 @@ -{ - "footer.socialLinks.srText.facebook": "Like edX on Facebook", - "footer.socialLinks.srText.twitter": "Follow edX on Twitter", - "footer.socialLinks.srText.youtube": "Subscribe to the edX YouTube channel", - "footer.socialLinks.srText.linkedin": "Follow edX on LinkedIn", - "footer.socialLinks.srText.reddit": "Subscribe to the edX subreddit", - "footer.languageForm.select.label": "Choose Language", - "footer.languageForm.submit.label": "Apply", - "footer.edxLinks.about": "About", - "footer.edxLinks.business": "edX for Business", - "footer.edxLinks.affiliates": "Affiliates", - "footer.edxLinks.openEdx": "Open edX", - "footer.edxLinks.careers": "Careers", - "footer.edxLinks.news": "News", - "footer.legalLinks.heading": "Legal", - "footer.legalLinks.termsOfService": "Terms of Service & Honor Code", - "footer.legalLinks.privacyPolicy": "Privacy Policy", - "footer.legalLinks.a11yPolicy": "Accessibility Policy", - "footer.legalLinks.trademarkPolicy": "Trademark Policy", - "footer.legalLinks.sitemap": "Sitemap", - "footer.connectLinks.heading": "Connect", - "footer.connectLinks.blog": "Blog", - "footer.connectLinks.contact": "Contact Us", - "footer.connectLinks.help": "Help Center", - "footer.connectLinks.mediaKit": "Media Kit", - "footer.connectLinks.donate": "Donate", - "footer.mobileApp.apple": "Download the edX mobile app from the Apple App Store", - "footer.mobileApp.google": "Download the edX mobile app from Google Play", - "footer.logo.altText": "Powered by Open edX", - "footer.logo.ariaLabel": "edX Home", - "footer.ariaLabel": "Page Footer" -} \ No newline at end of file +{} \ No newline at end of file diff --git a/src/i18n/messages/fr.json b/src/i18n/messages/fr.json index 513d762f3..9e26dfeeb 100644 --- a/src/i18n/messages/fr.json +++ b/src/i18n/messages/fr.json @@ -1,32 +1 @@ -{ - "footer.socialLinks.srText.facebook": "Like edX on Facebook", - "footer.socialLinks.srText.twitter": "Follow edX on Twitter", - "footer.socialLinks.srText.youtube": "Subscribe to the edX YouTube channel", - "footer.socialLinks.srText.linkedin": "Follow edX on LinkedIn", - "footer.socialLinks.srText.reddit": "Subscribe to the edX subreddit", - "footer.languageForm.select.label": "Choose Language", - "footer.languageForm.submit.label": "Apply", - "footer.edxLinks.about": "About", - "footer.edxLinks.business": "edX for Business", - "footer.edxLinks.affiliates": "Affiliates", - "footer.edxLinks.openEdx": "Open edX", - "footer.edxLinks.careers": "Careers", - "footer.edxLinks.news": "News", - "footer.legalLinks.heading": "Legal", - "footer.legalLinks.termsOfService": "Terms of Service & Honor Code", - "footer.legalLinks.privacyPolicy": "Privacy Policy", - "footer.legalLinks.a11yPolicy": "Accessibility Policy", - "footer.legalLinks.trademarkPolicy": "Trademark Policy", - "footer.legalLinks.sitemap": "Sitemap", - "footer.connectLinks.heading": "Connect", - "footer.connectLinks.blog": "Blog", - "footer.connectLinks.contact": "Contact Us", - "footer.connectLinks.help": "Help Center", - "footer.connectLinks.mediaKit": "Media Kit", - "footer.connectLinks.donate": "Donate", - "footer.mobileApp.apple": "Download the edX mobile app from the Apple App Store", - "footer.mobileApp.google": "Download the edX mobile app from Google Play", - "footer.logo.altText": "Powered by Open edX", - "footer.logo.ariaLabel": "edX Home", - "footer.ariaLabel": "Page Footer" -} \ No newline at end of file +{} \ No newline at end of file diff --git a/src/i18n/messages/he.json b/src/i18n/messages/fr_CA.json similarity index 100% rename from src/i18n/messages/he.json rename to src/i18n/messages/fr_CA.json diff --git a/src/i18n/messages/id.json b/src/i18n/messages/hi.json similarity index 100% rename from src/i18n/messages/id.json rename to src/i18n/messages/hi.json diff --git a/src/i18n/messages/ko_kr.json b/src/i18n/messages/it.json similarity index 100% rename from src/i18n/messages/ko_kr.json rename to src/i18n/messages/it.json diff --git a/src/i18n/messages/pl.json b/src/i18n/messages/pt.json similarity index 100% rename from src/i18n/messages/pl.json rename to src/i18n/messages/pt.json diff --git a/src/i18n/messages/pt_br.json b/src/i18n/messages/pt_br.json deleted file mode 100644 index 9e26dfeeb..000000000 --- a/src/i18n/messages/pt_br.json +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/src/i18n/messages/th.json b/src/i18n/messages/th.json deleted file mode 100644 index 9e26dfeeb..000000000 --- a/src/i18n/messages/th.json +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/src/i18n/messages/zh_CN.json b/src/i18n/messages/zh_CN.json index 513d762f3..9e26dfeeb 100644 --- a/src/i18n/messages/zh_CN.json +++ b/src/i18n/messages/zh_CN.json @@ -1,32 +1 @@ -{ - "footer.socialLinks.srText.facebook": "Like edX on Facebook", - "footer.socialLinks.srText.twitter": "Follow edX on Twitter", - "footer.socialLinks.srText.youtube": "Subscribe to the edX YouTube channel", - "footer.socialLinks.srText.linkedin": "Follow edX on LinkedIn", - "footer.socialLinks.srText.reddit": "Subscribe to the edX subreddit", - "footer.languageForm.select.label": "Choose Language", - "footer.languageForm.submit.label": "Apply", - "footer.edxLinks.about": "About", - "footer.edxLinks.business": "edX for Business", - "footer.edxLinks.affiliates": "Affiliates", - "footer.edxLinks.openEdx": "Open edX", - "footer.edxLinks.careers": "Careers", - "footer.edxLinks.news": "News", - "footer.legalLinks.heading": "Legal", - "footer.legalLinks.termsOfService": "Terms of Service & Honor Code", - "footer.legalLinks.privacyPolicy": "Privacy Policy", - "footer.legalLinks.a11yPolicy": "Accessibility Policy", - "footer.legalLinks.trademarkPolicy": "Trademark Policy", - "footer.legalLinks.sitemap": "Sitemap", - "footer.connectLinks.heading": "Connect", - "footer.connectLinks.blog": "Blog", - "footer.connectLinks.contact": "Contact Us", - "footer.connectLinks.help": "Help Center", - "footer.connectLinks.mediaKit": "Media Kit", - "footer.connectLinks.donate": "Donate", - "footer.mobileApp.apple": "Download the edX mobile app from the Apple App Store", - "footer.mobileApp.google": "Download the edX mobile app from Google Play", - "footer.logo.altText": "Powered by Open edX", - "footer.logo.ariaLabel": "edX Home", - "footer.ariaLabel": "Page Footer" -} \ No newline at end of file +{} \ No newline at end of file