fix(eslint): json sort key

Signed-off-by: Innei <i@innei.in>
This commit is contained in:
Innei 2024-09-22 19:57:10 +08:00
parent 09d77657a0
commit 5a81dd6786
No known key found for this signature in database
GPG Key ID: 0F62D33977F021F7
120 changed files with 184 additions and 125 deletions

View File

@ -1,6 +1,8 @@
// @ts-check
import { defineConfig } from "eslint-config-hyoban"
import recursiveSort from "./plugins/eslint-recursive-sort.js"
export default defineConfig(
{
formatting: false,
@ -45,14 +47,11 @@ export default defineConfig(
},
{
files: ["locales/**/*.json"],
plugins: {
"recursive-sort": recursiveSort,
},
rules: {
"jsonc/sort-keys": [
"error",
{
pathPattern: ".*",
order: { type: "asc" },
},
],
"recursive-sort/recursive-sort": "error",
},
},
)

View File

@ -204,4 +204,4 @@
"words.user": "المستخدم",
"words.which.all": "الكل",
"words.zero_items": "صفر عناصر"
}
}

View File

@ -204,4 +204,4 @@
"words.user": "المستخدم",
"words.which.all": "الكل",
"words.zero_items": "صفر عناصر"
}
}

View File

@ -204,4 +204,4 @@
"words.user": "المستخدم",
"words.which.all": "الكل",
"words.zero_items": "لا توجد عناصر"
}
}

View File

@ -207,4 +207,4 @@
"words.user": "المستخدم",
"words.which.all": "الكل",
"words.zero_items": "لا توجد عناصر"
}
}

View File

@ -207,4 +207,4 @@
"words.user": "المستخدم",
"words.which.all": "الكل",
"words.zero_items": "صفر عناصر"
}
}

View File

@ -207,4 +207,4 @@
"words.user": "المستخدم",
"words.which.all": "الكل",
"words.zero_items": "صفر عناصر"
}
}

View File

@ -230,4 +230,4 @@
"words.user": "User",
"words.which.all": "all",
"words.zero_items": "Zero items"
}
}

View File

@ -134,4 +134,4 @@
"words.user": "Usuario",
"words.which.all": "Todo",
"words.zero_items": "Sin contenido"
}
}

View File

@ -204,4 +204,4 @@
"words.user": "Käyttäjä",
"words.which.all": "kaikki",
"words.zero_items": "Ei kohteita"
}
}

View File

@ -204,4 +204,4 @@
"words.user": "Utilisateur",
"words.which.all": "tous",
"words.zero_items": "Zéro élément"
}
}

View File

@ -204,4 +204,4 @@
"words.user": "Utente",
"words.which.all": "tutti",
"words.zero_items": "Zero elementi"
}
}

View File

@ -203,4 +203,4 @@
"words.user": "ユーザー",
"words.which.all": "すべて",
"words.zero_items": "アイテムがありません"
}
}

View File

@ -203,4 +203,4 @@
"words.user": "ユーザー",
"words.which.all": "すべて",
"words.zero_items": "アイテムがありません"
}
}

View File

@ -204,4 +204,4 @@
"words.user": "Пользователь",
"words.which.all": "все",
"words.zero_items": "Нет элементов"
}
}

View File

@ -230,4 +230,4 @@
"words.user": "用户",
"words.which.all": "全部",
"words.zero_items": "没有内容"
}
}

View File

@ -207,4 +207,4 @@
"words.user": "用戶",
"words.which.all": "所有",
"words.zero_items": "零項目"
}
}

View File

@ -228,4 +228,4 @@
"words.user": "使用者",
"words.which.all": "全部",
"words.zero_items": "沒有內容"
}
}

View File

@ -26,4 +26,4 @@
"words.result_other": "نتائج",
"words.space": " ",
"words.which.all": "الكل"
}
}

View File

@ -25,4 +25,4 @@
"words.result_other": "نتائج",
"words.space": " ",
"words.which.all": "الكل"
}
}

View File

@ -25,4 +25,4 @@
"words.result_other": "نتائج",
"words.space": " ",
"words.which.all": "الكل"
}
}

View File

@ -26,4 +26,4 @@
"words.result_other": "نتائج",
"words.space": " ",
"words.which.all": "الكل"
}
}

View File

@ -26,4 +26,4 @@
"words.result_other": "نتائج",
"words.space": " ",
"words.which.all": "الكل"
}
}

View File

@ -25,4 +25,4 @@
"words.result_other": "نتائج",
"words.space": " ",
"words.which.all": "الكل"
}
}

View File

@ -31,4 +31,4 @@
"words.submit": "Submit",
"words.update": "Update",
"words.which.all": "All"
}
}

View File

@ -26,4 +26,4 @@
"words.result_other": "resultados",
"words.space": " ",
"words.which.all": "Todo"
}
}

View File

@ -25,4 +25,4 @@
"words.result_other": "tulokset",
"words.space": " ",
"words.which.all": "Kaikki"
}
}

View File

@ -26,4 +26,4 @@
"words.result_other": "résultats",
"words.space": " ",
"words.which.all": "Tous"
}
}

View File

@ -25,4 +25,4 @@
"words.result_other": "risultati",
"words.space": " ",
"words.which.all": "Tutti"
}
}

View File

@ -26,4 +26,4 @@
"words.result_other": "結果",
"words.space": "",
"words.which.all": "すべて"
}
}

View File

@ -26,4 +26,4 @@
"words.result_other": "resultados",
"words.space": " ",
"words.which.all": "Todos"
}
}

View File

@ -25,4 +25,4 @@
"words.result_other": "результаты",
"words.space": " ",
"words.which.all": "Все"
}
}

View File

@ -27,4 +27,4 @@
"words.result_other": "结果",
"words.space": "",
"words.which.all": "全部"
}
}

View File

@ -25,4 +25,4 @@
"words.result_other": "結果",
"words.space": " ",
"words.which.all": "全部"
}
}

View File

@ -26,4 +26,4 @@
"words.result_other": "多筆結果",
"words.space": " ",
"words.which.all": "全部"
}
}

View File

@ -26,4 +26,4 @@
"7001": "Invalid setting tab",
"7002": "Invalid setting payload",
"7003": "Setting payload too large"
}
}

View File

@ -26,4 +26,4 @@
"7001": "Onglet de paramètre invalide",
"7002": "Contenu de paramètre invalide",
"7003": "Contenu de paramètre trop volumineux"
}
}

View File

@ -26,4 +26,4 @@
"7001": "無効な設定タブです",
"7002": "無効な設定ペイロードです",
"7003": "設定ペイロードが大きすぎます"
}
}

View File

@ -26,4 +26,4 @@
"7001": "Неверная вкладка настройки",
"7002": "Неверное содержимое настройки",
"7003": "Содержимое настройки слишком велико"
}
}

View File

@ -26,4 +26,4 @@
"7001": "无效的设置标签",
"7002": "无效的设置负载",
"7003": "设置负载过大"
}
}

View File

@ -26,4 +26,4 @@
"7001": "無效的設定標簽",
"7002": "無效的設定負載",
"7003": "設定負載太大"
}
}

View File

@ -26,4 +26,4 @@
"7001": "設定標籤無效",
"7002": "設定負載無效",
"7003": "設定負載過大"
}
}

View File

@ -39,4 +39,4 @@
"openApp": "افتح {{APP_NAME}}",
"successMessage": "تم الاتصال بنجاح بحساب {{APP_NAME}}."
}
}
}

View File

@ -39,4 +39,4 @@
"openApp": "افتح {{APP_NAME}}",
"successMessage": "لقد تم الاتصال بنجاح بحسابك على {{APP_NAME}}."
}
}
}

View File

@ -39,4 +39,4 @@
"openApp": "فتح {{APP_NAME}}",
"successMessage": "تم الاتصال بحساب {{APP_NAME}} بنجاح."
}
}
}

View File

@ -39,4 +39,4 @@
"openApp": "افتح {{APP_NAME}}",
"successMessage": "تم الاتصال بنجاح بحساب {{APP_NAME}}."
}
}
}

View File

@ -40,4 +40,4 @@
"openApp": "افتح {{APP_NAME}}",
"successMessage": "تم الاتصال بنجاح بحساب {{APP_NAME}}."
}
}
}

View File

@ -40,4 +40,4 @@
"openApp": "افتح {{APP_NAME}}",
"successMessage": "تم الاتصال بحساب {{APP_NAME}} بنجاح."
}
}
}

View File

@ -32,4 +32,4 @@
"redirect.instruction": "Now is the time to open {{APP_NAME}} and safely close this page.",
"redirect.openApp": "Open {{APP_NAME}}",
"redirect.successMessage": "You have successfully connected to {{APP_NAME}} Account."
}
}

View File

@ -39,4 +39,4 @@
"openApp": "Abrir {{APP_NAME}}",
"successMessage": "Te has conectado exitosamente a la cuenta de {{APP_NAME}}."
}
}
}

View File

@ -39,4 +39,4 @@
"openApp": "Avaa {{APP_NAME}}",
"successMessage": "Olet onnistuneesti yhdistänyt {{APP_NAME}}-tilisi."
}
}
}

View File

@ -39,4 +39,4 @@
"openApp": "Ouvrir {{APP_NAME}}",
"successMessage": "Vous vous êtes connecté avec succès à votre compte {{APP_NAME}}."
}
}
}

View File

@ -39,4 +39,4 @@
"openApp": "Apri {{APP_NAME}}",
"successMessage": "Ti sei connesso con successo all'account {{APP_NAME}}."
}
}
}

View File

@ -39,4 +39,4 @@
"openApp": "{{APP_NAME}}を開く",
"successMessage": "{{APP_NAME}}アカウントに正常に接続されました。"
}
}
}

View File

@ -39,4 +39,4 @@
"openApp": "Abrir {{APP_NAME}}",
"successMessage": "Conectou-se com sucesso à conta {{APP_NAME}}."
}
}
}

View File

@ -39,4 +39,4 @@
"openApp": "Открыть {{APP_NAME}}",
"successMessage": "Вы успешно подключились к аккаунту {{APP_NAME}}."
}
}
}

View File

@ -39,4 +39,4 @@
"openApp": "打开 {{APP_NAME}}",
"successMessage": "已成功连接到 {{APP_NAME}} 账户。"
}
}
}

View File

@ -40,4 +40,4 @@
"openApp": "打開 {{APP_NAME}}",
"successMessage": "你已成功連接到 {{APP_NAME}} 帳戶。"
}
}
}

View File

@ -40,4 +40,4 @@
"openApp": "開啟 {{APP_NAME}}",
"successMessage": "您已成功連接至 {{APP_NAME}} 帳戶。"
}
}
}

View File

@ -17,4 +17,4 @@
"langs.zh-HK": "繁體中文(香港)",
"langs.zh-TW": "繁體中文(台灣)",
"name": "العربية (الجزائر)"
}
}

View File

@ -17,4 +17,4 @@
"langs.zh-HK": "繁體中文(香港)",
"langs.zh-TW": "繁體中文(台灣)",
"name": "العربية (العراق)"
}
}

View File

@ -17,4 +17,4 @@
"langs.zh-HK": "繁體中文(香港)",
"langs.zh-TW": "繁體中文(台灣)",
"name": "العربية (الكويت)"
}
}

View File

@ -17,4 +17,4 @@
"langs.zh-HK": "繁體中文(香港)",
"langs.zh-TW": "繁體中文(台灣)",
"name": "العربية (المغرب)"
}
}

View File

@ -17,4 +17,4 @@
"langs.zh-HK": "繁體中文(香港)",
"langs.zh-TW": "繁體中文(台灣)",
"name": "العربية (السعودية)"
}
}

View File

@ -17,4 +17,4 @@
"langs.zh-HK": "繁體中文(香港)",
"langs.zh-TW": "繁體中文(台灣)",
"name": "العربية (تونس)"
}
}

View File

@ -17,4 +17,4 @@
"langs.zh-HK": "繁體中文(香港)",
"langs.zh-TW": "繁體中文(台灣)",
"name": "English"
}
}

View File

@ -17,4 +17,4 @@
"langs.zh-HK": "繁體中文(香港)",
"langs.zh-TW": "繁體中文(台灣)",
"name": "Español"
}
}

View File

@ -17,4 +17,4 @@
"langs.zh-HK": "繁體中文(香港)",
"langs.zh-TW": "繁體中文(台灣)",
"name": "Suomi"
}
}

View File

@ -17,4 +17,4 @@
"langs.zh-HK": "繁體中文(香港)",
"langs.zh-TW": "繁體中文(台灣)",
"name": "Français"
}
}

View File

@ -17,4 +17,4 @@
"langs.zh-HK": "繁體中文(香港)",
"langs.zh-TW": "繁體中文(台灣)",
"name": "Italiano"
}
}

View File

@ -17,4 +17,4 @@
"langs.zh-HK": "繁體中文(香港)",
"langs.zh-TW": "繁體中文(台灣)",
"name": "日本語"
}
}

View File

@ -17,4 +17,4 @@
"langs.zh-HK": "繁體中文(香港)",
"langs.zh-TW": "繁體中文(台灣)",
"name": "Português"
}
}

View File

@ -17,4 +17,4 @@
"langs.zh-HK": "繁體中文(香港)",
"langs.zh-TW": "繁體中文(台灣)",
"name": "Русский"
}
}

View File

@ -17,4 +17,4 @@
"langs.zh-HK": "繁體中文(香港)",
"langs.zh-TW": "繁體中文(台灣)",
"name": "简体中文"
}
}

View File

@ -17,4 +17,4 @@
"langs.zh-HK": "繁體中文(香港)",
"langs.zh-TW": "繁體中文(台灣)",
"name": "繁體中文(香港)"
}
}

View File

@ -17,4 +17,4 @@
"langs.zh-HK": "繁體中文(香港)",
"langs.zh-TW": "繁體中文(台灣)",
"name": "繁體中文(台灣)"
}
}

View File

@ -50,4 +50,4 @@
"menu.zoom": "تكبير",
"menu.zoomIn": "تكبير",
"menu.zoomOut": "تصغير"
}
}

View File

@ -50,4 +50,4 @@
"menu.zoom": "تكبير",
"menu.zoomIn": "تكبير",
"menu.zoomOut": "تصغير"
}
}

View File

@ -50,4 +50,4 @@
"menu.zoom": "تكبير",
"menu.zoomIn": "تكبير",
"menu.zoomOut": "تصغير"
}
}

View File

@ -65,4 +65,4 @@
"menu.zoom": "Zoom",
"menu.zoomIn": "Zoom In",
"menu.zoomOut": "Zoom Out"
}
}

View File

@ -50,4 +50,4 @@
"menu.zoom": "Zoom",
"menu.zoomIn": "Ingrandisci",
"menu.zoomOut": "Riduci"
}
}

View File

@ -49,4 +49,4 @@
"menu.zoom": "ズーム",
"menu.zoomIn": "拡大",
"menu.zoomOut": "縮小"
}
}

View File

@ -61,4 +61,4 @@
"menu.zoom": "缩放",
"menu.zoomIn": "放大",
"menu.zoomOut": "缩小"
}
}

View File

@ -50,4 +50,4 @@
"menu.zoom": "縮放",
"menu.zoomIn": "放大",
"menu.zoomOut": "縮小"
}
}

View File

@ -50,4 +50,4 @@
"menu.zoom": "縮放",
"menu.zoomIn": "放大",
"menu.zoomOut": "縮小"
}
}

View File

@ -192,4 +192,4 @@
"wallet.withdraw.modalTitle": "سحب باور",
"wallet.withdraw.submitButton": "إرسال",
"wallet.withdraw.success": "تم السحب بنجاح!"
}
}

View File

@ -200,4 +200,4 @@
"wallet.withdraw.modalTitle": "سحب باور",
"wallet.withdraw.submitButton": "إرسال",
"wallet.withdraw.success": "تم السحب بنجاح!"
}
}

View File

@ -200,4 +200,4 @@
"wallet.withdraw.modalTitle": "سحب Power",
"wallet.withdraw.submitButton": "إرسال",
"wallet.withdraw.success": "تم السحب بنجاح!"
}
}

View File

@ -192,4 +192,4 @@
"wallet.withdraw.modalTitle": "سحب باور",
"wallet.withdraw.submitButton": "إرسال",
"wallet.withdraw.success": "السحب تمت بنجاح!"
}
}

View File

@ -192,4 +192,4 @@
"wallet.withdraw.modalTitle": "سحب الطاقة",
"wallet.withdraw.submitButton": "إرسال",
"wallet.withdraw.success": "تم السحب بنجاح!"
}
}

View File

@ -200,4 +200,4 @@
"wallet.withdraw.modalTitle": "سحب الطاقة",
"wallet.withdraw.submitButton": "إرسال",
"wallet.withdraw.success": "تم السحب بنجاح!"
}
}

View File

@ -234,4 +234,4 @@
"wallet.withdraw.modalTitle": "Withdraw Power",
"wallet.withdraw.submitButton": "Submit",
"wallet.withdraw.success": "Withdrawal successful!"
}
}

View File

@ -192,4 +192,4 @@
"wallet.withdraw.modalTitle": "Retirar Power",
"wallet.withdraw.submitButton": "Enviar",
"wallet.withdraw.success": "¡Retiro exitoso!"
}
}

View File

@ -192,4 +192,4 @@
"wallet.withdraw.modalTitle": "Nosta Poweria",
"wallet.withdraw.submitButton": "Lähetä",
"wallet.withdraw.success": "Nosto onnistui!"
}
}

View File

@ -192,4 +192,4 @@
"wallet.withdraw.modalTitle": "Retirer Power",
"wallet.withdraw.submitButton": "Soumettre",
"wallet.withdraw.success": "Retrait réussi !"
}
}

View File

@ -192,4 +192,4 @@
"wallet.withdraw.modalTitle": "Preleva Power",
"wallet.withdraw.submitButton": "Invia",
"wallet.withdraw.success": "Prelievo riuscito!"
}
}

View File

@ -192,4 +192,4 @@
"wallet.withdraw.modalTitle": "Powerを引き出す",
"wallet.withdraw.submitButton": "送信",
"wallet.withdraw.success": "引き出しが成功しました!"
}
}

View File

@ -192,4 +192,4 @@
"wallet.withdraw.modalTitle": "Levantar Power",
"wallet.withdraw.submitButton": "Submeter",
"wallet.withdraw.success": "Levantamento bem-sucedido!"
}
}

View File

@ -192,4 +192,4 @@
"wallet.withdraw.modalTitle": "Вывести Power",
"wallet.withdraw.submitButton": "Отправить",
"wallet.withdraw.success": "Вывод успешен!"
}
}

View File

@ -206,4 +206,4 @@
"wallet.withdraw.modalTitle": "提现 Power",
"wallet.withdraw.submitButton": "提交",
"wallet.withdraw.success": "提现成功!"
}
}

Some files were not shown because too many files have changed in this diff Show More