syncthing/gui/default/assets/lang
tomasz1986 2738735321
gui: Allow to translate and fix incorrect Versions date filter ranges (#8162)
* gui: Allow to translate and fix incorrect Versions date filter ranges

Translate the previously English-only ranges used in Versions date
filter. In the process, fix the currently incorrect range calculation.

For instance, let us say it is 08:05. Selecting "today" should set the
range to start at 00:00 and end at 08:05. However, what really happens
is that both start and end are set to 08:05, and as a result "today" is
never shown to the user. The case is the same for "yesterday", which in
contrary to "today" is shown, but its range is fixed at 08:05 on the
previous day.

This commit fixes the above by always calculating "today" starting at
00:00 up to the current moment, and calculating "yesterday" from 00:00
on the previous to 00:00 on the current day.

When it comes to "last x days", the commit fixes the calculation so that
it actually covers the whole day, which is done by moving the start date
to 00:00 on the first day.

Signed-off-by: Tomasz Wilczyński <twilczynski@naver.com>
2022-02-07 21:41:05 +01:00
..
lang-bg.json gui, man, authors: Update docs, translations, and contributors 2022-02-07 03:45:33 +00:00
lang-ca@valencia.json gui, man, authors: Update docs, translations, and contributors 2022-01-31 03:45:29 +00:00
lang-cs.json gui, man, authors: Update docs, translations, and contributors 2022-01-31 03:45:29 +00:00
lang-da.json gui, man, authors: Update docs, translations, and contributors 2022-02-07 03:45:33 +00:00
lang-de.json gui, man, authors: Update docs, translations, and contributors 2022-02-07 03:45:33 +00:00
lang-el.json gui, man, authors: Update docs, translations, and contributors 2022-01-31 03:45:29 +00:00
lang-en-AU.json gui, man, authors: Update docs, translations, and contributors 2022-01-31 03:45:29 +00:00
lang-en-GB.json gui, man, authors: Update docs, translations, and contributors 2022-01-31 03:45:29 +00:00
lang-en.json gui: Allow to translate and fix incorrect Versions date filter ranges (#8162) 2022-02-07 21:41:05 +01:00
lang-eo.json gui, man, authors: Update docs, translations, and contributors 2022-01-31 03:45:29 +00:00
lang-es-ES.json gui, man, authors: Update docs, translations, and contributors 2022-01-31 03:45:29 +00:00
lang-es.json gui, man, authors: Update docs, translations, and contributors 2022-01-31 03:45:29 +00:00
lang-eu.json gui, man, authors: Update docs, translations, and contributors 2022-01-31 03:45:29 +00:00
lang-fi.json gui, man, authors: Update docs, translations, and contributors 2022-01-31 03:45:29 +00:00
lang-fr.json gui, man, authors: Update docs, translations, and contributors 2022-02-07 03:45:33 +00:00
lang-fy.json gui, man, authors: Update docs, translations, and contributors 2022-01-31 03:45:29 +00:00
lang-hu.json gui, man, authors: Update docs, translations, and contributors 2022-01-31 03:45:29 +00:00
lang-id.json gui, man, authors: Update docs, translations, and contributors 2022-01-31 03:45:29 +00:00
lang-it.json gui, man, authors: Update docs, translations, and contributors 2022-01-31 03:45:29 +00:00
lang-ja.json gui, man, authors: Update docs, translations, and contributors 2022-01-31 03:45:29 +00:00
lang-ko-KR.json gui, man, authors: Update docs, translations, and contributors 2022-01-31 03:45:29 +00:00
lang-lt.json gui, man, authors: Update docs, translations, and contributors 2022-01-31 03:45:29 +00:00
lang-nb.json gui, man, authors: Update docs, translations, and contributors 2022-01-31 03:45:29 +00:00
lang-nl-BE.json gui, man: Update docs & translations 2018-06-13 07:45:27 +02:00
lang-nl.json gui, man, authors: Update docs, translations, and contributors 2022-02-07 03:45:33 +00:00
lang-pl.json gui, man, authors: Update docs, translations, and contributors 2022-01-31 03:45:29 +00:00
lang-pt-BR.json gui, man, authors: Update docs, translations, and contributors 2022-01-31 03:45:29 +00:00
lang-pt-PT.json gui, man, authors: Update docs, translations, and contributors 2022-01-31 03:45:29 +00:00
lang-ro-RO.json gui, man, authors: Update docs, translations, and contributors 2022-01-31 03:45:29 +00:00
lang-ru.json gui, man, authors: Update docs, translations, and contributors 2022-02-07 03:45:33 +00:00
lang-sk.json gui, man, authors: Update docs, translations, and contributors 2022-01-31 03:45:29 +00:00
lang-sl.json gui, man, authors: Update docs, translations, and contributors 2022-01-31 03:45:29 +00:00
lang-sv.json gui, man, authors: Update docs, translations, and contributors 2022-02-07 03:45:33 +00:00
lang-tr.json gui, man, authors: Update docs, translations, and contributors 2022-01-31 03:45:29 +00:00
lang-uk.json gui, man, authors: Update docs, translations, and contributors 2022-01-31 03:45:29 +00:00
lang-zh-CN.json gui, man, authors: Update docs, translations, and contributors 2022-01-31 03:45:29 +00:00
lang-zh-HK.json gui, man, authors: Update docs, translations, and contributors 2022-01-31 03:45:29 +00:00
lang-zh-TW.json gui, man, authors: Update docs, translations, and contributors 2022-01-31 03:45:29 +00:00
prettyprint.js gui, man, authors: Update docs, translations, and contributors 2022-01-10 13:48:17 +00:00
README.txt gui: Rename assets/lang/README-FIRST to README for greater visibility 2017-06-28 18:58:41 +02:00
valid-langs.js gui, man, authors: Update docs, translations, and contributors 2022-01-10 13:48:17 +00:00

All files in this directory are auto generated. Do not change any of
them. To contribute translations, please head over to

 https://www.transifex.com/projects/p/syncthing/

Any updates made on Transifex will be automatically pulled into these
files.