From 0770bb9fb863ecc043909576e2958faff722e0b8 Mon Sep 17 00:00:00 2001
From: Stephen Zhou <38493346+hyoban@users.noreply.github.com>
Date: Fri, 28 Mar 2025 10:23:53 +0800
Subject: [PATCH] build: fix lint for locales (#3322)
---
apps/desktop/locales/app/ar-DZ.json | 2 +-
apps/desktop/locales/app/ar-IQ.json | 2 +-
apps/desktop/locales/app/ar-KW.json | 2 +-
apps/desktop/locales/app/ar-MA.json | 2 +-
apps/desktop/locales/app/ar-SA.json | 2 +-
apps/desktop/locales/app/ar-TN.json | 2 +-
apps/desktop/locales/app/de.json | 2 +-
apps/desktop/locales/app/en.json | 8 ++++----
apps/desktop/locales/app/es.json | 2 +-
apps/desktop/locales/app/fi.json | 2 +-
apps/desktop/locales/app/fr.json | 2 +-
apps/desktop/locales/app/it.json | 2 +-
apps/desktop/locales/app/ja.json | 4 ++--
apps/desktop/locales/app/ko.json | 4 ++--
apps/desktop/locales/app/pt.json | 2 +-
apps/desktop/locales/app/ru.json | 4 ++--
apps/desktop/locales/app/tr.json | 2 +-
apps/desktop/locales/app/zh-CN.json | 8 ++++----
apps/desktop/locales/app/zh-HK.json | 6 +++---
apps/desktop/locales/app/zh-TW.json | 4 ++--
apps/desktop/locales/settings/en.json | 18 +++++++++---------
apps/desktop/locales/settings/zh-CN.json | 6 +++---
eslint.config.mjs | 2 +-
plugins/eslint/eslint-check-i18n-json.js | 2 +-
24 files changed, 46 insertions(+), 46 deletions(-)
diff --git a/apps/desktop/locales/app/ar-DZ.json b/apps/desktop/locales/app/ar-DZ.json
index f97018a92..17f545d95 100644
--- a/apps/desktop/locales/app/ar-DZ.json
+++ b/apps/desktop/locales/app/ar-DZ.json
@@ -15,8 +15,8 @@
"discover.rss_url": "رابط RSS",
"discover.select_placeholder": "اختر",
"entry_actions.copy_link": "نسخ الرابط",
- "entry_actions.exported_notify": "تم تصدير المقال كملف PDF.",
"entry_actions.export_as_pdf": "تصدير كملف PDF",
+ "entry_actions.exported_notify": "تم تصدير المقال كملف PDF.",
"entry_actions.failed_to_save_to_eagle": "فشل في الحفظ إلى Eagle.",
"entry_actions.failed_to_save_to_instapaper": "فشل في الحفظ إلى Instapaper.",
"entry_actions.failed_to_save_to_obsidian": "فشل في الحفظ إلى Obsidian.",
diff --git a/apps/desktop/locales/app/ar-IQ.json b/apps/desktop/locales/app/ar-IQ.json
index 5765b22f9..542f64526 100644
--- a/apps/desktop/locales/app/ar-IQ.json
+++ b/apps/desktop/locales/app/ar-IQ.json
@@ -15,8 +15,8 @@
"discover.rss_url": "رابط RSS",
"discover.select_placeholder": "اختر",
"entry_actions.copy_link": "نسخ الرابط",
- "entry_actions.exported_notify": "تم تصدير المقال كملف PDF.",
"entry_actions.export_as_pdf": "تصدير كملف PDF",
+ "entry_actions.exported_notify": "تم تصدير المقال كملف PDF.",
"entry_actions.failed_to_save_to_eagle": "فشل في الحفظ إلى Eagle.",
"entry_actions.failed_to_save_to_instapaper": "فشل في الحفظ إلى Instapaper.",
"entry_actions.failed_to_save_to_obsidian": "فشل في الحفظ إلى Obsidian.",
diff --git a/apps/desktop/locales/app/ar-KW.json b/apps/desktop/locales/app/ar-KW.json
index e20e1000f..c00d7914e 100644
--- a/apps/desktop/locales/app/ar-KW.json
+++ b/apps/desktop/locales/app/ar-KW.json
@@ -15,8 +15,8 @@
"discover.rss_url": "رابط RSS",
"discover.select_placeholder": "اختر",
"entry_actions.copy_link": "نسخ الرابط",
- "entry_actions.exported_notify": "تم تصدير المقال كملف PDF.",
"entry_actions.export_as_pdf": "تصدير كملف PDF",
+ "entry_actions.exported_notify": "تم تصدير المقال كملف PDF.",
"entry_actions.failed_to_save_to_eagle": "فشل في الحفظ إلى Eagle.",
"entry_actions.failed_to_save_to_instapaper": "فشل في الحفظ إلى Instapaper.",
"entry_actions.failed_to_save_to_obsidian": "فشل في الحفظ إلى Obsidian",
diff --git a/apps/desktop/locales/app/ar-MA.json b/apps/desktop/locales/app/ar-MA.json
index e3fcc656f..4fb5fe910 100644
--- a/apps/desktop/locales/app/ar-MA.json
+++ b/apps/desktop/locales/app/ar-MA.json
@@ -15,8 +15,8 @@
"discover.rss_url": "رابط RSS",
"discover.select_placeholder": "اختر",
"entry_actions.copy_link": "نسخ الرابط",
- "entry_actions.exported_notify": "تم تصدير المقال كملف PDF.",
"entry_actions.export_as_pdf": "تصدير كملف PDF",
+ "entry_actions.exported_notify": "تم تصدير المقال كملف PDF.",
"entry_actions.failed_to_save_to_eagle": "فشل الحفظ إلى Eagle.",
"entry_actions.failed_to_save_to_instapaper": "فشل الحفظ إلى Instapaper.",
"entry_actions.failed_to_save_to_obsidian": "فشل الحفظ في Obsidian",
diff --git a/apps/desktop/locales/app/ar-SA.json b/apps/desktop/locales/app/ar-SA.json
index a6359d1c5..3733da020 100644
--- a/apps/desktop/locales/app/ar-SA.json
+++ b/apps/desktop/locales/app/ar-SA.json
@@ -15,8 +15,8 @@
"discover.rss_url": "عنوان URL لخلاصة RSS",
"discover.select_placeholder": "اختيار",
"entry_actions.copy_link": "نسخ الرابط",
- "entry_actions.exported_notify": "تم تصدير المقال كملف PDF.",
"entry_actions.export_as_pdf": "تصدير كملف PDF",
+ "entry_actions.exported_notify": "تم تصدير المقال كملف PDF.",
"entry_actions.failed_to_save_to_eagle": "فشل في الحفظ إلى Eagle.",
"entry_actions.failed_to_save_to_instapaper": "فشل في الحفظ إلى Instapaper.",
"entry_actions.failed_to_save_to_readwise": "فشل في الحفظ إلى Readwise.",
diff --git a/apps/desktop/locales/app/ar-TN.json b/apps/desktop/locales/app/ar-TN.json
index 703d068f6..ae0879eca 100644
--- a/apps/desktop/locales/app/ar-TN.json
+++ b/apps/desktop/locales/app/ar-TN.json
@@ -15,8 +15,8 @@
"discover.rss_url": "رابط RSS",
"discover.select_placeholder": "اختر",
"entry_actions.copy_link": "نسخ الرابط",
- "entry_actions.exported_notify": "تم تصدير المقال كملف PDF.",
"entry_actions.export_as_pdf": "تصدير كملف PDF",
+ "entry_actions.exported_notify": "تم تصدير المقال كملف PDF.",
"entry_actions.failed_to_save_to_eagle": "فشل في الحفظ إلى Eagle.",
"entry_actions.failed_to_save_to_instapaper": "فشل في الحفظ إلى Instapaper.",
"entry_actions.failed_to_save_to_readwise": "فشل في الحفظ إلى Readwise.",
diff --git a/apps/desktop/locales/app/de.json b/apps/desktop/locales/app/de.json
index f27733a69..d143caba6 100644
--- a/apps/desktop/locales/app/de.json
+++ b/apps/desktop/locales/app/de.json
@@ -15,8 +15,8 @@
"discover.rss_url": "RSS-URL",
"discover.select_placeholder": "Auswählen",
"entry_actions.copy_link": "Link kopieren",
- "entry_actions.exported_notify": "Artikel als PDF exportiert.",
"entry_actions.export_as_pdf": "Als PDF exportieren",
+ "entry_actions.exported_notify": "Artikel als PDF exportiert.",
"entry_actions.failed_to_save_to_eagle": "Speichern in Eagle fehlgeschlagen.",
"entry_actions.failed_to_save_to_instapaper": "Speichern in Instapaper fehlgeschlagen.",
"entry_actions.failed_to_save_to_obsidian": "Speichern in Obsidian fehlgeschlagen",
diff --git a/apps/desktop/locales/app/en.json b/apps/desktop/locales/app/en.json
index f4f567110..6ba02f530 100644
--- a/apps/desktop/locales/app/en.json
+++ b/apps/desktop/locales/app/en.json
@@ -105,14 +105,13 @@
"discover.target.feeds": "Feeds",
"discover.target.label": "Search for",
"discover.target.lists": "Lists",
- "entry_actions.image_gallery": "Image Gallery",
"entry_actions.copied_notify": "{{which}} copied to clipboard.",
"entry_actions.copy_link": "Copy Link",
- "entry_actions.exported_notify": "Exported article as PDF.",
- "entry_actions.export_as_pdf": "Export as PDF",
"entry_actions.copy_title": "Copy Title",
"entry_actions.delete": "Delete",
"entry_actions.deleted": "Deleted.",
+ "entry_actions.export_as_pdf": "Export as PDF",
+ "entry_actions.exported_notify": "Exported article as PDF.",
"entry_actions.failed_to_delete": "Failed to delete.",
"entry_actions.failed_to_save_to_eagle": "Failed to save to Eagle.",
"entry_actions.failed_to_save_to_instapaper": "Failed to save to Instapaper.",
@@ -120,6 +119,7 @@
"entry_actions.failed_to_save_to_outline": "Failed to save to Outline.",
"entry_actions.failed_to_save_to_readeck": "Failed to save to Readeck.",
"entry_actions.failed_to_save_to_readwise": "Failed to save to Readwise.",
+ "entry_actions.image_gallery": "Image Gallery",
"entry_actions.mark_as_read": "Mark as Read / UnRead",
"entry_actions.mark_as_unread": "Mark as Unread",
"entry_actions.open_in_browser": "Open In {{which}}",
@@ -248,9 +248,9 @@
"mark_all_read_button.mark_all_as_read": "Mark all as read",
"mark_all_read_button.mark_as_read": "Mark as read",
"mark_all_read_button.undo": "Undo",
- "new_user_guide.actions.next": "Next",
"new_user_guide.actions.back": "Back",
"new_user_guide.actions.finish": "Finish",
+ "new_user_guide.actions.next": "Next",
"new_user_guide.intro.description": "This guide will help you get started with the app.",
"new_user_guide.intro.title": "Welcome to Folo!",
"new_user_guide.outro.description": "You have completed the guide. Enjoy your journey!",
diff --git a/apps/desktop/locales/app/es.json b/apps/desktop/locales/app/es.json
index c299baf2a..6a96c4643 100644
--- a/apps/desktop/locales/app/es.json
+++ b/apps/desktop/locales/app/es.json
@@ -15,8 +15,8 @@
"discover.rss_url": "RSS URL",
"discover.select_placeholder": "Seleccionar",
"entry_actions.copy_link": "Copiar enlace",
- "entry_actions.exported_notify": "Artículo exportado como PDF.",
"entry_actions.export_as_pdf": "Exportar como PDF",
+ "entry_actions.exported_notify": "Artículo exportado como PDF.",
"entry_actions.failed_to_save_to_obsidian": "Error al guardar en Obsidian",
"entry_actions.mark_as_read": "Marcar como leído",
"entry_actions.mark_as_unread": "Marcar como no leído",
diff --git a/apps/desktop/locales/app/fi.json b/apps/desktop/locales/app/fi.json
index baa90f112..236897a60 100644
--- a/apps/desktop/locales/app/fi.json
+++ b/apps/desktop/locales/app/fi.json
@@ -15,8 +15,8 @@
"discover.rss_url": "RSS-URL",
"discover.select_placeholder": "Valitse",
"entry_actions.copy_link": "Kopioi linkki",
- "entry_actions.exported_notify": "Artikkeli vietiin PDF-muodossa.",
"entry_actions.export_as_pdf": "Vie PDF:nä",
+ "entry_actions.exported_notify": "Artikkeli vietiin PDF-muodossa.",
"entry_actions.failed_to_save_to_eagle": "Tallennus Eagleen epäonnistui.",
"entry_actions.failed_to_save_to_instapaper": "Tallennus Instapaperiin epäonnistui.",
"entry_actions.failed_to_save_to_readwise": "Tallennus Readwiseen epäonnistui.",
diff --git a/apps/desktop/locales/app/fr.json b/apps/desktop/locales/app/fr.json
index d973e5cad..3cd340f07 100644
--- a/apps/desktop/locales/app/fr.json
+++ b/apps/desktop/locales/app/fr.json
@@ -15,8 +15,8 @@
"discover.rss_url": "URL du RSS",
"discover.select_placeholder": "Sélectionner",
"entry_actions.copy_link": "Copier le lien",
- "entry_actions.exported_notify": "Article exporté en PDF.",
"entry_actions.export_as_pdf": "Exporter en PDF",
+ "entry_actions.exported_notify": "Article exporté en PDF.",
"entry_actions.failed_to_save_to_eagle": "Échec de l'enregistrement sur Eagle.",
"entry_actions.failed_to_save_to_instapaper": "Échec de l'enregistrement sur Instapaper.",
"entry_actions.failed_to_save_to_readwise": "Échec de l'enregistrement sur Readwise.",
diff --git a/apps/desktop/locales/app/it.json b/apps/desktop/locales/app/it.json
index a227a30f1..bc4e83a1b 100644
--- a/apps/desktop/locales/app/it.json
+++ b/apps/desktop/locales/app/it.json
@@ -15,8 +15,8 @@
"discover.rss_url": "URL RSS",
"discover.select_placeholder": "Seleziona",
"entry_actions.copy_link": "Copia link",
- "entry_actions.exported_notify": "Articolo esportato come PDF.",
"entry_actions.export_as_pdf": "Esporta come PDF",
+ "entry_actions.exported_notify": "Articolo esportato come PDF.",
"entry_actions.failed_to_save_to_eagle": "Salvataggio su Eagle non riuscito.",
"entry_actions.failed_to_save_to_instapaper": "Salvataggio su Instapaper non riuscito.",
"entry_actions.failed_to_save_to_readwise": "Salvataggio su Readwise non riuscito.",
diff --git a/apps/desktop/locales/app/ja.json b/apps/desktop/locales/app/ja.json
index d1073451e..eb7bf7f04 100644
--- a/apps/desktop/locales/app/ja.json
+++ b/apps/desktop/locales/app/ja.json
@@ -107,11 +107,11 @@
"discover.target.lists": "リスト",
"entry_actions.copied_notify": "{{which}} をクリップボードにコピーしました。",
"entry_actions.copy_link": "リンクをコピー",
- "entry_actions.exported_notify": "記事をPDFとしてエクスポートしました。",
- "entry_actions.export_as_pdf": "PDFとしてエクスポート",
"entry_actions.copy_title": "タイトルをコピー",
"entry_actions.delete": "削除",
"entry_actions.deleted": "削除済み",
+ "entry_actions.export_as_pdf": "PDFとしてエクスポート",
+ "entry_actions.exported_notify": "記事をPDFとしてエクスポートしました。",
"entry_actions.failed_to_delete": "削除に失敗しました。",
"entry_actions.failed_to_save_to_eagle": "Eagle への保存に失敗しました。",
"entry_actions.failed_to_save_to_instapaper": "Instapaper への保存に失敗しました。",
diff --git a/apps/desktop/locales/app/ko.json b/apps/desktop/locales/app/ko.json
index c93b82272..44d526286 100644
--- a/apps/desktop/locales/app/ko.json
+++ b/apps/desktop/locales/app/ko.json
@@ -107,11 +107,11 @@
"discover.target.lists": "목록",
"entry_actions.copied_notify": "{{which}}이(가) 클립보드에 복사되었습니다",
"entry_actions.copy_link": "링크 복사",
- "entry_actions.exported_notify": "PDF로 기사 내보내기 완료.",
- "entry_actions.export_as_pdf": "PDF로 내보내기",
"entry_actions.copy_title": "제목 복사",
"entry_actions.delete": "삭제",
"entry_actions.deleted": "삭제됨",
+ "entry_actions.export_as_pdf": "PDF로 내보내기",
+ "entry_actions.exported_notify": "PDF로 기사 내보내기 완료.",
"entry_actions.failed_to_delete": "삭제 실패",
"entry_actions.failed_to_save_to_eagle": "Eagle에 저장하지 못했습니다",
"entry_actions.failed_to_save_to_instapaper": "Instapaper에 저장하지 못했습니다",
diff --git a/apps/desktop/locales/app/pt.json b/apps/desktop/locales/app/pt.json
index 8cdd99d1c..036afae02 100644
--- a/apps/desktop/locales/app/pt.json
+++ b/apps/desktop/locales/app/pt.json
@@ -15,8 +15,8 @@
"discover.rss_url": "RSS URL",
"discover.select_placeholder": "選択",
"entry_actions.copy_link": "リンクをコピー",
- "entry_actions.exported_notify": "Artigo exportado como PDF.",
"entry_actions.export_as_pdf": "Exportar como PDF",
+ "entry_actions.exported_notify": "Artigo exportado como PDF.",
"entry_actions.failed_to_save_to_eagle": "Eagle への保存に失敗しました。",
"entry_actions.failed_to_save_to_instapaper": "Instapaper への保存に失敗しました。",
"entry_actions.failed_to_save_to_readwise": "Readwise への保存に失敗しました。",
diff --git a/apps/desktop/locales/app/ru.json b/apps/desktop/locales/app/ru.json
index 8f8f8f6b4..c1d79d495 100644
--- a/apps/desktop/locales/app/ru.json
+++ b/apps/desktop/locales/app/ru.json
@@ -103,11 +103,11 @@
"discover.target.lists": "Списки",
"entry_actions.copied_notify": "{{which}} скопировано в буфер обмена.",
"entry_actions.copy_link": "Копировать ссылку",
- "entry_actions.exported_notify": "Статья экспортирована в PDF.",
- "entry_actions.export_as_pdf": "Экспортировать в PDF",
"entry_actions.copy_title": "Копировать заголовок",
"entry_actions.delete": "Удалить",
"entry_actions.deleted": "Удалено.",
+ "entry_actions.export_as_pdf": "Экспортировать в PDF",
+ "entry_actions.exported_notify": "Статья экспортирована в PDF.",
"entry_actions.failed_to_delete": "Не удалось удалить.",
"entry_actions.failed_to_save_to_eagle": "Не удалось сохранить в Eagle.",
"entry_actions.failed_to_save_to_instapaper": "Не удалось сохранить в Instapaper.",
diff --git a/apps/desktop/locales/app/tr.json b/apps/desktop/locales/app/tr.json
index 726367e8c..66493e14c 100644
--- a/apps/desktop/locales/app/tr.json
+++ b/apps/desktop/locales/app/tr.json
@@ -28,8 +28,8 @@
"discover.target.label": "Arama hedefi",
"discover.target.lists": "Listeler",
"entry_actions.copy_link": "Bağlantıyı kopyala",
- "entry_actions.exported_notify": "Makale PDF olarak dışa aktarıldı.",
"entry_actions.export_as_pdf": "PDF olarak dışa aktar",
+ "entry_actions.exported_notify": "Makale PDF olarak dışa aktarıldı.",
"entry_actions.failed_to_save_to_eagle": "Eagle'a kaydetme başarısız oldu.",
"entry_actions.failed_to_save_to_instapaper": "Instapaper'a kaydetme başarısız oldu.",
"entry_actions.failed_to_save_to_readwise": "Readwise'a kaydetme başarısız oldu.",
diff --git a/apps/desktop/locales/app/zh-CN.json b/apps/desktop/locales/app/zh-CN.json
index b94c9ba28..40f3d3cee 100644
--- a/apps/desktop/locales/app/zh-CN.json
+++ b/apps/desktop/locales/app/zh-CN.json
@@ -105,14 +105,13 @@
"discover.target.feeds": "订阅源",
"discover.target.label": "搜索",
"discover.target.lists": "列表",
- "entry_actions.image_gallery": "图片库",
"entry_actions.copied_notify": "{{which}}已复制到剪贴板。",
"entry_actions.copy_link": "复制链接",
- "entry_actions.exported_notify": "文章已导出为 PDF。",
- "entry_actions.export_as_pdf": "导出为 PDF",
"entry_actions.copy_title": "复制标题",
"entry_actions.delete": "删除",
"entry_actions.deleted": "已删除",
+ "entry_actions.export_as_pdf": "导出为 PDF",
+ "entry_actions.exported_notify": "文章已导出为 PDF。",
"entry_actions.failed_to_delete": "删除失败",
"entry_actions.failed_to_save_to_eagle": "保存到 Eagle 失败。",
"entry_actions.failed_to_save_to_instapaper": "保存到 Instapaper 失败。",
@@ -120,6 +119,7 @@
"entry_actions.failed_to_save_to_outline": "保存到 Outline 失败。",
"entry_actions.failed_to_save_to_readeck": "保存到 Readeck 失败。",
"entry_actions.failed_to_save_to_readwise": "保存到 Readwise 失败。",
+ "entry_actions.image_gallery": "图片库",
"entry_actions.mark_as_read": "标记为已读/未读",
"entry_actions.mark_as_unread": "标记为未读",
"entry_actions.open_in_browser": "在{{which}}打开",
@@ -248,9 +248,9 @@
"mark_all_read_button.mark_all_as_read": "全部标记为已读",
"mark_all_read_button.mark_as_read": "标记 为已读",
"mark_all_read_button.undo": "撤销",
- "new_user_guide.actions.next": "下一步",
"new_user_guide.actions.back": "上一步",
"new_user_guide.actions.finish": "完成",
+ "new_user_guide.actions.next": "下一步",
"new_user_guide.intro.description": "本指南将帮助你快速上手这款应用。",
"new_user_guide.intro.title": "欢迎使用 Folo!",
"new_user_guide.outro.description": "你已完成指南,祝你使用愉快!",
diff --git a/apps/desktop/locales/app/zh-HK.json b/apps/desktop/locales/app/zh-HK.json
index c4425cec6..daea8d1aa 100644
--- a/apps/desktop/locales/app/zh-HK.json
+++ b/apps/desktop/locales/app/zh-HK.json
@@ -105,14 +105,13 @@
"discover.target.feeds": "訂閱源",
"discover.target.label": "搜尋",
"discover.target.lists": "清單",
- "entry_actions.image_gallery": "圖片庫",
"entry_actions.copied_notify": "{{which}}已複製到剪貼簿",
"entry_actions.copy_link": "複製連結",
- "entry_actions.exported_notify": "文章已匯出為 PDF。",
- "entry_actions.export_as_pdf": "匯出為 PDF",
"entry_actions.copy_title": "複製標題",
"entry_actions.delete": "刪除",
"entry_actions.deleted": "已刪除",
+ "entry_actions.export_as_pdf": "匯出為 PDF",
+ "entry_actions.exported_notify": "文章已匯出為 PDF。",
"entry_actions.failed_to_delete": "無法刪除",
"entry_actions.failed_to_save_to_eagle": "無法儲存至 Eagle",
"entry_actions.failed_to_save_to_instapaper": "無法儲存至 Instapaper",
@@ -120,6 +119,7 @@
"entry_actions.failed_to_save_to_outline": "無法儲存至 Outline",
"entry_actions.failed_to_save_to_readeck": "無法儲存至 Readeck",
"entry_actions.failed_to_save_to_readwise": "無法儲存至 Readwise",
+ "entry_actions.image_gallery": "圖片庫",
"entry_actions.mark_as_read": "標記為已讀",
"entry_actions.mark_as_unread": "標記為未讀",
"entry_actions.open_in_browser": "在{{which}}中開啟",
diff --git a/apps/desktop/locales/app/zh-TW.json b/apps/desktop/locales/app/zh-TW.json
index 7490e9116..3c8007615 100644
--- a/apps/desktop/locales/app/zh-TW.json
+++ b/apps/desktop/locales/app/zh-TW.json
@@ -104,11 +104,11 @@
"discover.target.lists": "列表",
"entry_actions.copied_notify": "{{which}}已複製到剪貼簿",
"entry_actions.copy_link": "複製連結",
- "entry_actions.exported_notify": "文章已匯出為 PDF。",
- "entry_actions.export_as_pdf": "匯出為 PDF",
"entry_actions.copy_title": "複製標題",
"entry_actions.delete": "刪除",
"entry_actions.deleted": "已刪除。",
+ "entry_actions.export_as_pdf": "匯出為 PDF",
+ "entry_actions.exported_notify": "文章已匯出為 PDF。",
"entry_actions.failed_to_delete": "刪除失敗。",
"entry_actions.failed_to_save_to_eagle": "無法儲存到 Eagle。",
"entry_actions.failed_to_save_to_instapaper": "無法儲存到 Instapaper。",
diff --git a/apps/desktop/locales/settings/en.json b/apps/desktop/locales/settings/en.json
index 9b95309cc..77979f131 100644
--- a/apps/desktop/locales/settings/en.json
+++ b/apps/desktop/locales/settings/en.json
@@ -128,6 +128,10 @@
"feeds.tableHeaders.name": "Name",
"feeds.tableHeaders.subscriptionCount": "Subs",
"feeds.tableHeaders.tipAmount": "Tips",
+ "general.action_language.default": "Default (UI Language)",
+ "general.action_language.description": "The language used for translation and summary",
+ "general.action_language.label": "Action Language",
+ "general.advanced": "Advanced",
"general.app": "App",
"general.auto_expand_long_social_media.description": "Automatically expand social media entries containing long text.",
"general.auto_expand_long_social_media.label": "Expand long social media",
@@ -138,6 +142,10 @@
"general.data_file.label": "Data File",
"general.data_persist.description": "Persist data locally to enable offline access and local search.",
"general.data_persist.label": "Persist data for offline usage",
+ "general.enhanced.description": "Enabling the enhanced settings offers more customization options, but it may also introduce unforeseen issues.",
+ "general.enhanced.disabled.tip": "Enhanced settings are disabled, you can enable them in the General settings - Advanced.",
+ "general.enhanced.enabled.tip": "Enhanced settings are enabled, you can disable them in the General settings - Advanced.",
+ "general.enhanced.label": "Enhanced Settings",
"general.export.button": "Export",
"general.export.description": "Export your feeds to an OPML file.",
"general.export.folder_mode.description": "Decide how you want to organize your export folders.",
@@ -187,9 +195,6 @@
"general.startup_screen.timeline": "Timeline",
"general.startup_screen.title": "Startup Screen",
"general.timeline": "Timeline",
- "general.action_language.label": "Action Language",
- "general.action_language.default": "Default (UI Language)",
- "general.action_language.description": "The language used for translation and summary",
"general.unread": "Unread",
"general.voices": "Voices",
"integration.eagle.enable.description": "Display 'Save media to Eagle' button when available.",
@@ -420,10 +425,5 @@
"wallet.withdraw.receiveRSS3": "You will receive {{amount}} RSS3",
"wallet.withdraw.submitButton": "Submit",
"wallet.withdraw.success": "Withdrawal successful!",
- "wallet.withdraw.toRss3Label": "Withdraw as RSS3",
- "general.advanced": "Advanced",
- "general.enhanced.label": "Enhanced Settings",
- "general.enhanced.description": "Enabling the enhanced settings offers more customization options, but it may also introduce unforeseen issues.",
- "general.enhanced.enabled.tip": "Enhanced settings are enabled, you can disable them in the General settings - Advanced.",
- "general.enhanced.disabled.tip": "Enhanced settings are disabled, you can enable them in the General settings - Advanced."
+ "wallet.withdraw.toRss3Label": "Withdraw as RSS3"
}
diff --git a/apps/desktop/locales/settings/zh-CN.json b/apps/desktop/locales/settings/zh-CN.json
index 66f0be777..81640c3b6 100644
--- a/apps/desktop/locales/settings/zh-CN.json
+++ b/apps/desktop/locales/settings/zh-CN.json
@@ -128,6 +128,9 @@
"feeds.tableHeaders.name": "名称",
"feeds.tableHeaders.subscriptionCount": "订阅数",
"feeds.tableHeaders.tipAmount": "收到的打赏",
+ "general.action_language.default": "默认(界面语言)",
+ "general.action_language.description": "用于翻译和总结的语言。",
+ "general.action_language.label": "自动化语言",
"general.app": "应用程序",
"general.auto_expand_long_social_media.description": "自动展开包含长文本的社交媒体条目。",
"general.auto_expand_long_social_media.label": "展开长社交媒体",
@@ -187,9 +190,6 @@
"general.startup_screen.timeline": "时间线",
"general.startup_screen.title": "起始界面",
"general.timeline": "时间线",
- "general.action_language.label": "自动化语言",
- "general.action_language.default": "默认(界面语言)",
- "general.action_language.description": "用于翻译和总结的语言。",
"general.unread": "未读",
"general.voices": "声音",
"integration.eagle.enable.description": "显示「保存到 Eagle」按钮(如果可用)。",
diff --git a/eslint.config.mjs b/eslint.config.mjs
index d21de4f80..4d4572e75 100644
--- a/eslint.config.mjs
+++ b/eslint.config.mjs
@@ -89,7 +89,7 @@ export default defineConfig(
},
// @ts-expect-error
{
- files: ["locales/**/*.json"],
+ files: ["apps/desktop/locales/**/*.json"],
plugins: {
"recursive-sort": recursiveSort,
"check-i18n-json": checkI18nJson,
diff --git a/plugins/eslint/eslint-check-i18n-json.js b/plugins/eslint/eslint-check-i18n-json.js
index 64877a94f..429759431 100644
--- a/plugins/eslint/eslint-check-i18n-json.js
+++ b/plugins/eslint/eslint-check-i18n-json.js
@@ -92,7 +92,7 @@ export default {
try {
currentJson = JSON.parse(sourceCode.text)
- const englishFilePath = path.join(process.cwd(), "locales", namespace, "en.json")
+ const englishFilePath = path.join(path.dirname(filename), "../", namespace, "en.json")
englishJson = JSON.parse(fs.readFileSync(englishFilePath, "utf8"))
} catch (error) {
context.report({