summaryrefslogtreecommitdiffstats
path: root/lib/redmine/i18n.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix: Float custom values with ',' as decimal separator are not converted to ↵Go MAEDA2025-02-081-1/+1
| | | | | | | | | '.' and cause SQL errors when sorting or summing (#42233). Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23495 e93f8b46-1217-0410-a6f0-8f06a7374b81
* `format_hours` method produces incorrect output for negative time values ↵Go MAEDA2025-01-301-2/+3
| | | | | | | | | when `Setting.timespan_format` is "minutes" (#42172). Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23482 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix precision issues in TimeEntry#hours calculation by returning Rational ↵Go MAEDA2024-08-311-2/+2
| | | | | | | | | instead of Float (#40914). Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23000 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix issue where minutes part of a time entry is displayed as 60 instead of ↵Go MAEDA2024-08-081-3/+3
| | | | | | | | | being carried over (#36897). Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22946 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove current year from source file copyright headers and update year in ↵Marius Balteanu2024-02-261-1/+1
| | | | | | footer to 2024 (#40043). git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support localized decimal separators for hours in the web UI (#21677).Go MAEDA2024-01-041-1/+3
| | | | | | | Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22593 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support localized decimal separators for float values (#22024).Go MAEDA2024-01-041-0/+12
| | | | | | | Patch by Liane Hampe (@liane_hampe). git-svn-id: https://svn.redmine.org/redmine/trunk@22592 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Lint/SymbolConversion (#39887).Go MAEDA2023-12-201-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22531 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Display calendar in vertical list layout on mobile screens (#33682).Go MAEDA2023-08-271-0/+4
| | | | | | | Patch by Takashi Kato. git-svn-id: https://svn.redmine.org/redmine/trunk@22283 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Restrict available locales to those defined by Redmine itself (#38529).Go MAEDA2023-05-101-1/+4
| | | | | | | Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@22237 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year to 2023 (#38141).Go MAEDA2023-01-011-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r21448 (#36998).Marius Balteanu2022-05-021-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21556 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Lazy load locales (#36728).Marius Balteanu2022-03-061-1/+1
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@21448 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Custom I18n Pluralization rules are not applied correctly (#36396).Go MAEDA2022-01-151-2/+2
| | | | | | | Contributed by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@21365 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2022 (#36379).Go MAEDA2022-01-021-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Move preparation code to redmine/preparation.rb (#29914, #32938).Marius Balteanu2021-11-171-0/+2
| | | | | | Patch by Takashi Kato. git-svn-id: http://svn.redmine.org/redmine/trunk@21284 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2021 (#33069).Go MAEDA2021-03-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add empty line after guard clause to lib/redmine/i18n.rbToshi MARUYAMA2020-12-041-0/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20572 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove spaces inside {} of lib/redmine/i18n.rbToshi MARUYAMA2020-11-221-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20481 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove space inside array brackets from lib/redmine/i18n.rbToshi MARUYAMA2020-11-211-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20454 e93f8b46-1217-0410-a6f0-8f06a7374b81
* shorten long line of lib/redmine/i18n.rbToshi MARUYAMA2020-11-191-1/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20432 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2020 (#33069).Go MAEDA2020-03-031-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix ruby 2.7 warning: The last argument is used as the keyword parameter ↵Go MAEDA2020-01-231-4/+4
| | | | | | | | | (#32542, #31500). Patch by Seiei Miyagi. git-svn-id: http://svn.redmine.org/redmine/trunk@19454 e93f8b46-1217-0410-a6f0-8f06a7374b81
* 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