about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/application.rb5
-rwxr-xr-xconfig/locales/en-cafe.yml18
2 files changed, 21 insertions, 2 deletions
diff --git a/config/application.rb b/config/application.rb
index 9c632fefc..68a1917b7 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -58,6 +58,7 @@ module Mastodon
       :de,
       :el,
       :en,
+      :'en-cafe',
       :eo,
       :es,
       :'es-AR',
@@ -119,11 +120,11 @@ module Mastodon
     config.i18n.default_locale = ENV['DEFAULT_LOCALE']&.to_sym
 
     unless config.i18n.available_locales.include?(config.i18n.default_locale)
-      config.i18n.default_locale = :en
+      config.i18n.default_locale = :'en-cafe'
     end
 
     # fall back to English when a translation cannot be found
-    config.i18n.fallbacks = [:en]
+    config.i18n.fallbacks = [:'en-cafe', :en]
 
     # config.paths.add File.join('app', 'api'), glob: File.join('**', '*.rb')
     # config.autoload_paths += Dir[Rails.root.join('app', 'api', '*')]
diff --git a/config/locales/en-cafe.yml b/config/locales/en-cafe.yml
new file mode 100755
index 000000000..c41527468
--- /dev/null
+++ b/config/locales/en-cafe.yml
@@ -0,0 +1,18 @@
+---
+en-cafe:
+  about:
+    hosted_on: GlitchCafé hosted on %{domain}
+    unavailable_content: Domain blocks
+    unavailable_content_description:
+      domain: Instance
+      reason: Reason
+      rejecting_media: 'Media files from these instances will not be processed or stored, and no thumbnails will be displayed, requiring manual click-through to the original file:'
+      rejecting_media_title: Filtered media
+      silenced: 'Posts from these instances will be hidden in public timelines and conversations, and no notifications will be generated from their users interactions, unless you are following them:'
+      silenced_title: Silenced instances
+      suspended: 'No data from these instances will be processed, stored or exchanged, making any interaction or communication with users from these instances impossible:'
+      suspended_title: Suspended instances
+  auth:
+    description:
+      prefix_invited_by_user: "@%{name} invites you to join %{title}!"
+      prefix_sign_up: Sign up on %{intance} today!