Browse Source

no fallback

Mantas Masalskis 3 years ago
parent
commit
fa3ed45249
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/models/translation.rb

+ 1 - 1
app/models/translation.rb

@@ -103,7 +103,7 @@ translate strings in Ruby context, e. g. for notifications
 =end
 
   def self.translate(locale, string)
-    find_source(locale, string)&.target || find_source('en', string)&.target || string
+    find_source(locale, string)&.target || string
   end
 
 =begin