Skip to content

Commit

Permalink
Revert "chore: set social source locale matching uploader locale"
Browse files Browse the repository at this point in the history
This reverts commit 382a1ac.
  • Loading branch information
nd0ut committed Dec 4, 2024
1 parent d7408f8 commit 66d273e
Show file tree
Hide file tree
Showing 24 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion locales/file-uploader/ar.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {
'locale-id': 'ar',
'social-source-lang': 'ar',
'social-source-lang': 'en',
'upload-file': 'رفع ملف',
'upload-files': 'رفع ملفات',
'choose-file': 'اختر ملف',
Expand Down
2 changes: 1 addition & 1 deletion locales/file-uploader/az.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {
'locale-id': 'az',
'social-source-lang': 'az',
'social-source-lang': 'en',
'upload-file': 'Fayl yüklə',
'upload-files': 'Faylları yüklə',
'choose-file': 'Fayl seç',
Expand Down
2 changes: 1 addition & 1 deletion locales/file-uploader/ca.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {
'locale-id': 'ca',
'social-source-lang': 'ca',
'social-source-lang': 'en',
'upload-file': 'Pujar fitxer',
'upload-files': 'Pujar fitxers',
'choose-file': 'Tria fitxer',
Expand Down
2 changes: 1 addition & 1 deletion locales/file-uploader/cs.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {
'locale-id': 'cs',
'social-source-lang': 'cs',
'social-source-lang': 'en',
'upload-file': 'Nahrát soubor',
'upload-files': 'Nahrát soubory',
'choose-file': 'Vybrat soubor',
Expand Down
2 changes: 1 addition & 1 deletion locales/file-uploader/da.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {
'locale-id': 'da',
'social-source-lang': 'da',
'social-source-lang': 'en',
'upload-file': 'Upload fil',
'upload-files': 'Upload filer',
'choose-file': 'Vælg fil',
Expand Down
2 changes: 1 addition & 1 deletion locales/file-uploader/el.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {
'locale-id': 'el',
'social-source-lang': 'el',
'social-source-lang': 'en',
'upload-file': 'Μεταφόρτωση αρχείου',
'upload-files': 'Μεταφόρτωση αρχείων',
'choose-file': 'Επιλογή αρχείου',
Expand Down
2 changes: 1 addition & 1 deletion locales/file-uploader/et.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {
'locale-id': 'et',
'social-source-lang': 'et',
'social-source-lang': 'en',
'upload-file': 'Lae fail üles',
'upload-files': 'Lae failid üles',
'choose-file': 'Vali fail',
Expand Down
2 changes: 1 addition & 1 deletion locales/file-uploader/hy.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {
'locale-id': 'hy',
'social-source-lang': 'hy',
'social-source-lang': 'en',
'upload-file': 'Ֆայլ բեռնել',
'upload-files': 'Ֆայլեր բեռնել',
'choose-file': 'Ընտրեք ֆայլը',
Expand Down
2 changes: 1 addition & 1 deletion locales/file-uploader/is.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {
'locale-id': 'is',
'social-source-lang': 'is',
'social-source-lang': 'en',
'upload-file': 'Hlaða upp skrá',
'upload-files': 'Hlaða upp skrám',
'choose-file': 'Veldu skrá',
Expand Down
2 changes: 1 addition & 1 deletion locales/file-uploader/ja.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {
'locale-id': 'ja',
'social-source-lang': 'ja',
'social-source-lang': 'en',
'upload-file': 'ファイルをアップロード',
'upload-files': 'ファイルをアップロードする',
'choose-file': 'ファイルを選択',
Expand Down
2 changes: 1 addition & 1 deletion locales/file-uploader/ka.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {
'locale-id': 'ka',
'social-source-lang': 'ka',
'social-source-lang': 'en',
'upload-file': 'ფაილის ატვირთვა',
'upload-files': 'ფაილების ატვირთვა',
'choose-file': 'აირჩიეთ ფაილი',
Expand Down
2 changes: 1 addition & 1 deletion locales/file-uploader/kk.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {
'locale-id': 'kk',
'social-source-lang': 'kk',
'social-source-lang': 'en',
'upload-file': 'Файл жүктеу',
'upload-files': 'Файлдарды жүктеу',
'choose-file': 'Файл таңдаңыз',
Expand Down
2 changes: 1 addition & 1 deletion locales/file-uploader/ko.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {
'locale-id': 'ko',
'social-source-lang': 'ko',
'social-source-lang': 'en',
'upload-file': '파일 업로드',
'upload-files': '파일 업로드',
'choose-file': '파일 선택',
Expand Down
2 changes: 1 addition & 1 deletion locales/file-uploader/lv.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {
'locale-id': 'lv',
'social-source-lang': 'lv',
'social-source-lang': 'en',
'upload-file': 'Augšupielādēt failu',
'upload-files': 'Augšupielādēt failus',
'choose-file': 'Izvēlēties failu',
Expand Down
2 changes: 1 addition & 1 deletion locales/file-uploader/nb.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {
'locale-id': 'nb',
'social-source-lang': 'nb',
'social-source-lang': 'en',
'upload-file': 'Last opp fil',
'upload-files': 'Last opp filer',
'choose-file': 'Velg fil',
Expand Down
2 changes: 1 addition & 1 deletion locales/file-uploader/nl.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {
'locale-id': 'nl',
'social-source-lang': 'nl',
'social-source-lang': 'en',
'upload-file': 'Bestand uploaden',
'upload-files': 'Bestanden uploaden',
'choose-file': 'Kies bestand',
Expand Down
2 changes: 1 addition & 1 deletion locales/file-uploader/pl.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {
'locale-id': 'pl',
'social-source-lang': 'pl',
'social-source-lang': 'en',
'upload-file': 'Prześlij plik',
'upload-files': 'Prześlij pliki',
'choose-file': 'Wybierz plik',
Expand Down
2 changes: 1 addition & 1 deletion locales/file-uploader/pt.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {
'locale-id': 'pt',
'social-source-lang': 'pt',
'social-source-lang': 'en',
'upload-file': 'Carregar arquivo',
'upload-files': 'Carregar arquivos',
'choose-file': 'Escolher arquivo',
Expand Down
2 changes: 1 addition & 1 deletion locales/file-uploader/ro.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {
'locale-id': 'ro',
'social-source-lang': 'ro',
'social-source-lang': 'en',
'upload-file': 'Încărcați fișier',
'upload-files': 'Încărcați fișiere',
'choose-file': 'Alegeți fișierul',
Expand Down
2 changes: 1 addition & 1 deletion locales/file-uploader/sk.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {
'locale-id': 'sk',
'social-source-lang': 'sk',
'social-source-lang': 'en',
'upload-file': 'Nahrať súbor',
'upload-files': 'Nahrať súbory',
'choose-file': 'Vybrať súbor',
Expand Down
2 changes: 1 addition & 1 deletion locales/file-uploader/sr.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {
'locale-id': 'sr',
'social-source-lang': 'sr',
'social-source-lang': 'en',
'upload-file': 'Отпреми датотеку',
'upload-files': 'Отпреми датoтеке',
'choose-file': 'Изабери датотеку',
Expand Down
2 changes: 1 addition & 1 deletion locales/file-uploader/sv.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {
'locale-id': 'sv',
'social-source-lang': 'sv',
'social-source-lang': 'en',
'upload-file': 'Ladda upp fil',
'upload-files': 'Ladda upp filer',
'choose-file': 'Välj fil',
Expand Down
2 changes: 1 addition & 1 deletion locales/file-uploader/vi.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {
'locale-id': 'vi',
'social-source-lang': 'vi',
'social-source-lang': 'en',
'upload-file': 'Tải lên tệp',
'upload-files': 'Tải lên các tệp',
'choose-file': 'Chọn tệp',
Expand Down
2 changes: 1 addition & 1 deletion test-locales.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import fs from 'fs/promises';
import path from 'path';

const REFERENCE_LOCALE = 'en';
const SOCIAL_SOURCE_LANGS = ['de', 'en', 'es', 'fr', 'fi', 'he', 'it', 'nl', 'pl', 'pt', 'ru', 'tr', 'uk', 'zh-TW', 'zh'];
const SOCIAL_SOURCE_LANGS = ['de', 'en', 'es', 'fr', 'he', 'it', 'nl', 'pl', 'pt', 'ru', 'tr', 'uk', 'zh-TW', 'zh'];

const rootPath = path.resolve('./');
const localeGroups = await fs.readdir(path.join(rootPath, './locales'));
Expand Down

0 comments on commit 66d273e

Please sign in to comment.