From 18bcabf26a744703660ae403014209fa78dd6c56 Mon Sep 17 00:00:00 2001 From: Claire Date: Wed, 21 Dec 2022 22:13:04 +0100 Subject: 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 --- config/locales-glitch/en.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'config/locales-glitch/en.yml') 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, this can make the registration process significantly less accessible to some (especially disabled) people. For these reasons, please consider alternative measures such as approval-based or invite-based registration.
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 -- cgit From 22d9306edc2be8e38a7264b6f3eae04006d44c09 Mon Sep 17 00:00:00 2001 From: Claire Date: Wed, 21 Dec 2022 23:49:08 +0100 Subject: Add links to glitch-soc's Crowdin (#2033) * Add link to glitch-soc's crowdin in app settings * Add mention of translations to CONTRIBUTING.md --- CONTRIBUTING.md | 6 ++++++ app/views/settings/preferences/appearance/show.html.haml | 2 ++ config/locales-glitch/en.yml | 4 ++++ 3 files changed, 12 insertions(+) (limited to 'config/locales-glitch/en.yml') diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 049cd4e29..ed670f5a6 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -6,6 +6,12 @@ Here are some guidelines, and ways you can help. > (This document is a bit of a work-in-progress, so please bear with us. > If you don't see what you're looking for here, please don't hesitate to reach out!) +## Translations + +You can submit glitch-soc-specific translations via [Crowdin](https://crowdin.com/project/glitch-soc). They are periodically merged into the codebase. + +[![Crowdin](https://badges.crowdin.net/glitch-soc/localized.svg)](https://crowdin.com/project/glitch-soc) + ## Planning ## Right now a lot of the planning for this project takes place in our development Discord, or through GitHub Issues and Projects. diff --git a/app/views/settings/preferences/appearance/show.html.haml b/app/views/settings/preferences/appearance/show.html.haml index a252289b0..946cb845d 100644 --- a/app/views/settings/preferences/appearance/show.html.haml +++ b/app/views/settings/preferences/appearance/show.html.haml @@ -11,6 +11,8 @@ - unless I18n.locale == :en .flash-message.translation-prompt #{t 'appearance.localization.body'} #{content_tag(:a, t('appearance.localization.guide_link_text'), href: t('appearance.localization.guide_link'), target: "_blank", rel: "noopener")} + = link_to t('appearance.localization.glitch_guide_link'), target: '_blank', rel: 'noopener noreferrer' do + = t('appearance.localization.glitch_guide_link_text') %h4= t 'appearance.advanced_web_interface' diff --git a/config/locales-glitch/en.yml b/config/locales-glitch/en.yml index 490069f20..e60a89e18 100644 --- a/config/locales-glitch/en.yml +++ b/config/locales-glitch/en.yml @@ -28,6 +28,10 @@ en: trending_status_cw: desc_html: When trending posts are enabled, allow posts with Content Warnings to be eligible. Changes to this setting are not retroactive. title: Allow posts with Content Warnings to trend + appearance: + localization: + glitch_guide_link: https://crowdin.com/project/glitch-soc + glitch_guide_link_text: And likewise for glitch-soc! auth: captcha_confirmation: hint_html: Just one more step! To confirm your account, this server requires you to solve a CAPTCHA. You can contact the server administrator if you have questions or need assistance with confirming your account. -- cgit