summaryrefslogtreecommitdiffstats
path: root/lib/redmine/i18n.rb
Commit message (Collapse)AuthorAgeFilesLines
* code cleanup: rubocop: fix Layout/ElseAlignment in lib/redmine/i18n.rbToshi MARUYAMA2019-10-171-10/+11
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18704 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes lazy loading of i18n files for 18n 1.6.0 compat (#31384).Jean-Philippe Lang2019-06-201-55/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18286 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Groups are incorrect when grouping by date without user timezone set.Jean-Philippe Lang2019-06-201-2/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18264 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year.Go MAEDA2019-05-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enable frozen_string_literal for some files under app and lib directory ↵Go MAEDA2019-03-161-1/+1
| | | | | | (#26561). git-svn-id: http://svn.redmine.org/redmine/trunk@17977 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "frozen_string_literal: false" for all files (#26561).Go MAEDA2019-03-151-0/+2
| | | | | | | This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update i18n gem to 1.5.3 (#29946).Go MAEDA2019-02-191-2/+3
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17888 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace Enumerable#sort with faster Enumerable#sort_by (#29299).Go MAEDA2018-08-021-1/+1
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17462 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright.Jean-Philippe Lang2017-06-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Turns @@languages_lookup into a cache by using ||= (#25014).Jean-Philippe Lang2017-03-021-1/+1
| | | | | | Patch by Jens Kraemer. git-svn-id: http://svn.redmine.org/redmine/trunk@16349 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Introduce a setting to change the display format of timespans to h:mm (#23996).Jean-Philippe Lang2016-11-181-2/+14
| | | | | | Patch by Jens Kraemer. git-svn-id: http://svn.redmine.org/redmine/trunk@15965 e93f8b46-1217-0410-a6f0-8f06a7374b81
* include ::I18n::Backend::Pluralization (#21856)Toshi MARUYAMA2016-03-241-0/+1
| | | | | | Contributed by Vasil Kovalevsky. git-svn-id: http://svn.redmine.org/redmine/trunk@15281 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Send a single email to admins like other notifications (#21421).Jean-Philippe Lang2016-03-201-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15266 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates copyright for 2016.Jean-Philippe Lang2016-03-131-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Typo (#21421).Jean-Philippe Lang2016-01-231-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15095 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add optional user parameter to I18n#format_time to (#21421).Jean-Philippe Lang2016-01-231-2/+2
| | | | | | This is useful for mails where times should be displayed in the timezone of the recipient - not the current user causing the mail to be sent. git-svn-id: http://svn.redmine.org/redmine/trunk@15094 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that #l_hours_short shows 2 h (#21069).Jean-Philippe Lang2015-10-301-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14766 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds translation string for hours with symbol (#21069).Jean-Philippe Lang2015-10-291-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14759 e93f8b46-1217-0410-a6f0-8f06a7374b81
* CSV importer raises I18n::InvalidLocale exception if current user's language ↵Jean-Philippe Lang2015-08-151-1/+1
| | | | | | is "(auto)" (#905, #20535). git-svn-id: http://svn.redmine.org/redmine/trunk@14504 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Import issues from CSV file (#950).Jean-Philippe Lang2015-08-141-2/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14493 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Display time spent on the issue and the total time spent like estimated ↵Jean-Philippe Lang2015-05-251-0/+4
| | | | | | hours (#17550). git-svn-id: http://svn.redmine.org/redmine/trunk@14273 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't use current user locale to format dates (#19039).Jean-Philippe Lang2015-02-081-2/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13978 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2015-01-111-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Force UTF-8 encoding of language names.Jean-Philippe Lang2014-12-261-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13807 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Make sure that invalid cache from older versions is not used for ↵Jean-Philippe Lang2014-11-021-1/+1
| | | | | | languages_options (#14534). git-svn-id: http://svn.redmine.org/redmine/trunk@13544 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ignore locales without :general_lang_name key (#18110).Jean-Philippe Lang2014-10-181-5/+13
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13450 e93f8b46-1217-0410-a6f0-8f06a7374b81
* update copyright year (#15977)Toshi MARUYAMA2014-01-291-1/+1
| | | | | | Contributed by Daniel Felix. git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright for 2013 (#12788).Jean-Philippe Lang2013-01-121-1/+1
| | | | | | Patch by Daniel Felix. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11169 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds copyright.Jean-Philippe Lang2012-11-181-0/+17
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10847 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Symbols can not be sorted with ruby1.8.Jean-Philippe Lang2012-11-181-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Cache languages names to avoid loading all translations files.Jean-Philippe Lang2012-11-181-0/+10
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10844 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a custom i18n backend that lazily loads translations files.Jean-Philippe Lang2012-11-181-1/+70
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10843 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use abbr_day_name to get the first letter of the day name (#9839).Jean-Philippe Lang2012-08-131-0/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10202 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Display dates using user's locale if available (#2190).Etienne Massip2012-06-161-3/+8
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9838 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from lib/redmine/i18n.rb.Toshi MARUYAMA2011-09-011-7/+7
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6939 e93f8b46-1217-0410-a6f0-8f06a7374b81
* replace RAILS_ROOT to Rails.root at lib/redmine/i18n.rb.Toshi MARUYAMA2011-06-171-3/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6082 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: date part of the time default format doesn't respect the date format ↵Jean-Philippe Lang2011-02-201-2/+2
| | | | | | (#7639). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4894 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Manually require i18n 0.4.2 before Rails tries to load the most recent gem ↵Jean-Philippe Lang2010-12-171-2/+2
| | | | | | | | (#7013). This workaround makes Redmine work even if i18n 0.5.0 gem is installed. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4516 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Workaround for i18n 0.4.x with the old style syntax. #6428 #5608Eric Davis2010-09-261-2/+2
| | | | | | | | This will also silance the whole trace with the deprecation warning. Contributed by Felix Schäfer git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4183 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged Rails 2.2 branch. Redmine now requires Rails 2.2.2.Jean-Philippe Lang2009-02-211-0/+79
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2493 e93f8b46-1217-0410-a6f0-8f06a7374b81