Gleb Mazovetskiy
4f64b87330
Fix talk/store text overlap for Chinese and Japanese
...
We ensure that selectable lines are placed at the same vertical
coordinates but space out unselectable text lines at the cost
of reduced heigh of empty space between the store items.
We also have to move the back button in scrollable lists to the
lower right.
This can definitely be improved further but at least it solves
the problem for now.
Refs #3162
2021-11-20 02:31:21 +00:00
Anders Jenbo
671fdbd125
Implement contextural translation (pgettext)
...
Fixes #2369
Fixes #2790
2021-09-20 04:18:35 +02:00
Anders Jenbo
5c2a559487
Get default langauge
2021-08-01 12:35:24 +02:00
Anders Jenbo
18f3a0c5ea
✨ Support for plural forms in translations
...
The implementation isn't robust, dynamic or pretty, but works for now.
2021-05-01 19:27:55 +02:00
Gleb Mazovetskiy
979bedb8c2
🐞 Fix memory leaks in utils/language.{h,cpp}
...
This is a minimal refactoring to fix the memory leaks which have made
reading debug output impossible.
2021-04-30 14:16:13 +02:00
Gleb Mazovetskiy
c025bf6050
🎨 Fix line endings in utils/language.{h,cpp}
2021-04-30 14:16:13 +02:00
John Törnblom
9c61baea9f
parse translation metadata
2021-04-25 12:42:00 +02:00
Anders Jenbo
32117dc73b
🔧 Create translation template and update translations
2021-04-25 04:56:15 +02:00
John Törnblom
04269dedcd
add translation macro for msgids defined in the global scope
2021-04-25 03:40:51 +02:00
John Törnblom
51e7a169a6
add initial language support using a simple MO parser
2021-04-25 03:40:45 +02:00