Project

General

Profile

Feature #24808 » 0002-Quick-workaround-to-remove-languages-added-by-doorke.patch

Marius BĂLTEANU, 2025-05-30 20:19

View differences:

lib/redmine/i18n.rb
131 131
    end
132 132

  
133 133
    def valid_languages
134
      ::I18n.available_locales
134
      # TODO: Quick workaround to remove languages added by doorkeeper-i18n gem
135
      ::I18n.available_locales - [:be, :nb, :'zh-CN', :'zh-HK']
135 136
    end
136 137

  
137 138
    # Returns an array of languages names and code sorted by names, example:
(25-25/27)