From d9289b0039c7cc016e376c7dac2cf9dfd4a2b234 Mon Sep 17 00:00:00 2001 From: artiume Date: Mon, 28 Dec 2020 00:49:18 -0500 Subject: [PATCH 01/12] Add Tamil to Web --- src/components/displaySettings/displaySettings.template.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/displaySettings/displaySettings.template.html b/src/components/displaySettings/displaySettings.template.html index ab298f7802..780b8f6084 100644 --- a/src/components/displaySettings/displaySettings.template.html +++ b/src/components/displaySettings/displaySettings.template.html @@ -48,6 +48,7 @@ + @@ -105,6 +106,7 @@ + From d522a0f40ce9609994bd01c2611288da31f9b60a Mon Sep 17 00:00:00 2001 From: artiume Date: Mon, 28 Dec 2020 01:21:09 -0500 Subject: [PATCH 02/12] Arrrr --- .../displaySettings.template.html | 34 ++++++++++++++++--- 1 file changed, 30 insertions(+), 4 deletions(-) diff --git a/src/components/displaySettings/displaySettings.template.html b/src/components/displaySettings/displaySettings.template.html index 780b8f6084..6548228c2d 100644 --- a/src/components/displaySettings/displaySettings.template.html +++ b/src/components/displaySettings/displaySettings.template.html @@ -6,8 +6,11 @@
@@ -64,9 +77,12 @@
From 171387ee3175cacc837d3cc14419829c7b9a82ad Mon Sep 17 00:00:00 2001 From: artiume Date: Mon, 28 Dec 2020 01:21:46 -0500 Subject: [PATCH 03/12] Update displaySettings.template.html --- src/components/displaySettings/displaySettings.template.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/displaySettings/displaySettings.template.html b/src/components/displaySettings/displaySettings.template.html index 6548228c2d..510499d04c 100644 --- a/src/components/displaySettings/displaySettings.template.html +++ b/src/components/displaySettings/displaySettings.template.html @@ -9,9 +9,9 @@ - + - + From 14cd5431887175c2d42c1a9dbcf805ea9c16c9d8 Mon Sep 17 00:00:00 2001 From: artiume Date: Mon, 28 Dec 2020 01:30:47 -0500 Subject: [PATCH 04/12] Match Weblate --- .../displaySettings.template.html | 25 +++++++++++-------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/src/components/displaySettings/displaySettings.template.html b/src/components/displaySettings/displaySettings.template.html index 510499d04c..ee95b067e2 100644 --- a/src/components/displaySettings/displaySettings.template.html +++ b/src/components/displaySettings/displaySettings.template.html @@ -10,18 +10,18 @@ - + - - - + + + + - @@ -29,6 +29,7 @@ + @@ -46,6 +47,7 @@ + @@ -81,18 +83,18 @@ - + - - - + + + + - @@ -100,6 +102,7 @@ + @@ -117,6 +120,7 @@ + @@ -129,7 +133,6 @@ - From f46326f592bad0527797d9c835d857093719f9a0 Mon Sep 17 00:00:00 2001 From: artiume Date: Mon, 28 Dec 2020 01:32:40 -0500 Subject: [PATCH 05/12] remove duplicate --- src/components/displaySettings/displaySettings.template.html | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/displaySettings/displaySettings.template.html b/src/components/displaySettings/displaySettings.template.html index ee95b067e2..44a1b2fcb4 100644 --- a/src/components/displaySettings/displaySettings.template.html +++ b/src/components/displaySettings/displaySettings.template.html @@ -60,7 +60,6 @@ - From f38db5076401229db6fc949cee7c99783531803b Mon Sep 17 00:00:00 2001 From: artiume Date: Tue, 29 Dec 2020 02:09:05 -0500 Subject: [PATCH 06/12] fix order --- src/components/displaySettings/displaySettings.template.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/displaySettings/displaySettings.template.html b/src/components/displaySettings/displaySettings.template.html index 44a1b2fcb4..f79155b7fd 100644 --- a/src/components/displaySettings/displaySettings.template.html +++ b/src/components/displaySettings/displaySettings.template.html @@ -63,8 +63,8 @@ - +
@@ -135,8 +135,8 @@ - +
From a7b07558b329a9f497f4b519c533a62939220e5b Mon Sep 17 00:00:00 2001 From: artiume Date: Tue, 29 Dec 2020 02:30:22 -0500 Subject: [PATCH 07/12] oh wait, i contributed --- CONTRIBUTORS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 72a13043e9..5b2a783de1 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -34,6 +34,7 @@ - [Ryan Hartzell](https://github.com/ryan-hartzell) - [Thibault Nocchi](https://github.com/ThibaultNocchi) - [MrTimscampi](https://github.com/MrTimscampi) + - [artiume](https://github.com/Artiume) - [ConfusedPolarBear](https://github.com/ConfusedPolarBear) - [Sarab Singh](https://github.com/sarab97) - [DesertCookie](https://github.com/desertcookie) From e884a0c03d3cc69560735f0c6bc1590c1e7ce076 Mon Sep 17 00:00:00 2001 From: artiume Date: Tue, 29 Dec 2020 11:28:11 -0500 Subject: [PATCH 08/12] Update dfnshelper.js --- src/scripts/dfnshelper.js | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/scripts/dfnshelper.js b/src/scripts/dfnshelper.js index de9bec236e..f19475646a 100644 --- a/src/scripts/dfnshelper.js +++ b/src/scripts/dfnshelper.js @@ -1,11 +1,13 @@ -import { arDZ, be, bg, ca, cs, da, de, el, enGB, enUS, es, faIR, fi, fr, frCA, he, hi, hr, hu, id, it, ja, kk, ko, lt, ms, nb, - nl, pl, ptBR, pt, ro, ru, sk, sl, sv, tr, uk, vi, zhCN, zhTW } from 'date-fns/locale'; +import { af, arDZ, be, bg, bn, ca, cs, da, de, el, enGB, enUS, eo, es, faIR, fi, fil, fr, frCA, he, hi, hr, hu, gl, id, is, it, ja, kk, ko, lt, mr, ms, nb, + nl, pl, ptBR, pt, ro, ru, sk, sl, sv, ta, th, tr, uk, vi, zhCN, zhTW } from 'date-fns/locale'; import globalize from './globalize'; const dateLocales = (locale) => ({ + 'af': af, 'ar': arDZ, 'be-by': be, 'bg-bg': bg, + 'bn': bn, 'ca': ca, 'cs': cs, 'da': da, @@ -13,35 +15,45 @@ const dateLocales = (locale) => ({ 'el': el, 'en-gb': enGB, 'en-us': enUS, + 'eo': eo, 'es': es, 'es-ar': es, + 'es-do': es, 'es-mx': es, 'fa': faIR, 'fi': fi, + 'fil': fil, 'fr': fr, 'fr-ca': frCA, + 'gl': gl, 'gsw': de, 'he': he, 'hi-in': hi, 'hr': hr, 'hu': hu, 'id': id, + 'is': is, 'it': it, 'ja': ja, 'kk': kk, 'ko': ko, 'lt-lt': lt, + 'mr': mr, 'ms': ms, 'nb': nb, 'nl': nl, 'pl': pl, + 'pt': pt, 'pt-br': ptBR, 'pt-pt': pt, 'ro': ro, 'ru': ru, 'sk': sk, 'sl-si': sl, + 'sq': sq, 'sv': sv, + 'ta': ta, + 'th': th, 'tr': tr, 'uk': uk, 'vi': vi, From 3a3bccf3141248b3bb4137815f6269a62d5190b1 Mon Sep 17 00:00:00 2001 From: artiume Date: Tue, 29 Dec 2020 11:29:02 -0500 Subject: [PATCH 09/12] Update dfnshelper.js --- src/scripts/dfnshelper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/dfnshelper.js b/src/scripts/dfnshelper.js index f19475646a..1d602b5238 100644 --- a/src/scripts/dfnshelper.js +++ b/src/scripts/dfnshelper.js @@ -1,5 +1,5 @@ import { af, arDZ, be, bg, bn, ca, cs, da, de, el, enGB, enUS, eo, es, faIR, fi, fil, fr, frCA, he, hi, hr, hu, gl, id, is, it, ja, kk, ko, lt, mr, ms, nb, - nl, pl, ptBR, pt, ro, ru, sk, sl, sv, ta, th, tr, uk, vi, zhCN, zhTW } from 'date-fns/locale'; + nl, pl, ptBR, pt, ro, ru, sk, sl, sq, sv, ta, th, tr, uk, vi, zhCN, zhTW } from 'date-fns/locale'; import globalize from './globalize'; const dateLocales = (locale) => ({ From 2bcab6d8e99193f0cdcbb770d066dbf52b801d79 Mon Sep 17 00:00:00 2001 From: artiume Date: Tue, 29 Dec 2020 11:36:34 -0500 Subject: [PATCH 10/12] Update site.js --- src/scripts/site.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/site.js b/src/scripts/site.js index 942c8a0983..ce2eccd5f6 100644 --- a/src/scripts/site.js +++ b/src/scripts/site.js @@ -68,7 +68,7 @@ window.getParameterByName = function(name, url) { }; function loadCoreDictionary() { - const languages = ['ar', 'be-by', 'bg-bg', 'ca', 'cs', 'da', 'de', 'el', 'en-gb', 'en-us', 'es', 'es-ar', 'es-mx', 'fa', 'fi', 'fr', 'fr-ca', 'gsw', 'he', 'hi-in', 'hr', 'hu', 'id', 'it', 'ja', 'kk', 'ko', 'lt-lt', 'ms', 'nb', 'nl', 'pl', 'pt-br', 'pt-pt', 'ro', 'ru', 'sk', 'sl-si', 'sv', 'tr', 'uk', 'vi', 'zh-cn', 'zh-hk', 'zh-tw']; + const languages = ['af', 'ar', 'be-by', 'bg-bg', 'bn_bd' 'ca', 'cs', 'da', 'de', 'el', 'en-gb', 'en-us', 'eo', 'es', 'es-419', 'es-ar', 'es_do', 'es-mx', 'fa', 'fi', 'fil', 'fr', 'fr-ca', 'gl', 'gsw', 'he', 'hi-in', 'hr', 'hu', 'id', 'it', 'ja', 'kk', 'ko', 'lt-lt', 'mr', 'ms', 'nb', 'nl', 'pl', 'pr', 'pt', 'pt-br', 'pt-pt', 'ro', 'ru', 'sk', 'sl-si', 'sq', 'sv', 'ta', 'th', 'tr', 'uk', 'ur_pk', 'vi', 'zh-cn', 'zh-hk', 'zh-tw']; const translations = languages.map(function (language) { return { lang: language, From a296cc33ee009e05358ba143862c2f91154c432e Mon Sep 17 00:00:00 2001 From: artiume Date: Wed, 30 Dec 2020 01:07:45 -0500 Subject: [PATCH 11/12] linting --- src/scripts/site.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/site.js b/src/scripts/site.js index ce2eccd5f6..30e3aaa07d 100644 --- a/src/scripts/site.js +++ b/src/scripts/site.js @@ -68,7 +68,7 @@ window.getParameterByName = function(name, url) { }; function loadCoreDictionary() { - const languages = ['af', 'ar', 'be-by', 'bg-bg', 'bn_bd' 'ca', 'cs', 'da', 'de', 'el', 'en-gb', 'en-us', 'eo', 'es', 'es-419', 'es-ar', 'es_do', 'es-mx', 'fa', 'fi', 'fil', 'fr', 'fr-ca', 'gl', 'gsw', 'he', 'hi-in', 'hr', 'hu', 'id', 'it', 'ja', 'kk', 'ko', 'lt-lt', 'mr', 'ms', 'nb', 'nl', 'pl', 'pr', 'pt', 'pt-br', 'pt-pt', 'ro', 'ru', 'sk', 'sl-si', 'sq', 'sv', 'ta', 'th', 'tr', 'uk', 'ur_pk', 'vi', 'zh-cn', 'zh-hk', 'zh-tw']; + const languages = ['af', 'ar', 'be-by', 'bg-bg', 'bn_bd', 'ca', 'cs', 'da', 'de', 'el', 'en-gb', 'en-us', 'eo', 'es', 'es-419', 'es-ar', 'es_do', 'es-mx', 'fa', 'fi', 'fil', 'fr', 'fr-ca', 'gl', 'gsw', 'he', 'hi-in', 'hr', 'hu', 'id', 'it', 'ja', 'kk', 'ko', 'lt-lt', 'mr', 'ms', 'nb', 'nl', 'pl', 'pr', 'pt', 'pt-br', 'pt-pt', 'ro', 'ru', 'sk', 'sl-si', 'sq', 'sv', 'ta', 'th', 'tr', 'uk', 'ur_pk', 'vi', 'zh-cn', 'zh-hk', 'zh-tw']; const translations = languages.map(function (language) { return { lang: language, From 4c88c9276f49fe2157f8eae62acdd26d7047e7ed Mon Sep 17 00:00:00 2001 From: artiume Date: Thu, 31 Dec 2020 17:52:01 -0500 Subject: [PATCH 12/12] mr is not a locale --- src/scripts/dfnshelper.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/scripts/dfnshelper.js b/src/scripts/dfnshelper.js index 1d602b5238..193e3e7e73 100644 --- a/src/scripts/dfnshelper.js +++ b/src/scripts/dfnshelper.js @@ -1,4 +1,4 @@ -import { af, arDZ, be, bg, bn, ca, cs, da, de, el, enGB, enUS, eo, es, faIR, fi, fil, fr, frCA, he, hi, hr, hu, gl, id, is, it, ja, kk, ko, lt, mr, ms, nb, +import { af, arDZ, be, bg, bn, ca, cs, da, de, el, enGB, enUS, eo, es, faIR, fi, fil, fr, frCA, he, hi, hr, hu, gl, id, is, it, ja, kk, ko, lt, ms, nb, nl, pl, ptBR, pt, ro, ru, sk, sl, sq, sv, ta, th, tr, uk, vi, zhCN, zhTW } from 'date-fns/locale'; import globalize from './globalize'; @@ -38,7 +38,6 @@ const dateLocales = (locale) => ({ 'kk': kk, 'ko': ko, 'lt-lt': lt, - 'mr': mr, 'ms': ms, 'nb': nb, 'nl': nl,