mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 11:47:56 +01:00
Various improvements (#383)
* Improve moderation page style * Increase ban period of anti-spam measures to 1 hour * Fix i18n fallbacks in production * Add EMAIL_MAIL_REPLY_TO env variable support
This commit is contained in:
committed by
GitHub
parent
a49b5695f5
commit
426d65df63
@@ -3,7 +3,7 @@ import I18n from "i18n-js"
|
||||
I18n.translations = <%= I18n::JS.filtered_translations.to_json %>
|
||||
I18n.locale = LOCALE
|
||||
I18n.defaultLocale = "en"
|
||||
I18n.fallbacks = <%= not Rails.env.development? %>
|
||||
I18n.fallbacks = IS_PRODUCTION
|
||||
|
||||
I18n.pluralization["zh-CN"] = function(count) { return ["other"] }
|
||||
I18n.pluralization["vi"] = function(count) { return ["other"] }
|
||||
|
||||
Reference in New Issue
Block a user