Commit Graph

1792 Commits

Author SHA1 Message Date
Alvin Wong
6f4f4d9733 Move string compression to Python
... so that the script can know its uncompressed size and calculate the
appropriate buffer size.
2021-04-16 17:55:30 +08:00
Ben V. Brown
c6c75c83ab Merge branch 'master' into update-translations 2021-04-16 09:45:03 +10:00
Ben V. Brown
034232c81a Merge pull request #931 from discip/patch-2
Update translation_EN.json
2021-04-16 09:44:48 +10:00
Alvin Wong
d661e0eb91 Update Chinese and Japanese translations 2021-04-16 01:01:13 +08:00
discip
b03343886e Merge branch 'master' into patch-2 2021-04-15 18:11:44 +02:00
Alvin Wong
90426b2b22 Change TranslationEditor to handle fonts spec 2021-04-15 14:32:09 +08:00
Alvin Wong
cf154114d7 Change translation defs to specify fonts to use 2021-04-15 14:32:09 +08:00
Alvin Wong
9f179f2371 Make BitmapEditor work with hex escape literals 2021-04-15 14:32:09 +08:00
Alvin Wong
e601b762b0 Change font table in Python to use bytes literals 2021-04-15 14:32:09 +08:00
Alvin Wong
4f28b3d48a Split font tables into sections 2021-04-15 14:32:09 +08:00
Ben V. Brown
2228aa7fd1 Merge pull request #930 from discip/patch-1
Update translation_DE.json
2021-04-15 11:49:27 +10:00
discip
64fdf0b7ec Update translation_EN.json 2021-04-15 03:31:57 +02:00
discip
d1d6ce5403 Update translation_DE.json 2021-04-15 03:19:45 +02:00
Ben V. Brown
bd60f0592f Merge pull request #929 from Dids/master
Updated Finnish translation
2021-04-14 00:01:29 +10:00
Ben V. Brown
17913573bd Merge branch 'master' into master 2021-04-13 21:43:08 +10:00
Ben V. Brown
3ecd8f4955 Merge pull request #927 from alvinhochun/string-compression
Initial implementation of translation strings compression
2021-04-13 21:42:10 +10:00
Pauli Jokela
f11a70ab2b Updated Finnish translation 2021-04-13 14:14:47 +03:00
Alvin Wong
4a6b55c52c Merge branch 'master' into string-compression 2021-04-13 18:31:16 +08:00
Alvin Wong
460d48fafb Reduce code duplication 2021-04-13 18:30:27 +08:00
Ben V. Brown
264bd12adb Merge branch 'master' into messing_with_pd 2021-04-13 11:34:22 +10:00
Ben V. Brown
022879babd Merge pull request #924 from alvinhochun/lang-jp
Add Japanese translation
2021-04-13 08:24:11 +10:00
Ben V. Brown
4ac9ecad3b Merge pull request #928 from alvinhochun/update-zh-translations
Update Chinese translations
2021-04-13 08:10:05 +10:00
Alvin Wong
545349da1b Update Chinese translations 2021-04-12 21:41:52 +08:00
Alvin Wong
001d91988c Fix formatting 2021-04-12 20:45:26 +08:00
Alvin Wong
11f40cfc1b Reformat lzfx sources 2021-04-12 20:07:06 +08:00
Alvin Wong
07fb8adb7f Impl. initial translation strings compression 2021-04-12 19:57:29 +08:00
Alvin Wong
2f2575c0b7 Refactor make_translation.py to split parsing and writing 2021-04-12 17:20:19 +08:00
alvinhochun
489a099292 Merge pull request #1 from skishida/lang-jp
Updating Japanese translation
2021-04-12 14:28:09 +08:00
skishida
df1507f761 Update translation_JA_JP.json
updating subtle expression
2021-04-12 00:57:11 +09:00
skishida
e774ff6e15 Update translation_JA_JP.json
Translation in `LockingMode` has been fixed.
other is just updating nuance
2021-04-12 00:40:58 +09:00
skishida
b16afb90f4 Update translation_JA_JP.json 2021-04-11 20:48:36 +09:00
Alvin Wong
570fa16d44 Some refactoring of make_translation.py 2021-04-11 00:05:06 +08:00
Alvin Wong
d53245f8a3 Simplify some Python code 2021-04-10 19:40:33 +08:00
Ben V. Brown
3e7dd3b150 Merge branch 'master' into messing_with_pd 2021-04-10 11:40:31 +10:00
Ben V. Brown
1ad1e51fdc Merge pull request #926 from alvinhochun/translation-refactor
Change internal representation of translation strings
2021-04-10 11:31:57 +10:00
Alvin Wong
f86629657a Fix python type hints
(Checked using mypy)
2021-04-10 02:24:25 +08:00
Alvin Wong
b17e49f54f Do suffix merging for translations
The size savings are very negligible but I implemented it anyway.
2021-04-10 00:44:48 +08:00
Alvin Wong
4061a35b6f Refactor make_translation bytes escaping
- Change font table to store bytes instead of escape sequences
- Add function to convert bytes to escape sequences
- Update tests
2021-04-09 23:04:38 +08:00
Alvin Wong
880920da96 Change TranslationStrings to pointer 2021-04-09 22:22:19 +08:00
Alvin Wong
7d6d7d11c0 Put translation str indices into a struct 2021-04-09 17:20:24 +08:00
Alvin Wong
82620c685d Change translation strs to be stored in one block 2021-04-09 14:45:33 +08:00
Alvin Wong
09a58f6f48 Use settings desc by indexing instead of direct pointer 2021-04-09 03:01:14 +08:00
Alvin Wong
4810a67e2e Remove unused translation strings 2021-04-09 00:46:10 +08:00
Ben V. Brown
48c3b19622 Merge pull request #925 from federicodilo/patch-6
Small update in italian translation
2021-04-08 22:01:49 +10:00
Ben V. Brown
4ee91d45fe Cleanup duplicate code 2021-04-08 21:54:10 +10:00
Ben V. Brown
22c5f6d361 Cleanup FUSB setup 2021-04-08 21:20:25 +10:00
federicodilo
6120057e81 Small update in italian translation 2021-04-08 12:54:49 +02:00
Ben V. Brown
7a437b9265 Merge branch 'master' into messing_with_pd 2021-04-08 11:00:21 +10:00
Alvin Wong
dbcd093c77 Add Japanese translation 2021-04-07 18:46:22 +08:00
Ben V. Brown
0cd6382c02 Merge pull request #923 from alvinhochun/zh_cn
Add ZH_CN translation
2021-04-07 19:37:17 +10:00