about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-12-21 22:13:04 +0100
committerGitHub <noreply@github.com>2022-12-21 22:13:04 +0100
commit18bcabf26a744703660ae403014209fa78dd6c56 (patch)
tree958c077c65bc6435c0e2b1f8d073d330b6e39068
parent2f2ef1d4fedd74fb9659ec3ab4f941fd959a1166 (diff)
Change i18n-tasks config to consider glitch-soc translation files (#2027)
* Change i18n-tasks config to consider glitch-soc translation files

* Normalize locales-glitch YML files

* Consider upstream Rails translations as external

* Add simple_form.glitch_only to ignore_unused

* Remove unused keybase-related strings
-rw-r--r--config/i18n-tasks.yml12
-rw-r--r--config/locales-glitch/cs.yml9
-rw-r--r--config/locales-glitch/en.yml9
-rw-r--r--config/locales-glitch/es.yml9
-rw-r--r--config/locales-glitch/ja.yml9
-rw-r--r--config/locales-glitch/simple_form.cs.yml2
-rw-r--r--config/locales-glitch/simple_form.en.yml2
-rw-r--r--config/locales-glitch/simple_form.ko.yml2
-rw-r--r--config/locales-glitch/simple_form.zh-CN.yml2
-rw-r--r--config/locales-glitch/zh-CN.yml9
10 files changed, 27 insertions, 38 deletions
diff --git a/config/i18n-tasks.yml b/config/i18n-tasks.yml
index 8bed34638..3f3f6f248 100644
--- a/config/i18n-tasks.yml
+++ b/config/i18n-tasks.yml
@@ -4,12 +4,16 @@
 base_locale: en
 data:
   read:
-    - config/locales/%{locale}.yml
-    - config/locales/**/*.%{locale}.yml
+    - config/locales-glitch/%{locale}.yml
+    - config/locales-glitch/*.%{locale}.yml
 
   write:
-    - ['{devise, simple_form, doorkeeper}.*', 'config/locales/\1.%{locale}.yml']
+    - ['{devise, simple_form, doorkeeper}.*', 'config/locales-glitch/\1.%{locale}.yml']
+    - config/locales-glitch/%{locale}.yml
+
+  external:
     - config/locales/%{locale}.yml
+    - config/locales/**/*.%{locale}.yml
 
   yaml:
     write:
@@ -50,7 +54,7 @@ ignore_unused:
   - 'activerecord.errors.*'
   - '{devise,pagination,doorkeeper}.*'
   - '{date,datetime,time,number}.*'
-  - 'simple_form.{yes,no,recommended,not_recommended}'
+  - 'simple_form.{yes,no,recommended,not_recommended,glitch_only}'
   - 'simple_form.{placeholders,hints,labels}.*'
   - 'simple_form.{error_notification,required}.:'
   - 'errors.messages.*'
diff --git a/config/locales-glitch/cs.yml b/config/locales-glitch/cs.yml
index 08c56ef3e..940df937b 100644
--- a/config/locales-glitch/cs.yml
+++ b/config/locales-glitch/cs.yml
@@ -8,20 +8,17 @@ cs:
       captcha_enabled:
         desc_html: Tato funkce používá externí skripty služby hCaptcha, což může být problém z hlediska bezpečí a ochrany dat. Také to může <strong>některým (hlavně postiženým) lidem registrační proces výrazně zkomplikovat</strong>. Z tohoto důvodu prosím raději zvažte jiné možnosti, jako je schvalování registrací nebo registrace pouze pro zvané.<br>Uživatelům pozvaným skrze omezenou pozvánku se CAPTCHA nezobrazí.
         title: Vyžadovat po nových uživatelích opsání textu z obrázku (CAPTCHA)
-      enable_keybase:
-        desc_html: Uživatelé budou moci potvrdit svou identitu pomocí Keybase
-        title: Zapnout potvrzování pomocí Keybase
       flavour_and_skin:
         title: Rozhraní a styl
+      hide_followers_count:
+        desc_html: Nezobrazovat na uživatelských profilech počet sledujících
+        title: Schovat počet sledujících
       other:
         preamble: Různá nastavení glitch-soc, která se nevešla do jiných kategorií.
         title: Jiné
       outgoing_spoilers:
         desc_html: Při federování příspěvků se přidá toto varování o obsahu příspěvkům, které žádné nemají. To může být užitečné, pokud je váš server zaměřen na specifický obsah, pro který by jiné servery mohly varování o obsahu vyžadovat. Připojená média budou označena jako citlivá.
         title: Varování o obsahu pro odesílané příspěvky
-      hide_followers_count:
-        desc_html: Nezobrazovat na uživatelských profilech počet sledujících
-        title: Schovat počet sledujících
       show_reblogs_in_public_timelines:
         desc_html: Veřejné boosty veřejných příspěvků se zobrazí na místní a federované časové ose.
         title: Zobrazovat ve veřejných časových osách boosty
diff --git a/config/locales-glitch/en.yml b/config/locales-glitch/en.yml
index 23c566153..490069f20 100644
--- a/config/locales-glitch/en.yml
+++ b/config/locales-glitch/en.yml
@@ -8,20 +8,17 @@ en:
       captcha_enabled:
         desc_html: This relies on external scripts from hCaptcha, which may be a security and privacy concern. In addition, <strong>this can make the registration process significantly less accessible to some (especially disabled) people</strong>. For these reasons, please consider alternative measures such as approval-based or invite-based registration.<br>Users that have been invited through a limited-use invite will not need to solve a CAPTCHA
         title: Require new users to solve a CAPTCHA to confirm their account
-      enable_keybase:
-        desc_html: Allow your users to prove their identity via keybase
-        title: Enable keybase integration
       flavour_and_skin:
         title: Flavour and skin
+      hide_followers_count:
+        desc_html: Do not show followers count on user profiles
+        title: Hide followers count
       other:
         preamble: Various glitch-soc settings not fitting in other categories.
         title: Other
       outgoing_spoilers:
         desc_html: When federating toots, add this content warning to toots that do not have one. It is useful if your server is specialized in content other servers might want to have under a Content Warning. Media will also be marked as sensitive.
         title: Content warning for outgoing toots
-      hide_followers_count:
-        desc_html: Do not show followers count on user profiles
-        title: Hide followers count
       show_reblogs_in_public_timelines:
         desc_html: Show public boosts of public toots in local and public timelines.
         title: Show boosts in public timelines
diff --git a/config/locales-glitch/es.yml b/config/locales-glitch/es.yml
index ad942a0c0..d842deb67 100644
--- a/config/locales-glitch/es.yml
+++ b/config/locales-glitch/es.yml
@@ -2,15 +2,12 @@
 es:
   admin:
     settings:
-      enable_keybase:
-        desc_html: Permite a tus usuarixs comprobar su identidad por medio de keybase
-        title: Habilitar la integración con keybase
-      outgoing_spoilers:
-        desc_html: Cuando los toots federen, agrega esta etiqueta de contenido a los toots que no tengan. Es útil si tu servidor se especializa en contenido que otros servidores desearían tener con una advertencia de contenido. Los medios también se marcarán como sensibles.
-        title: Advertencia de contenido para los toots salientes
       hide_followers_count:
         desc_html: No mostrar el conteo de seguidorxs en perfiles de usuarix
         title: Ocultar conteo de seguidorxs
+      outgoing_spoilers:
+        desc_html: Cuando los toots federen, agrega esta etiqueta de contenido a los toots que no tengan. Es útil si tu servidor se especializa en contenido que otros servidores desearían tener con una advertencia de contenido. Los medios también se marcarán como sensibles.
+        title: Advertencia de contenido para los toots salientes
       show_reblogs_in_public_timelines:
         desc_html: Mostrar retoots públicos en las línea de tiempo local y pública.
         title: Mostrar retoots en líneas de tiempo públicas
diff --git a/config/locales-glitch/ja.yml b/config/locales-glitch/ja.yml
index 3ecb46ccd..54ebfaeca 100644
--- a/config/locales-glitch/ja.yml
+++ b/config/locales-glitch/ja.yml
@@ -2,15 +2,12 @@
 ja:
   admin:
     settings:
-      enable_keybase:
-        desc_html: Keybaseにより身元の証明が可能となります
-        title: Keybase統合を有効にする
-      outgoing_spoilers:
-        desc_html: トゥートが連合される際、閲覧注意としてマークされていないトゥートにこの警告が追加されます。これはあなたのインスタンスが他のインスタンスに警告をして欲しいとされる投稿に特化している場合に便利です。 メディアは閲覧注意にマークされます。
-        title: 発信するトゥートへの警告
       hide_followers_count:
         desc_html: プロフィールページのフォロワー数を見られないようにします
         title: フォロワー数を隠す
+      outgoing_spoilers:
+        desc_html: トゥートが連合される際、閲覧注意としてマークされていないトゥートにこの警告が追加されます。これはあなたのインスタンスが他のインスタンスに警告をして欲しいとされる投稿に特化している場合に便利です。 メディアは閲覧注意にマークされます。
+        title: 発信するトゥートへの警告
       show_reblogs_in_public_timelines:
         desc_html: ローカルタイムラインと連合タイムラインに公開投稿のブーストを表示します
         title: 公開タイムラインにブーストを表示
diff --git a/config/locales-glitch/simple_form.cs.yml b/config/locales-glitch/simple_form.cs.yml
index f655fed9f..8797c03eb 100644
--- a/config/locales-glitch/simple_form.cs.yml
+++ b/config/locales-glitch/simple_form.cs.yml
@@ -22,6 +22,6 @@ cs:
         setting_skin: Styl
         setting_system_emoji_font: Použít výchozí emoji systému (pouze pro rozhraní Glitch)
       notification_emails:
-        trending_tag: Nový populární hashtag vyžaduje schválení
         trending_link: Nový populární odkaz vyžaduje schválení
         trending_status: Nový populární příspěvek vyžaduje schválení
+        trending_tag: Nový populární hashtag vyžaduje schválení
diff --git a/config/locales-glitch/simple_form.en.yml b/config/locales-glitch/simple_form.en.yml
index c6e7d54ca..6930c09a6 100644
--- a/config/locales-glitch/simple_form.en.yml
+++ b/config/locales-glitch/simple_form.en.yml
@@ -22,6 +22,6 @@ en:
         setting_skin: Skin
         setting_system_emoji_font: Use system's default font for emojis (applies to Glitch flavour only)
       notification_emails:
-        trending_tag: New trending tag requires review
         trending_link: New trending link requires review
         trending_status: New trending post requires review
+        trending_tag: New trending tag requires review
diff --git a/config/locales-glitch/simple_form.ko.yml b/config/locales-glitch/simple_form.ko.yml
index f5575ed4c..193c85513 100644
--- a/config/locales-glitch/simple_form.ko.yml
+++ b/config/locales-glitch/simple_form.ko.yml
@@ -19,6 +19,6 @@ ko:
         setting_skin: 스킨
         setting_system_emoji_font: 에모지에 시스템 기본 폰트 적용하기 (글리치 풍미에만 적용됨)
       notification_emails:
-        trending_tag: 새로 유행중인 해시태그에 대한 리뷰가 필요할 때
         trending_link: 새로 유행중인 링크에 대한 리뷰가 필요할 때
         trending_status: 새로 유행중인 게시물에 대한 리뷰가 필요할 때
+        trending_tag: 새로 유행중인 해시태그에 대한 리뷰가 필요할 때
diff --git a/config/locales-glitch/simple_form.zh-CN.yml b/config/locales-glitch/simple_form.zh-CN.yml
index a82617fdb..1c72ba784 100644
--- a/config/locales-glitch/simple_form.zh-CN.yml
+++ b/config/locales-glitch/simple_form.zh-CN.yml
@@ -17,4 +17,4 @@ zh-CN:
         setting_favourite_modal: 在喜欢嘟文前询问我 (仅限于 Glitch 风味)
         setting_hide_followers_count: 隐藏你的关注者人数
         setting_skin: 皮肤
-        setting_system_emoji_font: 表情符号使用系统默认字体 (仅限于 Glitch 风味)
\ No newline at end of file
+        setting_system_emoji_font: 表情符号使用系统默认字体 (仅限于 Glitch 风味)
diff --git a/config/locales-glitch/zh-CN.yml b/config/locales-glitch/zh-CN.yml
index 37a8307e8..40a09c1c9 100644
--- a/config/locales-glitch/zh-CN.yml
+++ b/config/locales-glitch/zh-CN.yml
@@ -2,15 +2,12 @@
 zh-CN:
   admin:
     settings:
-      enable_keybase:
-        desc_html: 允许你的用户使用 Keybase 证明身份
-        title: 启用 Keybase 集成
-      outgoing_spoilers:
-        desc_html: 在联邦化嘟文的时候,将这个内容警告添加到没有内容警告的嘟文中。如果你的服务器专用于其他服务器可能希望有内容警告的内容,它会很有用。媒体也将被标记为敏感。
-        title: 对外嘟文的内容警告
       hide_followers_count:
         desc_html: 不要在用户资料中显示关注者人数
         title: 隐藏关注者人数
+      outgoing_spoilers:
+        desc_html: 在联邦化嘟文的时候,将这个内容警告添加到没有内容警告的嘟文中。如果你的服务器专用于其他服务器可能希望有内容警告的内容,它会很有用。媒体也将被标记为敏感。
+        title: 对外嘟文的内容警告
       show_reblogs_in_public_timelines:
         desc_html: 在本地和跨站时间线中显示公开嘟文的公开转嘟。
         title: 在公共时间线中显示转嘟