Commit Graph
3538 Commits
Author SHA1 Message Date
Athanasius 82fd3cd577 l10n script: With --lang output the !Language header 2021-06-07 14:34:12 +01:00
Athanasius 6d0f5259d0 Translations: Use script-provided version
This loads in to EDMarketConnector.py without errors, and a quick check
of German in Settings appeared to show all of the correct translations.
2021-06-07 14:22:33 +01:00
Athanasius 87ff0b08a1 Translations: Full phrase "Error: Check E:D journal file location" 2021-06-07 14:17:28 +01:00
Athanasius 1b3046a4f9 l10n script: Fix comparison for picking up 'before' LANG comments 2021-06-07 14:07:44 +01:00
Athanasius a1abb46ff5 l10n script: Fix/add some args help 2021-06-07 13:37:27 +01:00
Athanasius 4dc610339d Merge pull request #1152 from EDCD/enhancement/contributing-review-and-reformat
General Contributing.md and Language.md cleanup/reformat
2021-06-07 13:07:49 +01:00
Athanasius 9d46b6a7b0 Contributing: .format() still acceptable wrt translations 2021-06-07 12:58:45 +01:00
Athanasius d304c32602 Translations: LANG comment in here, not Contributing
Also changed to `# header` style formatting, with `---` separators
between major sections.
2021-06-07 12:47:48 +01:00
Athanasius 5c8b5b9914 Translations: Correct example of a non-translated {WORD}
The code needs to perform the replacement *after* translation phrase
look up.
2021-06-07 12:39:18 +01:00
Athanasius da790826e9 Contributing: missing/incorrect docstrings will fail flake8 2021-06-07 12:33:12 +01:00
Athanasius f7272ee445 Contributing: fstrings are mandatory, not only preferred
Legacy code aside....
2021-06-07 12:32:12 +01:00
Athanasius e548dce4d8 Contributing: Reference Plugin logging documentation 2021-06-07 12:31:05 +01:00
Athanasius 522f15b0c6 Contributing: 'Coding Conventions' content shouldn't be headers 2021-06-07 12:27:45 +01:00
Athanasius 93dbaee5ae Contributing: "Git commit conventions" after "General workflow"
Also linkified to the GitHub docs about 'Closes #XXX' and the like.
2021-06-07 12:26:01 +01:00
Athanasius 81652a54c2 Contributing: --- separators between each ## 2021-06-07 12:21:00 +01:00
Athanasius 3c13e84910 Contributing: Re-arrange sections more logically
1. General workflow first.
2. Then branches, including 'work in progress'.
3. Followed by tags.
4. *Then* 'Version conventions'.
2021-06-07 12:18:56 +01:00
Athanasius 9dcb79a5db Contributing: Minor grammar/punctuation 2021-06-07 12:11:58 +01:00
Athanasius 54b57db329 Contributing: <type>/<issue number>/<title> now mandated 2021-06-07 12:10:43 +01:00
Athanasius 3edf4ed069 Contributing: re-format 'Work on Issues' 2021-06-07 12:04:14 +01:00
Athanasius f80130a1de Merge pull request #1150 from A-UNDERSCORE-D/enhancement/ast-lang-update
Added AST based LANG translation string detection
2021-06-07 12:01:55 +01:00
A_D 6b7cb2a366 Fixed overindented titles 2021-06-07 12:54:01 +02:00
A_D 2fb47377a3 Added comments 2021-06-07 12:43:22 +02:00
A_D 18c1bb1102 Made quoting consistent 2021-06-07 12:43:21 +02:00
A_D 7d77e4586b Appeased the flake8 gods 2021-06-07 12:43:21 +02:00
A_D 398bc76056 returned string rather than printing 2021-06-07 12:43:21 +02:00
A_D 9c4bc182ca Added LANG file generation and comment extraction 2021-06-07 12:43:16 +02:00
A_D 0c5806e12c Made json output easier to work with 2021-06-07 12:42:07 +02:00
A_D dbea29194b Added the ability to compare to another LANG file 2021-06-07 12:42:07 +02:00
A_D 5bdbf334ae Remove hack 2021-06-07 12:42:07 +02:00
A_D b19f956219 use stderr 2021-06-07 12:42:06 +02:00
A_D ce8fea9f1a its not globbed 2021-06-07 12:42:06 +02:00
A_D 2281124807 Added AST based LANG translation string detection 2021-06-07 12:42:06 +02:00
Athanasius 372ba00cbd Merge pull request #1151 from EDCD/enhancement/contributing-logging-and-misc
Contributing: Add section on choosing the correct logging level
2021-06-07 11:38:16 +01:00
Athanasius 3975aa3e87 Contributing: Choose an appropriate logging level
Open to comments on my definitions.
2021-06-07 11:16:02 +01:00
Athanasius f6f5a8a8fe Contributing: Fix header levels after 'Scope changes' 2021-06-07 11:03:41 +01:00
Athanasius 367b148126 Merge pull request #1141 from A-UNDERSCORE-D/fix/logging_classvar_test_fails
Fixed line numbers for test
2021-06-07 10:53:17 +01:00
Athanasius 52dffc5c53 Merge pull request #1139 from A-UNDERSCORE-D/fix/1138-empty-backpack-json
Fixed erroring on empty backpack.json
2021-06-07 10:50:06 +01:00
Athanasius 5acb5e6140 EDMarketConnector: import update needed for type checking 2021-06-05 09:20:17 +01:00
Athanasius 73ead7c4ef Translations: Add generic 'Check', as in 'Check E:D journal file location' 2021-06-05 09:19:47 +01:00
Athanasius 09da4576bf plugins/coriolis: Correct case of translated string 2021-06-05 08:54:55 +01:00
Athanasius ce9e7985c7 Release 5.1.0: Post-release bump of appversion to next-beta0 2021-06-04 19:26:31 +01:00
Athanasius 87da6af6b8 Releasse 5.1.0: Changelog: Thank Translators Release/5.1.0 2021-06-04 19:06:41 +01:00
Athanasius 704bbb3982 Release 5.1.0: Translations updated from OneSky
That includes the en.strings > en.template diff for order.
2021-06-04 19:05:38 +01:00
Athanasius e522a50cb0 Release 5.1.0: Changelog - Inara Location events resolved 2021-06-04 19:02:08 +01:00
Athanasius ac846dfc52 Merge branch 'develop' into release-5.1.0 2021-06-04 19:00:38 +01:00
Athanasius 3c7d922705 Merge pull request #1144 from EDCD/fix/inara-too-many-setlocation
inara: Don't send a generic setCommanderTravelLocation - be specific
2021-06-04 19:00:21 +01:00
Athanasius 1d3ee4d6a9 Inara: Fix case on Inara 'marketID' key 2021-06-04 18:58:41 +01:00
Athanasius 7a69ca5e6b Inara: Remove useless/wrong setCommanderTravelLocation from SupercruiseEntry
This is old code, pre-dating the move to EDCD.  We could only possibly
set the system name and address from this, and would always have already
set this from login Location event, or any jump-in event.
2021-06-04 18:57:05 +01:00
Athanasius f6777f0237 Inara: Only ApproachSettlement if we have system & fix key case
* If you're near a settlement on login you get an ApproachSettlement
  before `monitor` has system set to pass into `journal_entry()`.
* We had a case-type of an Inara API key, so it wasn't setting the
  BodyName.
* TRACE level logging of what we actually send to Inara.
2021-06-04 18:45:43 +01:00
Athanasius fa0a7c48a2 Inara: setCommanderTravelLocation for SupercruiseExit and ApproachSettlement 2021-06-04 17:47:32 +01:00