Commit Graph

4596 Commits

Author SHA1 Message Date
zhaoweny
8cc770467e i18n: fix crash on right clicking a Tactical Destroyer fit 2020-07-01 11:48:37 +08:00
zhaoweny
85e779469f i18n: more annotation 2020-07-01 11:48:06 +08:00
zhaoweny
bf99132f2f i18n: more string annotation 2020-06-30 17:19:40 +08:00
zhaoweny
25a694bd69 i18n: annotate copySelectDialog.py 2020-06-30 16:37:36 +08:00
zhaoweny
038b7ce931 i18n: fix 'Level Not learned' issue in #2202 (comment) 2020-06-30 15:15:15 +08:00
blitzmann
732634fefa Updated the string manipulation texts to be prefixed, allowing for better context management if needed for things like "Effects", "System Effects". Added en translations to handle them on the English side. Updated the zh translations using merge:
`msgmerge --update locale/zh_CN/LC_MESSAGES/lang.p o locale/lang.pot`
2020-06-29 20:57:17 -04:00
zhaoweny
1145a27e04 i18n_db: update shipBrowser to use displayName 2020-06-29 15:31:50 +08:00
blitzmann
9703ce70d9 Merge branch 'i18n' into i18n_db 2020-06-28 17:57:20 -04:00
blitzmann
47dd6f7bba Add annotations to the rack separators in the fitting view 2020-06-28 17:56:57 -04:00
blitzmann
77d233ca1c Fix environmental variables for localizations 2020-06-28 13:38:33 -04:00
blitzmann
b225093b1f Fix exception when opening WH projection menu (still have other issues that need to be worked out tho) 2020-06-28 11:57:39 -04:00
blitzmann
4a6a3fc6ea Keep name on group, create displayName property to point to translated version 2020-06-28 00:54:51 -04:00
blitzmann
2fd4168ab7 Fix two group name issues 2020-06-28 00:40:59 -04:00
zhaoweny
f515536d1a i18n_db: fix ValueError exception when name should be groupName 2020-06-28 11:42:27 +08:00
blitzmann
546a3b6e01 Fix turrent ammo type grouping (using English names for grouping). Also made missile damage type grouping translation-aware 2020-06-27 21:06:16 -04:00
blitzmann
977ae98ea6 more conversions on the traits 2020-06-25 21:35:26 -04:00
blitzmann
dac35597ea Update traits 2020-06-25 21:32:43 -04:00
blitzmann
42706f35c6 Update various instances where Category name wasn't displaying the translated version (in context menus) 2020-06-25 20:32:49 -04:00
blitzmann
c7ec87b979 Fix a couple of bugs by referencing raw names, and include all translations for types table 2020-06-25 19:23:28 -04:00
blitzmann
a2f65e9d46 categoryName > name (this was caused by having name not be the literal data rather than the synonym) 2020-06-24 23:59:58 -04: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
85c3158e98 i18n: unify FileDialog wildcard string annotations 2020-06-23 01:16:42 +08:00
zhaoweny
396640e5b1 i18n: annotate item stat views 2020-06-22 20:03:53 +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
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
blitzmann
02aa4eb2b4 Add UI to change language 2020-06-20 15:46:30 -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
blitzmann
413bc5d46c Minor tweaks per PR review 2020-06-20 14:59:49 -04: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
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
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
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
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
DarkPhoenix
b558ae3810 Add an option not to export charges to ESI 2020-06-15 23:38:07 +03:00