Go MAEDA
efe6f15276
Fix: Avoid "literal string will be frozen in the future" warning on Ruby 3.4 ( #41976 ).
...
Patch by Go MAEDA (user:maeda) and Katsuya HIDAKA (user:hidakatsuya).
git-svn-id: https://svn.redmine.org/redmine/trunk@23611 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-08 10:04:59 +00:00
Go MAEDA
005f7d2166
Fix: Float custom values with ',' as decimal separator are not converted to '.' 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
2025-02-08 06:42:11 +00:00
Go MAEDA
09167d0b32
format_hours method produces incorrect output for negative time values 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
2025-01-30 22:11:19 +00:00
Go MAEDA
8da72cb712
Fix precision issues in TimeEntry#hours calculation by returning Rational 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
2024-08-31 09:26:50 +00:00
Go MAEDA
c96ef014dd
Fix issue where minutes part of a time entry is displayed as 60 instead of 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
2024-08-08 04:24:44 +00:00
Marius Balteanu
38d950df55
Remove current year from source file copyright headers and update year in footer to 2024 ( #40043 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-26 22:55:54 +00:00
Go MAEDA
f7d2f9f00b
Support localized decimal separators for hours in the web UI ( #21677 ).
...
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22593 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-04 07:01:09 +00:00
Go MAEDA
1ab44859fe
Support localized decimal separators for float values ( #22024 ).
...
Patch by Liane Hampe (@liane_hampe).
git-svn-id: https://svn.redmine.org/redmine/trunk@22592 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-04 06:55:14 +00:00
Go MAEDA
d9ef2d191c
Fix RuboCop offense Lint/SymbolConversion ( #39887 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22531 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-20 07:16:35 +00:00
Go MAEDA
4e0bb4990c
Display calendar in vertical list layout on mobile screens ( #33682 ).
...
Patch by Takashi Kato.
git-svn-id: https://svn.redmine.org/redmine/trunk@22283 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-08-27 06:40:59 +00:00
Go MAEDA
3a75a7ecc5
Restrict available locales to those defined by Redmine itself ( #38529 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@22237 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-05-10 00:27:32 +00:00
Go MAEDA
92bd67c279
Update copyright year to 2023 ( #38141 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-01 06:19:35 +00:00
Marius Balteanu
e72790b73f
Reverts r21448 ( #36998 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21556 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-02 20:28:07 +00:00
Marius Balteanu
899df6a051
Lazy load locales ( #36728 ).
...
Patch by Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@21448 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-06 17:23:36 +00:00
Go MAEDA
09dc778eb2
Custom I18n Pluralization rules are not applied correctly ( #36396 ).
...
Contributed by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@21365 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-15 03:18:33 +00:00
Go MAEDA
3686b77eb6
Update copyright year in source files to 2022 ( #36379 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-02 05:29:10 +00:00
Marius Balteanu
87097f2204
Move preparation code to redmine/preparation.rb ( #29914 , #32938 ).
...
Patch by Takashi Kato.
git-svn-id: http://svn.redmine.org/redmine/trunk@21284 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-11-17 20:45:39 +00:00
Go MAEDA
3e36b5c452
Update copyright year in source files to 2021 ( #33069 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-25 06:58:56 +00:00
Toshi MARUYAMA
8cd42bc603
add empty line after guard clause to lib/redmine/i18n.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20572 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-04 13:59:36 +00:00
Toshi MARUYAMA
2d5b773711
remove spaces inside {} of lib/redmine/i18n.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20481 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-22 13:43:51 +00:00
Toshi MARUYAMA
d42d324a3f
remove space inside array brackets from lib/redmine/i18n.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20454 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-21 13:51:27 +00:00
Toshi MARUYAMA
f3f884854c
shorten long line of lib/redmine/i18n.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20432 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-19 13:30:23 +00:00
Go MAEDA
907e0173e4
Update copyright year in source files to 2020 ( #33069 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-03 00:24:10 +00:00
Go MAEDA
ba7d4745e2
Fix ruby 2.7 warning: The last argument is used as the keyword parameter ( #32542 , #31500 ).
...
Patch by Seiei Miyagi.
git-svn-id: http://svn.redmine.org/redmine/trunk@19454 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-23 15:42:50 +00:00
Toshi MARUYAMA
186329ef04
code cleanup: rubocop: fix Layout/ElseAlignment in lib/redmine/i18n.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18704 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-17 11:22:17 +00:00
Jean-Philippe Lang
3878f39216
Removes lazy loading of i18n files for 18n 1.6.0 compat ( #31384 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18286 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 08:41:34 +00:00
Jean-Philippe Lang
001853ef79
Groups are incorrect when grouping by date without user timezone set.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18264 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 06:23:48 +00:00
Go MAEDA
4082069c75
Update copyright year.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-25 07:36:06 +00:00
Go MAEDA
07b3087fda
Enable frozen_string_literal for some files under app and lib directory ( #26561 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17977 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-16 09:37:35 +00:00
Go MAEDA
5861160ffc
Add "frozen_string_literal: false" for all files ( #26561 ).
...
This will be changed to true in the future.
git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 01:32:57 +00:00
Go MAEDA
7d03c9c6ed
Update i18n gem to 1.5.3 ( #29946 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17888 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-02-19 10:29:20 +00:00
Go MAEDA
eee1c36b4b
Replace Enumerable#sort with faster Enumerable#sort_by ( #29299 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17462 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-08-02 21:54:21 +00:00
Jean-Philippe Lang
7fd04e1f8d
Update copyright.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-25 08:40:31 +00:00
Jean-Philippe Lang
64b30de787
Turns @@languages_lookup into a cache by using ||= ( #25014 ).
...
Patch by Jens Kraemer.
git-svn-id: http://svn.redmine.org/redmine/trunk@16349 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-02 19:42:18 +00:00
Jean-Philippe Lang
5495e6f342
Introduce a setting to change the display format of timespans to h:mm ( #23996 ).
...
Patch by Jens Kraemer.
git-svn-id: http://svn.redmine.org/redmine/trunk@15965 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-11-18 12:42:20 +00:00
Toshi MARUYAMA
7bd38343dc
include ::I18n::Backend::Pluralization ( #21856 )
...
Contributed by Vasil Kovalevsky.
git-svn-id: http://svn.redmine.org/redmine/trunk@15281 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-24 12:27:57 +00:00
Jean-Philippe Lang
46a4151f09
Send a single email to admins like other notifications ( #21421 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15266 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-20 07:23:33 +00:00
Jean-Philippe Lang
cda9c63d9c
Updates copyright for 2016.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-13 10:30:10 +00:00
Jean-Philippe Lang
98abc9838a
Typo ( #21421 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15095 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-23 08:35:48 +00:00
Jean-Philippe Lang
fe5ed8e6cc
Add optional user parameter to I18n#format_time to ( #21421 ).
...
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
2016-01-23 08:29:59 +00:00
Jean-Philippe Lang
f29aa17f1b
Fixed that #l_hours_short shows 2 h ( #21069 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14766 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-30 08:56:19 +00:00
Jean-Philippe Lang
088cab5a14
Adds translation string for hours with symbol ( #21069 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14759 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-29 14:01:41 +00:00
Jean-Philippe Lang
5fffbdc016
CSV importer raises I18n::InvalidLocale exception if current user's language is "(auto)" ( #905 , #20535 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14504 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-15 09:19:12 +00:00
Jean-Philippe Lang
035edd39c4
Import issues from CSV file ( #950 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14493 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-14 08:20:32 +00:00
Jean-Philippe Lang
31bffaa053
Display time spent on the issue and the total time spent like estimated hours ( #17550 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14273 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-05-25 12:06:38 +00:00
Jean-Philippe Lang
4a6b784d14
Don't use current user locale to format dates ( #19039 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13978 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-08 09:34:48 +00:00
Jean-Philippe Lang
000124f44f
Copyright update.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-11 09:09:50 +00:00
Jean-Philippe Lang
3fcd683e6b
Force UTF-8 encoding of language names.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13807 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-26 11:38:52 +00:00
Jean-Philippe Lang
4e815e25d7
Make sure that invalid cache from older versions is not used for languages_options ( #14534 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13544 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-02 21:25:59 +00:00
Jean-Philippe Lang
6bdef3ca64
Ignore locales without :general_lang_name key ( #18110 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13450 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-18 09:07:51 +00:00