blitzmann
079256a99f
some tweaks to get the languages to compile
2020-06-24 13:01:36 -04:00
blitzmann
bcd7e6d56d
Add language compilation to build process (maybe?)
2020-06-24 12:51:19 -04:00
blitzmann
e56db0d129
add script to automatically generate all languages
2020-06-24 12:47:11 -04:00
blitzmann
6035d26dd0
add msgfmt.py to scripts/ to have a way to produce localizations
2020-06-24 12:11:24 -04:00
Ryan Holmes
61127dc4d3
Merge pull request #2204 from zhaoweny/i18n
...
i18n: annotate Preferences, update zh_CN translations
2020-06-24 09:48:47 -04:00
zhaoweny
f4f0dc775c
i18n/zh_CN: update translation for context menus
2020-06-23 16:45:30 +08:00
zhaoweny
d33976a2ad
i18n: more annotation for context menus, stats view tooltips
2020-06-23 15:55:28 +08:00
zhaoweny
1c4de8b259
i18n: annotate gui/builtinContextMenus
2020-06-23 15:55:16 +08:00
zhaoweny
1079371ecf
i18n/zh_CN: update translation for unified wildcard annotations
2020-06-23 01:36:00 +08:00
zhaoweny
85c3158e98
i18n: unify FileDialog wildcard string annotations
2020-06-23 01:16:42 +08:00
zhaoweny
2d97f0952e
i18n/zh_CN: translation for item stat views
2020-06-22 20:04:21 +08:00
zhaoweny
396640e5b1
i18n: annotate item stat views
2020-06-22 20:03:53 +08:00
zhaoweny
aa8a03b18b
i18n/zh_CN: update translation
2020-06-22 17:56:35 +08:00
zhaoweny
889e901cbd
i18n: improve string literal annotations
...
1. annotate more strings for statsViews, itemStats
2. fix raw title and description for preferences
3. fix crash on opening AttributeEditor, characterEditor
2020-06-22 17:55:58 +08:00
zhaoweny
07696ce0ed
i18n: fix typos in locale/README.md
2020-06-22 10:16:48 +08:00
zhaoweny
ffdbab87e9
i18n/zh_CN: lots of new strings for Preferences, more translations
2020-06-21 17:23:46 +08:00
zhaoweny
4eda1a1d66
i18n: minor tweaks for easier translation
...
1. tweaks for characterEditor.py and patternEditor.py according to PR discussion.
2. fix for "Recent Fits" label not translated
2020-06-21 17:11:58 +08:00
zhaoweny
29ec297acb
i18n: annotate string literals in gui/builtinPreferenceViews
2020-06-21 16:06:43 +08:00
zhaoweny
7cd7d475db
i18n: minor tweaks for locale/README.md
2020-06-21 15:35:41 +08:00
blitzmann
02aa4eb2b4
Add UI to change language
2020-06-20 15:46:30 -04:00
blitzmann
7cf9326311
Add language to eos config
...
This should be accessible now when table mapping occurs, so we should be able to use it to determine which column to pull from for translation values.
2020-06-20 15:31:10 -04:00
blitzmann
2214269cca
Bring language selection to the forefront before wx app initialization
2020-06-20 15:20:56 -04:00
blitzmann
9b73f1c221
Final conversion of _t()
2020-06-20 15:13:33 -04:00
blitzmann
339367f730
More _t() conversion
2020-06-20 15:09:42 -04:00
blitzmann
68f7e6c709
Start converting _() to _t()
2020-06-20 15:07:14 -04:00
Ryan Holmes
eb657e804c
Merge pull request #2203 from zhaoweny/i18n
...
I18n: more zh_CN translations and a better locale/README.md
2020-06-20 15:01:13 -04:00
blitzmann
413bc5d46c
Minor tweaks per PR review
2020-06-20 14:59:49 -04:00
zhaoweny
e4e49cef54
i18n: extend locale/README.md and add translation workflow detail
2020-06-20 21:43:47 +08:00
zhaoweny
49cf03759b
i18n: fix unresolved reference Inspection errors
2020-06-20 17:57:01 +08:00
zhaoweny
a05e7dbad1
i18n/zh_CN: add more UI translation
2020-06-20 17:42:52 +08:00
zhaoweny
d28665f172
i18n/zh_CN: add lots of UI translation
2020-06-20 16:03:42 +08:00
Ryan Holmes
1848acc1ba
Merge pull request #2201 from pyfa-org/i18n_zhaoweny
...
I18n - zhaoweny
2020-06-19 23:22:40 -04:00
blitzmann
d9e5349edd
Move supported languages to the LocaleSettings class, and use the command parameter as an override
2020-06-19 22:44:09 -04:00
blitzmann
d939b0e565
rename pyfa.po to lang.po
2020-06-19 22:27:35 -04:00
blitzmann
c290e9e23a
Add various references
2020-06-19 22:25:23 -04:00
zhaoweny
ce0d8b1247
i18n/zh_CN: add more translation for builtinStatsViews
...
(cherry picked from commit 97c1c597c8c75450350123ed471f082e5ad8dabd)
2020-06-19 22:20:37 -04:00
zhaoweny
834e4a3d6e
i18n: implement LocaleSettings, use wx.GetTranslation instead of gettext
...
(cherry picked from commit 3648a5c8c7b230a4b695a29ebfaad3877e7b644f)
2020-06-19 22:19:20 -04:00
zhaoweny
3d9b4c11d4
i18n/zh_CN: reformat code and ignore _
...
1. update `Pyfa_Inspections.xml` to ignore `_`
i18n module `gettext` will do a `gettext.install(...)` to put `_` function into `builtin` module. Currently PyCharm does not recognize this as a function and report as unresolved reference.
2. reformat code to remove padding for vertical dicts
3. update `Pyfa_CodeStyle.xml` to not pad vertical dicts
(cherry picked from commit e5a570a0078f05fe34c473841af6b7746e06bfca)
2020-06-19 22:17:49 -04:00
zhaoweny
2d3a661442
i18n/zh_CN: update zh_CN translation for lots of StatsViews
...
(cherry picked from commit bdac2f825fba27000c87f20de8e09e61ae1376d2)
2020-06-19 22:17:21 -04:00
zhaoweny
343f4a5196
i18n/zh_CN: basic gettext i18n setup and demo for zh_CN translation
...
(cherry picked from commit 8fe58a95f7d9c08d792b8e17605700607662f7c9)
2020-06-19 22:15:44 -04:00
blitzmann
31fd480fb0
Fix some missing references
2020-06-19 21:54:30 -04:00
blitzmann
8e83adf7db
Merge tag 'v2.22.1' into i18n
...
# Conflicts:
# gui/esiFittings.py
2020-06-19 21:51:45 -04:00
blitzmann
7fa638f62b
More localization
2020-06-19 11:35:37 -04:00
DarkPhoenix
31cae0e54b
Bump version
2020-06-18 17:28:02 +03:00
DarkPhoenix
b2cc3ae600
Update static data to 1751741
2020-06-18 13:52:46 +03:00
DarkPhoenix
62d1d6a06d
Avoid crash when nothing is selected
2020-06-18 06:04:23 +03:00
DarkPhoenix
83fa567321
Pass primitives around instead of SQL Alchemy objects
2020-06-18 05:33:12 +03:00
DarkPhoenix
9b315b5870
Fix a few mistypes
2020-06-17 21:53:24 +03:00
DarkPhoenix
3094fd32fc
Add destructible beacons to projected effects
2020-06-17 17:07:34 +03:00
DarkPhoenix
c3f1824a84
Rename charge export button
2020-06-16 21:06:42 +03:00