X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/dd905b5aa893918168c644045aa1b6069e95d48e..d7d1f7808ba0da37b7b7d6a769510f91cbee52b4:/app/models/language.rb?ds=sidebyside diff --git a/app/models/language.rb b/app/models/language.rb index 8d3e4583f..f1d40feea 100644 --- a/app/models/language.rb +++ b/app/models/language.rb @@ -26,7 +26,7 @@ class Language < ApplicationRecord def name name = english_name - name += " (#{native_name})" unless native_name.nil? + name += " (#{native_name})" unless native_name.nil? || native_name == english_name name end end