Fix typo in English locale

This commit is contained in:
Omar Roth 2019-10-20 21:01:27 -04:00
parent 2d78e35e16
commit 007646774e
No known key found for this signature in database
GPG key ID: B8254FB7EC3D37F2
2 changed files with 2 additions and 2 deletions

View file

@ -168,7 +168,7 @@
"Blacklisted regions: ": "Blacklisted regions: ",
"Shared `x`": "Shared `x`",
"`x` views": {
"([^0-9]|^)1([^,0-9]|$)": "`x` views",
"([^0-9]|^)1([^,0-9]|$)": "`x` view",
"": "`x` views"
},
"Premieres in `x`": "Premieres in `x`",

View file

@ -2032,7 +2032,7 @@ post "/preferences" do |env|
PG_DB.exec("UPDATE users SET preferences = $1 WHERE email = $2", preferences, user.email)
if config.admins.includes? user.email
config.default_user_preferences.default_home = env.params.body["admin_default_home"]?.try &.as(String) || CONFIG.default_user_preferences.default_home
config.default_user_preferences.default_home = env.params.body["admin_default_home"]?.try &.as(String) || config.default_user_preferences.default_home
admin_feed_menu = [] of String
5.times do |index|