Commit Graph
95 Commits
Author SHA1 Message Date
David Sangrey 17ad4ff61a First Pass - Refactor Older Functions 2026-06-08 18:32:46 -04:00
David Sangrey ef8ba7b11f Hand Over OS to Pathlib where possible 2026-06-06 14:24:44 -04:00
David Sangrey 0d689a3c7d Centralize IS_FROZEN check 2026-01-27 23:30:49 -05:00
aussig da5bf23c58 Add missing type hinting.
Remove legacy code for parsing translations (now in `find_localised_strings.py`).
EDCD/EDMarketConnector#2586
2026-01-11 13:07:01 +00:00
David Sangrey beb68efae8 [2568] Fix Ships JSON Typo 2025-12-25 01:36:24 -05:00
David Sangrey 2041b3d3d3 [Minor] Update Type Hints and Alias Usages 2025-12-01 22:04:28 -05:00
David Sangrey a6bafe58b7 Remove Deprecated Functions 2025-11-13 21:45:06 -05:00
David Sangrey 8c88ee7d75 [#2437] Add Catch for "en" as the set language 2025-11-09 14:02:35 -05:00
David Sangrey 6d474abd01 Update Dep Warnings using Python 3.13 Syntax 2025-11-09 13:40:04 -05:00
David Sangrey a3f1c6f51f [2431] Reimplement Ctypes LongLang Check 2025-05-10 12:44:54 -04:00
David Sangrey 0a4fe05594 Merge pull request #2416 from HullSeals/enhancement/1805/more-pywin32-handoffs
[#1805/#2389] Fix Hotkey and Reduce Ctypes
2025-04-29 22:51:41 -04:00
David Sangrey 65273742d0 [#1775] Retire Usage of Assert
Removes assert statements from EDMC non-test code, paving the way to enable -OO code.
2025-04-27 21:58:01 -04:00
David Sangrey 22aa4adc6e [Minor] Remove Debug Print Statements 2025-04-27 13:22:18 -04:00
David Sangrey c2e685f561 [1805] Remove Unused Function 2025-04-27 10:37:27 -04:00
David Sangrey 4427ae6f25 [#1805] More Handover of Ctypes 2025-04-26 16:06:01 -04:00
David Sangrey b74524a4cd Merge branch 'develop' into enhancement/1805/additional-prototyping 2024-07-22 00:16:25 -04:00
David Sangrey b1ba45ab90 [1805] Update Prototypes 2024-06-10 23:29:04 -04:00
David Sangrey da5d317797 [2114] Additional Cleanup 2024-06-10 18:16:11 -04:00
David Sangrey f8b7a8b919 [2114] Cleanup Initial Commit
Some of these are already paths.
2024-06-10 17:49:13 -04:00
David Sangrey fe8818d187 [2114] Apply PathLib Handover 2024-06-10 17:21:06 -04:00
David Sangrey f56302e507 [2255] Fix Removed Comment 2024-06-09 15:56:44 -04:00
David Sangrey 7d5fdb2b84 [2255] Update Dep Comment Format 2024-06-09 15:52:44 -04:00
Bruno Marques b0e682f66c Enabled DeprecationWarning by default and fixed references 2024-06-09 18:40:03 +01:00
aussig 2dba5e4365 Merge branch 'develop' into enhancement/2188/translation-override 2024-05-12 13:34:42 +01:00
aussig 4e802b46df Merge branch 'develop' into enhancement/2188/translation-override 2024-04-28 07:10:27 +01:00
David Sangrey 26c8a8be6e [Minor] [Incoherent Type Hinting Noises] 2024-04-22 19:22:34 -04:00
David Sangrey 91e4e7998b [1812] Update Docs and Fix Compat Layer 2024-04-22 19:18:01 -04:00
David Sangrey 080d9f98f2 [1812] Handover Translations 2024-04-22 17:33:28 -04:00
aussig a863cebc66 [2188] Add optional lang parameter to l10n.Translations.translate() to allow language to be overridden. 2024-04-01 07:48:15 +01:00
David Sangrey 93d26e07e0 [2186] Remove Monitor, L10n References 2024-03-27 19:19:15 -04:00
David Sangrey 7cac00b2e8 [635] Remove Ordered Dict 2024-01-03 23:55:12 -05:00
David Sangrey 57b00c6105 [Minor] Minor Code Tweaks
Officially Deprecates ttkHyperlinkLabel/openurl() function, a few minor code readability updates, and updates dependencies
2023-12-23 20:12:17 -05:00
David Sangrey 9c9ca42c13 [Fix] Re-Add Shebangs
Required for some Unix and Mac distributions
2023-12-16 21:04:33 -05:00
David Sangrey 45a38ccdaa [2051] Dashboard, Killswitch, l10n 2023-11-17 19:21:48 -05:00
Athanasius 36bd08d715 l10n.py: Two minor typing fixes 2022-12-23 14:47:09 +00:00
Athanasius abebcf77d3 l10n: Use locale.format_string() instead of deprecated locale.format() 2022-08-13 15:34:33 +01:00
A_D bff6175ee7 Update to use sys.platform over platform 2022-01-26 18:51:49 +02:00
Athanasius fc3a7b32a3 l10n: Make the zh-CN -> zh-Hans comment a HACK 2021-12-11 14:15:30 +00:00
Athanasius 72fc78048f l10n: Change zh-CN to zh-Hans in preferred_languages(). 2021-12-11 10:59:43 +00:00
Athanasius 381c156fb9 l10n: Change _Locale.preferred_languages() to use a common return var
This is the first step before putting any necessary "difference between
OneSky and system names for languages" translations in.
2021-12-11 10:53:31 +00:00
Athanasius cc0e39b7c2 l10n.py: LANG comment pass 2021-06-07 15:34:14 +01:00
Athanasius f2ce63bfe7 l10n: Close localisation files after reading content
* These are opened in self.file() using codecs.open(), so no quick way
  to convert to a 'with'.
2021-04-01 14:45:50 +01:00
A_D 051245cf90 Renamed various config values to be backwards compatible 2021-04-01 14:45:48 +01:00
A_D 00629b7420 use _str versions of paths for string ops 2021-04-01 14:45:48 +01:00
A_D 281f66c7c1 Stringified plugin_dir for len check 2021-04-01 14:45:47 +01:00
A_D 965493ffed Silenced flake8 warning 2021-04-01 14:45:47 +01:00
A_D 6da85dc1e9 Fixed creating en.template.new as a dir 2021-04-01 14:45:47 +01:00
A_D dbc357ebcd Dont overwrite template files when generating new ones 2021-04-01 14:45:47 +01:00
A_D db06bc82af Resolved PR comments 2021-04-01 14:45:47 +01:00
A_D 1a563653da Missed a place to use pathlib.Path() 2021-04-01 14:45:47 +01:00