From 6d5d064461f79c51d9cc2fc6b4a90f50b78d6cee Mon Sep 17 00:00:00 2001 From: asonix Date: Thu, 23 Aug 2018 23:21:39 -0500 Subject: [PATCH] Add option in UI for Squeak, use :en as fallback --- app/helpers/settings_helper.rb | 1 + config/i18n-tasks.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/helpers/settings_helper.rb b/app/helpers/settings_helper.rb index f58d94f47..2ddc21cba 100644 --- a/app/helpers/settings_helper.rb +++ b/app/helpers/settings_helper.rb @@ -2,6 +2,7 @@ module SettingsHelper HUMAN_LOCALES = { + squeak: 'Squeak', dog: 'Dog', lion: 'Lion', en: 'English', diff --git a/config/i18n-tasks.yml b/config/i18n-tasks.yml index e4fa74893..eec8b6dbe 100644 --- a/config/i18n-tasks.yml +++ b/config/i18n-tasks.yml @@ -1,7 +1,7 @@ # i18n-tasks finds and manages missing and unused translations: https://github.com/glebm/i18n-tasks # The "main" locale. -base_locale: dog +base_locale: en data: read: - config/locales/%{locale}.yml