X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e1128054d9ff7485dde07fda0745e10c1be2151b..c38e3d61444d53ce24aea0495ae93a0ccc395c7d:/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