X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7dbc349510551bb7047414b32d2b14afebfcfab5..90f1c492271ba8a777988a4b41a53c095af9ae99:/app/models/language.rb 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