Commit Graph

25 Commits

Author SHA1 Message Date
Yuri D'Elia
900443286d lang-check: fancy ruler 2021-04-26 13:40:55 +02:00
3d-gussner
c11e06b2d4 Fix character ruler for too many rows 2021-04-26 12:49:05 +02:00
3d-gussner
79f6095bcc Add character ruler 2021-04-26 11:39:37 +02:00
Yuri D'Elia
ceb1d2aaaf lang-check: handle/warn about trailing whitespace 2021-04-24 01:03:38 +02:00
Yuri D'Elia
ecc375f94f lang-check: improve error strings 2021-04-24 00:16:46 +02:00
Yuri D'Elia
e3ec295a0e lang-check: add checks for % escapes 2021-04-23 23:59:50 +02:00
Yuri D'Elia
0db2c5c28a lang-check: cleanup 2021-04-23 23:19:16 +02:00
Yuri D'Elia
5f0f6d740f lang-check: attempt at spotting short translations 2021-04-23 23:08:02 +02:00
Yuri D'Elia
68fc2c71bb lang-check: add basic punctuation checks 2021-04-23 22:49:27 +02:00
Yuri D'Elia
2ceb3897f1 lang-check: respect --no-warning 2021-04-23 22:49:00 +02:00
Yuri D'Elia
201d2a2434 lang-check: handle backslash sequences 2021-04-23 16:15:24 +02:00
Yuri D'Elia
27d7edae10 lang-check: highlight truncated strings 2021-04-23 15:49:19 +02:00
Yuri D'Elia
e4655e5afa lang-check: pretty-print errors to aid in translation 2021-04-23 15:31:01 +02:00
Yuri D'Elia
695af99ada lang-check: simplify wrapping, wrap according to cols 2021-04-23 15:31:01 +02:00
Yuri D'Elia
340928acc3 lang-check: print a warning if cols!=20 on multiline messages 2021-04-23 15:31:01 +02:00
Yuri D'Elia
90a9e350c0 Remove warnings caused by '\x00'
Manually unescape '\x00' for the time being, removing spurious warnings.
2021-04-23 12:37:54 +02:00
Yuri D'Elia
2e6e2c4fde Do not output colors when redirecting output 2021-04-23 12:29:57 +02:00
Yuri D'Elia
8b5d01e3b1 Be more strict when checking translation lenght
Strip quotes immediately so that we can measure strings easily.
For single-line strings, check the translation lenght correctly.
2021-04-23 12:18:50 +02:00
3d-gussner
8eeb177c7e Use textwarp to check the message length and rows
@DRracer: Added origial English text to the output, added cols and rows as well
2021-04-23 08:46:32 +02:00
3d-gussner
681bc560c9 Merge remote-tracking branch 'upstream/MK3_3.10.0' into PFW-1189 2021-04-22 20:43:54 +02:00
3d-gussner
d9b820690e Merge remote-tracking branch 'upstream/MK3' into MK3_Dutch
fix merge issues
2021-02-25 09:56:23 +01:00
3d-gussner
bd7bb5acb3
Update new messages and their translations (#2835)
* Add missing translations

* Add missing CZ and IT translations

* Update CZ, FR, IT, ES translations
CZ thanks to @DRracer
FR thanks to Carlin Dcustom
ES tried myself
IT thanks to @wavexx

Only missing is PL

* Improve wording +change keys

* Add missing PL translations

* Fix copy paste error in Italian
fix double translations

* Make PL translation shorter

* Fix some length issues and capital letters

* Fixed again translations length issues
updated po files

* Update FR translation - thanks @awenelo

* Fix execution of lang-check.py

- Make lang-check.py executable
- Execute directly instead of specifying the python interpreter manually
  ("python" is no longer available on Debian, and would default to
  version 2 prior to that despite being written for python 3)

* Fix permissions of translation files

Co-authored-by: D.R.racer <drracer@drracer.eu>
Co-authored-by: Yuri D'Elia <wavexx@thregr.org>
2020-09-18 16:50:25 +02:00
3d-gussner
9a7a909c6f Prepare adding new language 2019-09-14 15:49:33 +02:00
3d-gussner
e46cc30c61 Fix length false positives...
- Just reading the length of the translation line gives false positives as the " are included in the length BUT not displayed on the LCD.
- added missing argument 'pl'
2019-06-13 18:00:31 +02:00
Ondrej Tuma
0ba2f39216 Check translation dictionary files to display definition 2019-05-07 12:57:31 +02:00