mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2026-11-16 02:42:40 +03:00
80 files changed
+14733
-11181
No files matched your search
@@ -0,0 +1,21 @@
|
||||
# This is the project top-level .editorconfig
|
||||
root = true
|
||||
|
||||
# Defaults for all file types
|
||||
[*]
|
||||
# 4-space indents, no TABs
|
||||
indent_style = space
|
||||
tab_width = 4
|
||||
indent_size = tab
|
||||
|
||||
# Hard-wrap at 120 columns
|
||||
max_line_length = 119
|
||||
|
||||
# Windows EOL, for historical reasons
|
||||
end_of_line = crlf
|
||||
|
||||
# UTF-8 is the only sensible option, no BOM
|
||||
charset = utf-8
|
||||
|
||||
# All files should have a final newline
|
||||
insert_final_newline = true
|
||||
@@ -28,7 +28,7 @@ jobs:
|
||||
# based on.
|
||||
- name: Checkout head commits
|
||||
# https://github.com/actions/checkout
|
||||
uses: actions/checkout@v2.3.4
|
||||
uses: actions/checkout@v3
|
||||
#with:
|
||||
#ref: ${{github.head.sha}}
|
||||
#repository: ${{github.event.pull_request.head.repo.full_name}}
|
||||
@@ -52,10 +52,10 @@ jobs:
|
||||
####################################################################
|
||||
# Get Python set up
|
||||
####################################################################
|
||||
- name: Set up Python 3.9
|
||||
uses: actions/setup-python@v2.2.2
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: 3.9
|
||||
python-version-file: '.python-version'
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
|
||||
@@ -17,13 +17,13 @@ jobs:
|
||||
runs-on: ubuntu-18.04
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2.3.4
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Set up Python 3.9
|
||||
uses: actions/setup-python@v2.2.2
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: 3.9
|
||||
python-version-file: '.python-version'
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
|
||||
@@ -0,0 +1,82 @@
|
||||
---
|
||||
name: Submodule Updates
|
||||
|
||||
on:
|
||||
# We might want this on a schedule once this is in `main`
|
||||
push:
|
||||
branches: [ develop ]
|
||||
|
||||
jobs:
|
||||
check_submodules:
|
||||
name: Pull Request for updated submodules
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
PARENT_REPOSITORY: 'EDCD/EDMarketConnector'
|
||||
CHECKOUT_BRANCH: 'develop'
|
||||
PR_AGAINST_BRANCH: 'develop'
|
||||
OWNER: 'EDCD'
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: true
|
||||
|
||||
- name: Update submodules
|
||||
shell: bash
|
||||
run: |
|
||||
git config user.name github-actions
|
||||
git config user.email github-actions@github.com
|
||||
git submodule update --remote
|
||||
|
||||
- name: Check for changes
|
||||
id: check_for_changes
|
||||
continue-on-error: true
|
||||
run: |
|
||||
changes=$(git status --porcelain)
|
||||
if [ -n "${changes}" ];
|
||||
then
|
||||
echo '::set-output changes=true'
|
||||
fi
|
||||
echo '::set-output changes=false'
|
||||
exit 0
|
||||
|
||||
- name: Create submodules changes branch
|
||||
if: steps.check_for_changes.outputs.changes == 'true'
|
||||
run: |
|
||||
git checkout -b $GITHUB_RUN_ID
|
||||
git commit -am "updating submodules"
|
||||
git push --set-upstream origin $GITHUB_RUN_ID
|
||||
|
||||
- name: Create pull request against target branch
|
||||
if: steps.check_for_changes.outputs.changes == 'true'
|
||||
uses: actions/github-script@v6
|
||||
with:
|
||||
github-token: ${{ inputs.github_token }}
|
||||
script: |
|
||||
await github.rest.pulls.create({
|
||||
owner: '${{ inputs.owner }}',
|
||||
repo: '${{ inputs.parent_repository }}'.split('/')[1].trim(),
|
||||
head: process.env.GITHUB_RUN_ID,
|
||||
base: '${{ inputs.pr_against_branch }}',
|
||||
title: `[Auto-generated] Submodule Updates ${process.env.GITHUB_RUN_ID}`,
|
||||
body: `[Auto-generated] Submodule Updates ${process.env.GITHUB_RUN_ID}`,
|
||||
});
|
||||
|
||||
- name: Add labels
|
||||
if: steps.check_for_changes.outputs.changes == 'true'
|
||||
uses: actions/github-script@v6
|
||||
with:
|
||||
github-token: ${{ inputs.github_token }}
|
||||
script: |
|
||||
const res = await github.rest.issues.listForRepo({
|
||||
owner: '${{ inputs.owner }}',
|
||||
repo: '${{ inputs.parent_repository }}'.split('/')[1].trim(),
|
||||
});
|
||||
const pr = res.data.filter(i => i.title.includes(process.env.GITHUB_RUN_ID));
|
||||
const prNumber = pr[0].number;
|
||||
await github.rest.issues.addLabels({
|
||||
issue_number: prNumber,
|
||||
owner: '${{ inputs.owner }}',
|
||||
repo: '${{ inputs.parent_repository }}'.split('/')[1].trim(),
|
||||
labels: ['${{ inputs.label }}']
|
||||
});
|
||||
@@ -16,10 +16,13 @@ jobs:
|
||||
shell: powershell
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2.3.4
|
||||
- uses: actions/setup-python@v2.2.2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
python-version: "3.9.6"
|
||||
submodules: true
|
||||
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version-file: '.python-version'
|
||||
architecture: "x86"
|
||||
|
||||
- name: Install python tools
|
||||
@@ -38,7 +41,7 @@ jobs:
|
||||
python setup.py py2exe
|
||||
|
||||
- name: Upload build files
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: Built files
|
||||
path: EDMarketConnector_win*.msi
|
||||
@@ -51,7 +54,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Download binary
|
||||
uses: actions/download-artifact@v2
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: Built files
|
||||
path: ./
|
||||
|
||||
@@ -23,3 +23,5 @@ venv
|
||||
htmlcov/
|
||||
.ignored
|
||||
.coverage
|
||||
EDMarketConnector.wxs
|
||||
wix/components.wxs
|
||||
@@ -1,3 +1,6 @@
|
||||
[submodule "coriolis-data"]
|
||||
path = coriolis-data
|
||||
url = git@github.com:EDCD/coriolis-data.git
|
||||
[submodule "FDevIDs"]
|
||||
path = FDevIDs
|
||||
url = https://github.com/EDCD/FDevIDs.git
|
||||
@@ -2,3 +2,4 @@
|
||||
follow_imports = skip
|
||||
ignore_missing_imports = True
|
||||
scripts_are_modules = True
|
||||
; platform = darwin
|
||||
+17
-7
@@ -1,13 +1,19 @@
|
||||
# See https://pre-commit.com for more information
|
||||
# See https://pre-commit.com/hooks.html for more hooks
|
||||
repos:
|
||||
# This can be used to check how pre-commit is being run
|
||||
# - repo: meta
|
||||
# hooks:
|
||||
# - id: identity
|
||||
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: 'v3.4.0'
|
||||
rev: 'v4.1.0'
|
||||
hooks:
|
||||
- id: check-merge-conflict
|
||||
- id: debug-statements
|
||||
- id: end-of-file-fixer
|
||||
- id: mixed-line-ending
|
||||
- id: check-yaml
|
||||
|
||||
#- repo: https://github.com/pre-commit/mirrors-autopep8
|
||||
# rev: ''
|
||||
@@ -30,7 +36,7 @@ repos:
|
||||
types: [ python ]
|
||||
|
||||
- repo: https://github.com/pre-commit/pygrep-hooks
|
||||
rev: 'v1.8.0'
|
||||
rev: 'v1.9.0'
|
||||
hooks:
|
||||
- id: python-no-eval
|
||||
- id: python-no-log-warn
|
||||
@@ -40,10 +46,13 @@ repos:
|
||||
# mypy - static type checking
|
||||
# mypy --follow-imports skip <file>
|
||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||
rev: 'v0.812'
|
||||
rev: 'v0.931'
|
||||
hooks:
|
||||
- id: mypy
|
||||
args: [ "--follow-imports", "skip", "--ignore-missing-imports", "--scripts-are-modules" ]
|
||||
# verbose: true
|
||||
# log_file: 'pre-commit_mypy.log'
|
||||
additional_dependencies: [ types-requests ]
|
||||
# args: [ "--follow-imports", "skip", "--ignore-missing-imports", "--scripts-are-modules" ]
|
||||
|
||||
### # pydocstyle.exe <file>
|
||||
### - repo: https://github.com/FalconSocial/pre-commit-mirrors-pep257
|
||||
@@ -59,12 +68,13 @@ repos:
|
||||
|
||||
# safety.exe check -r requirements.txt
|
||||
- repo: https://github.com/Lucas-C/pre-commit-hooks-safety
|
||||
rev: 'v1.2.1'
|
||||
rev: 'v1.2.3'
|
||||
hooks:
|
||||
- id: python-safety-dependencies-check
|
||||
entry: safety
|
||||
args: [check, --bare, -r]
|
||||
args: [check, --bare, --file]
|
||||
language: system
|
||||
files: requirements-dev.txt, requirements.txt
|
||||
|
||||
# Check translation comments are up to date
|
||||
- repo: local
|
||||
@@ -77,7 +87,7 @@ repos:
|
||||
always_run: true
|
||||
|
||||
default_language_version:
|
||||
python: python3.9
|
||||
python: python3.10
|
||||
|
||||
default_stages: [ commit, push ]
|
||||
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
3.9.6
|
||||
3.10.4
|
||||
+527
-2
@@ -9,11 +9,11 @@ produce the Windows executables and installer.
|
||||
|
||||
---
|
||||
|
||||
* We now test against, and package with, Python 3.9.6.
|
||||
* We now test against, and package with, Python 3.10.4.
|
||||
|
||||
**As a consequence of this we no longer support Windows 7.
|
||||
This is due to
|
||||
[Python 3.9.x itself not supporting Windows 7](https://www.python.org/downloads/windows/).
|
||||
[Python 3.10.x itself not supporting Windows 7](https://www.python.org/downloads/windows/).
|
||||
The application (both EDMarketConnector.exe and EDMC.exe) will crash on
|
||||
startup due to a missing DLL.**
|
||||
|
||||
@@ -27,6 +27,531 @@ produce the Windows executables and installer.
|
||||
|
||||
---
|
||||
|
||||
Release 5.4.0
|
||||
===
|
||||
|
||||
* We now test against, and package with, Python 3.10.4.
|
||||
* New EDDN schema `fssbodysignals` is now supported.
|
||||
* Odyssey Update 12 will add `BodyID` to `CodexEntry` journal events, so don't
|
||||
overwrite this with an augmentation if it is already present. We've also
|
||||
added the same for `BodyName` in case Frontier ever add that.
|
||||
* [Translations](https://github.com/EDCD/EDMarketConnector/issues/24) updated.
|
||||
Thanks again to all the contributors.
|
||||
|
||||
Bug Fixes
|
||||
---
|
||||
* Cross-check the `MarketID` in CAPI data, not only the station name, to ensure
|
||||
the data is for the correct station. Closes [#1572](https://github.com/EDCD/EDMarketConnector/issues/1572).
|
||||
* Location cross-check paranoia added to several EDDN message types to ensure
|
||||
no bad data is sent.
|
||||
* Ensure we don't send bad BodyID/Name for an orbital station if the player
|
||||
uses a taxi.
|
||||
Closes [#1522](https://github.com/EDCD/EDMarketConnector/issues/1522).
|
||||
|
||||
Developers
|
||||
---
|
||||
* Odyssey Update 12 adds a new Journal event, and file, `FCMaterials.json`,
|
||||
detailing the available trades at a Fleet Carrier's bar tender. Support has
|
||||
been added for this. Plugin developers are sent an `FCMaterials` event
|
||||
with the full contents of the file.
|
||||
|
||||
EDMC.exe
|
||||
---
|
||||
This now uses specific exit codes in all cases, rather than a generic
|
||||
`EXIT_SYS_ERR` (6) for some cases. See the appropriate line in EDMC.py for
|
||||
details.
|
||||
|
||||
---
|
||||
|
||||
Release 5.3.4
|
||||
===
|
||||
|
||||
Whilst EDMarketConnector.exe was fixed for the Odyssey Update 11 difference in
|
||||
Journal file names, EDMC.exe was not.
|
||||
|
||||
* Use the new common function for finding latest journal file in EDMC.py.
|
||||
* Quietens some NavRoute related logging for the benefit of EDMC.py. This is
|
||||
now at DEBUG level, rather than INFO.
|
||||
|
||||
|
||||
Release 5.3.3
|
||||
===
|
||||
|
||||
Unfortunately 5.3.2 failed to fully address the issues caused by the different
|
||||
Journal filenames when using the Odyssey Update 11 client. It's fine if you
|
||||
run EDMarketConnector first and *then* the game, as the code path that detects
|
||||
a new file always does just that.
|
||||
|
||||
But the code for EDMarketConnector startup to find the current newest Journal
|
||||
file relied on sorting the filenames and that would mean the new-style names
|
||||
would always sort as 'oldest'.
|
||||
|
||||
This release fixes that code to properly use the file modification timestamp
|
||||
to determine the newest file on startup.
|
||||
|
||||
Release 5.3.2
|
||||
===
|
||||
|
||||
This release contains one change to cope with how Frontier decided to name
|
||||
the Journal files differently in the Update 11 Odyssey client.
|
||||
|
||||
Release 5.3.1
|
||||
===
|
||||
|
||||
This release addresses some issues with newer EDDN code which could cause
|
||||
erroneous alerts to the player, or sending of bad messages.
|
||||
|
||||
* EDDN: Cope with `ApproachSettlement` on login occurring before `Location`,
|
||||
such that we don't yet know the name of the star system the player is in.
|
||||
|
||||
Closes [#1484](https://github.com/EDCD/EDMarketConnector/pull/1484)
|
||||
|
||||
* EDDN: Cope with `ApproachSettlement` missing planetary coordinates on login
|
||||
at/near a settlement in Horizons.
|
||||
|
||||
Closes [#1476](https://github.com/EDCD/EDMarketConnector/pull/1476)
|
||||
|
||||
* EDDN: Change the `CodexEntry` "empty string" checks to only apply to those
|
||||
values where the schema enforces "must be at least one character".
|
||||
|
||||
This prevents the big 'CodexEntry had empty string, PLEASE ALERT THE EDMC
|
||||
DEVELOPERS' message from triggering on, e.g. `NearestDestination` being
|
||||
empty, which the schema allows.
|
||||
|
||||
Closes [#1481](https://github.com/EDCD/EDMarketConnector/issues/1481)
|
||||
|
||||
Plugin Developers
|
||||
---
|
||||
|
||||
* If you use a sub-class for a widget the core code will no longer break if
|
||||
your code raises an exception. e.g. a plugin was failing due to Python
|
||||
3.10 using `collections.abc` instead of `collections`, and the plugin's
|
||||
custom widget had a `configure()` method which was called by the core
|
||||
theme code on startup or theme change. This then caused the whole
|
||||
application UI to never show up on startup.
|
||||
|
||||
This also applies if you set up a button such that enter/leave on it, i.e.
|
||||
mouse in/out, causes the `theme.py` code for that to trigger.
|
||||
|
||||
So, now in such cases the main UI should actually show up, although your
|
||||
plugin's UI might look weird due to theming not being properly applied.
|
||||
|
||||
The plugin exception **WILL** be logged, at ERROR level.
|
||||
|
||||
---
|
||||
|
||||
Release 5.3.0
|
||||
===
|
||||
|
||||
As has sadly become routine now, please read
|
||||
[our statement about malware false positives](https://github.com/EDCD/EDMarketConnector/wiki/Troubleshooting#installer-and-or-executables-flagged-as-malicious-viruses)
|
||||
affecting our installers and/or the files they contain. We are as confident
|
||||
as we can be, without detailed auditing of python.org's releases and all
|
||||
the py2exe source and releases, that there is no malware in the files we make
|
||||
available.
|
||||
|
||||
This release is primarily aimed at fixing some more egregious bugs,
|
||||
shortcomings and annoyances with the application. It also adds support for
|
||||
two additional
|
||||
[EDDN](https://github.com/EDCD/EDDN/blob/live/README.md)
|
||||
schemas.
|
||||
|
||||
* We now test and build using Python 3.10.2. We do not *yet* make use of any
|
||||
features specific to Python 3.10 (or 3.9). Let us restate that we
|
||||
absolutely reserve the right to commence doing so.
|
||||
|
||||
* We now set a custom User-Agent header in all web requests, i.e. to EDDN,
|
||||
EDSM and the like. This is of the form:
|
||||
|
||||
`EDCD-EDMarketConnector-<version>`
|
||||
|
||||
* "File" -> "Status" will now show the new Odyssey ranks, both the new
|
||||
categories and the new 'prestige' ranks, e.g. 'Elite I'.
|
||||
|
||||
**NB: Due to an oversight there are currently no translations for these.**
|
||||
|
||||
Closes [#1369](https://github.com/EDCD/EDMarketConnector/issues/1369).
|
||||
|
||||
* Running `EDMarketConnector.exe --reset-ui` will now also reset any changes to
|
||||
the application "UI Scale" or geometry (position and size).
|
||||
|
||||
Closes [#1155](https://github.com/EDCD/EDMarketConnector/issues/1155).
|
||||
|
||||
* We now use UTC-based timestamps in the application's log files. Prior to
|
||||
this change it was the "local time", but without any indication of the
|
||||
applied timezone. Each line's timestamp has ` UTC` as a suffix now. We
|
||||
are assuming that your local clock is correct *and* the timezone is set
|
||||
correctly, such that Python's `time.gmtime()` yields UTC times.
|
||||
|
||||
This should make it easier to correlate application logfiles with in-game
|
||||
time and/or third-party service timestamps.
|
||||
|
||||
* The process used to build the Windows installers should now always pick up
|
||||
all the necessary files automatically. Prior to this we used a manual
|
||||
process to update the installer configuration which was prone to both user
|
||||
error and neglecting to update it as necessary.
|
||||
|
||||
* If the application fails to load valid data from the `NavRoute.json` file
|
||||
when processing a Journal `NavRoute` event, it will attempt to retry this
|
||||
operation a number of times as it processes subsequent Journal events.
|
||||
|
||||
This should hopefully work around a race condition where the game might
|
||||
not have yet updated `NavRoute.json` at all, or has truncated it to empty,
|
||||
when we first attempt this.
|
||||
|
||||
We will also now *NOT* attempt to load `NavRoute.json` during the startup
|
||||
'Journal catch-up' mode, which only sets internal state.
|
||||
|
||||
Closes [#1348](https://github.com/EDCD/EDMarketConnector/issues/1155).
|
||||
|
||||
* Inara: Use the `<journal log>->Statistics->Bank_Account->Current_Wealth`
|
||||
value when sending a `setCommanderCredits` message to Inara to set
|
||||
`commanderAssets`.
|
||||
|
||||
In addition, a `setCommanderCredits` message at game login **will now only
|
||||
ever be sent at game login**. Yes, you will **NEED** to relog to send an
|
||||
updated balance. This is the only way in which to sanely keep the
|
||||
'Total Assets' value on Inara from bouncing around.
|
||||
|
||||
Refer to [Inara:API:docs:setCommanderCredits](https://inara.cz/inara-api-docs/#event-1).
|
||||
|
||||
Closes [#1401](https://github.com/EDCD/EDMarketConnector/issues/1401).
|
||||
|
||||
* Inara: Send a `setCommanderRankPilot` message when the player logs in to the
|
||||
game on-foot. Previously you would *HAVE* to be in a ship at login time
|
||||
for this to be sent.
|
||||
|
||||
Thus, you can now relog on-foot in order to update Inara with any Rank up
|
||||
or progress since the session started.
|
||||
|
||||
Closes [#1378](https://github.com/EDCD/EDMarketConnector/issues/1378).
|
||||
|
||||
* Inara: Fix for always sending a Rank Progress of 0%.
|
||||
|
||||
Closes [#1378](https://github.com/EDCD/EDMarketConnector/issues/1378).
|
||||
|
||||
* Inara: You should once more see updates for any materials used in
|
||||
Engineering. The bug was in our more general Journal event processing
|
||||
code pertaining to `EngineerCraft` events, such that the state passed to
|
||||
the Inara plugin hadn't been updated.
|
||||
|
||||
Such updates should happen 'immediately', but take into account that there
|
||||
can be a delay of up to 35 seconds for any data sent to Inara, due to how
|
||||
we avoid breaking the "2 messages a minute" limit on the Inara API.
|
||||
|
||||
Closes [#1395](https://github.com/EDCD/EDMarketConnector/issues/1395).
|
||||
|
||||
* EDDN: Implement new [approachsettlement/1](https://github.com/EDCD/EDDN/blob/live/schemas/approachsettlement-README.md)
|
||||
schema.
|
||||
|
||||
* EDDN: Implement new [fssallbodiesfound/1](https://github.com/EDCD/EDDN/blob/live/schemas/fssallbodiesfound-README.md)
|
||||
schema.
|
||||
|
||||
* EDDN: We now compress all outgoing messages. This might help get some
|
||||
particularly large `navroute` messages go through.
|
||||
|
||||
If any message is now rejected as 'too large' we will drop it, and thus
|
||||
not retry it later. The application logs will reflect this.
|
||||
|
||||
NB: The EDDN Gateway was updated to allow messages up to 1 MiB in size
|
||||
anyway. The old limit was 100 KiB.
|
||||
|
||||
Closes [#1390](https://github.com/EDCD/EDMarketConnector/issues/1390).
|
||||
|
||||
* EDDN: In an attempt to diagnose some errors observed on the EDDN Gateway
|
||||
with respect to messages sent from this application some additional checks
|
||||
and logging have been added.
|
||||
|
||||
**NB: After some thorough investigation it was concluded that these EDDN
|
||||
errors were likely the result of long-delayed messages due to use of
|
||||
the "Delay sending until docked" option.**
|
||||
|
||||
There should be no functional changes for users. But if you see any of
|
||||
the following in this application's log files **PLEASE OPEN
|
||||
[AN ISSUE ON GITHUB](https://github.com/EDCD/EDMarketConnector/issues/new?assignees=&labels=bug%2C+unconfirmed&template=bug_report.md&title=)
|
||||
with all the requested information**, so that we can correct the relevant
|
||||
code:
|
||||
|
||||
- `No system name in entry, and system_name was not set either! entry: ...`
|
||||
- `BodyName was present but not a string! ...`
|
||||
- `post-processing entry contains entry ...`
|
||||
- `this.body_id was not set properly: ...`
|
||||
- `system is falsey, can't add StarSystem`
|
||||
- `this.coordinates is falsey, can't add StarPos`
|
||||
- `this.systemaddress is falsey, can't add SystemAddress`
|
||||
- `this.status_body_name was not set properly: ...`
|
||||
|
||||
You might also see any of the following in the application status text
|
||||
(bottom of the window):
|
||||
|
||||
- `passed-in system_name is empty, can't add System`
|
||||
- `CodexEntry had empty string, PLEASE ALERT THE EDMC DEVELOPERS`
|
||||
- `system is falsey, can't add StarSystem`
|
||||
- `this.coordinates is falsey, can't add StarPos`
|
||||
- `this.systemaddress is falsey, can't add SystemAddress`
|
||||
|
||||
Ref: [#1403](https://github.com/EDCD/EDMarketConnector/issues/1403)
|
||||
[#1393](https://github.com/EDCD/EDMarketConnector/issues/1393).
|
||||
|
||||
Translations
|
||||
---
|
||||
|
||||
* Use a different workaround for OneSky (translations website) using "zh-Hans"
|
||||
for Chinese (Simplified), whereas Windows will call this "zh-CN". This is
|
||||
in-code and documented with a comment, as opposed to some 'magic' in the
|
||||
Windows Installer configuration that had no such documentation. It's less
|
||||
fragile than relying on that, or developers using a script/documented
|
||||
process to rename the file.
|
||||
|
||||
* As noted above we forgot to upload to
|
||||
[OneSky](https://marginal.oneskyapp.com/collaboration/project/52710)
|
||||
after adding the Odyssey new ranks/categories. This has now been done,
|
||||
and some new phrases await translation.
|
||||
|
||||
Plugin Developers
|
||||
---
|
||||
|
||||
We now test against, and package with Python 3.10.2.
|
||||
|
||||
* We've made no explicit changes to the Python stdlib, or other modules, we
|
||||
currently offer, but we did have to start explicitly including
|
||||
`asyncio` and `multiprocessing` due to using a newer version of `py2exe`
|
||||
for the windows build.
|
||||
|
||||
* We will now include in the Windows installer *all* of the files that `py2exe`
|
||||
places in the build directory. This is vulnerable to a later version of
|
||||
our code, python and/or py2exe no longer causing inclusion of a module.
|
||||
|
||||
We have endeavoured to ensure this release contains *at least* all of the
|
||||
same modules that 5.2.4 did.
|
||||
|
||||
We are looking into
|
||||
[including all of Python stdlib](https://github.com/EDCD/EDMarketConnector/issues/1327),
|
||||
but if there's a particular part of this we don't package then please ask
|
||||
us to by opening an issue on GitHub.
|
||||
|
||||
* We now have an `.editorconfig` file which will instruct your editor/IDE to
|
||||
change some settings pertaining to things like indentation and line wrap,
|
||||
assuming your editor/IDE supports the file.
|
||||
|
||||
See [Contributing.md->Text formatting](Contributing.md#text-formatting).
|
||||
|
||||
* As noted above, prior to this version we weren't properly monitoring
|
||||
`EngineerCraft` events. This caused the `state` passed to plugins to not
|
||||
contain the correct 'materials' (Raw, Manufactured, Encoded) counts.
|
||||
|
||||
* `config.py` has been refactored into a sub-directory, with the per-OS code
|
||||
split into separate files. There *shouldn't* be any changes necessary to
|
||||
how you utilise this, e.g. to determine the application version.
|
||||
|
||||
All forms of any `import` statement that worked before should have
|
||||
unchanged functionality.
|
||||
|
||||
* We now include [FDevIDS](https://github.com/EDCD/FDevIDs) as a
|
||||
sub-repository, and use its files directly for keeping some game data up to
|
||||
date. This should hopefully mean we include, e.g. new ships and modules
|
||||
for loadout exports in a more timely manner.
|
||||
|
||||
Developers of third-party plugins should never have been using these files
|
||||
anyway, so this shouldn't break anything for them.
|
||||
|
||||
* It's unlikely to affect you, but our `requirements-dev.txt` now explicitly
|
||||
cites a specific version of `setuptools`. This was necessary to ensure we
|
||||
have a version that works with `py2exe` for the windows build process.
|
||||
|
||||
If anything this will ensure you have a *more up to date* version of
|
||||
`setuptools` installed.
|
||||
|
||||
---
|
||||
---
|
||||
|
||||
Release 5.2.4
|
||||
===
|
||||
This is a *very* minor update that simply imports the latest versions of
|
||||
data files so that some niche functionality works properly.
|
||||
|
||||
* Update `commodity.csv` and `rare_commodity.csv` from the latest
|
||||
[EDCD/FDevIDs](https://github.com/EDCD/FDevIDs) versions. This addresses
|
||||
an issue with export of market data in Trade Dangerous format containing
|
||||
`OnionHeadC` rather than the correct name, `Onionhead Gamma Strain`, that
|
||||
Trade Dangerous is expecting.
|
||||
|
||||
This will only have affected Trade Dangerous users who use EDMarketConnector
|
||||
as a source of market data.
|
||||
|
||||
---
|
||||
|
||||
Release 5.2.3
|
||||
===
|
||||
|
||||
This release fixes one bug and fixes some example code.
|
||||
|
||||
* Odyssey changed the order of some Journal events. This caused our logic
|
||||
for tracking the following to break, and thus not report them ever to Inara:
|
||||
|
||||
- Ship Combat, Trade and Exploration ranks.
|
||||
- On-foot Combat and Exobiologist ranks.
|
||||
- Engineer unlocks and progress.
|
||||
- Reputations with Major Factions (Superpowers).
|
||||
|
||||
This is now fixed and the current state of all of these will be correctly
|
||||
reported to Inara if you have API access for it configured.
|
||||
|
||||
Developers
|
||||
---
|
||||
|
||||
* Now built using Python 3.9.9.
|
||||
|
||||
* Updated [PLUGINS.md](https://github.com/EDCD/EDMarketConnector/blob/main/PLUGINS.md#packaging-extra-modules)
|
||||
to state that we don't actually include *all* of Python's standard library.
|
||||
|
||||
* The [click_counter](https://github.com/EDCD/EDMarketConnector/tree/main/docs/examples/click_counter)
|
||||
example plugin code has been corrected to both actually work fully, and pass
|
||||
our linting.
|
||||
|
||||
---
|
||||
|
||||
Release 5.2.2
|
||||
===
|
||||
|
||||
This release adds one new feature and addresses some bugs. We've also
|
||||
updated to using Python 3.9.8.
|
||||
|
||||
* Windows now has "minimize to system tray" support.
|
||||
|
||||
- The system tray icon will always be present.
|
||||
- There is a new option on the Settings > Appearance tab -
|
||||
`Minimize to system tray`.
|
||||
- When this new option is active, minimizing the application will *also*
|
||||
hide the taskbar icon.
|
||||
- When the new option is not active, the application will minimize to the
|
||||
taskbar as normal.
|
||||
|
||||
Bug Fixex
|
||||
---
|
||||
|
||||
* If a CAPI query failed in such a way that no `requests.Response` object
|
||||
was made available we attempted to blindly dump the non-existent object.
|
||||
We now check that it actually exists, and log the specifics of the exception.
|
||||
|
||||
* A user experienced the game writing a NavRoute.json file without a
|
||||
`Route` array, which caused the application to attempt sending a badly formed
|
||||
`navroute` message to EDDN. That message was then remembered and constantly
|
||||
retried.
|
||||
|
||||
- We now sanity check the NavRoute.json contents to be sure there *is* a
|
||||
`Route` array, even if it is empty. If it's not present no attempt
|
||||
to send the EDDN message will be made.
|
||||
|
||||
If this scenario occurs the user will see a status line message `No
|
||||
'Route' array in NavRoute.json contents`.
|
||||
|
||||
- For any EDDN message that receives a 400 status back we will drop it
|
||||
from the replay log.
|
||||
|
||||
Release 5.2.1
|
||||
===
|
||||
|
||||
This release primarily addresses the issue of the program asking for
|
||||
Frontier authorization much too often.
|
||||
|
||||
* Actually utilise the Frontier Refresh Token when the CAPI response is
|
||||
"Unauthorized". The re-factoring of this code to make CAPI queries
|
||||
threaded inadvertently prevented this.
|
||||
|
||||
Release 5.2.0
|
||||
===
|
||||
|
||||
* The 'Update' button is disabled if CQC/Arena is detected.
|
||||
|
||||
* Frontier CAPI queries now run in their own thread. There should be no
|
||||
change in functionality for users. This affects both EDMarketConnector
|
||||
(GUI) and EDMC (command-line).
|
||||
|
||||
* `File` > `Status` will now use cached CAPI data, rather than causing a fresh
|
||||
query. **Currently if data has not yet been cached nothing will happen when
|
||||
trying to use this**.
|
||||
|
||||
* Trying to use `File` > `Status` when the current commander is unknown, or
|
||||
there is has been no CAPI data retrieval yet, will now result in the 'bad'
|
||||
sound being played and an appropriate status line message.
|
||||
|
||||
* `File` > `Save Raw Data` also now uses the cached CAPI data, rather than
|
||||
causing a fresh query. This will write an empty JSON `{}` if no data is
|
||||
yet available.
|
||||
|
||||
* New [docs/Licenses/](docs/Licenses/) directory containing all relevant
|
||||
third-party licenses for the software this application uses.
|
||||
|
||||
* `Settings` > `Output` > `File Location` 'Browse' button will now always be
|
||||
available, even if no output options are active.
|
||||
|
||||
* The 'no git installed' logging when running from source is now at INFO
|
||||
level, not ERROR. This will look less scary.
|
||||
|
||||
* EDMarketConnetor command-line arguments have been re-ordered into
|
||||
logical groups for `--help` output.
|
||||
|
||||
* Support added for several new EDDN schemas relating to specific Journal
|
||||
events. The live EDDN server has been updated to support these.
|
||||
|
||||
Schema support added for:
|
||||
- `codexentry/1`
|
||||
- `fssdiscoveryscan/1`
|
||||
- `navbeaconscan/1`
|
||||
- `navroute/1`
|
||||
- `scanbarycentre/1`
|
||||
|
||||
* If a message to EDDN gets an 'unknown schema' response it will **NOT** be
|
||||
saved in the replaylog for later retries, instead being discarded.
|
||||
|
||||
Bug Fixes
|
||||
---
|
||||
|
||||
* Pressing the 'Update' button when in space (not docked, not on a body
|
||||
surface) will no longer cause a spurious "Docked but unknown station: EDO
|
||||
Settlement?" message.
|
||||
|
||||
* A bug preventing `--force-localserver-auth` from working has been fixed.
|
||||
|
||||
* `horizons` and `odyssey` flags should now always be set properly on *all*
|
||||
EDDN messages. The `horizons` flag was missing from some.
|
||||
|
||||
Developers
|
||||
---
|
||||
|
||||
* Now built using Python 3.9.7.
|
||||
|
||||
* New `journal_entry_cqc()` function for plugins to receive journal events
|
||||
*specifically and **only** when the player is in CQC/Arena*. This allows
|
||||
for tracking things that happen in CQC/Arena without polluting
|
||||
`journal_entry()`. See [PLUGINS.md](PLUGINS.md) for details.
|
||||
|
||||
* Command-line argument `--trace-all` to force all possible `--trace-on` to be
|
||||
active.
|
||||
|
||||
* Contributing.md has been updated for how to properly use `trace_on()`.
|
||||
|
||||
* EDMC.(py,exe) now also makes use of `--trace-on`.
|
||||
|
||||
* EDMarketConnector now has `--capi-pretend-down` to act as if the CAPI
|
||||
server is down.
|
||||
|
||||
* Killswitches now have support for removing key/values entirely, or forcing
|
||||
the value. See [docs/Killswitches.md](docs/Killswitches.md) for details.
|
||||
|
||||
* `state['Odyssey']` added, set from `LoadGame` journal event.
|
||||
|
||||
* You can now test against a different EDDN server using `--eddn-url`
|
||||
command-line argument. This needs to be the *full* 'upload' URL, i.e. for
|
||||
the live instance this is `https://eddn.edcd.io:4430/upload/`.
|
||||
|
||||
* New command-line argument `--eddn-tracking-ui` to track the EDDN plugin's
|
||||
idea of the current BodyName and BodyID, from both the Journal and
|
||||
Status.json.
|
||||
|
||||
---
|
||||
|
||||
Release 5.1.3
|
||||
===
|
||||
|
||||
|
||||
+77
-10
@@ -23,6 +23,16 @@ consistent with our vision for EDMC. Fundamental changes in particular need to b
|
||||
|
||||
---
|
||||
|
||||
## Text formatting
|
||||
|
||||
The project contains an `.editorconfig` file at its root. Please either ensure
|
||||
your editor is taking note of those settings, or cross-check its contents
|
||||
with the
|
||||
[editorconfig documentation](https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties)
|
||||
, and ensure your editor/IDE's settings match.
|
||||
|
||||
---
|
||||
|
||||
## General workflow
|
||||
|
||||
1. You will need a GitHub account.
|
||||
@@ -181,9 +191,10 @@ only the 'C' (Patch) component.
|
||||
Going forwards we will always use the full [Semantic Version](https://semver.org/#semantic-versioning-specification-semver)
|
||||
and 'folder style' tag names, e.g. `Release/Major.Minor.Patch`.
|
||||
|
||||
Currently the only file that defines the version code-wise is `config.py`.
|
||||
`Changelog.md` and `edmarketconnector.xml` are another matter handled as part
|
||||
of [the release process](docs/Releasing.md#distribution).
|
||||
Currently, the only file that defines the version code-wise is
|
||||
`config/__init__.py`. `Changelog.md` and `edmarketconnector.xml` are another
|
||||
matter handled as part of
|
||||
[the release process](docs/Releasing.md#distribution).
|
||||
|
||||
---
|
||||
|
||||
@@ -206,12 +217,18 @@ re-introduce a bug down the line.
|
||||
We use the [`pytest`](https://docs.pytest.org/en/stable/) for unit testing.
|
||||
|
||||
The files for a test should go in a sub-directory of `tests/` named after the
|
||||
(principal) file that contains the code they are testing. e.g. for
|
||||
journal_lock.py the tests are in `tests/journal_lock.py/test_journal_lock.py`.
|
||||
The `test_` prefix on `test_journal_lock.py` is necessary in order for `pytest`
|
||||
to recognise the file as containing tests to be run.
|
||||
(principal) file or directory that contains the code they are testing.
|
||||
For example:
|
||||
|
||||
- Tests for `journal_lock.py` are in
|
||||
`tests/journal_lock.py/test_journal_lock.py`. The `test_` prefix on
|
||||
`test_journal_lock.py` is necessary in order for `pytest` to recognise the
|
||||
file as containing tests to be run.
|
||||
- Tests for `config/` code are located in `tests/config/test_config.py`, not
|
||||
`tests/config.py/test_config.py`
|
||||
|
||||
The sub-directory avoids having a mess of files in `tests`, particularly when
|
||||
there might be supporting files, e.g. `tests/config.py/_old_config.py` or files
|
||||
there might be supporting files, e.g. `tests/config/_old_config.py` or files
|
||||
containing test data.
|
||||
|
||||
Invoking just a bare `pytest` command will run all tests.
|
||||
@@ -228,6 +245,42 @@ handy if you want to step through the testing code to be sure of anything.
|
||||
Otherwise, see the [pytest documentation](https://docs.pytest.org/en/stable/contents.html).
|
||||
|
||||
---
|
||||
|
||||
## Imports used only in core plugins
|
||||
|
||||
Because the 'core' plugins, as with any EDMarketConnector plugin, are only ever
|
||||
loaded dynamically, not through an explicit `import` statement, there is no
|
||||
way for `py2exe` to know about them when building the contents of the
|
||||
`dist.win32` directory. See [docs/Releasing.md](docs/Releasing.md) for more
|
||||
information about this build process.
|
||||
|
||||
Thus, you **MUST** check if any imports you add in `plugins/*.py` files are only
|
||||
referenced in that file (or also only in any other core plugin), and if so
|
||||
**YOU MUST ENSURE THAT PERTINENT ADJUSTMENTS ARE MADE IN `setup.py`
|
||||
IN ORDER TO ENSURE THE FILES ARE ACTUALLY PRESENT IN AN END-USER
|
||||
INSTALLATION ON WINDOWS.**
|
||||
|
||||
An exmaple is that as of 2022-02-01 it was noticed that `plugins/eddn.py` now
|
||||
uses `util/text.py`, and is the only code to do so. `py2exe` does not detect
|
||||
this and thus the resulting `dist.win32/library.zip` does not contain the
|
||||
`util/` directory, let alone the `util/text.py` file. The fix was to update
|
||||
the appropriate `packages` definition to:
|
||||
|
||||
```python
|
||||
'packages': [
|
||||
'sqlite3', # Included for plugins
|
||||
'util', # 2022-02-01 only imported in plugins/eddn.py
|
||||
],
|
||||
```
|
||||
|
||||
Note that in this case it's in `packages` because we want the whole directory
|
||||
adding. For a single file an extra item in `includes` would suffice.
|
||||
|
||||
Such additions to `setup.py` should not cause any issues if subsequent project
|
||||
changes cause `py2exe` to automatically pick up the same file(s).
|
||||
|
||||
---
|
||||
|
||||
## Debugging network sends
|
||||
|
||||
Rather than risk sending bad data to a remote service, even if only through
|
||||
@@ -247,10 +300,10 @@ from edmc_data import DEBUG_WEBSERVER_HOST, DEBUG_WEBSERVER_PORT
|
||||
|
||||
TARGET_URL = 'https://www.edsm.net/api-journal-v1'
|
||||
if 'edsm' in debug_senders:
|
||||
TARGET_URL = f'http://{DEBUG_WEBSERVER_HOST}:{DEBUG_WEBSERVER_PORT}/edsm'
|
||||
TARGET_URL = f'http://{DEBUG_WEBSERVER_HOST}:{DEBUG_WEBSERVER_PORT}/edsm'
|
||||
|
||||
...
|
||||
r = this.session.post(TARGET_URL, data=data, timeout=_TIMEOUT)
|
||||
r = this.requests_session.post(TARGET_URL, data=data, timeout=_TIMEOUT)
|
||||
```
|
||||
|
||||
Be sure to set a URL path in the `TARGET_URL` that denotes where the data
|
||||
@@ -484,6 +537,20 @@ Please be verbose here, more info about weird choices is always prefered over ma
|
||||
|
||||
Additionally, if your hack is over around 5 lines, please include a `# HACK END` or similar comment to indicate the end of the hack.
|
||||
|
||||
# Use `sys.platform` for platform guards
|
||||
|
||||
`mypy` (and `pylance`) understand platform guards and will show unreachable code / resolve imports correctly
|
||||
for platform specific things. However, this only works if you directly reference `sys.platform`, importantly
|
||||
the following does not work:
|
||||
|
||||
```py
|
||||
from sys import platform
|
||||
if platform == 'darwin':
|
||||
...
|
||||
```
|
||||
|
||||
It **MUST** be `if sys.platform`.
|
||||
|
||||
---
|
||||
|
||||
## Build process
|
||||
|
||||
@@ -6,9 +6,9 @@ import argparse
|
||||
import json
|
||||
import locale
|
||||
import os
|
||||
import re
|
||||
import queue
|
||||
import sys
|
||||
from os.path import getmtime, join
|
||||
from os.path import getmtime
|
||||
from time import sleep, time
|
||||
from typing import TYPE_CHECKING, Any, List, Optional
|
||||
|
||||
@@ -62,9 +62,8 @@ Locale LC_TIME: {locale.getlocale(locale.LC_TIME)}'''
|
||||
l10n.Translations.install_dummy()
|
||||
|
||||
SERVER_RETRY = 5 # retry pause for Companion servers [s]
|
||||
EXIT_SUCCESS, EXIT_SERVER, EXIT_CREDENTIALS, EXIT_VERIFICATION, EXIT_LAGGING, EXIT_SYS_ERR, EXIT_ARGS = range(7)
|
||||
|
||||
JOURNAL_RE = re.compile(r'^Journal(Beta)?\.[0-9]{12}\.[0-9]{2}\.log$')
|
||||
EXIT_SUCCESS, EXIT_SERVER, EXIT_CREDENTIALS, EXIT_VERIFICATION, EXIT_LAGGING, EXIT_SYS_ERR, EXIT_ARGS, \
|
||||
EXIT_JOURNAL_READ_ERR, EXIT_COMMANDER_UNKNOWN = range(9)
|
||||
|
||||
|
||||
def versioncmp(versionstring) -> List:
|
||||
@@ -224,10 +223,7 @@ sys.path: {sys.path}'''
|
||||
monitor.currentdir = config.default_journal_dir
|
||||
|
||||
logger.debug(f'logdir = "{monitor.currentdir}"')
|
||||
logfiles = sorted((x for x in os.listdir(monitor.currentdir) if JOURNAL_RE.search(x)),
|
||||
key=lambda x: x.split('.')[1:])
|
||||
|
||||
logfile = join(monitor.currentdir, logfiles[-1])
|
||||
logfile = monitor.journal_newest_filename(monitor.currentdir)
|
||||
|
||||
logger.debug(f'Using logfile "{logfile}"')
|
||||
with open(logfile, 'r', encoding='utf-8') as loghandle:
|
||||
@@ -239,11 +235,11 @@ sys.path: {sys.path}'''
|
||||
|
||||
except Exception:
|
||||
logger.exception("Can't read Journal file")
|
||||
sys.exit(EXIT_SYS_ERR)
|
||||
sys.exit(EXIT_JOURNAL_READ_ERR)
|
||||
|
||||
if not monitor.cmdr:
|
||||
logger.error('Not available while E:D is at the main menu')
|
||||
sys.exit(EXIT_SYS_ERR)
|
||||
sys.exit(EXIT_COMMANDER_UNKNOWN)
|
||||
|
||||
# Get data from Companion API
|
||||
if args.p:
|
||||
@@ -270,8 +266,38 @@ sys.path: {sys.path}'''
|
||||
|
||||
companion.session.login(monitor.cmdr, monitor.is_beta)
|
||||
|
||||
###################################################################
|
||||
# Initiate CAPI queries
|
||||
querytime = int(time())
|
||||
data = companion.session.station()
|
||||
companion.session.station(query_time=querytime)
|
||||
|
||||
# Wait for the response
|
||||
_capi_request_timeout = 60
|
||||
try:
|
||||
capi_response = companion.session.capi_response_queue.get(
|
||||
block=True, timeout=_capi_request_timeout
|
||||
)
|
||||
|
||||
except queue.Empty:
|
||||
logger.error(f'CAPI requests timed out after {_capi_request_timeout} seconds')
|
||||
sys.exit(EXIT_SERVER)
|
||||
|
||||
###################################################################
|
||||
|
||||
# noinspection DuplicatedCode
|
||||
if isinstance(capi_response, companion.EDMCCAPIFailedRequest):
|
||||
logger.trace_if('capi.worker', f'Failed Request: {capi_response.message}')
|
||||
if capi_response.exception:
|
||||
raise capi_response.exception
|
||||
|
||||
else:
|
||||
raise ValueError(capi_response.message)
|
||||
|
||||
logger.trace_if('capi.worker', 'Answer is not a Failure')
|
||||
if not isinstance(capi_response, companion.EDMCCAPIResponse):
|
||||
raise ValueError(f"Response was neither CAPIFailedRequest nor EDMCAPIResponse: {type(capi_response)}")
|
||||
|
||||
data = capi_response.capi_data
|
||||
config.set('querytime', querytime)
|
||||
|
||||
# Validation
|
||||
@@ -279,10 +305,10 @@ sys.path: {sys.path}'''
|
||||
logger.error("No data['command']['name'] from CAPI")
|
||||
sys.exit(EXIT_SERVER)
|
||||
|
||||
elif not deep_get(data, 'lastSystem', 'name') or \
|
||||
data['commander'].get('docked') and not \
|
||||
deep_get(data, 'lastStarport', 'name'): # Only care if docked
|
||||
|
||||
elif (
|
||||
not deep_get(data, 'lastSystem', 'name') or
|
||||
data['commander'].get('docked') and not deep_get(data, 'lastStarport', 'name')
|
||||
): # Only care if docked
|
||||
logger.error("No data['lastSystem']['name'] from CAPI")
|
||||
sys.exit(EXIT_SERVER)
|
||||
|
||||
@@ -294,21 +320,20 @@ sys.path: {sys.path}'''
|
||||
pass # Skip further validation
|
||||
|
||||
elif data['commander']['name'] != monitor.cmdr:
|
||||
logger.error(f'Commander "{data["commander"]["name"]}" from CAPI doesn\'t match "{monitor.cmdr}" from Journal') # noqa: E501
|
||||
sys.exit(EXIT_CREDENTIALS)
|
||||
raise companion.CmdrError()
|
||||
|
||||
elif data['lastSystem']['name'] != monitor.system or \
|
||||
((data['commander']['docked'] and data['lastStarport']['name'] or None) != monitor.station) or \
|
||||
data['ship']['id'] != monitor.state['ShipID'] or \
|
||||
data['ship']['name'].lower() != monitor.state['ShipType']:
|
||||
|
||||
logger.error('Mismatch(es) between CAPI and Journal for at least one of: StarSystem, Last Star Port, Ship ID or Ship Name/Type') # noqa: E501
|
||||
sys.exit(EXIT_LAGGING)
|
||||
elif (
|
||||
data['lastSystem']['name'] != monitor.system or
|
||||
((data['commander']['docked'] and data['lastStarport']['name'] or None) != monitor.station) or
|
||||
data['ship']['id'] != monitor.state['ShipID'] or
|
||||
data['ship']['name'].lower() != monitor.state['ShipType']
|
||||
):
|
||||
raise companion.ServerLagging()
|
||||
|
||||
# stuff we can do when not docked
|
||||
if args.d:
|
||||
logger.debug(f'Writing raw JSON data to "{args.d}"')
|
||||
out = json.dumps(data, ensure_ascii=False, indent=2, sort_keys=True, separators=(',', ': '))
|
||||
out = json.dumps(dict(data), ensure_ascii=False, indent=2, sort_keys=True, separators=(',', ': '))
|
||||
with open(args.d, 'wb') as f:
|
||||
f.write(out.encode("utf-8"))
|
||||
|
||||
@@ -408,21 +433,44 @@ sys.path: {sys.path}'''
|
||||
try:
|
||||
eddn_sender = eddn.EDDN(None)
|
||||
logger.debug('Sending Market, Outfitting and Shipyard data to EDDN...')
|
||||
eddn_sender.export_commodities(data, monitor.is_beta)
|
||||
eddn_sender.export_outfitting(data, monitor.is_beta)
|
||||
eddn_sender.export_shipyard(data, monitor.is_beta)
|
||||
eddn_sender.export_commodities(data, monitor.is_beta, monitor.state['Odyssey'])
|
||||
eddn_sender.export_outfitting(data, monitor.is_beta, monitor.state['Odyssey'])
|
||||
eddn_sender.export_shipyard(data, monitor.is_beta, monitor.state['Odyssey'])
|
||||
|
||||
except Exception:
|
||||
logger.exception('Failed to send data to EDDN')
|
||||
|
||||
except companion.ServerError:
|
||||
logger.error('Frontier CAPI Server returned an error')
|
||||
logger.exception('Frontier CAPI Server returned an error')
|
||||
sys.exit(EXIT_SERVER)
|
||||
|
||||
except companion.ServerConnectionError:
|
||||
logger.exception('Exception while contacting server')
|
||||
sys.exit(EXIT_SERVER)
|
||||
|
||||
except companion.CredentialsError:
|
||||
logger.error('Frontier CAPI Server: Invalid Credentials')
|
||||
sys.exit(EXIT_CREDENTIALS)
|
||||
|
||||
# Companion API problem
|
||||
except companion.ServerLagging:
|
||||
logger.error(
|
||||
'Mismatch(es) between CAPI and Journal for at least one of: '
|
||||
'StarSystem, Last Star Port, Ship ID or Ship Name/Type'
|
||||
)
|
||||
sys.exit(EXIT_SERVER)
|
||||
|
||||
except companion.CmdrError: # Companion API return doesn't match Journal
|
||||
logger.error(
|
||||
f'Commander "{data["commander"]["name"]}" from CAPI doesn\'t match '
|
||||
f'"{monitor.cmdr}" from Journal'
|
||||
)
|
||||
sys.exit(EXIT_SERVER)
|
||||
|
||||
except Exception:
|
||||
logger.exception('"other" exception')
|
||||
sys.exit(EXIT_SERVER)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
||||
+12
-1
@@ -46,6 +46,7 @@ from fnmatch import fnmatch
|
||||
# So that any warning about accessing a protected member is only in one place.
|
||||
from sys import _getframe as getframe
|
||||
from threading import get_native_id as thread_native_id
|
||||
from time import gmtime
|
||||
from traceback import print_exc
|
||||
from typing import TYPE_CHECKING, Tuple, cast
|
||||
|
||||
@@ -91,6 +92,12 @@ logging.Logger.trace = lambda self, message, *args, **kwargs: self._log( # type
|
||||
**kwargs
|
||||
)
|
||||
|
||||
# MAGIC n/a | 2022-01-20: We want logging timestamps to be in UTC, not least because the game journals log in UTC.
|
||||
# MAGIC-CONT: Note that the game client uses the ED server's idea of UTC, which can easily be different from machine
|
||||
# MAGIC-CONT: local idea of it. So don't expect our log timestamps to perfectly match Journal ones.
|
||||
# MAGIC-CONT: See MAGIC tagged comment in Logger.__init__()
|
||||
logging.Formatter.converter = gmtime
|
||||
|
||||
|
||||
def _trace_if(self: logging.Logger, condition: str, message: str, *args, **kwargs) -> None:
|
||||
if any(fnmatch(condition, p) for p in config_mod.trace_on):
|
||||
@@ -162,7 +169,11 @@ class Logger:
|
||||
|
||||
self.logger_formatter = logging.Formatter('%(asctime)s - %(levelname)s - %(process)d:%(thread)d:%(osthreadid)d %(module)s.%(qualname)s:%(lineno)d: %(message)s') # noqa: E501
|
||||
self.logger_formatter.default_time_format = '%Y-%m-%d %H:%M:%S'
|
||||
self.logger_formatter.default_msec_format = '%s.%03d'
|
||||
# MAGIC n/a | 2022-01-20: As of Python 3.10.2 you can *not* use either `%s.%03.d` in default_time_format
|
||||
# MAGIC-CONT: (throws exceptions), *or* use `%Z` in default_time_msec (more exceptions).
|
||||
# MAGIC-CONT: ' UTC' is hard-coded here - we know we're using the local machine's idea of UTC/GMT because we
|
||||
# MAGIC-CONT: cause logging.Formatter() to use `gmtime()` - see MAGIC comment in this file's top-level code.
|
||||
self.logger_formatter.default_msec_format = '%s.%03d UTC'
|
||||
|
||||
self.logger_channel.setFormatter(self.logger_formatter)
|
||||
self.logger.addHandler(self.logger_channel)
|
||||
|
||||
+350
-183
@@ -1,29 +1,29 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
"""Entry point for the main GUI application."""
|
||||
from __future__ import annotations
|
||||
|
||||
import argparse
|
||||
import html
|
||||
import json
|
||||
import locale
|
||||
import pathlib
|
||||
import queue
|
||||
import re
|
||||
import sys
|
||||
# import threading
|
||||
import threading
|
||||
import webbrowser
|
||||
from builtins import object, str
|
||||
from os import chdir, environ
|
||||
from os.path import dirname, join
|
||||
from sys import platform
|
||||
from time import localtime, strftime, time
|
||||
from typing import TYPE_CHECKING, Optional, Tuple
|
||||
from typing import TYPE_CHECKING, Optional, Tuple, Union
|
||||
|
||||
# Have this as early as possible for people running EDMarketConnector.exe
|
||||
# from cmd.exe or a bat file or similar. Else they might not be in the correct
|
||||
# place for things like config.py reading .gitversion
|
||||
if getattr(sys, 'frozen', False):
|
||||
# Under py2exe sys.path[0] is the executable name
|
||||
if platform == 'win32':
|
||||
if sys.platform == 'win32':
|
||||
chdir(dirname(sys.path[0]))
|
||||
# Allow executable to be invoked from any cwd
|
||||
environ['TCL_LIBRARY'] = join(dirname(sys.path[0]), 'lib', 'tcl')
|
||||
@@ -56,7 +56,6 @@ import killswitch
|
||||
from config import appversion, appversion_nobuild, config, copyright
|
||||
# isort: on
|
||||
|
||||
from companion import CAPIData, index_possibly_sparse_list
|
||||
from EDMCLogging import edmclogger, logger, logging
|
||||
from journal_lock import JournalLock, JournalLockResult
|
||||
|
||||
@@ -70,6 +69,28 @@ if __name__ == '__main__': # noqa: C901
|
||||
"such as EDSM, Inara.cz and EDDB."
|
||||
)
|
||||
|
||||
###########################################################################
|
||||
# Permanent config changes
|
||||
###########################################################################
|
||||
parser.add_argument(
|
||||
'--reset-ui',
|
||||
help='Reset UI theme, transparency, font, font size, ui scale, and ui geometry to default',
|
||||
action='store_true'
|
||||
)
|
||||
###########################################################################
|
||||
|
||||
###########################################################################
|
||||
# User 'utility' args
|
||||
###########################################################################
|
||||
parser.add_argument('--suppress-dupe-process-popup',
|
||||
help='Suppress the popup from when the application detects another instance already running',
|
||||
action='store_true'
|
||||
)
|
||||
###########################################################################
|
||||
|
||||
###########################################################################
|
||||
# Adjust logging
|
||||
###########################################################################
|
||||
parser.add_argument(
|
||||
'--trace',
|
||||
help='Set the Debug logging loglevel to TRACE',
|
||||
@@ -89,28 +110,21 @@ if __name__ == '__main__': # noqa: C901
|
||||
)
|
||||
|
||||
parser.add_argument(
|
||||
'--reset-ui',
|
||||
help='reset UI theme and transparency to defaults',
|
||||
action='store_true'
|
||||
'--debug-sender',
|
||||
help='Mark the selected sender as in debug mode. This generally results in data being written to disk',
|
||||
action='append',
|
||||
)
|
||||
###########################################################################
|
||||
|
||||
###########################################################################
|
||||
# Frontier Auth
|
||||
###########################################################################
|
||||
parser.add_argument(
|
||||
'--forget-frontier-auth',
|
||||
help='resets all authentication tokens',
|
||||
action='store_true'
|
||||
)
|
||||
|
||||
parser.add_argument('--suppress-dupe-process-popup',
|
||||
help='Suppress the popup from when the application detects another instance already running',
|
||||
action='store_true'
|
||||
)
|
||||
|
||||
parser.add_argument(
|
||||
'--debug-sender',
|
||||
help='Mark the selected sender as in debug mode. This generally results in data being written to disk',
|
||||
action='append',
|
||||
)
|
||||
|
||||
auth_options = parser.add_mutually_exclusive_group(required=False)
|
||||
auth_options.add_argument('--force-localserver-for-auth',
|
||||
help='Force EDMC to use a localhost webserver for Frontier Auth callback',
|
||||
@@ -126,13 +140,35 @@ if __name__ == '__main__': # noqa: C901
|
||||
help='Callback from Frontier Auth',
|
||||
nargs='*'
|
||||
)
|
||||
###########################################################################
|
||||
|
||||
###########################################################################
|
||||
# Developer 'utility' args
|
||||
###########################################################################
|
||||
parser.add_argument(
|
||||
'--capi-pretend-down',
|
||||
help='Force to raise ServerError on any CAPI query',
|
||||
action='store_true'
|
||||
)
|
||||
|
||||
parser.add_argument(
|
||||
'--capi-use-debug-access-token',
|
||||
help='Load a debug Access Token from disk (from config.app_dir_pathapp_dir_path / access_token.txt)',
|
||||
action='store_true'
|
||||
)
|
||||
|
||||
parser.add_argument(
|
||||
'--eddn-url',
|
||||
help='Specify an alternate EDDN upload URL',
|
||||
)
|
||||
|
||||
parser.add_argument(
|
||||
'--eddn-tracking-ui',
|
||||
help='Have EDDN plugin show what it is tracking',
|
||||
action='store_true',
|
||||
)
|
||||
###########################################################################
|
||||
|
||||
args = parser.parse_args()
|
||||
|
||||
if args.capi_pretend_down:
|
||||
@@ -140,6 +176,11 @@ if __name__ == '__main__': # noqa: C901
|
||||
logger.info('Pretending CAPI is down')
|
||||
conf_module.capi_pretend_down = True
|
||||
|
||||
if args.capi_use_debug_access_token:
|
||||
import config as conf_module
|
||||
with open(conf_module.config.app_dir_path / 'access_token.txt', 'r') as at:
|
||||
conf_module.capi_debug_access_token = at.readline().strip()
|
||||
|
||||
level_to_set: Optional[int] = None
|
||||
if args.trace or args.trace_on:
|
||||
level_to_set = logging.TRACE # type: ignore # it exists
|
||||
@@ -156,6 +197,12 @@ if __name__ == '__main__': # noqa: C901
|
||||
if args.force_localserver_for_auth:
|
||||
config.set_auth_force_localserver()
|
||||
|
||||
if args.eddn_url:
|
||||
config.set_eddn_url(args.eddn_url)
|
||||
|
||||
if args.eddn_tracking_ui:
|
||||
config.set_eddn_tracking_ui()
|
||||
|
||||
if args.force_edmc_protocol:
|
||||
if sys.platform == 'win32':
|
||||
config.set_auth_force_edmc_protocol()
|
||||
@@ -187,7 +234,7 @@ if __name__ == '__main__': # noqa: C901
|
||||
"""Handle any edmc:// auth callback, else foreground existing window."""
|
||||
logger.trace_if('frontier-auth.windows', 'Begin...')
|
||||
|
||||
if platform == 'win32':
|
||||
if sys.platform == 'win32':
|
||||
|
||||
# If *this* instance hasn't locked, then another already has and we
|
||||
# now need to do the edmc:// checks for auth callback
|
||||
@@ -323,8 +370,9 @@ if __name__ == '__main__': # noqa: C901
|
||||
# isort: off
|
||||
if TYPE_CHECKING:
|
||||
from logging import TRACE # type: ignore # noqa: F401 # Needed to update mypy
|
||||
import update
|
||||
# from infi.systray import SysTrayIcon
|
||||
|
||||
if sys.platform == 'win32':
|
||||
from infi.systray import SysTrayIcon
|
||||
# isort: on
|
||||
|
||||
def _(x: str) -> str:
|
||||
@@ -338,9 +386,9 @@ import tkinter.messagebox
|
||||
from tkinter import ttk
|
||||
|
||||
import commodity
|
||||
import companion
|
||||
import plug
|
||||
import prefs
|
||||
import protocol
|
||||
import stats
|
||||
import td
|
||||
from commodity import COMMODITY_CSV
|
||||
@@ -349,7 +397,6 @@ from edmc_data import ship_name_map
|
||||
from hotkey import hotkeymgr
|
||||
from l10n import Translations
|
||||
from monitor import monitor
|
||||
from protocol import protocolhandler
|
||||
from theme import theme
|
||||
from ttkHyperlinkLabel import HyperlinkLabel
|
||||
|
||||
@@ -374,6 +421,7 @@ SHIPYARD_HTML_TEMPLATE = """
|
||||
class AppWindow(object):
|
||||
"""Define the main application window."""
|
||||
|
||||
_CAPI_RESPONSE_TK_EVENT_NAME = '<<CAPIResponse>>'
|
||||
# Tkinter Event types
|
||||
EVENT_KEYPRESS = 2
|
||||
EVENT_BUTTON = 4
|
||||
@@ -383,30 +431,34 @@ class AppWindow(object):
|
||||
|
||||
def __init__(self, master: tk.Tk): # noqa: C901, CCR001 # TODO - can possibly factor something out
|
||||
|
||||
self.holdofftime = config.get_int('querytime', default=0) + companion.holdoff
|
||||
self.capi_query_holdoff_time = config.get_int('querytime', default=0) + companion.capi_query_cooldown
|
||||
|
||||
self.w = master
|
||||
self.w.title(applongname)
|
||||
self.minimizing = False
|
||||
self.w.rowconfigure(0, weight=1)
|
||||
self.w.columnconfigure(0, weight=1)
|
||||
|
||||
# companion needs to be able to send <<CAPIResponse>> events
|
||||
companion.session.set_tk_master(self.w)
|
||||
|
||||
self.prefsdialog = None
|
||||
|
||||
# if platform == 'win32':
|
||||
# from infi.systray import SysTrayIcon
|
||||
if sys.platform == 'win32':
|
||||
from infi.systray import SysTrayIcon
|
||||
|
||||
# def open_window(systray: 'SysTrayIcon') -> None:
|
||||
# self.w.deiconify()
|
||||
def open_window(systray: 'SysTrayIcon') -> None:
|
||||
self.w.deiconify()
|
||||
|
||||
# menu_options = (("Open", None, open_window),)
|
||||
# # Method associated with on_quit is called whenever the systray is closing
|
||||
# self.systray = SysTrayIcon("EDMarketConnector.ico", applongname, menu_options, on_quit=self.exit_tray)
|
||||
# self.systray.start()
|
||||
menu_options = (("Open", None, open_window),)
|
||||
# Method associated with on_quit is called whenever the systray is closing
|
||||
self.systray = SysTrayIcon("EDMarketConnector.ico", applongname, menu_options, on_quit=self.exit_tray)
|
||||
self.systray.start()
|
||||
|
||||
plug.load_plugins(master)
|
||||
|
||||
if platform != 'darwin':
|
||||
if platform == 'win32':
|
||||
if sys.platform != 'darwin':
|
||||
if sys.platform == 'win32':
|
||||
self.w.wm_iconbitmap(default='EDMarketConnector.ico')
|
||||
|
||||
else:
|
||||
@@ -476,7 +528,7 @@ class AppWindow(object):
|
||||
|
||||
# LANG: Update button in main window
|
||||
self.button = ttk.Button(frame, text=_('Update'), width=28, default=tk.ACTIVE, state=tk.DISABLED)
|
||||
self.theme_button = tk.Label(frame, width=32 if platform == 'darwin' else 28, state=tk.DISABLED)
|
||||
self.theme_button = tk.Label(frame, width=32 if sys.platform == 'darwin' else 28, state=tk.DISABLED)
|
||||
self.status = tk.Label(frame, name='status', anchor=tk.W)
|
||||
|
||||
ui_row = frame.grid_size()[1]
|
||||
@@ -485,18 +537,19 @@ class AppWindow(object):
|
||||
theme.register_alternate((self.button, self.theme_button, self.theme_button),
|
||||
{'row': ui_row, 'columnspan': 2, 'sticky': tk.NSEW})
|
||||
self.status.grid(columnspan=2, sticky=tk.EW)
|
||||
self.button.bind('<Button-1>', self.getandsend)
|
||||
theme.button_bind(self.theme_button, self.getandsend)
|
||||
self.button.bind('<Button-1>', self.capi_request_data)
|
||||
theme.button_bind(self.theme_button, self.capi_request_data)
|
||||
|
||||
for child in frame.winfo_children():
|
||||
child.grid_configure(padx=self.PADX, pady=(platform != 'win32' or isinstance(child, tk.Frame)) and 2 or 0)
|
||||
child.grid_configure(padx=self.PADX, pady=(
|
||||
sys.platform != 'win32' or isinstance(child, tk.Frame)) and 2 or 0)
|
||||
|
||||
# The type needs defining for adding the menu entry, but won't be
|
||||
# properly set until later
|
||||
self.updater: update.Updater = None
|
||||
|
||||
self.menubar = tk.Menu()
|
||||
if platform == 'darwin':
|
||||
if sys.platform == 'darwin':
|
||||
# Can't handle (de)iconify if topmost is set, so suppress iconify button
|
||||
# http://wiki.tcl.tk/13428 and p15 of
|
||||
# https://developer.apple.com/legacy/library/documentation/Carbon/Conceptual/HandlingWindowsControls/windowscontrols.pdf
|
||||
@@ -552,7 +605,7 @@ class AppWindow(object):
|
||||
self.help_menu.add_command(command=lambda: not self.HelpAbout.showing and self.HelpAbout(self.w))
|
||||
|
||||
self.menubar.add_cascade(menu=self.help_menu)
|
||||
if platform == 'win32':
|
||||
if sys.platform == 'win32':
|
||||
# Must be added after at least one "real" menu entry
|
||||
self.always_ontop = tk.BooleanVar(value=bool(config.get_int('always_ontop')))
|
||||
self.system_menu = tk.Menu(self.menubar, name='system', tearoff=tk.FALSE)
|
||||
@@ -563,6 +616,10 @@ class AppWindow(object):
|
||||
command=self.ontop_changed) # Appearance setting
|
||||
self.menubar.add_cascade(menu=self.system_menu)
|
||||
self.w.bind('<Control-c>', self.copy)
|
||||
|
||||
# Bind to the Default theme minimise button
|
||||
self.w.bind("<Unmap>", self.default_iconify)
|
||||
|
||||
self.w.protocol("WM_DELETE_WINDOW", self.onexit)
|
||||
theme.register(self.menubar) # menus and children aren't automatically registered
|
||||
theme.register(self.file_menu)
|
||||
@@ -619,11 +676,11 @@ class AppWindow(object):
|
||||
if config.get_str('geometry'):
|
||||
match = re.match(r'\+([\-\d]+)\+([\-\d]+)', config.get_str('geometry'))
|
||||
if match:
|
||||
if platform == 'darwin':
|
||||
if sys.platform == 'darwin':
|
||||
# http://core.tcl.tk/tk/tktview/c84f660833546b1b84e7
|
||||
if int(match.group(2)) >= 0:
|
||||
self.w.geometry(config.get_str('geometry'))
|
||||
elif platform == 'win32':
|
||||
elif sys.platform == 'win32':
|
||||
# Check that the titlebar will be at least partly on screen
|
||||
import ctypes
|
||||
from ctypes.wintypes import POINT
|
||||
@@ -646,9 +703,10 @@ class AppWindow(object):
|
||||
self.w.bind('<FocusIn>', self.onenter) # Special handling for transparency
|
||||
self.w.bind('<Leave>', self.onleave) # Special handling for transparency
|
||||
self.w.bind('<FocusOut>', self.onleave) # Special handling for transparency
|
||||
self.w.bind('<Return>', self.getandsend)
|
||||
self.w.bind('<KP_Enter>', self.getandsend)
|
||||
self.w.bind_all('<<Invoke>>', self.getandsend) # Hotkey monitoring
|
||||
self.w.bind('<Return>', self.capi_request_data)
|
||||
self.w.bind('<KP_Enter>', self.capi_request_data)
|
||||
self.w.bind_all('<<Invoke>>', self.capi_request_data) # Ask for CAPI queries to be performed
|
||||
self.w.bind_all(self._CAPI_RESPONSE_TK_EVENT_NAME, self.capi_handle_response)
|
||||
self.w.bind_all('<<JournalEvent>>', self.journal_event) # Journal monitoring
|
||||
self.w.bind_all('<<DashboardEvent>>', self.dashboard_event) # Dashboard monitoring
|
||||
self.w.bind_all('<<PluginError>>', self.plugin_error) # Statusbar
|
||||
@@ -656,7 +714,7 @@ class AppWindow(object):
|
||||
self.w.bind_all('<<Quit>>', self.onexit) # Updater
|
||||
|
||||
# Start a protocol handler to handle cAPI registration. Requires main loop to be running.
|
||||
self.w.after_idle(lambda: protocolhandler.start(self.w))
|
||||
self.w.after_idle(lambda: protocol.protocolhandler.start(self.w))
|
||||
|
||||
# Load updater after UI creation (for WinSparkle)
|
||||
import update
|
||||
@@ -720,7 +778,7 @@ class AppWindow(object):
|
||||
self.suit_shown = True
|
||||
|
||||
if not self.suit_shown:
|
||||
if platform != 'win32':
|
||||
if sys.platform != 'win32':
|
||||
pady = 2
|
||||
|
||||
else:
|
||||
@@ -770,7 +828,7 @@ class AppWindow(object):
|
||||
self.system_label['text'] = _('System') + ':' # LANG: Label for 'System' line in main UI
|
||||
self.station_label['text'] = _('Station') + ':' # LANG: Label for 'Station' line in main UI
|
||||
self.button['text'] = self.theme_button['text'] = _('Update') # LANG: Update button in main window
|
||||
if platform == 'darwin':
|
||||
if sys.platform == 'darwin':
|
||||
self.menubar.entryconfigure(1, label=_('File')) # LANG: 'File' menu title on OSX
|
||||
self.menubar.entryconfigure(2, label=_('Edit')) # LANG: 'Edit' menu title on OSX
|
||||
self.menubar.entryconfigure(3, label=_('View')) # LANG: 'View' menu title on OSX
|
||||
@@ -817,7 +875,7 @@ class AppWindow(object):
|
||||
|
||||
self.button['state'] = self.theme_button['state'] = tk.DISABLED
|
||||
|
||||
if platform == 'darwin':
|
||||
if sys.platform == 'darwin':
|
||||
self.view_menu.entryconfigure(0, state=tk.DISABLED) # Status
|
||||
self.file_menu.entryconfigure(0, state=tk.DISABLED) # Save Raw Data
|
||||
|
||||
@@ -831,7 +889,7 @@ class AppWindow(object):
|
||||
# LANG: Successfully authenticated with the Frontier website
|
||||
self.status['text'] = _('Authentication successful')
|
||||
|
||||
if platform == 'darwin':
|
||||
if sys.platform == 'darwin':
|
||||
self.view_menu.entryconfigure(0, state=tk.NORMAL) # Status
|
||||
self.file_menu.entryconfigure(0, state=tk.NORMAL) # Save Raw Data
|
||||
|
||||
@@ -848,7 +906,7 @@ class AppWindow(object):
|
||||
|
||||
self.cooldown()
|
||||
|
||||
def export_market_data(self, data: CAPIData) -> bool: # noqa: CCR001
|
||||
def export_market_data(self, data: 'CAPIData') -> bool: # noqa: CCR001
|
||||
"""
|
||||
Export CAPI market data.
|
||||
|
||||
@@ -886,32 +944,58 @@ class AppWindow(object):
|
||||
|
||||
return True
|
||||
|
||||
def getandsend(self, event=None, retrying: bool = False): # noqa: C901, CCR001
|
||||
def capi_request_data(self, event=None) -> None:
|
||||
"""
|
||||
Perform CAPI data retrieval and associated actions.
|
||||
|
||||
This can be triggered by hitting the main UI 'Update' button,
|
||||
automatically on docking, or due to a retry.
|
||||
|
||||
:param event: Tk generated event details.
|
||||
"""
|
||||
logger.trace_if('capi.worker', 'Begin')
|
||||
auto_update = not event
|
||||
play_sound = (auto_update or int(event.type) == self.EVENT_VIRTUAL) and not config.get_int('hotkey_mute')
|
||||
play_bad = False
|
||||
err: Optional[str] = None
|
||||
|
||||
if (
|
||||
not monitor.cmdr or not monitor.mode or monitor.state['Captain']
|
||||
or not monitor.system or monitor.mode == 'CQC'
|
||||
):
|
||||
return # In CQC or on crew - do nothing
|
||||
if not monitor.cmdr:
|
||||
logger.trace_if('capi.worker', 'Aborting Query: Cmdr unknown')
|
||||
# LANG: CAPI queries aborted because Cmdr name is unknown
|
||||
self.status['text'] = _('CAPI query aborted: Cmdr name unknown')
|
||||
return
|
||||
|
||||
if not monitor.mode:
|
||||
logger.trace_if('capi.worker', 'Aborting Query: Game Mode unknown')
|
||||
# LANG: CAPI queries aborted because game mode unknown
|
||||
self.status['text'] = _('CAPI query aborted: Game mode unknown')
|
||||
return
|
||||
|
||||
if not monitor.system:
|
||||
logger.trace_if('capi.worker', 'Aborting Query: Current star system unknown')
|
||||
# LANG: CAPI queries aborted because current star system name unknown
|
||||
self.status['text'] = _('CAPI query aborted: Current system unknown')
|
||||
return
|
||||
|
||||
if monitor.state['Captain']:
|
||||
logger.trace_if('capi.worker', 'Aborting Query: In multi-crew')
|
||||
# LANG: CAPI queries aborted because player is in multi-crew on other Cmdr's ship
|
||||
self.status['text'] = _('CAPI query aborted: In other-ship multi-crew')
|
||||
return
|
||||
|
||||
if monitor.mode == 'CQC':
|
||||
logger.trace_if('capi.worker', 'Aborting Query: In CQC')
|
||||
# LANG: CAPI queries aborted because player is in CQC (Arena)
|
||||
self.status['text'] = _('CAPI query aborted: CQC (Arena) detected')
|
||||
return
|
||||
|
||||
if companion.session.state == companion.Session.STATE_AUTH:
|
||||
logger.trace_if('capi.worker', 'Auth in progress? Aborting query')
|
||||
# Attempt another Auth
|
||||
self.login()
|
||||
return
|
||||
|
||||
if not retrying:
|
||||
if time() < self.holdofftime: # Was invoked by key while in cooldown
|
||||
if play_sound and (self.holdofftime - time()) < companion.holdoff * 0.75:
|
||||
if not companion.session.retrying:
|
||||
if time() < self.capi_query_holdoff_time: # Was invoked by key while in cooldown
|
||||
if play_sound and (self.capi_query_holdoff_time - time()) < companion.capi_query_cooldown * 0.75:
|
||||
self.status['text'] = ''
|
||||
hotkeymgr.play_bad() # Don't play sound in first few seconds to prevent repeats
|
||||
|
||||
@@ -925,93 +1009,130 @@ class AppWindow(object):
|
||||
self.button['state'] = self.theme_button['state'] = tk.DISABLED
|
||||
self.w.update_idletasks()
|
||||
|
||||
query_time = int(time())
|
||||
logger.trace_if('capi.worker', 'Requesting full station data')
|
||||
config.set('querytime', query_time)
|
||||
logger.trace_if('capi.worker', 'Calling companion.session.station')
|
||||
companion.session.station(
|
||||
query_time=query_time, tk_response_event=self._CAPI_RESPONSE_TK_EVENT_NAME,
|
||||
play_sound=play_sound
|
||||
)
|
||||
|
||||
def capi_handle_response(self, event=None): # noqa: C901, CCR001
|
||||
"""Handle the resulting data from a CAPI query."""
|
||||
logger.trace_if('capi.worker', 'Handling response')
|
||||
play_bad: bool = False
|
||||
err: Optional[str] = None
|
||||
|
||||
capi_response: Union[companion.EDMCCAPIFailedRequest, companion.EDMCCAPIResponse]
|
||||
try:
|
||||
querytime = int(time())
|
||||
data = companion.session.station()
|
||||
config.set('querytime', querytime)
|
||||
logger.trace_if('capi.worker', 'Pulling answer off queue')
|
||||
capi_response = companion.session.capi_response_queue.get(block=False)
|
||||
if isinstance(capi_response, companion.EDMCCAPIFailedRequest):
|
||||
logger.trace_if('capi.worker', f'Failed Request: {capi_response.message}')
|
||||
if capi_response.exception:
|
||||
raise capi_response.exception
|
||||
|
||||
else:
|
||||
raise ValueError(capi_response.message)
|
||||
|
||||
logger.trace_if('capi.worker', 'Answer is not a Failure')
|
||||
if not isinstance(capi_response, companion.EDMCCAPIResponse):
|
||||
msg = f'Response was neither CAPIFailedRequest nor EDMCAPIResponse: {type(capi_response)}'
|
||||
logger.error(msg)
|
||||
raise ValueError(msg)
|
||||
|
||||
# Validation
|
||||
if 'commander' not in data:
|
||||
if 'commander' not in capi_response.capi_data:
|
||||
# This can happen with EGS Auth if no commander created yet
|
||||
# LANG: No data was returned for the commander from the Frontier CAPI
|
||||
err = self.status['text'] = _('CAPI: No commander data returned')
|
||||
|
||||
elif not data.get('commander', {}).get('name'):
|
||||
elif not capi_response.capi_data.get('commander', {}).get('name'):
|
||||
# LANG: We didn't have the commander name when we should have
|
||||
err = self.status['text'] = _("Who are you?!") # Shouldn't happen
|
||||
|
||||
elif (not data.get('lastSystem', {}).get('name')
|
||||
or (data['commander'].get('docked')
|
||||
and not data.get('lastStarport', {}).get('name'))):
|
||||
elif (not capi_response.capi_data.get('lastSystem', {}).get('name')
|
||||
or (capi_response.capi_data['commander'].get('docked')
|
||||
and not capi_response.capi_data.get('lastStarport', {}).get('name'))):
|
||||
# LANG: We don't know where the commander is, when we should
|
||||
err = self.status['text'] = _("Where are you?!") # Shouldn't happen
|
||||
|
||||
elif not data.get('ship', {}).get('name') or not data.get('ship', {}).get('modules'):
|
||||
elif (
|
||||
not capi_response.capi_data.get('ship', {}).get('name')
|
||||
or not capi_response.capi_data.get('ship', {}).get('modules')
|
||||
):
|
||||
# LANG: We don't know what ship the commander is in, when we should
|
||||
err = self.status['text'] = _("What are you flying?!") # Shouldn't happen
|
||||
|
||||
elif monitor.cmdr and data['commander']['name'] != monitor.cmdr:
|
||||
elif monitor.cmdr and capi_response.capi_data['commander']['name'] != monitor.cmdr:
|
||||
# Companion API Commander doesn't match Journal
|
||||
logger.trace_if('capi.worker', 'Raising CmdrError()')
|
||||
raise companion.CmdrError()
|
||||
|
||||
elif auto_update and not monitor.state['OnFoot'] and not data['commander'].get('docked'):
|
||||
elif (
|
||||
capi_response.auto_update and not monitor.state['OnFoot']
|
||||
and not capi_response.capi_data['commander'].get('docked')
|
||||
):
|
||||
# auto update is only when just docked
|
||||
logger.warning(f"{auto_update!r} and not {monitor.state['OnFoot']!r} and "
|
||||
f"not {data['commander'].get('docked')!r}")
|
||||
logger.warning(f"{capi_response.auto_update!r} and not {monitor.state['OnFoot']!r} and "
|
||||
f"not {capi_response.capi_data['commander'].get('docked')!r}")
|
||||
raise companion.ServerLagging()
|
||||
|
||||
elif data['lastSystem']['name'] != monitor.system:
|
||||
elif capi_response.capi_data['lastSystem']['name'] != monitor.system:
|
||||
# CAPI system must match last journal one
|
||||
logger.warning(f"{data['lastSystem']['name']!r} != {monitor.system!r}")
|
||||
logger.warning(f"{capi_response.capi_data['lastSystem']['name']!r} != {monitor.system!r}")
|
||||
raise companion.ServerLagging()
|
||||
|
||||
elif data['lastStarport']['name'] != monitor.station:
|
||||
elif capi_response.capi_data['lastStarport']['name'] != monitor.station:
|
||||
if monitor.state['OnFoot'] and monitor.station:
|
||||
logger.warning(f"({data['lastStarport']['name']!r} != {monitor.station!r}) AND "
|
||||
logger.warning(f"({capi_response.capi_data['lastStarport']['name']!r} != {monitor.station!r}) AND "
|
||||
f"{monitor.state['OnFoot']!r} and {monitor.station!r}")
|
||||
raise companion.ServerLagging()
|
||||
|
||||
else:
|
||||
last_station = None
|
||||
if data['commander']['docked']:
|
||||
last_station = data['lastStarport']['name']
|
||||
elif capi_response.capi_data['commander']['docked'] and monitor.station is None:
|
||||
# Likely (re-)Embarked on ship docked at an EDO settlement.
|
||||
# Both Disembark and Embark have `"Onstation": false` in Journal.
|
||||
# So there's nothing to tell us which settlement we're (still,
|
||||
# or now, if we came here in Apex and then recalled ship) docked at.
|
||||
logger.debug("docked AND monitor.station is None - so EDO settlement?")
|
||||
raise companion.NoMonitorStation()
|
||||
|
||||
if monitor.station is None:
|
||||
# Likely (re-)Embarked on ship docked at an EDO settlement.
|
||||
# Both Disembark and Embark have `"Onstation": false` in Journal.
|
||||
# So there's nothing to tell us which settlement we're (still,
|
||||
# or now, if we came here in Apex and then recalled ship) docked at.
|
||||
logger.debug("monitor.station is None - so EDO settlement?")
|
||||
raise companion.NoMonitorStation()
|
||||
self.capi_query_holdoff_time = capi_response.query_time + companion.capi_query_cooldown
|
||||
|
||||
if last_station != monitor.station:
|
||||
# CAPI lastStarport must match
|
||||
logger.warning(f"({data['lastStarport']['name']!r} != {monitor.station!r}) AND "
|
||||
f"{last_station!r} != {monitor.station!r}")
|
||||
raise companion.ServerLagging()
|
||||
|
||||
self.holdofftime = querytime + companion.holdoff
|
||||
|
||||
elif not monitor.state['OnFoot'] and data['ship']['id'] != monitor.state['ShipID']:
|
||||
# CAPI ship must match
|
||||
logger.warning(f"not {monitor.state['OnFoot']!r} and "
|
||||
f"{data['ship']['id']!r} != {monitor.state['ShipID']!r}")
|
||||
elif capi_response.capi_data['lastStarport']['id'] != monitor.station_marketid:
|
||||
logger.warning(f"MarketID mis-match: {capi_response.capi_data['lastStarport']['id']!r} !="
|
||||
f" {monitor.station_marketid!r}")
|
||||
raise companion.ServerLagging()
|
||||
|
||||
elif not monitor.state['OnFoot'] and data['ship']['name'].lower() != monitor.state['ShipType']:
|
||||
elif not monitor.state['OnFoot'] and capi_response.capi_data['ship']['id'] != monitor.state['ShipID']:
|
||||
# CAPI ship must match
|
||||
logger.warning(f"not {monitor.state['OnFoot']!r} and "
|
||||
f"{capi_response.capi_data['ship']['id']!r} != {monitor.state['ShipID']!r}")
|
||||
raise companion.ServerLagging()
|
||||
|
||||
elif (
|
||||
not monitor.state['OnFoot']
|
||||
and capi_response.capi_data['ship']['name'].lower() != monitor.state['ShipType']
|
||||
):
|
||||
# CAPI ship type must match
|
||||
logger.warning(f"not {monitor.state['OnFoot']!r} and "
|
||||
f"{data['ship']['name'].lower()!r} != {monitor.state['ShipType']!r}")
|
||||
f"{capi_response.capi_data['ship']['name'].lower()!r} != "
|
||||
f"{monitor.state['ShipType']!r}")
|
||||
raise companion.ServerLagging()
|
||||
|
||||
else:
|
||||
# TODO: Change to depend on its own CL arg
|
||||
if __debug__: # Recording
|
||||
companion.session.dump_capi_data(data)
|
||||
companion.session.dump_capi_data(capi_response.capi_data)
|
||||
|
||||
if not monitor.state['ShipType']: # Started game in SRV or fighter
|
||||
self.ship['text'] = ship_name_map.get(data['ship']['name'].lower(), data['ship']['name'])
|
||||
monitor.state['ShipID'] = data['ship']['id']
|
||||
monitor.state['ShipType'] = data['ship']['name'].lower()
|
||||
self.ship['text'] = ship_name_map.get(
|
||||
capi_response.capi_data['ship']['name'].lower(),
|
||||
capi_response.capi_data['ship']['name']
|
||||
)
|
||||
monitor.state['ShipID'] = capi_response.capi_data['ship']['id']
|
||||
monitor.state['ShipType'] = capi_response.capi_data['ship']['name'].lower()
|
||||
|
||||
if not monitor.state['Modules']:
|
||||
self.ship.configure(state=tk.DISABLED)
|
||||
@@ -1021,45 +1142,74 @@ class AppWindow(object):
|
||||
self.ship.configure(state=True)
|
||||
|
||||
if monitor.state.get('SuitCurrent') is not None:
|
||||
if (loadout := data.get('loadout')) is not None:
|
||||
if (loadout := capi_response.capi_data.get('loadout')) is not None:
|
||||
if (suit := loadout.get('suit')) is not None:
|
||||
if (suitname := suit.get('edmcName')) is not None:
|
||||
# We've been paranoid about loadout->suit->suitname, now just assume loadouts is there
|
||||
loadout_name = index_possibly_sparse_list(
|
||||
data['loadouts'], loadout['loadoutSlotId']
|
||||
capi_response.capi_data['loadouts'], loadout['loadoutSlotId']
|
||||
)['name']
|
||||
|
||||
self.suit['text'] = f'{suitname} ({loadout_name})'
|
||||
|
||||
self.suit_show_if_set()
|
||||
# Update Odyssey Suit data
|
||||
companion.session.suit_update(capi_response.capi_data)
|
||||
|
||||
if data['commander'].get('credits') is not None:
|
||||
monitor.state['Credits'] = data['commander']['credits']
|
||||
monitor.state['Loan'] = data['commander'].get('debt', 0)
|
||||
if capi_response.capi_data['commander'].get('credits') is not None:
|
||||
monitor.state['Credits'] = capi_response.capi_data['commander']['credits']
|
||||
monitor.state['Loan'] = capi_response.capi_data['commander'].get('debt', 0)
|
||||
|
||||
# stuff we can do when not docked
|
||||
err = plug.notify_newdata(data, monitor.is_beta)
|
||||
err = plug.notify_newdata(capi_response.capi_data, monitor.is_beta)
|
||||
self.status['text'] = err and err or ''
|
||||
if err:
|
||||
play_bad = True
|
||||
|
||||
# Export market data
|
||||
if not self.export_market_data(data):
|
||||
if not self.export_market_data(capi_response.capi_data):
|
||||
err = 'Error: Exporting Market data'
|
||||
play_bad = True
|
||||
|
||||
self.holdofftime = querytime + companion.holdoff
|
||||
self.capi_query_holdoff_time = capi_response.query_time + companion.capi_query_cooldown
|
||||
|
||||
except queue.Empty:
|
||||
logger.error('There was no response in the queue!')
|
||||
# TODO: Set status text
|
||||
return
|
||||
|
||||
except companion.ServerConnectionError:
|
||||
# LANG: Frontier CAPI server error when fetching data
|
||||
self.status['text'] = _('Frontier CAPI server error')
|
||||
|
||||
except companion.CredentialsRequireRefresh:
|
||||
# We need to 'close' the auth else it'll see STATE_OK and think login() isn't needed
|
||||
companion.session.close()
|
||||
# LANG: Frontier CAPI Access Token expired, trying to get a new one
|
||||
self.status['text'] = _('CAPI: Refreshing access token...')
|
||||
if companion.session.login():
|
||||
logger.debug('Initial query failed, but login() just worked, trying again...')
|
||||
companion.session.retrying = True
|
||||
self.w.after(int(SERVER_RETRY * 1000), lambda: self.capi_request_data(event))
|
||||
return # early exit to avoid starting cooldown count
|
||||
|
||||
except companion.CredentialsError:
|
||||
companion.session.retrying = False
|
||||
companion.session.invalidate()
|
||||
companion.session.login()
|
||||
return # We need to give Auth time to complete, so can't set a timed retry
|
||||
|
||||
# Companion API problem
|
||||
except companion.ServerLagging as e:
|
||||
err = str(e)
|
||||
if retrying:
|
||||
if companion.session.retrying:
|
||||
self.status['text'] = err
|
||||
play_bad = True
|
||||
|
||||
else:
|
||||
# Retry once if Companion server is unresponsive
|
||||
self.w.after(int(SERVER_RETRY * 1000), lambda: self.getandsend(event, True))
|
||||
companion.session.retrying = True
|
||||
self.w.after(int(SERVER_RETRY * 1000), lambda: self.capi_request_data(event))
|
||||
return # early exit to avoid starting cooldown count
|
||||
|
||||
except companion.CmdrError as e: # Companion API return doesn't match Journal
|
||||
@@ -1068,7 +1218,7 @@ class AppWindow(object):
|
||||
companion.session.invalidate()
|
||||
self.login()
|
||||
|
||||
except companion.ServerConnectionError as e:
|
||||
except companion.ServerConnectionError as e: # TODO: unreachable (subclass of ServerLagging -- move to above)
|
||||
logger.warning(f'Exception while contacting server: {e}')
|
||||
err = self.status['text'] = str(e)
|
||||
play_bad = True
|
||||
@@ -1080,14 +1230,16 @@ class AppWindow(object):
|
||||
|
||||
if not err: # not self.status['text']: # no errors
|
||||
# LANG: Time when we last obtained Frontier CAPI data
|
||||
self.status['text'] = strftime(_('Last updated at %H:%M:%S'), localtime(querytime))
|
||||
self.status['text'] = strftime(_('Last updated at %H:%M:%S'), localtime(capi_response.query_time))
|
||||
|
||||
if play_sound and play_bad:
|
||||
if capi_response.play_sound and play_bad:
|
||||
hotkeymgr.play_bad()
|
||||
|
||||
logger.trace_if('capi.worker', 'Updating suit and cooldown...')
|
||||
self.update_suit_text()
|
||||
self.suit_show_if_set()
|
||||
self.cooldown()
|
||||
logger.trace_if('capi.worker', '...done')
|
||||
|
||||
def journal_event(self, event): # noqa: C901, CCR001 # Currently not easily broken up.
|
||||
"""
|
||||
@@ -1264,7 +1416,7 @@ class AppWindow(object):
|
||||
auto_update = True
|
||||
|
||||
if auto_update:
|
||||
self.w.after(int(SERVER_RETRY * 1000), self.getandsend)
|
||||
self.w.after(int(SERVER_RETRY * 1000), self.capi_request_data)
|
||||
|
||||
if entry['event'] == 'ShutDown':
|
||||
# Enable WinSparkle automatic update checks
|
||||
@@ -1284,7 +1436,7 @@ class AppWindow(object):
|
||||
companion.session.auth_callback()
|
||||
# LANG: Successfully authenticated with the Frontier website
|
||||
self.status['text'] = _('Authentication successful')
|
||||
if platform == 'darwin':
|
||||
if sys.platform == 'darwin':
|
||||
self.view_menu.entryconfigure(0, state=tk.NORMAL) # Status
|
||||
self.file_menu.entryconfigure(0, state=tk.NORMAL) # Save Raw Data
|
||||
|
||||
@@ -1363,17 +1515,19 @@ class AppWindow(object):
|
||||
|
||||
def cooldown(self) -> None:
|
||||
"""Display and update the cooldown timer for 'Update' button."""
|
||||
if time() < self.holdofftime:
|
||||
if time() < self.capi_query_holdoff_time:
|
||||
# Update button in main window
|
||||
self.button['text'] = self.theme_button['text'] \
|
||||
= _('cooldown {SS}s').format(SS=int(self.holdofftime - time())) # LANG: Cooldown on 'Update' button
|
||||
= _('cooldown {SS}s').format( # LANG: Cooldown on 'Update' button
|
||||
SS=int(self.capi_query_holdoff_time - time())
|
||||
)
|
||||
self.w.after(1000, self.cooldown)
|
||||
|
||||
else:
|
||||
self.button['text'] = self.theme_button['text'] = _('Update') # LANG: Update button in main window
|
||||
self.button['state'] = self.theme_button['state'] = (monitor.cmdr and
|
||||
monitor.mode and
|
||||
monitor.mode == 'CQC' and
|
||||
monitor.mode != 'CQC' and
|
||||
not monitor.state['Captain'] and
|
||||
monitor.system and
|
||||
tk.NORMAL or tk.DISABLED)
|
||||
@@ -1423,11 +1577,11 @@ class AppWindow(object):
|
||||
|
||||
# position over parent
|
||||
# http://core.tcl.tk/tk/tktview/c84f660833546b1b84e7
|
||||
if platform != 'darwin' or parent.winfo_rooty() > 0:
|
||||
if sys.platform != 'darwin' or parent.winfo_rooty() > 0:
|
||||
self.geometry(f'+{parent.winfo_rootx():d}+{parent.winfo_rooty():d}')
|
||||
|
||||
# remove decoration
|
||||
if platform == 'win32':
|
||||
if sys.platform == 'win32':
|
||||
self.attributes('-toolwindow', tk.TRUE)
|
||||
|
||||
self.resizable(tk.FALSE, tk.FALSE)
|
||||
@@ -1494,65 +1648,54 @@ class AppWindow(object):
|
||||
self.destroy()
|
||||
self.__class__.showing = False
|
||||
|
||||
def save_raw(self) -> None: # noqa: CCR001 # Not easily broken up.
|
||||
"""Save newly acquired CAPI data in the configured file."""
|
||||
# LANG: Status - Attempting to retrieve data from Frontier CAPI to save to file
|
||||
self.status['text'] = _('Fetching data...')
|
||||
self.w.update_idletasks()
|
||||
def save_raw(self) -> None:
|
||||
"""
|
||||
Save any CAPI data already acquired to a file.
|
||||
|
||||
try:
|
||||
data: CAPIData = companion.session.station()
|
||||
self.status['text'] = ''
|
||||
default_extension: str = ''
|
||||
This specifically does *not* cause new queries to be performed, as the
|
||||
purpose is to aid in diagnosing any issues that occurred during 'normal'
|
||||
queries.
|
||||
"""
|
||||
default_extension: str = ''
|
||||
|
||||
if platform == 'darwin':
|
||||
default_extension = '.json'
|
||||
if sys.platform == 'darwin':
|
||||
default_extension = '.json'
|
||||
|
||||
last_system: str = data.get("lastSystem", {}).get("name", "Unknown")
|
||||
last_starport: str = ''
|
||||
timestamp: str = strftime('%Y-%m-%dT%H.%M.%S', localtime())
|
||||
f = tkinter.filedialog.asksaveasfilename(
|
||||
parent=self.w,
|
||||
defaultextension=default_extension,
|
||||
filetypes=[('JSON', '.json'), ('All Files', '*')],
|
||||
initialdir=config.get_str('outdir'),
|
||||
initialfile=f'{monitor.system}{monitor.station}.{timestamp}'
|
||||
)
|
||||
if not f:
|
||||
return
|
||||
|
||||
if data['commander'].get('docked'):
|
||||
last_starport = '.' + data.get('lastStarport', {}).get('name', 'Unknown')
|
||||
with open(f, 'wb') as h:
|
||||
h.write(str(companion.session.capi_raw_data).encode(encoding='utf-8'))
|
||||
|
||||
timestamp: str = strftime('%Y-%m-%dT%H.%M.%S', localtime())
|
||||
f = tkinter.filedialog.asksaveasfilename(
|
||||
parent=self.w,
|
||||
defaultextension=default_extension,
|
||||
filetypes=[('JSON', '.json'), ('All Files', '*')],
|
||||
initialdir=config.get_str('outdir'),
|
||||
initialfile=f'{last_system}{last_starport}.{timestamp}'
|
||||
)
|
||||
if f:
|
||||
with open(f, 'wb') as h:
|
||||
h.write(json.dumps(dict(data),
|
||||
ensure_ascii=False,
|
||||
indent=2,
|
||||
sort_keys=True,
|
||||
separators=(',', ': ')).encode('utf-8'))
|
||||
except companion.ServerError as e:
|
||||
self.status['text'] = str(e)
|
||||
|
||||
except Exception as e:
|
||||
logger.debug('"other" exception', exc_info=e)
|
||||
self.status['text'] = str(e)
|
||||
|
||||
# def exit_tray(self, systray: 'SysTrayIcon') -> None:
|
||||
# """Tray icon is shutting down."""
|
||||
# exit_thread = threading.Thread(target=self.onexit)
|
||||
# exit_thread.setDaemon(True)
|
||||
# exit_thread.start()
|
||||
def exit_tray(self, systray: 'SysTrayIcon') -> None:
|
||||
"""Tray icon is shutting down."""
|
||||
exit_thread = threading.Thread(
|
||||
target=self.onexit,
|
||||
daemon=True,
|
||||
)
|
||||
exit_thread.start()
|
||||
|
||||
def onexit(self, event=None) -> None:
|
||||
"""Application shutdown procedure."""
|
||||
# if platform == 'win32':
|
||||
# shutdown_thread = threading.Thread(target=self.systray.shutdown)
|
||||
# shutdown_thread.setDaemon(True)
|
||||
# shutdown_thread.start()
|
||||
if sys.platform == 'win32':
|
||||
shutdown_thread = threading.Thread(
|
||||
target=self.systray.shutdown,
|
||||
daemon=True,
|
||||
)
|
||||
shutdown_thread.start()
|
||||
|
||||
config.set_shutdown() # Signal we're in shutdown now.
|
||||
|
||||
# http://core.tcl.tk/tk/tktview/c84f660833546b1b84e7
|
||||
if platform != 'darwin' or self.w.winfo_rooty() > 0:
|
||||
if sys.platform != 'darwin' or self.w.winfo_rooty() > 0:
|
||||
x, y = self.w.geometry().split('+')[1:3] # e.g. '212x170+2881+1267'
|
||||
config.set('geometry', f'+{x}+{y}')
|
||||
|
||||
@@ -1577,6 +1720,10 @@ class AppWindow(object):
|
||||
logger.info('Unregistering hotkey manager...')
|
||||
hotkeymgr.unregister()
|
||||
|
||||
# Now the CAPI query thread
|
||||
logger.info('Closing CAPI query thread...')
|
||||
companion.session.capi_query_close_worker()
|
||||
|
||||
# Now the main programmatic input methods
|
||||
logger.info('Closing dashboard...')
|
||||
dashboard.close()
|
||||
@@ -1586,7 +1733,7 @@ class AppWindow(object):
|
||||
|
||||
# Frontier auth/CAPI handling
|
||||
logger.info('Closing protocol handler...')
|
||||
protocolhandler.close()
|
||||
protocol.protocolhandler.close()
|
||||
|
||||
logger.info('Closing Frontier CAPI sessions...')
|
||||
companion.session.close()
|
||||
@@ -1615,9 +1762,17 @@ class AppWindow(object):
|
||||
"""Handle end of window dragging."""
|
||||
self.drag_offset = (None, None)
|
||||
|
||||
def default_iconify(self, event=None) -> None:
|
||||
"""Handle the Windows default theme 'minimise' button."""
|
||||
# If we're meant to "minimize to system tray" then hide the window so no taskbar icon is seen
|
||||
if sys.platform == 'win32' and config.get_bool('minimize_system_tray'):
|
||||
# This gets called for more than the root widget, so only react to that
|
||||
if str(event.widget) == '.':
|
||||
self.w.withdraw()
|
||||
|
||||
def oniconify(self, event=None) -> None:
|
||||
"""Handle minimization of the application."""
|
||||
self.w.overrideredirect(0) # Can't iconize while overrideredirect
|
||||
"""Handle the minimize button on non-Default theme main window."""
|
||||
self.w.overrideredirect(False) # Can't iconize while overrideredirect
|
||||
self.w.iconify()
|
||||
self.w.update_idletasks() # Size and windows styles get recalculated here
|
||||
self.w.wait_visibility() # Need main window to be re-created before returning
|
||||
@@ -1721,9 +1876,13 @@ sys.path: {sys.path}'''
|
||||
if args.reset_ui:
|
||||
config.set('theme', 0) # 'Default' theme uses ID 0
|
||||
config.set('ui_transparency', 100) # 100 is completely opaque
|
||||
config.delete('font')
|
||||
config.delete('font_size')
|
||||
logger.info('reset theme, font, font size, and transparency to default.')
|
||||
config.delete('font', suppress=True)
|
||||
config.delete('font_size', suppress=True)
|
||||
|
||||
config.set('ui_scale', 100) # 100% is the default here
|
||||
config.delete('geometry', suppress=True) # unset is recreated by other code
|
||||
|
||||
logger.info('reset theme, transparency, font, font size, ui scale, and ui geometry to default.')
|
||||
|
||||
# We prefer a UTF-8 encoding gets set, but older Windows versions have
|
||||
# issues with this. From Windows 10 1903 onwards we can rely on the
|
||||
@@ -1783,11 +1942,19 @@ sys.path: {sys.path}'''
|
||||
else:
|
||||
log_locale('After switching to UTF-8 encoding (same language)')
|
||||
|
||||
# HACK: n/a | 2021-11-24: --force-localserver-auth does not work if companion is imported early -cont.
|
||||
# HACK: n/a | 2021-11-24: as we modify config before this is used.
|
||||
import companion
|
||||
from companion import CAPIData, index_possibly_sparse_list
|
||||
|
||||
# Do this after locale silliness, just in case
|
||||
if args.forget_frontier_auth:
|
||||
logger.info("Dropping all fdev tokens as --forget-frontier-auth was passed")
|
||||
companion.Auth.invalidate(None)
|
||||
|
||||
# Create protocol handler
|
||||
protocol.protocolhandler = protocol.get_handler_impl()()
|
||||
|
||||
# TODO: unittests in place of these
|
||||
# logger.debug('Test from __main__')
|
||||
# test_logging()
|
||||
|
||||
Submodule
+1
Submodule FDevIDs added at 9ca62008e9.
+369
-375
@@ -1,173 +1,95 @@
|
||||
/* Language name */
|
||||
"!Language" = "Čeština";
|
||||
|
||||
/* companion.py: Frontier CAPI didn't respond; In files: companion.py:171; */
|
||||
"Error: Frontier CAPI didn't respond" = "Chyba: Frontier CAPI neodpovídá";
|
||||
/* eddn.py: Status text shown while attempting to send data; In files: eddn.py:212; eddn.py:584; eddn.py:925; load.py:215; load.py:593; load.py:940; eddn.py:252; eddn.py:699; eddn.py:1439; */
|
||||
"Sending data to EDDN..." = "Odesílání dat do EDDN...";
|
||||
|
||||
/* eddn.py: Error while trying to send data to EDDN; In files: eddn.py:257; eddn.py:864; eddn.py:898; eddn.py:937; load.py:260; load.py:878; load.py:913; load.py:952; eddn.py:316; eddn.py:1375; eddn.py:1410; eddn.py:1451; */
|
||||
"Error: Can't connect to EDDN" = "Chyba: Nelze se připojit k EDDN";
|
||||
|
||||
/* OLD: Raised when cannot contact the Companion API server. [companion.py] */
|
||||
"Error: Frontier server is down" = "Chyba: Server Frontieru nejede";
|
||||
/* companion.py: Frontier CAPI data doesn't agree with latest Journal game location; In files: companion.py:190; */
|
||||
"Error: Frontier server is lagging" = "Chyba: Server Frontieru laguje";
|
||||
/* eddn.py: Enable EDDN support for station data checkbox label; In files: eddn.py:663; load.py:672; eddn.py:1122; */
|
||||
"Send station data to the Elite Dangerous Data Network" = "Odeslat data o stanici do Elite Dangerous Data Network";
|
||||
|
||||
/* companion.py: Generic "something went wrong with Frontier Auth" error; In files: companion.py:214; */
|
||||
"Error: Invalid Credentials" = "Chyba: Chybné přihlašovací údaje";
|
||||
/* eddn.py: Enable EDDN support for system and other scan data checkbox label; In files: eddn.py:673; load.py:682; eddn.py:1133; */
|
||||
"Send system and scan data to the Elite Dangerous Data Network" = "Odeslat sken a data o systému do Elite Dangerous Data Network";
|
||||
|
||||
/* companion.py: Frontier CAPI authorisation not for currently game-active commander; In files: companion.py:230; */
|
||||
"Error: Wrong Cmdr" = "Chyba: Nesprávný CMDR";
|
||||
/* eddn.py: EDDN delay sending until docked option is on, this message notes that a send was skipped due to this; In files: eddn.py:683; load.py:692; eddn.py:1144; */
|
||||
"Delay sending until docked" = "Pozdržet odeslání po zadokování";
|
||||
|
||||
/* companion.py: Generic error prefix - following text is from Frontier auth service; In files: companion.py:341; companion.py:422; */
|
||||
"Error" = "Chyba";
|
||||
/* edsm.py: Settings>EDSM - Label on checkbox for 'send data'; In files: edsm.py:197; load.py:197; edsm.py:237; */
|
||||
"Send flight log and Cmdr status to EDSM" = "Odesílat letový log a status CMDRa do EDSM";
|
||||
|
||||
/* edsm.py: Settings>EDSM - Label on header/URL to EDSM API key page; In files: edsm.py:206; load.py:206; edsm.py:247; */
|
||||
"Elite Dangerous Star Map credentials" = "Přihlašovací údaje Elite Dangerous Star Map";
|
||||
|
||||
/* [inara.py] */
|
||||
"Error: Can't connect to Inara" = "Chyba: Nelze se připojit k Inaře";
|
||||
/* companion.py: Frontier auth, no 'usr' section in returned data; companion.py: Frontier auth, no 'customer_id' in 'usr' section in returned data; In files: companion.py:380; companion.py:385; */
|
||||
"Error: Couldn't check token customer_id" = "Chyba: Nejde ověřit token customer_id";
|
||||
|
||||
/* companion.py: Frontier auth customer_id doesn't match game session FID; In files: companion.py:391; */
|
||||
"Error: customer_id doesn't match!" = "Chyba: customer_id nesouhlasí!";
|
||||
|
||||
/* companion.py: Failed to get Access Token from Frontier Auth service; In files: companion.py:413; */
|
||||
"Error: unable to get token" = "Chyba: nepovedlo se získat token";
|
||||
|
||||
/* companion.py: Frontier CAPI data retrieval failed; In files: companion.py:575; */
|
||||
"Frontier CAPI query failure" = "Dotaz na Frontier CAPI selhal";
|
||||
|
||||
/* companion.py: Frontier CAPI data retrieval failed with 5XX code; In files: companion.py:591; */
|
||||
"Frontier CAPI server error" = "Chyba Frontier CAPI serveru";
|
||||
|
||||
/* EDMarketConnector.py: Update button in main window; In files: EDMarketConnector.py:424; EDMarketConnector.py:718; EDMarketConnector.py:1302; */
|
||||
"Update" = "Aktualizovat";
|
||||
|
||||
/* EDMarketConnector.py: Appearance - Label for checkbox to select if application always on top; prefs.py: Appearance - Label for checkbox to select if application always on top; In files: EDMarketConnector.py:507; prefs.py:843; */
|
||||
"Always on top" = "Vždy navrchu";
|
||||
|
||||
/* EDMarketConnector.py: Unknown suit; In files: EDMarketConnector.py:636; */
|
||||
"Unknown" = "Neznámý";
|
||||
|
||||
/* EDMarketConnector.py: Label for commander name in main window; edsm.py: Game Commander name label in EDSM settings; stats.py: Cmdr stats; theme.py: Label for commander name in main window; In files: EDMarketConnector.py:712; edsm.py:219; stats.py:50; theme.py:227; */
|
||||
/* edsm.py: Game Commander name label in EDSM settings; theme.py: Label for commander name in main window; EDMarketConnector.py: Label for commander name in main window; stats.py: Cmdr stats; In files: edsm.py:216; load.py:216; edsm.py:258; theme.py:227; EDMarketConnector.py:822; stats.py:59; */
|
||||
"Cmdr" = "Cmdr";
|
||||
|
||||
/* EDMarketConnector.py: 'Ship' or multi-crew role label in main window, as applicable; EDMarketConnector.py: Multicrew role label in main window; In files: EDMarketConnector.py:714; EDMarketConnector.py:1072; */
|
||||
"Role" = "Role";
|
||||
/* edsm.py: EDSM Commander name label in EDSM settings; In files: edsm.py:223; load.py:223; edsm.py:266; */
|
||||
"Commander Name" = "Jméno CMDRa";
|
||||
|
||||
/* EDMarketConnector.py: 'Ship' or multi-crew role label in main window, as applicable; EDMarketConnector.py: 'Ship' label in main UI; stats.py: Status dialog subtitle; In files: EDMarketConnector.py:714; EDMarketConnector.py:1082; EDMarketConnector.py:1105; stats.py:363; */
|
||||
"Ship" = "Loď";
|
||||
/* edsm.py: EDSM API key label; inara.py: Inara API key label; In files: edsm.py:230; inara.py:233; load.py:230; load.py:233; edsm.py:274; inara.py:243; */
|
||||
"API Key" = "API klíč";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'Suit' line in main UI; In files: EDMarketConnector.py:715; */
|
||||
"Suit" = "Oblek";
|
||||
/* edsm.py: We have no data on the current commander; prefs.py: No hotkey/shortcut set; stats.py: No rank; In files: edsm.py:256; load.py:256; edsm.py:301; prefs.py:520; prefs.py:1174; prefs.py:1207; stats.py:156; stats.py:175; stats.py:194; stats.py:211; */
|
||||
"None" = "Žádná";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'System' line in main UI; prefs.py: Configuration - Label for selection of 'System' provider website; stats.py: Main window; In files: EDMarketConnector.py:716; prefs.py:605; stats.py:365; */
|
||||
"System" = "Systém";
|
||||
/* edsm.py: EDSM Plugin - Error message from EDSM API; In files: edsm.py:622; edsm.py:724; load.py:627; load.py:729; edsm.py:747; edsm.py:875; */
|
||||
"Error: EDSM {MSG}" = "Chyba: EDSM {MSG}";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'Station' line in main UI; prefs.py: Configuration - Label for selection of 'Station' provider website; prefs.py: Appearance - Example 'Normal' text; stats.py: Status dialog subtitle; In files: EDMarketConnector.py:717; prefs.py:623; prefs.py:738; stats.py:366; */
|
||||
"Station" = "Stanice";
|
||||
/* edsm.py: EDSM Plugin - Error connecting to EDSM API; In files: edsm.py:658; edsm.py:720; load.py:663; load.py:725; edsm.py:784; edsm.py:870; */
|
||||
"Error: Can't connect to EDSM" = "Chyba: Nelze se připojit k EDSM";
|
||||
|
||||
/* EDMarketConnector.py: 'File' menu title on OSX; EDMarketConnector.py: 'File' menu title; EDMarketConnector.py: 'File' menu; In files: EDMarketConnector.py:720; EDMarketConnector.py:735; EDMarketConnector.py:738; EDMarketConnector.py:1791; */
|
||||
"File" = "Soubor";
|
||||
/* inara.py: Checkbox to enable INARA API Usage; In files: inara.py:215; load.py:215; inara.py:222; */
|
||||
"Send flight log and Cmdr status to Inara" = "Odesílat letový log a status CMDRa na Inaru";
|
||||
|
||||
/* EDMarketConnector.py: 'Edit' menu title on OSX; EDMarketConnector.py: 'Edit' menu title; In files: EDMarketConnector.py:721; EDMarketConnector.py:736; EDMarketConnector.py:739; */
|
||||
"Edit" = "Upravit";
|
||||
/* inara.py: Text for INARA API keys link ( goes to https://inara.cz/settings-api ); In files: inara.py:225; load.py:225; inara.py:234; */
|
||||
"Inara credentials" = "Přihlašovací údaje k Inaře";
|
||||
|
||||
/* EDMarketConnector.py: 'View' menu title on OSX; In files: EDMarketConnector.py:722; */
|
||||
"View" = "Zobrazit";
|
||||
/* inara.py: INARA API returned some kind of error (error message will be contained in {MSG}); In files: inara.py:1316; inara.py:1328; load.py:1319; load.py:1331; inara.py:1587; inara.py:1600; */
|
||||
"Error: Inara {MSG}" = "Chyba: Inara {MSG}";
|
||||
|
||||
/* EDMarketConnector.py: 'Window' menu title on OSX; In files: EDMarketConnector.py:723; */
|
||||
"Window" = "Okno";
|
||||
/* coriolis.py: 'Auto' label for Coriolis site override selection; coriolis.py: Coriolis normal/beta selection - auto; In files: load.py:51; load.py:51; load.py:88; load.py:104; load.py:110; coriolis.py:52; coriolis.py:55; coriolis.py:101; coriolis.py:117; coriolis.py:123; */
|
||||
"Auto" = "Auto";
|
||||
|
||||
/* EDMarketConnector.py: Help' menu title on OSX; EDMarketConnector.py: 'Help' menu title; In files: EDMarketConnector.py:724; EDMarketConnector.py:737; EDMarketConnector.py:740; */
|
||||
"Help" = "Nápověda";
|
||||
/* coriolis.py: 'Normal' label for Coriolis site override selection; coriolis.py: Coriolis normal/beta selection - normal; In files: load.py:51; load.py:88; load.py:102; coriolis.py:53; coriolis.py:99; coriolis.py:115; */
|
||||
"Normal" = "Normal";
|
||||
|
||||
/* EDMarketConnector.py: App menu entry on OSX; EDMarketConnector.py: Help > About App; In files: EDMarketConnector.py:727; EDMarketConnector.py:753; EDMarketConnector.py:1347; */
|
||||
"About {APP}" = "O {APP}";
|
||||
/* coriolis.py: 'Beta' label for Coriolis site override selection; coriolis.py: Coriolis normal/beta selection - beta; In files: load.py:51; load.py:88; load.py:103; coriolis.py:54; coriolis.py:100; coriolis.py:116; */
|
||||
"Beta" = "Beta";
|
||||
|
||||
/* EDMarketConnector.py: Help > Check for Updates...; In files: EDMarketConnector.py:729; EDMarketConnector.py:752; */
|
||||
"Check for Updates..." = "Zkontrolovat aktualizace...";
|
||||
/* coriolis.py: Settings>Coriolis: Help/hint for changing coriolis URLs; In files: load.py:64:66; coriolis.py:69:71; */
|
||||
"Set the URL to use with coriolis.io ship loadouts. Note that this MUST end with '/import?data='" = "Nastavte si URL pro konfiguraci lodi na coriolis.io. Adresa MUSÍ končit '/import?data='";
|
||||
|
||||
/* EDMarketConnector.py: File > Save Raw Data...; In files: EDMarketConnector.py:730; EDMarketConnector.py:744; */
|
||||
"Save Raw Data..." = "Uložit surová data...";
|
||||
/* coriolis.py: Settings>Coriolis: Label for 'NOT alpha/beta game version' URL; In files: load.py:69; coriolis.py:75; */
|
||||
"Normal URL" = "Normal URL";
|
||||
|
||||
/* EDMarketConnector.py: File > Status; stats.py: Status dialog title; In files: EDMarketConnector.py:731; EDMarketConnector.py:743; stats.py:360; */
|
||||
"Status" = "Status";
|
||||
/* coriolis.py: Generic 'Reset' button label; In files: load.py:71; load.py:78; coriolis.py:78; coriolis.py:87; */
|
||||
"Reset" = "Reset";
|
||||
|
||||
/* EDMarketConnector.py: Help > Privacy Policy; In files: EDMarketConnector.py:732; EDMarketConnector.py:750; */
|
||||
"Privacy Policy" = "Zásady ochrany osobních údajů";
|
||||
/* coriolis.py: Settings>Coriolis: Label for 'alpha/beta game version' URL; In files: load.py:76; coriolis.py:84; */
|
||||
"Beta URL" = "Beta URL";
|
||||
|
||||
/* EDMarketConnector.py: Help > Release Notes; In files: EDMarketConnector.py:733; EDMarketConnector.py:751; EDMarketConnector.py:1381; */
|
||||
"Release Notes" = "Poznámky k verzi";
|
||||
/* coriolis.py: Settings>Coriolis - invalid override mode found; In files: load.py:120; coriolis.py:134; */
|
||||
"Invalid Coriolis override mode!" = "Neplatný režim přepisu Coriolis!";
|
||||
|
||||
/* EDMarketConnector.py: File > Settings; prefs.py: File > Settings (macOS); In files: EDMarketConnector.py:745; EDMarketConnector.py:1792; prefs.py:254; */
|
||||
"Settings" = "Nastavení";
|
||||
/* eddb.py: Journal Processing disabled due to an active killswitch; In files: load.py:99; eddb.py:100; */
|
||||
"EDDB Journal processing disabled. See Log." = "Zpracování EDDB deníku je deaktivováno. Zkontrolujte log.";
|
||||
|
||||
/* EDMarketConnector.py: File > Exit; In files: EDMarketConnector.py:746; */
|
||||
"Exit" = "Ukončit";
|
||||
/* eddn.py: Killswitch disabled EDDN; In files: load.py:756; eddn.py:1233; */
|
||||
"EDDN journal handler disabled. See Log." = "Obsluha EDDN deníku je deaktivována. Zkontrolujte log.";
|
||||
|
||||
/* EDMarketConnector.py: Help > Documentation; In files: EDMarketConnector.py:749; */
|
||||
"Documentation" = "Dokumentace";
|
||||
/* edsm.py: EDSM plugin - Journal handling disabled by killswitch; In files: load.py:346; edsm.py:402; */
|
||||
"EDSM Handler disabled. See Log." = "Obsluha EDSM deaktivována. Zkontrolujte log.";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'Copy' as in 'Copy and Paste'; ttkHyperlinkLabel.py: Label for 'Copy' as in 'Copy and Paste'; In files: EDMarketConnector.py:756; ttkHyperlinkLabel.py:42; */
|
||||
"Copy" = "Kopírovat";
|
||||
/* inara.py: INARA support disabled via killswitch; In files: load.py:331; inara.py:341; */
|
||||
"Inara disabled. See Log." = "Inara deaktivována. Zkontrolujte log.";
|
||||
|
||||
/* EDMarketConnector.py: Status - Attempting to get a Frontier Auth Access Token; In files: EDMarketConnector.py:762; */
|
||||
"Logging in..." = "Přihlašování...";
|
||||
|
||||
/* EDMarketConnector.py: Successfully authenticated with the Frontier website; In files: EDMarketConnector.py:778; EDMarketConnector.py:1215; */
|
||||
"Authentication successful" = "Přihlášení bylo úspěšné";
|
||||
|
||||
/* EDMarketConnector.py: Player is not docked at a station, when we expect them to be; In files: EDMarketConnector.py:809; */
|
||||
"You're not docked at a station!" = "Nejste zadokováni ve stanici!";
|
||||
|
||||
/* EDMarketConnector.py: Status - Either no market or no modules data for station from Frontier CAPI; In files: EDMarketConnector.py:817; */
|
||||
"Station doesn't have anything!" = "Stanice nenabízí žádné služby!";
|
||||
|
||||
/* EDMarketConnector.py: Status - No station market data from Frontier CAPI; In files: EDMarketConnector.py:822; */
|
||||
"Station doesn't have a market!" = "Stanice nemá obchod!";
|
||||
|
||||
/* EDMarketConnector.py: Status - Attempting to retrieve data from Frontier CAPI; EDMarketConnector.py: Status - Attempting to retrieve data from Frontier CAPI to save to file; stats.py: Fetching data from Frontier CAPI in order to display on File > Status; In files: EDMarketConnector.py:867; EDMarketConnector.py:1428; stats.py:279; */
|
||||
"Fetching data..." = "Načítání dat...";
|
||||
|
||||
/* EDMarketConnector.py: No data was returned for the commander from the Frontier CAPI; In files: EDMarketConnector.py:880; */
|
||||
/* EDMarketConnector.py: No data was returned for the commander from the Frontier CAPI; In files: test_ast_stuff.py:2; EDMarketConnector.py:1047; */
|
||||
"CAPI: No commander data returned" = "CAPI: Nebyla vrácena žádná data komandéra";
|
||||
|
||||
/* EDMarketConnector.py: We didn't have the commander name when we should have; stats.py: Unknown commander; In files: EDMarketConnector.py:884; stats.py:297; */
|
||||
"Who are you?!" = "Kdo jste?";
|
||||
|
||||
/* EDMarketConnector.py: We don't know where the commander is, when we should; stats.py: Unknown location; In files: EDMarketConnector.py:890; stats.py:307; */
|
||||
"Where are you?!" = "Kde zrovna jste?";
|
||||
|
||||
/* EDMarketConnector.py: We don't know what ship the commander is in, when we should; stats.py: Unknown ship; In files: EDMarketConnector.py:894; stats.py:312; */
|
||||
"What are you flying?!" = "S jakou lodí létáte?";
|
||||
|
||||
/* EDMarketConnector.py: Time when we last obtained Frontier CAPI data; In files: EDMarketConnector.py:1026; */
|
||||
"Last updated at %H:%M:%S" = "Poslední aktualizace %H:%M:%S";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1052; */
|
||||
"Fighter" = "Fighter";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1053; */
|
||||
"Gunner" = "Gunner";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1054; */
|
||||
"Helm" = "Helm";
|
||||
|
||||
/* EDMarketConnector.py: Cooldown on 'Update' button; In files: EDMarketConnector.py:1298; */
|
||||
"cooldown {SS}s" = "Počkej ještě {SS}s";
|
||||
|
||||
/* EDMarketConnector.py: Generic 'OK' button label; prefs.py: 'OK' button on Settings/Preferences window; In files: EDMarketConnector.py:1407; prefs.py:304; */
|
||||
"OK" = "OK";
|
||||
|
||||
/* EDMarketConnector.py: The application is shutting down; In files: EDMarketConnector.py:1489; */
|
||||
"Shutting down..." = "Vypínání...";
|
||||
|
||||
/* EDMarketConnector.py: Popup-text about 'active' plugins without Python 3.x support; In files: EDMarketConnector.py:1780:1786; */
|
||||
"One or more of your enabled plugins do not yet have support for Python 3.x. Please see the list on the '{PLUGINS}' tab of '{FILE}' > '{SETTINGS}'. You should check if there is an updated version available, else alert the developer that they need to update the code for Python 3.x.\r\n\r\nYou can disable a plugin by renaming its folder to have '{DISABLED}' on the end of the name." = "Jeden nebo více aktivních pluginů ještě stále nepodporuje Python 3.x. Podívejte se na jejich seznam v záložce '{PLUGINS}' v '{FILE}' > '{SETTINGS}'. Zkontrolujte si jestli není dostupná novější verze pluginu, pokud ne, tak kontaktujte vývojáře pluginu o tom, že musí upravit jejich plugin pro Python 3.x.\n\nPlugin můžete vypnout přidáním '{DISABLED}' na konec názvu jeho složky.";
|
||||
|
||||
/* EDMarketConnector.py: Settings > Plugins tab; prefs.py: Label on Settings > Plugins tab; In files: EDMarketConnector.py:1790; prefs.py:953; */
|
||||
"Plugins" = "Pluginy";
|
||||
|
||||
/* EDMarketConnector.py: Popup window title for list of 'enabled' plugins that don't work with Python 3.x; In files: EDMarketConnector.py:1801; */
|
||||
"EDMC: Plugins Without Python 3.x Support" = "EDMC: Pluginy, které nepodporují Python 3.x";
|
||||
/* coriolis.py: Settings>Coriolis: Label for selection of using Normal, Beta or 'auto' Coriolis URL; In files: coriolis.py:94; */
|
||||
"Override Beta/Normal Selection" = "Přepsat volbu Beta/Normal";
|
||||
|
||||
/* journal_lock.py: Title text on popup when Journal directory already locked; In files: journal_lock.py:206; */
|
||||
"Journal directory already locked" = "Adresář deníku je již uzamčen";
|
||||
@@ -181,449 +103,521 @@
|
||||
/* journal_lock.py: Generic 'Ignore' button label; In files: journal_lock.py:232; */
|
||||
"Ignore" = "Ignorovat";
|
||||
|
||||
/* l10n.py: The system default language choice in Settings > Appearance; prefs.py: Settings > Configuration - Label on 'reset journal files location to default' button; prefs.py: The system default language choice in Settings > Appearance; prefs.py: Label for 'Default' theme radio button; In files: l10n.py:194; prefs.py:466; prefs.py:678; prefs.py:711; */
|
||||
/* ttkHyperlinkLabel.py: Label for 'Copy' as in 'Copy and Paste'; EDMarketConnector.py: Label for 'Copy' as in 'Copy and Paste'; In files: ttkHyperlinkLabel.py:42; EDMarketConnector.py:866; */
|
||||
"Copy" = "Kopírovat";
|
||||
|
||||
/* EDMarketConnector.py: Update button in main window; In files: EDMarketConnector.py:529; EDMarketConnector.py:828; EDMarketConnector.py:1520; */
|
||||
"Update" = "Aktualizovat";
|
||||
|
||||
/* EDMarketConnector.py: Appearance - Label for checkbox to select if application always on top; prefs.py: Appearance - Label for checkbox to select if application always on top; In files: EDMarketConnector.py:612; prefs.py:867; */
|
||||
"Always on top" = "Vždy navrchu";
|
||||
|
||||
/* EDMarketConnector.py: Unknown suit; In files: EDMarketConnector.py:746; */
|
||||
"Unknown" = "Neznámý";
|
||||
|
||||
/* EDMarketConnector.py: 'Ship' or multi-crew role label in main window, as applicable; EDMarketConnector.py: Multicrew role label in main window; In files: EDMarketConnector.py:824; EDMarketConnector.py:1279; */
|
||||
"Role" = "Role";
|
||||
|
||||
/* EDMarketConnector.py: 'Ship' or multi-crew role label in main window, as applicable; EDMarketConnector.py: 'Ship' label in main UI; stats.py: Status dialog subtitle; In files: EDMarketConnector.py:824; EDMarketConnector.py:1289; EDMarketConnector.py:1312; stats.py:409; */
|
||||
"Ship" = "Loď";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'Suit' line in main UI; In files: EDMarketConnector.py:825; */
|
||||
"Suit" = "Oblek";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'System' line in main UI; prefs.py: Configuration - Label for selection of 'System' provider website; stats.py: Main window; In files: EDMarketConnector.py:826; prefs.py:607; stats.py:411; */
|
||||
"System" = "Systém";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'Station' line in main UI; prefs.py: Configuration - Label for selection of 'Station' provider website; prefs.py: Appearance - Example 'Normal' text; stats.py: Status dialog subtitle; In files: EDMarketConnector.py:827; prefs.py:625; prefs.py:762; stats.py:412; */
|
||||
"Station" = "Stanice";
|
||||
|
||||
/* EDMarketConnector.py: 'File' menu title on OSX; EDMarketConnector.py: 'File' menu title; EDMarketConnector.py: 'File' menu; In files: EDMarketConnector.py:830; EDMarketConnector.py:845; EDMarketConnector.py:848; EDMarketConnector.py:2019; */
|
||||
"File" = "Soubor";
|
||||
|
||||
/* EDMarketConnector.py: 'Edit' menu title on OSX; EDMarketConnector.py: 'Edit' menu title; In files: EDMarketConnector.py:831; EDMarketConnector.py:846; EDMarketConnector.py:849; */
|
||||
"Edit" = "Upravit";
|
||||
|
||||
/* EDMarketConnector.py: 'View' menu title on OSX; In files: EDMarketConnector.py:832; */
|
||||
"View" = "Zobrazit";
|
||||
|
||||
/* EDMarketConnector.py: 'Window' menu title on OSX; In files: EDMarketConnector.py:833; */
|
||||
"Window" = "Okno";
|
||||
|
||||
/* EDMarketConnector.py: Help' menu title on OSX; EDMarketConnector.py: 'Help' menu title; In files: EDMarketConnector.py:834; EDMarketConnector.py:847; EDMarketConnector.py:850; */
|
||||
"Help" = "Nápověda";
|
||||
|
||||
/* EDMarketConnector.py: App menu entry on OSX; EDMarketConnector.py: Help > About App; In files: EDMarketConnector.py:837; EDMarketConnector.py:863; EDMarketConnector.py:1566; */
|
||||
"About {APP}" = "O {APP}";
|
||||
|
||||
/* EDMarketConnector.py: Help > Check for Updates...; In files: EDMarketConnector.py:839; EDMarketConnector.py:862; */
|
||||
"Check for Updates..." = "Zkontrolovat aktualizace...";
|
||||
|
||||
/* EDMarketConnector.py: File > Save Raw Data...; In files: EDMarketConnector.py:840; EDMarketConnector.py:854; */
|
||||
"Save Raw Data..." = "Uložit surová data...";
|
||||
|
||||
/* EDMarketConnector.py: File > Status; stats.py: Status dialog title; In files: EDMarketConnector.py:841; EDMarketConnector.py:853; stats.py:406; */
|
||||
"Status" = "Status";
|
||||
|
||||
/* EDMarketConnector.py: Help > Privacy Policy; In files: EDMarketConnector.py:842; EDMarketConnector.py:860; */
|
||||
"Privacy Policy" = "Zásady ochrany osobních údajů";
|
||||
|
||||
/* EDMarketConnector.py: Help > Release Notes; In files: EDMarketConnector.py:843; EDMarketConnector.py:861; EDMarketConnector.py:1600; */
|
||||
"Release Notes" = "Poznámky k verzi";
|
||||
|
||||
/* EDMarketConnector.py: File > Settings; prefs.py: File > Settings (macOS); In files: EDMarketConnector.py:855; EDMarketConnector.py:2020; prefs.py:255; */
|
||||
"Settings" = "Nastavení";
|
||||
|
||||
/* EDMarketConnector.py: File > Exit; In files: EDMarketConnector.py:856; */
|
||||
"Exit" = "Ukončit";
|
||||
|
||||
/* EDMarketConnector.py: Help > Documentation; In files: EDMarketConnector.py:859; */
|
||||
"Documentation" = "Dokumentace";
|
||||
|
||||
/* EDMarketConnector.py: Status - Attempting to get a Frontier Auth Access Token; In files: EDMarketConnector.py:872; */
|
||||
"Logging in..." = "Přihlašování...";
|
||||
|
||||
/* EDMarketConnector.py: Successfully authenticated with the Frontier website; In files: EDMarketConnector.py:888; EDMarketConnector.py:1431; */
|
||||
"Authentication successful" = "Přihlášení bylo úspěšné";
|
||||
|
||||
/* EDMarketConnector.py: Player is not docked at a station, when we expect them to be; In files: EDMarketConnector.py:919; */
|
||||
"You're not docked at a station!" = "Nejste zadokováni ve stanici!";
|
||||
|
||||
/* EDMarketConnector.py: Status - Either no market or no modules data for station from Frontier CAPI; In files: EDMarketConnector.py:927; */
|
||||
"Station doesn't have anything!" = "Stanice nenabízí žádné služby!";
|
||||
|
||||
/* EDMarketConnector.py: Status - No station market data from Frontier CAPI; In files: EDMarketConnector.py:932; */
|
||||
"Station doesn't have a market!" = "Stanice nemá obchod!";
|
||||
|
||||
/* EDMarketConnector.py: Status - Attempting to retrieve data from Frontier CAPI; In files: EDMarketConnector.py:1006; */
|
||||
"Fetching data..." = "Načítání dat...";
|
||||
|
||||
/* EDMarketConnector.py: We didn't have the commander name when we should have; stats.py: Unknown commander; In files: EDMarketConnector.py:1051; stats.py:335; */
|
||||
"Who are you?!" = "Kdo jste?";
|
||||
|
||||
/* EDMarketConnector.py: We don't know where the commander is, when we should; stats.py: Unknown location; In files: EDMarketConnector.py:1057; stats.py:345; */
|
||||
"Where are you?!" = "Kde zrovna jste?";
|
||||
|
||||
/* EDMarketConnector.py: We don't know what ship the commander is in, when we should; stats.py: Unknown ship; In files: EDMarketConnector.py:1064; stats.py:353; */
|
||||
"What are you flying?!" = "S jakou lodí létáte?";
|
||||
|
||||
/* EDMarketConnector.py: Frontier CAPI server error when fetching data; In files: EDMarketConnector.py:1176; */
|
||||
"Frontier CAPI server error" = "Chyba Frontier CAPI serveru";
|
||||
|
||||
/* EDMarketConnector.py: Time when we last obtained Frontier CAPI data; In files: EDMarketConnector.py:1226; */
|
||||
"Last updated at %H:%M:%S" = "Poslední aktualizace %H:%M:%S";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1254; */
|
||||
"Fighter" = "Fighter";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1255; */
|
||||
"Gunner" = "Gunner";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1256; */
|
||||
"Helm" = "Helm";
|
||||
|
||||
/* EDMarketConnector.py: Cooldown on 'Update' button; In files: EDMarketConnector.py:1514; */
|
||||
"cooldown {SS}s" = "Počkej ještě {SS}s";
|
||||
|
||||
/* EDMarketConnector.py: Generic 'OK' button label; prefs.py: 'OK' button on Settings/Preferences window; In files: EDMarketConnector.py:1626; prefs.py:306; */
|
||||
"OK" = "OK";
|
||||
|
||||
/* EDMarketConnector.py: The application is shutting down; In files: EDMarketConnector.py:1693; */
|
||||
"Shutting down..." = "Vypínání...";
|
||||
|
||||
/* EDMarketConnector.py: Popup-text about 'active' plugins without Python 3.x support; In files: EDMarketConnector.py:2008:2014; */
|
||||
"One or more of your enabled plugins do not yet have support for Python 3.x. Please see the list on the '{PLUGINS}' tab of '{FILE}' > '{SETTINGS}'. You should check if there is an updated version available, else alert the developer that they need to update the code for Python 3.x.\r\n\r\nYou can disable a plugin by renaming its folder to have '{DISABLED}' on the end of the name." = "Jeden nebo více aktivních pluginů ještě stále nepodporuje Python 3.x. Podívejte se na jejich seznam v záložce '{PLUGINS}' v '{FILE}' > '{SETTINGS}'. Zkontrolujte si jestli není dostupná novější verze pluginu, pokud ne, tak kontaktujte vývojáře pluginu o tom, že musí upravit jejich plugin pro Python 3.x.\n\nPlugin můžete vypnout přidáním '{DISABLED}' na konec názvu jeho složky.";
|
||||
|
||||
/* EDMarketConnector.py: Settings > Plugins tab; prefs.py: Label on Settings > Plugins tab; In files: EDMarketConnector.py:2018; prefs.py:978; */
|
||||
"Plugins" = "Pluginy";
|
||||
|
||||
/* EDMarketConnector.py: Popup window title for list of 'enabled' plugins that don't work with Python 3.x; In files: EDMarketConnector.py:2029; */
|
||||
"EDMC: Plugins Without Python 3.x Support" = "EDMC: Pluginy, které nepodporují Python 3.x";
|
||||
|
||||
/* companion.py: Frontier CAPI didn't respond; In files: companion.py:218; */
|
||||
"Error: Frontier CAPI didn't respond" = "Chyba: Frontier CAPI neodpovídá";
|
||||
|
||||
/* companion.py: Frontier CAPI data doesn't agree with latest Journal game location; In files: companion.py:237; */
|
||||
"Error: Frontier server is lagging" = "Chyba: Server Frontieru laguje";
|
||||
|
||||
/* companion.py: Generic "something went wrong with Frontier Auth" error; In files: companion.py:263; */
|
||||
"Error: Invalid Credentials" = "Chyba: Chybné přihlašovací údaje";
|
||||
|
||||
/* companion.py: Frontier CAPI authorisation not for currently game-active commander; In files: companion.py:288; */
|
||||
"Error: Wrong Cmdr" = "Chyba: Nesprávný CMDR";
|
||||
|
||||
/* companion.py: Generic error prefix - following text is from Frontier auth service; In files: companion.py:414; companion.py:499; */
|
||||
"Error" = "Chyba";
|
||||
|
||||
/* companion.py: Frontier auth, no 'usr' section in returned data; companion.py: Frontier auth, no 'customer_id' in 'usr' section in returned data; In files: companion.py:457; companion.py:462; */
|
||||
"Error: Couldn't check token customer_id" = "Chyba: Nejde ověřit token customer_id";
|
||||
|
||||
/* companion.py: Frontier auth customer_id doesn't match game session FID; In files: companion.py:468; */
|
||||
"Error: customer_id doesn't match!" = "Chyba: customer_id nesouhlasí!";
|
||||
|
||||
/* companion.py: Failed to get Access Token from Frontier Auth service; In files: companion.py:490; */
|
||||
"Error: unable to get token" = "Chyba: nepovedlo se získat token";
|
||||
|
||||
/* companion.py: Frontier CAPI data retrieval failed; In files: companion.py:809; */
|
||||
"Frontier CAPI query failure" = "Dotaz na Frontier CAPI selhal";
|
||||
|
||||
/* l10n.py: The system default language choice in Settings > Appearance; prefs.py: Settings > Configuration - Label on 'reset journal files location to default' button; prefs.py: The system default language choice in Settings > Appearance; prefs.py: Label for 'Default' theme radio button; In files: l10n.py:194; prefs.py:468; prefs.py:702; prefs.py:735; */
|
||||
"Default" = "Výchozí";
|
||||
|
||||
/* coriolis.py: 'Auto' label for Coriolis site override selection; coriolis.py: Coriolis normal/beta selection - auto; In files: coriolis.py:52; coriolis.py:55; coriolis.py:101; coriolis.py:117; coriolis.py:123; */
|
||||
"Auto" = "Auto";
|
||||
|
||||
/* coriolis.py: 'Normal' label for Coriolis site override selection; coriolis.py: Coriolis normal/beta selection - normal; In files: coriolis.py:53; coriolis.py:99; coriolis.py:115; */
|
||||
"Normal" = "Normal";
|
||||
|
||||
/* coriolis.py: 'Beta' label for Coriolis site override selection; coriolis.py: Coriolis normal/beta selection - beta; In files: coriolis.py:54; coriolis.py:100; coriolis.py:116; */
|
||||
"Beta" = "Beta";
|
||||
|
||||
/* coriolis.py: Settings>Coriolis: Help/hint for changing coriolis URLs; In files: coriolis.py:69:71; */
|
||||
"Set the URL to use with coriolis.io ship loadouts. Note that this MUST end with '/import?data='" = "Nastavte si URL pro konfiguraci lodi na coriolis.io. Adresa MUSÍ končit '/import?data='";
|
||||
|
||||
/* coriolis.py: Settings>Coriolis: Label for 'NOT alpha/beta game version' URL; In files: coriolis.py:75; */
|
||||
"Normal URL" = "Normal URL";
|
||||
|
||||
/* coriolis.py: Generic 'Reset' button label; In files: coriolis.py:78; coriolis.py:87; */
|
||||
"Reset" = "Reset";
|
||||
|
||||
/* coriolis.py: Settings>Coriolis: Label for 'alpha/beta game version' URL; In files: coriolis.py:84; */
|
||||
"Beta URL" = "Beta URL";
|
||||
|
||||
/* coriolis.py: Settings>Coriolis: Label for selection of using Normal, Beta or 'auto' Coriolis URL; In files: coriolis.py:94; */
|
||||
"Override Beta/Normal Selection" = "Přepsat volbu Beta/Normal";
|
||||
|
||||
/* coriolis.py: Settings>Coriolis - invalid override mode found; In files: coriolis.py:134; */
|
||||
"Invalid Coriolis override mode!" = "Neplatný režim přepisu Coriolis!";
|
||||
|
||||
/* eddb.py: Journal Processing disabled due to an active killswitch; In files: eddb.py:100; */
|
||||
"EDDB Journal processing disabled. See Log." = "Zpracování EDDB deníku je deaktivováno. Zkontrolujte log.";
|
||||
|
||||
/* eddn.py: Status text shown while attempting to send data; In files: eddn.py:215; eddn.py:619; eddn.py:969; */
|
||||
"Sending data to EDDN..." = "Odesílání dat do EDDN...";
|
||||
|
||||
/* eddn.py: Error while trying to send data to EDDN; In files: eddn.py:264; eddn.py:907; eddn.py:942; eddn.py:981; */
|
||||
"Error: Can't connect to EDDN" = "Chyba: Nelze se připojit k EDDN";
|
||||
|
||||
/* eddn.py: Enable EDDN support for station data checkbox label; In files: eddn.py:699; */
|
||||
"Send station data to the Elite Dangerous Data Network" = "Odeslat data o stanici do Elite Dangerous Data Network";
|
||||
|
||||
/* eddn.py: Enable EDDN support for system and other scan data checkbox label; In files: eddn.py:710; */
|
||||
"Send system and scan data to the Elite Dangerous Data Network" = "Odeslat sken a data o systému do Elite Dangerous Data Network";
|
||||
|
||||
/* eddn.py: EDDN delay sending until docked option is on, this message notes that a send was skipped due to this; In files: eddn.py:721; */
|
||||
"Delay sending until docked" = "Pozdržet odeslání po zadokování";
|
||||
|
||||
/* eddn.py: Killswitch disabled EDDN; In files: eddn.py:785; */
|
||||
"EDDN journal handler disabled. See Log." = "Obsluha EDDN deníku je deaktivována. Zkontrolujte log.";
|
||||
|
||||
/* edsm.py: Settings>EDSM - Label on checkbox for 'send data'; In files: edsm.py:198; */
|
||||
"Send flight log and Cmdr status to EDSM" = "Odesílat letový log a status CMDRa do EDSM";
|
||||
|
||||
/* edsm.py: Settings>EDSM - Label on header/URL to EDSM API key page; In files: edsm.py:208; */
|
||||
"Elite Dangerous Star Map credentials" = "Přihlašovací údaje Elite Dangerous Star Map";
|
||||
|
||||
/* edsm.py: EDSM Commander name label in EDSM settings; In files: edsm.py:227; */
|
||||
"Commander Name" = "Jméno CMDRa";
|
||||
|
||||
/* edsm.py: EDSM API key label; inara.py: Inara API key label; In files: edsm.py:235; inara.py:237; */
|
||||
"API Key" = "API klíč";
|
||||
|
||||
/* edsm.py: We have no data on the current commander; prefs.py: No hotkey/shortcut set; stats.py: No rank; In files: edsm.py:262; prefs.py:518; prefs.py:1156; prefs.py:1189; stats.py:117; stats.py:136; stats.py:155; stats.py:172; */
|
||||
"None" = "Žádná";
|
||||
|
||||
/* edsm.py: EDSM plugin - Journal handling disabled by killswitch; In files: edsm.py:358; */
|
||||
"EDSM Handler disabled. See Log." = "Obsluha EDSM deaktivována. Zkontrolujte log.";
|
||||
|
||||
/* edsm.py: EDSM Plugin - Error message from EDSM API; In files: edsm.py:640; edsm.py:745; */
|
||||
"Error: EDSM {MSG}" = "Chyba: EDSM {MSG}";
|
||||
|
||||
/* edsm.py: EDSM Plugin - Error connecting to EDSM API; In files: edsm.py:677; edsm.py:740; */
|
||||
"Error: Can't connect to EDSM" = "Chyba: Nelze se připojit k EDSM";
|
||||
|
||||
/* inara.py: Checkbox to enable INARA API Usage; In files: inara.py:216; */
|
||||
"Send flight log and Cmdr status to Inara" = "Odesílat letový log a status CMDRa na Inaru";
|
||||
|
||||
/* inara.py: Text for INARA API keys link ( goes to https://inara.cz/settings-api ); In files: inara.py:228; */
|
||||
"Inara credentials" = "Přihlašovací údaje k Inaře";
|
||||
|
||||
/* inara.py: INARA support disabled via killswitch; In files: inara.py:335; */
|
||||
"Inara disabled. See Log." = "Inara deaktivována. Zkontrolujte log.";
|
||||
|
||||
|
||||
/* Raised when the Companion API server thinks that the user has not purchased E:D. i.e. doesn't have the correct 'SKU'. [companion.py] */
|
||||
"Error: Frontier server SKU problem" = "Chyba: Server Frontieru SKU problém";
|
||||
/* inara.py: INARA API returned some kind of error (error message will be contained in {MSG}); In files: inara.py:1549; inara.py:1562; */
|
||||
"Error: Inara {MSG}" = "Chyba: Inara {MSG}";
|
||||
|
||||
/* prefs.py: File > Preferences menu entry for macOS; In files: prefs.py:250; */
|
||||
/* prefs.py: File > Preferences menu entry for macOS; In files: prefs.py:251; */
|
||||
"Preferences" = "Nastavení";
|
||||
|
||||
/* prefs.py: Settings > Output - choosing what data to save to files; In files: prefs.py:346; */
|
||||
/* prefs.py: Settings > Output - choosing what data to save to files; In files: prefs.py:348; */
|
||||
"Please choose what data to save" = "Vyberte, která data chcete ukládat";
|
||||
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:352; */
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:354; */
|
||||
"Market data in CSV format file" = "Obchodní data ve formátu CSV";
|
||||
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:361; */
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:363; */
|
||||
"Market data in Trade Dangerous format file" = "Obchodní data ve formátu Trade Dangerous";
|
||||
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:371; */
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:373; */
|
||||
"Ship loadout" = "Konfigurace lodi";
|
||||
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:381; */
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:383; */
|
||||
"Automatically update on docking" = "Automaticky aktualizovat při zadokování";
|
||||
|
||||
/* prefs.py: Settings > Output - Label for "where files are located"; In files: prefs.py:390; prefs.py:409; */
|
||||
/* prefs.py: Settings > Output - Label for "where files are located"; In files: prefs.py:392; prefs.py:411; */
|
||||
"File location" = "Cesta k souboru";
|
||||
|
||||
/* prefs.py: macOS Preferences - files location selection button; In files: prefs.py:398; prefs.py:448; */
|
||||
/* prefs.py: macOS Preferences - files location selection button; In files: prefs.py:400; prefs.py:450; */
|
||||
"Change..." = "Změnit...";
|
||||
|
||||
/* prefs.py: NOT-macOS Settings - files location selection button; prefs.py: NOT-macOS Setting - files location selection button; In files: prefs.py:401; prefs.py:451; */
|
||||
/* prefs.py: NOT-macOS Settings - files location selection button; prefs.py: NOT-macOS Setting - files location selection button; In files: prefs.py:403; prefs.py:453; */
|
||||
"Browse..." = "Procházet...";
|
||||
|
||||
/* prefs.py: Label for 'Output' Settings/Preferences tab; In files: prefs.py:416; */
|
||||
/* prefs.py: Label for 'Output' Settings/Preferences tab; In files: prefs.py:418; */
|
||||
"Output" = "Výstup";
|
||||
|
||||
/* prefs.py: Settings > Configuration - Label for Journal files location; In files: prefs.py:442; prefs.py:457; */
|
||||
/* prefs.py: Settings > Configuration - Label for Journal files location; In files: prefs.py:444; prefs.py:459; */
|
||||
"E:D journal file location" = "E:D umístění souboru deníku";
|
||||
|
||||
/* prefs.py: Hotkey/Shortcut settings prompt on OSX; In files: prefs.py:482; */
|
||||
/* prefs.py: Hotkey/Shortcut settings prompt on OSX; In files: prefs.py:484; */
|
||||
"Keyboard shortcut" = "Klávesová zkratka";
|
||||
|
||||
/* prefs.py: Hotkey/Shortcut settings prompt on Windows; In files: prefs.py:484; */
|
||||
/* prefs.py: Hotkey/Shortcut settings prompt on Windows; In files: prefs.py:486; */
|
||||
"Hotkey" = "Klávesová zkratka";
|
||||
|
||||
/* prefs.py: macOS Preferences > Configuration - restart the app message; In files: prefs.py:493; */
|
||||
/* prefs.py: macOS Preferences > Configuration - restart the app message; In files: prefs.py:495; */
|
||||
"Re-start {APP} to use shortcuts" = "Restartujte {APP} pro aktivaci klávesových zkratek";
|
||||
|
||||
/* prefs.py: macOS - Configuration - need to grant the app permission for keyboard shortcuts; In files: prefs.py:502; */
|
||||
/* prefs.py: macOS - Configuration - need to grant the app permission for keyboard shortcuts; In files: prefs.py:504; */
|
||||
"{APP} needs permission to use shortcuts" = "{APP} vyžaduje oprávnění pro použití klávesových zkratek";
|
||||
|
||||
/* prefs.py: Shortcut settings button on OSX; In files: prefs.py:507; */
|
||||
/* prefs.py: Shortcut settings button on OSX; In files: prefs.py:509; */
|
||||
"Open System Preferences" = "Otevřít Předvolby systému";
|
||||
|
||||
/* prefs.py: Configuration - Act on hotkey only when ED is in foreground; In files: prefs.py:529; */
|
||||
/* prefs.py: Configuration - Act on hotkey only when ED is in foreground; In files: prefs.py:531; */
|
||||
"Only when Elite: Dangerous is the active app" = "Pouze pokud je Elite: Dangerous aktivní";
|
||||
|
||||
/* prefs.py: Configuration - play sound when hotkey used; In files: prefs.py:540; */
|
||||
/* prefs.py: Configuration - play sound when hotkey used; In files: prefs.py:542; */
|
||||
"Play sound" = "Přehrát zvuk";
|
||||
|
||||
/* prefs.py: Configuration - disable checks for app updates when in-game; In files: prefs.py:555; */
|
||||
/* prefs.py: Configuration - disable checks for app updates when in-game; In files: prefs.py:557; */
|
||||
"Disable Automatic Application Updates Check when in-game" = "Vypnout automatickou kontrolu aktualizací aplikace, pokud jste ve hře";
|
||||
|
||||
/* prefs.py: Label for preferred shipyard, system and station 'providers'; In files: prefs.py:568; */
|
||||
/* prefs.py: Label for preferred shipyard, system and station 'providers'; In files: prefs.py:570; */
|
||||
"Preferred websites" = "Preferované stránky";
|
||||
|
||||
/* prefs.py: Label for Shipyard provider selection; In files: prefs.py:579; */
|
||||
/* prefs.py: Label for Shipyard provider selection; In files: prefs.py:581; */
|
||||
"Shipyard" = "Shipyard";
|
||||
|
||||
/* prefs.py: Label for checkbox to utilise alternative Coriolis URL method; In files: prefs.py:591; */
|
||||
/* prefs.py: Label for checkbox to utilise alternative Coriolis URL method; In files: prefs.py:593; */
|
||||
"Use alternate URL method" = "Použít alternativní URL metodu";
|
||||
|
||||
/* prefs.py: Configuration - Label for selection of Log Level; In files: prefs.py:644; */
|
||||
/* prefs.py: Configuration - Label for selection of Log Level; In files: prefs.py:646; */
|
||||
"Log Level" = "Míra logování";
|
||||
|
||||
/* prefs.py: Label for 'Configuration' tab in Settings; In files: prefs.py:672; */
|
||||
/* prefs.py: Label for 'Configuration' tab in Settings; In files: prefs.py:674; */
|
||||
"Configuration" = "Nastavení";
|
||||
|
||||
/* prefs.py: Label for Settings > Appeareance > selection of 'normal' text colour; In files: prefs.py:685; */
|
||||
/* prefs.py: Preferences privacy tab title; In files: prefs.py:696; */
|
||||
"Privacy" = "Soukromí";
|
||||
|
||||
/* prefs.py: Label for Settings > Appeareance > selection of 'normal' text colour; In files: prefs.py:709; */
|
||||
"Normal text" = "Normální text";
|
||||
|
||||
/* prefs.py: Label for Settings > Appeareance > selection of 'highlightes' text colour; In files: prefs.py:687; */
|
||||
/* prefs.py: Label for Settings > Appeareance > selection of 'highlightes' text colour; In files: prefs.py:711; */
|
||||
"Highlighted text" = "Zvýrazněný text";
|
||||
|
||||
/* prefs.py: Appearance - Label for selection of application display language; In files: prefs.py:696; */
|
||||
/* prefs.py: Appearance - Label for selection of application display language; In files: prefs.py:720; */
|
||||
"Language" = "Jazyk";
|
||||
|
||||
/* prefs.py: Label for Settings > Appearance > Theme selection; In files: prefs.py:706; */
|
||||
/* prefs.py: Label for Settings > Appearance > Theme selection; In files: prefs.py:730; */
|
||||
"Theme" = "Schéma";
|
||||
|
||||
/* prefs.py: Label for 'Dark' theme radio button; In files: prefs.py:717; */
|
||||
/* prefs.py: Label for 'Dark' theme radio button; In files: prefs.py:741; */
|
||||
"Dark" = "Tmavé";
|
||||
|
||||
/* prefs.py: Label for 'Transparent' theme radio button; In files: prefs.py:724; */
|
||||
/* prefs.py: Label for 'Transparent' theme radio button; In files: prefs.py:748; */
|
||||
"Transparent" = "Průhledné";
|
||||
|
||||
/* prefs.py: Appearance - Label for selection of UI scaling; In files: prefs.py:770; */
|
||||
/* prefs.py: Appearance - Label for selection of UI scaling; In files: prefs.py:794; */
|
||||
"UI Scale Percentage" = "Procenta UI škálování";
|
||||
|
||||
/* prefs.py: Appearance - Help/hint text for UI scaling selection; In files: prefs.py:791; */
|
||||
/* prefs.py: Appearance - Help/hint text for UI scaling selection; In files: prefs.py:815; */
|
||||
"100 means Default{CR}Restart Required for{CR}changes to take effect!" = "100 je výchozí hodnota{CR}je potřeba restartovat,{CR}aby se změna projevila!";
|
||||
|
||||
/* prefs.py: Appearance - Label for selection of main window transparency; In files: prefs.py:801; */
|
||||
/* prefs.py: Appearance - Label for selection of main window transparency; In files: prefs.py:825; */
|
||||
"Main window transparency" = "Průhlednost hlavního okna";
|
||||
|
||||
/* prefs.py: Appearance - Help/hint text for Main window transparency selection; In files: prefs.py:821:824; */
|
||||
/* prefs.py: Appearance - Help/hint text for Main window transparency selection; In files: prefs.py:845:848; */
|
||||
"100 means fully opaque.{CR}Window is updated in real time" = "100 znamená plně neprůhledné.{CR}Okno se aktualizuje v reálném čase";
|
||||
|
||||
/* prefs.py: Label for Settings > Appearance tab; In files: prefs.py:860; */
|
||||
/* prefs.py: Appearance option for Windows "minimize to system tray"; In files: prefs.py:877; */
|
||||
"Minimize to system tray" = "Minimalizovat do lišty";
|
||||
|
||||
/* prefs.py: Label for Settings > Appearance tab; In files: prefs.py:885; */
|
||||
"Appearance" = "Vzhled";
|
||||
|
||||
/* prefs.py: Label for location of third-party plugins folder; In files: prefs.py:875; */
|
||||
/* prefs.py: Label for location of third-party plugins folder; In files: prefs.py:900; */
|
||||
"Plugins folder" = "Složka pluginů";
|
||||
|
||||
/* prefs.py: Label on button used to open a filesystem folder; In files: prefs.py:882; */
|
||||
/* prefs.py: Label on button used to open a filesystem folder; In files: prefs.py:907; */
|
||||
"Open" = "Otevřít";
|
||||
|
||||
/* prefs.py: Tip/label about how to disable plugins; In files: prefs.py:890; */
|
||||
/* prefs.py: Tip/label about how to disable plugins; In files: prefs.py:915; */
|
||||
"Tip: You can disable a plugin by{CR}adding '{EXT}' to its folder name" = "Tip: Plugin můžete vypnout přidáním{CR}'{EXT}' do názvu jeho složky";
|
||||
|
||||
/* prefs.py: Label on list of enabled plugins; In files: prefs.py:901; */
|
||||
/* prefs.py: Label on list of enabled plugins; In files: prefs.py:926; */
|
||||
"Enabled Plugins" = "Zapnuté pluginy";
|
||||
|
||||
/* prefs.py: Plugins - Label for list of 'enabled' plugins that don't work with Python 3.x; In files: prefs.py:921; */
|
||||
/* prefs.py: Plugins - Label for list of 'enabled' plugins that don't work with Python 3.x; In files: prefs.py:946; */
|
||||
"Plugins Without Python 3.x Support:" = "Pluginy bez podpory Python 3.x:";
|
||||
|
||||
/* prefs.py: Plugins - Label on URL to documentation about migrating plugins from Python 2.7; In files: prefs.py:929; */
|
||||
/* prefs.py: Plugins - Label on URL to documentation about migrating plugins from Python 2.7; In files: prefs.py:954; */
|
||||
"Information on migrating plugins" = "Informace jak migrovat pluginy.";
|
||||
|
||||
/* prefs.py: Lable on list of user-disabled plugins; In files: prefs.py:944; */
|
||||
/* prefs.py: Lable on list of user-disabled plugins; In files: prefs.py:969; */
|
||||
"Disabled Plugins" = "Vypnuté pluginy";
|
||||
|
||||
/* stats.py: Cmdr stats; In files: stats.py:51; */
|
||||
/* stats.py: Cmdr stats; In files: stats.py:60; */
|
||||
"Balance" = "Zůstatek";
|
||||
|
||||
/* stats.py: Cmdr stats; In files: stats.py:52; */
|
||||
/* stats.py: Cmdr stats; In files: stats.py:61; */
|
||||
"Loan" = "Půjčka";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:57; */
|
||||
"Combat" = "Combat";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:58; */
|
||||
"Trade" = "Trade";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:59; */
|
||||
"Explorer" = "Explorer";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:60; */
|
||||
"CQC" = "CQC";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:61; */
|
||||
"Federation" = "Federation";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:62; */
|
||||
"Empire" = "Empire";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:63; */
|
||||
"Powerplay" = "Powerplay";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:71; */
|
||||
"Harmless" = "Harmless";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:72; */
|
||||
"Mostly Harmless" = "Mostly Harmless";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:73; */
|
||||
"Novice" = "Novice";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:74; */
|
||||
"Competent" = "Competent";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:75; */
|
||||
"Expert" = "Expert";
|
||||
|
||||
/* stats.py: Combat rank; stats.py: Empire rank; In files: stats.py:76; stats.py:139; */
|
||||
"Master" = "Master";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:77; */
|
||||
"Dangerous" = "Dangerous";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:78; */
|
||||
"Deadly" = "Deadly";
|
||||
|
||||
/* stats.py: Top rank; In files: stats.py:79; stats.py:90; stats.py:101; stats.py:112; */
|
||||
/* stats.py: Top rank; In files: stats.py:65; */
|
||||
"Elite" = "Elite";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:82; */
|
||||
/* stats.py: Ranking; In files: stats.py:76; */
|
||||
"Combat" = "Combat";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:77; */
|
||||
"Trade" = "Trade";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:78; */
|
||||
"Explorer" = "Explorer";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:81; */
|
||||
"CQC" = "CQC";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:82; */
|
||||
"Federation" = "Federation";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:83; */
|
||||
"Empire" = "Empire";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:84; */
|
||||
"Powerplay" = "Powerplay";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:93; */
|
||||
"Harmless" = "Harmless";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:94; */
|
||||
"Mostly Harmless" = "Mostly Harmless";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:95; */
|
||||
"Novice" = "Novice";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:96; */
|
||||
"Competent" = "Competent";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:97; */
|
||||
"Expert" = "Expert";
|
||||
|
||||
/* stats.py: Combat rank; stats.py: Empire rank; In files: stats.py:98; stats.py:178; */
|
||||
"Master" = "Master";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:99; */
|
||||
"Dangerous" = "Dangerous";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:100; */
|
||||
"Deadly" = "Deadly";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:103; */
|
||||
"Penniless" = "Penniless";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:83; */
|
||||
/* stats.py: Trade rank; In files: stats.py:104; */
|
||||
"Mostly Penniless" = "Mostly Penniless";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:84; */
|
||||
/* stats.py: Trade rank; In files: stats.py:105; */
|
||||
"Peddler" = "Peddler";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:85; */
|
||||
/* stats.py: Trade rank; In files: stats.py:106; */
|
||||
"Dealer" = "Dealer";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:86; */
|
||||
/* stats.py: Trade rank; In files: stats.py:107; */
|
||||
"Merchant" = "Merchant";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:87; */
|
||||
/* stats.py: Trade rank; In files: stats.py:108; */
|
||||
"Broker" = "Broker";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:88; */
|
||||
/* stats.py: Trade rank; In files: stats.py:109; */
|
||||
"Entrepreneur" = "Entrepreneur";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:89; */
|
||||
/* stats.py: Trade rank; In files: stats.py:110; */
|
||||
"Tycoon" = "Tycoon";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:93; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:113; */
|
||||
"Aimless" = "Aimless";
|
||||
|
||||
|
||||
/* Appearance setting. [EDMarketConnector.py] */
|
||||
"Minimize to system tray" = "Minimalizovat do lišty";
|
||||
/* stats.py: Explorer rank; In files: stats.py:94; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:114; */
|
||||
"Mostly Aimless" = "Mostly Aimless";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:95; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:115; */
|
||||
"Scout" = "Scout";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:96; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:116; */
|
||||
"Surveyor" = "Surveyor";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:97; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:117; */
|
||||
"Trailblazer" = "Trailblazer";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:98; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:118; */
|
||||
"Pathfinder" = "Pathfinder";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:99; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:119; */
|
||||
"Ranger" = "Ranger";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:100; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:120; */
|
||||
"Pioneer" = "Pioneer";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:104; */
|
||||
/* stats.py: CQC rank; In files: stats.py:144; */
|
||||
"Helpless" = "Helpless";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:105; */
|
||||
/* stats.py: CQC rank; In files: stats.py:145; */
|
||||
"Mostly Helpless" = "Mostly Helpless";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:106; */
|
||||
/* stats.py: CQC rank; In files: stats.py:146; */
|
||||
"Amateur" = "Amateur";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:107; */
|
||||
/* stats.py: CQC rank; In files: stats.py:147; */
|
||||
"Semi Professional" = "Semi Professional";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:108; */
|
||||
/* stats.py: CQC rank; In files: stats.py:148; */
|
||||
"Professional" = "Professional";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:109; */
|
||||
/* stats.py: CQC rank; In files: stats.py:149; */
|
||||
"Champion" = "Champion";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:110; */
|
||||
/* stats.py: CQC rank; In files: stats.py:150; */
|
||||
"Hero" = "Hero";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:111; */
|
||||
/* stats.py: CQC rank; In files: stats.py:151; */
|
||||
"Gladiator" = "Gladiator";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:118; */
|
||||
/* stats.py: Federation rank; In files: stats.py:157; */
|
||||
"Recruit" = "Recruit";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:119; */
|
||||
/* stats.py: Federation rank; In files: stats.py:158; */
|
||||
"Cadet" = "Cadet";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:120; */
|
||||
/* stats.py: Federation rank; In files: stats.py:159; */
|
||||
"Midshipman" = "Midshipman";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:121; */
|
||||
/* stats.py: Federation rank; In files: stats.py:160; */
|
||||
"Petty Officer" = "Poddůstojník";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:122; */
|
||||
/* stats.py: Federation rank; In files: stats.py:161; */
|
||||
"Chief Petty Officer" = "Chief Petty Officer";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:123; */
|
||||
/* stats.py: Federation rank; In files: stats.py:162; */
|
||||
"Warrant Officer" = "Warrant Officer";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:124; */
|
||||
/* stats.py: Federation rank; In files: stats.py:163; */
|
||||
"Ensign" = "Ensign";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:125; */
|
||||
/* stats.py: Federation rank; In files: stats.py:164; */
|
||||
"Lieutenant" = "Lieutenant";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:126; */
|
||||
/* stats.py: Federation rank; In files: stats.py:165; */
|
||||
"Lieutenant Commander" = "Lieutenant Commander";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:127; */
|
||||
/* stats.py: Federation rank; In files: stats.py:166; */
|
||||
"Post Commander" = "Post Commander";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:128; */
|
||||
/* stats.py: Federation rank; In files: stats.py:167; */
|
||||
"Post Captain" = "Post Captain";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:129; */
|
||||
/* stats.py: Federation rank; In files: stats.py:168; */
|
||||
"Rear Admiral" = "Rear Admiral";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:130; */
|
||||
/* stats.py: Federation rank; In files: stats.py:169; */
|
||||
"Vice Admiral" = "Vice Admiral";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:131; */
|
||||
/* stats.py: Federation rank; In files: stats.py:170; */
|
||||
"Admiral" = "Admiral";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:137; */
|
||||
/* stats.py: Empire rank; In files: stats.py:176; */
|
||||
"Outsider" = "Outsider";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:138; */
|
||||
/* stats.py: Empire rank; In files: stats.py:177; */
|
||||
"Serf" = "Serf";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:140; */
|
||||
/* stats.py: Empire rank; In files: stats.py:179; */
|
||||
"Squire" = "Squire";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:141; */
|
||||
/* stats.py: Empire rank; In files: stats.py:180; */
|
||||
"Knight" = "Knight";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:142; */
|
||||
/* stats.py: Empire rank; In files: stats.py:181; */
|
||||
"Lord" = "Lord";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:143; */
|
||||
/* stats.py: Empire rank; In files: stats.py:182; */
|
||||
"Baron" = "Baron";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:144; */
|
||||
/* stats.py: Empire rank; In files: stats.py:183; */
|
||||
"Viscount" = "Viscount";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:145; */
|
||||
/* stats.py: Empire rank; In files: stats.py:184; */
|
||||
"Count" = "Count";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:146; */
|
||||
/* stats.py: Empire rank; In files: stats.py:185; */
|
||||
"Earl" = "Earl";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:147; */
|
||||
/* stats.py: Empire rank; In files: stats.py:186; */
|
||||
"Marquis" = "Marquis";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:148; */
|
||||
/* stats.py: Empire rank; In files: stats.py:187; */
|
||||
"Duke" = "Duke";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:149; */
|
||||
/* stats.py: Empire rank; In files: stats.py:188; */
|
||||
"Prince" = "Prince";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:150; */
|
||||
/* stats.py: Empire rank; In files: stats.py:189; */
|
||||
"King" = "King";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:156; */
|
||||
/* stats.py: Power rank; In files: stats.py:195; */
|
||||
"Rating 1" = "Rating 1";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:157; */
|
||||
/* stats.py: Power rank; In files: stats.py:196; */
|
||||
"Rating 2" = "Rating 2";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:158; */
|
||||
/* stats.py: Power rank; In files: stats.py:197; */
|
||||
"Rating 3" = "Rating 3";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:159; */
|
||||
/* stats.py: Power rank; In files: stats.py:198; */
|
||||
"Rating 4" = "Rating 4";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:160; */
|
||||
/* stats.py: Power rank; In files: stats.py:199; */
|
||||
"Rating 5" = "Rating 5";
|
||||
|
||||
/* stats.py: Status dialog subtitle - CR value of ship; In files: stats.py:367; */
|
||||
/* stats.py: Status dialog subtitle - CR value of ship; In files: stats.py:413; */
|
||||
"Value" = "Cena";
|
||||
|
||||
/* stats.py: Status dialog title; In files: stats.py:376; */
|
||||
/* stats.py: Status dialog title; In files: stats.py:422; */
|
||||
"Ships" = "Lodě";
|
||||
+460
-387
File diff suppressed because it is too large.
Load diff
+638
-535
File diff suppressed because it is too large.
Load diff
+381
-389
File diff suppressed because it is too large.
Load diff
+351
-357
@@ -1,174 +1,69 @@
|
||||
/* Language name */
|
||||
"!Language" = "Suomi";
|
||||
|
||||
/* companion.py: Frontier CAPI didn't respond; In files: companion.py:171; */
|
||||
"Error: Frontier CAPI didn't respond" = "Virhe: Frontier CAPI ei vastaa.";
|
||||
/* eddn.py: Status text shown while attempting to send data; In files: eddn.py:212; eddn.py:584; eddn.py:925; load.py:215; load.py:593; load.py:940; eddn.py:252; eddn.py:699; eddn.py:1439; */
|
||||
"Sending data to EDDN..." = "Lähetetään tietoja EDDN:ään...";
|
||||
|
||||
/* eddn.py: Error while trying to send data to EDDN; In files: eddn.py:257; eddn.py:864; eddn.py:898; eddn.py:937; load.py:260; load.py:878; load.py:913; load.py:952; eddn.py:316; eddn.py:1375; eddn.py:1410; eddn.py:1451; */
|
||||
"Error: Can't connect to EDDN" = "Virhe: ei saatu yhteyttä EDDN:ään";
|
||||
|
||||
/* OLD: Raised when cannot contact the Companion API server. [companion.py] */
|
||||
"Error: Frontier server is down" = "Virhe: Frontierin palvelin ei vastaa";
|
||||
/* companion.py: Frontier CAPI data doesn't agree with latest Journal game location; In files: companion.py:190; */
|
||||
"Error: Frontier server is lagging" = "Virhe: Frontierin palvelin vastaa vanhoilla tiedoilla";
|
||||
/* eddn.py: Enable EDDN support for station data checkbox label; In files: eddn.py:663; load.py:672; eddn.py:1122; */
|
||||
"Send station data to the Elite Dangerous Data Network" = "Lähetä asematiedot Elite Dangerous Data Network -palveluun";
|
||||
|
||||
/* companion.py: Generic "something went wrong with Frontier Auth" error; In files: companion.py:214; */
|
||||
"Error: Invalid Credentials" = "Virhe: kirjautuminen ei kelpaa";
|
||||
/* eddn.py: Enable EDDN support for system and other scan data checkbox label; In files: eddn.py:673; load.py:682; eddn.py:1133; */
|
||||
"Send system and scan data to the Elite Dangerous Data Network" = "Lähetä järjestelmä- ja skannaustiedot Elite Dangerous Data Network -palveluun";
|
||||
|
||||
/* companion.py: Frontier CAPI authorisation not for currently game-active commander; In files: companion.py:230; */
|
||||
"Error: Wrong Cmdr" = "Virhe: väärä komentaja";
|
||||
/* eddn.py: EDDN delay sending until docked option is on, this message notes that a send was skipped due to this; In files: eddn.py:683; load.py:692; eddn.py:1144; */
|
||||
"Delay sending until docked" = "Lähetä tiedot vasta telakoitumisen jälkeen";
|
||||
|
||||
/* companion.py: Generic error prefix - following text is from Frontier auth service; In files: companion.py:341; companion.py:422; */
|
||||
"Error" = "Virhe";
|
||||
/* edsm.py: Settings>EDSM - Label on checkbox for 'send data'; In files: edsm.py:197; load.py:197; edsm.py:237; */
|
||||
"Send flight log and Cmdr status to EDSM" = "Lähetä lentoloki ja komentajatiedot EDSM:ään";
|
||||
|
||||
/* edsm.py: Settings>EDSM - Label on header/URL to EDSM API key page; In files: edsm.py:206; load.py:206; edsm.py:247; */
|
||||
"Elite Dangerous Star Map credentials" = "Elite Dangerous Star Map -kirjautuminen";
|
||||
|
||||
/* [inara.py] */
|
||||
"Error: Can't connect to Inara" = "Virhe: Ei yhteyttä Inaraan";
|
||||
/* companion.py: Frontier auth, no 'usr' section in returned data; companion.py: Frontier auth, no 'customer_id' in 'usr' section in returned data; In files: companion.py:380; companion.py:385; */
|
||||
"Error: Couldn't check token customer_id" = "Virhe: Ei kyetty tarkastamaan polettia customer_id";
|
||||
|
||||
/* companion.py: Frontier auth customer_id doesn't match game session FID; In files: companion.py:391; */
|
||||
"Error: customer_id doesn't match!" = "Virhe: customer_id ei löydy vastaavuutta!";
|
||||
|
||||
/* companion.py: Failed to get Access Token from Frontier Auth service; In files: companion.py:413; */
|
||||
"Error: unable to get token" = "Virhe: ei kyetty saamaan polettia";
|
||||
|
||||
/* companion.py: Frontier CAPI data retrieval failed; In files: companion.py:575; */
|
||||
"Frontier CAPI query failure" = "Frontier CAPI kyselyvirhe.";
|
||||
|
||||
/* companion.py: Frontier CAPI data retrieval failed with 5XX code; In files: companion.py:591; */
|
||||
"Frontier CAPI server error" = "Frontier CAPI palvelinvirhe.";
|
||||
|
||||
/* EDMarketConnector.py: Update button in main window; In files: EDMarketConnector.py:424; EDMarketConnector.py:718; EDMarketConnector.py:1302; */
|
||||
"Update" = "Päivitä";
|
||||
|
||||
/* EDMarketConnector.py: Appearance - Label for checkbox to select if application always on top; prefs.py: Appearance - Label for checkbox to select if application always on top; In files: EDMarketConnector.py:507; prefs.py:843; */
|
||||
"Always on top" = "Aina päällimmäisenä";
|
||||
|
||||
/* EDMarketConnector.py: Unknown suit; In files: EDMarketConnector.py:636; */
|
||||
"Unknown" = "Tuntematon";
|
||||
|
||||
/* EDMarketConnector.py: Label for commander name in main window; edsm.py: Game Commander name label in EDSM settings; stats.py: Cmdr stats; theme.py: Label for commander name in main window; In files: EDMarketConnector.py:712; edsm.py:219; stats.py:50; theme.py:227; */
|
||||
/* edsm.py: Game Commander name label in EDSM settings; theme.py: Label for commander name in main window; EDMarketConnector.py: Label for commander name in main window; stats.py: Cmdr stats; In files: edsm.py:216; load.py:216; edsm.py:258; theme.py:227; EDMarketConnector.py:822; stats.py:59; */
|
||||
"Cmdr" = "Cmdr";
|
||||
|
||||
/* EDMarketConnector.py: 'Ship' or multi-crew role label in main window, as applicable; EDMarketConnector.py: Multicrew role label in main window; In files: EDMarketConnector.py:714; EDMarketConnector.py:1072; */
|
||||
"Role" = "Rooli";
|
||||
/* edsm.py: EDSM Commander name label in EDSM settings; In files: edsm.py:223; load.py:223; edsm.py:266; */
|
||||
"Commander Name" = "Komentajanimi";
|
||||
|
||||
/* EDMarketConnector.py: 'Ship' or multi-crew role label in main window, as applicable; EDMarketConnector.py: 'Ship' label in main UI; stats.py: Status dialog subtitle; In files: EDMarketConnector.py:714; EDMarketConnector.py:1082; EDMarketConnector.py:1105; stats.py:363; */
|
||||
"Ship" = "Alus";
|
||||
/* edsm.py: EDSM API key label; inara.py: Inara API key label; In files: edsm.py:230; inara.py:233; load.py:230; load.py:233; edsm.py:274; inara.py:243; */
|
||||
"API Key" = "API avain";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'Suit' line in main UI; In files: EDMarketConnector.py:715; */
|
||||
"Suit" = "Asuste";
|
||||
/* edsm.py: We have no data on the current commander; prefs.py: No hotkey/shortcut set; stats.py: No rank; In files: edsm.py:256; load.py:256; edsm.py:301; prefs.py:520; prefs.py:1174; prefs.py:1207; stats.py:156; stats.py:175; stats.py:194; stats.py:211; */
|
||||
"None" = "Ei määritelty";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'System' line in main UI; prefs.py: Configuration - Label for selection of 'System' provider website; stats.py: Main window; In files: EDMarketConnector.py:716; prefs.py:605; stats.py:365; */
|
||||
"System" = "Järjestelmä";
|
||||
/* edsm.py: EDSM Plugin - Error message from EDSM API; In files: edsm.py:622; edsm.py:724; load.py:627; load.py:729; edsm.py:747; edsm.py:875; */
|
||||
"Error: EDSM {MSG}" = "Virhe: EDSM {MSG}";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'Station' line in main UI; prefs.py: Configuration - Label for selection of 'Station' provider website; prefs.py: Appearance - Example 'Normal' text; stats.py: Status dialog subtitle; In files: EDMarketConnector.py:717; prefs.py:623; prefs.py:738; stats.py:366; */
|
||||
"Station" = "Asema";
|
||||
/* edsm.py: EDSM Plugin - Error connecting to EDSM API; In files: edsm.py:658; edsm.py:720; load.py:663; load.py:725; edsm.py:784; edsm.py:870; */
|
||||
"Error: Can't connect to EDSM" = "Virhe: ei saatu yhteyttä EDSM:ään";
|
||||
|
||||
/* EDMarketConnector.py: 'File' menu title on OSX; EDMarketConnector.py: 'File' menu title; EDMarketConnector.py: 'File' menu; In files: EDMarketConnector.py:720; EDMarketConnector.py:735; EDMarketConnector.py:738; EDMarketConnector.py:1791; */
|
||||
"File" = "Tiedosto";
|
||||
/* inara.py: Checkbox to enable INARA API Usage; In files: inara.py:215; load.py:215; inara.py:222; */
|
||||
"Send flight log and Cmdr status to Inara" = "Lähetä lentoloki ja komentajatiedot Inaraan";
|
||||
|
||||
/* EDMarketConnector.py: 'Edit' menu title on OSX; EDMarketConnector.py: 'Edit' menu title; In files: EDMarketConnector.py:721; EDMarketConnector.py:736; EDMarketConnector.py:739; */
|
||||
"Edit" = "Muokkaa";
|
||||
/* inara.py: Text for INARA API keys link ( goes to https://inara.cz/settings-api ); In files: inara.py:225; load.py:225; inara.py:234; */
|
||||
"Inara credentials" = "Inaran kirjautuminen";
|
||||
|
||||
/* EDMarketConnector.py: 'View' menu title on OSX; In files: EDMarketConnector.py:722; */
|
||||
"View" = "Näytä";
|
||||
/* inara.py: INARA API returned some kind of error (error message will be contained in {MSG}); In files: inara.py:1316; inara.py:1328; load.py:1319; load.py:1331; inara.py:1587; inara.py:1600; */
|
||||
"Error: Inara {MSG}" = "Inaran virhe: {MSG}";
|
||||
|
||||
/* EDMarketConnector.py: 'Window' menu title on OSX; In files: EDMarketConnector.py:723; */
|
||||
"Window" = "Ikkuna";
|
||||
/* eddb.py: Journal Processing disabled due to an active killswitch; In files: load.py:99; eddb.py:100; */
|
||||
"EDDB Journal processing disabled. See Log." = "EDDB lokikirjan käsittely ei käytössä. Katso lokitiedot.";
|
||||
|
||||
/* EDMarketConnector.py: Help' menu title on OSX; EDMarketConnector.py: 'Help' menu title; In files: EDMarketConnector.py:724; EDMarketConnector.py:737; EDMarketConnector.py:740; */
|
||||
"Help" = "Apua";
|
||||
/* eddn.py: Killswitch disabled EDDN; In files: load.py:756; eddn.py:1233; */
|
||||
"EDDN journal handler disabled. See Log." = "EDDB lokikirjan käsittelijä ei käytössä. Katso lokitiedot.";
|
||||
|
||||
/* EDMarketConnector.py: App menu entry on OSX; EDMarketConnector.py: Help > About App; In files: EDMarketConnector.py:727; EDMarketConnector.py:753; EDMarketConnector.py:1347; */
|
||||
"About {APP}" = "Ohjelmasta {APP}";
|
||||
/* edsm.py: EDSM plugin - Journal handling disabled by killswitch; In files: load.py:346; edsm.py:402; */
|
||||
"EDSM Handler disabled. See Log." = "ESDM käsittelijä ei käytössä. Katso lokitiedot.";
|
||||
|
||||
/* EDMarketConnector.py: Help > Check for Updates...; In files: EDMarketConnector.py:729; EDMarketConnector.py:752; */
|
||||
"Check for Updates..." = "Tarkista päivitykset...";
|
||||
/* inara.py: INARA support disabled via killswitch; In files: load.py:331; inara.py:341; */
|
||||
"Inara disabled. See Log." = "Inara ei käytössä. Katso lokitiedot.";
|
||||
|
||||
/* EDMarketConnector.py: File > Save Raw Data...; In files: EDMarketConnector.py:730; EDMarketConnector.py:744; */
|
||||
"Save Raw Data..." = "Tallenna raakadata...";
|
||||
|
||||
/* EDMarketConnector.py: File > Status; stats.py: Status dialog title; In files: EDMarketConnector.py:731; EDMarketConnector.py:743; stats.py:360; */
|
||||
"Status" = "Tila";
|
||||
|
||||
/* EDMarketConnector.py: Help > Privacy Policy; In files: EDMarketConnector.py:732; EDMarketConnector.py:750; */
|
||||
"Privacy Policy" = "Tietosuojakäytäntö";
|
||||
|
||||
/* EDMarketConnector.py: Help > Release Notes; In files: EDMarketConnector.py:733; EDMarketConnector.py:751; EDMarketConnector.py:1381; */
|
||||
"Release Notes" = "Julkaisutiedot";
|
||||
|
||||
/* EDMarketConnector.py: File > Settings; prefs.py: File > Settings (macOS); In files: EDMarketConnector.py:745; EDMarketConnector.py:1792; prefs.py:254; */
|
||||
"Settings" = "Valinnat";
|
||||
|
||||
/* EDMarketConnector.py: File > Exit; In files: EDMarketConnector.py:746; */
|
||||
"Exit" = "Lopeta";
|
||||
|
||||
/* EDMarketConnector.py: Help > Documentation; In files: EDMarketConnector.py:749; */
|
||||
"Documentation" = "Dokumentaatio";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'Copy' as in 'Copy and Paste'; ttkHyperlinkLabel.py: Label for 'Copy' as in 'Copy and Paste'; In files: EDMarketConnector.py:756; ttkHyperlinkLabel.py:42; */
|
||||
"Copy" = "Kopioi";
|
||||
|
||||
/* EDMarketConnector.py: Status - Attempting to get a Frontier Auth Access Token; In files: EDMarketConnector.py:762; */
|
||||
"Logging in..." = "Kirjaudutaan...";
|
||||
|
||||
/* EDMarketConnector.py: Successfully authenticated with the Frontier website; In files: EDMarketConnector.py:778; EDMarketConnector.py:1215; */
|
||||
"Authentication successful" = "Todennus onnistui";
|
||||
|
||||
/* EDMarketConnector.py: Player is not docked at a station, when we expect them to be; In files: EDMarketConnector.py:809; */
|
||||
"You're not docked at a station!" = "Et ole telakoituneena asemalle!";
|
||||
|
||||
/* EDMarketConnector.py: Status - Either no market or no modules data for station from Frontier CAPI; In files: EDMarketConnector.py:817; */
|
||||
"Station doesn't have anything!" = "Asemalla ei ole mitään!";
|
||||
|
||||
/* EDMarketConnector.py: Status - No station market data from Frontier CAPI; In files: EDMarketConnector.py:822; */
|
||||
"Station doesn't have a market!" = "Asemalla ei ole kaupankäyntiä!";
|
||||
|
||||
/* EDMarketConnector.py: Status - Attempting to retrieve data from Frontier CAPI; EDMarketConnector.py: Status - Attempting to retrieve data from Frontier CAPI to save to file; stats.py: Fetching data from Frontier CAPI in order to display on File > Status; In files: EDMarketConnector.py:867; EDMarketConnector.py:1428; stats.py:279; */
|
||||
"Fetching data..." = "Noudetaan tietoja...";
|
||||
|
||||
/* EDMarketConnector.py: No data was returned for the commander from the Frontier CAPI; In files: EDMarketConnector.py:880; */
|
||||
/* EDMarketConnector.py: No data was returned for the commander from the Frontier CAPI; In files: test_ast_stuff.py:2; EDMarketConnector.py:1047; */
|
||||
"CAPI: No commander data returned" = "CAPI: tietoja ei löytynyt";
|
||||
|
||||
/* EDMarketConnector.py: We didn't have the commander name when we should have; stats.py: Unknown commander; In files: EDMarketConnector.py:884; stats.py:297; */
|
||||
"Who are you?!" = "Kuka olet?!";
|
||||
|
||||
/* EDMarketConnector.py: We don't know where the commander is, when we should; stats.py: Unknown location; In files: EDMarketConnector.py:890; stats.py:307; */
|
||||
"Where are you?!" = "Missä olet?!";
|
||||
|
||||
/* EDMarketConnector.py: We don't know what ship the commander is in, when we should; stats.py: Unknown ship; In files: EDMarketConnector.py:894; stats.py:312; */
|
||||
"What are you flying?!" = "Mitä alusta lennät?!";
|
||||
|
||||
/* EDMarketConnector.py: Time when we last obtained Frontier CAPI data; In files: EDMarketConnector.py:1026; */
|
||||
"Last updated at %H:%M:%S" = "Päivitetty viimeksi %H:%M:%S";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1052; */
|
||||
"Fighter" = "Hävittäjä";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1053; */
|
||||
"Gunner" = "Aseiden käyttäjä";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1054; */
|
||||
"Helm" = "Pilotti";
|
||||
|
||||
/* EDMarketConnector.py: Cooldown on 'Update' button; In files: EDMarketConnector.py:1298; */
|
||||
"cooldown {SS}s" = "Jäähtymisaika {SS}s";
|
||||
|
||||
/* EDMarketConnector.py: Generic 'OK' button label; prefs.py: 'OK' button on Settings/Preferences window; In files: EDMarketConnector.py:1407; prefs.py:304; */
|
||||
"OK" = "OK";
|
||||
|
||||
/* EDMarketConnector.py: The application is shutting down; In files: EDMarketConnector.py:1489; */
|
||||
"Shutting down..." = "Sulkeutuu...";
|
||||
|
||||
/* EDMarketConnector.py: Popup-text about 'active' plugins without Python 3.x support; In files: EDMarketConnector.py:1780:1786; */
|
||||
"One or more of your enabled plugins do not yet have support for Python 3.x. Please see the list on the '{PLUGINS}' tab of '{FILE}' > '{SETTINGS}'. You should check if there is an updated version available, else alert the developer that they need to update the code for Python 3.x.\r\n\r\nYou can disable a plugin by renaming its folder to have '{DISABLED}' on the end of the name." = "Yksi tai useampi käyttämistäsi lisäosista ei sisällä vielä Pyhton 3.x -tukea. Tarkista tiedoston '{FILE}' > '{SETTINGS}' välilehti '{PLUGINS}' lisäosista, onko niistä uudempaa versiota saatavilla; muussa tapauksessa ota yhteyttä sen kehittäjään ja kerro, että sen lähdekoodi on päivitettävä Python 3.x -tasolle.\n\nVoit estää lisäosan toiminnan nimeämällä sen hakemiston siten, että se päättyy tekstiin '{DISABLED}'.";
|
||||
|
||||
/* EDMarketConnector.py: Settings > Plugins tab; prefs.py: Label on Settings > Plugins tab; In files: EDMarketConnector.py:1790; prefs.py:953; */
|
||||
"Plugins" = "Lisäosat";
|
||||
|
||||
/* EDMarketConnector.py: Popup window title for list of 'enabled' plugins that don't work with Python 3.x; In files: EDMarketConnector.py:1801; */
|
||||
"EDMC: Plugins Without Python 3.x Support" = "EDMC: Lisäosat ilman Python 3.x -tukea";
|
||||
|
||||
/* journal_lock.py: Title text on popup when Journal directory already locked; In files: journal_lock.py:206; */
|
||||
"Journal directory already locked" = "Journal -hakemisto on jo lukittu";
|
||||
|
||||
@@ -181,422 +76,521 @@
|
||||
/* journal_lock.py: Generic 'Ignore' button label; In files: journal_lock.py:232; */
|
||||
"Ignore" = "Älä huomioi";
|
||||
|
||||
/* l10n.py: The system default language choice in Settings > Appearance; prefs.py: Settings > Configuration - Label on 'reset journal files location to default' button; prefs.py: The system default language choice in Settings > Appearance; prefs.py: Label for 'Default' theme radio button; In files: l10n.py:194; prefs.py:466; prefs.py:678; prefs.py:711; */
|
||||
/* ttkHyperlinkLabel.py: Label for 'Copy' as in 'Copy and Paste'; EDMarketConnector.py: Label for 'Copy' as in 'Copy and Paste'; In files: ttkHyperlinkLabel.py:42; EDMarketConnector.py:866; */
|
||||
"Copy" = "Kopioi";
|
||||
|
||||
/* EDMarketConnector.py: Update button in main window; In files: EDMarketConnector.py:529; EDMarketConnector.py:828; EDMarketConnector.py:1520; */
|
||||
"Update" = "Päivitä";
|
||||
|
||||
/* EDMarketConnector.py: Appearance - Label for checkbox to select if application always on top; prefs.py: Appearance - Label for checkbox to select if application always on top; In files: EDMarketConnector.py:612; prefs.py:867; */
|
||||
"Always on top" = "Aina päällimmäisenä";
|
||||
|
||||
/* EDMarketConnector.py: Unknown suit; In files: EDMarketConnector.py:746; */
|
||||
"Unknown" = "Tuntematon";
|
||||
|
||||
/* EDMarketConnector.py: 'Ship' or multi-crew role label in main window, as applicable; EDMarketConnector.py: Multicrew role label in main window; In files: EDMarketConnector.py:824; EDMarketConnector.py:1279; */
|
||||
"Role" = "Rooli";
|
||||
|
||||
/* EDMarketConnector.py: 'Ship' or multi-crew role label in main window, as applicable; EDMarketConnector.py: 'Ship' label in main UI; stats.py: Status dialog subtitle; In files: EDMarketConnector.py:824; EDMarketConnector.py:1289; EDMarketConnector.py:1312; stats.py:409; */
|
||||
"Ship" = "Alus";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'Suit' line in main UI; In files: EDMarketConnector.py:825; */
|
||||
"Suit" = "Asuste";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'System' line in main UI; prefs.py: Configuration - Label for selection of 'System' provider website; stats.py: Main window; In files: EDMarketConnector.py:826; prefs.py:607; stats.py:411; */
|
||||
"System" = "Järjestelmä";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'Station' line in main UI; prefs.py: Configuration - Label for selection of 'Station' provider website; prefs.py: Appearance - Example 'Normal' text; stats.py: Status dialog subtitle; In files: EDMarketConnector.py:827; prefs.py:625; prefs.py:762; stats.py:412; */
|
||||
"Station" = "Asema";
|
||||
|
||||
/* EDMarketConnector.py: 'File' menu title on OSX; EDMarketConnector.py: 'File' menu title; EDMarketConnector.py: 'File' menu; In files: EDMarketConnector.py:830; EDMarketConnector.py:845; EDMarketConnector.py:848; EDMarketConnector.py:2019; */
|
||||
"File" = "Tiedosto";
|
||||
|
||||
/* EDMarketConnector.py: 'Edit' menu title on OSX; EDMarketConnector.py: 'Edit' menu title; In files: EDMarketConnector.py:831; EDMarketConnector.py:846; EDMarketConnector.py:849; */
|
||||
"Edit" = "Muokkaa";
|
||||
|
||||
/* EDMarketConnector.py: 'View' menu title on OSX; In files: EDMarketConnector.py:832; */
|
||||
"View" = "Näytä";
|
||||
|
||||
/* EDMarketConnector.py: 'Window' menu title on OSX; In files: EDMarketConnector.py:833; */
|
||||
"Window" = "Ikkuna";
|
||||
|
||||
/* EDMarketConnector.py: Help' menu title on OSX; EDMarketConnector.py: 'Help' menu title; In files: EDMarketConnector.py:834; EDMarketConnector.py:847; EDMarketConnector.py:850; */
|
||||
"Help" = "Apua";
|
||||
|
||||
/* EDMarketConnector.py: App menu entry on OSX; EDMarketConnector.py: Help > About App; In files: EDMarketConnector.py:837; EDMarketConnector.py:863; EDMarketConnector.py:1566; */
|
||||
"About {APP}" = "Ohjelmasta {APP}";
|
||||
|
||||
/* EDMarketConnector.py: Help > Check for Updates...; In files: EDMarketConnector.py:839; EDMarketConnector.py:862; */
|
||||
"Check for Updates..." = "Tarkista päivitykset...";
|
||||
|
||||
/* EDMarketConnector.py: File > Save Raw Data...; In files: EDMarketConnector.py:840; EDMarketConnector.py:854; */
|
||||
"Save Raw Data..." = "Tallenna raakadata...";
|
||||
|
||||
/* EDMarketConnector.py: File > Status; stats.py: Status dialog title; In files: EDMarketConnector.py:841; EDMarketConnector.py:853; stats.py:406; */
|
||||
"Status" = "Tila";
|
||||
|
||||
/* EDMarketConnector.py: Help > Privacy Policy; In files: EDMarketConnector.py:842; EDMarketConnector.py:860; */
|
||||
"Privacy Policy" = "Tietosuojakäytäntö";
|
||||
|
||||
/* EDMarketConnector.py: Help > Release Notes; In files: EDMarketConnector.py:843; EDMarketConnector.py:861; EDMarketConnector.py:1600; */
|
||||
"Release Notes" = "Julkaisutiedot";
|
||||
|
||||
/* EDMarketConnector.py: File > Settings; prefs.py: File > Settings (macOS); In files: EDMarketConnector.py:855; EDMarketConnector.py:2020; prefs.py:255; */
|
||||
"Settings" = "Valinnat";
|
||||
|
||||
/* EDMarketConnector.py: File > Exit; In files: EDMarketConnector.py:856; */
|
||||
"Exit" = "Lopeta";
|
||||
|
||||
/* EDMarketConnector.py: Help > Documentation; In files: EDMarketConnector.py:859; */
|
||||
"Documentation" = "Dokumentaatio";
|
||||
|
||||
/* EDMarketConnector.py: Status - Attempting to get a Frontier Auth Access Token; In files: EDMarketConnector.py:872; */
|
||||
"Logging in..." = "Kirjaudutaan...";
|
||||
|
||||
/* EDMarketConnector.py: Successfully authenticated with the Frontier website; In files: EDMarketConnector.py:888; EDMarketConnector.py:1431; */
|
||||
"Authentication successful" = "Todennus onnistui";
|
||||
|
||||
/* EDMarketConnector.py: Player is not docked at a station, when we expect them to be; In files: EDMarketConnector.py:919; */
|
||||
"You're not docked at a station!" = "Et ole telakoituneena asemalle!";
|
||||
|
||||
/* EDMarketConnector.py: Status - Either no market or no modules data for station from Frontier CAPI; In files: EDMarketConnector.py:927; */
|
||||
"Station doesn't have anything!" = "Asemalla ei ole mitään!";
|
||||
|
||||
/* EDMarketConnector.py: Status - No station market data from Frontier CAPI; In files: EDMarketConnector.py:932; */
|
||||
"Station doesn't have a market!" = "Asemalla ei ole kaupankäyntiä!";
|
||||
|
||||
/* EDMarketConnector.py: Status - Attempting to retrieve data from Frontier CAPI; In files: EDMarketConnector.py:1006; */
|
||||
"Fetching data..." = "Noudetaan tietoja...";
|
||||
|
||||
/* EDMarketConnector.py: We didn't have the commander name when we should have; stats.py: Unknown commander; In files: EDMarketConnector.py:1051; stats.py:335; */
|
||||
"Who are you?!" = "Kuka olet?!";
|
||||
|
||||
/* EDMarketConnector.py: We don't know where the commander is, when we should; stats.py: Unknown location; In files: EDMarketConnector.py:1057; stats.py:345; */
|
||||
"Where are you?!" = "Missä olet?!";
|
||||
|
||||
/* EDMarketConnector.py: We don't know what ship the commander is in, when we should; stats.py: Unknown ship; In files: EDMarketConnector.py:1064; stats.py:353; */
|
||||
"What are you flying?!" = "Mitä alusta lennät?!";
|
||||
|
||||
/* EDMarketConnector.py: Frontier CAPI server error when fetching data; In files: EDMarketConnector.py:1176; */
|
||||
"Frontier CAPI server error" = "Frontier CAPI palvelinvirhe.";
|
||||
|
||||
/* EDMarketConnector.py: Time when we last obtained Frontier CAPI data; In files: EDMarketConnector.py:1226; */
|
||||
"Last updated at %H:%M:%S" = "Päivitetty viimeksi %H:%M:%S";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1254; */
|
||||
"Fighter" = "Hävittäjä";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1255; */
|
||||
"Gunner" = "Aseiden käyttäjä";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1256; */
|
||||
"Helm" = "Pilotti";
|
||||
|
||||
/* EDMarketConnector.py: Cooldown on 'Update' button; In files: EDMarketConnector.py:1514; */
|
||||
"cooldown {SS}s" = "Jäähtymisaika {SS}s";
|
||||
|
||||
/* EDMarketConnector.py: Generic 'OK' button label; prefs.py: 'OK' button on Settings/Preferences window; In files: EDMarketConnector.py:1626; prefs.py:306; */
|
||||
"OK" = "OK";
|
||||
|
||||
/* EDMarketConnector.py: The application is shutting down; In files: EDMarketConnector.py:1693; */
|
||||
"Shutting down..." = "Sulkeutuu...";
|
||||
|
||||
/* EDMarketConnector.py: Popup-text about 'active' plugins without Python 3.x support; In files: EDMarketConnector.py:2008:2014; */
|
||||
"One or more of your enabled plugins do not yet have support for Python 3.x. Please see the list on the '{PLUGINS}' tab of '{FILE}' > '{SETTINGS}'. You should check if there is an updated version available, else alert the developer that they need to update the code for Python 3.x.\r\n\r\nYou can disable a plugin by renaming its folder to have '{DISABLED}' on the end of the name." = "Yksi tai useampi käyttämistäsi lisäosista ei sisällä vielä Pyhton 3.x -tukea. Tarkista tiedoston '{FILE}' > '{SETTINGS}' välilehti '{PLUGINS}' lisäosista, onko niistä uudempaa versiota saatavilla; muussa tapauksessa ota yhteyttä sen kehittäjään ja kerro, että sen lähdekoodi on päivitettävä Python 3.x -tasolle.\n\nVoit estää lisäosan toiminnan nimeämällä sen hakemiston siten, että se päättyy tekstiin '{DISABLED}'.";
|
||||
|
||||
/* EDMarketConnector.py: Settings > Plugins tab; prefs.py: Label on Settings > Plugins tab; In files: EDMarketConnector.py:2018; prefs.py:978; */
|
||||
"Plugins" = "Lisäosat";
|
||||
|
||||
/* EDMarketConnector.py: Popup window title for list of 'enabled' plugins that don't work with Python 3.x; In files: EDMarketConnector.py:2029; */
|
||||
"EDMC: Plugins Without Python 3.x Support" = "EDMC: Lisäosat ilman Python 3.x -tukea";
|
||||
|
||||
/* companion.py: Frontier CAPI didn't respond; In files: companion.py:218; */
|
||||
"Error: Frontier CAPI didn't respond" = "Virhe: Frontier CAPI ei vastaa.";
|
||||
|
||||
/* companion.py: Frontier CAPI data doesn't agree with latest Journal game location; In files: companion.py:237; */
|
||||
"Error: Frontier server is lagging" = "Virhe: Frontierin palvelin vastaa vanhoilla tiedoilla";
|
||||
|
||||
/* companion.py: Generic "something went wrong with Frontier Auth" error; In files: companion.py:263; */
|
||||
"Error: Invalid Credentials" = "Virhe: kirjautuminen ei kelpaa";
|
||||
|
||||
/* companion.py: Frontier CAPI authorisation not for currently game-active commander; In files: companion.py:288; */
|
||||
"Error: Wrong Cmdr" = "Virhe: väärä komentaja";
|
||||
|
||||
/* companion.py: Generic error prefix - following text is from Frontier auth service; In files: companion.py:414; companion.py:499; */
|
||||
"Error" = "Virhe";
|
||||
|
||||
/* companion.py: Frontier auth, no 'usr' section in returned data; companion.py: Frontier auth, no 'customer_id' in 'usr' section in returned data; In files: companion.py:457; companion.py:462; */
|
||||
"Error: Couldn't check token customer_id" = "Virhe: Ei kyetty tarkastamaan polettia customer_id";
|
||||
|
||||
/* companion.py: Frontier auth customer_id doesn't match game session FID; In files: companion.py:468; */
|
||||
"Error: customer_id doesn't match!" = "Virhe: customer_id ei löydy vastaavuutta!";
|
||||
|
||||
/* companion.py: Failed to get Access Token from Frontier Auth service; In files: companion.py:490; */
|
||||
"Error: unable to get token" = "Virhe: ei kyetty saamaan polettia";
|
||||
|
||||
/* companion.py: Frontier CAPI data retrieval failed; In files: companion.py:809; */
|
||||
"Frontier CAPI query failure" = "Frontier CAPI kyselyvirhe.";
|
||||
|
||||
/* l10n.py: The system default language choice in Settings > Appearance; prefs.py: Settings > Configuration - Label on 'reset journal files location to default' button; prefs.py: The system default language choice in Settings > Appearance; prefs.py: Label for 'Default' theme radio button; In files: l10n.py:194; prefs.py:468; prefs.py:702; prefs.py:735; */
|
||||
"Default" = "Oletus";
|
||||
|
||||
/* eddb.py: Journal Processing disabled due to an active killswitch; In files: eddb.py:100; */
|
||||
"EDDB Journal processing disabled. See Log." = "EDDB lokikirjan käsittely ei käytössä. Katso lokitiedot.";
|
||||
|
||||
/* eddn.py: Status text shown while attempting to send data; In files: eddn.py:215; eddn.py:619; eddn.py:969; */
|
||||
"Sending data to EDDN..." = "Lähetetään tietoja EDDN:ään...";
|
||||
|
||||
/* eddn.py: Error while trying to send data to EDDN; In files: eddn.py:264; eddn.py:907; eddn.py:942; eddn.py:981; */
|
||||
"Error: Can't connect to EDDN" = "Virhe: ei saatu yhteyttä EDDN:ään";
|
||||
|
||||
/* eddn.py: Enable EDDN support for station data checkbox label; In files: eddn.py:699; */
|
||||
"Send station data to the Elite Dangerous Data Network" = "Lähetä asematiedot Elite Dangerous Data Network -palveluun";
|
||||
|
||||
/* eddn.py: Enable EDDN support for system and other scan data checkbox label; In files: eddn.py:710; */
|
||||
"Send system and scan data to the Elite Dangerous Data Network" = "Lähetä järjestelmä- ja skannaustiedot Elite Dangerous Data Network -palveluun";
|
||||
|
||||
/* eddn.py: EDDN delay sending until docked option is on, this message notes that a send was skipped due to this; In files: eddn.py:721; */
|
||||
"Delay sending until docked" = "Lähetä tiedot vasta telakoitumisen jälkeen";
|
||||
|
||||
/* eddn.py: Killswitch disabled EDDN; In files: eddn.py:785; */
|
||||
"EDDN journal handler disabled. See Log." = "EDDB lokikirjan käsittelijä ei käytössä. Katso lokitiedot.";
|
||||
|
||||
/* edsm.py: Settings>EDSM - Label on checkbox for 'send data'; In files: edsm.py:198; */
|
||||
"Send flight log and Cmdr status to EDSM" = "Lähetä lentoloki ja komentajatiedot EDSM:ään";
|
||||
|
||||
/* edsm.py: Settings>EDSM - Label on header/URL to EDSM API key page; In files: edsm.py:208; */
|
||||
"Elite Dangerous Star Map credentials" = "Elite Dangerous Star Map -kirjautuminen";
|
||||
|
||||
/* edsm.py: EDSM Commander name label in EDSM settings; In files: edsm.py:227; */
|
||||
"Commander Name" = "Komentajanimi";
|
||||
|
||||
/* edsm.py: EDSM API key label; inara.py: Inara API key label; In files: edsm.py:235; inara.py:237; */
|
||||
"API Key" = "API avain";
|
||||
|
||||
/* edsm.py: We have no data on the current commander; prefs.py: No hotkey/shortcut set; stats.py: No rank; In files: edsm.py:262; prefs.py:518; prefs.py:1156; prefs.py:1189; stats.py:117; stats.py:136; stats.py:155; stats.py:172; */
|
||||
"None" = "Ei määritelty";
|
||||
|
||||
/* edsm.py: EDSM plugin - Journal handling disabled by killswitch; In files: edsm.py:358; */
|
||||
"EDSM Handler disabled. See Log." = "ESDM käsittelijä ei käytössä. Katso lokitiedot.";
|
||||
|
||||
/* edsm.py: EDSM Plugin - Error message from EDSM API; In files: edsm.py:640; edsm.py:745; */
|
||||
"Error: EDSM {MSG}" = "Virhe: EDSM {MSG}";
|
||||
|
||||
/* edsm.py: EDSM Plugin - Error connecting to EDSM API; In files: edsm.py:677; edsm.py:740; */
|
||||
"Error: Can't connect to EDSM" = "Virhe: ei saatu yhteyttä EDSM:ään";
|
||||
|
||||
/* inara.py: Checkbox to enable INARA API Usage; In files: inara.py:216; */
|
||||
"Send flight log and Cmdr status to Inara" = "Lähetä lentoloki ja komentajatiedot Inaraan";
|
||||
|
||||
/* inara.py: Text for INARA API keys link ( goes to https://inara.cz/settings-api ); In files: inara.py:228; */
|
||||
"Inara credentials" = "Inaran kirjautuminen";
|
||||
|
||||
/* inara.py: INARA support disabled via killswitch; In files: inara.py:335; */
|
||||
"Inara disabled. See Log." = "Inara ei käytössä. Katso lokitiedot.";
|
||||
|
||||
|
||||
/* Raised when the Companion API server thinks that the user has not purchased E:D. i.e. doesn't have the correct 'SKU'. [companion.py] */
|
||||
"Error: Frontier server SKU problem" = "Virhe: Frontier -palvelimen SKU-ongelma";
|
||||
/* inara.py: INARA API returned some kind of error (error message will be contained in {MSG}); In files: inara.py:1549; inara.py:1562; */
|
||||
"Error: Inara {MSG}" = "Inaran virhe: {MSG}";
|
||||
|
||||
/* prefs.py: File > Preferences menu entry for macOS; In files: prefs.py:250; */
|
||||
/* prefs.py: File > Preferences menu entry for macOS; In files: prefs.py:251; */
|
||||
"Preferences" = "Valinnat";
|
||||
|
||||
/* prefs.py: Settings > Output - choosing what data to save to files; In files: prefs.py:346; */
|
||||
/* prefs.py: Settings > Output - choosing what data to save to files; In files: prefs.py:348; */
|
||||
"Please choose what data to save" = "Valitse mitkä tiedot tallennetaan";
|
||||
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:352; */
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:354; */
|
||||
"Market data in CSV format file" = "Markkinadata CSV -formaatissa";
|
||||
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:361; */
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:363; */
|
||||
"Market data in Trade Dangerous format file" = "Markkinadata Trade Dangerous -formaatissa";
|
||||
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:371; */
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:373; */
|
||||
"Ship loadout" = "Aluksen konfiguraatio";
|
||||
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:381; */
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:383; */
|
||||
"Automatically update on docking" = "Päivitä automaattisesti telakoituessa";
|
||||
|
||||
/* prefs.py: Settings > Output - Label for "where files are located"; In files: prefs.py:390; prefs.py:409; */
|
||||
/* prefs.py: Settings > Output - Label for "where files are located"; In files: prefs.py:392; prefs.py:411; */
|
||||
"File location" = "Tiedostosijainti";
|
||||
|
||||
/* prefs.py: macOS Preferences - files location selection button; In files: prefs.py:398; prefs.py:448; */
|
||||
/* prefs.py: macOS Preferences - files location selection button; In files: prefs.py:400; prefs.py:450; */
|
||||
"Change..." = "Muuta...";
|
||||
|
||||
/* prefs.py: NOT-macOS Settings - files location selection button; prefs.py: NOT-macOS Setting - files location selection button; In files: prefs.py:401; prefs.py:451; */
|
||||
/* prefs.py: NOT-macOS Settings - files location selection button; prefs.py: NOT-macOS Setting - files location selection button; In files: prefs.py:403; prefs.py:453; */
|
||||
"Browse..." = "Selaa...";
|
||||
|
||||
/* prefs.py: Label for 'Output' Settings/Preferences tab; In files: prefs.py:416; */
|
||||
/* prefs.py: Label for 'Output' Settings/Preferences tab; In files: prefs.py:418; */
|
||||
"Output" = "Tallennus";
|
||||
|
||||
/* prefs.py: Settings > Configuration - Label for Journal files location; In files: prefs.py:442; prefs.py:457; */
|
||||
/* prefs.py: Settings > Configuration - Label for Journal files location; In files: prefs.py:444; prefs.py:459; */
|
||||
"E:D journal file location" = "E:D lokikirjan tiedostosijainti";
|
||||
|
||||
/* prefs.py: Hotkey/Shortcut settings prompt on OSX; In files: prefs.py:482; */
|
||||
/* prefs.py: Hotkey/Shortcut settings prompt on OSX; In files: prefs.py:484; */
|
||||
"Keyboard shortcut" = "Näppäimistöoikopolku";
|
||||
|
||||
/* prefs.py: Hotkey/Shortcut settings prompt on Windows; In files: prefs.py:484; */
|
||||
/* prefs.py: Hotkey/Shortcut settings prompt on Windows; In files: prefs.py:486; */
|
||||
"Hotkey" = "Pikanäppäin";
|
||||
|
||||
/* prefs.py: macOS Preferences > Configuration - restart the app message; In files: prefs.py:493; */
|
||||
/* prefs.py: macOS Preferences > Configuration - restart the app message; In files: prefs.py:495; */
|
||||
"Re-start {APP} to use shortcuts" = "Käynnistä {APP} uudelleen käyttääksesi pikanäppäimiä";
|
||||
|
||||
/* prefs.py: macOS - Configuration - need to grant the app permission for keyboard shortcuts; In files: prefs.py:502; */
|
||||
/* prefs.py: macOS - Configuration - need to grant the app permission for keyboard shortcuts; In files: prefs.py:504; */
|
||||
"{APP} needs permission to use shortcuts" = "{APP} tarvitsee lupasi pikakuvakkeiden käyttämiseen";
|
||||
|
||||
/* prefs.py: Shortcut settings button on OSX; In files: prefs.py:507; */
|
||||
/* prefs.py: Shortcut settings button on OSX; In files: prefs.py:509; */
|
||||
"Open System Preferences" = "Avaa järjestelmän asetukset";
|
||||
|
||||
/* prefs.py: Configuration - Act on hotkey only when ED is in foreground; In files: prefs.py:529; */
|
||||
/* prefs.py: Configuration - Act on hotkey only when ED is in foreground; In files: prefs.py:531; */
|
||||
"Only when Elite: Dangerous is the active app" = "Vain jos Elite:Dangerous on käynnissä";
|
||||
|
||||
/* prefs.py: Configuration - play sound when hotkey used; In files: prefs.py:540; */
|
||||
/* prefs.py: Configuration - play sound when hotkey used; In files: prefs.py:542; */
|
||||
"Play sound" = "Toista ääni";
|
||||
|
||||
/* prefs.py: Configuration - disable checks for app updates when in-game; In files: prefs.py:555; */
|
||||
/* prefs.py: Configuration - disable checks for app updates when in-game; In files: prefs.py:557; */
|
||||
"Disable Automatic Application Updates Check when in-game" = "Estä automaattiset päivitystarkastukset pelaamisen aikana";
|
||||
|
||||
/* prefs.py: Label for preferred shipyard, system and station 'providers'; In files: prefs.py:568; */
|
||||
/* prefs.py: Label for preferred shipyard, system and station 'providers'; In files: prefs.py:570; */
|
||||
"Preferred websites" = "Ensisijaiset sivustot";
|
||||
|
||||
/* prefs.py: Label for Shipyard provider selection; In files: prefs.py:579; */
|
||||
/* prefs.py: Label for Shipyard provider selection; In files: prefs.py:581; */
|
||||
"Shipyard" = "Telakka";
|
||||
|
||||
/* prefs.py: Label for checkbox to utilise alternative Coriolis URL method; In files: prefs.py:591; */
|
||||
/* prefs.py: Label for checkbox to utilise alternative Coriolis URL method; In files: prefs.py:593; */
|
||||
"Use alternate URL method" = "Käytä vaihtoehtoista URL-metodia";
|
||||
|
||||
/* prefs.py: Configuration - Label for selection of Log Level; In files: prefs.py:644; */
|
||||
/* prefs.py: Configuration - Label for selection of Log Level; In files: prefs.py:646; */
|
||||
"Log Level" = "Lokin syvyys";
|
||||
|
||||
/* prefs.py: Label for 'Configuration' tab in Settings; In files: prefs.py:672; */
|
||||
/* prefs.py: Label for 'Configuration' tab in Settings; In files: prefs.py:674; */
|
||||
"Configuration" = "Valinnat";
|
||||
|
||||
/* prefs.py: Label for Settings > Appeareance > selection of 'normal' text colour; In files: prefs.py:685; */
|
||||
/* prefs.py: Preferences privacy tab title; In files: prefs.py:696; */
|
||||
"Privacy" = "Yksityisyys";
|
||||
|
||||
/* prefs.py: Label for Settings > Appeareance > selection of 'normal' text colour; In files: prefs.py:709; */
|
||||
"Normal text" = "Normaali teksti";
|
||||
|
||||
/* prefs.py: Label for Settings > Appeareance > selection of 'highlightes' text colour; In files: prefs.py:687; */
|
||||
/* prefs.py: Label for Settings > Appeareance > selection of 'highlightes' text colour; In files: prefs.py:711; */
|
||||
"Highlighted text" = "Korostettu teksti";
|
||||
|
||||
/* prefs.py: Appearance - Label for selection of application display language; In files: prefs.py:696; */
|
||||
/* prefs.py: Appearance - Label for selection of application display language; In files: prefs.py:720; */
|
||||
"Language" = "Kieli";
|
||||
|
||||
/* prefs.py: Label for Settings > Appearance > Theme selection; In files: prefs.py:706; */
|
||||
/* prefs.py: Label for Settings > Appearance > Theme selection; In files: prefs.py:730; */
|
||||
"Theme" = "Teema";
|
||||
|
||||
/* prefs.py: Label for 'Dark' theme radio button; In files: prefs.py:717; */
|
||||
/* prefs.py: Label for 'Dark' theme radio button; In files: prefs.py:741; */
|
||||
"Dark" = "Tumma";
|
||||
|
||||
/* prefs.py: Label for 'Transparent' theme radio button; In files: prefs.py:724; */
|
||||
/* prefs.py: Label for 'Transparent' theme radio button; In files: prefs.py:748; */
|
||||
"Transparent" = "Läpinäkyvä";
|
||||
|
||||
/* prefs.py: Appearance - Label for selection of UI scaling; In files: prefs.py:770; */
|
||||
/* prefs.py: Appearance - Label for selection of UI scaling; In files: prefs.py:794; */
|
||||
"UI Scale Percentage" = "Käyttöliittymän skaalausprosentti";
|
||||
|
||||
/* prefs.py: Appearance - Help/hint text for UI scaling selection; In files: prefs.py:791; */
|
||||
/* prefs.py: Appearance - Help/hint text for UI scaling selection; In files: prefs.py:815; */
|
||||
"100 means Default{CR}Restart Required for{CR}changes to take effect!" = "100 tarkoittaa oletusta{CR}Muutosten käyttöönotto{CR}edellyttää uudelleenkäynnistystä!";
|
||||
|
||||
/* prefs.py: Appearance - Label for selection of main window transparency; In files: prefs.py:801; */
|
||||
/* prefs.py: Appearance - Label for selection of main window transparency; In files: prefs.py:825; */
|
||||
"Main window transparency" = "Pääikkunan läpinäkyvyys";
|
||||
|
||||
/* prefs.py: Appearance - Help/hint text for Main window transparency selection; In files: prefs.py:821:824; */
|
||||
/* prefs.py: Appearance - Help/hint text for Main window transparency selection; In files: prefs.py:845:848; */
|
||||
"100 means fully opaque.{CR}Window is updated in real time" = "100 tarkoittaa täysin peittävää.{CR}Ikkuna päivittyy reaaliajassa.";
|
||||
|
||||
/* prefs.py: Label for Settings > Appearance tab; In files: prefs.py:860; */
|
||||
/* prefs.py: Appearance option for Windows "minimize to system tray"; In files: prefs.py:877; */
|
||||
"Minimize to system tray" = "Pienennä tehtäväpalkkiin";
|
||||
|
||||
/* prefs.py: Label for Settings > Appearance tab; In files: prefs.py:885; */
|
||||
"Appearance" = "Ulkoasu";
|
||||
|
||||
/* prefs.py: Label for location of third-party plugins folder; In files: prefs.py:875; */
|
||||
/* prefs.py: Label for location of third-party plugins folder; In files: prefs.py:900; */
|
||||
"Plugins folder" = "Lisäosien hakemistosijainti";
|
||||
|
||||
/* prefs.py: Label on button used to open a filesystem folder; In files: prefs.py:882; */
|
||||
/* prefs.py: Label on button used to open a filesystem folder; In files: prefs.py:907; */
|
||||
"Open" = "Avaa";
|
||||
|
||||
/* prefs.py: Tip/label about how to disable plugins; In files: prefs.py:890; */
|
||||
/* prefs.py: Tip/label about how to disable plugins; In files: prefs.py:915; */
|
||||
"Tip: You can disable a plugin by{CR}adding '{EXT}' to its folder name" = "Vihje: Voit poistaa lisäosan käytöstä{CR}lisäämällä '{EXT}' sen hakemistonimeen";
|
||||
|
||||
/* prefs.py: Label on list of enabled plugins; In files: prefs.py:901; */
|
||||
/* prefs.py: Label on list of enabled plugins; In files: prefs.py:926; */
|
||||
"Enabled Plugins" = "Käytössä olevat liitännäiset";
|
||||
|
||||
/* prefs.py: Plugins - Label for list of 'enabled' plugins that don't work with Python 3.x; In files: prefs.py:921; */
|
||||
/* prefs.py: Plugins - Label for list of 'enabled' plugins that don't work with Python 3.x; In files: prefs.py:946; */
|
||||
"Plugins Without Python 3.x Support:" = "Lisäosat, joissa ei ole Python 3.x -tukea:";
|
||||
|
||||
/* prefs.py: Plugins - Label on URL to documentation about migrating plugins from Python 2.7; In files: prefs.py:929; */
|
||||
/* prefs.py: Plugins - Label on URL to documentation about migrating plugins from Python 2.7; In files: prefs.py:954; */
|
||||
"Information on migrating plugins" = "Tietoja lisäosien siirrosta";
|
||||
|
||||
/* prefs.py: Lable on list of user-disabled plugins; In files: prefs.py:944; */
|
||||
/* prefs.py: Lable on list of user-disabled plugins; In files: prefs.py:969; */
|
||||
"Disabled Plugins" = "Estetyt liitännäiset";
|
||||
|
||||
/* stats.py: Cmdr stats; In files: stats.py:51; */
|
||||
/* stats.py: Cmdr stats; In files: stats.py:60; */
|
||||
"Balance" = "Saldo";
|
||||
|
||||
/* stats.py: Cmdr stats; In files: stats.py:52; */
|
||||
/* stats.py: Cmdr stats; In files: stats.py:61; */
|
||||
"Loan" = "Lainaa jäljellä";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:57; */
|
||||
"Combat" = "Taistelija -ranking";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:58; */
|
||||
"Trade" = "Kaupankäynti -ranking";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:59; */
|
||||
"Explorer" = "Tutkimusmatkailija -ranking";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:60; */
|
||||
"CQC" = "CQC -ranking";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:61; */
|
||||
"Federation" = "Federaation sotilasarvosi";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:62; */
|
||||
"Empire" = "Imperiumin sotilasarvosi";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:63; */
|
||||
"Powerplay" = "Valtapeli -ranking";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:71; */
|
||||
"Harmless" = "Harmless";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:72; */
|
||||
"Mostly Harmless" = "Mostly Harmless";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:73; */
|
||||
"Novice" = "Novice";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:74; */
|
||||
"Competent" = "Competent";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:75; */
|
||||
"Expert" = "Expert";
|
||||
|
||||
/* stats.py: Combat rank; stats.py: Empire rank; In files: stats.py:76; stats.py:139; */
|
||||
"Master" = "Master";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:77; */
|
||||
"Dangerous" = "Dangerous";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:78; */
|
||||
"Deadly" = "Deadly";
|
||||
|
||||
/* stats.py: Top rank; In files: stats.py:79; stats.py:90; stats.py:101; stats.py:112; */
|
||||
/* stats.py: Top rank; In files: stats.py:65; */
|
||||
"Elite" = "Elite";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:82; */
|
||||
/* stats.py: Ranking; In files: stats.py:76; */
|
||||
"Combat" = "Taistelija -ranking";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:77; */
|
||||
"Trade" = "Kaupankäynti -ranking";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:78; */
|
||||
"Explorer" = "Tutkimusmatkailija -ranking";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:81; */
|
||||
"CQC" = "CQC -ranking";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:82; */
|
||||
"Federation" = "Federaation sotilasarvosi";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:83; */
|
||||
"Empire" = "Imperiumin sotilasarvosi";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:84; */
|
||||
"Powerplay" = "Valtapeli -ranking";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:93; */
|
||||
"Harmless" = "Harmless";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:94; */
|
||||
"Mostly Harmless" = "Mostly Harmless";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:95; */
|
||||
"Novice" = "Novice";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:96; */
|
||||
"Competent" = "Competent";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:97; */
|
||||
"Expert" = "Expert";
|
||||
|
||||
/* stats.py: Combat rank; stats.py: Empire rank; In files: stats.py:98; stats.py:178; */
|
||||
"Master" = "Master";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:99; */
|
||||
"Dangerous" = "Dangerous";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:100; */
|
||||
"Deadly" = "Deadly";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:103; */
|
||||
"Penniless" = "Penniless";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:83; */
|
||||
/* stats.py: Trade rank; In files: stats.py:104; */
|
||||
"Mostly Penniless" = "Mostly Penniless";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:84; */
|
||||
/* stats.py: Trade rank; In files: stats.py:105; */
|
||||
"Peddler" = "Peddler";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:85; */
|
||||
/* stats.py: Trade rank; In files: stats.py:106; */
|
||||
"Dealer" = "Dealer";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:86; */
|
||||
/* stats.py: Trade rank; In files: stats.py:107; */
|
||||
"Merchant" = "Merchant";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:87; */
|
||||
/* stats.py: Trade rank; In files: stats.py:108; */
|
||||
"Broker" = "Broker";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:88; */
|
||||
/* stats.py: Trade rank; In files: stats.py:109; */
|
||||
"Entrepreneur" = "Entrepreneur";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:89; */
|
||||
/* stats.py: Trade rank; In files: stats.py:110; */
|
||||
"Tycoon" = "Tycoon";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:93; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:113; */
|
||||
"Aimless" = "Aimless";
|
||||
|
||||
|
||||
/* Appearance setting. [EDMarketConnector.py] */
|
||||
"Minimize to system tray" = "Pienennä tehtäväpalkkiin";
|
||||
/* stats.py: Explorer rank; In files: stats.py:94; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:114; */
|
||||
"Mostly Aimless" = "Mostly Aimless";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:95; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:115; */
|
||||
"Scout" = "Scout";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:96; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:116; */
|
||||
"Surveyor" = "Surveyor";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:97; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:117; */
|
||||
"Trailblazer" = "Trailblazer";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:98; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:118; */
|
||||
"Pathfinder" = "Pathfinder";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:99; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:119; */
|
||||
"Ranger" = "Ranger";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:100; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:120; */
|
||||
"Pioneer" = "Pioneer";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:104; */
|
||||
/* stats.py: CQC rank; In files: stats.py:144; */
|
||||
"Helpless" = "Helpless";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:105; */
|
||||
/* stats.py: CQC rank; In files: stats.py:145; */
|
||||
"Mostly Helpless" = "Mostly Helpless";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:106; */
|
||||
/* stats.py: CQC rank; In files: stats.py:146; */
|
||||
"Amateur" = "Amateur";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:107; */
|
||||
/* stats.py: CQC rank; In files: stats.py:147; */
|
||||
"Semi Professional" = "Semi Professional";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:108; */
|
||||
/* stats.py: CQC rank; In files: stats.py:148; */
|
||||
"Professional" = "Professional";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:109; */
|
||||
/* stats.py: CQC rank; In files: stats.py:149; */
|
||||
"Champion" = "Champion";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:110; */
|
||||
/* stats.py: CQC rank; In files: stats.py:150; */
|
||||
"Hero" = "Hero";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:111; */
|
||||
/* stats.py: CQC rank; In files: stats.py:151; */
|
||||
"Gladiator" = "Gladiator";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:118; */
|
||||
/* stats.py: Federation rank; In files: stats.py:157; */
|
||||
"Recruit" = "Recruit";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:119; */
|
||||
/* stats.py: Federation rank; In files: stats.py:158; */
|
||||
"Cadet" = "Cadet";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:120; */
|
||||
/* stats.py: Federation rank; In files: stats.py:159; */
|
||||
"Midshipman" = "Midshipman";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:121; */
|
||||
/* stats.py: Federation rank; In files: stats.py:160; */
|
||||
"Petty Officer" = "Petty Officer";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:122; */
|
||||
/* stats.py: Federation rank; In files: stats.py:161; */
|
||||
"Chief Petty Officer" = "Chief Petty Officer";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:123; */
|
||||
/* stats.py: Federation rank; In files: stats.py:162; */
|
||||
"Warrant Officer" = "Warrant Officer";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:124; */
|
||||
/* stats.py: Federation rank; In files: stats.py:163; */
|
||||
"Ensign" = "Ensign";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:125; */
|
||||
/* stats.py: Federation rank; In files: stats.py:164; */
|
||||
"Lieutenant" = "Lieutenant";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:126; */
|
||||
/* stats.py: Federation rank; In files: stats.py:165; */
|
||||
"Lieutenant Commander" = "Lieutenant Commander";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:127; */
|
||||
/* stats.py: Federation rank; In files: stats.py:166; */
|
||||
"Post Commander" = "Post Commander";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:128; */
|
||||
/* stats.py: Federation rank; In files: stats.py:167; */
|
||||
"Post Captain" = "Post Captain";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:129; */
|
||||
/* stats.py: Federation rank; In files: stats.py:168; */
|
||||
"Rear Admiral" = "Rear Admiral";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:130; */
|
||||
/* stats.py: Federation rank; In files: stats.py:169; */
|
||||
"Vice Admiral" = "Vice Admiral";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:131; */
|
||||
/* stats.py: Federation rank; In files: stats.py:170; */
|
||||
"Admiral" = "Admiral";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:137; */
|
||||
/* stats.py: Empire rank; In files: stats.py:176; */
|
||||
"Outsider" = "Outsider";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:138; */
|
||||
/* stats.py: Empire rank; In files: stats.py:177; */
|
||||
"Serf" = "Serf";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:140; */
|
||||
/* stats.py: Empire rank; In files: stats.py:179; */
|
||||
"Squire" = "Squire";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:141; */
|
||||
/* stats.py: Empire rank; In files: stats.py:180; */
|
||||
"Knight" = "Knight";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:142; */
|
||||
/* stats.py: Empire rank; In files: stats.py:181; */
|
||||
"Lord" = "Lord";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:143; */
|
||||
/* stats.py: Empire rank; In files: stats.py:182; */
|
||||
"Baron" = "Baron";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:144; */
|
||||
/* stats.py: Empire rank; In files: stats.py:183; */
|
||||
"Viscount" = "Viscount";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:145; */
|
||||
/* stats.py: Empire rank; In files: stats.py:184; */
|
||||
"Count" = "Count";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:146; */
|
||||
/* stats.py: Empire rank; In files: stats.py:185; */
|
||||
"Earl" = "Earl";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:147; */
|
||||
/* stats.py: Empire rank; In files: stats.py:186; */
|
||||
"Marquis" = "Marquis";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:148; */
|
||||
/* stats.py: Empire rank; In files: stats.py:187; */
|
||||
"Duke" = "Duke";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:149; */
|
||||
/* stats.py: Empire rank; In files: stats.py:188; */
|
||||
"Prince" = "Prince";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:150; */
|
||||
/* stats.py: Empire rank; In files: stats.py:189; */
|
||||
"King" = "King";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:156; */
|
||||
/* stats.py: Power rank; In files: stats.py:195; */
|
||||
"Rating 1" = "Luokitus 1";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:157; */
|
||||
/* stats.py: Power rank; In files: stats.py:196; */
|
||||
"Rating 2" = "Luokitus 2";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:158; */
|
||||
/* stats.py: Power rank; In files: stats.py:197; */
|
||||
"Rating 3" = "Luokitus 3";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:159; */
|
||||
/* stats.py: Power rank; In files: stats.py:198; */
|
||||
"Rating 4" = "Luokitus 4";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:160; */
|
||||
/* stats.py: Power rank; In files: stats.py:199; */
|
||||
"Rating 5" = "Luokitus 5";
|
||||
|
||||
/* stats.py: Status dialog subtitle - CR value of ship; In files: stats.py:367; */
|
||||
/* stats.py: Status dialog subtitle - CR value of ship; In files: stats.py:413; */
|
||||
"Value" = "Arvo";
|
||||
|
||||
/* stats.py: Status dialog title; In files: stats.py:376; */
|
||||
/* stats.py: Status dialog title; In files: stats.py:422; */
|
||||
"Ships" = "Alukset";
|
||||
+294
-300
@@ -1,524 +1,518 @@
|
||||
/* Language name */
|
||||
"!Language" = "Français";
|
||||
|
||||
|
||||
/* OLD: Raised when cannot contact the Companion API server. [companion.py] */
|
||||
"Error: Frontier server is down" = "Erreur : Le serveur Frontier est indisponible";
|
||||
/* companion.py: Frontier CAPI data doesn't agree with latest Journal game location; In files: companion.py:190; */
|
||||
"Error: Frontier server is lagging" = "Erreur : Le serveur Frontier ne répond pas";
|
||||
|
||||
/* companion.py: Generic "something went wrong with Frontier Auth" error; In files: companion.py:214; */
|
||||
"Error: Invalid Credentials" = "Erreur : Identifiants invalides";
|
||||
|
||||
/* companion.py: Frontier CAPI authorisation not for currently game-active commander; In files: companion.py:230; */
|
||||
"Error: Wrong Cmdr" = "Erreur : Cmdr incorrect";
|
||||
|
||||
|
||||
/* [inara.py] */
|
||||
"Error: Can't connect to Inara" = "Erreur : Connexion impossible à Inara";
|
||||
/* EDMarketConnector.py: Update button in main window; In files: EDMarketConnector.py:424; EDMarketConnector.py:718; EDMarketConnector.py:1302; */
|
||||
"Update" = "Mettre à jour";
|
||||
|
||||
/* EDMarketConnector.py: Appearance - Label for checkbox to select if application always on top; prefs.py: Appearance - Label for checkbox to select if application always on top; In files: EDMarketConnector.py:507; prefs.py:843; */
|
||||
"Always on top" = "Toujours visible";
|
||||
|
||||
/* EDMarketConnector.py: Label for commander name in main window; edsm.py: Game Commander name label in EDSM settings; stats.py: Cmdr stats; theme.py: Label for commander name in main window; In files: EDMarketConnector.py:712; edsm.py:219; stats.py:50; theme.py:227; */
|
||||
"Cmdr" = "Cmd";
|
||||
|
||||
/* EDMarketConnector.py: 'Ship' or multi-crew role label in main window, as applicable; EDMarketConnector.py: Multicrew role label in main window; In files: EDMarketConnector.py:714; EDMarketConnector.py:1072; */
|
||||
"Role" = "Rôle";
|
||||
|
||||
/* EDMarketConnector.py: 'Ship' or multi-crew role label in main window, as applicable; EDMarketConnector.py: 'Ship' label in main UI; stats.py: Status dialog subtitle; In files: EDMarketConnector.py:714; EDMarketConnector.py:1082; EDMarketConnector.py:1105; stats.py:363; */
|
||||
"Ship" = "Vaisseau";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'Suit' line in main UI; In files: EDMarketConnector.py:715; */
|
||||
"Suit" = "Combinaison";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'System' line in main UI; prefs.py: Configuration - Label for selection of 'System' provider website; stats.py: Main window; In files: EDMarketConnector.py:716; prefs.py:605; stats.py:365; */
|
||||
"System" = "Système";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'Station' line in main UI; prefs.py: Configuration - Label for selection of 'Station' provider website; prefs.py: Appearance - Example 'Normal' text; stats.py: Status dialog subtitle; In files: EDMarketConnector.py:717; prefs.py:623; prefs.py:738; stats.py:366; */
|
||||
"Station" = "Station";
|
||||
|
||||
/* EDMarketConnector.py: 'File' menu title on OSX; EDMarketConnector.py: 'File' menu title; EDMarketConnector.py: 'File' menu; In files: EDMarketConnector.py:720; EDMarketConnector.py:735; EDMarketConnector.py:738; EDMarketConnector.py:1791; */
|
||||
"File" = "Fichier";
|
||||
|
||||
/* EDMarketConnector.py: 'Edit' menu title on OSX; EDMarketConnector.py: 'Edit' menu title; In files: EDMarketConnector.py:721; EDMarketConnector.py:736; EDMarketConnector.py:739; */
|
||||
"Edit" = "Édition";
|
||||
|
||||
/* EDMarketConnector.py: 'View' menu title on OSX; In files: EDMarketConnector.py:722; */
|
||||
"View" = "Présentation";
|
||||
|
||||
/* EDMarketConnector.py: 'Window' menu title on OSX; In files: EDMarketConnector.py:723; */
|
||||
"Window" = "Fenêtre";
|
||||
|
||||
/* EDMarketConnector.py: Help' menu title on OSX; EDMarketConnector.py: 'Help' menu title; In files: EDMarketConnector.py:724; EDMarketConnector.py:737; EDMarketConnector.py:740; */
|
||||
"Help" = "Aide";
|
||||
|
||||
/* EDMarketConnector.py: App menu entry on OSX; EDMarketConnector.py: Help > About App; In files: EDMarketConnector.py:727; EDMarketConnector.py:753; EDMarketConnector.py:1347; */
|
||||
"About {APP}" = "À propos de {APP}";
|
||||
|
||||
/* EDMarketConnector.py: Help > Check for Updates...; In files: EDMarketConnector.py:729; EDMarketConnector.py:752; */
|
||||
"Check for Updates..." = "Chercher une mise à jour...";
|
||||
|
||||
/* EDMarketConnector.py: File > Save Raw Data...; In files: EDMarketConnector.py:730; EDMarketConnector.py:744; */
|
||||
"Save Raw Data..." = "Sauvegarder les Données Brutes...";
|
||||
|
||||
/* EDMarketConnector.py: File > Status; stats.py: Status dialog title; In files: EDMarketConnector.py:731; EDMarketConnector.py:743; stats.py:360; */
|
||||
"Status" = "État";
|
||||
|
||||
/* EDMarketConnector.py: Help > Privacy Policy; In files: EDMarketConnector.py:732; EDMarketConnector.py:750; */
|
||||
"Privacy Policy" = "Politique de Confidentialité";
|
||||
|
||||
/* EDMarketConnector.py: Help > Release Notes; In files: EDMarketConnector.py:733; EDMarketConnector.py:751; EDMarketConnector.py:1381; */
|
||||
"Release Notes" = "Notes de publication";
|
||||
|
||||
/* EDMarketConnector.py: File > Settings; prefs.py: File > Settings (macOS); In files: EDMarketConnector.py:745; EDMarketConnector.py:1792; prefs.py:254; */
|
||||
"Settings" = "Paramètres";
|
||||
|
||||
/* EDMarketConnector.py: File > Exit; In files: EDMarketConnector.py:746; */
|
||||
"Exit" = "Quitter";
|
||||
|
||||
/* EDMarketConnector.py: Help > Documentation; In files: EDMarketConnector.py:749; */
|
||||
"Documentation" = "Documentation";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'Copy' as in 'Copy and Paste'; ttkHyperlinkLabel.py: Label for 'Copy' as in 'Copy and Paste'; In files: EDMarketConnector.py:756; ttkHyperlinkLabel.py:42; */
|
||||
"Copy" = "Copier";
|
||||
|
||||
/* EDMarketConnector.py: Status - Attempting to get a Frontier Auth Access Token; In files: EDMarketConnector.py:762; */
|
||||
"Logging in..." = "Connexion en cours...";
|
||||
|
||||
/* EDMarketConnector.py: Successfully authenticated with the Frontier website; In files: EDMarketConnector.py:778; EDMarketConnector.py:1215; */
|
||||
"Authentication successful" = "Authentification réussie";
|
||||
|
||||
/* EDMarketConnector.py: Player is not docked at a station, when we expect them to be; In files: EDMarketConnector.py:809; */
|
||||
"You're not docked at a station!" = "Vous n'êtes pas amarré à une station !";
|
||||
|
||||
/* EDMarketConnector.py: Status - Either no market or no modules data for station from Frontier CAPI; In files: EDMarketConnector.py:817; */
|
||||
"Station doesn't have anything!" = "La station n'a rien du tout !";
|
||||
|
||||
/* EDMarketConnector.py: Status - No station market data from Frontier CAPI; In files: EDMarketConnector.py:822; */
|
||||
"Station doesn't have a market!" = "La station n'a pas de marché !";
|
||||
|
||||
/* EDMarketConnector.py: Status - Attempting to retrieve data from Frontier CAPI; EDMarketConnector.py: Status - Attempting to retrieve data from Frontier CAPI to save to file; stats.py: Fetching data from Frontier CAPI in order to display on File > Status; In files: EDMarketConnector.py:867; EDMarketConnector.py:1428; stats.py:279; */
|
||||
"Fetching data..." = "Récupération des données...";
|
||||
|
||||
/* EDMarketConnector.py: We didn't have the commander name when we should have; stats.py: Unknown commander; In files: EDMarketConnector.py:884; stats.py:297; */
|
||||
"Who are you?!" = "Qui êtes-vous ?";
|
||||
|
||||
/* EDMarketConnector.py: We don't know where the commander is, when we should; stats.py: Unknown location; In files: EDMarketConnector.py:890; stats.py:307; */
|
||||
"Where are you?!" = "Où êtes-vous ?";
|
||||
|
||||
/* EDMarketConnector.py: We don't know what ship the commander is in, when we should; stats.py: Unknown ship; In files: EDMarketConnector.py:894; stats.py:312; */
|
||||
"What are you flying?!" = "Avec quoi volez-vous ?";
|
||||
|
||||
/* EDMarketConnector.py: Time when we last obtained Frontier CAPI data; In files: EDMarketConnector.py:1026; */
|
||||
"Last updated at %H:%M:%S" = "Dernière mise à jour à %H:%M:%S";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1052; */
|
||||
"Fighter" = "Chasseur";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1053; */
|
||||
"Gunner" = "Artilleur";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1054; */
|
||||
"Helm" = "Pilote";
|
||||
|
||||
/* EDMarketConnector.py: Cooldown on 'Update' button; In files: EDMarketConnector.py:1298; */
|
||||
"cooldown {SS}s" = "Temps de recharge {SS}s";
|
||||
|
||||
/* EDMarketConnector.py: Generic 'OK' button label; prefs.py: 'OK' button on Settings/Preferences window; In files: EDMarketConnector.py:1407; prefs.py:304; */
|
||||
"OK" = "OK";
|
||||
|
||||
/* EDMarketConnector.py: Popup-text about 'active' plugins without Python 3.x support; In files: EDMarketConnector.py:1780:1786; */
|
||||
"One or more of your enabled plugins do not yet have support for Python 3.x. Please see the list on the '{PLUGINS}' tab of '{FILE}' > '{SETTINGS}'. You should check if there is an updated version available, else alert the developer that they need to update the code for Python 3.x.\r\n\r\nYou can disable a plugin by renaming its folder to have '{DISABLED}' on the end of the name." = "Un ou plusieurs de vos plugins activés ne sont pas encore compatibles avec Python 3.x. Regardez la liste sur l'onglet '{PLUGINS}' de '{FILE}' > '{SETTINGS}'. Vous devriez vérifier s'il y a une version mise à jour, sinon alertez le développeur qu'il doit mettre à jour le code pour Python 3.x.\n\nVous pouvez désactiver un plugin en renommant son dossier pour qu'il ait '{DISABLED}' à la fin du nom.";
|
||||
|
||||
/* EDMarketConnector.py: Settings > Plugins tab; prefs.py: Label on Settings > Plugins tab; In files: EDMarketConnector.py:1790; prefs.py:953; */
|
||||
"Plugins" = "Plugins";
|
||||
|
||||
/* EDMarketConnector.py: Popup window title for list of 'enabled' plugins that don't work with Python 3.x; In files: EDMarketConnector.py:1801; */
|
||||
"EDMC: Plugins Without Python 3.x Support" = "EDMC: Plugins non compatibles avec Python 3.x";
|
||||
|
||||
/* l10n.py: The system default language choice in Settings > Appearance; prefs.py: Settings > Configuration - Label on 'reset journal files location to default' button; prefs.py: The system default language choice in Settings > Appearance; prefs.py: Label for 'Default' theme radio button; In files: l10n.py:194; prefs.py:466; prefs.py:678; prefs.py:711; */
|
||||
"Default" = "Par défaut";
|
||||
|
||||
/* eddn.py: Status text shown while attempting to send data; In files: eddn.py:215; eddn.py:619; eddn.py:969; */
|
||||
/* eddn.py: Status text shown while attempting to send data; In files: eddn.py:212; eddn.py:584; eddn.py:925; load.py:215; load.py:593; load.py:940; eddn.py:252; eddn.py:699; eddn.py:1439; */
|
||||
"Sending data to EDDN..." = "Envoi des données à EDDN...";
|
||||
|
||||
/* eddn.py: Error while trying to send data to EDDN; In files: eddn.py:264; eddn.py:907; eddn.py:942; eddn.py:981; */
|
||||
/* eddn.py: Error while trying to send data to EDDN; In files: eddn.py:257; eddn.py:864; eddn.py:898; eddn.py:937; load.py:260; load.py:878; load.py:913; load.py:952; eddn.py:316; eddn.py:1375; eddn.py:1410; eddn.py:1451; */
|
||||
"Error: Can't connect to EDDN" = "Erreur : Connexion impossible à EDDN";
|
||||
|
||||
/* eddn.py: Enable EDDN support for station data checkbox label; In files: eddn.py:699; */
|
||||
/* eddn.py: Enable EDDN support for station data checkbox label; In files: eddn.py:663; load.py:672; eddn.py:1122; */
|
||||
"Send station data to the Elite Dangerous Data Network" = "Envoyer les données de la station à Elite Dangerous Data Network";
|
||||
|
||||
/* eddn.py: Enable EDDN support for system and other scan data checkbox label; In files: eddn.py:710; */
|
||||
/* eddn.py: Enable EDDN support for system and other scan data checkbox label; In files: eddn.py:673; load.py:682; eddn.py:1133; */
|
||||
"Send system and scan data to the Elite Dangerous Data Network" = "Envoyer les systèmes et les informations de scan à Elite Dangerous Data Network";
|
||||
|
||||
/* eddn.py: EDDN delay sending until docked option is on, this message notes that a send was skipped due to this; In files: eddn.py:721; */
|
||||
/* eddn.py: EDDN delay sending until docked option is on, this message notes that a send was skipped due to this; In files: eddn.py:683; load.py:692; eddn.py:1144; */
|
||||
"Delay sending until docked" = "Retarder l'envoi jusqu'à l'amarrage";
|
||||
|
||||
/* edsm.py: Settings>EDSM - Label on checkbox for 'send data'; In files: edsm.py:198; */
|
||||
/* edsm.py: Settings>EDSM - Label on checkbox for 'send data'; In files: edsm.py:197; load.py:197; edsm.py:237; */
|
||||
"Send flight log and Cmdr status to EDSM" = "Envoyer le journal de vol et le statut Cmdr à EDSM";
|
||||
|
||||
/* edsm.py: Settings>EDSM - Label on header/URL to EDSM API key page; In files: edsm.py:208; */
|
||||
/* edsm.py: Settings>EDSM - Label on header/URL to EDSM API key page; In files: edsm.py:206; load.py:206; edsm.py:247; */
|
||||
"Elite Dangerous Star Map credentials" = "Informations d'identification pour Elite Dangerous Star Map";
|
||||
|
||||
/* edsm.py: EDSM Commander name label in EDSM settings; In files: edsm.py:227; */
|
||||
/* edsm.py: Game Commander name label in EDSM settings; theme.py: Label for commander name in main window; EDMarketConnector.py: Label for commander name in main window; stats.py: Cmdr stats; In files: edsm.py:216; load.py:216; edsm.py:258; theme.py:227; EDMarketConnector.py:822; stats.py:59; */
|
||||
"Cmdr" = "Cmd";
|
||||
|
||||
/* edsm.py: EDSM Commander name label in EDSM settings; In files: edsm.py:223; load.py:223; edsm.py:266; */
|
||||
"Commander Name" = "Nom du commandant";
|
||||
|
||||
/* edsm.py: EDSM API key label; inara.py: Inara API key label; In files: edsm.py:235; inara.py:237; */
|
||||
/* edsm.py: EDSM API key label; inara.py: Inara API key label; In files: edsm.py:230; inara.py:233; load.py:230; load.py:233; edsm.py:274; inara.py:243; */
|
||||
"API Key" = "Clé API";
|
||||
|
||||
/* edsm.py: We have no data on the current commander; prefs.py: No hotkey/shortcut set; stats.py: No rank; In files: edsm.py:262; prefs.py:518; prefs.py:1156; prefs.py:1189; stats.py:117; stats.py:136; stats.py:155; stats.py:172; */
|
||||
/* edsm.py: We have no data on the current commander; prefs.py: No hotkey/shortcut set; stats.py: No rank; In files: edsm.py:256; load.py:256; edsm.py:301; prefs.py:520; prefs.py:1174; prefs.py:1207; stats.py:156; stats.py:175; stats.py:194; stats.py:211; */
|
||||
"None" = "Aucun";
|
||||
|
||||
/* edsm.py: EDSM Plugin - Error message from EDSM API; In files: edsm.py:640; edsm.py:745; */
|
||||
/* edsm.py: EDSM Plugin - Error message from EDSM API; In files: edsm.py:622; edsm.py:724; load.py:627; load.py:729; edsm.py:747; edsm.py:875; */
|
||||
"Error: EDSM {MSG}" = "Erreur : EDSM {MSG}";
|
||||
|
||||
/* edsm.py: EDSM Plugin - Error connecting to EDSM API; In files: edsm.py:677; edsm.py:740; */
|
||||
/* edsm.py: EDSM Plugin - Error connecting to EDSM API; In files: edsm.py:658; edsm.py:720; load.py:663; load.py:725; edsm.py:784; edsm.py:870; */
|
||||
"Error: Can't connect to EDSM" = "Erreur : Connexion impossible à EDSM";
|
||||
|
||||
/* inara.py: Checkbox to enable INARA API Usage; In files: inara.py:216; */
|
||||
/* inara.py: Checkbox to enable INARA API Usage; In files: inara.py:215; load.py:215; inara.py:222; */
|
||||
"Send flight log and Cmdr status to Inara" = "Envoyer le journal de vol et le statut Cmdr à Inara";
|
||||
|
||||
/* inara.py: Text for INARA API keys link ( goes to https://inara.cz/settings-api ); In files: inara.py:228; */
|
||||
/* inara.py: Text for INARA API keys link ( goes to https://inara.cz/settings-api ); In files: inara.py:225; load.py:225; inara.py:234; */
|
||||
"Inara credentials" = "Informations d'identification pour Inara";
|
||||
|
||||
|
||||
/* Raised when the Companion API server thinks that the user has not purchased E:D. i.e. doesn't have the correct 'SKU'. [companion.py] */
|
||||
"Error: Frontier server SKU problem" = "Erreur : Le serveur Frontier a un problème de SKU";
|
||||
/* inara.py: INARA API returned some kind of error (error message will be contained in {MSG}); In files: inara.py:1549; inara.py:1562; */
|
||||
/* inara.py: INARA API returned some kind of error (error message will be contained in {MSG}); In files: inara.py:1316; inara.py:1328; load.py:1319; load.py:1331; inara.py:1587; inara.py:1600; */
|
||||
"Error: Inara {MSG}" = "Erreur : Inara {MSG}";
|
||||
|
||||
/* prefs.py: File > Preferences menu entry for macOS; In files: prefs.py:250; */
|
||||
/* ttkHyperlinkLabel.py: Label for 'Copy' as in 'Copy and Paste'; EDMarketConnector.py: Label for 'Copy' as in 'Copy and Paste'; In files: ttkHyperlinkLabel.py:42; EDMarketConnector.py:866; */
|
||||
"Copy" = "Copier";
|
||||
|
||||
/* EDMarketConnector.py: Update button in main window; In files: EDMarketConnector.py:529; EDMarketConnector.py:828; EDMarketConnector.py:1520; */
|
||||
"Update" = "Mettre à jour";
|
||||
|
||||
/* EDMarketConnector.py: Appearance - Label for checkbox to select if application always on top; prefs.py: Appearance - Label for checkbox to select if application always on top; In files: EDMarketConnector.py:612; prefs.py:867; */
|
||||
"Always on top" = "Toujours visible";
|
||||
|
||||
/* EDMarketConnector.py: 'Ship' or multi-crew role label in main window, as applicable; EDMarketConnector.py: Multicrew role label in main window; In files: EDMarketConnector.py:824; EDMarketConnector.py:1279; */
|
||||
"Role" = "Rôle";
|
||||
|
||||
/* EDMarketConnector.py: 'Ship' or multi-crew role label in main window, as applicable; EDMarketConnector.py: 'Ship' label in main UI; stats.py: Status dialog subtitle; In files: EDMarketConnector.py:824; EDMarketConnector.py:1289; EDMarketConnector.py:1312; stats.py:409; */
|
||||
"Ship" = "Vaisseau";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'Suit' line in main UI; In files: EDMarketConnector.py:825; */
|
||||
"Suit" = "Combinaison";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'System' line in main UI; prefs.py: Configuration - Label for selection of 'System' provider website; stats.py: Main window; In files: EDMarketConnector.py:826; prefs.py:607; stats.py:411; */
|
||||
"System" = "Système";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'Station' line in main UI; prefs.py: Configuration - Label for selection of 'Station' provider website; prefs.py: Appearance - Example 'Normal' text; stats.py: Status dialog subtitle; In files: EDMarketConnector.py:827; prefs.py:625; prefs.py:762; stats.py:412; */
|
||||
"Station" = "Station";
|
||||
|
||||
/* EDMarketConnector.py: 'File' menu title on OSX; EDMarketConnector.py: 'File' menu title; EDMarketConnector.py: 'File' menu; In files: EDMarketConnector.py:830; EDMarketConnector.py:845; EDMarketConnector.py:848; EDMarketConnector.py:2019; */
|
||||
"File" = "Fichier";
|
||||
|
||||
/* EDMarketConnector.py: 'Edit' menu title on OSX; EDMarketConnector.py: 'Edit' menu title; In files: EDMarketConnector.py:831; EDMarketConnector.py:846; EDMarketConnector.py:849; */
|
||||
"Edit" = "Édition";
|
||||
|
||||
/* EDMarketConnector.py: 'View' menu title on OSX; In files: EDMarketConnector.py:832; */
|
||||
"View" = "Présentation";
|
||||
|
||||
/* EDMarketConnector.py: 'Window' menu title on OSX; In files: EDMarketConnector.py:833; */
|
||||
"Window" = "Fenêtre";
|
||||
|
||||
/* EDMarketConnector.py: Help' menu title on OSX; EDMarketConnector.py: 'Help' menu title; In files: EDMarketConnector.py:834; EDMarketConnector.py:847; EDMarketConnector.py:850; */
|
||||
"Help" = "Aide";
|
||||
|
||||
/* EDMarketConnector.py: App menu entry on OSX; EDMarketConnector.py: Help > About App; In files: EDMarketConnector.py:837; EDMarketConnector.py:863; EDMarketConnector.py:1566; */
|
||||
"About {APP}" = "À propos de {APP}";
|
||||
|
||||
/* EDMarketConnector.py: Help > Check for Updates...; In files: EDMarketConnector.py:839; EDMarketConnector.py:862; */
|
||||
"Check for Updates..." = "Chercher une mise à jour...";
|
||||
|
||||
/* EDMarketConnector.py: File > Save Raw Data...; In files: EDMarketConnector.py:840; EDMarketConnector.py:854; */
|
||||
"Save Raw Data..." = "Sauvegarder les Données Brutes...";
|
||||
|
||||
/* EDMarketConnector.py: File > Status; stats.py: Status dialog title; In files: EDMarketConnector.py:841; EDMarketConnector.py:853; stats.py:406; */
|
||||
"Status" = "État";
|
||||
|
||||
/* EDMarketConnector.py: Help > Privacy Policy; In files: EDMarketConnector.py:842; EDMarketConnector.py:860; */
|
||||
"Privacy Policy" = "Politique de Confidentialité";
|
||||
|
||||
/* EDMarketConnector.py: Help > Release Notes; In files: EDMarketConnector.py:843; EDMarketConnector.py:861; EDMarketConnector.py:1600; */
|
||||
"Release Notes" = "Notes de publication";
|
||||
|
||||
/* EDMarketConnector.py: File > Settings; prefs.py: File > Settings (macOS); In files: EDMarketConnector.py:855; EDMarketConnector.py:2020; prefs.py:255; */
|
||||
"Settings" = "Paramètres";
|
||||
|
||||
/* EDMarketConnector.py: File > Exit; In files: EDMarketConnector.py:856; */
|
||||
"Exit" = "Quitter";
|
||||
|
||||
/* EDMarketConnector.py: Help > Documentation; In files: EDMarketConnector.py:859; */
|
||||
"Documentation" = "Documentation";
|
||||
|
||||
/* EDMarketConnector.py: Status - Attempting to get a Frontier Auth Access Token; In files: EDMarketConnector.py:872; */
|
||||
"Logging in..." = "Connexion en cours...";
|
||||
|
||||
/* EDMarketConnector.py: Successfully authenticated with the Frontier website; In files: EDMarketConnector.py:888; EDMarketConnector.py:1431; */
|
||||
"Authentication successful" = "Authentification réussie";
|
||||
|
||||
/* EDMarketConnector.py: Player is not docked at a station, when we expect them to be; In files: EDMarketConnector.py:919; */
|
||||
"You're not docked at a station!" = "Vous n'êtes pas amarré à une station !";
|
||||
|
||||
/* EDMarketConnector.py: Status - Either no market or no modules data for station from Frontier CAPI; In files: EDMarketConnector.py:927; */
|
||||
"Station doesn't have anything!" = "La station n'a rien du tout !";
|
||||
|
||||
/* EDMarketConnector.py: Status - No station market data from Frontier CAPI; In files: EDMarketConnector.py:932; */
|
||||
"Station doesn't have a market!" = "La station n'a pas de marché !";
|
||||
|
||||
/* EDMarketConnector.py: Status - Attempting to retrieve data from Frontier CAPI; In files: EDMarketConnector.py:1006; */
|
||||
"Fetching data..." = "Récupération des données...";
|
||||
|
||||
/* EDMarketConnector.py: We didn't have the commander name when we should have; stats.py: Unknown commander; In files: EDMarketConnector.py:1051; stats.py:335; */
|
||||
"Who are you?!" = "Qui êtes-vous ?";
|
||||
|
||||
/* EDMarketConnector.py: We don't know where the commander is, when we should; stats.py: Unknown location; In files: EDMarketConnector.py:1057; stats.py:345; */
|
||||
"Where are you?!" = "Où êtes-vous ?";
|
||||
|
||||
/* EDMarketConnector.py: We don't know what ship the commander is in, when we should; stats.py: Unknown ship; In files: EDMarketConnector.py:1064; stats.py:353; */
|
||||
"What are you flying?!" = "Avec quoi volez-vous ?";
|
||||
|
||||
/* EDMarketConnector.py: Time when we last obtained Frontier CAPI data; In files: EDMarketConnector.py:1226; */
|
||||
"Last updated at %H:%M:%S" = "Dernière mise à jour à %H:%M:%S";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1254; */
|
||||
"Fighter" = "Chasseur";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1255; */
|
||||
"Gunner" = "Artilleur";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1256; */
|
||||
"Helm" = "Pilote";
|
||||
|
||||
/* EDMarketConnector.py: Cooldown on 'Update' button; In files: EDMarketConnector.py:1514; */
|
||||
"cooldown {SS}s" = "Temps de recharge {SS}s";
|
||||
|
||||
/* EDMarketConnector.py: Generic 'OK' button label; prefs.py: 'OK' button on Settings/Preferences window; In files: EDMarketConnector.py:1626; prefs.py:306; */
|
||||
"OK" = "OK";
|
||||
|
||||
/* EDMarketConnector.py: Popup-text about 'active' plugins without Python 3.x support; In files: EDMarketConnector.py:2008:2014; */
|
||||
"One or more of your enabled plugins do not yet have support for Python 3.x. Please see the list on the '{PLUGINS}' tab of '{FILE}' > '{SETTINGS}'. You should check if there is an updated version available, else alert the developer that they need to update the code for Python 3.x.\r\n\r\nYou can disable a plugin by renaming its folder to have '{DISABLED}' on the end of the name." = "Un ou plusieurs de vos plugins activés ne sont pas encore compatibles avec Python 3.x. Regardez la liste sur l'onglet '{PLUGINS}' de '{FILE}' > '{SETTINGS}'. Vous devriez vérifier s'il y a une version mise à jour, sinon alertez le développeur qu'il doit mettre à jour le code pour Python 3.x.\n\nVous pouvez désactiver un plugin en renommant son dossier pour qu'il ait '{DISABLED}' à la fin du nom.";
|
||||
|
||||
/* EDMarketConnector.py: Settings > Plugins tab; prefs.py: Label on Settings > Plugins tab; In files: EDMarketConnector.py:2018; prefs.py:978; */
|
||||
"Plugins" = "Plugins";
|
||||
|
||||
/* EDMarketConnector.py: Popup window title for list of 'enabled' plugins that don't work with Python 3.x; In files: EDMarketConnector.py:2029; */
|
||||
"EDMC: Plugins Without Python 3.x Support" = "EDMC: Plugins non compatibles avec Python 3.x";
|
||||
|
||||
/* companion.py: Frontier CAPI data doesn't agree with latest Journal game location; In files: companion.py:237; */
|
||||
"Error: Frontier server is lagging" = "Erreur : Le serveur Frontier ne répond pas";
|
||||
|
||||
/* companion.py: Generic "something went wrong with Frontier Auth" error; In files: companion.py:263; */
|
||||
"Error: Invalid Credentials" = "Erreur : Identifiants invalides";
|
||||
|
||||
/* companion.py: Frontier CAPI authorisation not for currently game-active commander; In files: companion.py:288; */
|
||||
"Error: Wrong Cmdr" = "Erreur : Cmdr incorrect";
|
||||
|
||||
/* l10n.py: The system default language choice in Settings > Appearance; prefs.py: Settings > Configuration - Label on 'reset journal files location to default' button; prefs.py: The system default language choice in Settings > Appearance; prefs.py: Label for 'Default' theme radio button; In files: l10n.py:194; prefs.py:468; prefs.py:702; prefs.py:735; */
|
||||
"Default" = "Par défaut";
|
||||
|
||||
/* prefs.py: File > Preferences menu entry for macOS; In files: prefs.py:251; */
|
||||
"Preferences" = "Préférences";
|
||||
|
||||
/* prefs.py: Settings > Output - choosing what data to save to files; In files: prefs.py:346; */
|
||||
/* prefs.py: Settings > Output - choosing what data to save to files; In files: prefs.py:348; */
|
||||
"Please choose what data to save" = "Veuillez choisir les données à sauvegarder";
|
||||
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:352; */
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:354; */
|
||||
"Market data in CSV format file" = "Données du marché au format CSV";
|
||||
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:361; */
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:363; */
|
||||
"Market data in Trade Dangerous format file" = "Données du marché au format Trade Dangerous";
|
||||
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:371; */
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:373; */
|
||||
"Ship loadout" = "Équipements du vaisseau";
|
||||
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:381; */
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:383; */
|
||||
"Automatically update on docking" = "Mettre à jour automatiquement à l'amarrage";
|
||||
|
||||
/* prefs.py: Settings > Output - Label for "where files are located"; In files: prefs.py:390; prefs.py:409; */
|
||||
/* prefs.py: Settings > Output - Label for "where files are located"; In files: prefs.py:392; prefs.py:411; */
|
||||
"File location" = "Emplacement des fichiers";
|
||||
|
||||
/* prefs.py: macOS Preferences - files location selection button; In files: prefs.py:398; prefs.py:448; */
|
||||
/* prefs.py: macOS Preferences - files location selection button; In files: prefs.py:400; prefs.py:450; */
|
||||
"Change..." = "Spécifier...";
|
||||
|
||||
/* prefs.py: NOT-macOS Settings - files location selection button; prefs.py: NOT-macOS Setting - files location selection button; In files: prefs.py:401; prefs.py:451; */
|
||||
/* prefs.py: NOT-macOS Settings - files location selection button; prefs.py: NOT-macOS Setting - files location selection button; In files: prefs.py:403; prefs.py:453; */
|
||||
"Browse..." = "Parcourir...";
|
||||
|
||||
/* prefs.py: Label for 'Output' Settings/Preferences tab; In files: prefs.py:416; */
|
||||
/* prefs.py: Label for 'Output' Settings/Preferences tab; In files: prefs.py:418; */
|
||||
"Output" = "Sorties";
|
||||
|
||||
/* prefs.py: Settings > Configuration - Label for Journal files location; In files: prefs.py:442; prefs.py:457; */
|
||||
/* prefs.py: Settings > Configuration - Label for Journal files location; In files: prefs.py:444; prefs.py:459; */
|
||||
"E:D journal file location" = "Emplacement du journal E:D";
|
||||
|
||||
/* prefs.py: Hotkey/Shortcut settings prompt on OSX; In files: prefs.py:482; */
|
||||
/* prefs.py: Hotkey/Shortcut settings prompt on OSX; In files: prefs.py:484; */
|
||||
"Keyboard shortcut" = "Raccourci clavier";
|
||||
|
||||
/* prefs.py: Hotkey/Shortcut settings prompt on Windows; In files: prefs.py:484; */
|
||||
/* prefs.py: Hotkey/Shortcut settings prompt on Windows; In files: prefs.py:486; */
|
||||
"Hotkey" = "Raccourci clavier";
|
||||
|
||||
/* prefs.py: macOS Preferences > Configuration - restart the app message; In files: prefs.py:493; */
|
||||
/* prefs.py: macOS Preferences > Configuration - restart the app message; In files: prefs.py:495; */
|
||||
"Re-start {APP} to use shortcuts" = "Rédémarrez {APP} pour utiliser les raccourcis";
|
||||
|
||||
/* prefs.py: macOS - Configuration - need to grant the app permission for keyboard shortcuts; In files: prefs.py:502; */
|
||||
/* prefs.py: macOS - Configuration - need to grant the app permission for keyboard shortcuts; In files: prefs.py:504; */
|
||||
"{APP} needs permission to use shortcuts" = "{APP} a besoin de permissions pour utiliser les raccourcis";
|
||||
|
||||
/* prefs.py: Shortcut settings button on OSX; In files: prefs.py:507; */
|
||||
/* prefs.py: Shortcut settings button on OSX; In files: prefs.py:509; */
|
||||
"Open System Preferences" = "Ouvrir Préférences Système";
|
||||
|
||||
/* prefs.py: Configuration - Act on hotkey only when ED is in foreground; In files: prefs.py:529; */
|
||||
/* prefs.py: Configuration - Act on hotkey only when ED is in foreground; In files: prefs.py:531; */
|
||||
"Only when Elite: Dangerous is the active app" = "Seulement quand Elite: Dangerous est l'application active";
|
||||
|
||||
/* prefs.py: Configuration - play sound when hotkey used; In files: prefs.py:540; */
|
||||
/* prefs.py: Configuration - play sound when hotkey used; In files: prefs.py:542; */
|
||||
"Play sound" = "Jouer un son";
|
||||
|
||||
/* prefs.py: Configuration - disable checks for app updates when in-game; In files: prefs.py:555; */
|
||||
/* prefs.py: Configuration - disable checks for app updates when in-game; In files: prefs.py:557; */
|
||||
"Disable Automatic Application Updates Check when in-game" = "Désactiver la vérification automatique des mises à jour quand vous êtes en jeu";
|
||||
|
||||
/* prefs.py: Label for preferred shipyard, system and station 'providers'; In files: prefs.py:568; */
|
||||
/* prefs.py: Label for preferred shipyard, system and station 'providers'; In files: prefs.py:570; */
|
||||
"Preferred websites" = "Sites préférés";
|
||||
|
||||
/* prefs.py: Label for Shipyard provider selection; In files: prefs.py:579; */
|
||||
/* prefs.py: Label for Shipyard provider selection; In files: prefs.py:581; */
|
||||
"Shipyard" = "Chantier naval";
|
||||
|
||||
/* prefs.py: Label for 'Configuration' tab in Settings; In files: prefs.py:672; */
|
||||
/* prefs.py: Label for 'Configuration' tab in Settings; In files: prefs.py:674; */
|
||||
"Configuration" = "Configuration";
|
||||
|
||||
/* prefs.py: Label for Settings > Appeareance > selection of 'normal' text colour; In files: prefs.py:685; */
|
||||
/* prefs.py: Preferences privacy tab title; In files: prefs.py:696; */
|
||||
"Privacy" = "Confidentialité";
|
||||
|
||||
/* prefs.py: Label for Settings > Appeareance > selection of 'normal' text colour; In files: prefs.py:709; */
|
||||
"Normal text" = "Texte normal";
|
||||
|
||||
/* prefs.py: Label for Settings > Appeareance > selection of 'highlightes' text colour; In files: prefs.py:687; */
|
||||
/* prefs.py: Label for Settings > Appeareance > selection of 'highlightes' text colour; In files: prefs.py:711; */
|
||||
"Highlighted text" = "Texte en surbrillance";
|
||||
|
||||
/* prefs.py: Appearance - Label for selection of application display language; In files: prefs.py:696; */
|
||||
/* prefs.py: Appearance - Label for selection of application display language; In files: prefs.py:720; */
|
||||
"Language" = "Langue";
|
||||
|
||||
/* prefs.py: Label for Settings > Appearance > Theme selection; In files: prefs.py:706; */
|
||||
/* prefs.py: Label for Settings > Appearance > Theme selection; In files: prefs.py:730; */
|
||||
"Theme" = "Thème";
|
||||
|
||||
/* prefs.py: Label for 'Dark' theme radio button; In files: prefs.py:717; */
|
||||
/* prefs.py: Label for 'Dark' theme radio button; In files: prefs.py:741; */
|
||||
"Dark" = "Foncé";
|
||||
|
||||
/* prefs.py: Label for 'Transparent' theme radio button; In files: prefs.py:724; */
|
||||
/* prefs.py: Label for 'Transparent' theme radio button; In files: prefs.py:748; */
|
||||
"Transparent" = "Transparent";
|
||||
|
||||
/* prefs.py: Label for Settings > Appearance tab; In files: prefs.py:860; */
|
||||
/* prefs.py: Label for Settings > Appearance tab; In files: prefs.py:885; */
|
||||
"Appearance" = "Apparence";
|
||||
|
||||
/* prefs.py: Label for location of third-party plugins folder; In files: prefs.py:875; */
|
||||
/* prefs.py: Label for location of third-party plugins folder; In files: prefs.py:900; */
|
||||
"Plugins folder" = "Répertoire des plugins";
|
||||
|
||||
/* prefs.py: Label on button used to open a filesystem folder; In files: prefs.py:882; */
|
||||
/* prefs.py: Label on button used to open a filesystem folder; In files: prefs.py:907; */
|
||||
"Open" = "Ouvrir";
|
||||
|
||||
/* prefs.py: Tip/label about how to disable plugins; In files: prefs.py:890; */
|
||||
/* prefs.py: Tip/label about how to disable plugins; In files: prefs.py:915; */
|
||||
"Tip: You can disable a plugin by{CR}adding '{EXT}' to its folder name" = "Astuce : Vous pouvez désactiver un plugin en{CR}ajoutant '{EXT}' à son nom de répertoire";
|
||||
|
||||
/* prefs.py: Label on list of enabled plugins; In files: prefs.py:901; */
|
||||
/* prefs.py: Label on list of enabled plugins; In files: prefs.py:926; */
|
||||
"Enabled Plugins" = "Plugins activés";
|
||||
|
||||
/* prefs.py: Plugins - Label on URL to documentation about migrating plugins from Python 2.7; In files: prefs.py:929; */
|
||||
/* prefs.py: Plugins - Label on URL to documentation about migrating plugins from Python 2.7; In files: prefs.py:954; */
|
||||
"Information on migrating plugins" = "Informations sur la migration des plugins";
|
||||
|
||||
/* prefs.py: Lable on list of user-disabled plugins; In files: prefs.py:944; */
|
||||
/* prefs.py: Lable on list of user-disabled plugins; In files: prefs.py:969; */
|
||||
"Disabled Plugins" = "Plugins désactivés";
|
||||
|
||||
/* stats.py: Cmdr stats; In files: stats.py:51; */
|
||||
/* stats.py: Cmdr stats; In files: stats.py:60; */
|
||||
"Balance" = "Solde";
|
||||
|
||||
/* stats.py: Cmdr stats; In files: stats.py:52; */
|
||||
/* stats.py: Cmdr stats; In files: stats.py:61; */
|
||||
"Loan" = "Emprunt";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:57; */
|
||||
"Combat" = "Combattant";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:58; */
|
||||
"Trade" = "Commerçant";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:59; */
|
||||
"Explorer" = "Explorateur";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:60; */
|
||||
"CQC" = "CQC";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:61; */
|
||||
"Federation" = "Fédération";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:62; */
|
||||
"Empire" = "Empire";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:63; */
|
||||
"Powerplay" = "Powerplay";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:71; */
|
||||
"Harmless" = "Inoffensif";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:72; */
|
||||
"Mostly Harmless" = "Bleu";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:73; */
|
||||
"Novice" = "Novice";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:74; */
|
||||
"Competent" = "Compétent";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:75; */
|
||||
"Expert" = "Expert";
|
||||
|
||||
/* stats.py: Combat rank; stats.py: Empire rank; In files: stats.py:76; stats.py:139; */
|
||||
"Master" = "Vilain";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:77; */
|
||||
"Dangerous" = "Vétéran";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:78; */
|
||||
"Deadly" = "Létal";
|
||||
|
||||
/* stats.py: Top rank; In files: stats.py:79; stats.py:90; stats.py:101; stats.py:112; */
|
||||
/* stats.py: Top rank; In files: stats.py:65; */
|
||||
"Elite" = "Élite";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:82; */
|
||||
/* stats.py: Ranking; In files: stats.py:76; */
|
||||
"Combat" = "Combattant";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:77; */
|
||||
"Trade" = "Commerçant";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:78; */
|
||||
"Explorer" = "Explorateur";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:81; */
|
||||
"CQC" = "CQC";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:82; */
|
||||
"Federation" = "Fédération";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:83; */
|
||||
"Empire" = "Empire";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:84; */
|
||||
"Powerplay" = "Powerplay";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:93; */
|
||||
"Harmless" = "Inoffensif";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:94; */
|
||||
"Mostly Harmless" = "Bleu";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:95; */
|
||||
"Novice" = "Novice";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:96; */
|
||||
"Competent" = "Compétent";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:97; */
|
||||
"Expert" = "Expert";
|
||||
|
||||
/* stats.py: Combat rank; stats.py: Empire rank; In files: stats.py:98; stats.py:178; */
|
||||
"Master" = "Vilain";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:99; */
|
||||
"Dangerous" = "Vétéran";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:100; */
|
||||
"Deadly" = "Létal";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:103; */
|
||||
"Penniless" = "Sans-le-sou";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:83; */
|
||||
/* stats.py: Trade rank; In files: stats.py:104; */
|
||||
"Mostly Penniless" = "Mendiant";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:84; */
|
||||
/* stats.py: Trade rank; In files: stats.py:105; */
|
||||
"Peddler" = "Boutiquier";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:85; */
|
||||
/* stats.py: Trade rank; In files: stats.py:106; */
|
||||
"Dealer" = "Revendeur";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:86; */
|
||||
/* stats.py: Trade rank; In files: stats.py:107; */
|
||||
"Merchant" = "Marchand";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:87; */
|
||||
/* stats.py: Trade rank; In files: stats.py:108; */
|
||||
"Broker" = "Courtier";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:88; */
|
||||
/* stats.py: Trade rank; In files: stats.py:109; */
|
||||
"Entrepreneur" = "Entrepreneur";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:89; */
|
||||
/* stats.py: Trade rank; In files: stats.py:110; */
|
||||
"Tycoon" = "Magnat";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:93; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:113; */
|
||||
"Aimless" = "Vagabond";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:94; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:114; */
|
||||
"Mostly Aimless" = "Touriste";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:95; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:115; */
|
||||
"Scout" = "Voyageur";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:96; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:116; */
|
||||
"Surveyor" = "Éclaireur";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:97; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:117; */
|
||||
"Trailblazer" = "Prospecteur";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:98; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:118; */
|
||||
"Pathfinder" = "Découvreur";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:99; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:119; */
|
||||
"Ranger" = "Navigateur";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:100; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:120; */
|
||||
"Pioneer" = "Pionnier";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:104; */
|
||||
/* stats.py: CQC rank; In files: stats.py:144; */
|
||||
"Helpless" = "Helpless";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:105; */
|
||||
/* stats.py: CQC rank; In files: stats.py:145; */
|
||||
"Mostly Helpless" = "Mostly Helpless";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:106; */
|
||||
/* stats.py: CQC rank; In files: stats.py:146; */
|
||||
"Amateur" = "Amateur";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:107; */
|
||||
/* stats.py: CQC rank; In files: stats.py:147; */
|
||||
"Semi Professional" = "Semi Professional";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:108; */
|
||||
/* stats.py: CQC rank; In files: stats.py:148; */
|
||||
"Professional" = "Professional";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:109; */
|
||||
/* stats.py: CQC rank; In files: stats.py:149; */
|
||||
"Champion" = "Champion";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:110; */
|
||||
/* stats.py: CQC rank; In files: stats.py:150; */
|
||||
"Hero" = "Hero";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:111; */
|
||||
/* stats.py: CQC rank; In files: stats.py:151; */
|
||||
"Gladiator" = "Gladiator";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:118; */
|
||||
/* stats.py: Federation rank; In files: stats.py:157; */
|
||||
"Recruit" = "Recrue";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:119; */
|
||||
/* stats.py: Federation rank; In files: stats.py:158; */
|
||||
"Cadet" = "Cadet";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:120; */
|
||||
/* stats.py: Federation rank; In files: stats.py:159; */
|
||||
"Midshipman" = "Matelot";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:121; */
|
||||
/* stats.py: Federation rank; In files: stats.py:160; */
|
||||
"Petty Officer" = "Second Maître";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:122; */
|
||||
/* stats.py: Federation rank; In files: stats.py:161; */
|
||||
"Chief Petty Officer" = "Premier Maître";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:123; */
|
||||
/* stats.py: Federation rank; In files: stats.py:162; */
|
||||
"Warrant Officer" = "Major";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:124; */
|
||||
/* stats.py: Federation rank; In files: stats.py:163; */
|
||||
"Ensign" = "Enseigne";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:125; */
|
||||
/* stats.py: Federation rank; In files: stats.py:164; */
|
||||
"Lieutenant" = "Lieutenant";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:126; */
|
||||
/* stats.py: Federation rank; In files: stats.py:165; */
|
||||
"Lieutenant Commander" = "Capitaine de Corvette";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:127; */
|
||||
/* stats.py: Federation rank; In files: stats.py:166; */
|
||||
"Post Commander" = "Capitaine de Frégate";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:128; */
|
||||
/* stats.py: Federation rank; In files: stats.py:167; */
|
||||
"Post Captain" = "Capitaine de Vaisseau";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:129; */
|
||||
/* stats.py: Federation rank; In files: stats.py:168; */
|
||||
"Rear Admiral" = "Contre-Amiral";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:130; */
|
||||
/* stats.py: Federation rank; In files: stats.py:169; */
|
||||
"Vice Admiral" = "Vice-Amiral";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:131; */
|
||||
/* stats.py: Federation rank; In files: stats.py:170; */
|
||||
"Admiral" = "Amiral";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:137; */
|
||||
/* stats.py: Empire rank; In files: stats.py:176; */
|
||||
"Outsider" = "Étranger";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:138; */
|
||||
/* stats.py: Empire rank; In files: stats.py:177; */
|
||||
"Serf" = "Serf";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:140; */
|
||||
/* stats.py: Empire rank; In files: stats.py:179; */
|
||||
"Squire" = "Écuyer";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:141; */
|
||||
/* stats.py: Empire rank; In files: stats.py:180; */
|
||||
"Knight" = "Chevalier";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:142; */
|
||||
/* stats.py: Empire rank; In files: stats.py:181; */
|
||||
"Lord" = "Banneret";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:143; */
|
||||
/* stats.py: Empire rank; In files: stats.py:182; */
|
||||
"Baron" = "Baron";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:144; */
|
||||
/* stats.py: Empire rank; In files: stats.py:183; */
|
||||
"Viscount" = "Vicomte";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:145; */
|
||||
/* stats.py: Empire rank; In files: stats.py:184; */
|
||||
"Count" = "Comte";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:146; */
|
||||
/* stats.py: Empire rank; In files: stats.py:185; */
|
||||
"Earl" = "Marquis";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:147; */
|
||||
/* stats.py: Empire rank; In files: stats.py:186; */
|
||||
"Marquis" = "Duc";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:148; */
|
||||
/* stats.py: Empire rank; In files: stats.py:187; */
|
||||
"Duke" = "Archiduc";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:149; */
|
||||
/* stats.py: Empire rank; In files: stats.py:188; */
|
||||
"Prince" = "Prince";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:150; */
|
||||
/* stats.py: Empire rank; In files: stats.py:189; */
|
||||
"King" = "Roi";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:156; */
|
||||
/* stats.py: Power rank; In files: stats.py:195; */
|
||||
"Rating 1" = "Rang 1";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:157; */
|
||||
/* stats.py: Power rank; In files: stats.py:196; */
|
||||
"Rating 2" = "Rang 2";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:158; */
|
||||
/* stats.py: Power rank; In files: stats.py:197; */
|
||||
"Rating 3" = "Rang 3";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:159; */
|
||||
/* stats.py: Power rank; In files: stats.py:198; */
|
||||
"Rating 4" = "Rang 4";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:160; */
|
||||
/* stats.py: Power rank; In files: stats.py:199; */
|
||||
"Rating 5" = "Rang 5";
|
||||
|
||||
/* stats.py: Status dialog subtitle - CR value of ship; In files: stats.py:367; */
|
||||
/* stats.py: Status dialog subtitle - CR value of ship; In files: stats.py:413; */
|
||||
"Value" = "Valeur";
|
||||
|
||||
/* stats.py: Status dialog title; In files: stats.py:376; */
|
||||
/* stats.py: Status dialog title; In files: stats.py:422; */
|
||||
"Ships" = "Vaisseaux";
|
||||
+283
-289
@@ -1,509 +1,503 @@
|
||||
/* Language name */
|
||||
"!Language" = "Magyar";
|
||||
|
||||
|
||||
/* OLD: Raised when cannot contact the Companion API server. [companion.py] */
|
||||
"Error: Frontier server is down" = "Hiba:Frontier szerver nem elérhető";
|
||||
/* companion.py: Frontier CAPI data doesn't agree with latest Journal game location; In files: companion.py:190; */
|
||||
"Error: Frontier server is lagging" = "Hiba:Frontier szerver laggol";
|
||||
|
||||
/* companion.py: Generic "something went wrong with Frontier Auth" error; In files: companion.py:214; */
|
||||
"Error: Invalid Credentials" = "Hiba:Érvénytelen hitelesítő adatok";
|
||||
|
||||
/* companion.py: Frontier CAPI authorisation not for currently game-active commander; In files: companion.py:230; */
|
||||
"Error: Wrong Cmdr" = "Hiba:Rossz parancsnok";
|
||||
|
||||
|
||||
/* [inara.py] */
|
||||
"Error: Can't connect to Inara" = "Hiba:Nem lehet kapcsolódni az Inarához";
|
||||
/* EDMarketConnector.py: Update button in main window; In files: EDMarketConnector.py:424; EDMarketConnector.py:718; EDMarketConnector.py:1302; */
|
||||
"Update" = "Frissítés";
|
||||
|
||||
/* EDMarketConnector.py: Appearance - Label for checkbox to select if application always on top; prefs.py: Appearance - Label for checkbox to select if application always on top; In files: EDMarketConnector.py:507; prefs.py:843; */
|
||||
"Always on top" = "Mindig felül";
|
||||
|
||||
/* EDMarketConnector.py: Label for commander name in main window; edsm.py: Game Commander name label in EDSM settings; stats.py: Cmdr stats; theme.py: Label for commander name in main window; In files: EDMarketConnector.py:712; edsm.py:219; stats.py:50; theme.py:227; */
|
||||
"Cmdr" = "Parancsnok";
|
||||
|
||||
/* EDMarketConnector.py: 'Ship' or multi-crew role label in main window, as applicable; EDMarketConnector.py: Multicrew role label in main window; In files: EDMarketConnector.py:714; EDMarketConnector.py:1072; */
|
||||
"Role" = "Szerep";
|
||||
|
||||
/* EDMarketConnector.py: 'Ship' or multi-crew role label in main window, as applicable; EDMarketConnector.py: 'Ship' label in main UI; stats.py: Status dialog subtitle; In files: EDMarketConnector.py:714; EDMarketConnector.py:1082; EDMarketConnector.py:1105; stats.py:363; */
|
||||
"Ship" = "Hajó";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'System' line in main UI; prefs.py: Configuration - Label for selection of 'System' provider website; stats.py: Main window; In files: EDMarketConnector.py:716; prefs.py:605; stats.py:365; */
|
||||
"System" = "Rendszer";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'Station' line in main UI; prefs.py: Configuration - Label for selection of 'Station' provider website; prefs.py: Appearance - Example 'Normal' text; stats.py: Status dialog subtitle; In files: EDMarketConnector.py:717; prefs.py:623; prefs.py:738; stats.py:366; */
|
||||
"Station" = "Állomás";
|
||||
|
||||
/* EDMarketConnector.py: 'File' menu title on OSX; EDMarketConnector.py: 'File' menu title; EDMarketConnector.py: 'File' menu; In files: EDMarketConnector.py:720; EDMarketConnector.py:735; EDMarketConnector.py:738; EDMarketConnector.py:1791; */
|
||||
"File" = "Fájl";
|
||||
|
||||
/* EDMarketConnector.py: 'Edit' menu title on OSX; EDMarketConnector.py: 'Edit' menu title; In files: EDMarketConnector.py:721; EDMarketConnector.py:736; EDMarketConnector.py:739; */
|
||||
"Edit" = "Szerkeszt";
|
||||
|
||||
/* EDMarketConnector.py: 'View' menu title on OSX; In files: EDMarketConnector.py:722; */
|
||||
"View" = "Nézet";
|
||||
|
||||
/* EDMarketConnector.py: 'Window' menu title on OSX; In files: EDMarketConnector.py:723; */
|
||||
"Window" = "Ablak";
|
||||
|
||||
/* EDMarketConnector.py: Help' menu title on OSX; EDMarketConnector.py: 'Help' menu title; In files: EDMarketConnector.py:724; EDMarketConnector.py:737; EDMarketConnector.py:740; */
|
||||
"Help" = "Segítség";
|
||||
|
||||
/* EDMarketConnector.py: App menu entry on OSX; EDMarketConnector.py: Help > About App; In files: EDMarketConnector.py:727; EDMarketConnector.py:753; EDMarketConnector.py:1347; */
|
||||
"About {APP}" = "Az {APP} névjegye";
|
||||
|
||||
/* EDMarketConnector.py: Help > Check for Updates...; In files: EDMarketConnector.py:729; EDMarketConnector.py:752; */
|
||||
"Check for Updates..." = "Frissítések keresése";
|
||||
|
||||
/* EDMarketConnector.py: File > Save Raw Data...; In files: EDMarketConnector.py:730; EDMarketConnector.py:744; */
|
||||
"Save Raw Data..." = "Nyers adat elmentése";
|
||||
|
||||
/* EDMarketConnector.py: File > Status; stats.py: Status dialog title; In files: EDMarketConnector.py:731; EDMarketConnector.py:743; stats.py:360; */
|
||||
"Status" = "Státusz";
|
||||
|
||||
/* EDMarketConnector.py: Help > Privacy Policy; In files: EDMarketConnector.py:732; EDMarketConnector.py:750; */
|
||||
"Privacy Policy" = "Adatvédelmi irányelvek";
|
||||
|
||||
/* EDMarketConnector.py: Help > Release Notes; In files: EDMarketConnector.py:733; EDMarketConnector.py:751; EDMarketConnector.py:1381; */
|
||||
"Release Notes" = "Kiadási megjegyzések";
|
||||
|
||||
/* EDMarketConnector.py: File > Settings; prefs.py: File > Settings (macOS); In files: EDMarketConnector.py:745; EDMarketConnector.py:1792; prefs.py:254; */
|
||||
"Settings" = "Beállítások";
|
||||
|
||||
/* EDMarketConnector.py: File > Exit; In files: EDMarketConnector.py:746; */
|
||||
"Exit" = "Kilépés";
|
||||
|
||||
/* EDMarketConnector.py: Help > Documentation; In files: EDMarketConnector.py:749; */
|
||||
"Documentation" = "Dokumentáció";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'Copy' as in 'Copy and Paste'; ttkHyperlinkLabel.py: Label for 'Copy' as in 'Copy and Paste'; In files: EDMarketConnector.py:756; ttkHyperlinkLabel.py:42; */
|
||||
"Copy" = "Másol";
|
||||
|
||||
/* EDMarketConnector.py: Status - Attempting to get a Frontier Auth Access Token; In files: EDMarketConnector.py:762; */
|
||||
"Logging in..." = "Bejelentkezés";
|
||||
|
||||
/* EDMarketConnector.py: Successfully authenticated with the Frontier website; In files: EDMarketConnector.py:778; EDMarketConnector.py:1215; */
|
||||
"Authentication successful" = "A hitelesítés sikerült";
|
||||
|
||||
/* EDMarketConnector.py: Player is not docked at a station, when we expect them to be; In files: EDMarketConnector.py:809; */
|
||||
"You're not docked at a station!" = " Nem dokkoltál az állomáson";
|
||||
|
||||
/* EDMarketConnector.py: Status - Either no market or no modules data for station from Frontier CAPI; In files: EDMarketConnector.py:817; */
|
||||
"Station doesn't have anything!" = "Az állomáson nincs semmi!";
|
||||
|
||||
/* EDMarketConnector.py: Status - No station market data from Frontier CAPI; In files: EDMarketConnector.py:822; */
|
||||
"Station doesn't have a market!" = "Nincs piac az állomáson!";
|
||||
|
||||
/* EDMarketConnector.py: Status - Attempting to retrieve data from Frontier CAPI; EDMarketConnector.py: Status - Attempting to retrieve data from Frontier CAPI to save to file; stats.py: Fetching data from Frontier CAPI in order to display on File > Status; In files: EDMarketConnector.py:867; EDMarketConnector.py:1428; stats.py:279; */
|
||||
"Fetching data..." = "Adatok lekérése";
|
||||
|
||||
/* EDMarketConnector.py: We didn't have the commander name when we should have; stats.py: Unknown commander; In files: EDMarketConnector.py:884; stats.py:297; */
|
||||
"Who are you?!" = "Ki vagy?";
|
||||
|
||||
/* EDMarketConnector.py: We don't know where the commander is, when we should; stats.py: Unknown location; In files: EDMarketConnector.py:890; stats.py:307; */
|
||||
"Where are you?!" = "Hol vagy?";
|
||||
|
||||
/* EDMarketConnector.py: We don't know what ship the commander is in, when we should; stats.py: Unknown ship; In files: EDMarketConnector.py:894; stats.py:312; */
|
||||
"What are you flying?!" = "Mivel repülsz?";
|
||||
|
||||
/* EDMarketConnector.py: Time when we last obtained Frontier CAPI data; In files: EDMarketConnector.py:1026; */
|
||||
"Last updated at %H:%M:%S" = "Utoljára frissítve %H:%M:%S";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1052; */
|
||||
"Fighter" = "Vadászgép";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1053; */
|
||||
"Gunner" = "Lövész";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1054; */
|
||||
"Helm" = "Kormányos";
|
||||
|
||||
/* EDMarketConnector.py: Cooldown on 'Update' button; In files: EDMarketConnector.py:1298; */
|
||||
"cooldown {SS}s" = "Lehűl {SS} másodperc";
|
||||
|
||||
/* EDMarketConnector.py: Generic 'OK' button label; prefs.py: 'OK' button on Settings/Preferences window; In files: EDMarketConnector.py:1407; prefs.py:304; */
|
||||
"OK" = "Ok";
|
||||
|
||||
/* EDMarketConnector.py: Settings > Plugins tab; prefs.py: Label on Settings > Plugins tab; In files: EDMarketConnector.py:1790; prefs.py:953; */
|
||||
"Plugins" = "Pluginok";
|
||||
|
||||
/* l10n.py: The system default language choice in Settings > Appearance; prefs.py: Settings > Configuration - Label on 'reset journal files location to default' button; prefs.py: The system default language choice in Settings > Appearance; prefs.py: Label for 'Default' theme radio button; In files: l10n.py:194; prefs.py:466; prefs.py:678; prefs.py:711; */
|
||||
"Default" = "Alap";
|
||||
|
||||
/* eddn.py: Status text shown while attempting to send data; In files: eddn.py:215; eddn.py:619; eddn.py:969; */
|
||||
/* eddn.py: Status text shown while attempting to send data; In files: eddn.py:212; eddn.py:584; eddn.py:925; load.py:215; load.py:593; load.py:940; eddn.py:252; eddn.py:699; eddn.py:1439; */
|
||||
"Sending data to EDDN..." = "Adatok küldése az EDDN-nek...";
|
||||
|
||||
/* eddn.py: Error while trying to send data to EDDN; In files: eddn.py:264; eddn.py:907; eddn.py:942; eddn.py:981; */
|
||||
/* eddn.py: Error while trying to send data to EDDN; In files: eddn.py:257; eddn.py:864; eddn.py:898; eddn.py:937; load.py:260; load.py:878; load.py:913; load.py:952; eddn.py:316; eddn.py:1375; eddn.py:1410; eddn.py:1451; */
|
||||
"Error: Can't connect to EDDN" = "Hiba:Nem lehet kapcsolódni az EDDN-hez";
|
||||
|
||||
/* eddn.py: Enable EDDN support for station data checkbox label; In files: eddn.py:699; */
|
||||
/* eddn.py: Enable EDDN support for station data checkbox label; In files: eddn.py:663; load.py:672; eddn.py:1122; */
|
||||
"Send station data to the Elite Dangerous Data Network" = "Állomás adatok küldése az EDDN-nek";
|
||||
|
||||
/* eddn.py: Enable EDDN support for system and other scan data checkbox label; In files: eddn.py:710; */
|
||||
/* eddn.py: Enable EDDN support for system and other scan data checkbox label; In files: eddn.py:673; load.py:682; eddn.py:1133; */
|
||||
"Send system and scan data to the Elite Dangerous Data Network" = "Rendszer és szken adatok küldése az EDDN-nek";
|
||||
|
||||
/* eddn.py: EDDN delay sending until docked option is on, this message notes that a send was skipped due to this; In files: eddn.py:721; */
|
||||
/* eddn.py: EDDN delay sending until docked option is on, this message notes that a send was skipped due to this; In files: eddn.py:683; load.py:692; eddn.py:1144; */
|
||||
"Delay sending until docked" = "Küldés késletetése amig dokkolsz";
|
||||
|
||||
/* edsm.py: Settings>EDSM - Label on checkbox for 'send data'; In files: edsm.py:198; */
|
||||
/* edsm.py: Settings>EDSM - Label on checkbox for 'send data'; In files: edsm.py:197; load.py:197; edsm.py:237; */
|
||||
"Send flight log and Cmdr status to EDSM" = "Repülési napló és Parancsnok státusz küldése az EDSM-nek";
|
||||
|
||||
/* edsm.py: Settings>EDSM - Label on header/URL to EDSM API key page; In files: edsm.py:208; */
|
||||
/* edsm.py: Settings>EDSM - Label on header/URL to EDSM API key page; In files: edsm.py:206; load.py:206; edsm.py:247; */
|
||||
"Elite Dangerous Star Map credentials" = "Elite Dangerous Csillag térkép hitelesítése";
|
||||
|
||||
/* edsm.py: EDSM Commander name label in EDSM settings; In files: edsm.py:227; */
|
||||
/* edsm.py: Game Commander name label in EDSM settings; theme.py: Label for commander name in main window; EDMarketConnector.py: Label for commander name in main window; stats.py: Cmdr stats; In files: edsm.py:216; load.py:216; edsm.py:258; theme.py:227; EDMarketConnector.py:822; stats.py:59; */
|
||||
"Cmdr" = "Parancsnok";
|
||||
|
||||
/* edsm.py: EDSM Commander name label in EDSM settings; In files: edsm.py:223; load.py:223; edsm.py:266; */
|
||||
"Commander Name" = "Parancsnok név";
|
||||
|
||||
/* edsm.py: EDSM API key label; inara.py: Inara API key label; In files: edsm.py:235; inara.py:237; */
|
||||
/* edsm.py: EDSM API key label; inara.py: Inara API key label; In files: edsm.py:230; inara.py:233; load.py:230; load.py:233; edsm.py:274; inara.py:243; */
|
||||
"API Key" = "API kulcs";
|
||||
|
||||
/* edsm.py: We have no data on the current commander; prefs.py: No hotkey/shortcut set; stats.py: No rank; In files: edsm.py:262; prefs.py:518; prefs.py:1156; prefs.py:1189; stats.py:117; stats.py:136; stats.py:155; stats.py:172; */
|
||||
/* edsm.py: We have no data on the current commander; prefs.py: No hotkey/shortcut set; stats.py: No rank; In files: edsm.py:256; load.py:256; edsm.py:301; prefs.py:520; prefs.py:1174; prefs.py:1207; stats.py:156; stats.py:175; stats.py:194; stats.py:211; */
|
||||
"None" = "Egyik sem";
|
||||
|
||||
/* edsm.py: EDSM Plugin - Error message from EDSM API; In files: edsm.py:640; edsm.py:745; */
|
||||
/* edsm.py: EDSM Plugin - Error message from EDSM API; In files: edsm.py:622; edsm.py:724; load.py:627; load.py:729; edsm.py:747; edsm.py:875; */
|
||||
"Error: EDSM {MSG}" = "Hiba:EDSM {MSG}";
|
||||
|
||||
/* edsm.py: EDSM Plugin - Error connecting to EDSM API; In files: edsm.py:677; edsm.py:740; */
|
||||
/* edsm.py: EDSM Plugin - Error connecting to EDSM API; In files: edsm.py:658; edsm.py:720; load.py:663; load.py:725; edsm.py:784; edsm.py:870; */
|
||||
"Error: Can't connect to EDSM" = "Hiba:nem lehet kapcsólodni az EDSM-hez";
|
||||
|
||||
/* inara.py: Checkbox to enable INARA API Usage; In files: inara.py:216; */
|
||||
/* inara.py: Checkbox to enable INARA API Usage; In files: inara.py:215; load.py:215; inara.py:222; */
|
||||
"Send flight log and Cmdr status to Inara" = "Repülési napló és Parancsnok státusz küldése az Inarának";
|
||||
|
||||
/* inara.py: Text for INARA API keys link ( goes to https://inara.cz/settings-api ); In files: inara.py:228; */
|
||||
/* inara.py: Text for INARA API keys link ( goes to https://inara.cz/settings-api ); In files: inara.py:225; load.py:225; inara.py:234; */
|
||||
"Inara credentials" = "Inara hitelesitő adatok";
|
||||
|
||||
|
||||
/* Raised when the Companion API server thinks that the user has not purchased E:D. i.e. doesn't have the correct 'SKU'. [companion.py] */
|
||||
"Error: Frontier server SKU problem" = "Hiba:Frontier szerver SKU probléma";
|
||||
/* inara.py: INARA API returned some kind of error (error message will be contained in {MSG}); In files: inara.py:1549; inara.py:1562; */
|
||||
/* inara.py: INARA API returned some kind of error (error message will be contained in {MSG}); In files: inara.py:1316; inara.py:1328; load.py:1319; load.py:1331; inara.py:1587; inara.py:1600; */
|
||||
"Error: Inara {MSG}" = "Hiba:Inara {MSG}";
|
||||
|
||||
/* prefs.py: File > Preferences menu entry for macOS; In files: prefs.py:250; */
|
||||
/* ttkHyperlinkLabel.py: Label for 'Copy' as in 'Copy and Paste'; EDMarketConnector.py: Label for 'Copy' as in 'Copy and Paste'; In files: ttkHyperlinkLabel.py:42; EDMarketConnector.py:866; */
|
||||
"Copy" = "Másol";
|
||||
|
||||
/* EDMarketConnector.py: Update button in main window; In files: EDMarketConnector.py:529; EDMarketConnector.py:828; EDMarketConnector.py:1520; */
|
||||
"Update" = "Frissítés";
|
||||
|
||||
/* EDMarketConnector.py: Appearance - Label for checkbox to select if application always on top; prefs.py: Appearance - Label for checkbox to select if application always on top; In files: EDMarketConnector.py:612; prefs.py:867; */
|
||||
"Always on top" = "Mindig felül";
|
||||
|
||||
/* EDMarketConnector.py: 'Ship' or multi-crew role label in main window, as applicable; EDMarketConnector.py: Multicrew role label in main window; In files: EDMarketConnector.py:824; EDMarketConnector.py:1279; */
|
||||
"Role" = "Szerep";
|
||||
|
||||
/* EDMarketConnector.py: 'Ship' or multi-crew role label in main window, as applicable; EDMarketConnector.py: 'Ship' label in main UI; stats.py: Status dialog subtitle; In files: EDMarketConnector.py:824; EDMarketConnector.py:1289; EDMarketConnector.py:1312; stats.py:409; */
|
||||
"Ship" = "Hajó";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'System' line in main UI; prefs.py: Configuration - Label for selection of 'System' provider website; stats.py: Main window; In files: EDMarketConnector.py:826; prefs.py:607; stats.py:411; */
|
||||
"System" = "Rendszer";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'Station' line in main UI; prefs.py: Configuration - Label for selection of 'Station' provider website; prefs.py: Appearance - Example 'Normal' text; stats.py: Status dialog subtitle; In files: EDMarketConnector.py:827; prefs.py:625; prefs.py:762; stats.py:412; */
|
||||
"Station" = "Állomás";
|
||||
|
||||
/* EDMarketConnector.py: 'File' menu title on OSX; EDMarketConnector.py: 'File' menu title; EDMarketConnector.py: 'File' menu; In files: EDMarketConnector.py:830; EDMarketConnector.py:845; EDMarketConnector.py:848; EDMarketConnector.py:2019; */
|
||||
"File" = "Fájl";
|
||||
|
||||
/* EDMarketConnector.py: 'Edit' menu title on OSX; EDMarketConnector.py: 'Edit' menu title; In files: EDMarketConnector.py:831; EDMarketConnector.py:846; EDMarketConnector.py:849; */
|
||||
"Edit" = "Szerkeszt";
|
||||
|
||||
/* EDMarketConnector.py: 'View' menu title on OSX; In files: EDMarketConnector.py:832; */
|
||||
"View" = "Nézet";
|
||||
|
||||
/* EDMarketConnector.py: 'Window' menu title on OSX; In files: EDMarketConnector.py:833; */
|
||||
"Window" = "Ablak";
|
||||
|
||||
/* EDMarketConnector.py: Help' menu title on OSX; EDMarketConnector.py: 'Help' menu title; In files: EDMarketConnector.py:834; EDMarketConnector.py:847; EDMarketConnector.py:850; */
|
||||
"Help" = "Segítség";
|
||||
|
||||
/* EDMarketConnector.py: App menu entry on OSX; EDMarketConnector.py: Help > About App; In files: EDMarketConnector.py:837; EDMarketConnector.py:863; EDMarketConnector.py:1566; */
|
||||
"About {APP}" = "Az {APP} névjegye";
|
||||
|
||||
/* EDMarketConnector.py: Help > Check for Updates...; In files: EDMarketConnector.py:839; EDMarketConnector.py:862; */
|
||||
"Check for Updates..." = "Frissítések keresése";
|
||||
|
||||
/* EDMarketConnector.py: File > Save Raw Data...; In files: EDMarketConnector.py:840; EDMarketConnector.py:854; */
|
||||
"Save Raw Data..." = "Nyers adat elmentése";
|
||||
|
||||
/* EDMarketConnector.py: File > Status; stats.py: Status dialog title; In files: EDMarketConnector.py:841; EDMarketConnector.py:853; stats.py:406; */
|
||||
"Status" = "Státusz";
|
||||
|
||||
/* EDMarketConnector.py: Help > Privacy Policy; In files: EDMarketConnector.py:842; EDMarketConnector.py:860; */
|
||||
"Privacy Policy" = "Adatvédelmi irányelvek";
|
||||
|
||||
/* EDMarketConnector.py: Help > Release Notes; In files: EDMarketConnector.py:843; EDMarketConnector.py:861; EDMarketConnector.py:1600; */
|
||||
"Release Notes" = "Kiadási megjegyzések";
|
||||
|
||||
/* EDMarketConnector.py: File > Settings; prefs.py: File > Settings (macOS); In files: EDMarketConnector.py:855; EDMarketConnector.py:2020; prefs.py:255; */
|
||||
"Settings" = "Beállítások";
|
||||
|
||||
/* EDMarketConnector.py: File > Exit; In files: EDMarketConnector.py:856; */
|
||||
"Exit" = "Kilépés";
|
||||
|
||||
/* EDMarketConnector.py: Help > Documentation; In files: EDMarketConnector.py:859; */
|
||||
"Documentation" = "Dokumentáció";
|
||||
|
||||
/* EDMarketConnector.py: Status - Attempting to get a Frontier Auth Access Token; In files: EDMarketConnector.py:872; */
|
||||
"Logging in..." = "Bejelentkezés";
|
||||
|
||||
/* EDMarketConnector.py: Successfully authenticated with the Frontier website; In files: EDMarketConnector.py:888; EDMarketConnector.py:1431; */
|
||||
"Authentication successful" = "A hitelesítés sikerült";
|
||||
|
||||
/* EDMarketConnector.py: Player is not docked at a station, when we expect them to be; In files: EDMarketConnector.py:919; */
|
||||
"You're not docked at a station!" = " Nem dokkoltál az állomáson";
|
||||
|
||||
/* EDMarketConnector.py: Status - Either no market or no modules data for station from Frontier CAPI; In files: EDMarketConnector.py:927; */
|
||||
"Station doesn't have anything!" = "Az állomáson nincs semmi!";
|
||||
|
||||
/* EDMarketConnector.py: Status - No station market data from Frontier CAPI; In files: EDMarketConnector.py:932; */
|
||||
"Station doesn't have a market!" = "Nincs piac az állomáson!";
|
||||
|
||||
/* EDMarketConnector.py: Status - Attempting to retrieve data from Frontier CAPI; In files: EDMarketConnector.py:1006; */
|
||||
"Fetching data..." = "Adatok lekérése";
|
||||
|
||||
/* EDMarketConnector.py: We didn't have the commander name when we should have; stats.py: Unknown commander; In files: EDMarketConnector.py:1051; stats.py:335; */
|
||||
"Who are you?!" = "Ki vagy?";
|
||||
|
||||
/* EDMarketConnector.py: We don't know where the commander is, when we should; stats.py: Unknown location; In files: EDMarketConnector.py:1057; stats.py:345; */
|
||||
"Where are you?!" = "Hol vagy?";
|
||||
|
||||
/* EDMarketConnector.py: We don't know what ship the commander is in, when we should; stats.py: Unknown ship; In files: EDMarketConnector.py:1064; stats.py:353; */
|
||||
"What are you flying?!" = "Mivel repülsz?";
|
||||
|
||||
/* EDMarketConnector.py: Time when we last obtained Frontier CAPI data; In files: EDMarketConnector.py:1226; */
|
||||
"Last updated at %H:%M:%S" = "Utoljára frissítve %H:%M:%S";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1254; */
|
||||
"Fighter" = "Vadászgép";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1255; */
|
||||
"Gunner" = "Lövész";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1256; */
|
||||
"Helm" = "Kormányos";
|
||||
|
||||
/* EDMarketConnector.py: Cooldown on 'Update' button; In files: EDMarketConnector.py:1514; */
|
||||
"cooldown {SS}s" = "Lehűl {SS} másodperc";
|
||||
|
||||
/* EDMarketConnector.py: Generic 'OK' button label; prefs.py: 'OK' button on Settings/Preferences window; In files: EDMarketConnector.py:1626; prefs.py:306; */
|
||||
"OK" = "Ok";
|
||||
|
||||
/* EDMarketConnector.py: Settings > Plugins tab; prefs.py: Label on Settings > Plugins tab; In files: EDMarketConnector.py:2018; prefs.py:978; */
|
||||
"Plugins" = "Pluginok";
|
||||
|
||||
/* companion.py: Frontier CAPI data doesn't agree with latest Journal game location; In files: companion.py:237; */
|
||||
"Error: Frontier server is lagging" = "Hiba:Frontier szerver laggol";
|
||||
|
||||
/* companion.py: Generic "something went wrong with Frontier Auth" error; In files: companion.py:263; */
|
||||
"Error: Invalid Credentials" = "Hiba:Érvénytelen hitelesítő adatok";
|
||||
|
||||
/* companion.py: Frontier CAPI authorisation not for currently game-active commander; In files: companion.py:288; */
|
||||
"Error: Wrong Cmdr" = "Hiba:Rossz parancsnok";
|
||||
|
||||
/* l10n.py: The system default language choice in Settings > Appearance; prefs.py: Settings > Configuration - Label on 'reset journal files location to default' button; prefs.py: The system default language choice in Settings > Appearance; prefs.py: Label for 'Default' theme radio button; In files: l10n.py:194; prefs.py:468; prefs.py:702; prefs.py:735; */
|
||||
"Default" = "Alap";
|
||||
|
||||
/* prefs.py: File > Preferences menu entry for macOS; In files: prefs.py:251; */
|
||||
"Preferences" = "Beállítások";
|
||||
|
||||
/* prefs.py: Settings > Output - choosing what data to save to files; In files: prefs.py:346; */
|
||||
/* prefs.py: Settings > Output - choosing what data to save to files; In files: prefs.py:348; */
|
||||
"Please choose what data to save" = "Kérem válassza ki a menteni kivánt adatokat.";
|
||||
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:352; */
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:354; */
|
||||
"Market data in CSV format file" = "Piaci adat CSV fájlban";
|
||||
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:361; */
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:363; */
|
||||
"Market data in Trade Dangerous format file" = "Piaci adat Trade Dangerous fájlban";
|
||||
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:371; */
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:373; */
|
||||
"Ship loadout" = "Hajó felszerelése";
|
||||
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:381; */
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:383; */
|
||||
"Automatically update on docking" = "Automatikusan frissit dokkolásnál";
|
||||
|
||||
/* prefs.py: Settings > Output - Label for "where files are located"; In files: prefs.py:390; prefs.py:409; */
|
||||
/* prefs.py: Settings > Output - Label for "where files are located"; In files: prefs.py:392; prefs.py:411; */
|
||||
"File location" = "Fálj helye";
|
||||
|
||||
/* prefs.py: macOS Preferences - files location selection button; In files: prefs.py:398; prefs.py:448; */
|
||||
/* prefs.py: macOS Preferences - files location selection button; In files: prefs.py:400; prefs.py:450; */
|
||||
"Change..." = "Módosítás...";
|
||||
|
||||
/* prefs.py: NOT-macOS Settings - files location selection button; prefs.py: NOT-macOS Setting - files location selection button; In files: prefs.py:401; prefs.py:451; */
|
||||
/* prefs.py: NOT-macOS Settings - files location selection button; prefs.py: NOT-macOS Setting - files location selection button; In files: prefs.py:403; prefs.py:453; */
|
||||
"Browse..." = "Böngész";
|
||||
|
||||
/* prefs.py: Label for 'Output' Settings/Preferences tab; In files: prefs.py:416; */
|
||||
/* prefs.py: Label for 'Output' Settings/Preferences tab; In files: prefs.py:418; */
|
||||
"Output" = "Kimenet";
|
||||
|
||||
/* prefs.py: Settings > Configuration - Label for Journal files location; In files: prefs.py:442; prefs.py:457; */
|
||||
/* prefs.py: Settings > Configuration - Label for Journal files location; In files: prefs.py:444; prefs.py:459; */
|
||||
"E:D journal file location" = "E:D journal fájl helye";
|
||||
|
||||
/* prefs.py: Hotkey/Shortcut settings prompt on OSX; In files: prefs.py:482; */
|
||||
/* prefs.py: Hotkey/Shortcut settings prompt on OSX; In files: prefs.py:484; */
|
||||
"Keyboard shortcut" = "Billentyűparancsok";
|
||||
|
||||
/* prefs.py: Hotkey/Shortcut settings prompt on Windows; In files: prefs.py:484; */
|
||||
/* prefs.py: Hotkey/Shortcut settings prompt on Windows; In files: prefs.py:486; */
|
||||
"Hotkey" = "Gyorsgomb";
|
||||
|
||||
/* prefs.py: macOS Preferences > Configuration - restart the app message; In files: prefs.py:493; */
|
||||
/* prefs.py: macOS Preferences > Configuration - restart the app message; In files: prefs.py:495; */
|
||||
"Re-start {APP} to use shortcuts" = "Újranidítás {APP} parancsikonok használatával";
|
||||
|
||||
/* prefs.py: macOS - Configuration - need to grant the app permission for keyboard shortcuts; In files: prefs.py:502; */
|
||||
/* prefs.py: macOS - Configuration - need to grant the app permission for keyboard shortcuts; In files: prefs.py:504; */
|
||||
"{APP} needs permission to use shortcuts" = "{APP} engedély szükséges a parancsikon használatához";
|
||||
|
||||
/* prefs.py: Shortcut settings button on OSX; In files: prefs.py:507; */
|
||||
/* prefs.py: Shortcut settings button on OSX; In files: prefs.py:509; */
|
||||
"Open System Preferences" = "Rendszerbeállítások megnyitáss";
|
||||
|
||||
/* prefs.py: Configuration - Act on hotkey only when ED is in foreground; In files: prefs.py:529; */
|
||||
/* prefs.py: Configuration - Act on hotkey only when ED is in foreground; In files: prefs.py:531; */
|
||||
"Only when Elite: Dangerous is the active app" = "Csak ha az Elite Dangerous fut";
|
||||
|
||||
/* prefs.py: Configuration - play sound when hotkey used; In files: prefs.py:540; */
|
||||
/* prefs.py: Configuration - play sound when hotkey used; In files: prefs.py:542; */
|
||||
"Play sound" = "Zene be";
|
||||
|
||||
/* prefs.py: Label for preferred shipyard, system and station 'providers'; In files: prefs.py:568; */
|
||||
/* prefs.py: Label for preferred shipyard, system and station 'providers'; In files: prefs.py:570; */
|
||||
"Preferred websites" = "Preferált weboldalak";
|
||||
|
||||
/* prefs.py: Label for Shipyard provider selection; In files: prefs.py:579; */
|
||||
/* prefs.py: Label for Shipyard provider selection; In files: prefs.py:581; */
|
||||
"Shipyard" = "Hajógyár";
|
||||
|
||||
/* prefs.py: Label for 'Configuration' tab in Settings; In files: prefs.py:672; */
|
||||
/* prefs.py: Label for 'Configuration' tab in Settings; In files: prefs.py:674; */
|
||||
"Configuration" = "Konfiguráció";
|
||||
|
||||
/* prefs.py: Label for Settings > Appeareance > selection of 'normal' text colour; In files: prefs.py:685; */
|
||||
/* prefs.py: Preferences privacy tab title; In files: prefs.py:696; */
|
||||
"Privacy" = "Titkosítás";
|
||||
|
||||
/* prefs.py: Label for Settings > Appeareance > selection of 'normal' text colour; In files: prefs.py:709; */
|
||||
"Normal text" = "Normál txt";
|
||||
|
||||
/* prefs.py: Label for Settings > Appeareance > selection of 'highlightes' text colour; In files: prefs.py:687; */
|
||||
/* prefs.py: Label for Settings > Appeareance > selection of 'highlightes' text colour; In files: prefs.py:711; */
|
||||
"Highlighted text" = "Kiemelt szöveg";
|
||||
|
||||
/* prefs.py: Appearance - Label for selection of application display language; In files: prefs.py:696; */
|
||||
/* prefs.py: Appearance - Label for selection of application display language; In files: prefs.py:720; */
|
||||
"Language" = "Nyelv";
|
||||
|
||||
/* prefs.py: Label for Settings > Appearance > Theme selection; In files: prefs.py:706; */
|
||||
/* prefs.py: Label for Settings > Appearance > Theme selection; In files: prefs.py:730; */
|
||||
"Theme" = "Téma";
|
||||
|
||||
/* prefs.py: Label for 'Dark' theme radio button; In files: prefs.py:717; */
|
||||
/* prefs.py: Label for 'Dark' theme radio button; In files: prefs.py:741; */
|
||||
"Dark" = "Sötét";
|
||||
|
||||
/* prefs.py: Label for 'Transparent' theme radio button; In files: prefs.py:724; */
|
||||
/* prefs.py: Label for 'Transparent' theme radio button; In files: prefs.py:748; */
|
||||
"Transparent" = "Átlárható";
|
||||
|
||||
/* prefs.py: Label for Settings > Appearance tab; In files: prefs.py:860; */
|
||||
/* prefs.py: Label for Settings > Appearance tab; In files: prefs.py:885; */
|
||||
"Appearance" = "Megjelenés";
|
||||
|
||||
/* prefs.py: Label for location of third-party plugins folder; In files: prefs.py:875; */
|
||||
/* prefs.py: Label for location of third-party plugins folder; In files: prefs.py:900; */
|
||||
"Plugins folder" = "Plugin mappa";
|
||||
|
||||
/* prefs.py: Label on button used to open a filesystem folder; In files: prefs.py:882; */
|
||||
/* prefs.py: Label on button used to open a filesystem folder; In files: prefs.py:907; */
|
||||
"Open" = "Nyisd ki";
|
||||
|
||||
/* prefs.py: Tip/label about how to disable plugins; In files: prefs.py:890; */
|
||||
/* prefs.py: Tip/label about how to disable plugins; In files: prefs.py:915; */
|
||||
"Tip: You can disable a plugin by{CR}adding '{EXT}' to its folder name" = "Tipp:a pluginokat kikapcsolhatod hozzà{CR}adsz a mappa nevében egy '{EXT}'";
|
||||
|
||||
/* prefs.py: Label on list of enabled plugins; In files: prefs.py:901; */
|
||||
/* prefs.py: Label on list of enabled plugins; In files: prefs.py:926; */
|
||||
"Enabled Plugins" = "Pluginok engedélyezése";
|
||||
|
||||
/* prefs.py: Lable on list of user-disabled plugins; In files: prefs.py:944; */
|
||||
/* prefs.py: Lable on list of user-disabled plugins; In files: prefs.py:969; */
|
||||
"Disabled Plugins" = "Plugin kikapcsolása";
|
||||
|
||||
/* stats.py: Cmdr stats; In files: stats.py:51; */
|
||||
/* stats.py: Cmdr stats; In files: stats.py:60; */
|
||||
"Balance" = "Egyenleg";
|
||||
|
||||
/* stats.py: Cmdr stats; In files: stats.py:52; */
|
||||
/* stats.py: Cmdr stats; In files: stats.py:61; */
|
||||
"Loan" = "Kölcsön";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:57; */
|
||||
"Combat" = "Harc";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:58; */
|
||||
"Trade" = "Kereskedés";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:59; */
|
||||
"Explorer" = "Felfedező";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:60; */
|
||||
"CQC" = "CQC";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:61; */
|
||||
"Federation" = "Föderáció";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:62; */
|
||||
"Empire" = "Birodalom";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:63; */
|
||||
"Powerplay" = "Powerplay";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:71; */
|
||||
"Harmless" = "ártalmatlan";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:72; */
|
||||
"Mostly Harmless" = "Többnyire ártalmatlan";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:73; */
|
||||
"Novice" = "Kezdő";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:74; */
|
||||
"Competent" = "Képesített";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:75; */
|
||||
"Expert" = "Szakértő";
|
||||
|
||||
/* stats.py: Combat rank; stats.py: Empire rank; In files: stats.py:76; stats.py:139; */
|
||||
"Master" = "Mester";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:77; */
|
||||
"Dangerous" = "Veszélyes";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:78; */
|
||||
"Deadly" = "Halálos";
|
||||
|
||||
/* stats.py: Top rank; In files: stats.py:79; stats.py:90; stats.py:101; stats.py:112; */
|
||||
/* stats.py: Top rank; In files: stats.py:65; */
|
||||
"Elite" = "Elit";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:82; */
|
||||
/* stats.py: Ranking; In files: stats.py:76; */
|
||||
"Combat" = "Harc";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:77; */
|
||||
"Trade" = "Kereskedés";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:78; */
|
||||
"Explorer" = "Felfedező";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:81; */
|
||||
"CQC" = "CQC";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:82; */
|
||||
"Federation" = "Föderáció";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:83; */
|
||||
"Empire" = "Birodalom";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:84; */
|
||||
"Powerplay" = "Powerplay";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:93; */
|
||||
"Harmless" = "ártalmatlan";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:94; */
|
||||
"Mostly Harmless" = "Többnyire ártalmatlan";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:95; */
|
||||
"Novice" = "Kezdő";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:96; */
|
||||
"Competent" = "Képesített";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:97; */
|
||||
"Expert" = "Szakértő";
|
||||
|
||||
/* stats.py: Combat rank; stats.py: Empire rank; In files: stats.py:98; stats.py:178; */
|
||||
"Master" = "Mester";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:99; */
|
||||
"Dangerous" = "Veszélyes";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:100; */
|
||||
"Deadly" = "Halálos";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:103; */
|
||||
"Penniless" = "Nincstelen";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:83; */
|
||||
/* stats.py: Trade rank; In files: stats.py:104; */
|
||||
"Mostly Penniless" = "Többnyire nincstelen";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:84; */
|
||||
/* stats.py: Trade rank; In files: stats.py:105; */
|
||||
"Peddler" = "Házaló ügynők";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:85; */
|
||||
/* stats.py: Trade rank; In files: stats.py:106; */
|
||||
"Dealer" = "Kereskedő";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:86; */
|
||||
/* stats.py: Trade rank; In files: stats.py:107; */
|
||||
"Merchant" = "Kereskedő";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:87; */
|
||||
/* stats.py: Trade rank; In files: stats.py:108; */
|
||||
"Broker" = "Bróker";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:88; */
|
||||
/* stats.py: Trade rank; In files: stats.py:109; */
|
||||
"Entrepreneur" = "Vállalkozó";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:89; */
|
||||
/* stats.py: Trade rank; In files: stats.py:110; */
|
||||
"Tycoon" = "Iparmágnás";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:93; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:113; */
|
||||
"Aimless" = "Céltalan";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:94; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:114; */
|
||||
"Mostly Aimless" = "Tøbnyire céltalan";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:95; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:115; */
|
||||
"Scout" = "Felderítő";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:96; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:116; */
|
||||
"Surveyor" = "Megfigyelő";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:97; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:117; */
|
||||
"Trailblazer" = "Útkereső";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:98; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:118; */
|
||||
"Pathfinder" = "Útkereső";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:99; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:119; */
|
||||
"Ranger" = "Vándor";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:100; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:120; */
|
||||
"Pioneer" = "Utász";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:104; */
|
||||
/* stats.py: CQC rank; In files: stats.py:144; */
|
||||
"Helpless" = "tehetetlen";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:105; */
|
||||
/* stats.py: CQC rank; In files: stats.py:145; */
|
||||
"Mostly Helpless" = "Többnyire tehetetlen";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:106; */
|
||||
/* stats.py: CQC rank; In files: stats.py:146; */
|
||||
"Amateur" = "Amatőr";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:107; */
|
||||
/* stats.py: CQC rank; In files: stats.py:147; */
|
||||
"Semi Professional" = "Fél profi";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:108; */
|
||||
/* stats.py: CQC rank; In files: stats.py:148; */
|
||||
"Professional" = "Szakember";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:109; */
|
||||
/* stats.py: CQC rank; In files: stats.py:149; */
|
||||
"Champion" = "Bajnok";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:110; */
|
||||
/* stats.py: CQC rank; In files: stats.py:150; */
|
||||
"Hero" = "Hős";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:111; */
|
||||
/* stats.py: CQC rank; In files: stats.py:151; */
|
||||
"Gladiator" = "Gladiátor";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:118; */
|
||||
/* stats.py: Federation rank; In files: stats.py:157; */
|
||||
"Recruit" = "Újonc";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:119; */
|
||||
/* stats.py: Federation rank; In files: stats.py:158; */
|
||||
"Cadet" = "Kadét";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:120; */
|
||||
/* stats.py: Federation rank; In files: stats.py:159; */
|
||||
"Midshipman" = "Tengerészkadét";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:121; */
|
||||
/* stats.py: Federation rank; In files: stats.py:160; */
|
||||
"Petty Officer" = "Tizedes";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:122; */
|
||||
/* stats.py: Federation rank; In files: stats.py:161; */
|
||||
"Chief Petty Officer" = "Törzs zászlós";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:123; */
|
||||
/* stats.py: Federation rank; In files: stats.py:162; */
|
||||
"Warrant Officer" = "Tiszthelyettes";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:124; */
|
||||
/* stats.py: Federation rank; In files: stats.py:163; */
|
||||
"Ensign" = "Zászlós";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:125; */
|
||||
/* stats.py: Federation rank; In files: stats.py:164; */
|
||||
"Lieutenant" = "Hadnagy";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:126; */
|
||||
/* stats.py: Federation rank; In files: stats.py:165; */
|
||||
"Lieutenant Commander" = "Főhadnagy";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:127; */
|
||||
/* stats.py: Federation rank; In files: stats.py:166; */
|
||||
"Post Commander" = "Ezredes";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:128; */
|
||||
/* stats.py: Federation rank; In files: stats.py:167; */
|
||||
"Post Captain" = "Ellentengernagy";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:129; */
|
||||
/* stats.py: Federation rank; In files: stats.py:168; */
|
||||
"Rear Admiral" = "FőEllentengernagy";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:130; */
|
||||
/* stats.py: Federation rank; In files: stats.py:169; */
|
||||
"Vice Admiral" = "Altengernagy";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:131; */
|
||||
/* stats.py: Federation rank; In files: stats.py:170; */
|
||||
"Admiral" = "Admirális";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:137; */
|
||||
/* stats.py: Empire rank; In files: stats.py:176; */
|
||||
"Outsider" = "Kivűlálló";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:138; */
|
||||
/* stats.py: Empire rank; In files: stats.py:177; */
|
||||
"Serf" = "Jobbágy";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:140; */
|
||||
/* stats.py: Empire rank; In files: stats.py:179; */
|
||||
"Squire" = "Földesúr";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:141; */
|
||||
/* stats.py: Empire rank; In files: stats.py:180; */
|
||||
"Knight" = "Lovag";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:142; */
|
||||
/* stats.py: Empire rank; In files: stats.py:181; */
|
||||
"Lord" = "Lord";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:143; */
|
||||
/* stats.py: Empire rank; In files: stats.py:182; */
|
||||
"Baron" = "Báró";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:144; */
|
||||
/* stats.py: Empire rank; In files: stats.py:183; */
|
||||
"Viscount" = "Vicomte";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:145; */
|
||||
/* stats.py: Empire rank; In files: stats.py:184; */
|
||||
"Count" = "Számol";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:146; */
|
||||
/* stats.py: Empire rank; In files: stats.py:185; */
|
||||
"Earl" = "Gróf";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:147; */
|
||||
/* stats.py: Empire rank; In files: stats.py:186; */
|
||||
"Marquis" = "Őrgróf";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:148; */
|
||||
/* stats.py: Empire rank; In files: stats.py:187; */
|
||||
"Duke" = "Herceg";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:149; */
|
||||
/* stats.py: Empire rank; In files: stats.py:188; */
|
||||
"Prince" = "Herceg";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:150; */
|
||||
/* stats.py: Empire rank; In files: stats.py:189; */
|
||||
"King" = "Király";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:156; */
|
||||
/* stats.py: Power rank; In files: stats.py:195; */
|
||||
"Rating 1" = "Osztákgozás 1";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:157; */
|
||||
/* stats.py: Power rank; In files: stats.py:196; */
|
||||
"Rating 2" = "Osztályozás 2";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:158; */
|
||||
/* stats.py: Power rank; In files: stats.py:197; */
|
||||
"Rating 3" = "Osztályozás 3";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:159; */
|
||||
/* stats.py: Power rank; In files: stats.py:198; */
|
||||
"Rating 4" = "Osztályozás 4";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:160; */
|
||||
/* stats.py: Power rank; In files: stats.py:199; */
|
||||
"Rating 5" = "Osztályozás 5";
|
||||
|
||||
/* stats.py: Status dialog subtitle - CR value of ship; In files: stats.py:367; */
|
||||
/* stats.py: Status dialog subtitle - CR value of ship; In files: stats.py:413; */
|
||||
"Value" = "Érték";
|
||||
|
||||
/* stats.py: Status dialog title; In files: stats.py:376; */
|
||||
/* stats.py: Status dialog title; In files: stats.py:422; */
|
||||
"Ships" = "Hajók";
|
||||
+346
-354
@@ -1,160 +1,83 @@
|
||||
/* Generic 'Check', as in 'Check E:D journal file location' [EDMarketConnector.py] */
|
||||
"Check" = "Controlla";
|
||||
/* Language name */
|
||||
"!Language" = "Italiano";
|
||||
|
||||
/* eddn.py: Status text shown while attempting to send data; In files: eddn.py:212; eddn.py:584; eddn.py:925; load.py:215; load.py:593; load.py:940; eddn.py:252; eddn.py:699; eddn.py:1439; */
|
||||
"Sending data to EDDN..." = "Sto inviando i dati a EDDN...";
|
||||
|
||||
/* OLD: Raised when cannot contact the Companion API server. [companion.py] */
|
||||
"Error: Frontier server is down" = "Errore: Il Server Frontier è offline";
|
||||
/* companion.py: Frontier CAPI data doesn't agree with latest Journal game location; In files: companion.py:190; */
|
||||
"Error: Frontier server is lagging" = "Errore: il server Frontier sta laggando";
|
||||
/* eddn.py: Error while trying to send data to EDDN; In files: eddn.py:257; eddn.py:864; eddn.py:898; eddn.py:937; load.py:260; load.py:878; load.py:913; load.py:952; eddn.py:316; eddn.py:1375; eddn.py:1410; eddn.py:1451; */
|
||||
"Error: Can't connect to EDDN" = "Errore: Non riesco a connettermi a EDDN";
|
||||
|
||||
/* companion.py: Generic "something went wrong with Frontier Auth" error; In files: companion.py:214; */
|
||||
"Error: Invalid Credentials" = "Errore: Credenziali non valide";
|
||||
/* eddn.py: Enable EDDN support for station data checkbox label; In files: eddn.py:663; load.py:672; eddn.py:1122; */
|
||||
"Send station data to the Elite Dangerous Data Network" = "Manda i dati della stazione a Elite Dangerous Data Network";
|
||||
|
||||
/* companion.py: Frontier CAPI authorisation not for currently game-active commander; In files: companion.py:230; */
|
||||
"Error: Wrong Cmdr" = "Errore: Cmdr sbagliato";
|
||||
/* eddn.py: Enable EDDN support for system and other scan data checkbox label; In files: eddn.py:673; load.py:682; eddn.py:1133; */
|
||||
"Send system and scan data to the Elite Dangerous Data Network" = "Manda il sistema e i dati scansionati a EDDN";
|
||||
|
||||
/* companion.py: Generic error prefix - following text is from Frontier auth service; In files: companion.py:341; companion.py:422; */
|
||||
"Error" = "Errore";
|
||||
/* eddn.py: EDDN delay sending until docked option is on, this message notes that a send was skipped due to this; In files: eddn.py:683; load.py:692; eddn.py:1144; */
|
||||
"Delay sending until docked" = "Ritarda l'invio fino a che si è ormeggiati";
|
||||
|
||||
/* edsm.py: Settings>EDSM - Label on checkbox for 'send data'; In files: edsm.py:197; load.py:197; edsm.py:237; */
|
||||
"Send flight log and Cmdr status to EDSM" = "Manda il flight log e lo stato Cmdr a EDSM";
|
||||
|
||||
/* [inara.py] */
|
||||
"Error: Can't connect to Inara" = "Errore: Non riesco a connettermi a Inara";
|
||||
/* companion.py: Frontier CAPI data retrieval failed with 5XX code; In files: companion.py:591; */
|
||||
"Frontier CAPI server error" = "Errore nel server Frontier CAPI";
|
||||
/* edsm.py: Settings>EDSM - Label on header/URL to EDSM API key page; In files: edsm.py:206; load.py:206; edsm.py:247; */
|
||||
"Elite Dangerous Star Map credentials" = "Credenziali per Elite Dangerous Star Map";
|
||||
|
||||
/* EDMarketConnector.py: Update button in main window; In files: EDMarketConnector.py:424; EDMarketConnector.py:718; EDMarketConnector.py:1302; */
|
||||
"Update" = "Recupera";
|
||||
|
||||
/* EDMarketConnector.py: Appearance - Label for checkbox to select if application always on top; prefs.py: Appearance - Label for checkbox to select if application always on top; In files: EDMarketConnector.py:507; prefs.py:843; */
|
||||
"Always on top" = "Sempre in primo piano";
|
||||
|
||||
/* EDMarketConnector.py: Unknown suit; In files: EDMarketConnector.py:636; */
|
||||
"Unknown" = "Sconosciuto";
|
||||
|
||||
/* EDMarketConnector.py: Label for commander name in main window; edsm.py: Game Commander name label in EDSM settings; stats.py: Cmdr stats; theme.py: Label for commander name in main window; In files: EDMarketConnector.py:712; edsm.py:219; stats.py:50; theme.py:227; */
|
||||
/* edsm.py: Game Commander name label in EDSM settings; theme.py: Label for commander name in main window; EDMarketConnector.py: Label for commander name in main window; stats.py: Cmdr stats; In files: edsm.py:216; load.py:216; edsm.py:258; theme.py:227; EDMarketConnector.py:822; stats.py:59; */
|
||||
"Cmdr" = "Cmdr";
|
||||
|
||||
/* EDMarketConnector.py: 'Ship' or multi-crew role label in main window, as applicable; EDMarketConnector.py: Multicrew role label in main window; In files: EDMarketConnector.py:714; EDMarketConnector.py:1072; */
|
||||
"Role" = "Ruolo";
|
||||
/* edsm.py: EDSM Commander name label in EDSM settings; In files: edsm.py:223; load.py:223; edsm.py:266; */
|
||||
"Commander Name" = "Nome Commandante";
|
||||
|
||||
/* EDMarketConnector.py: 'Ship' or multi-crew role label in main window, as applicable; EDMarketConnector.py: 'Ship' label in main UI; stats.py: Status dialog subtitle; In files: EDMarketConnector.py:714; EDMarketConnector.py:1082; EDMarketConnector.py:1105; stats.py:363; */
|
||||
"Ship" = "Nave";
|
||||
/* edsm.py: EDSM API key label; inara.py: Inara API key label; In files: edsm.py:230; inara.py:233; load.py:230; load.py:233; edsm.py:274; inara.py:243; */
|
||||
"API Key" = "API Key";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'Suit' line in main UI; In files: EDMarketConnector.py:715; */
|
||||
"Suit" = "Tuta";
|
||||
/* edsm.py: We have no data on the current commander; prefs.py: No hotkey/shortcut set; stats.py: No rank; In files: edsm.py:256; load.py:256; edsm.py:301; prefs.py:520; prefs.py:1174; prefs.py:1207; stats.py:156; stats.py:175; stats.py:194; stats.py:211; */
|
||||
"None" = "Nessuna";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'System' line in main UI; prefs.py: Configuration - Label for selection of 'System' provider website; stats.py: Main window; In files: EDMarketConnector.py:716; prefs.py:605; stats.py:365; */
|
||||
"System" = "Sistema";
|
||||
/* edsm.py: EDSM Plugin - Error message from EDSM API; In files: edsm.py:622; edsm.py:724; load.py:627; load.py:729; edsm.py:747; edsm.py:875; */
|
||||
"Error: EDSM {MSG}" = "Errore: EDSM {MSG}";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'Station' line in main UI; prefs.py: Configuration - Label for selection of 'Station' provider website; prefs.py: Appearance - Example 'Normal' text; stats.py: Status dialog subtitle; In files: EDMarketConnector.py:717; prefs.py:623; prefs.py:738; stats.py:366; */
|
||||
"Station" = "Stazione";
|
||||
/* edsm.py: EDSM Plugin - Error connecting to EDSM API; In files: edsm.py:658; edsm.py:720; load.py:663; load.py:725; edsm.py:784; edsm.py:870; */
|
||||
"Error: Can't connect to EDSM" = "Errore: Non riesco a connettermi a EDSM";
|
||||
|
||||
/* EDMarketConnector.py: 'File' menu title on OSX; EDMarketConnector.py: 'File' menu title; EDMarketConnector.py: 'File' menu; In files: EDMarketConnector.py:720; EDMarketConnector.py:735; EDMarketConnector.py:738; EDMarketConnector.py:1791; */
|
||||
"File" = "File";
|
||||
/* inara.py: Checkbox to enable INARA API Usage; In files: inara.py:215; load.py:215; inara.py:222; */
|
||||
"Send flight log and Cmdr status to Inara" = "Manda il flight log e lo stato Cmdr a Inara";
|
||||
|
||||
/* EDMarketConnector.py: 'Edit' menu title on OSX; EDMarketConnector.py: 'Edit' menu title; In files: EDMarketConnector.py:721; EDMarketConnector.py:736; EDMarketConnector.py:739; */
|
||||
"Edit" = "Appunti";
|
||||
/* inara.py: Text for INARA API keys link ( goes to https://inara.cz/settings-api ); In files: inara.py:225; load.py:225; inara.py:234; */
|
||||
"Inara credentials" = "Credenziali per Inara";
|
||||
|
||||
/* EDMarketConnector.py: 'View' menu title on OSX; In files: EDMarketConnector.py:722; */
|
||||
"View" = "Vista";
|
||||
/* inara.py: INARA API returned some kind of error (error message will be contained in {MSG}); In files: inara.py:1316; inara.py:1328; load.py:1319; load.py:1331; inara.py:1587; inara.py:1600; */
|
||||
"Error: Inara {MSG}" = "Errore: Inara {MSG}";
|
||||
|
||||
/* EDMarketConnector.py: 'Window' menu title on OSX; In files: EDMarketConnector.py:723; */
|
||||
"Window" = "Finestra";
|
||||
/* coriolis.py: 'Auto' label for Coriolis site override selection; coriolis.py: Coriolis normal/beta selection - auto; In files: load.py:51; load.py:51; load.py:88; load.py:104; load.py:110; coriolis.py:52; coriolis.py:55; coriolis.py:101; coriolis.py:117; coriolis.py:123; */
|
||||
"Auto" = "Auto";
|
||||
|
||||
/* EDMarketConnector.py: Help' menu title on OSX; EDMarketConnector.py: 'Help' menu title; In files: EDMarketConnector.py:724; EDMarketConnector.py:737; EDMarketConnector.py:740; */
|
||||
"Help" = "Guida";
|
||||
/* coriolis.py: 'Normal' label for Coriolis site override selection; coriolis.py: Coriolis normal/beta selection - normal; In files: load.py:51; load.py:88; load.py:102; coriolis.py:53; coriolis.py:99; coriolis.py:115; */
|
||||
"Normal" = "Normale";
|
||||
|
||||
/* EDMarketConnector.py: App menu entry on OSX; EDMarketConnector.py: Help > About App; In files: EDMarketConnector.py:727; EDMarketConnector.py:753; EDMarketConnector.py:1347; */
|
||||
"About {APP}" = "Informazioni su {APP}";
|
||||
/* coriolis.py: 'Beta' label for Coriolis site override selection; coriolis.py: Coriolis normal/beta selection - beta; In files: load.py:51; load.py:88; load.py:103; coriolis.py:54; coriolis.py:100; coriolis.py:116; */
|
||||
"Beta" = "Beta";
|
||||
|
||||
/* EDMarketConnector.py: Help > Check for Updates...; In files: EDMarketConnector.py:729; EDMarketConnector.py:752; */
|
||||
"Check for Updates..." = "Controlla aggiornamenti...";
|
||||
/* coriolis.py: Settings>Coriolis: Label for 'NOT alpha/beta game version' URL; In files: load.py:69; coriolis.py:75; */
|
||||
"Normal URL" = "URL normale";
|
||||
|
||||
/* EDMarketConnector.py: File > Save Raw Data...; In files: EDMarketConnector.py:730; EDMarketConnector.py:744; */
|
||||
"Save Raw Data..." = "Salva i Dati Grezzi...";
|
||||
/* coriolis.py: Generic 'Reset' button label; In files: load.py:71; load.py:78; coriolis.py:78; coriolis.py:87; */
|
||||
"Reset" = "Reimposta";
|
||||
|
||||
/* EDMarketConnector.py: File > Status; stats.py: Status dialog title; In files: EDMarketConnector.py:731; EDMarketConnector.py:743; stats.py:360; */
|
||||
"Status" = "Status";
|
||||
/* coriolis.py: Settings>Coriolis: Label for 'alpha/beta game version' URL; In files: load.py:76; coriolis.py:84; */
|
||||
"Beta URL" = "URL Beta";
|
||||
|
||||
/* EDMarketConnector.py: Help > Privacy Policy; In files: EDMarketConnector.py:732; EDMarketConnector.py:750; */
|
||||
"Privacy Policy" = "Informativa sulla privacy";
|
||||
/* eddb.py: Journal Processing disabled due to an active killswitch; In files: load.py:99; eddb.py:100; */
|
||||
"EDDB Journal processing disabled. See Log." = "Elaborazione di EDDB Journal disabilitata. Guarda il Log.";
|
||||
|
||||
/* EDMarketConnector.py: Help > Release Notes; In files: EDMarketConnector.py:733; EDMarketConnector.py:751; EDMarketConnector.py:1381; */
|
||||
"Release Notes" = "Note di rilascio";
|
||||
/* inara.py: INARA support disabled via killswitch; In files: load.py:331; inara.py:341; */
|
||||
"Inara disabled. See Log." = "Inara disabilitato. Vedi il Log.";
|
||||
|
||||
/* EDMarketConnector.py: File > Settings; prefs.py: File > Settings (macOS); In files: EDMarketConnector.py:745; EDMarketConnector.py:1792; prefs.py:254; */
|
||||
"Settings" = "Impostazioni";
|
||||
|
||||
/* EDMarketConnector.py: File > Exit; In files: EDMarketConnector.py:746; */
|
||||
"Exit" = "Esci";
|
||||
|
||||
/* EDMarketConnector.py: Help > Documentation; In files: EDMarketConnector.py:749; */
|
||||
"Documentation" = "Documentazione";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'Copy' as in 'Copy and Paste'; ttkHyperlinkLabel.py: Label for 'Copy' as in 'Copy and Paste'; In files: EDMarketConnector.py:756; ttkHyperlinkLabel.py:42; */
|
||||
"Copy" = "Copia";
|
||||
|
||||
/* EDMarketConnector.py: Status - Attempting to get a Frontier Auth Access Token; In files: EDMarketConnector.py:762; */
|
||||
"Logging in..." = "Mi sto loggando...";
|
||||
|
||||
/* EDMarketConnector.py: Successfully authenticated with the Frontier website; In files: EDMarketConnector.py:778; EDMarketConnector.py:1215; */
|
||||
"Authentication successful" = "Autenticazione riuscita";
|
||||
|
||||
/* EDMarketConnector.py: Player is not docked at a station, when we expect them to be; In files: EDMarketConnector.py:809; */
|
||||
"You're not docked at a station!" = "Non sei parcheggiato in nessuna stazione !";
|
||||
|
||||
/* EDMarketConnector.py: Status - Either no market or no modules data for station from Frontier CAPI; In files: EDMarketConnector.py:817; */
|
||||
"Station doesn't have anything!" = "La Stazione non ha niente !";
|
||||
|
||||
/* EDMarketConnector.py: Status - No station market data from Frontier CAPI; In files: EDMarketConnector.py:822; */
|
||||
"Station doesn't have a market!" = "La Stazione non ha un Market !";
|
||||
|
||||
/* EDMarketConnector.py: Status - Attempting to retrieve data from Frontier CAPI; EDMarketConnector.py: Status - Attempting to retrieve data from Frontier CAPI to save to file; stats.py: Fetching data from Frontier CAPI in order to display on File > Status; In files: EDMarketConnector.py:867; EDMarketConnector.py:1428; stats.py:279; */
|
||||
"Fetching data..." = "Sto raccogliendo i dati...";
|
||||
|
||||
/* EDMarketConnector.py: No data was returned for the commander from the Frontier CAPI; In files: EDMarketConnector.py:880; */
|
||||
/* EDMarketConnector.py: No data was returned for the commander from the Frontier CAPI; In files: test_ast_stuff.py:2; EDMarketConnector.py:1047; */
|
||||
"CAPI: No commander data returned" = "CAPI: Nessun dato sul commandante";
|
||||
|
||||
/* EDMarketConnector.py: We didn't have the commander name when we should have; stats.py: Unknown commander; In files: EDMarketConnector.py:884; stats.py:297; */
|
||||
"Who are you?!" = "Chi sei ?!";
|
||||
|
||||
/* EDMarketConnector.py: We don't know where the commander is, when we should; stats.py: Unknown location; In files: EDMarketConnector.py:890; stats.py:307; */
|
||||
"Where are you?!" = "Dove sei finito ?!";
|
||||
|
||||
/* EDMarketConnector.py: We don't know what ship the commander is in, when we should; stats.py: Unknown ship; In files: EDMarketConnector.py:894; stats.py:312; */
|
||||
"What are you flying?!" = "Stai volando ?!";
|
||||
|
||||
/* EDMarketConnector.py: Time when we last obtained Frontier CAPI data; In files: EDMarketConnector.py:1026; */
|
||||
"Last updated at %H:%M:%S" = "Ultimo aggiornamento alle %H:%M:%S";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1052; */
|
||||
"Fighter" = "Cacciatore";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1053; */
|
||||
"Gunner" = "Artigliere";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1054; */
|
||||
"Helm" = "Timoniere";
|
||||
|
||||
/* EDMarketConnector.py: Cooldown on 'Update' button; In files: EDMarketConnector.py:1298; */
|
||||
"cooldown {SS}s" = "disponibile tra {SS} secondi";
|
||||
|
||||
/* EDMarketConnector.py: Generic 'OK' button label; prefs.py: 'OK' button on Settings/Preferences window; In files: EDMarketConnector.py:1407; prefs.py:304; */
|
||||
"OK" = "OK";
|
||||
|
||||
/* EDMarketConnector.py: The application is shutting down; In files: EDMarketConnector.py:1489; */
|
||||
"Shutting down..." = "Spegnimento...";
|
||||
|
||||
/* EDMarketConnector.py: Popup-text about 'active' plugins without Python 3.x support; In files: EDMarketConnector.py:1780:1786; */
|
||||
"One or more of your enabled plugins do not yet have support for Python 3.x. Please see the list on the '{PLUGINS}' tab of '{FILE}' > '{SETTINGS}'. You should check if there is an updated version available, else alert the developer that they need to update the code for Python 3.x.\r\n\r\nYou can disable a plugin by renaming its folder to have '{DISABLED}' on the end of the name." = "Uno o più dei tuoi plugin non ha ancora il supporto per Python 3.x. Per favore guarda la lista '{PLUGINS}' nella tab a '{FILE}' > '{SETTINGS}'. Dovresti controllare se ci sono aggiornamenti, altrimenti avvisa gli sviluppatori che devono aggiornare il codice a Python 3.x.\n\nPuoi disabilitare il plugin rinominando la cartella aggiungendo '{DISABLED}' alla fine del nome.";
|
||||
|
||||
/* EDMarketConnector.py: Settings > Plugins tab; prefs.py: Label on Settings > Plugins tab; In files: EDMarketConnector.py:1790; prefs.py:953; */
|
||||
"Plugins" = "Plugins";
|
||||
|
||||
/* EDMarketConnector.py: Popup window title for list of 'enabled' plugins that don't work with Python 3.x; In files: EDMarketConnector.py:1801; */
|
||||
"EDMC: Plugins Without Python 3.x Support" = "EDMC: Plugins senza Supporto Python 3.x";
|
||||
/* coriolis.py: Settings>Coriolis: Label for selection of using Normal, Beta or 'auto' Coriolis URL; In files: coriolis.py:94; */
|
||||
"Override Beta/Normal Selection" = "Sovrascrivi selezione Beta/Normale";
|
||||
|
||||
/* journal_lock.py: Title text on popup when Journal directory already locked; In files: journal_lock.py:206; */
|
||||
"Journal directory already locked" = "cartella Journal già bloccata";
|
||||
@@ -168,437 +91,506 @@
|
||||
/* journal_lock.py: Generic 'Ignore' button label; In files: journal_lock.py:232; */
|
||||
"Ignore" = "Ignora";
|
||||
|
||||
/* l10n.py: The system default language choice in Settings > Appearance; prefs.py: Settings > Configuration - Label on 'reset journal files location to default' button; prefs.py: The system default language choice in Settings > Appearance; prefs.py: Label for 'Default' theme radio button; In files: l10n.py:194; prefs.py:466; prefs.py:678; prefs.py:711; */
|
||||
/* ttkHyperlinkLabel.py: Label for 'Copy' as in 'Copy and Paste'; EDMarketConnector.py: Label for 'Copy' as in 'Copy and Paste'; In files: ttkHyperlinkLabel.py:42; EDMarketConnector.py:866; */
|
||||
"Copy" = "Copia";
|
||||
|
||||
/* EDMarketConnector.py: Update button in main window; In files: EDMarketConnector.py:529; EDMarketConnector.py:828; EDMarketConnector.py:1520; */
|
||||
"Update" = "Recupera";
|
||||
|
||||
/* EDMarketConnector.py: Appearance - Label for checkbox to select if application always on top; prefs.py: Appearance - Label for checkbox to select if application always on top; In files: EDMarketConnector.py:612; prefs.py:867; */
|
||||
"Always on top" = "Sempre in primo piano";
|
||||
|
||||
/* EDMarketConnector.py: Unknown suit; In files: EDMarketConnector.py:746; */
|
||||
"Unknown" = "Sconosciuto";
|
||||
|
||||
/* EDMarketConnector.py: 'Ship' or multi-crew role label in main window, as applicable; EDMarketConnector.py: Multicrew role label in main window; In files: EDMarketConnector.py:824; EDMarketConnector.py:1279; */
|
||||
"Role" = "Ruolo";
|
||||
|
||||
/* EDMarketConnector.py: 'Ship' or multi-crew role label in main window, as applicable; EDMarketConnector.py: 'Ship' label in main UI; stats.py: Status dialog subtitle; In files: EDMarketConnector.py:824; EDMarketConnector.py:1289; EDMarketConnector.py:1312; stats.py:409; */
|
||||
"Ship" = "Nave";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'Suit' line in main UI; In files: EDMarketConnector.py:825; */
|
||||
"Suit" = "Tuta";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'System' line in main UI; prefs.py: Configuration - Label for selection of 'System' provider website; stats.py: Main window; In files: EDMarketConnector.py:826; prefs.py:607; stats.py:411; */
|
||||
"System" = "Sistema";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'Station' line in main UI; prefs.py: Configuration - Label for selection of 'Station' provider website; prefs.py: Appearance - Example 'Normal' text; stats.py: Status dialog subtitle; In files: EDMarketConnector.py:827; prefs.py:625; prefs.py:762; stats.py:412; */
|
||||
"Station" = "Stazione";
|
||||
|
||||
/* EDMarketConnector.py: 'File' menu title on OSX; EDMarketConnector.py: 'File' menu title; EDMarketConnector.py: 'File' menu; In files: EDMarketConnector.py:830; EDMarketConnector.py:845; EDMarketConnector.py:848; EDMarketConnector.py:2019; */
|
||||
"File" = "File";
|
||||
|
||||
/* EDMarketConnector.py: 'Edit' menu title on OSX; EDMarketConnector.py: 'Edit' menu title; In files: EDMarketConnector.py:831; EDMarketConnector.py:846; EDMarketConnector.py:849; */
|
||||
"Edit" = "Appunti";
|
||||
|
||||
/* EDMarketConnector.py: 'View' menu title on OSX; In files: EDMarketConnector.py:832; */
|
||||
"View" = "Vista";
|
||||
|
||||
/* EDMarketConnector.py: 'Window' menu title on OSX; In files: EDMarketConnector.py:833; */
|
||||
"Window" = "Finestra";
|
||||
|
||||
/* EDMarketConnector.py: Help' menu title on OSX; EDMarketConnector.py: 'Help' menu title; In files: EDMarketConnector.py:834; EDMarketConnector.py:847; EDMarketConnector.py:850; */
|
||||
"Help" = "Guida";
|
||||
|
||||
/* EDMarketConnector.py: App menu entry on OSX; EDMarketConnector.py: Help > About App; In files: EDMarketConnector.py:837; EDMarketConnector.py:863; EDMarketConnector.py:1566; */
|
||||
"About {APP}" = "Informazioni su {APP}";
|
||||
|
||||
/* EDMarketConnector.py: Help > Check for Updates...; In files: EDMarketConnector.py:839; EDMarketConnector.py:862; */
|
||||
"Check for Updates..." = "Controlla aggiornamenti...";
|
||||
|
||||
/* EDMarketConnector.py: File > Save Raw Data...; In files: EDMarketConnector.py:840; EDMarketConnector.py:854; */
|
||||
"Save Raw Data..." = "Salva i Dati Grezzi...";
|
||||
|
||||
/* EDMarketConnector.py: File > Status; stats.py: Status dialog title; In files: EDMarketConnector.py:841; EDMarketConnector.py:853; stats.py:406; */
|
||||
"Status" = "Status";
|
||||
|
||||
/* EDMarketConnector.py: Help > Privacy Policy; In files: EDMarketConnector.py:842; EDMarketConnector.py:860; */
|
||||
"Privacy Policy" = "Informativa sulla privacy";
|
||||
|
||||
/* EDMarketConnector.py: Help > Release Notes; In files: EDMarketConnector.py:843; EDMarketConnector.py:861; EDMarketConnector.py:1600; */
|
||||
"Release Notes" = "Note di rilascio";
|
||||
|
||||
/* EDMarketConnector.py: File > Settings; prefs.py: File > Settings (macOS); In files: EDMarketConnector.py:855; EDMarketConnector.py:2020; prefs.py:255; */
|
||||
"Settings" = "Impostazioni";
|
||||
|
||||
/* EDMarketConnector.py: File > Exit; In files: EDMarketConnector.py:856; */
|
||||
"Exit" = "Esci";
|
||||
|
||||
/* EDMarketConnector.py: Help > Documentation; In files: EDMarketConnector.py:859; */
|
||||
"Documentation" = "Documentazione";
|
||||
|
||||
/* EDMarketConnector.py: Status - Attempting to get a Frontier Auth Access Token; In files: EDMarketConnector.py:872; */
|
||||
"Logging in..." = "Mi sto loggando...";
|
||||
|
||||
/* EDMarketConnector.py: Successfully authenticated with the Frontier website; In files: EDMarketConnector.py:888; EDMarketConnector.py:1431; */
|
||||
"Authentication successful" = "Autenticazione riuscita";
|
||||
|
||||
/* EDMarketConnector.py: Player is not docked at a station, when we expect them to be; In files: EDMarketConnector.py:919; */
|
||||
"You're not docked at a station!" = "Non sei parcheggiato in nessuna stazione !";
|
||||
|
||||
/* EDMarketConnector.py: Status - Either no market or no modules data for station from Frontier CAPI; In files: EDMarketConnector.py:927; */
|
||||
"Station doesn't have anything!" = "La Stazione non ha niente !";
|
||||
|
||||
/* EDMarketConnector.py: Status - No station market data from Frontier CAPI; In files: EDMarketConnector.py:932; */
|
||||
"Station doesn't have a market!" = "La Stazione non ha un Market !";
|
||||
|
||||
/* EDMarketConnector.py: Status - Attempting to retrieve data from Frontier CAPI; In files: EDMarketConnector.py:1006; */
|
||||
"Fetching data..." = "Sto raccogliendo i dati...";
|
||||
|
||||
/* EDMarketConnector.py: We didn't have the commander name when we should have; stats.py: Unknown commander; In files: EDMarketConnector.py:1051; stats.py:335; */
|
||||
"Who are you?!" = "Chi sei ?!";
|
||||
|
||||
/* EDMarketConnector.py: We don't know where the commander is, when we should; stats.py: Unknown location; In files: EDMarketConnector.py:1057; stats.py:345; */
|
||||
"Where are you?!" = "Dove sei finito ?!";
|
||||
|
||||
/* EDMarketConnector.py: We don't know what ship the commander is in, when we should; stats.py: Unknown ship; In files: EDMarketConnector.py:1064; stats.py:353; */
|
||||
"What are you flying?!" = "Stai volando ?!";
|
||||
|
||||
/* EDMarketConnector.py: Frontier CAPI server error when fetching data; In files: EDMarketConnector.py:1176; */
|
||||
"Frontier CAPI server error" = "Errore nel server Frontier CAPI";
|
||||
|
||||
/* EDMarketConnector.py: Time when we last obtained Frontier CAPI data; In files: EDMarketConnector.py:1226; */
|
||||
"Last updated at %H:%M:%S" = "Ultimo aggiornamento alle %H:%M:%S";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1254; */
|
||||
"Fighter" = "Cacciatore";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1255; */
|
||||
"Gunner" = "Artigliere";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1256; */
|
||||
"Helm" = "Timoniere";
|
||||
|
||||
/* EDMarketConnector.py: Cooldown on 'Update' button; In files: EDMarketConnector.py:1514; */
|
||||
"cooldown {SS}s" = "disponibile tra {SS} secondi";
|
||||
|
||||
/* EDMarketConnector.py: Generic 'OK' button label; prefs.py: 'OK' button on Settings/Preferences window; In files: EDMarketConnector.py:1626; prefs.py:306; */
|
||||
"OK" = "OK";
|
||||
|
||||
/* EDMarketConnector.py: The application is shutting down; In files: EDMarketConnector.py:1693; */
|
||||
"Shutting down..." = "Spegnimento...";
|
||||
|
||||
/* EDMarketConnector.py: Popup-text about 'active' plugins without Python 3.x support; In files: EDMarketConnector.py:2008:2014; */
|
||||
"One or more of your enabled plugins do not yet have support for Python 3.x. Please see the list on the '{PLUGINS}' tab of '{FILE}' > '{SETTINGS}'. You should check if there is an updated version available, else alert the developer that they need to update the code for Python 3.x.\r\n\r\nYou can disable a plugin by renaming its folder to have '{DISABLED}' on the end of the name." = "Uno o più dei tuoi plugin non ha ancora il supporto per Python 3.x. Per favore guarda la lista '{PLUGINS}' nella tab a '{FILE}' > '{SETTINGS}'. Dovresti controllare se ci sono aggiornamenti, altrimenti avvisa gli sviluppatori che devono aggiornare il codice a Python 3.x.\n\nPuoi disabilitare il plugin rinominando la cartella aggiungendo '{DISABLED}' alla fine del nome.";
|
||||
|
||||
/* EDMarketConnector.py: Settings > Plugins tab; prefs.py: Label on Settings > Plugins tab; In files: EDMarketConnector.py:2018; prefs.py:978; */
|
||||
"Plugins" = "Plugins";
|
||||
|
||||
/* EDMarketConnector.py: Popup window title for list of 'enabled' plugins that don't work with Python 3.x; In files: EDMarketConnector.py:2029; */
|
||||
"EDMC: Plugins Without Python 3.x Support" = "EDMC: Plugins senza Supporto Python 3.x";
|
||||
|
||||
/* companion.py: Frontier CAPI data doesn't agree with latest Journal game location; In files: companion.py:237; */
|
||||
"Error: Frontier server is lagging" = "Errore: il server Frontier sta laggando";
|
||||
|
||||
/* companion.py: Generic "something went wrong with Frontier Auth" error; In files: companion.py:263; */
|
||||
"Error: Invalid Credentials" = "Errore: Credenziali non valide";
|
||||
|
||||
/* companion.py: Frontier CAPI authorisation not for currently game-active commander; In files: companion.py:288; */
|
||||
"Error: Wrong Cmdr" = "Errore: Cmdr sbagliato";
|
||||
|
||||
/* companion.py: Generic error prefix - following text is from Frontier auth service; In files: companion.py:414; companion.py:499; */
|
||||
"Error" = "Errore";
|
||||
|
||||
/* l10n.py: The system default language choice in Settings > Appearance; prefs.py: Settings > Configuration - Label on 'reset journal files location to default' button; prefs.py: The system default language choice in Settings > Appearance; prefs.py: Label for 'Default' theme radio button; In files: l10n.py:194; prefs.py:468; prefs.py:702; prefs.py:735; */
|
||||
"Default" = "Predefinito";
|
||||
|
||||
/* coriolis.py: 'Auto' label for Coriolis site override selection; coriolis.py: Coriolis normal/beta selection - auto; In files: coriolis.py:52; coriolis.py:55; coriolis.py:101; coriolis.py:117; coriolis.py:123; */
|
||||
"Auto" = "Auto";
|
||||
|
||||
/* coriolis.py: 'Normal' label for Coriolis site override selection; coriolis.py: Coriolis normal/beta selection - normal; In files: coriolis.py:53; coriolis.py:99; coriolis.py:115; */
|
||||
"Normal" = "Normale";
|
||||
|
||||
/* coriolis.py: 'Beta' label for Coriolis site override selection; coriolis.py: Coriolis normal/beta selection - beta; In files: coriolis.py:54; coriolis.py:100; coriolis.py:116; */
|
||||
"Beta" = "Beta";
|
||||
|
||||
/* coriolis.py: Settings>Coriolis: Label for 'NOT alpha/beta game version' URL; In files: coriolis.py:75; */
|
||||
"Normal URL" = "URL normale";
|
||||
|
||||
/* coriolis.py: Generic 'Reset' button label; In files: coriolis.py:78; coriolis.py:87; */
|
||||
"Reset" = "Reimposta";
|
||||
|
||||
/* coriolis.py: Settings>Coriolis: Label for 'alpha/beta game version' URL; In files: coriolis.py:84; */
|
||||
"Beta URL" = "URL Beta";
|
||||
|
||||
/* coriolis.py: Settings>Coriolis: Label for selection of using Normal, Beta or 'auto' Coriolis URL; In files: coriolis.py:94; */
|
||||
"Override Beta/Normal Selection" = "Sovrascrivi selezione Beta/Normale";
|
||||
|
||||
/* eddb.py: Journal Processing disabled due to an active killswitch; In files: eddb.py:100; */
|
||||
"EDDB Journal processing disabled. See Log." = "Elaborazione di EDDB Journal disabilitata. Guarda il Log.";
|
||||
|
||||
/* eddn.py: Status text shown while attempting to send data; In files: eddn.py:215; eddn.py:619; eddn.py:969; */
|
||||
"Sending data to EDDN..." = "Sto inviando i dati a EDDN...";
|
||||
|
||||
/* eddn.py: Error while trying to send data to EDDN; In files: eddn.py:264; eddn.py:907; eddn.py:942; eddn.py:981; */
|
||||
"Error: Can't connect to EDDN" = "Errore: Non riesco a connettermi a EDDN";
|
||||
|
||||
/* eddn.py: Enable EDDN support for station data checkbox label; In files: eddn.py:699; */
|
||||
"Send station data to the Elite Dangerous Data Network" = "Manda i dati della stazione a Elite Dangerous Data Network";
|
||||
|
||||
/* eddn.py: Enable EDDN support for system and other scan data checkbox label; In files: eddn.py:710; */
|
||||
"Send system and scan data to the Elite Dangerous Data Network" = "Manda il sistema e i dati scansionati a EDDN";
|
||||
|
||||
/* eddn.py: EDDN delay sending until docked option is on, this message notes that a send was skipped due to this; In files: eddn.py:721; */
|
||||
"Delay sending until docked" = "Ritarda l'invio fino a che si è ormeggiati";
|
||||
|
||||
/* edsm.py: Settings>EDSM - Label on checkbox for 'send data'; In files: edsm.py:198; */
|
||||
"Send flight log and Cmdr status to EDSM" = "Manda il flight log e lo stato Cmdr a EDSM";
|
||||
|
||||
/* edsm.py: Settings>EDSM - Label on header/URL to EDSM API key page; In files: edsm.py:208; */
|
||||
"Elite Dangerous Star Map credentials" = "Credenziali per Elite Dangerous Star Map";
|
||||
|
||||
/* edsm.py: EDSM Commander name label in EDSM settings; In files: edsm.py:227; */
|
||||
"Commander Name" = "Nome Commandante";
|
||||
|
||||
/* edsm.py: EDSM API key label; inara.py: Inara API key label; In files: edsm.py:235; inara.py:237; */
|
||||
"API Key" = "API Key";
|
||||
|
||||
/* edsm.py: We have no data on the current commander; prefs.py: No hotkey/shortcut set; stats.py: No rank; In files: edsm.py:262; prefs.py:518; prefs.py:1156; prefs.py:1189; stats.py:117; stats.py:136; stats.py:155; stats.py:172; */
|
||||
"None" = "Nessuna";
|
||||
|
||||
/* edsm.py: EDSM Plugin - Error message from EDSM API; In files: edsm.py:640; edsm.py:745; */
|
||||
"Error: EDSM {MSG}" = "Errore: EDSM {MSG}";
|
||||
|
||||
/* edsm.py: EDSM Plugin - Error connecting to EDSM API; In files: edsm.py:677; edsm.py:740; */
|
||||
"Error: Can't connect to EDSM" = "Errore: Non riesco a connettermi a EDSM";
|
||||
|
||||
/* inara.py: Checkbox to enable INARA API Usage; In files: inara.py:216; */
|
||||
"Send flight log and Cmdr status to Inara" = "Manda il flight log e lo stato Cmdr a Inara";
|
||||
|
||||
/* inara.py: Text for INARA API keys link ( goes to https://inara.cz/settings-api ); In files: inara.py:228; */
|
||||
"Inara credentials" = "Credenziali per Inara";
|
||||
|
||||
/* inara.py: INARA support disabled via killswitch; In files: inara.py:335; */
|
||||
"Inara disabled. See Log." = "Inara disabilitato. Vedi il Log.";
|
||||
|
||||
|
||||
/* Raised when the Companion API server thinks that the user has not purchased E:D. i.e. doesn't have the correct 'SKU'. [companion.py] */
|
||||
"Error: Frontier server SKU problem" = "Errore: il server Frontier ha un problema SKU";
|
||||
/* inara.py: INARA API returned some kind of error (error message will be contained in {MSG}); In files: inara.py:1549; inara.py:1562; */
|
||||
"Error: Inara {MSG}" = "Errore: Inara {MSG}";
|
||||
|
||||
/* prefs.py: File > Preferences menu entry for macOS; In files: prefs.py:250; */
|
||||
/* prefs.py: File > Preferences menu entry for macOS; In files: prefs.py:251; */
|
||||
"Preferences" = "Preferenze";
|
||||
|
||||
/* prefs.py: Settings > Output - choosing what data to save to files; In files: prefs.py:346; */
|
||||
/* prefs.py: Settings > Output - choosing what data to save to files; In files: prefs.py:348; */
|
||||
"Please choose what data to save" = "Si prega di scegliere che dati salvare";
|
||||
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:352; */
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:354; */
|
||||
"Market data in CSV format file" = "Market data in formato CSV";
|
||||
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:361; */
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:363; */
|
||||
"Market data in Trade Dangerous format file" = "Market data in formato Trade Dangerous";
|
||||
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:371; */
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:373; */
|
||||
"Ship loadout" = "Equipaggiamento della nave";
|
||||
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:381; */
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:383; */
|
||||
"Automatically update on docking" = "Auto-aggiornamento all'ormeggio";
|
||||
|
||||
/* prefs.py: Settings > Output - Label for "where files are located"; In files: prefs.py:390; prefs.py:409; */
|
||||
/* prefs.py: Settings > Output - Label for "where files are located"; In files: prefs.py:392; prefs.py:411; */
|
||||
"File location" = "Percorso del file";
|
||||
|
||||
/* prefs.py: macOS Preferences - files location selection button; In files: prefs.py:398; prefs.py:448; */
|
||||
/* prefs.py: macOS Preferences - files location selection button; In files: prefs.py:400; prefs.py:450; */
|
||||
"Change..." = "Cambia...";
|
||||
|
||||
/* prefs.py: NOT-macOS Settings - files location selection button; prefs.py: NOT-macOS Setting - files location selection button; In files: prefs.py:401; prefs.py:451; */
|
||||
/* prefs.py: NOT-macOS Settings - files location selection button; prefs.py: NOT-macOS Setting - files location selection button; In files: prefs.py:403; prefs.py:453; */
|
||||
"Browse..." = "Sfoglia...";
|
||||
|
||||
/* prefs.py: Label for 'Output' Settings/Preferences tab; In files: prefs.py:416; */
|
||||
/* prefs.py: Label for 'Output' Settings/Preferences tab; In files: prefs.py:418; */
|
||||
"Output" = "Output";
|
||||
|
||||
/* prefs.py: Settings > Configuration - Label for Journal files location; In files: prefs.py:442; prefs.py:457; */
|
||||
/* prefs.py: Settings > Configuration - Label for Journal files location; In files: prefs.py:444; prefs.py:459; */
|
||||
"E:D journal file location" = "locazione del file E:D journal";
|
||||
|
||||
/* prefs.py: Hotkey/Shortcut settings prompt on OSX; In files: prefs.py:482; */
|
||||
/* prefs.py: Hotkey/Shortcut settings prompt on OSX; In files: prefs.py:484; */
|
||||
"Keyboard shortcut" = "Scorciatoia di tastiera";
|
||||
|
||||
/* prefs.py: Hotkey/Shortcut settings prompt on Windows; In files: prefs.py:484; */
|
||||
/* prefs.py: Hotkey/Shortcut settings prompt on Windows; In files: prefs.py:486; */
|
||||
"Hotkey" = "Hotkey";
|
||||
|
||||
/* prefs.py: macOS Preferences > Configuration - restart the app message; In files: prefs.py:493; */
|
||||
/* prefs.py: macOS Preferences > Configuration - restart the app message; In files: prefs.py:495; */
|
||||
"Re-start {APP} to use shortcuts" = "Riavvia {APP} per usare le scorciatoie";
|
||||
|
||||
/* prefs.py: macOS - Configuration - need to grant the app permission for keyboard shortcuts; In files: prefs.py:502; */
|
||||
/* prefs.py: macOS - Configuration - need to grant the app permission for keyboard shortcuts; In files: prefs.py:504; */
|
||||
"{APP} needs permission to use shortcuts" = "{APP} ha bisogno dei permessi per usare le scorciatoie";
|
||||
|
||||
/* prefs.py: Shortcut settings button on OSX; In files: prefs.py:507; */
|
||||
/* prefs.py: Shortcut settings button on OSX; In files: prefs.py:509; */
|
||||
"Open System Preferences" = "Apri Preferenze di Sistema";
|
||||
|
||||
/* prefs.py: Configuration - Act on hotkey only when ED is in foreground; In files: prefs.py:529; */
|
||||
/* prefs.py: Configuration - Act on hotkey only when ED is in foreground; In files: prefs.py:531; */
|
||||
"Only when Elite: Dangerous is the active app" = "Solo quando “Elite: Dangerous” è in primo piano";
|
||||
|
||||
/* prefs.py: Configuration - play sound when hotkey used; In files: prefs.py:540; */
|
||||
/* prefs.py: Configuration - play sound when hotkey used; In files: prefs.py:542; */
|
||||
"Play sound" = "Notifica sonora";
|
||||
|
||||
/* prefs.py: Configuration - disable checks for app updates when in-game; In files: prefs.py:555; */
|
||||
/* prefs.py: Configuration - disable checks for app updates when in-game; In files: prefs.py:557; */
|
||||
"Disable Automatic Application Updates Check when in-game" = "Disabilita gli aggiornamenti automatici quando sei in-game";
|
||||
|
||||
/* prefs.py: Label for preferred shipyard, system and station 'providers'; In files: prefs.py:568; */
|
||||
/* prefs.py: Label for preferred shipyard, system and station 'providers'; In files: prefs.py:570; */
|
||||
"Preferred websites" = "Sito web preferito";
|
||||
|
||||
/* prefs.py: Label for Shipyard provider selection; In files: prefs.py:579; */
|
||||
/* prefs.py: Label for Shipyard provider selection; In files: prefs.py:581; */
|
||||
"Shipyard" = "Spazioporto";
|
||||
|
||||
/* prefs.py: Label for checkbox to utilise alternative Coriolis URL method; In files: prefs.py:591; */
|
||||
/* prefs.py: Label for checkbox to utilise alternative Coriolis URL method; In files: prefs.py:593; */
|
||||
"Use alternate URL method" = "Usare metodo URL alternativo";
|
||||
|
||||
/* prefs.py: Configuration - Label for selection of Log Level; In files: prefs.py:644; */
|
||||
/* prefs.py: Configuration - Label for selection of Log Level; In files: prefs.py:646; */
|
||||
"Log Level" = "Livello di Log";
|
||||
|
||||
/* prefs.py: Label for 'Configuration' tab in Settings; In files: prefs.py:672; */
|
||||
/* prefs.py: Label for 'Configuration' tab in Settings; In files: prefs.py:674; */
|
||||
"Configuration" = "Configurazione";
|
||||
|
||||
/* prefs.py: Label for Settings > Appeareance > selection of 'normal' text colour; In files: prefs.py:685; */
|
||||
/* prefs.py: Preferences privacy tab title; In files: prefs.py:696; */
|
||||
"Privacy" = "Dati personali";
|
||||
|
||||
/* prefs.py: Label for Settings > Appeareance > selection of 'normal' text colour; In files: prefs.py:709; */
|
||||
"Normal text" = "Testo normale";
|
||||
|
||||
/* prefs.py: Label for Settings > Appeareance > selection of 'highlightes' text colour; In files: prefs.py:687; */
|
||||
/* prefs.py: Label for Settings > Appeareance > selection of 'highlightes' text colour; In files: prefs.py:711; */
|
||||
"Highlighted text" = "Testo evidenziato";
|
||||
|
||||
/* prefs.py: Appearance - Label for selection of application display language; In files: prefs.py:696; */
|
||||
/* prefs.py: Appearance - Label for selection of application display language; In files: prefs.py:720; */
|
||||
"Language" = "Lingua";
|
||||
|
||||
/* prefs.py: Label for Settings > Appearance > Theme selection; In files: prefs.py:706; */
|
||||
/* prefs.py: Label for Settings > Appearance > Theme selection; In files: prefs.py:730; */
|
||||
"Theme" = "Tema";
|
||||
|
||||
/* prefs.py: Label for 'Dark' theme radio button; In files: prefs.py:717; */
|
||||
/* prefs.py: Label for 'Dark' theme radio button; In files: prefs.py:741; */
|
||||
"Dark" = "Scuro";
|
||||
|
||||
/* prefs.py: Label for 'Transparent' theme radio button; In files: prefs.py:724; */
|
||||
/* prefs.py: Label for 'Transparent' theme radio button; In files: prefs.py:748; */
|
||||
"Transparent" = "Trasparente";
|
||||
|
||||
/* prefs.py: Appearance - Label for selection of UI scaling; In files: prefs.py:770; */
|
||||
/* prefs.py: Appearance - Label for selection of UI scaling; In files: prefs.py:794; */
|
||||
"UI Scale Percentage" = "Percentuale zoom della UI";
|
||||
|
||||
/* prefs.py: Appearance - Help/hint text for UI scaling selection; In files: prefs.py:791; */
|
||||
/* prefs.py: Appearance - Help/hint text for UI scaling selection; In files: prefs.py:815; */
|
||||
"100 means Default{CR}Restart Required for{CR}changes to take effect!" = "100 significa Default{CR}Riavvio Richiesto per{CR}applicare i cambiamenti!";
|
||||
|
||||
/* prefs.py: Appearance - Label for selection of main window transparency; In files: prefs.py:801; */
|
||||
/* prefs.py: Appearance - Label for selection of main window transparency; In files: prefs.py:825; */
|
||||
"Main window transparency" = "Trasparenza della finestra principale";
|
||||
|
||||
/* prefs.py: Appearance - Help/hint text for Main window transparency selection; In files: prefs.py:821:824; */
|
||||
/* prefs.py: Appearance - Help/hint text for Main window transparency selection; In files: prefs.py:845:848; */
|
||||
"100 means fully opaque.{CR}Window is updated in real time" = "100 stà per completamente opaco.{CR}Finestra è aggiornata in tempo reale";
|
||||
|
||||
/* prefs.py: Label for Settings > Appearance tab; In files: prefs.py:860; */
|
||||
/* prefs.py: Appearance option for Windows "minimize to system tray"; In files: prefs.py:877; */
|
||||
"Minimize to system tray" = "Riduci a icona nel Vassoio di sistema";
|
||||
|
||||
/* prefs.py: Label for Settings > Appearance tab; In files: prefs.py:885; */
|
||||
"Appearance" = "Aspetto";
|
||||
|
||||
/* prefs.py: Label for location of third-party plugins folder; In files: prefs.py:875; */
|
||||
/* prefs.py: Label for location of third-party plugins folder; In files: prefs.py:900; */
|
||||
"Plugins folder" = "Cartella dei plugins";
|
||||
|
||||
/* prefs.py: Label on button used to open a filesystem folder; In files: prefs.py:882; */
|
||||
/* prefs.py: Label on button used to open a filesystem folder; In files: prefs.py:907; */
|
||||
"Open" = "Apri";
|
||||
|
||||
/* prefs.py: Tip/label about how to disable plugins; In files: prefs.py:890; */
|
||||
/* prefs.py: Tip/label about how to disable plugins; In files: prefs.py:915; */
|
||||
"Tip: You can disable a plugin by{CR}adding '{EXT}' to its folder name" = "Suggerimento: è possibile disabilitare un plugin {CR}aggiungendo '{EXT}' nel nome della sua cartella";
|
||||
|
||||
/* prefs.py: Label on list of enabled plugins; In files: prefs.py:901; */
|
||||
/* prefs.py: Label on list of enabled plugins; In files: prefs.py:926; */
|
||||
"Enabled Plugins" = "Plugin abilitati";
|
||||
|
||||
/* prefs.py: Plugins - Label for list of 'enabled' plugins that don't work with Python 3.x; In files: prefs.py:921; */
|
||||
/* prefs.py: Plugins - Label for list of 'enabled' plugins that don't work with Python 3.x; In files: prefs.py:946; */
|
||||
"Plugins Without Python 3.x Support:" = "Plugin senza il supporto a Python 3.x :";
|
||||
|
||||
/* prefs.py: Plugins - Label on URL to documentation about migrating plugins from Python 2.7; In files: prefs.py:929; */
|
||||
/* prefs.py: Plugins - Label on URL to documentation about migrating plugins from Python 2.7; In files: prefs.py:954; */
|
||||
"Information on migrating plugins" = "Informazioni sulla migrazione dei plugins";
|
||||
|
||||
/* prefs.py: Lable on list of user-disabled plugins; In files: prefs.py:944; */
|
||||
/* prefs.py: Lable on list of user-disabled plugins; In files: prefs.py:969; */
|
||||
"Disabled Plugins" = "Plugin disabilitati";
|
||||
|
||||
/* stats.py: Cmdr stats; In files: stats.py:51; */
|
||||
/* stats.py: Cmdr stats; In files: stats.py:60; */
|
||||
"Balance" = "Saldo";
|
||||
|
||||
/* stats.py: Cmdr stats; In files: stats.py:52; */
|
||||
/* stats.py: Cmdr stats; In files: stats.py:61; */
|
||||
"Loan" = "Prestito";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:57; */
|
||||
"Combat" = "Combat";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:58; */
|
||||
"Trade" = "Trade";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:59; */
|
||||
"Explorer" = "Explorer";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:60; */
|
||||
"CQC" = "CQC";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:61; */
|
||||
"Federation" = "Federazione";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:62; */
|
||||
"Empire" = "Impero";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:63; */
|
||||
"Powerplay" = "Powerplay";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:71; */
|
||||
"Harmless" = "Harmless";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:72; */
|
||||
"Mostly Harmless" = "Mostly Harmless";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:73; */
|
||||
"Novice" = "Novice";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:74; */
|
||||
"Competent" = "Competent";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:75; */
|
||||
"Expert" = "Expert";
|
||||
|
||||
/* stats.py: Combat rank; stats.py: Empire rank; In files: stats.py:76; stats.py:139; */
|
||||
"Master" = "Master";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:77; */
|
||||
"Dangerous" = "Dangerous";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:78; */
|
||||
"Deadly" = "Deadly";
|
||||
|
||||
/* stats.py: Top rank; In files: stats.py:79; stats.py:90; stats.py:101; stats.py:112; */
|
||||
/* stats.py: Top rank; In files: stats.py:65; */
|
||||
"Elite" = "Elite";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:82; */
|
||||
/* stats.py: Ranking; In files: stats.py:76; */
|
||||
"Combat" = "Combat";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:77; */
|
||||
"Trade" = "Trade";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:78; */
|
||||
"Explorer" = "Explorer";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:81; */
|
||||
"CQC" = "CQC";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:82; */
|
||||
"Federation" = "Federazione";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:83; */
|
||||
"Empire" = "Impero";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:84; */
|
||||
"Powerplay" = "Powerplay";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:93; */
|
||||
"Harmless" = "Harmless";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:94; */
|
||||
"Mostly Harmless" = "Mostly Harmless";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:95; */
|
||||
"Novice" = "Novice";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:96; */
|
||||
"Competent" = "Competent";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:97; */
|
||||
"Expert" = "Expert";
|
||||
|
||||
/* stats.py: Combat rank; stats.py: Empire rank; In files: stats.py:98; stats.py:178; */
|
||||
"Master" = "Master";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:99; */
|
||||
"Dangerous" = "Dangerous";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:100; */
|
||||
"Deadly" = "Deadly";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:103; */
|
||||
"Penniless" = "Penniless";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:83; */
|
||||
/* stats.py: Trade rank; In files: stats.py:104; */
|
||||
"Mostly Penniless" = "Mostly Penniless";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:84; */
|
||||
/* stats.py: Trade rank; In files: stats.py:105; */
|
||||
"Peddler" = "Peddler";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:85; */
|
||||
/* stats.py: Trade rank; In files: stats.py:106; */
|
||||
"Dealer" = "Dealer";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:86; */
|
||||
/* stats.py: Trade rank; In files: stats.py:107; */
|
||||
"Merchant" = "Merchant";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:87; */
|
||||
/* stats.py: Trade rank; In files: stats.py:108; */
|
||||
"Broker" = "Broker";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:88; */
|
||||
/* stats.py: Trade rank; In files: stats.py:109; */
|
||||
"Entrepreneur" = "Entrepreneur";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:89; */
|
||||
/* stats.py: Trade rank; In files: stats.py:110; */
|
||||
"Tycoon" = "Tycoon";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:93; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:113; */
|
||||
"Aimless" = "Aimless";
|
||||
|
||||
|
||||
/* Appearance setting. [EDMarketConnector.py] */
|
||||
"Minimize to system tray" = "Riduci a icona nel Vassoio di sistema";
|
||||
/* stats.py: Explorer rank; In files: stats.py:94; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:114; */
|
||||
"Mostly Aimless" = "Mostly Aimless";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:95; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:115; */
|
||||
"Scout" = "Scout";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:96; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:116; */
|
||||
"Surveyor" = "Surveyor";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:97; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:117; */
|
||||
"Trailblazer" = "Trailblazer";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:98; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:118; */
|
||||
"Pathfinder" = "Pathfinder";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:99; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:119; */
|
||||
"Ranger" = "Ranger";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:100; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:120; */
|
||||
"Pioneer" = "Pioneer";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:104; */
|
||||
/* stats.py: CQC rank; In files: stats.py:144; */
|
||||
"Helpless" = "Helpless";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:105; */
|
||||
/* stats.py: CQC rank; In files: stats.py:145; */
|
||||
"Mostly Helpless" = "Mostly Helpless";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:106; */
|
||||
/* stats.py: CQC rank; In files: stats.py:146; */
|
||||
"Amateur" = "Amateur";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:107; */
|
||||
/* stats.py: CQC rank; In files: stats.py:147; */
|
||||
"Semi Professional" = "Semi Professional";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:108; */
|
||||
/* stats.py: CQC rank; In files: stats.py:148; */
|
||||
"Professional" = "Professional";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:109; */
|
||||
/* stats.py: CQC rank; In files: stats.py:149; */
|
||||
"Champion" = "Champion";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:110; */
|
||||
/* stats.py: CQC rank; In files: stats.py:150; */
|
||||
"Hero" = "Hero";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:111; */
|
||||
/* stats.py: CQC rank; In files: stats.py:151; */
|
||||
"Gladiator" = "Gladiator";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:118; */
|
||||
/* stats.py: Federation rank; In files: stats.py:157; */
|
||||
"Recruit" = "Recruit";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:119; */
|
||||
/* stats.py: Federation rank; In files: stats.py:158; */
|
||||
"Cadet" = "Cadet";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:120; */
|
||||
/* stats.py: Federation rank; In files: stats.py:159; */
|
||||
"Midshipman" = "Midshipman";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:121; */
|
||||
/* stats.py: Federation rank; In files: stats.py:160; */
|
||||
"Petty Officer" = "Petty Officer";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:122; */
|
||||
/* stats.py: Federation rank; In files: stats.py:161; */
|
||||
"Chief Petty Officer" = "Chief Petty Officer";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:123; */
|
||||
/* stats.py: Federation rank; In files: stats.py:162; */
|
||||
"Warrant Officer" = "Warrant Officer";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:124; */
|
||||
/* stats.py: Federation rank; In files: stats.py:163; */
|
||||
"Ensign" = "Ensign";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:125; */
|
||||
/* stats.py: Federation rank; In files: stats.py:164; */
|
||||
"Lieutenant" = "Lieutenant";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:126; */
|
||||
/* stats.py: Federation rank; In files: stats.py:165; */
|
||||
"Lieutenant Commander" = "Lieutenant Commander";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:127; */
|
||||
/* stats.py: Federation rank; In files: stats.py:166; */
|
||||
"Post Commander" = "Post Commander";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:128; */
|
||||
/* stats.py: Federation rank; In files: stats.py:167; */
|
||||
"Post Captain" = "Post Captain";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:129; */
|
||||
/* stats.py: Federation rank; In files: stats.py:168; */
|
||||
"Rear Admiral" = "Rear Admiral";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:130; */
|
||||
/* stats.py: Federation rank; In files: stats.py:169; */
|
||||
"Vice Admiral" = "Vice Admiral";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:131; */
|
||||
/* stats.py: Federation rank; In files: stats.py:170; */
|
||||
"Admiral" = "Admiral";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:137; */
|
||||
/* stats.py: Empire rank; In files: stats.py:176; */
|
||||
"Outsider" = "Outsider";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:138; */
|
||||
/* stats.py: Empire rank; In files: stats.py:177; */
|
||||
"Serf" = "Serf";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:140; */
|
||||
/* stats.py: Empire rank; In files: stats.py:179; */
|
||||
"Squire" = "Squire";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:141; */
|
||||
/* stats.py: Empire rank; In files: stats.py:180; */
|
||||
"Knight" = "Knight";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:142; */
|
||||
/* stats.py: Empire rank; In files: stats.py:181; */
|
||||
"Lord" = "Lord";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:143; */
|
||||
/* stats.py: Empire rank; In files: stats.py:182; */
|
||||
"Baron" = "Baron";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:144; */
|
||||
/* stats.py: Empire rank; In files: stats.py:183; */
|
||||
"Viscount" = "Viscount";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:145; */
|
||||
/* stats.py: Empire rank; In files: stats.py:184; */
|
||||
"Count" = "Count";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:146; */
|
||||
/* stats.py: Empire rank; In files: stats.py:185; */
|
||||
"Earl" = "Earl";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:147; */
|
||||
/* stats.py: Empire rank; In files: stats.py:186; */
|
||||
"Marquis" = "Marquis";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:148; */
|
||||
/* stats.py: Empire rank; In files: stats.py:187; */
|
||||
"Duke" = "Duke";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:149; */
|
||||
/* stats.py: Empire rank; In files: stats.py:188; */
|
||||
"Prince" = "Prince";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:150; */
|
||||
/* stats.py: Empire rank; In files: stats.py:189; */
|
||||
"King" = "King";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:156; */
|
||||
/* stats.py: Power rank; In files: stats.py:195; */
|
||||
"Rating 1" = "Rating 1";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:157; */
|
||||
/* stats.py: Power rank; In files: stats.py:196; */
|
||||
"Rating 2" = "Rating 2";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:158; */
|
||||
/* stats.py: Power rank; In files: stats.py:197; */
|
||||
"Rating 3" = "Rating 3";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:159; */
|
||||
/* stats.py: Power rank; In files: stats.py:198; */
|
||||
"Rating 4" = "Rating 4";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:160; */
|
||||
/* stats.py: Power rank; In files: stats.py:199; */
|
||||
"Rating 5" = "Rating 5";
|
||||
|
||||
/* stats.py: Status dialog subtitle - CR value of ship; In files: stats.py:367; */
|
||||
/* stats.py: Status dialog subtitle - CR value of ship; In files: stats.py:413; */
|
||||
"Value" = "Valore";
|
||||
|
||||
/* stats.py: Status dialog title; In files: stats.py:376; */
|
||||
/* stats.py: Status dialog title; In files: stats.py:422; */
|
||||
"Ships" = "Navi";
|
||||
+487
-387
File diff suppressed because it is too large.
Load diff
+414
-389
File diff suppressed because it is too large.
Load diff
+274
-274
@@ -1,482 +1,482 @@
|
||||
/* Language name */
|
||||
"!Language" = "Latviešu";
|
||||
|
||||
|
||||
/* OLD: Raised when cannot contact the Companion API server. [companion.py] */
|
||||
"Error: Frontier server is down" = "Kļūda: Frontier serveris nav aktīvs";
|
||||
/* companion.py: Frontier CAPI data doesn't agree with latest Journal game location; In files: companion.py:190; */
|
||||
"Error: Frontier server is lagging" = "Kļūda: Frontier serveris aizkavējas";
|
||||
|
||||
/* companion.py: Generic "something went wrong with Frontier Auth" error; In files: companion.py:214; */
|
||||
"Error: Invalid Credentials" = "Kļūda: Nederīga lietotāja informācija";
|
||||
|
||||
/* EDMarketConnector.py: Update button in main window; In files: EDMarketConnector.py:424; EDMarketConnector.py:718; EDMarketConnector.py:1302; */
|
||||
"Update" = "Atjaunināt";
|
||||
|
||||
/* EDMarketConnector.py: Appearance - Label for checkbox to select if application always on top; prefs.py: Appearance - Label for checkbox to select if application always on top; In files: EDMarketConnector.py:507; prefs.py:843; */
|
||||
"Always on top" = "Vienmēr virspusē";
|
||||
|
||||
/* EDMarketConnector.py: Label for commander name in main window; edsm.py: Game Commander name label in EDSM settings; stats.py: Cmdr stats; theme.py: Label for commander name in main window; In files: EDMarketConnector.py:712; edsm.py:219; stats.py:50; theme.py:227; */
|
||||
"Cmdr" = "Cmdr";
|
||||
|
||||
/* EDMarketConnector.py: 'Ship' or multi-crew role label in main window, as applicable; EDMarketConnector.py: Multicrew role label in main window; In files: EDMarketConnector.py:714; EDMarketConnector.py:1072; */
|
||||
"Role" = "Loma";
|
||||
|
||||
/* EDMarketConnector.py: 'Ship' or multi-crew role label in main window, as applicable; EDMarketConnector.py: 'Ship' label in main UI; stats.py: Status dialog subtitle; In files: EDMarketConnector.py:714; EDMarketConnector.py:1082; EDMarketConnector.py:1105; stats.py:363; */
|
||||
"Ship" = "Kuģis";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'System' line in main UI; prefs.py: Configuration - Label for selection of 'System' provider website; stats.py: Main window; In files: EDMarketConnector.py:716; prefs.py:605; stats.py:365; */
|
||||
"System" = "Sistēma";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'Station' line in main UI; prefs.py: Configuration - Label for selection of 'Station' provider website; prefs.py: Appearance - Example 'Normal' text; stats.py: Status dialog subtitle; In files: EDMarketConnector.py:717; prefs.py:623; prefs.py:738; stats.py:366; */
|
||||
"Station" = "Stacija";
|
||||
|
||||
/* EDMarketConnector.py: 'File' menu title on OSX; EDMarketConnector.py: 'File' menu title; EDMarketConnector.py: 'File' menu; In files: EDMarketConnector.py:720; EDMarketConnector.py:735; EDMarketConnector.py:738; EDMarketConnector.py:1791; */
|
||||
"File" = "Fails";
|
||||
|
||||
/* EDMarketConnector.py: 'Edit' menu title on OSX; EDMarketConnector.py: 'Edit' menu title; In files: EDMarketConnector.py:721; EDMarketConnector.py:736; EDMarketConnector.py:739; */
|
||||
"Edit" = "Labot";
|
||||
|
||||
/* EDMarketConnector.py: 'View' menu title on OSX; In files: EDMarketConnector.py:722; */
|
||||
"View" = "Skats";
|
||||
|
||||
/* EDMarketConnector.py: 'Window' menu title on OSX; In files: EDMarketConnector.py:723; */
|
||||
"Window" = "Logs";
|
||||
|
||||
/* EDMarketConnector.py: Help' menu title on OSX; EDMarketConnector.py: 'Help' menu title; In files: EDMarketConnector.py:724; EDMarketConnector.py:737; EDMarketConnector.py:740; */
|
||||
"Help" = "Palīdzība";
|
||||
|
||||
/* EDMarketConnector.py: App menu entry on OSX; EDMarketConnector.py: Help > About App; In files: EDMarketConnector.py:727; EDMarketConnector.py:753; EDMarketConnector.py:1347; */
|
||||
"About {APP}" = "Par {APP}";
|
||||
|
||||
/* EDMarketConnector.py: Help > Check for Updates...; In files: EDMarketConnector.py:729; EDMarketConnector.py:752; */
|
||||
"Check for Updates..." = "Pārbaudīt atjauninājumus...";
|
||||
|
||||
/* EDMarketConnector.py: File > Save Raw Data...; In files: EDMarketConnector.py:730; EDMarketConnector.py:744; */
|
||||
"Save Raw Data..." = "Saglabāt sākotnējos datus...";
|
||||
|
||||
/* EDMarketConnector.py: File > Status; stats.py: Status dialog title; In files: EDMarketConnector.py:731; EDMarketConnector.py:743; stats.py:360; */
|
||||
"Status" = "Statuss";
|
||||
|
||||
/* EDMarketConnector.py: Help > Privacy Policy; In files: EDMarketConnector.py:732; EDMarketConnector.py:750; */
|
||||
"Privacy Policy" = "Privātuma politika";
|
||||
|
||||
/* EDMarketConnector.py: Help > Release Notes; In files: EDMarketConnector.py:733; EDMarketConnector.py:751; EDMarketConnector.py:1381; */
|
||||
"Release Notes" = "Informācija par laidienu";
|
||||
|
||||
/* EDMarketConnector.py: File > Settings; prefs.py: File > Settings (macOS); In files: EDMarketConnector.py:745; EDMarketConnector.py:1792; prefs.py:254; */
|
||||
"Settings" = "Iestatījumi";
|
||||
|
||||
/* EDMarketConnector.py: File > Exit; In files: EDMarketConnector.py:746; */
|
||||
"Exit" = "Iziet";
|
||||
|
||||
/* EDMarketConnector.py: Help > Documentation; In files: EDMarketConnector.py:749; */
|
||||
"Documentation" = "Dokumentācija";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'Copy' as in 'Copy and Paste'; ttkHyperlinkLabel.py: Label for 'Copy' as in 'Copy and Paste'; In files: EDMarketConnector.py:756; ttkHyperlinkLabel.py:42; */
|
||||
"Copy" = "Kopēt";
|
||||
|
||||
/* EDMarketConnector.py: Status - Attempting to get a Frontier Auth Access Token; In files: EDMarketConnector.py:762; */
|
||||
"Logging in..." = "Autorizējas...";
|
||||
|
||||
/* EDMarketConnector.py: Successfully authenticated with the Frontier website; In files: EDMarketConnector.py:778; EDMarketConnector.py:1215; */
|
||||
"Authentication successful" = "Autentifikācija sekmīga";
|
||||
|
||||
/* EDMarketConnector.py: Player is not docked at a station, when we expect them to be; In files: EDMarketConnector.py:809; */
|
||||
"You're not docked at a station!" = "Jūs neesat stacijā!";
|
||||
|
||||
/* EDMarketConnector.py: Status - Either no market or no modules data for station from Frontier CAPI; In files: EDMarketConnector.py:817; */
|
||||
"Station doesn't have anything!" = "Stacijā nekā nav!";
|
||||
|
||||
/* EDMarketConnector.py: Status - No station market data from Frontier CAPI; In files: EDMarketConnector.py:822; */
|
||||
"Station doesn't have a market!" = "Stacijā nav tirgus!";
|
||||
|
||||
/* EDMarketConnector.py: Status - Attempting to retrieve data from Frontier CAPI; EDMarketConnector.py: Status - Attempting to retrieve data from Frontier CAPI to save to file; stats.py: Fetching data from Frontier CAPI in order to display on File > Status; In files: EDMarketConnector.py:867; EDMarketConnector.py:1428; stats.py:279; */
|
||||
"Fetching data..." = "Iegūst datus...";
|
||||
|
||||
/* EDMarketConnector.py: We didn't have the commander name when we should have; stats.py: Unknown commander; In files: EDMarketConnector.py:884; stats.py:297; */
|
||||
"Who are you?!" = "Kas tu esi?";
|
||||
|
||||
/* EDMarketConnector.py: We don't know where the commander is, when we should; stats.py: Unknown location; In files: EDMarketConnector.py:890; stats.py:307; */
|
||||
"Where are you?!" = "Kur tu esi?";
|
||||
|
||||
/* EDMarketConnector.py: We don't know what ship the commander is in, when we should; stats.py: Unknown ship; In files: EDMarketConnector.py:894; stats.py:312; */
|
||||
"What are you flying?!" = "Ar ko tu lido?";
|
||||
|
||||
/* EDMarketConnector.py: Time when we last obtained Frontier CAPI data; In files: EDMarketConnector.py:1026; */
|
||||
"Last updated at %H:%M:%S" = "Pēdējo reizi atjaunināts %H:%M:%S";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1052; */
|
||||
"Fighter" = "Cīnītājs";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1053; */
|
||||
"Gunner" = "Ložmetējnieks";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1054; */
|
||||
"Helm" = "Stūre";
|
||||
|
||||
/* EDMarketConnector.py: Cooldown on 'Update' button; In files: EDMarketConnector.py:1298; */
|
||||
"cooldown {SS}s" = "Atskaite {SS}";
|
||||
|
||||
/* EDMarketConnector.py: Generic 'OK' button label; prefs.py: 'OK' button on Settings/Preferences window; In files: EDMarketConnector.py:1407; prefs.py:304; */
|
||||
"OK" = "Labi";
|
||||
|
||||
/* EDMarketConnector.py: Settings > Plugins tab; prefs.py: Label on Settings > Plugins tab; In files: EDMarketConnector.py:1790; prefs.py:953; */
|
||||
"Plugins" = "Spraudņi";
|
||||
|
||||
/* l10n.py: The system default language choice in Settings > Appearance; prefs.py: Settings > Configuration - Label on 'reset journal files location to default' button; prefs.py: The system default language choice in Settings > Appearance; prefs.py: Label for 'Default' theme radio button; In files: l10n.py:194; prefs.py:466; prefs.py:678; prefs.py:711; */
|
||||
"Default" = "Noklusējuma";
|
||||
|
||||
/* eddn.py: Status text shown while attempting to send data; In files: eddn.py:215; eddn.py:619; eddn.py:969; */
|
||||
/* eddn.py: Status text shown while attempting to send data; In files: eddn.py:212; eddn.py:584; eddn.py:925; load.py:215; load.py:593; load.py:940; eddn.py:252; eddn.py:699; eddn.py:1439; */
|
||||
"Sending data to EDDN..." = "Sūta datus uz EDDN...";
|
||||
|
||||
/* eddn.py: Error while trying to send data to EDDN; In files: eddn.py:264; eddn.py:907; eddn.py:942; eddn.py:981; */
|
||||
/* eddn.py: Error while trying to send data to EDDN; In files: eddn.py:257; eddn.py:864; eddn.py:898; eddn.py:937; load.py:260; load.py:878; load.py:913; load.py:952; eddn.py:316; eddn.py:1375; eddn.py:1410; eddn.py:1451; */
|
||||
"Error: Can't connect to EDDN" = "Kļūda: Nevar savienoties ar EDDN";
|
||||
|
||||
/* eddn.py: Enable EDDN support for station data checkbox label; In files: eddn.py:699; */
|
||||
/* eddn.py: Enable EDDN support for station data checkbox label; In files: eddn.py:663; load.py:672; eddn.py:1122; */
|
||||
"Send station data to the Elite Dangerous Data Network" = "Sūtīt stacijas datus uz Elite Dangerous Data Network";
|
||||
|
||||
/* eddn.py: Enable EDDN support for system and other scan data checkbox label; In files: eddn.py:710; */
|
||||
/* eddn.py: Enable EDDN support for system and other scan data checkbox label; In files: eddn.py:673; load.py:682; eddn.py:1133; */
|
||||
"Send system and scan data to the Elite Dangerous Data Network" = "Sūtīt stacijas datus uz Elite Dangerous Data Network";
|
||||
|
||||
/* eddn.py: EDDN delay sending until docked option is on, this message notes that a send was skipped due to this; In files: eddn.py:721; */
|
||||
/* eddn.py: EDDN delay sending until docked option is on, this message notes that a send was skipped due to this; In files: eddn.py:683; load.py:692; eddn.py:1144; */
|
||||
"Delay sending until docked" = "Aizkavēt sūtīšanu līdz nosēšanai";
|
||||
|
||||
/* edsm.py: Settings>EDSM - Label on header/URL to EDSM API key page; In files: edsm.py:208; */
|
||||
/* edsm.py: Settings>EDSM - Label on header/URL to EDSM API key page; In files: edsm.py:206; load.py:206; edsm.py:247; */
|
||||
"Elite Dangerous Star Map credentials" = "Elite Dangerous zvaigžņu kartes informācija";
|
||||
|
||||
/* edsm.py: EDSM Commander name label in EDSM settings; In files: edsm.py:227; */
|
||||
/* edsm.py: Game Commander name label in EDSM settings; theme.py: Label for commander name in main window; EDMarketConnector.py: Label for commander name in main window; stats.py: Cmdr stats; In files: edsm.py:216; load.py:216; edsm.py:258; theme.py:227; EDMarketConnector.py:822; stats.py:59; */
|
||||
"Cmdr" = "Cmdr";
|
||||
|
||||
/* edsm.py: EDSM Commander name label in EDSM settings; In files: edsm.py:223; load.py:223; edsm.py:266; */
|
||||
"Commander Name" = "Komandiera vārds";
|
||||
|
||||
/* edsm.py: EDSM API key label; inara.py: Inara API key label; In files: edsm.py:235; inara.py:237; */
|
||||
/* edsm.py: EDSM API key label; inara.py: Inara API key label; In files: edsm.py:230; inara.py:233; load.py:230; load.py:233; edsm.py:274; inara.py:243; */
|
||||
"API Key" = "API atslēga";
|
||||
|
||||
/* edsm.py: We have no data on the current commander; prefs.py: No hotkey/shortcut set; stats.py: No rank; In files: edsm.py:262; prefs.py:518; prefs.py:1156; prefs.py:1189; stats.py:117; stats.py:136; stats.py:155; stats.py:172; */
|
||||
/* edsm.py: We have no data on the current commander; prefs.py: No hotkey/shortcut set; stats.py: No rank; In files: edsm.py:256; load.py:256; edsm.py:301; prefs.py:520; prefs.py:1174; prefs.py:1207; stats.py:156; stats.py:175; stats.py:194; stats.py:211; */
|
||||
"None" = "Neviens";
|
||||
|
||||
/* edsm.py: EDSM Plugin - Error message from EDSM API; In files: edsm.py:640; edsm.py:745; */
|
||||
/* edsm.py: EDSM Plugin - Error message from EDSM API; In files: edsm.py:622; edsm.py:724; load.py:627; load.py:729; edsm.py:747; edsm.py:875; */
|
||||
"Error: EDSM {MSG}" = "Kļūda: EDSM {MSG}";
|
||||
|
||||
/* edsm.py: EDSM Plugin - Error connecting to EDSM API; In files: edsm.py:677; edsm.py:740; */
|
||||
/* edsm.py: EDSM Plugin - Error connecting to EDSM API; In files: edsm.py:658; edsm.py:720; load.py:663; load.py:725; edsm.py:784; edsm.py:870; */
|
||||
"Error: Can't connect to EDSM" = "Kļūda: Nevar savienoties ar EDSM";
|
||||
|
||||
/* prefs.py: File > Preferences menu entry for macOS; In files: prefs.py:250; */
|
||||
/* ttkHyperlinkLabel.py: Label for 'Copy' as in 'Copy and Paste'; EDMarketConnector.py: Label for 'Copy' as in 'Copy and Paste'; In files: ttkHyperlinkLabel.py:42; EDMarketConnector.py:866; */
|
||||
"Copy" = "Kopēt";
|
||||
|
||||
/* EDMarketConnector.py: Update button in main window; In files: EDMarketConnector.py:529; EDMarketConnector.py:828; EDMarketConnector.py:1520; */
|
||||
"Update" = "Atjaunināt";
|
||||
|
||||
/* EDMarketConnector.py: Appearance - Label for checkbox to select if application always on top; prefs.py: Appearance - Label for checkbox to select if application always on top; In files: EDMarketConnector.py:612; prefs.py:867; */
|
||||
"Always on top" = "Vienmēr virspusē";
|
||||
|
||||
/* EDMarketConnector.py: 'Ship' or multi-crew role label in main window, as applicable; EDMarketConnector.py: Multicrew role label in main window; In files: EDMarketConnector.py:824; EDMarketConnector.py:1279; */
|
||||
"Role" = "Loma";
|
||||
|
||||
/* EDMarketConnector.py: 'Ship' or multi-crew role label in main window, as applicable; EDMarketConnector.py: 'Ship' label in main UI; stats.py: Status dialog subtitle; In files: EDMarketConnector.py:824; EDMarketConnector.py:1289; EDMarketConnector.py:1312; stats.py:409; */
|
||||
"Ship" = "Kuģis";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'System' line in main UI; prefs.py: Configuration - Label for selection of 'System' provider website; stats.py: Main window; In files: EDMarketConnector.py:826; prefs.py:607; stats.py:411; */
|
||||
"System" = "Sistēma";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'Station' line in main UI; prefs.py: Configuration - Label for selection of 'Station' provider website; prefs.py: Appearance - Example 'Normal' text; stats.py: Status dialog subtitle; In files: EDMarketConnector.py:827; prefs.py:625; prefs.py:762; stats.py:412; */
|
||||
"Station" = "Stacija";
|
||||
|
||||
/* EDMarketConnector.py: 'File' menu title on OSX; EDMarketConnector.py: 'File' menu title; EDMarketConnector.py: 'File' menu; In files: EDMarketConnector.py:830; EDMarketConnector.py:845; EDMarketConnector.py:848; EDMarketConnector.py:2019; */
|
||||
"File" = "Fails";
|
||||
|
||||
/* EDMarketConnector.py: 'Edit' menu title on OSX; EDMarketConnector.py: 'Edit' menu title; In files: EDMarketConnector.py:831; EDMarketConnector.py:846; EDMarketConnector.py:849; */
|
||||
"Edit" = "Labot";
|
||||
|
||||
/* EDMarketConnector.py: 'View' menu title on OSX; In files: EDMarketConnector.py:832; */
|
||||
"View" = "Skats";
|
||||
|
||||
/* EDMarketConnector.py: 'Window' menu title on OSX; In files: EDMarketConnector.py:833; */
|
||||
"Window" = "Logs";
|
||||
|
||||
/* EDMarketConnector.py: Help' menu title on OSX; EDMarketConnector.py: 'Help' menu title; In files: EDMarketConnector.py:834; EDMarketConnector.py:847; EDMarketConnector.py:850; */
|
||||
"Help" = "Palīdzība";
|
||||
|
||||
/* EDMarketConnector.py: App menu entry on OSX; EDMarketConnector.py: Help > About App; In files: EDMarketConnector.py:837; EDMarketConnector.py:863; EDMarketConnector.py:1566; */
|
||||
"About {APP}" = "Par {APP}";
|
||||
|
||||
/* EDMarketConnector.py: Help > Check for Updates...; In files: EDMarketConnector.py:839; EDMarketConnector.py:862; */
|
||||
"Check for Updates..." = "Pārbaudīt atjauninājumus...";
|
||||
|
||||
/* EDMarketConnector.py: File > Save Raw Data...; In files: EDMarketConnector.py:840; EDMarketConnector.py:854; */
|
||||
"Save Raw Data..." = "Saglabāt sākotnējos datus...";
|
||||
|
||||
/* EDMarketConnector.py: File > Status; stats.py: Status dialog title; In files: EDMarketConnector.py:841; EDMarketConnector.py:853; stats.py:406; */
|
||||
"Status" = "Statuss";
|
||||
|
||||
/* EDMarketConnector.py: Help > Privacy Policy; In files: EDMarketConnector.py:842; EDMarketConnector.py:860; */
|
||||
"Privacy Policy" = "Privātuma politika";
|
||||
|
||||
/* EDMarketConnector.py: Help > Release Notes; In files: EDMarketConnector.py:843; EDMarketConnector.py:861; EDMarketConnector.py:1600; */
|
||||
"Release Notes" = "Informācija par laidienu";
|
||||
|
||||
/* EDMarketConnector.py: File > Settings; prefs.py: File > Settings (macOS); In files: EDMarketConnector.py:855; EDMarketConnector.py:2020; prefs.py:255; */
|
||||
"Settings" = "Iestatījumi";
|
||||
|
||||
/* EDMarketConnector.py: File > Exit; In files: EDMarketConnector.py:856; */
|
||||
"Exit" = "Iziet";
|
||||
|
||||
/* EDMarketConnector.py: Help > Documentation; In files: EDMarketConnector.py:859; */
|
||||
"Documentation" = "Dokumentācija";
|
||||
|
||||
/* EDMarketConnector.py: Status - Attempting to get a Frontier Auth Access Token; In files: EDMarketConnector.py:872; */
|
||||
"Logging in..." = "Autorizējas...";
|
||||
|
||||
/* EDMarketConnector.py: Successfully authenticated with the Frontier website; In files: EDMarketConnector.py:888; EDMarketConnector.py:1431; */
|
||||
"Authentication successful" = "Autentifikācija sekmīga";
|
||||
|
||||
/* EDMarketConnector.py: Player is not docked at a station, when we expect them to be; In files: EDMarketConnector.py:919; */
|
||||
"You're not docked at a station!" = "Jūs neesat stacijā!";
|
||||
|
||||
/* EDMarketConnector.py: Status - Either no market or no modules data for station from Frontier CAPI; In files: EDMarketConnector.py:927; */
|
||||
"Station doesn't have anything!" = "Stacijā nekā nav!";
|
||||
|
||||
/* EDMarketConnector.py: Status - No station market data from Frontier CAPI; In files: EDMarketConnector.py:932; */
|
||||
"Station doesn't have a market!" = "Stacijā nav tirgus!";
|
||||
|
||||
/* EDMarketConnector.py: Status - Attempting to retrieve data from Frontier CAPI; In files: EDMarketConnector.py:1006; */
|
||||
"Fetching data..." = "Iegūst datus...";
|
||||
|
||||
/* EDMarketConnector.py: We didn't have the commander name when we should have; stats.py: Unknown commander; In files: EDMarketConnector.py:1051; stats.py:335; */
|
||||
"Who are you?!" = "Kas tu esi?";
|
||||
|
||||
/* EDMarketConnector.py: We don't know where the commander is, when we should; stats.py: Unknown location; In files: EDMarketConnector.py:1057; stats.py:345; */
|
||||
"Where are you?!" = "Kur tu esi?";
|
||||
|
||||
/* EDMarketConnector.py: We don't know what ship the commander is in, when we should; stats.py: Unknown ship; In files: EDMarketConnector.py:1064; stats.py:353; */
|
||||
"What are you flying?!" = "Ar ko tu lido?";
|
||||
|
||||
/* EDMarketConnector.py: Time when we last obtained Frontier CAPI data; In files: EDMarketConnector.py:1226; */
|
||||
"Last updated at %H:%M:%S" = "Pēdējo reizi atjaunināts %H:%M:%S";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1254; */
|
||||
"Fighter" = "Cīnītājs";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1255; */
|
||||
"Gunner" = "Ložmetējnieks";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1256; */
|
||||
"Helm" = "Stūre";
|
||||
|
||||
/* EDMarketConnector.py: Cooldown on 'Update' button; In files: EDMarketConnector.py:1514; */
|
||||
"cooldown {SS}s" = "Atskaite {SS}";
|
||||
|
||||
/* EDMarketConnector.py: Generic 'OK' button label; prefs.py: 'OK' button on Settings/Preferences window; In files: EDMarketConnector.py:1626; prefs.py:306; */
|
||||
"OK" = "Labi";
|
||||
|
||||
/* EDMarketConnector.py: Settings > Plugins tab; prefs.py: Label on Settings > Plugins tab; In files: EDMarketConnector.py:2018; prefs.py:978; */
|
||||
"Plugins" = "Spraudņi";
|
||||
|
||||
/* companion.py: Frontier CAPI data doesn't agree with latest Journal game location; In files: companion.py:237; */
|
||||
"Error: Frontier server is lagging" = "Kļūda: Frontier serveris aizkavējas";
|
||||
|
||||
/* companion.py: Generic "something went wrong with Frontier Auth" error; In files: companion.py:263; */
|
||||
"Error: Invalid Credentials" = "Kļūda: Nederīga lietotāja informācija";
|
||||
|
||||
/* l10n.py: The system default language choice in Settings > Appearance; prefs.py: Settings > Configuration - Label on 'reset journal files location to default' button; prefs.py: The system default language choice in Settings > Appearance; prefs.py: Label for 'Default' theme radio button; In files: l10n.py:194; prefs.py:468; prefs.py:702; prefs.py:735; */
|
||||
"Default" = "Noklusējuma";
|
||||
|
||||
/* prefs.py: File > Preferences menu entry for macOS; In files: prefs.py:251; */
|
||||
"Preferences" = "Iestatījumi";
|
||||
|
||||
/* prefs.py: Settings > Output - choosing what data to save to files; In files: prefs.py:346; */
|
||||
/* prefs.py: Settings > Output - choosing what data to save to files; In files: prefs.py:348; */
|
||||
"Please choose what data to save" = "Lūdzu izvēlaties kādus datus saglabāt";
|
||||
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:352; */
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:354; */
|
||||
"Market data in CSV format file" = "Tirgus dati CSV formātā";
|
||||
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:361; */
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:363; */
|
||||
"Market data in Trade Dangerous format file" = "Tirgus dati Trade Dangerous formātā";
|
||||
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:371; */
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:373; */
|
||||
"Ship loadout" = "Kuģa loadout";
|
||||
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:381; */
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:383; */
|
||||
"Automatically update on docking" = "Automtiski atjaunoties nosēžoties.";
|
||||
|
||||
/* prefs.py: Settings > Output - Label for "where files are located"; In files: prefs.py:390; prefs.py:409; */
|
||||
/* prefs.py: Settings > Output - Label for "where files are located"; In files: prefs.py:392; prefs.py:411; */
|
||||
"File location" = "Faila atrašanās vieta";
|
||||
|
||||
/* prefs.py: macOS Preferences - files location selection button; In files: prefs.py:398; prefs.py:448; */
|
||||
/* prefs.py: macOS Preferences - files location selection button; In files: prefs.py:400; prefs.py:450; */
|
||||
"Change..." = "Mainīt...";
|
||||
|
||||
/* prefs.py: NOT-macOS Settings - files location selection button; prefs.py: NOT-macOS Setting - files location selection button; In files: prefs.py:401; prefs.py:451; */
|
||||
/* prefs.py: NOT-macOS Settings - files location selection button; prefs.py: NOT-macOS Setting - files location selection button; In files: prefs.py:403; prefs.py:453; */
|
||||
"Browse..." = "Pārlūkot...";
|
||||
|
||||
/* prefs.py: Label for 'Output' Settings/Preferences tab; In files: prefs.py:416; */
|
||||
/* prefs.py: Label for 'Output' Settings/Preferences tab; In files: prefs.py:418; */
|
||||
"Output" = "Izvade";
|
||||
|
||||
/* prefs.py: Settings > Configuration - Label for Journal files location; In files: prefs.py:442; prefs.py:457; */
|
||||
/* prefs.py: Settings > Configuration - Label for Journal files location; In files: prefs.py:444; prefs.py:459; */
|
||||
"E:D journal file location" = "E:D žurnāla faila atrašanās vieta";
|
||||
|
||||
/* prefs.py: Hotkey/Shortcut settings prompt on OSX; In files: prefs.py:482; */
|
||||
/* prefs.py: Hotkey/Shortcut settings prompt on OSX; In files: prefs.py:484; */
|
||||
"Keyboard shortcut" = "Ātrais taustiņš";
|
||||
|
||||
/* prefs.py: Hotkey/Shortcut settings prompt on Windows; In files: prefs.py:484; */
|
||||
/* prefs.py: Hotkey/Shortcut settings prompt on Windows; In files: prefs.py:486; */
|
||||
"Hotkey" = "Ātrais taustiņš";
|
||||
|
||||
/* prefs.py: macOS Preferences > Configuration - restart the app message; In files: prefs.py:493; */
|
||||
/* prefs.py: macOS Preferences > Configuration - restart the app message; In files: prefs.py:495; */
|
||||
"Re-start {APP} to use shortcuts" = "Restartējiet {APP} lai izmantotu īssceļus";
|
||||
|
||||
/* prefs.py: macOS - Configuration - need to grant the app permission for keyboard shortcuts; In files: prefs.py:502; */
|
||||
/* prefs.py: macOS - Configuration - need to grant the app permission for keyboard shortcuts; In files: prefs.py:504; */
|
||||
"{APP} needs permission to use shortcuts" = "{APP} vajag atļaujas lai izmantotu īssceļus";
|
||||
|
||||
/* prefs.py: Shortcut settings button on OSX; In files: prefs.py:507; */
|
||||
/* prefs.py: Shortcut settings button on OSX; In files: prefs.py:509; */
|
||||
"Open System Preferences" = "Atvērt sistēmas iestatījumus";
|
||||
|
||||
/* prefs.py: Configuration - Act on hotkey only when ED is in foreground; In files: prefs.py:529; */
|
||||
/* prefs.py: Configuration - Act on hotkey only when ED is in foreground; In files: prefs.py:531; */
|
||||
"Only when Elite: Dangerous is the active app" = "Tikai kad Elite: Dangerous ir aktīvā aplikācija";
|
||||
|
||||
/* prefs.py: Configuration - play sound when hotkey used; In files: prefs.py:540; */
|
||||
/* prefs.py: Configuration - play sound when hotkey used; In files: prefs.py:542; */
|
||||
"Play sound" = "Atskaņot skaņu";
|
||||
|
||||
/* prefs.py: Label for Shipyard provider selection; In files: prefs.py:579; */
|
||||
/* prefs.py: Label for Shipyard provider selection; In files: prefs.py:581; */
|
||||
"Shipyard" = "Kuģu būvētava";
|
||||
|
||||
/* prefs.py: Label for 'Configuration' tab in Settings; In files: prefs.py:672; */
|
||||
/* prefs.py: Label for 'Configuration' tab in Settings; In files: prefs.py:674; */
|
||||
"Configuration" = "Konfigurācija";
|
||||
|
||||
/* prefs.py: Label for Settings > Appeareance > selection of 'normal' text colour; In files: prefs.py:685; */
|
||||
/* prefs.py: Preferences privacy tab title; In files: prefs.py:696; */
|
||||
"Privacy" = "Privātums";
|
||||
|
||||
/* prefs.py: Label for Settings > Appeareance > selection of 'normal' text colour; In files: prefs.py:709; */
|
||||
"Normal text" = "Normālais teksts";
|
||||
|
||||
/* prefs.py: Label for Settings > Appeareance > selection of 'highlightes' text colour; In files: prefs.py:687; */
|
||||
/* prefs.py: Label for Settings > Appeareance > selection of 'highlightes' text colour; In files: prefs.py:711; */
|
||||
"Highlighted text" = "Izceltais teksts";
|
||||
|
||||
/* prefs.py: Appearance - Label for selection of application display language; In files: prefs.py:696; */
|
||||
/* prefs.py: Appearance - Label for selection of application display language; In files: prefs.py:720; */
|
||||
"Language" = "Valoda";
|
||||
|
||||
/* prefs.py: Label for Settings > Appearance > Theme selection; In files: prefs.py:706; */
|
||||
/* prefs.py: Label for Settings > Appearance > Theme selection; In files: prefs.py:730; */
|
||||
"Theme" = "Dizains";
|
||||
|
||||
/* prefs.py: Label for 'Dark' theme radio button; In files: prefs.py:717; */
|
||||
/* prefs.py: Label for 'Dark' theme radio button; In files: prefs.py:741; */
|
||||
"Dark" = "Tumša";
|
||||
|
||||
/* prefs.py: Label for 'Transparent' theme radio button; In files: prefs.py:724; */
|
||||
/* prefs.py: Label for 'Transparent' theme radio button; In files: prefs.py:748; */
|
||||
"Transparent" = "Caurspīdīga";
|
||||
|
||||
/* prefs.py: Label for Settings > Appearance tab; In files: prefs.py:860; */
|
||||
/* prefs.py: Label for Settings > Appearance tab; In files: prefs.py:885; */
|
||||
"Appearance" = "Izskats";
|
||||
|
||||
/* prefs.py: Label for location of third-party plugins folder; In files: prefs.py:875; */
|
||||
/* prefs.py: Label for location of third-party plugins folder; In files: prefs.py:900; */
|
||||
"Plugins folder" = "Spraudņu mape";
|
||||
|
||||
/* prefs.py: Label on button used to open a filesystem folder; In files: prefs.py:882; */
|
||||
/* prefs.py: Label on button used to open a filesystem folder; In files: prefs.py:907; */
|
||||
"Open" = "Atvērt";
|
||||
|
||||
/* prefs.py: Label on list of enabled plugins; In files: prefs.py:901; */
|
||||
/* prefs.py: Label on list of enabled plugins; In files: prefs.py:926; */
|
||||
"Enabled Plugins" = "Iespējoti Spraudņi";
|
||||
|
||||
/* prefs.py: Lable on list of user-disabled plugins; In files: prefs.py:944; */
|
||||
/* prefs.py: Lable on list of user-disabled plugins; In files: prefs.py:969; */
|
||||
"Disabled Plugins" = "Atspējoti Spraudņi";
|
||||
|
||||
/* stats.py: Cmdr stats; In files: stats.py:51; */
|
||||
/* stats.py: Cmdr stats; In files: stats.py:60; */
|
||||
"Balance" = "Bilance";
|
||||
|
||||
/* stats.py: Cmdr stats; In files: stats.py:52; */
|
||||
/* stats.py: Cmdr stats; In files: stats.py:61; */
|
||||
"Loan" = "Aizdevums";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:57; */
|
||||
"Combat" = "Combat";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:58; */
|
||||
"Trade" = "Trade";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:59; */
|
||||
"Explorer" = "Explorer";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:60; */
|
||||
"CQC" = "CQC";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:61; */
|
||||
"Federation" = "Federation";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:62; */
|
||||
"Empire" = "Empire";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:63; */
|
||||
"Powerplay" = "Powerplay";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:71; */
|
||||
"Harmless" = "Nekaitīgs";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:72; */
|
||||
"Mostly Harmless" = "Mostly Harmless";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:73; */
|
||||
"Novice" = "Novice";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:74; */
|
||||
"Competent" = "Competent";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:75; */
|
||||
"Expert" = "Expert";
|
||||
|
||||
/* stats.py: Combat rank; stats.py: Empire rank; In files: stats.py:76; stats.py:139; */
|
||||
"Master" = "Master";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:77; */
|
||||
"Dangerous" = "Dangerous";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:78; */
|
||||
"Deadly" = "Deadly";
|
||||
|
||||
/* stats.py: Top rank; In files: stats.py:79; stats.py:90; stats.py:101; stats.py:112; */
|
||||
/* stats.py: Top rank; In files: stats.py:65; */
|
||||
"Elite" = "Elite";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:82; */
|
||||
/* stats.py: Ranking; In files: stats.py:76; */
|
||||
"Combat" = "Combat";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:77; */
|
||||
"Trade" = "Trade";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:78; */
|
||||
"Explorer" = "Explorer";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:81; */
|
||||
"CQC" = "CQC";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:82; */
|
||||
"Federation" = "Federation";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:83; */
|
||||
"Empire" = "Empire";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:84; */
|
||||
"Powerplay" = "Powerplay";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:93; */
|
||||
"Harmless" = "Nekaitīgs";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:94; */
|
||||
"Mostly Harmless" = "Mostly Harmless";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:95; */
|
||||
"Novice" = "Novice";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:96; */
|
||||
"Competent" = "Competent";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:97; */
|
||||
"Expert" = "Expert";
|
||||
|
||||
/* stats.py: Combat rank; stats.py: Empire rank; In files: stats.py:98; stats.py:178; */
|
||||
"Master" = "Master";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:99; */
|
||||
"Dangerous" = "Dangerous";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:100; */
|
||||
"Deadly" = "Deadly";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:103; */
|
||||
"Penniless" = "Penniless";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:83; */
|
||||
/* stats.py: Trade rank; In files: stats.py:104; */
|
||||
"Mostly Penniless" = "Mostly Penniless";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:84; */
|
||||
/* stats.py: Trade rank; In files: stats.py:105; */
|
||||
"Peddler" = "Peddler";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:85; */
|
||||
/* stats.py: Trade rank; In files: stats.py:106; */
|
||||
"Dealer" = "Dealer";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:86; */
|
||||
/* stats.py: Trade rank; In files: stats.py:107; */
|
||||
"Merchant" = "Merchant";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:87; */
|
||||
/* stats.py: Trade rank; In files: stats.py:108; */
|
||||
"Broker" = "Broker";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:88; */
|
||||
/* stats.py: Trade rank; In files: stats.py:109; */
|
||||
"Entrepreneur" = "Entrepreneur";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:89; */
|
||||
/* stats.py: Trade rank; In files: stats.py:110; */
|
||||
"Tycoon" = "Tycoon";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:93; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:113; */
|
||||
"Aimless" = "Aimless";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:94; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:114; */
|
||||
"Mostly Aimless" = "Mostly Aimless";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:95; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:115; */
|
||||
"Scout" = "Scout";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:96; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:116; */
|
||||
"Surveyor" = "Surveyor";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:97; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:117; */
|
||||
"Trailblazer" = "Trailblazer";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:98; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:118; */
|
||||
"Pathfinder" = "Pathfinder";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:99; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:119; */
|
||||
"Ranger" = "Ranger";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:100; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:120; */
|
||||
"Pioneer" = "Pioneer";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:104; */
|
||||
/* stats.py: CQC rank; In files: stats.py:144; */
|
||||
"Helpless" = "Bezpalīdzīgs";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:105; */
|
||||
/* stats.py: CQC rank; In files: stats.py:145; */
|
||||
"Mostly Helpless" = "Mostly Helpless";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:106; */
|
||||
/* stats.py: CQC rank; In files: stats.py:146; */
|
||||
"Amateur" = "Amateur";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:107; */
|
||||
/* stats.py: CQC rank; In files: stats.py:147; */
|
||||
"Semi Professional" = "Semi Professional";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:108; */
|
||||
/* stats.py: CQC rank; In files: stats.py:148; */
|
||||
"Professional" = "Professional";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:109; */
|
||||
/* stats.py: CQC rank; In files: stats.py:149; */
|
||||
"Champion" = "Champion";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:110; */
|
||||
/* stats.py: CQC rank; In files: stats.py:150; */
|
||||
"Hero" = "Varonis";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:111; */
|
||||
/* stats.py: CQC rank; In files: stats.py:151; */
|
||||
"Gladiator" = "Gladiators";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:118; */
|
||||
/* stats.py: Federation rank; In files: stats.py:157; */
|
||||
"Recruit" = "Recruit";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:119; */
|
||||
/* stats.py: Federation rank; In files: stats.py:158; */
|
||||
"Cadet" = "Cadet";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:120; */
|
||||
/* stats.py: Federation rank; In files: stats.py:159; */
|
||||
"Midshipman" = "Midshipman";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:121; */
|
||||
/* stats.py: Federation rank; In files: stats.py:160; */
|
||||
"Petty Officer" = "Petty Officer";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:122; */
|
||||
/* stats.py: Federation rank; In files: stats.py:161; */
|
||||
"Chief Petty Officer" = "Chief Petty Officer";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:123; */
|
||||
/* stats.py: Federation rank; In files: stats.py:162; */
|
||||
"Warrant Officer" = "Warrant Officer";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:124; */
|
||||
/* stats.py: Federation rank; In files: stats.py:163; */
|
||||
"Ensign" = "Ensign";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:125; */
|
||||
/* stats.py: Federation rank; In files: stats.py:164; */
|
||||
"Lieutenant" = "Leitnants";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:126; */
|
||||
/* stats.py: Federation rank; In files: stats.py:165; */
|
||||
"Lieutenant Commander" = "Lieutenant Commander";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:127; */
|
||||
/* stats.py: Federation rank; In files: stats.py:166; */
|
||||
"Post Commander" = "Post Commander";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:128; */
|
||||
/* stats.py: Federation rank; In files: stats.py:167; */
|
||||
"Post Captain" = "Post Captain";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:129; */
|
||||
/* stats.py: Federation rank; In files: stats.py:168; */
|
||||
"Rear Admiral" = "Rear Admiral";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:130; */
|
||||
/* stats.py: Federation rank; In files: stats.py:169; */
|
||||
"Vice Admiral" = "Vice Admiral";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:131; */
|
||||
/* stats.py: Federation rank; In files: stats.py:170; */
|
||||
"Admiral" = "Admiral";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:137; */
|
||||
/* stats.py: Empire rank; In files: stats.py:176; */
|
||||
"Outsider" = "Outsider";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:138; */
|
||||
/* stats.py: Empire rank; In files: stats.py:177; */
|
||||
"Serf" = "Serf";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:140; */
|
||||
/* stats.py: Empire rank; In files: stats.py:179; */
|
||||
"Squire" = "Squire";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:141; */
|
||||
/* stats.py: Empire rank; In files: stats.py:180; */
|
||||
"Knight" = "Bruņinieks";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:142; */
|
||||
/* stats.py: Empire rank; In files: stats.py:181; */
|
||||
"Lord" = "Lord";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:143; */
|
||||
/* stats.py: Empire rank; In files: stats.py:182; */
|
||||
"Baron" = "Baron";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:144; */
|
||||
/* stats.py: Empire rank; In files: stats.py:183; */
|
||||
"Viscount" = "Viscount";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:145; */
|
||||
/* stats.py: Empire rank; In files: stats.py:184; */
|
||||
"Count" = "Count";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:146; */
|
||||
/* stats.py: Empire rank; In files: stats.py:185; */
|
||||
"Earl" = "Earl";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:147; */
|
||||
/* stats.py: Empire rank; In files: stats.py:186; */
|
||||
"Marquis" = "Marquis";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:148; */
|
||||
/* stats.py: Empire rank; In files: stats.py:187; */
|
||||
"Duke" = "Duke";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:149; */
|
||||
/* stats.py: Empire rank; In files: stats.py:188; */
|
||||
"Prince" = "Prince";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:150; */
|
||||
/* stats.py: Empire rank; In files: stats.py:189; */
|
||||
"King" = "Karalis";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:156; */
|
||||
/* stats.py: Power rank; In files: stats.py:195; */
|
||||
"Rating 1" = "Rating 1";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:157; */
|
||||
/* stats.py: Power rank; In files: stats.py:196; */
|
||||
"Rating 2" = "Rating 2";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:158; */
|
||||
/* stats.py: Power rank; In files: stats.py:197; */
|
||||
"Rating 3" = "Rating 3";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:159; */
|
||||
/* stats.py: Power rank; In files: stats.py:198; */
|
||||
"Rating 4" = "Rating 4";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:160; */
|
||||
/* stats.py: Power rank; In files: stats.py:199; */
|
||||
"Rating 5" = "Rating 5";
|
||||
|
||||
/* stats.py: Status dialog subtitle - CR value of ship; In files: stats.py:367; */
|
||||
/* stats.py: Status dialog subtitle - CR value of ship; In files: stats.py:413; */
|
||||
"Value" = "Vērtība";
|
||||
|
||||
/* stats.py: Status dialog title; In files: stats.py:376; */
|
||||
/* stats.py: Status dialog title; In files: stats.py:422; */
|
||||
"Ships" = "Kuģi";
|
||||
+292
-298
@@ -1,524 +1,518 @@
|
||||
/* Language name */
|
||||
"!Language" = "Nederlands";
|
||||
|
||||
|
||||
/* OLD: Raised when cannot contact the Companion API server. [companion.py] */
|
||||
"Error: Frontier server is down" = "Fout: Frontier server is offline";
|
||||
/* companion.py: Frontier CAPI data doesn't agree with latest Journal game location; In files: companion.py:190; */
|
||||
"Error: Frontier server is lagging" = "Fout: Frontier server is vertraagd";
|
||||
|
||||
/* companion.py: Generic "something went wrong with Frontier Auth" error; In files: companion.py:214; */
|
||||
"Error: Invalid Credentials" = "Fout: Ongeldige inlog gegevens";
|
||||
|
||||
/* companion.py: Frontier CAPI authorisation not for currently game-active commander; In files: companion.py:230; */
|
||||
"Error: Wrong Cmdr" = "Fout: Verkeerde Cmdr";
|
||||
|
||||
|
||||
/* [inara.py] */
|
||||
"Error: Can't connect to Inara" = "Fout: Kan geen verbinding maken met Inara";
|
||||
/* EDMarketConnector.py: Update button in main window; In files: EDMarketConnector.py:424; EDMarketConnector.py:718; EDMarketConnector.py:1302; */
|
||||
"Update" = "Bijwerken";
|
||||
|
||||
/* EDMarketConnector.py: Appearance - Label for checkbox to select if application always on top; prefs.py: Appearance - Label for checkbox to select if application always on top; In files: EDMarketConnector.py:507; prefs.py:843; */
|
||||
"Always on top" = "Altijd op voorgrond";
|
||||
|
||||
/* EDMarketConnector.py: Label for commander name in main window; edsm.py: Game Commander name label in EDSM settings; stats.py: Cmdr stats; theme.py: Label for commander name in main window; In files: EDMarketConnector.py:712; edsm.py:219; stats.py:50; theme.py:227; */
|
||||
"Cmdr" = "Cmdr";
|
||||
|
||||
/* EDMarketConnector.py: 'Ship' or multi-crew role label in main window, as applicable; EDMarketConnector.py: Multicrew role label in main window; In files: EDMarketConnector.py:714; EDMarketConnector.py:1072; */
|
||||
"Role" = "Rol";
|
||||
|
||||
/* EDMarketConnector.py: 'Ship' or multi-crew role label in main window, as applicable; EDMarketConnector.py: 'Ship' label in main UI; stats.py: Status dialog subtitle; In files: EDMarketConnector.py:714; EDMarketConnector.py:1082; EDMarketConnector.py:1105; stats.py:363; */
|
||||
"Ship" = "Schip";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'System' line in main UI; prefs.py: Configuration - Label for selection of 'System' provider website; stats.py: Main window; In files: EDMarketConnector.py:716; prefs.py:605; stats.py:365; */
|
||||
"System" = "Systeem";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'Station' line in main UI; prefs.py: Configuration - Label for selection of 'Station' provider website; prefs.py: Appearance - Example 'Normal' text; stats.py: Status dialog subtitle; In files: EDMarketConnector.py:717; prefs.py:623; prefs.py:738; stats.py:366; */
|
||||
"Station" = "Station";
|
||||
|
||||
/* EDMarketConnector.py: 'File' menu title on OSX; EDMarketConnector.py: 'File' menu title; EDMarketConnector.py: 'File' menu; In files: EDMarketConnector.py:720; EDMarketConnector.py:735; EDMarketConnector.py:738; EDMarketConnector.py:1791; */
|
||||
"File" = "Bestand";
|
||||
|
||||
/* EDMarketConnector.py: 'Edit' menu title on OSX; EDMarketConnector.py: 'Edit' menu title; In files: EDMarketConnector.py:721; EDMarketConnector.py:736; EDMarketConnector.py:739; */
|
||||
"Edit" = "Bewerken";
|
||||
|
||||
/* EDMarketConnector.py: 'View' menu title on OSX; In files: EDMarketConnector.py:722; */
|
||||
"View" = "Beeld";
|
||||
|
||||
/* EDMarketConnector.py: 'Window' menu title on OSX; In files: EDMarketConnector.py:723; */
|
||||
"Window" = "Venster";
|
||||
|
||||
/* EDMarketConnector.py: Help' menu title on OSX; EDMarketConnector.py: 'Help' menu title; In files: EDMarketConnector.py:724; EDMarketConnector.py:737; EDMarketConnector.py:740; */
|
||||
"Help" = "Help";
|
||||
|
||||
/* EDMarketConnector.py: App menu entry on OSX; EDMarketConnector.py: Help > About App; In files: EDMarketConnector.py:727; EDMarketConnector.py:753; EDMarketConnector.py:1347; */
|
||||
"About {APP}" = "Over {APP}";
|
||||
|
||||
/* EDMarketConnector.py: Help > Check for Updates...; In files: EDMarketConnector.py:729; EDMarketConnector.py:752; */
|
||||
"Check for Updates..." = "Controleren op updates...";
|
||||
|
||||
/* EDMarketConnector.py: File > Save Raw Data...; In files: EDMarketConnector.py:730; EDMarketConnector.py:744; */
|
||||
"Save Raw Data..." = "Sla onbewerkte gegevens op...";
|
||||
|
||||
/* EDMarketConnector.py: File > Status; stats.py: Status dialog title; In files: EDMarketConnector.py:731; EDMarketConnector.py:743; stats.py:360; */
|
||||
"Status" = "Status";
|
||||
|
||||
/* EDMarketConnector.py: Help > Privacy Policy; In files: EDMarketConnector.py:732; EDMarketConnector.py:750; */
|
||||
"Privacy Policy" = "Privacybeleid";
|
||||
|
||||
/* EDMarketConnector.py: Help > Release Notes; In files: EDMarketConnector.py:733; EDMarketConnector.py:751; EDMarketConnector.py:1381; */
|
||||
"Release Notes" = "Release opmerkingen";
|
||||
|
||||
/* EDMarketConnector.py: File > Settings; prefs.py: File > Settings (macOS); In files: EDMarketConnector.py:745; EDMarketConnector.py:1792; prefs.py:254; */
|
||||
"Settings" = "Instellingen";
|
||||
|
||||
/* EDMarketConnector.py: File > Exit; In files: EDMarketConnector.py:746; */
|
||||
"Exit" = "Afsluiten";
|
||||
|
||||
/* EDMarketConnector.py: Help > Documentation; In files: EDMarketConnector.py:749; */
|
||||
"Documentation" = "Documentatie";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'Copy' as in 'Copy and Paste'; ttkHyperlinkLabel.py: Label for 'Copy' as in 'Copy and Paste'; In files: EDMarketConnector.py:756; ttkHyperlinkLabel.py:42; */
|
||||
"Copy" = "Kopieëren";
|
||||
|
||||
/* EDMarketConnector.py: Status - Attempting to get a Frontier Auth Access Token; In files: EDMarketConnector.py:762; */
|
||||
"Logging in..." = "Bezig met inloggen...";
|
||||
|
||||
/* EDMarketConnector.py: Successfully authenticated with the Frontier website; In files: EDMarketConnector.py:778; EDMarketConnector.py:1215; */
|
||||
"Authentication successful" = "Authenticatie voltooid";
|
||||
|
||||
/* EDMarketConnector.py: Player is not docked at a station, when we expect them to be; In files: EDMarketConnector.py:809; */
|
||||
"You're not docked at a station!" = "Je bent niet gedockt in een station!";
|
||||
|
||||
/* EDMarketConnector.py: Status - Either no market or no modules data for station from Frontier CAPI; In files: EDMarketConnector.py:817; */
|
||||
"Station doesn't have anything!" = "Station heeft helemaal niets!";
|
||||
|
||||
/* EDMarketConnector.py: Status - No station market data from Frontier CAPI; In files: EDMarketConnector.py:822; */
|
||||
"Station doesn't have a market!" = "Station heeft geen markt!";
|
||||
|
||||
/* EDMarketConnector.py: Status - Attempting to retrieve data from Frontier CAPI; EDMarketConnector.py: Status - Attempting to retrieve data from Frontier CAPI to save to file; stats.py: Fetching data from Frontier CAPI in order to display on File > Status; In files: EDMarketConnector.py:867; EDMarketConnector.py:1428; stats.py:279; */
|
||||
"Fetching data..." = "Data wordt opgehaald...";
|
||||
|
||||
/* EDMarketConnector.py: We didn't have the commander name when we should have; stats.py: Unknown commander; In files: EDMarketConnector.py:884; stats.py:297; */
|
||||
"Who are you?!" = "Wie ben je?!";
|
||||
|
||||
/* EDMarketConnector.py: We don't know where the commander is, when we should; stats.py: Unknown location; In files: EDMarketConnector.py:890; stats.py:307; */
|
||||
"Where are you?!" = "Waar ben je?!";
|
||||
|
||||
/* EDMarketConnector.py: We don't know what ship the commander is in, when we should; stats.py: Unknown ship; In files: EDMarketConnector.py:894; stats.py:312; */
|
||||
"What are you flying?!" = "Waar vlieg je in?!";
|
||||
|
||||
/* EDMarketConnector.py: Time when we last obtained Frontier CAPI data; In files: EDMarketConnector.py:1026; */
|
||||
"Last updated at %H:%M:%S" = "Voor het laatst bijgewerkt om %H:%M:%S";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1052; */
|
||||
"Fighter" = "Gevechtsvlieger";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1053; */
|
||||
"Gunner" = "Schutter";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1054; */
|
||||
"Helm" = "Stuurman";
|
||||
|
||||
/* EDMarketConnector.py: Cooldown on 'Update' button; In files: EDMarketConnector.py:1298; */
|
||||
"cooldown {SS}s" = "wachtperiode {SS}s";
|
||||
|
||||
/* EDMarketConnector.py: Generic 'OK' button label; prefs.py: 'OK' button on Settings/Preferences window; In files: EDMarketConnector.py:1407; prefs.py:304; */
|
||||
"OK" = "OK";
|
||||
|
||||
/* EDMarketConnector.py: Popup-text about 'active' plugins without Python 3.x support; In files: EDMarketConnector.py:1780:1786; */
|
||||
"One or more of your enabled plugins do not yet have support for Python 3.x. Please see the list on the '{PLUGINS}' tab of '{FILE}' > '{SETTINGS}'. You should check if there is an updated version available, else alert the developer that they need to update the code for Python 3.x.\r\n\r\nYou can disable a plugin by renaming its folder to have '{DISABLED}' on the end of the name." = "Een of meer ingeschakelde plugins hebben nog geen Python 3.x ondersteuning. Kijk op de lijst op de '{PLUGINS}' tab van '{FILE}' > '{SETTINGS}'. Check of er een bijgewerkte versie beschikbaar is. Laat anders de developer weten dat ze de code moeten updaten voor Python 3.x.\n\nJe kan de plugin uitschakelen door het mapje te hernoemen met '{DISABLED}' aan het eind van de naam.";
|
||||
|
||||
/* EDMarketConnector.py: Settings > Plugins tab; prefs.py: Label on Settings > Plugins tab; In files: EDMarketConnector.py:1790; prefs.py:953; */
|
||||
"Plugins" = "Plugins";
|
||||
|
||||
/* EDMarketConnector.py: Popup window title for list of 'enabled' plugins that don't work with Python 3.x; In files: EDMarketConnector.py:1801; */
|
||||
"EDMC: Plugins Without Python 3.x Support" = "EDMS: Plugins zonder Python 3.x ondersteuning";
|
||||
|
||||
/* l10n.py: The system default language choice in Settings > Appearance; prefs.py: Settings > Configuration - Label on 'reset journal files location to default' button; prefs.py: The system default language choice in Settings > Appearance; prefs.py: Label for 'Default' theme radio button; In files: l10n.py:194; prefs.py:466; prefs.py:678; prefs.py:711; */
|
||||
"Default" = "Standaard";
|
||||
|
||||
/* eddn.py: Status text shown while attempting to send data; In files: eddn.py:215; eddn.py:619; eddn.py:969; */
|
||||
/* eddn.py: Status text shown while attempting to send data; In files: eddn.py:212; eddn.py:584; eddn.py:925; load.py:215; load.py:593; load.py:940; eddn.py:252; eddn.py:699; eddn.py:1439; */
|
||||
"Sending data to EDDN..." = "Bezig data te versturen naar EDDN...";
|
||||
|
||||
/* eddn.py: Error while trying to send data to EDDN; In files: eddn.py:264; eddn.py:907; eddn.py:942; eddn.py:981; */
|
||||
/* eddn.py: Error while trying to send data to EDDN; In files: eddn.py:257; eddn.py:864; eddn.py:898; eddn.py:937; load.py:260; load.py:878; load.py:913; load.py:952; eddn.py:316; eddn.py:1375; eddn.py:1410; eddn.py:1451; */
|
||||
"Error: Can't connect to EDDN" = "Fout: Kan geen verbinding maken met EDDN";
|
||||
|
||||
/* eddn.py: Enable EDDN support for station data checkbox label; In files: eddn.py:699; */
|
||||
/* eddn.py: Enable EDDN support for station data checkbox label; In files: eddn.py:663; load.py:672; eddn.py:1122; */
|
||||
"Send station data to the Elite Dangerous Data Network" = "Stuur station gegevens naar het Elite Dangerous Data Network";
|
||||
|
||||
/* eddn.py: Enable EDDN support for system and other scan data checkbox label; In files: eddn.py:710; */
|
||||
/* eddn.py: Enable EDDN support for system and other scan data checkbox label; In files: eddn.py:673; load.py:682; eddn.py:1133; */
|
||||
"Send system and scan data to the Elite Dangerous Data Network" = "Stuur systeem en scan gegevens naar het Elite Dangerous Data Network";
|
||||
|
||||
/* eddn.py: EDDN delay sending until docked option is on, this message notes that a send was skipped due to this; In files: eddn.py:721; */
|
||||
/* eddn.py: EDDN delay sending until docked option is on, this message notes that a send was skipped due to this; In files: eddn.py:683; load.py:692; eddn.py:1144; */
|
||||
"Delay sending until docked" = "Stel verzending uit tot na het docken";
|
||||
|
||||
/* edsm.py: Settings>EDSM - Label on checkbox for 'send data'; In files: edsm.py:198; */
|
||||
/* edsm.py: Settings>EDSM - Label on checkbox for 'send data'; In files: edsm.py:197; load.py:197; edsm.py:237; */
|
||||
"Send flight log and Cmdr status to EDSM" = "Stuur vlucht logboek en Cmdr status naar EDSM";
|
||||
|
||||
/* edsm.py: Settings>EDSM - Label on header/URL to EDSM API key page; In files: edsm.py:208; */
|
||||
/* edsm.py: Settings>EDSM - Label on header/URL to EDSM API key page; In files: edsm.py:206; load.py:206; edsm.py:247; */
|
||||
"Elite Dangerous Star Map credentials" = "Elite Dangerous Star Map inlog gegevens";
|
||||
|
||||
/* edsm.py: EDSM Commander name label in EDSM settings; In files: edsm.py:227; */
|
||||
/* edsm.py: Game Commander name label in EDSM settings; theme.py: Label for commander name in main window; EDMarketConnector.py: Label for commander name in main window; stats.py: Cmdr stats; In files: edsm.py:216; load.py:216; edsm.py:258; theme.py:227; EDMarketConnector.py:822; stats.py:59; */
|
||||
"Cmdr" = "Cmdr";
|
||||
|
||||
/* edsm.py: EDSM Commander name label in EDSM settings; In files: edsm.py:223; load.py:223; edsm.py:266; */
|
||||
"Commander Name" = "Commander naam";
|
||||
|
||||
/* edsm.py: EDSM API key label; inara.py: Inara API key label; In files: edsm.py:235; inara.py:237; */
|
||||
/* edsm.py: EDSM API key label; inara.py: Inara API key label; In files: edsm.py:230; inara.py:233; load.py:230; load.py:233; edsm.py:274; inara.py:243; */
|
||||
"API Key" = "API Key";
|
||||
|
||||
/* edsm.py: We have no data on the current commander; prefs.py: No hotkey/shortcut set; stats.py: No rank; In files: edsm.py:262; prefs.py:518; prefs.py:1156; prefs.py:1189; stats.py:117; stats.py:136; stats.py:155; stats.py:172; */
|
||||
/* edsm.py: We have no data on the current commander; prefs.py: No hotkey/shortcut set; stats.py: No rank; In files: edsm.py:256; load.py:256; edsm.py:301; prefs.py:520; prefs.py:1174; prefs.py:1207; stats.py:156; stats.py:175; stats.py:194; stats.py:211; */
|
||||
"None" = "Geen";
|
||||
|
||||
/* edsm.py: EDSM Plugin - Error message from EDSM API; In files: edsm.py:640; edsm.py:745; */
|
||||
/* edsm.py: EDSM Plugin - Error message from EDSM API; In files: edsm.py:622; edsm.py:724; load.py:627; load.py:729; edsm.py:747; edsm.py:875; */
|
||||
"Error: EDSM {MSG}" = "Fout: EDSM {MSG}";
|
||||
|
||||
/* edsm.py: EDSM Plugin - Error connecting to EDSM API; In files: edsm.py:677; edsm.py:740; */
|
||||
/* edsm.py: EDSM Plugin - Error connecting to EDSM API; In files: edsm.py:658; edsm.py:720; load.py:663; load.py:725; edsm.py:784; edsm.py:870; */
|
||||
"Error: Can't connect to EDSM" = "Fout: Kan geen verbinding maken met EDSM";
|
||||
|
||||
/* inara.py: Checkbox to enable INARA API Usage; In files: inara.py:216; */
|
||||
/* inara.py: Checkbox to enable INARA API Usage; In files: inara.py:215; load.py:215; inara.py:222; */
|
||||
"Send flight log and Cmdr status to Inara" = "Stuur vlucht logboek en Cmdr status naar Inara";
|
||||
|
||||
/* inara.py: Text for INARA API keys link ( goes to https://inara.cz/settings-api ); In files: inara.py:228; */
|
||||
/* inara.py: Text for INARA API keys link ( goes to https://inara.cz/settings-api ); In files: inara.py:225; load.py:225; inara.py:234; */
|
||||
"Inara credentials" = "Inara inlog gegevens";
|
||||
|
||||
|
||||
/* Raised when the Companion API server thinks that the user has not purchased E:D. i.e. doesn't have the correct 'SKU'. [companion.py] */
|
||||
"Error: Frontier server SKU problem" = "Fout: Frontier server SKU probleem";
|
||||
/* inara.py: INARA API returned some kind of error (error message will be contained in {MSG}); In files: inara.py:1549; inara.py:1562; */
|
||||
/* inara.py: INARA API returned some kind of error (error message will be contained in {MSG}); In files: inara.py:1316; inara.py:1328; load.py:1319; load.py:1331; inara.py:1587; inara.py:1600; */
|
||||
"Error: Inara {MSG}" = "Fout: Inara {MSG}";
|
||||
|
||||
/* prefs.py: File > Preferences menu entry for macOS; In files: prefs.py:250; */
|
||||
/* ttkHyperlinkLabel.py: Label for 'Copy' as in 'Copy and Paste'; EDMarketConnector.py: Label for 'Copy' as in 'Copy and Paste'; In files: ttkHyperlinkLabel.py:42; EDMarketConnector.py:866; */
|
||||
"Copy" = "Kopieëren";
|
||||
|
||||
/* EDMarketConnector.py: Update button in main window; In files: EDMarketConnector.py:529; EDMarketConnector.py:828; EDMarketConnector.py:1520; */
|
||||
"Update" = "Bijwerken";
|
||||
|
||||
/* EDMarketConnector.py: Appearance - Label for checkbox to select if application always on top; prefs.py: Appearance - Label for checkbox to select if application always on top; In files: EDMarketConnector.py:612; prefs.py:867; */
|
||||
"Always on top" = "Altijd op voorgrond";
|
||||
|
||||
/* EDMarketConnector.py: 'Ship' or multi-crew role label in main window, as applicable; EDMarketConnector.py: Multicrew role label in main window; In files: EDMarketConnector.py:824; EDMarketConnector.py:1279; */
|
||||
"Role" = "Rol";
|
||||
|
||||
/* EDMarketConnector.py: 'Ship' or multi-crew role label in main window, as applicable; EDMarketConnector.py: 'Ship' label in main UI; stats.py: Status dialog subtitle; In files: EDMarketConnector.py:824; EDMarketConnector.py:1289; EDMarketConnector.py:1312; stats.py:409; */
|
||||
"Ship" = "Schip";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'System' line in main UI; prefs.py: Configuration - Label for selection of 'System' provider website; stats.py: Main window; In files: EDMarketConnector.py:826; prefs.py:607; stats.py:411; */
|
||||
"System" = "Systeem";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'Station' line in main UI; prefs.py: Configuration - Label for selection of 'Station' provider website; prefs.py: Appearance - Example 'Normal' text; stats.py: Status dialog subtitle; In files: EDMarketConnector.py:827; prefs.py:625; prefs.py:762; stats.py:412; */
|
||||
"Station" = "Station";
|
||||
|
||||
/* EDMarketConnector.py: 'File' menu title on OSX; EDMarketConnector.py: 'File' menu title; EDMarketConnector.py: 'File' menu; In files: EDMarketConnector.py:830; EDMarketConnector.py:845; EDMarketConnector.py:848; EDMarketConnector.py:2019; */
|
||||
"File" = "Bestand";
|
||||
|
||||
/* EDMarketConnector.py: 'Edit' menu title on OSX; EDMarketConnector.py: 'Edit' menu title; In files: EDMarketConnector.py:831; EDMarketConnector.py:846; EDMarketConnector.py:849; */
|
||||
"Edit" = "Bewerken";
|
||||
|
||||
/* EDMarketConnector.py: 'View' menu title on OSX; In files: EDMarketConnector.py:832; */
|
||||
"View" = "Beeld";
|
||||
|
||||
/* EDMarketConnector.py: 'Window' menu title on OSX; In files: EDMarketConnector.py:833; */
|
||||
"Window" = "Venster";
|
||||
|
||||
/* EDMarketConnector.py: Help' menu title on OSX; EDMarketConnector.py: 'Help' menu title; In files: EDMarketConnector.py:834; EDMarketConnector.py:847; EDMarketConnector.py:850; */
|
||||
"Help" = "Help";
|
||||
|
||||
/* EDMarketConnector.py: App menu entry on OSX; EDMarketConnector.py: Help > About App; In files: EDMarketConnector.py:837; EDMarketConnector.py:863; EDMarketConnector.py:1566; */
|
||||
"About {APP}" = "Over {APP}";
|
||||
|
||||
/* EDMarketConnector.py: Help > Check for Updates...; In files: EDMarketConnector.py:839; EDMarketConnector.py:862; */
|
||||
"Check for Updates..." = "Controleren op updates...";
|
||||
|
||||
/* EDMarketConnector.py: File > Save Raw Data...; In files: EDMarketConnector.py:840; EDMarketConnector.py:854; */
|
||||
"Save Raw Data..." = "Sla onbewerkte gegevens op...";
|
||||
|
||||
/* EDMarketConnector.py: File > Status; stats.py: Status dialog title; In files: EDMarketConnector.py:841; EDMarketConnector.py:853; stats.py:406; */
|
||||
"Status" = "Status";
|
||||
|
||||
/* EDMarketConnector.py: Help > Privacy Policy; In files: EDMarketConnector.py:842; EDMarketConnector.py:860; */
|
||||
"Privacy Policy" = "Privacybeleid";
|
||||
|
||||
/* EDMarketConnector.py: Help > Release Notes; In files: EDMarketConnector.py:843; EDMarketConnector.py:861; EDMarketConnector.py:1600; */
|
||||
"Release Notes" = "Release opmerkingen";
|
||||
|
||||
/* EDMarketConnector.py: File > Settings; prefs.py: File > Settings (macOS); In files: EDMarketConnector.py:855; EDMarketConnector.py:2020; prefs.py:255; */
|
||||
"Settings" = "Instellingen";
|
||||
|
||||
/* EDMarketConnector.py: File > Exit; In files: EDMarketConnector.py:856; */
|
||||
"Exit" = "Afsluiten";
|
||||
|
||||
/* EDMarketConnector.py: Help > Documentation; In files: EDMarketConnector.py:859; */
|
||||
"Documentation" = "Documentatie";
|
||||
|
||||
/* EDMarketConnector.py: Status - Attempting to get a Frontier Auth Access Token; In files: EDMarketConnector.py:872; */
|
||||
"Logging in..." = "Bezig met inloggen...";
|
||||
|
||||
/* EDMarketConnector.py: Successfully authenticated with the Frontier website; In files: EDMarketConnector.py:888; EDMarketConnector.py:1431; */
|
||||
"Authentication successful" = "Authenticatie voltooid";
|
||||
|
||||
/* EDMarketConnector.py: Player is not docked at a station, when we expect them to be; In files: EDMarketConnector.py:919; */
|
||||
"You're not docked at a station!" = "Je bent niet gedockt in een station!";
|
||||
|
||||
/* EDMarketConnector.py: Status - Either no market or no modules data for station from Frontier CAPI; In files: EDMarketConnector.py:927; */
|
||||
"Station doesn't have anything!" = "Station heeft helemaal niets!";
|
||||
|
||||
/* EDMarketConnector.py: Status - No station market data from Frontier CAPI; In files: EDMarketConnector.py:932; */
|
||||
"Station doesn't have a market!" = "Station heeft geen markt!";
|
||||
|
||||
/* EDMarketConnector.py: Status - Attempting to retrieve data from Frontier CAPI; In files: EDMarketConnector.py:1006; */
|
||||
"Fetching data..." = "Data wordt opgehaald...";
|
||||
|
||||
/* EDMarketConnector.py: We didn't have the commander name when we should have; stats.py: Unknown commander; In files: EDMarketConnector.py:1051; stats.py:335; */
|
||||
"Who are you?!" = "Wie ben je?!";
|
||||
|
||||
/* EDMarketConnector.py: We don't know where the commander is, when we should; stats.py: Unknown location; In files: EDMarketConnector.py:1057; stats.py:345; */
|
||||
"Where are you?!" = "Waar ben je?!";
|
||||
|
||||
/* EDMarketConnector.py: We don't know what ship the commander is in, when we should; stats.py: Unknown ship; In files: EDMarketConnector.py:1064; stats.py:353; */
|
||||
"What are you flying?!" = "Waar vlieg je in?!";
|
||||
|
||||
/* EDMarketConnector.py: Time when we last obtained Frontier CAPI data; In files: EDMarketConnector.py:1226; */
|
||||
"Last updated at %H:%M:%S" = "Voor het laatst bijgewerkt om %H:%M:%S";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1254; */
|
||||
"Fighter" = "Gevechtsvlieger";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1255; */
|
||||
"Gunner" = "Schutter";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1256; */
|
||||
"Helm" = "Stuurman";
|
||||
|
||||
/* EDMarketConnector.py: Cooldown on 'Update' button; In files: EDMarketConnector.py:1514; */
|
||||
"cooldown {SS}s" = "wachtperiode {SS}s";
|
||||
|
||||
/* EDMarketConnector.py: Generic 'OK' button label; prefs.py: 'OK' button on Settings/Preferences window; In files: EDMarketConnector.py:1626; prefs.py:306; */
|
||||
"OK" = "OK";
|
||||
|
||||
/* EDMarketConnector.py: Popup-text about 'active' plugins without Python 3.x support; In files: EDMarketConnector.py:2008:2014; */
|
||||
"One or more of your enabled plugins do not yet have support for Python 3.x. Please see the list on the '{PLUGINS}' tab of '{FILE}' > '{SETTINGS}'. You should check if there is an updated version available, else alert the developer that they need to update the code for Python 3.x.\r\n\r\nYou can disable a plugin by renaming its folder to have '{DISABLED}' on the end of the name." = "Een of meer ingeschakelde plugins hebben nog geen Python 3.x ondersteuning. Kijk op de lijst op de '{PLUGINS}' tab van '{FILE}' > '{SETTINGS}'. Check of er een bijgewerkte versie beschikbaar is. Laat anders de developer weten dat ze de code moeten updaten voor Python 3.x.\n\nJe kan de plugin uitschakelen door het mapje te hernoemen met '{DISABLED}' aan het eind van de naam.";
|
||||
|
||||
/* EDMarketConnector.py: Settings > Plugins tab; prefs.py: Label on Settings > Plugins tab; In files: EDMarketConnector.py:2018; prefs.py:978; */
|
||||
"Plugins" = "Plugins";
|
||||
|
||||
/* EDMarketConnector.py: Popup window title for list of 'enabled' plugins that don't work with Python 3.x; In files: EDMarketConnector.py:2029; */
|
||||
"EDMC: Plugins Without Python 3.x Support" = "EDMS: Plugins zonder Python 3.x ondersteuning";
|
||||
|
||||
/* companion.py: Frontier CAPI data doesn't agree with latest Journal game location; In files: companion.py:237; */
|
||||
"Error: Frontier server is lagging" = "Fout: Frontier server is vertraagd";
|
||||
|
||||
/* companion.py: Generic "something went wrong with Frontier Auth" error; In files: companion.py:263; */
|
||||
"Error: Invalid Credentials" = "Fout: Ongeldige inlog gegevens";
|
||||
|
||||
/* companion.py: Frontier CAPI authorisation not for currently game-active commander; In files: companion.py:288; */
|
||||
"Error: Wrong Cmdr" = "Fout: Verkeerde Cmdr";
|
||||
|
||||
/* l10n.py: The system default language choice in Settings > Appearance; prefs.py: Settings > Configuration - Label on 'reset journal files location to default' button; prefs.py: The system default language choice in Settings > Appearance; prefs.py: Label for 'Default' theme radio button; In files: l10n.py:194; prefs.py:468; prefs.py:702; prefs.py:735; */
|
||||
"Default" = "Standaard";
|
||||
|
||||
/* prefs.py: File > Preferences menu entry for macOS; In files: prefs.py:251; */
|
||||
"Preferences" = "Preferences";
|
||||
|
||||
/* prefs.py: Settings > Output - choosing what data to save to files; In files: prefs.py:346; */
|
||||
/* prefs.py: Settings > Output - choosing what data to save to files; In files: prefs.py:348; */
|
||||
"Please choose what data to save" = "Welke gegevens wilt u opslaan?";
|
||||
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:352; */
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:354; */
|
||||
"Market data in CSV format file" = "Markt data in CSV bestand formaat";
|
||||
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:361; */
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:363; */
|
||||
"Market data in Trade Dangerous format file" = "Markt data in Trade Dangerous bestand formaat";
|
||||
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:371; */
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:373; */
|
||||
"Ship loadout" = "Schip inrichting";
|
||||
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:381; */
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:383; */
|
||||
"Automatically update on docking" = "Automatisch bijwerken na de landing";
|
||||
|
||||
/* prefs.py: Settings > Output - Label for "where files are located"; In files: prefs.py:390; prefs.py:409; */
|
||||
/* prefs.py: Settings > Output - Label for "where files are located"; In files: prefs.py:392; prefs.py:411; */
|
||||
"File location" = "Bestand locatie";
|
||||
|
||||
/* prefs.py: macOS Preferences - files location selection button; In files: prefs.py:398; prefs.py:448; */
|
||||
/* prefs.py: macOS Preferences - files location selection button; In files: prefs.py:400; prefs.py:450; */
|
||||
"Change..." = "Wijzigen...";
|
||||
|
||||
/* prefs.py: NOT-macOS Settings - files location selection button; prefs.py: NOT-macOS Setting - files location selection button; In files: prefs.py:401; prefs.py:451; */
|
||||
/* prefs.py: NOT-macOS Settings - files location selection button; prefs.py: NOT-macOS Setting - files location selection button; In files: prefs.py:403; prefs.py:453; */
|
||||
"Browse..." = "Bladeren...";
|
||||
|
||||
/* prefs.py: Label for 'Output' Settings/Preferences tab; In files: prefs.py:416; */
|
||||
/* prefs.py: Label for 'Output' Settings/Preferences tab; In files: prefs.py:418; */
|
||||
"Output" = "Uitvoer";
|
||||
|
||||
/* prefs.py: Settings > Configuration - Label for Journal files location; In files: prefs.py:442; prefs.py:457; */
|
||||
/* prefs.py: Settings > Configuration - Label for Journal files location; In files: prefs.py:444; prefs.py:459; */
|
||||
"E:D journal file location" = "E:D journaal bestand locatie";
|
||||
|
||||
/* prefs.py: Hotkey/Shortcut settings prompt on OSX; In files: prefs.py:482; */
|
||||
/* prefs.py: Hotkey/Shortcut settings prompt on OSX; In files: prefs.py:484; */
|
||||
"Keyboard shortcut" = "Toetscombinaties";
|
||||
|
||||
/* prefs.py: Hotkey/Shortcut settings prompt on Windows; In files: prefs.py:484; */
|
||||
/* prefs.py: Hotkey/Shortcut settings prompt on Windows; In files: prefs.py:486; */
|
||||
"Hotkey" = "Hotkey";
|
||||
|
||||
/* prefs.py: macOS Preferences > Configuration - restart the app message; In files: prefs.py:493; */
|
||||
/* prefs.py: macOS Preferences > Configuration - restart the app message; In files: prefs.py:495; */
|
||||
"Re-start {APP} to use shortcuts" = "{APP} heropstarten om toetscombinaties te gebruiken";
|
||||
|
||||
/* prefs.py: macOS - Configuration - need to grant the app permission for keyboard shortcuts; In files: prefs.py:502; */
|
||||
/* prefs.py: macOS - Configuration - need to grant the app permission for keyboard shortcuts; In files: prefs.py:504; */
|
||||
"{APP} needs permission to use shortcuts" = "{APP} heeft toestemming nodig om toetscombinaties te gebruiken";
|
||||
|
||||
/* prefs.py: Shortcut settings button on OSX; In files: prefs.py:507; */
|
||||
/* prefs.py: Shortcut settings button on OSX; In files: prefs.py:509; */
|
||||
"Open System Preferences" = "Open Systeemvoorkeuren";
|
||||
|
||||
/* prefs.py: Configuration - Act on hotkey only when ED is in foreground; In files: prefs.py:529; */
|
||||
/* prefs.py: Configuration - Act on hotkey only when ED is in foreground; In files: prefs.py:531; */
|
||||
"Only when Elite: Dangerous is the active app" = "Alleen wanneer Elite: Dangerous de actieve applicatie is";
|
||||
|
||||
/* prefs.py: Configuration - play sound when hotkey used; In files: prefs.py:540; */
|
||||
/* prefs.py: Configuration - play sound when hotkey used; In files: prefs.py:542; */
|
||||
"Play sound" = "Geluid afspelen";
|
||||
|
||||
/* prefs.py: Configuration - disable checks for app updates when in-game; In files: prefs.py:555; */
|
||||
/* prefs.py: Configuration - disable checks for app updates when in-game; In files: prefs.py:557; */
|
||||
"Disable Automatic Application Updates Check when in-game" = "Schakel Automatische update check uit wanneer in-game";
|
||||
|
||||
/* prefs.py: Label for preferred shipyard, system and station 'providers'; In files: prefs.py:568; */
|
||||
/* prefs.py: Label for preferred shipyard, system and station 'providers'; In files: prefs.py:570; */
|
||||
"Preferred websites" = "Voorkeur websites";
|
||||
|
||||
/* prefs.py: Label for Shipyard provider selection; In files: prefs.py:579; */
|
||||
/* prefs.py: Label for Shipyard provider selection; In files: prefs.py:581; */
|
||||
"Shipyard" = "Scheepswerf";
|
||||
|
||||
/* prefs.py: Label for checkbox to utilise alternative Coriolis URL method; In files: prefs.py:591; */
|
||||
/* prefs.py: Label for checkbox to utilise alternative Coriolis URL method; In files: prefs.py:593; */
|
||||
"Use alternate URL method" = "Gebruik andere URL methode";
|
||||
|
||||
/* prefs.py: Label for 'Configuration' tab in Settings; In files: prefs.py:672; */
|
||||
/* prefs.py: Label for 'Configuration' tab in Settings; In files: prefs.py:674; */
|
||||
"Configuration" = "Configuratie";
|
||||
|
||||
/* prefs.py: Label for Settings > Appeareance > selection of 'normal' text colour; In files: prefs.py:685; */
|
||||
/* prefs.py: Preferences privacy tab title; In files: prefs.py:696; */
|
||||
"Privacy" = "Privacy";
|
||||
|
||||
/* prefs.py: Label for Settings > Appeareance > selection of 'normal' text colour; In files: prefs.py:709; */
|
||||
"Normal text" = "Normale tekst";
|
||||
|
||||
/* prefs.py: Label for Settings > Appeareance > selection of 'highlightes' text colour; In files: prefs.py:687; */
|
||||
/* prefs.py: Label for Settings > Appeareance > selection of 'highlightes' text colour; In files: prefs.py:711; */
|
||||
"Highlighted text" = "Gemarkeerde tekst";
|
||||
|
||||
/* prefs.py: Appearance - Label for selection of application display language; In files: prefs.py:696; */
|
||||
/* prefs.py: Appearance - Label for selection of application display language; In files: prefs.py:720; */
|
||||
"Language" = "Taal";
|
||||
|
||||
/* prefs.py: Label for Settings > Appearance > Theme selection; In files: prefs.py:706; */
|
||||
/* prefs.py: Label for Settings > Appearance > Theme selection; In files: prefs.py:730; */
|
||||
"Theme" = "Thema";
|
||||
|
||||
/* prefs.py: Label for 'Dark' theme radio button; In files: prefs.py:717; */
|
||||
/* prefs.py: Label for 'Dark' theme radio button; In files: prefs.py:741; */
|
||||
"Dark" = "Donker";
|
||||
|
||||
/* prefs.py: Label for 'Transparent' theme radio button; In files: prefs.py:724; */
|
||||
/* prefs.py: Label for 'Transparent' theme radio button; In files: prefs.py:748; */
|
||||
"Transparent" = "Transparent";
|
||||
|
||||
/* prefs.py: Label for Settings > Appearance tab; In files: prefs.py:860; */
|
||||
/* prefs.py: Label for Settings > Appearance tab; In files: prefs.py:885; */
|
||||
"Appearance" = "Vormgeving";
|
||||
|
||||
/* prefs.py: Label for location of third-party plugins folder; In files: prefs.py:875; */
|
||||
/* prefs.py: Label for location of third-party plugins folder; In files: prefs.py:900; */
|
||||
"Plugins folder" = "Plugins map";
|
||||
|
||||
/* prefs.py: Label on button used to open a filesystem folder; In files: prefs.py:882; */
|
||||
/* prefs.py: Label on button used to open a filesystem folder; In files: prefs.py:907; */
|
||||
"Open" = "Openen";
|
||||
|
||||
/* prefs.py: Tip/label about how to disable plugins; In files: prefs.py:890; */
|
||||
/* prefs.py: Tip/label about how to disable plugins; In files: prefs.py:915; */
|
||||
"Tip: You can disable a plugin by{CR}adding '{EXT}' to its folder name" = "Tip: Je kan een plugin deactiveren door '{EXT}'{CR}toe te voegen aan de map naam";
|
||||
|
||||
/* prefs.py: Label on list of enabled plugins; In files: prefs.py:901; */
|
||||
/* prefs.py: Label on list of enabled plugins; In files: prefs.py:926; */
|
||||
"Enabled Plugins" = "Geactiveerde plugins";
|
||||
|
||||
/* prefs.py: Plugins - Label on URL to documentation about migrating plugins from Python 2.7; In files: prefs.py:929; */
|
||||
/* prefs.py: Plugins - Label on URL to documentation about migrating plugins from Python 2.7; In files: prefs.py:954; */
|
||||
"Information on migrating plugins" = "Informatie over plugins migreren";
|
||||
|
||||
/* prefs.py: Lable on list of user-disabled plugins; In files: prefs.py:944; */
|
||||
/* prefs.py: Lable on list of user-disabled plugins; In files: prefs.py:969; */
|
||||
"Disabled Plugins" = "Gedeactiveerde plugins";
|
||||
|
||||
/* stats.py: Cmdr stats; In files: stats.py:51; */
|
||||
/* stats.py: Cmdr stats; In files: stats.py:60; */
|
||||
"Balance" = "Balans";
|
||||
|
||||
/* stats.py: Cmdr stats; In files: stats.py:52; */
|
||||
/* stats.py: Cmdr stats; In files: stats.py:61; */
|
||||
"Loan" = "Lening";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:57; */
|
||||
"Combat" = "Gevechts rang";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:58; */
|
||||
"Trade" = "Handels rang";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:59; */
|
||||
"Explorer" = "Ontdekkingsreiziger rang";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:60; */
|
||||
"CQC" = "CQC";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:61; */
|
||||
"Federation" = "Federation";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:62; */
|
||||
"Empire" = "Empire";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:63; */
|
||||
"Powerplay" = "Powerplay";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:71; */
|
||||
"Harmless" = "Harmless";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:72; */
|
||||
"Mostly Harmless" = "Mostly Harmless";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:73; */
|
||||
"Novice" = "Novice";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:74; */
|
||||
"Competent" = "Competent";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:75; */
|
||||
"Expert" = "Expert";
|
||||
|
||||
/* stats.py: Combat rank; stats.py: Empire rank; In files: stats.py:76; stats.py:139; */
|
||||
"Master" = "Master";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:77; */
|
||||
"Dangerous" = "Dangerous";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:78; */
|
||||
"Deadly" = "Deadly";
|
||||
|
||||
/* stats.py: Top rank; In files: stats.py:79; stats.py:90; stats.py:101; stats.py:112; */
|
||||
/* stats.py: Top rank; In files: stats.py:65; */
|
||||
"Elite" = "Elite";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:82; */
|
||||
/* stats.py: Ranking; In files: stats.py:76; */
|
||||
"Combat" = "Gevechts rang";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:77; */
|
||||
"Trade" = "Handels rang";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:78; */
|
||||
"Explorer" = "Ontdekkingsreiziger rang";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:81; */
|
||||
"CQC" = "CQC";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:82; */
|
||||
"Federation" = "Federation";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:83; */
|
||||
"Empire" = "Empire";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:84; */
|
||||
"Powerplay" = "Powerplay";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:93; */
|
||||
"Harmless" = "Harmless";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:94; */
|
||||
"Mostly Harmless" = "Mostly Harmless";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:95; */
|
||||
"Novice" = "Novice";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:96; */
|
||||
"Competent" = "Competent";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:97; */
|
||||
"Expert" = "Expert";
|
||||
|
||||
/* stats.py: Combat rank; stats.py: Empire rank; In files: stats.py:98; stats.py:178; */
|
||||
"Master" = "Master";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:99; */
|
||||
"Dangerous" = "Dangerous";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:100; */
|
||||
"Deadly" = "Deadly";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:103; */
|
||||
"Penniless" = "Penniless";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:83; */
|
||||
/* stats.py: Trade rank; In files: stats.py:104; */
|
||||
"Mostly Penniless" = "Mostly Penniless";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:84; */
|
||||
/* stats.py: Trade rank; In files: stats.py:105; */
|
||||
"Peddler" = "Peddler";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:85; */
|
||||
/* stats.py: Trade rank; In files: stats.py:106; */
|
||||
"Dealer" = "Dealer";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:86; */
|
||||
/* stats.py: Trade rank; In files: stats.py:107; */
|
||||
"Merchant" = "Merchant";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:87; */
|
||||
/* stats.py: Trade rank; In files: stats.py:108; */
|
||||
"Broker" = "Broker";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:88; */
|
||||
/* stats.py: Trade rank; In files: stats.py:109; */
|
||||
"Entrepreneur" = "Entrepreneur";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:89; */
|
||||
/* stats.py: Trade rank; In files: stats.py:110; */
|
||||
"Tycoon" = "Tycoon";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:93; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:113; */
|
||||
"Aimless" = "Aimless";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:94; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:114; */
|
||||
"Mostly Aimless" = "Mostly Aimless";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:95; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:115; */
|
||||
"Scout" = "Scout";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:96; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:116; */
|
||||
"Surveyor" = "Surveyor";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:97; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:117; */
|
||||
"Trailblazer" = "Trailblazer";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:98; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:118; */
|
||||
"Pathfinder" = "Pathfinder";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:99; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:119; */
|
||||
"Ranger" = "Ranger";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:100; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:120; */
|
||||
"Pioneer" = "Pioneer";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:104; */
|
||||
/* stats.py: CQC rank; In files: stats.py:144; */
|
||||
"Helpless" = "Helpless";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:105; */
|
||||
/* stats.py: CQC rank; In files: stats.py:145; */
|
||||
"Mostly Helpless" = "Mostly Helpless";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:106; */
|
||||
/* stats.py: CQC rank; In files: stats.py:146; */
|
||||
"Amateur" = "Amateur";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:107; */
|
||||
/* stats.py: CQC rank; In files: stats.py:147; */
|
||||
"Semi Professional" = "Semi Professional";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:108; */
|
||||
/* stats.py: CQC rank; In files: stats.py:148; */
|
||||
"Professional" = "Professional";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:109; */
|
||||
/* stats.py: CQC rank; In files: stats.py:149; */
|
||||
"Champion" = "Champion";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:110; */
|
||||
/* stats.py: CQC rank; In files: stats.py:150; */
|
||||
"Hero" = "Hero";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:111; */
|
||||
/* stats.py: CQC rank; In files: stats.py:151; */
|
||||
"Gladiator" = "Gladiator";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:118; */
|
||||
/* stats.py: Federation rank; In files: stats.py:157; */
|
||||
"Recruit" = "Recruit";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:119; */
|
||||
/* stats.py: Federation rank; In files: stats.py:158; */
|
||||
"Cadet" = "Cadet";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:120; */
|
||||
/* stats.py: Federation rank; In files: stats.py:159; */
|
||||
"Midshipman" = "Midshipman";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:121; */
|
||||
/* stats.py: Federation rank; In files: stats.py:160; */
|
||||
"Petty Officer" = "Petty Officer";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:122; */
|
||||
/* stats.py: Federation rank; In files: stats.py:161; */
|
||||
"Chief Petty Officer" = "Chief Petty Officer";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:123; */
|
||||
/* stats.py: Federation rank; In files: stats.py:162; */
|
||||
"Warrant Officer" = "Warrant Officer";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:124; */
|
||||
/* stats.py: Federation rank; In files: stats.py:163; */
|
||||
"Ensign" = "Ensign";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:125; */
|
||||
/* stats.py: Federation rank; In files: stats.py:164; */
|
||||
"Lieutenant" = "Lieutenant";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:126; */
|
||||
/* stats.py: Federation rank; In files: stats.py:165; */
|
||||
"Lieutenant Commander" = "Lieutenant Commander";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:127; */
|
||||
/* stats.py: Federation rank; In files: stats.py:166; */
|
||||
"Post Commander" = "Post Commander";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:128; */
|
||||
/* stats.py: Federation rank; In files: stats.py:167; */
|
||||
"Post Captain" = "Post Captain";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:129; */
|
||||
/* stats.py: Federation rank; In files: stats.py:168; */
|
||||
"Rear Admiral" = "Rear Admiral";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:130; */
|
||||
/* stats.py: Federation rank; In files: stats.py:169; */
|
||||
"Vice Admiral" = "Vice Admiral";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:131; */
|
||||
/* stats.py: Federation rank; In files: stats.py:170; */
|
||||
"Admiral" = "Admiral";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:137; */
|
||||
/* stats.py: Empire rank; In files: stats.py:176; */
|
||||
"Outsider" = "Outsider";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:138; */
|
||||
/* stats.py: Empire rank; In files: stats.py:177; */
|
||||
"Serf" = "Serf";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:140; */
|
||||
/* stats.py: Empire rank; In files: stats.py:179; */
|
||||
"Squire" = "Squire";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:141; */
|
||||
/* stats.py: Empire rank; In files: stats.py:180; */
|
||||
"Knight" = "Knight";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:142; */
|
||||
/* stats.py: Empire rank; In files: stats.py:181; */
|
||||
"Lord" = "Lord";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:143; */
|
||||
/* stats.py: Empire rank; In files: stats.py:182; */
|
||||
"Baron" = "Baron";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:144; */
|
||||
/* stats.py: Empire rank; In files: stats.py:183; */
|
||||
"Viscount" = "Viscount";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:145; */
|
||||
/* stats.py: Empire rank; In files: stats.py:184; */
|
||||
"Count" = "Count";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:146; */
|
||||
/* stats.py: Empire rank; In files: stats.py:185; */
|
||||
"Earl" = "Earl";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:147; */
|
||||
/* stats.py: Empire rank; In files: stats.py:186; */
|
||||
"Marquis" = "Marquis";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:148; */
|
||||
/* stats.py: Empire rank; In files: stats.py:187; */
|
||||
"Duke" = "Duke";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:149; */
|
||||
/* stats.py: Empire rank; In files: stats.py:188; */
|
||||
"Prince" = "Prince";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:150; */
|
||||
/* stats.py: Empire rank; In files: stats.py:189; */
|
||||
"King" = "King";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:156; */
|
||||
/* stats.py: Power rank; In files: stats.py:195; */
|
||||
"Rating 1" = "Rating 1";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:157; */
|
||||
/* stats.py: Power rank; In files: stats.py:196; */
|
||||
"Rating 2" = "Rating 2";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:158; */
|
||||
/* stats.py: Power rank; In files: stats.py:197; */
|
||||
"Rating 3" = "Rating 3";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:159; */
|
||||
/* stats.py: Power rank; In files: stats.py:198; */
|
||||
"Rating 4" = "Rating 4";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:160; */
|
||||
/* stats.py: Power rank; In files: stats.py:199; */
|
||||
"Rating 5" = "Rating 5";
|
||||
|
||||
/* stats.py: Status dialog subtitle - CR value of ship; In files: stats.py:367; */
|
||||
/* stats.py: Status dialog subtitle - CR value of ship; In files: stats.py:413; */
|
||||
"Value" = "Waarde";
|
||||
|
||||
/* stats.py: Status dialog title; In files: stats.py:376; */
|
||||
/* stats.py: Status dialog title; In files: stats.py:422; */
|
||||
"Ships" = "Schepen";
|
||||
+487
-387
File diff suppressed because it is too large.
Load diff
+487
-387
File diff suppressed because it is too large.
Load diff
+487
-387
File diff suppressed because it is too large.
Load diff
+487
-387
File diff suppressed because it is too large.
Load diff
+248
-245
@@ -1,431 +1,434 @@
|
||||
/* Language name */
|
||||
"!Language" = "Slovenščina";
|
||||
|
||||
/* companion.py: Generic "something went wrong with Frontier Auth" error; In files: companion.py:214; */
|
||||
"Error: Invalid Credentials" = "Napaka: napačno uporabniški ime ali geslo";
|
||||
|
||||
/* EDMarketConnector.py: Update button in main window; In files: EDMarketConnector.py:424; EDMarketConnector.py:718; EDMarketConnector.py:1302; */
|
||||
"Update" = "Osveži";
|
||||
|
||||
/* EDMarketConnector.py: Appearance - Label for checkbox to select if application always on top; prefs.py: Appearance - Label for checkbox to select if application always on top; In files: EDMarketConnector.py:507; prefs.py:843; */
|
||||
"Always on top" = "Vedno na vrhu";
|
||||
|
||||
/* EDMarketConnector.py: Label for commander name in main window; edsm.py: Game Commander name label in EDSM settings; stats.py: Cmdr stats; theme.py: Label for commander name in main window; In files: EDMarketConnector.py:712; edsm.py:219; stats.py:50; theme.py:227; */
|
||||
"Cmdr" = "Cmdr";
|
||||
|
||||
/* EDMarketConnector.py: 'Ship' or multi-crew role label in main window, as applicable; EDMarketConnector.py: Multicrew role label in main window; In files: EDMarketConnector.py:714; EDMarketConnector.py:1072; */
|
||||
"Role" = "Vloga";
|
||||
|
||||
/* EDMarketConnector.py: 'Ship' or multi-crew role label in main window, as applicable; EDMarketConnector.py: 'Ship' label in main UI; stats.py: Status dialog subtitle; In files: EDMarketConnector.py:714; EDMarketConnector.py:1082; EDMarketConnector.py:1105; stats.py:363; */
|
||||
"Ship" = "Ladja";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'System' line in main UI; prefs.py: Configuration - Label for selection of 'System' provider website; stats.py: Main window; In files: EDMarketConnector.py:716; prefs.py:605; stats.py:365; */
|
||||
"System" = "Sistem";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'Station' line in main UI; prefs.py: Configuration - Label for selection of 'Station' provider website; prefs.py: Appearance - Example 'Normal' text; stats.py: Status dialog subtitle; In files: EDMarketConnector.py:717; prefs.py:623; prefs.py:738; stats.py:366; */
|
||||
"Station" = "Postaja";
|
||||
|
||||
/* EDMarketConnector.py: 'File' menu title on OSX; EDMarketConnector.py: 'File' menu title; EDMarketConnector.py: 'File' menu; In files: EDMarketConnector.py:720; EDMarketConnector.py:735; EDMarketConnector.py:738; EDMarketConnector.py:1791; */
|
||||
"File" = "Datoteka";
|
||||
|
||||
/* EDMarketConnector.py: 'Edit' menu title on OSX; EDMarketConnector.py: 'Edit' menu title; In files: EDMarketConnector.py:721; EDMarketConnector.py:736; EDMarketConnector.py:739; */
|
||||
"Edit" = "Uredi";
|
||||
|
||||
/* EDMarketConnector.py: 'View' menu title on OSX; In files: EDMarketConnector.py:722; */
|
||||
"View" = "Pogled";
|
||||
|
||||
/* EDMarketConnector.py: 'Window' menu title on OSX; In files: EDMarketConnector.py:723; */
|
||||
"Window" = "Okno";
|
||||
|
||||
/* EDMarketConnector.py: Help' menu title on OSX; EDMarketConnector.py: 'Help' menu title; In files: EDMarketConnector.py:724; EDMarketConnector.py:737; EDMarketConnector.py:740; */
|
||||
"Help" = "Pomoč";
|
||||
|
||||
/* EDMarketConnector.py: App menu entry on OSX; EDMarketConnector.py: Help > About App; In files: EDMarketConnector.py:727; EDMarketConnector.py:753; EDMarketConnector.py:1347; */
|
||||
"About {APP}" = "O {APP}";
|
||||
|
||||
/* EDMarketConnector.py: Help > Check for Updates...; In files: EDMarketConnector.py:729; EDMarketConnector.py:752; */
|
||||
"Check for Updates..." = "Preveri posodobitve...";
|
||||
|
||||
/* EDMarketConnector.py: File > Save Raw Data...; In files: EDMarketConnector.py:730; EDMarketConnector.py:744; */
|
||||
"Save Raw Data..." = "Shrani Izvirne Podatke...";
|
||||
|
||||
/* EDMarketConnector.py: File > Status; stats.py: Status dialog title; In files: EDMarketConnector.py:731; EDMarketConnector.py:743; stats.py:360; */
|
||||
"Status" = "Status";
|
||||
|
||||
/* EDMarketConnector.py: Help > Privacy Policy; In files: EDMarketConnector.py:732; EDMarketConnector.py:750; */
|
||||
"Privacy Policy" = "Pravilnik o zasebnosti";
|
||||
|
||||
/* EDMarketConnector.py: Help > Release Notes; In files: EDMarketConnector.py:733; EDMarketConnector.py:751; EDMarketConnector.py:1381; */
|
||||
"Release Notes" = "Opombe ob izdaji";
|
||||
|
||||
/* EDMarketConnector.py: File > Settings; prefs.py: File > Settings (macOS); In files: EDMarketConnector.py:745; EDMarketConnector.py:1792; prefs.py:254; */
|
||||
"Settings" = "Nastavitve";
|
||||
|
||||
/* EDMarketConnector.py: File > Exit; In files: EDMarketConnector.py:746; */
|
||||
"Exit" = "Izhod";
|
||||
|
||||
/* EDMarketConnector.py: Help > Documentation; In files: EDMarketConnector.py:749; */
|
||||
"Documentation" = "Dokumentacija";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'Copy' as in 'Copy and Paste'; ttkHyperlinkLabel.py: Label for 'Copy' as in 'Copy and Paste'; In files: EDMarketConnector.py:756; ttkHyperlinkLabel.py:42; */
|
||||
"Copy" = "Kopiraj";
|
||||
|
||||
/* EDMarketConnector.py: Status - Attempting to get a Frontier Auth Access Token; In files: EDMarketConnector.py:762; */
|
||||
"Logging in..." = "Prijava v teku... ";
|
||||
|
||||
/* EDMarketConnector.py: Successfully authenticated with the Frontier website; In files: EDMarketConnector.py:778; EDMarketConnector.py:1215; */
|
||||
"Authentication successful" = "Preverjanje pristnosti je bilo uspešno";
|
||||
|
||||
/* EDMarketConnector.py: Player is not docked at a station, when we expect them to be; In files: EDMarketConnector.py:809; */
|
||||
"You're not docked at a station!" = "Nahajš se v postaji!";
|
||||
|
||||
/* EDMarketConnector.py: Status - Either no market or no modules data for station from Frontier CAPI; In files: EDMarketConnector.py:817; */
|
||||
"Station doesn't have anything!" = "Postaja nima ničesar";
|
||||
|
||||
/* EDMarketConnector.py: Status - No station market data from Frontier CAPI; In files: EDMarketConnector.py:822; */
|
||||
"Station doesn't have a market!" = "Postaja nima trga";
|
||||
|
||||
/* EDMarketConnector.py: Status - Attempting to retrieve data from Frontier CAPI; EDMarketConnector.py: Status - Attempting to retrieve data from Frontier CAPI to save to file; stats.py: Fetching data from Frontier CAPI in order to display on File > Status; In files: EDMarketConnector.py:867; EDMarketConnector.py:1428; stats.py:279; */
|
||||
"Fetching data..." = "Nalagam podatke...";
|
||||
|
||||
/* EDMarketConnector.py: We didn't have the commander name when we should have; stats.py: Unknown commander; In files: EDMarketConnector.py:884; stats.py:297; */
|
||||
"Who are you?!" = "Kdo si";
|
||||
|
||||
/* EDMarketConnector.py: We don't know where the commander is, when we should; stats.py: Unknown location; In files: EDMarketConnector.py:890; stats.py:307; */
|
||||
"Where are you?!" = "Kje se nahajaš";
|
||||
|
||||
/* EDMarketConnector.py: We don't know what ship the commander is in, when we should; stats.py: Unknown ship; In files: EDMarketConnector.py:894; stats.py:312; */
|
||||
"What are you flying?!" = "S čim letiš";
|
||||
|
||||
/* EDMarketConnector.py: Time when we last obtained Frontier CAPI data; In files: EDMarketConnector.py:1026; */
|
||||
"Last updated at %H:%M:%S" = "Zadnja osvežitev podatkov %H:%M:%S ";
|
||||
|
||||
/* EDMarketConnector.py: Cooldown on 'Update' button; In files: EDMarketConnector.py:1298; */
|
||||
"cooldown {SS}s" = "Posodobitev v {SS}s";
|
||||
|
||||
/* EDMarketConnector.py: Generic 'OK' button label; prefs.py: 'OK' button on Settings/Preferences window; In files: EDMarketConnector.py:1407; prefs.py:304; */
|
||||
"OK" = "Potrdi";
|
||||
|
||||
/* l10n.py: The system default language choice in Settings > Appearance; prefs.py: Settings > Configuration - Label on 'reset journal files location to default' button; prefs.py: The system default language choice in Settings > Appearance; prefs.py: Label for 'Default' theme radio button; In files: l10n.py:194; prefs.py:466; prefs.py:678; prefs.py:711; */
|
||||
"Default" = "Privzeta";
|
||||
|
||||
/* eddn.py: Status text shown while attempting to send data; In files: eddn.py:215; eddn.py:619; eddn.py:969; */
|
||||
/* eddn.py: Status text shown while attempting to send data; In files: eddn.py:212; eddn.py:584; eddn.py:925; load.py:215; load.py:593; load.py:940; eddn.py:252; eddn.py:699; eddn.py:1439; */
|
||||
"Sending data to EDDN..." = "Pošiljam podatke na EDDN";
|
||||
|
||||
/* eddn.py: Error while trying to send data to EDDN; In files: eddn.py:264; eddn.py:907; eddn.py:942; eddn.py:981; */
|
||||
/* eddn.py: Error while trying to send data to EDDN; In files: eddn.py:257; eddn.py:864; eddn.py:898; eddn.py:937; load.py:260; load.py:878; load.py:913; load.py:952; eddn.py:316; eddn.py:1375; eddn.py:1410; eddn.py:1451; */
|
||||
"Error: Can't connect to EDDN" = "Napaka: povezava z EDDN ni mogoča";
|
||||
|
||||
/* eddn.py: Enable EDDN support for station data checkbox label; In files: eddn.py:699; */
|
||||
/* eddn.py: Enable EDDN support for station data checkbox label; In files: eddn.py:663; load.py:672; eddn.py:1122; */
|
||||
"Send station data to the Elite Dangerous Data Network" = "Pošlji podatke postaje na EDDN";
|
||||
|
||||
/* edsm.py: Settings>EDSM - Label on header/URL to EDSM API key page; In files: edsm.py:208; */
|
||||
/* edsm.py: Settings>EDSM - Label on header/URL to EDSM API key page; In files: edsm.py:206; load.py:206; edsm.py:247; */
|
||||
"Elite Dangerous Star Map credentials" = "EDStarMap uporabniški podatki";
|
||||
|
||||
/* edsm.py: EDSM Commander name label in EDSM settings; In files: edsm.py:227; */
|
||||
/* edsm.py: Game Commander name label in EDSM settings; theme.py: Label for commander name in main window; EDMarketConnector.py: Label for commander name in main window; stats.py: Cmdr stats; In files: edsm.py:216; load.py:216; edsm.py:258; theme.py:227; EDMarketConnector.py:822; stats.py:59; */
|
||||
"Cmdr" = "Cmdr";
|
||||
|
||||
/* edsm.py: EDSM Commander name label in EDSM settings; In files: edsm.py:223; load.py:223; edsm.py:266; */
|
||||
"Commander Name" = "Commander ime";
|
||||
|
||||
/* edsm.py: EDSM API key label; inara.py: Inara API key label; In files: edsm.py:235; inara.py:237; */
|
||||
/* edsm.py: EDSM API key label; inara.py: Inara API key label; In files: edsm.py:230; inara.py:233; load.py:230; load.py:233; edsm.py:274; inara.py:243; */
|
||||
"API Key" = "API ključ";
|
||||
|
||||
/* edsm.py: We have no data on the current commander; prefs.py: No hotkey/shortcut set; stats.py: No rank; In files: edsm.py:262; prefs.py:518; prefs.py:1156; prefs.py:1189; stats.py:117; stats.py:136; stats.py:155; stats.py:172; */
|
||||
/* edsm.py: We have no data on the current commander; prefs.py: No hotkey/shortcut set; stats.py: No rank; In files: edsm.py:256; load.py:256; edsm.py:301; prefs.py:520; prefs.py:1174; prefs.py:1207; stats.py:156; stats.py:175; stats.py:194; stats.py:211; */
|
||||
"None" = "Brez";
|
||||
|
||||
/* edsm.py: EDSM Plugin - Error message from EDSM API; In files: edsm.py:640; edsm.py:745; */
|
||||
/* edsm.py: EDSM Plugin - Error message from EDSM API; In files: edsm.py:622; edsm.py:724; load.py:627; load.py:729; edsm.py:747; edsm.py:875; */
|
||||
"Error: EDSM {MSG}" = "Napaka: EDSM {MSG}";
|
||||
|
||||
/* edsm.py: EDSM Plugin - Error connecting to EDSM API; In files: edsm.py:677; edsm.py:740; */
|
||||
/* edsm.py: EDSM Plugin - Error connecting to EDSM API; In files: edsm.py:658; edsm.py:720; load.py:663; load.py:725; edsm.py:784; edsm.py:870; */
|
||||
"Error: Can't connect to EDSM" = "Napaka: Povezava z EDSM ni mogoča";
|
||||
|
||||
/* prefs.py: File > Preferences menu entry for macOS; In files: prefs.py:250; */
|
||||
/* ttkHyperlinkLabel.py: Label for 'Copy' as in 'Copy and Paste'; EDMarketConnector.py: Label for 'Copy' as in 'Copy and Paste'; In files: ttkHyperlinkLabel.py:42; EDMarketConnector.py:866; */
|
||||
"Copy" = "Kopiraj";
|
||||
|
||||
/* EDMarketConnector.py: Update button in main window; In files: EDMarketConnector.py:529; EDMarketConnector.py:828; EDMarketConnector.py:1520; */
|
||||
"Update" = "Osveži";
|
||||
|
||||
/* EDMarketConnector.py: Appearance - Label for checkbox to select if application always on top; prefs.py: Appearance - Label for checkbox to select if application always on top; In files: EDMarketConnector.py:612; prefs.py:867; */
|
||||
"Always on top" = "Vedno na vrhu";
|
||||
|
||||
/* EDMarketConnector.py: 'Ship' or multi-crew role label in main window, as applicable; EDMarketConnector.py: Multicrew role label in main window; In files: EDMarketConnector.py:824; EDMarketConnector.py:1279; */
|
||||
"Role" = "Vloga";
|
||||
|
||||
/* EDMarketConnector.py: 'Ship' or multi-crew role label in main window, as applicable; EDMarketConnector.py: 'Ship' label in main UI; stats.py: Status dialog subtitle; In files: EDMarketConnector.py:824; EDMarketConnector.py:1289; EDMarketConnector.py:1312; stats.py:409; */
|
||||
"Ship" = "Ladja";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'System' line in main UI; prefs.py: Configuration - Label for selection of 'System' provider website; stats.py: Main window; In files: EDMarketConnector.py:826; prefs.py:607; stats.py:411; */
|
||||
"System" = "Sistem";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'Station' line in main UI; prefs.py: Configuration - Label for selection of 'Station' provider website; prefs.py: Appearance - Example 'Normal' text; stats.py: Status dialog subtitle; In files: EDMarketConnector.py:827; prefs.py:625; prefs.py:762; stats.py:412; */
|
||||
"Station" = "Postaja";
|
||||
|
||||
/* EDMarketConnector.py: 'File' menu title on OSX; EDMarketConnector.py: 'File' menu title; EDMarketConnector.py: 'File' menu; In files: EDMarketConnector.py:830; EDMarketConnector.py:845; EDMarketConnector.py:848; EDMarketConnector.py:2019; */
|
||||
"File" = "Datoteka";
|
||||
|
||||
/* EDMarketConnector.py: 'Edit' menu title on OSX; EDMarketConnector.py: 'Edit' menu title; In files: EDMarketConnector.py:831; EDMarketConnector.py:846; EDMarketConnector.py:849; */
|
||||
"Edit" = "Uredi";
|
||||
|
||||
/* EDMarketConnector.py: 'View' menu title on OSX; In files: EDMarketConnector.py:832; */
|
||||
"View" = "Pogled";
|
||||
|
||||
/* EDMarketConnector.py: 'Window' menu title on OSX; In files: EDMarketConnector.py:833; */
|
||||
"Window" = "Okno";
|
||||
|
||||
/* EDMarketConnector.py: Help' menu title on OSX; EDMarketConnector.py: 'Help' menu title; In files: EDMarketConnector.py:834; EDMarketConnector.py:847; EDMarketConnector.py:850; */
|
||||
"Help" = "Pomoč";
|
||||
|
||||
/* EDMarketConnector.py: App menu entry on OSX; EDMarketConnector.py: Help > About App; In files: EDMarketConnector.py:837; EDMarketConnector.py:863; EDMarketConnector.py:1566; */
|
||||
"About {APP}" = "O {APP}";
|
||||
|
||||
/* EDMarketConnector.py: Help > Check for Updates...; In files: EDMarketConnector.py:839; EDMarketConnector.py:862; */
|
||||
"Check for Updates..." = "Preveri posodobitve...";
|
||||
|
||||
/* EDMarketConnector.py: File > Save Raw Data...; In files: EDMarketConnector.py:840; EDMarketConnector.py:854; */
|
||||
"Save Raw Data..." = "Shrani Izvirne Podatke...";
|
||||
|
||||
/* EDMarketConnector.py: File > Status; stats.py: Status dialog title; In files: EDMarketConnector.py:841; EDMarketConnector.py:853; stats.py:406; */
|
||||
"Status" = "Status";
|
||||
|
||||
/* EDMarketConnector.py: Help > Privacy Policy; In files: EDMarketConnector.py:842; EDMarketConnector.py:860; */
|
||||
"Privacy Policy" = "Pravilnik o zasebnosti";
|
||||
|
||||
/* EDMarketConnector.py: Help > Release Notes; In files: EDMarketConnector.py:843; EDMarketConnector.py:861; EDMarketConnector.py:1600; */
|
||||
"Release Notes" = "Opombe ob izdaji";
|
||||
|
||||
/* EDMarketConnector.py: File > Settings; prefs.py: File > Settings (macOS); In files: EDMarketConnector.py:855; EDMarketConnector.py:2020; prefs.py:255; */
|
||||
"Settings" = "Nastavitve";
|
||||
|
||||
/* EDMarketConnector.py: File > Exit; In files: EDMarketConnector.py:856; */
|
||||
"Exit" = "Izhod";
|
||||
|
||||
/* EDMarketConnector.py: Help > Documentation; In files: EDMarketConnector.py:859; */
|
||||
"Documentation" = "Dokumentacija";
|
||||
|
||||
/* EDMarketConnector.py: Status - Attempting to get a Frontier Auth Access Token; In files: EDMarketConnector.py:872; */
|
||||
"Logging in..." = "Prijava v teku... ";
|
||||
|
||||
/* EDMarketConnector.py: Successfully authenticated with the Frontier website; In files: EDMarketConnector.py:888; EDMarketConnector.py:1431; */
|
||||
"Authentication successful" = "Preverjanje pristnosti je bilo uspešno";
|
||||
|
||||
/* EDMarketConnector.py: Player is not docked at a station, when we expect them to be; In files: EDMarketConnector.py:919; */
|
||||
"You're not docked at a station!" = "Nahajš se v postaji!";
|
||||
|
||||
/* EDMarketConnector.py: Status - Either no market or no modules data for station from Frontier CAPI; In files: EDMarketConnector.py:927; */
|
||||
"Station doesn't have anything!" = "Postaja nima ničesar";
|
||||
|
||||
/* EDMarketConnector.py: Status - No station market data from Frontier CAPI; In files: EDMarketConnector.py:932; */
|
||||
"Station doesn't have a market!" = "Postaja nima trga";
|
||||
|
||||
/* EDMarketConnector.py: Status - Attempting to retrieve data from Frontier CAPI; In files: EDMarketConnector.py:1006; */
|
||||
"Fetching data..." = "Nalagam podatke...";
|
||||
|
||||
/* EDMarketConnector.py: We didn't have the commander name when we should have; stats.py: Unknown commander; In files: EDMarketConnector.py:1051; stats.py:335; */
|
||||
"Who are you?!" = "Kdo si";
|
||||
|
||||
/* EDMarketConnector.py: We don't know where the commander is, when we should; stats.py: Unknown location; In files: EDMarketConnector.py:1057; stats.py:345; */
|
||||
"Where are you?!" = "Kje se nahajaš";
|
||||
|
||||
/* EDMarketConnector.py: We don't know what ship the commander is in, when we should; stats.py: Unknown ship; In files: EDMarketConnector.py:1064; stats.py:353; */
|
||||
"What are you flying?!" = "S čim letiš";
|
||||
|
||||
/* EDMarketConnector.py: Time when we last obtained Frontier CAPI data; In files: EDMarketConnector.py:1226; */
|
||||
"Last updated at %H:%M:%S" = "Zadnja osvežitev podatkov %H:%M:%S ";
|
||||
|
||||
/* EDMarketConnector.py: Cooldown on 'Update' button; In files: EDMarketConnector.py:1514; */
|
||||
"cooldown {SS}s" = "Posodobitev v {SS}s";
|
||||
|
||||
/* EDMarketConnector.py: Generic 'OK' button label; prefs.py: 'OK' button on Settings/Preferences window; In files: EDMarketConnector.py:1626; prefs.py:306; */
|
||||
"OK" = "Potrdi";
|
||||
|
||||
/* companion.py: Generic "something went wrong with Frontier Auth" error; In files: companion.py:263; */
|
||||
"Error: Invalid Credentials" = "Napaka: napačno uporabniški ime ali geslo";
|
||||
|
||||
/* l10n.py: The system default language choice in Settings > Appearance; prefs.py: Settings > Configuration - Label on 'reset journal files location to default' button; prefs.py: The system default language choice in Settings > Appearance; prefs.py: Label for 'Default' theme radio button; In files: l10n.py:194; prefs.py:468; prefs.py:702; prefs.py:735; */
|
||||
"Default" = "Privzeta";
|
||||
|
||||
/* prefs.py: File > Preferences menu entry for macOS; In files: prefs.py:251; */
|
||||
"Preferences" = "Nastavitve";
|
||||
|
||||
/* prefs.py: Settings > Output - choosing what data to save to files; In files: prefs.py:346; */
|
||||
/* prefs.py: Settings > Output - choosing what data to save to files; In files: prefs.py:348; */
|
||||
"Please choose what data to save" = "Izberite podatke, ki jih želite shraniti";
|
||||
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:352; */
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:354; */
|
||||
"Market data in CSV format file" = "Podatki trga v CSV formatu";
|
||||
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:361; */
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:363; */
|
||||
"Market data in Trade Dangerous format file" = "Podatki trga v Trade Dangerous formatu";
|
||||
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:371; */
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:373; */
|
||||
"Ship loadout" = "Oprema ladje";
|
||||
|
||||
/* prefs.py: Settings > Output - Label for "where files are located"; In files: prefs.py:390; prefs.py:409; */
|
||||
/* prefs.py: Settings > Output - Label for "where files are located"; In files: prefs.py:392; prefs.py:411; */
|
||||
"File location" = "Lokacija datoteke";
|
||||
|
||||
/* prefs.py: macOS Preferences - files location selection button; In files: prefs.py:398; prefs.py:448; */
|
||||
/* prefs.py: macOS Preferences - files location selection button; In files: prefs.py:400; prefs.py:450; */
|
||||
"Change..." = "Spremeni...";
|
||||
|
||||
/* prefs.py: NOT-macOS Settings - files location selection button; prefs.py: NOT-macOS Setting - files location selection button; In files: prefs.py:401; prefs.py:451; */
|
||||
/* prefs.py: NOT-macOS Settings - files location selection button; prefs.py: NOT-macOS Setting - files location selection button; In files: prefs.py:403; prefs.py:453; */
|
||||
"Browse..." = "Prebrskaj...";
|
||||
|
||||
/* prefs.py: Label for 'Output' Settings/Preferences tab; In files: prefs.py:416; */
|
||||
/* prefs.py: Label for 'Output' Settings/Preferences tab; In files: prefs.py:418; */
|
||||
"Output" = "Izpis";
|
||||
|
||||
/* prefs.py: Hotkey/Shortcut settings prompt on OSX; In files: prefs.py:482; */
|
||||
/* prefs.py: Hotkey/Shortcut settings prompt on OSX; In files: prefs.py:484; */
|
||||
"Keyboard shortcut" = "Bližnjica";
|
||||
|
||||
/* prefs.py: Hotkey/Shortcut settings prompt on Windows; In files: prefs.py:484; */
|
||||
/* prefs.py: Hotkey/Shortcut settings prompt on Windows; In files: prefs.py:486; */
|
||||
"Hotkey" = "Bližnjica";
|
||||
|
||||
/* prefs.py: macOS Preferences > Configuration - restart the app message; In files: prefs.py:493; */
|
||||
/* prefs.py: macOS Preferences > Configuration - restart the app message; In files: prefs.py:495; */
|
||||
"Re-start {APP} to use shortcuts" = "Ponovno poženi {APP} za uporabo bližnjic";
|
||||
|
||||
/* prefs.py: macOS - Configuration - need to grant the app permission for keyboard shortcuts; In files: prefs.py:502; */
|
||||
/* prefs.py: macOS - Configuration - need to grant the app permission for keyboard shortcuts; In files: prefs.py:504; */
|
||||
"{APP} needs permission to use shortcuts" = "{APP} potrebuje dovoljenja za uporabo bližnjic";
|
||||
|
||||
/* prefs.py: Shortcut settings button on OSX; In files: prefs.py:507; */
|
||||
/* prefs.py: Shortcut settings button on OSX; In files: prefs.py:509; */
|
||||
"Open System Preferences" = "Odpri sistemske nastavitve";
|
||||
|
||||
/* prefs.py: Configuration - Act on hotkey only when ED is in foreground; In files: prefs.py:529; */
|
||||
/* prefs.py: Configuration - Act on hotkey only when ED is in foreground; In files: prefs.py:531; */
|
||||
"Only when Elite: Dangerous is the active app" = "Samo ko je Elite:Dangerous aktivna aplikacija ";
|
||||
|
||||
/* prefs.py: Configuration - play sound when hotkey used; In files: prefs.py:540; */
|
||||
/* prefs.py: Configuration - play sound when hotkey used; In files: prefs.py:542; */
|
||||
"Play sound" = "Sproži zvok";
|
||||
|
||||
/* prefs.py: Label for 'Configuration' tab in Settings; In files: prefs.py:672; */
|
||||
/* prefs.py: Label for 'Configuration' tab in Settings; In files: prefs.py:674; */
|
||||
"Configuration" = "Konfiguracija";
|
||||
|
||||
/* prefs.py: Appearance - Label for selection of application display language; In files: prefs.py:696; */
|
||||
/* prefs.py: Preferences privacy tab title; In files: prefs.py:696; */
|
||||
"Privacy" = "Privatno";
|
||||
|
||||
/* prefs.py: Appearance - Label for selection of application display language; In files: prefs.py:720; */
|
||||
"Language" = "Jezik";
|
||||
|
||||
/* prefs.py: Label for Settings > Appearance > Theme selection; In files: prefs.py:706; */
|
||||
/* prefs.py: Label for Settings > Appearance > Theme selection; In files: prefs.py:730; */
|
||||
"Theme" = "Tema";
|
||||
|
||||
/* prefs.py: Label for 'Dark' theme radio button; In files: prefs.py:717; */
|
||||
/* prefs.py: Label for 'Dark' theme radio button; In files: prefs.py:741; */
|
||||
"Dark" = "Temno";
|
||||
|
||||
/* prefs.py: Label for 'Transparent' theme radio button; In files: prefs.py:724; */
|
||||
/* prefs.py: Label for 'Transparent' theme radio button; In files: prefs.py:748; */
|
||||
"Transparent" = "Prosojno";
|
||||
|
||||
/* prefs.py: Label for Settings > Appearance tab; In files: prefs.py:860; */
|
||||
/* prefs.py: Label for Settings > Appearance tab; In files: prefs.py:885; */
|
||||
"Appearance" = "Videz";
|
||||
|
||||
/* stats.py: Cmdr stats; In files: stats.py:51; */
|
||||
/* stats.py: Cmdr stats; In files: stats.py:60; */
|
||||
"Balance" = "Ravnotežje";
|
||||
|
||||
/* stats.py: Cmdr stats; In files: stats.py:52; */
|
||||
/* stats.py: Cmdr stats; In files: stats.py:61; */
|
||||
"Loan" = "Posojilo";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:57; */
|
||||
"Combat" = "Combat";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:58; */
|
||||
"Trade" = "Trgovanje";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:59; */
|
||||
"Explorer" = "Explorer";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:60; */
|
||||
"CQC" = "CQC";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:61; */
|
||||
"Federation" = "Federacija";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:62; */
|
||||
"Empire" = "Cesarstvo";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:63; */
|
||||
"Powerplay" = "Igra moči";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:71; */
|
||||
"Harmless" = "Harmless";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:72; */
|
||||
"Mostly Harmless" = "Mostly Harmless";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:73; */
|
||||
"Novice" = "Novice";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:74; */
|
||||
"Competent" = "Competent";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:75; */
|
||||
"Expert" = "Expert";
|
||||
|
||||
/* stats.py: Combat rank; stats.py: Empire rank; In files: stats.py:76; stats.py:139; */
|
||||
"Master" = "Master";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:77; */
|
||||
"Dangerous" = "Dangerous";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:78; */
|
||||
"Deadly" = "Deadly";
|
||||
|
||||
/* stats.py: Top rank; In files: stats.py:79; stats.py:90; stats.py:101; stats.py:112; */
|
||||
/* stats.py: Top rank; In files: stats.py:65; */
|
||||
"Elite" = "Elite";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:82; */
|
||||
/* stats.py: Ranking; In files: stats.py:76; */
|
||||
"Combat" = "Combat";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:77; */
|
||||
"Trade" = "Trgovanje";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:78; */
|
||||
"Explorer" = "Explorer";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:81; */
|
||||
"CQC" = "CQC";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:82; */
|
||||
"Federation" = "Federacija";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:83; */
|
||||
"Empire" = "Cesarstvo";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:84; */
|
||||
"Powerplay" = "Igra moči";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:93; */
|
||||
"Harmless" = "Harmless";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:94; */
|
||||
"Mostly Harmless" = "Mostly Harmless";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:95; */
|
||||
"Novice" = "Novice";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:96; */
|
||||
"Competent" = "Competent";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:97; */
|
||||
"Expert" = "Expert";
|
||||
|
||||
/* stats.py: Combat rank; stats.py: Empire rank; In files: stats.py:98; stats.py:178; */
|
||||
"Master" = "Master";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:99; */
|
||||
"Dangerous" = "Dangerous";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:100; */
|
||||
"Deadly" = "Deadly";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:103; */
|
||||
"Penniless" = "Peniless";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:83; */
|
||||
/* stats.py: Trade rank; In files: stats.py:104; */
|
||||
"Mostly Penniless" = "Mostly peniless";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:84; */
|
||||
/* stats.py: Trade rank; In files: stats.py:105; */
|
||||
"Peddler" = "Peddler";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:85; */
|
||||
/* stats.py: Trade rank; In files: stats.py:106; */
|
||||
"Dealer" = "Dealer";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:86; */
|
||||
/* stats.py: Trade rank; In files: stats.py:107; */
|
||||
"Merchant" = "Merchant";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:87; */
|
||||
/* stats.py: Trade rank; In files: stats.py:108; */
|
||||
"Broker" = "Broker";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:88; */
|
||||
/* stats.py: Trade rank; In files: stats.py:109; */
|
||||
"Entrepreneur" = "Enterpreneur";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:89; */
|
||||
/* stats.py: Trade rank; In files: stats.py:110; */
|
||||
"Tycoon" = "Tycoon";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:93; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:113; */
|
||||
"Aimless" = "Aimless";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:94; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:114; */
|
||||
"Mostly Aimless" = "Mostly Aimless";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:95; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:115; */
|
||||
"Scout" = "Scout";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:96; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:116; */
|
||||
"Surveyor" = "Surveyor";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:97; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:117; */
|
||||
"Trailblazer" = "Trailblazer";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:98; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:118; */
|
||||
"Pathfinder" = "Pathfinder";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:99; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:119; */
|
||||
"Ranger" = "Ranger";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:100; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:120; */
|
||||
"Pioneer" = "Pioneer";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:104; */
|
||||
/* stats.py: CQC rank; In files: stats.py:144; */
|
||||
"Helpless" = "Helpless";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:105; */
|
||||
/* stats.py: CQC rank; In files: stats.py:145; */
|
||||
"Mostly Helpless" = "Mostly Helpless";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:106; */
|
||||
/* stats.py: CQC rank; In files: stats.py:146; */
|
||||
"Amateur" = "Amateur";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:107; */
|
||||
/* stats.py: CQC rank; In files: stats.py:147; */
|
||||
"Semi Professional" = "Semi Professional";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:108; */
|
||||
/* stats.py: CQC rank; In files: stats.py:148; */
|
||||
"Professional" = "Professional";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:109; */
|
||||
/* stats.py: CQC rank; In files: stats.py:149; */
|
||||
"Champion" = "Champion";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:110; */
|
||||
/* stats.py: CQC rank; In files: stats.py:150; */
|
||||
"Hero" = "Hero";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:111; */
|
||||
/* stats.py: CQC rank; In files: stats.py:151; */
|
||||
"Gladiator" = "Gladiator";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:118; */
|
||||
/* stats.py: Federation rank; In files: stats.py:157; */
|
||||
"Recruit" = "Recruit";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:119; */
|
||||
/* stats.py: Federation rank; In files: stats.py:158; */
|
||||
"Cadet" = "Cadet";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:120; */
|
||||
/* stats.py: Federation rank; In files: stats.py:159; */
|
||||
"Midshipman" = "Midshipman";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:121; */
|
||||
/* stats.py: Federation rank; In files: stats.py:160; */
|
||||
"Petty Officer" = "Petty Officer";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:122; */
|
||||
/* stats.py: Federation rank; In files: stats.py:161; */
|
||||
"Chief Petty Officer" = "Chief Petty Officer";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:123; */
|
||||
/* stats.py: Federation rank; In files: stats.py:162; */
|
||||
"Warrant Officer" = "Warrant Officer";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:124; */
|
||||
/* stats.py: Federation rank; In files: stats.py:163; */
|
||||
"Ensign" = "Ensign";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:125; */
|
||||
/* stats.py: Federation rank; In files: stats.py:164; */
|
||||
"Lieutenant" = "LIeutenant";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:126; */
|
||||
/* stats.py: Federation rank; In files: stats.py:165; */
|
||||
"Lieutenant Commander" = "Lieutenant Commander";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:127; */
|
||||
/* stats.py: Federation rank; In files: stats.py:166; */
|
||||
"Post Commander" = "Post Commander";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:128; */
|
||||
/* stats.py: Federation rank; In files: stats.py:167; */
|
||||
"Post Captain" = "Post Captain";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:129; */
|
||||
/* stats.py: Federation rank; In files: stats.py:168; */
|
||||
"Rear Admiral" = "Read Admiral";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:130; */
|
||||
/* stats.py: Federation rank; In files: stats.py:169; */
|
||||
"Vice Admiral" = "Vice Admiral";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:131; */
|
||||
/* stats.py: Federation rank; In files: stats.py:170; */
|
||||
"Admiral" = "Admiral";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:137; */
|
||||
/* stats.py: Empire rank; In files: stats.py:176; */
|
||||
"Outsider" = "Outsider";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:138; */
|
||||
/* stats.py: Empire rank; In files: stats.py:177; */
|
||||
"Serf" = "Serif";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:140; */
|
||||
/* stats.py: Empire rank; In files: stats.py:179; */
|
||||
"Squire" = "Squire";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:141; */
|
||||
/* stats.py: Empire rank; In files: stats.py:180; */
|
||||
"Knight" = "Knight";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:142; */
|
||||
/* stats.py: Empire rank; In files: stats.py:181; */
|
||||
"Lord" = "Lord";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:143; */
|
||||
/* stats.py: Empire rank; In files: stats.py:182; */
|
||||
"Baron" = "Baron";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:144; */
|
||||
/* stats.py: Empire rank; In files: stats.py:183; */
|
||||
"Viscount" = "Viscount";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:145; */
|
||||
/* stats.py: Empire rank; In files: stats.py:184; */
|
||||
"Count" = "Count";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:146; */
|
||||
/* stats.py: Empire rank; In files: stats.py:185; */
|
||||
"Earl" = "Earl";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:147; */
|
||||
/* stats.py: Empire rank; In files: stats.py:186; */
|
||||
"Marquis" = "Marquis";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:148; */
|
||||
/* stats.py: Empire rank; In files: stats.py:187; */
|
||||
"Duke" = "Duke";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:149; */
|
||||
/* stats.py: Empire rank; In files: stats.py:188; */
|
||||
"Prince" = "Prince";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:150; */
|
||||
/* stats.py: Empire rank; In files: stats.py:189; */
|
||||
"King" = "King";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:156; */
|
||||
/* stats.py: Power rank; In files: stats.py:195; */
|
||||
"Rating 1" = "Ocena 1";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:157; */
|
||||
/* stats.py: Power rank; In files: stats.py:196; */
|
||||
"Rating 2" = "Ocena 2";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:158; */
|
||||
/* stats.py: Power rank; In files: stats.py:197; */
|
||||
"Rating 3" = "Ocena 3";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:159; */
|
||||
/* stats.py: Power rank; In files: stats.py:198; */
|
||||
"Rating 4" = "Ocena 4";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:160; */
|
||||
/* stats.py: Power rank; In files: stats.py:199; */
|
||||
"Rating 5" = "Ocena 5";
|
||||
|
||||
/* stats.py: Status dialog subtitle - CR value of ship; In files: stats.py:367; */
|
||||
/* stats.py: Status dialog subtitle - CR value of ship; In files: stats.py:413; */
|
||||
"Value" = "Vrednost";
|
||||
|
||||
/* stats.py: Status dialog title; In files: stats.py:376; */
|
||||
/* stats.py: Status dialog title; In files: stats.py:422; */
|
||||
"Ships" = "Ladje";
|
||||
+487
-387
File diff suppressed because it is too large.
Load diff
+487
-387
File diff suppressed because it is too large.
Load diff
+288
-297
@@ -1,521 +1,512 @@
|
||||
/* Language name */
|
||||
"!Language" = "Svenska";
|
||||
|
||||
|
||||
/* OLD: Raised when cannot contact the Companion API server. [companion.py] */
|
||||
"Error: Frontier server is down" = "Fel: Frontier server okontaktbar";
|
||||
/* companion.py: Frontier CAPI data doesn't agree with latest Journal game location; In files: companion.py:190; */
|
||||
"Error: Frontier server is lagging" = "Fel: Frontier lag på server";
|
||||
|
||||
/* companion.py: Generic "something went wrong with Frontier Auth" error; In files: companion.py:214; */
|
||||
"Error: Invalid Credentials" = "Fel: ogiltligt användarnamn eller lösenord";
|
||||
|
||||
/* companion.py: Frontier CAPI authorisation not for currently game-active commander; In files: companion.py:230; */
|
||||
"Error: Wrong Cmdr" = "Fel: Fel användare. Har du flera konton eller en gammal API-nyckel från ett nollställt konto?";
|
||||
|
||||
|
||||
/* [inara.py] */
|
||||
"Error: Can't connect to Inara" = "Fel: Kan inte ansluta till Inara";
|
||||
/* EDMarketConnector.py: Update button in main window; In files: EDMarketConnector.py:424; EDMarketConnector.py:718; EDMarketConnector.py:1302; */
|
||||
"Update" = "Uppdatera";
|
||||
|
||||
/* EDMarketConnector.py: Appearance - Label for checkbox to select if application always on top; prefs.py: Appearance - Label for checkbox to select if application always on top; In files: EDMarketConnector.py:507; prefs.py:843; */
|
||||
"Always on top" = "Alltid överst";
|
||||
|
||||
/* EDMarketConnector.py: Label for commander name in main window; edsm.py: Game Commander name label in EDSM settings; stats.py: Cmdr stats; theme.py: Label for commander name in main window; In files: EDMarketConnector.py:712; edsm.py:219; stats.py:50; theme.py:227; */
|
||||
"Cmdr" = "Cmdr";
|
||||
|
||||
/* EDMarketConnector.py: 'Ship' or multi-crew role label in main window, as applicable; EDMarketConnector.py: Multicrew role label in main window; In files: EDMarketConnector.py:714; EDMarketConnector.py:1072; */
|
||||
"Role" = "Roll";
|
||||
|
||||
/* EDMarketConnector.py: 'Ship' or multi-crew role label in main window, as applicable; EDMarketConnector.py: 'Ship' label in main UI; stats.py: Status dialog subtitle; In files: EDMarketConnector.py:714; EDMarketConnector.py:1082; EDMarketConnector.py:1105; stats.py:363; */
|
||||
"Ship" = "Skepp";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'System' line in main UI; prefs.py: Configuration - Label for selection of 'System' provider website; stats.py: Main window; In files: EDMarketConnector.py:716; prefs.py:605; stats.py:365; */
|
||||
"System" = "System";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'Station' line in main UI; prefs.py: Configuration - Label for selection of 'Station' provider website; prefs.py: Appearance - Example 'Normal' text; stats.py: Status dialog subtitle; In files: EDMarketConnector.py:717; prefs.py:623; prefs.py:738; stats.py:366; */
|
||||
"Station" = "Station";
|
||||
|
||||
/* EDMarketConnector.py: 'File' menu title on OSX; EDMarketConnector.py: 'File' menu title; EDMarketConnector.py: 'File' menu; In files: EDMarketConnector.py:720; EDMarketConnector.py:735; EDMarketConnector.py:738; EDMarketConnector.py:1791; */
|
||||
"File" = "Fil";
|
||||
|
||||
/* EDMarketConnector.py: 'Edit' menu title on OSX; EDMarketConnector.py: 'Edit' menu title; In files: EDMarketConnector.py:721; EDMarketConnector.py:736; EDMarketConnector.py:739; */
|
||||
"Edit" = "Ändra";
|
||||
|
||||
/* EDMarketConnector.py: 'View' menu title on OSX; In files: EDMarketConnector.py:722; */
|
||||
"View" = "View";
|
||||
|
||||
/* EDMarketConnector.py: 'Window' menu title on OSX; In files: EDMarketConnector.py:723; */
|
||||
"Window" = "Fönster";
|
||||
|
||||
/* EDMarketConnector.py: Help' menu title on OSX; EDMarketConnector.py: 'Help' menu title; In files: EDMarketConnector.py:724; EDMarketConnector.py:737; EDMarketConnector.py:740; */
|
||||
"Help" = "Hjälp";
|
||||
|
||||
/* EDMarketConnector.py: App menu entry on OSX; EDMarketConnector.py: Help > About App; In files: EDMarketConnector.py:727; EDMarketConnector.py:753; EDMarketConnector.py:1347; */
|
||||
"About {APP}" = "Om {APP}";
|
||||
|
||||
/* EDMarketConnector.py: Help > Check for Updates...; In files: EDMarketConnector.py:729; EDMarketConnector.py:752; */
|
||||
"Check for Updates..." = "Sök efter uppdateringar...";
|
||||
|
||||
/* EDMarketConnector.py: File > Save Raw Data...; In files: EDMarketConnector.py:730; EDMarketConnector.py:744; */
|
||||
"Save Raw Data..." = "Lagra rådata...";
|
||||
|
||||
/* EDMarketConnector.py: File > Status; stats.py: Status dialog title; In files: EDMarketConnector.py:731; EDMarketConnector.py:743; stats.py:360; */
|
||||
"Status" = "Status";
|
||||
|
||||
/* EDMarketConnector.py: Help > Privacy Policy; In files: EDMarketConnector.py:732; EDMarketConnector.py:750; */
|
||||
"Privacy Policy" = "Integritetspolicy";
|
||||
|
||||
/* EDMarketConnector.py: Help > Release Notes; In files: EDMarketConnector.py:733; EDMarketConnector.py:751; EDMarketConnector.py:1381; */
|
||||
"Release Notes" = "Versionsinformation";
|
||||
|
||||
/* EDMarketConnector.py: File > Settings; prefs.py: File > Settings (macOS); In files: EDMarketConnector.py:745; EDMarketConnector.py:1792; prefs.py:254; */
|
||||
"Settings" = "Inställningar";
|
||||
|
||||
/* EDMarketConnector.py: File > Exit; In files: EDMarketConnector.py:746; */
|
||||
"Exit" = "Avsluta";
|
||||
|
||||
/* EDMarketConnector.py: Help > Documentation; In files: EDMarketConnector.py:749; */
|
||||
"Documentation" = "Dokumentation";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'Copy' as in 'Copy and Paste'; ttkHyperlinkLabel.py: Label for 'Copy' as in 'Copy and Paste'; In files: EDMarketConnector.py:756; ttkHyperlinkLabel.py:42; */
|
||||
"Copy" = "Kopiera";
|
||||
|
||||
/* EDMarketConnector.py: Status - Attempting to get a Frontier Auth Access Token; In files: EDMarketConnector.py:762; */
|
||||
"Logging in..." = "Loggar in...";
|
||||
|
||||
/* EDMarketConnector.py: Successfully authenticated with the Frontier website; In files: EDMarketConnector.py:778; EDMarketConnector.py:1215; */
|
||||
"Authentication successful" = "Autentisering lyckad";
|
||||
|
||||
/* EDMarketConnector.py: Player is not docked at a station, when we expect them to be; In files: EDMarketConnector.py:809; */
|
||||
"You're not docked at a station!" = "Du är inte dockad vid en station!";
|
||||
|
||||
/* EDMarketConnector.py: Status - Either no market or no modules data for station from Frontier CAPI; In files: EDMarketConnector.py:817; */
|
||||
"Station doesn't have anything!" = "Stationen är tom!";
|
||||
|
||||
/* EDMarketConnector.py: Status - No station market data from Frontier CAPI; In files: EDMarketConnector.py:822; */
|
||||
"Station doesn't have a market!" = "Stationen har ingen marknad!";
|
||||
|
||||
/* EDMarketConnector.py: Status - Attempting to retrieve data from Frontier CAPI; EDMarketConnector.py: Status - Attempting to retrieve data from Frontier CAPI to save to file; stats.py: Fetching data from Frontier CAPI in order to display on File > Status; In files: EDMarketConnector.py:867; EDMarketConnector.py:1428; stats.py:279; */
|
||||
"Fetching data..." = "Hämtar data...";
|
||||
|
||||
/* EDMarketConnector.py: We didn't have the commander name when we should have; stats.py: Unknown commander; In files: EDMarketConnector.py:884; stats.py:297; */
|
||||
"Who are you?!" = "Vem är du? (felmeddelande)";
|
||||
|
||||
/* EDMarketConnector.py: We don't know where the commander is, when we should; stats.py: Unknown location; In files: EDMarketConnector.py:890; stats.py:307; */
|
||||
"Where are you?!" = "Vart är du? (felmeddelande)";
|
||||
|
||||
/* EDMarketConnector.py: We don't know what ship the commander is in, when we should; stats.py: Unknown ship; In files: EDMarketConnector.py:894; stats.py:312; */
|
||||
"What are you flying?!" = "Okänt skepp? (felmeddelande)";
|
||||
|
||||
/* EDMarketConnector.py: Time when we last obtained Frontier CAPI data; In files: EDMarketConnector.py:1026; */
|
||||
"Last updated at %H:%M:%S" = "Senaste uppdatering: %H:%M:%S";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1052; */
|
||||
"Fighter" = "Fighter";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1053; */
|
||||
"Gunner" = "Gunner";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1054; */
|
||||
"Helm" = "Helm";
|
||||
|
||||
/* EDMarketConnector.py: Cooldown on 'Update' button; In files: EDMarketConnector.py:1298; */
|
||||
"cooldown {SS}s" = "Vänta {SS}s";
|
||||
|
||||
/* EDMarketConnector.py: Generic 'OK' button label; prefs.py: 'OK' button on Settings/Preferences window; In files: EDMarketConnector.py:1407; prefs.py:304; */
|
||||
"OK" = "OK";
|
||||
|
||||
/* EDMarketConnector.py: Popup-text about 'active' plugins without Python 3.x support; In files: EDMarketConnector.py:1780:1786; */
|
||||
"One or more of your enabled plugins do not yet have support for Python 3.x. Please see the list on the '{PLUGINS}' tab of '{FILE}' > '{SETTINGS}'. You should check if there is an updated version available, else alert the developer that they need to update the code for Python 3.x.\r\n\r\nYou can disable a plugin by renaming its folder to have '{DISABLED}' on the end of the name." = "En eller flera aktiverade plugins har inte stöd för Python 3.x. Var vänlig kontrollera listan med plugins under fliken '{PLUGINS}' under '{FILE}' > '{SETTINGS}'. Kontrollera om det finns en nyare version tillgänglig eller informera utvecklaren.\n\nDu kan också avaktivera din plugin genom att ändra slutet av namnet på mappen till '{DISABLED}'";
|
||||
|
||||
/* EDMarketConnector.py: Settings > Plugins tab; prefs.py: Label on Settings > Plugins tab; In files: EDMarketConnector.py:1790; prefs.py:953; */
|
||||
"Plugins" = "Plugins";
|
||||
|
||||
/* EDMarketConnector.py: Popup window title for list of 'enabled' plugins that don't work with Python 3.x; In files: EDMarketConnector.py:1801; */
|
||||
"EDMC: Plugins Without Python 3.x Support" = "EDMC: Plugins utan stöd för Python 3.x";
|
||||
|
||||
/* l10n.py: The system default language choice in Settings > Appearance; prefs.py: Settings > Configuration - Label on 'reset journal files location to default' button; prefs.py: The system default language choice in Settings > Appearance; prefs.py: Label for 'Default' theme radio button; In files: l10n.py:194; prefs.py:466; prefs.py:678; prefs.py:711; */
|
||||
"Default" = "Standard";
|
||||
|
||||
/* eddn.py: Status text shown while attempting to send data; In files: eddn.py:215; eddn.py:619; eddn.py:969; */
|
||||
/* eddn.py: Status text shown while attempting to send data; In files: eddn.py:212; eddn.py:584; eddn.py:925; load.py:215; load.py:593; load.py:940; eddn.py:252; eddn.py:699; eddn.py:1439; */
|
||||
"Sending data to EDDN..." = "Skickar data till EDDN...";
|
||||
|
||||
/* eddn.py: Error while trying to send data to EDDN; In files: eddn.py:264; eddn.py:907; eddn.py:942; eddn.py:981; */
|
||||
/* eddn.py: Error while trying to send data to EDDN; In files: eddn.py:257; eddn.py:864; eddn.py:898; eddn.py:937; load.py:260; load.py:878; load.py:913; load.py:952; eddn.py:316; eddn.py:1375; eddn.py:1410; eddn.py:1451; */
|
||||
"Error: Can't connect to EDDN" = "Fel: Kan inte ansluta till EDDN";
|
||||
|
||||
/* eddn.py: Enable EDDN support for station data checkbox label; In files: eddn.py:699; */
|
||||
/* eddn.py: Enable EDDN support for station data checkbox label; In files: eddn.py:663; load.py:672; eddn.py:1122; */
|
||||
"Send station data to the Elite Dangerous Data Network" = "Skicka stationsdata till Elite Dangerous Data Network";
|
||||
|
||||
/* eddn.py: Enable EDDN support for system and other scan data checkbox label; In files: eddn.py:710; */
|
||||
/* eddn.py: Enable EDDN support for system and other scan data checkbox label; In files: eddn.py:673; load.py:682; eddn.py:1133; */
|
||||
"Send system and scan data to the Elite Dangerous Data Network" = "Skicka system och scan-data till Elite Dangerous Data Network";
|
||||
|
||||
/* eddn.py: EDDN delay sending until docked option is on, this message notes that a send was skipped due to this; In files: eddn.py:721; */
|
||||
/* eddn.py: EDDN delay sending until docked option is on, this message notes that a send was skipped due to this; In files: eddn.py:683; load.py:692; eddn.py:1144; */
|
||||
"Delay sending until docked" = "Skicka bara uppdateringar till EDDN när du är dockad";
|
||||
|
||||
/* edsm.py: Settings>EDSM - Label on checkbox for 'send data'; In files: edsm.py:198; */
|
||||
/* edsm.py: Settings>EDSM - Label on checkbox for 'send data'; In files: edsm.py:197; load.py:197; edsm.py:237; */
|
||||
"Send flight log and Cmdr status to EDSM" = "Skicka flight log-data och Cmdr-status till EDSM";
|
||||
|
||||
/* edsm.py: Settings>EDSM - Label on header/URL to EDSM API key page; In files: edsm.py:208; */
|
||||
/* edsm.py: Settings>EDSM - Label on header/URL to EDSM API key page; In files: edsm.py:206; load.py:206; edsm.py:247; */
|
||||
"Elite Dangerous Star Map credentials" = "Elite Dangerous Star Map användaruppgifter";
|
||||
|
||||
/* edsm.py: EDSM Commander name label in EDSM settings; In files: edsm.py:227; */
|
||||
/* edsm.py: Game Commander name label in EDSM settings; theme.py: Label for commander name in main window; EDMarketConnector.py: Label for commander name in main window; stats.py: Cmdr stats; In files: edsm.py:216; load.py:216; edsm.py:258; theme.py:227; EDMarketConnector.py:822; stats.py:59; */
|
||||
"Cmdr" = "Cmdr";
|
||||
|
||||
/* edsm.py: EDSM Commander name label in EDSM settings; In files: edsm.py:223; load.py:223; edsm.py:266; */
|
||||
"Commander Name" = "CMDR namn";
|
||||
|
||||
/* edsm.py: EDSM API key label; inara.py: Inara API key label; In files: edsm.py:235; inara.py:237; */
|
||||
/* edsm.py: EDSM API key label; inara.py: Inara API key label; In files: edsm.py:230; inara.py:233; load.py:230; load.py:233; edsm.py:274; inara.py:243; */
|
||||
"API Key" = "API Nyckel";
|
||||
|
||||
/* edsm.py: We have no data on the current commander; prefs.py: No hotkey/shortcut set; stats.py: No rank; In files: edsm.py:262; prefs.py:518; prefs.py:1156; prefs.py:1189; stats.py:117; stats.py:136; stats.py:155; stats.py:172; */
|
||||
/* edsm.py: We have no data on the current commander; prefs.py: No hotkey/shortcut set; stats.py: No rank; In files: edsm.py:256; load.py:256; edsm.py:301; prefs.py:520; prefs.py:1174; prefs.py:1207; stats.py:156; stats.py:175; stats.py:194; stats.py:211; */
|
||||
"None" = "Ingen";
|
||||
|
||||
/* edsm.py: EDSM Plugin - Error message from EDSM API; In files: edsm.py:640; edsm.py:745; */
|
||||
/* edsm.py: EDSM Plugin - Error message from EDSM API; In files: edsm.py:622; edsm.py:724; load.py:627; load.py:729; edsm.py:747; edsm.py:875; */
|
||||
"Error: EDSM {MSG}" = "Fel: EDSM {MSG}";
|
||||
|
||||
/* edsm.py: EDSM Plugin - Error connecting to EDSM API; In files: edsm.py:677; edsm.py:740; */
|
||||
/* edsm.py: EDSM Plugin - Error connecting to EDSM API; In files: edsm.py:658; edsm.py:720; load.py:663; load.py:725; edsm.py:784; edsm.py:870; */
|
||||
"Error: Can't connect to EDSM" = "Fel: Kan inte ansluta till EDSM";
|
||||
|
||||
/* inara.py: Checkbox to enable INARA API Usage; In files: inara.py:216; */
|
||||
/* inara.py: Checkbox to enable INARA API Usage; In files: inara.py:215; load.py:215; inara.py:222; */
|
||||
"Send flight log and Cmdr status to Inara" = "Skicka flight log-data och Cmdr-status till Inara";
|
||||
|
||||
/* inara.py: Text for INARA API keys link ( goes to https://inara.cz/settings-api ); In files: inara.py:228; */
|
||||
/* inara.py: Text for INARA API keys link ( goes to https://inara.cz/settings-api ); In files: inara.py:225; load.py:225; inara.py:234; */
|
||||
"Inara credentials" = "Inara autentiseringsuppgifter";
|
||||
|
||||
|
||||
/* Raised when the Companion API server thinks that the user has not purchased E:D. i.e. doesn't have the correct 'SKU'. [companion.py] */
|
||||
"Error: Frontier server SKU problem" = "Fel: Frontier server SKU problem (licensnyckel)";
|
||||
/* inara.py: INARA API returned some kind of error (error message will be contained in {MSG}); In files: inara.py:1549; inara.py:1562; */
|
||||
/* inara.py: INARA API returned some kind of error (error message will be contained in {MSG}); In files: inara.py:1316; inara.py:1328; load.py:1319; load.py:1331; inara.py:1587; inara.py:1600; */
|
||||
"Error: Inara {MSG}" = "Fel: Inara {MSG}";
|
||||
|
||||
/* prefs.py: File > Preferences menu entry for macOS; In files: prefs.py:250; */
|
||||
/* ttkHyperlinkLabel.py: Label for 'Copy' as in 'Copy and Paste'; EDMarketConnector.py: Label for 'Copy' as in 'Copy and Paste'; In files: ttkHyperlinkLabel.py:42; EDMarketConnector.py:866; */
|
||||
"Copy" = "Kopiera";
|
||||
|
||||
/* EDMarketConnector.py: Update button in main window; In files: EDMarketConnector.py:529; EDMarketConnector.py:828; EDMarketConnector.py:1520; */
|
||||
"Update" = "Uppdatera";
|
||||
|
||||
/* EDMarketConnector.py: Appearance - Label for checkbox to select if application always on top; prefs.py: Appearance - Label for checkbox to select if application always on top; In files: EDMarketConnector.py:612; prefs.py:867; */
|
||||
"Always on top" = "Alltid överst";
|
||||
|
||||
/* EDMarketConnector.py: 'Ship' or multi-crew role label in main window, as applicable; EDMarketConnector.py: Multicrew role label in main window; In files: EDMarketConnector.py:824; EDMarketConnector.py:1279; */
|
||||
"Role" = "Roll";
|
||||
|
||||
/* EDMarketConnector.py: 'Ship' or multi-crew role label in main window, as applicable; EDMarketConnector.py: 'Ship' label in main UI; stats.py: Status dialog subtitle; In files: EDMarketConnector.py:824; EDMarketConnector.py:1289; EDMarketConnector.py:1312; stats.py:409; */
|
||||
"Ship" = "Skepp";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'System' line in main UI; prefs.py: Configuration - Label for selection of 'System' provider website; stats.py: Main window; In files: EDMarketConnector.py:826; prefs.py:607; stats.py:411; */
|
||||
"System" = "System";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'Station' line in main UI; prefs.py: Configuration - Label for selection of 'Station' provider website; prefs.py: Appearance - Example 'Normal' text; stats.py: Status dialog subtitle; In files: EDMarketConnector.py:827; prefs.py:625; prefs.py:762; stats.py:412; */
|
||||
"Station" = "Station";
|
||||
|
||||
/* EDMarketConnector.py: 'File' menu title on OSX; EDMarketConnector.py: 'File' menu title; EDMarketConnector.py: 'File' menu; In files: EDMarketConnector.py:830; EDMarketConnector.py:845; EDMarketConnector.py:848; EDMarketConnector.py:2019; */
|
||||
"File" = "Fil";
|
||||
|
||||
/* EDMarketConnector.py: 'Edit' menu title on OSX; EDMarketConnector.py: 'Edit' menu title; In files: EDMarketConnector.py:831; EDMarketConnector.py:846; EDMarketConnector.py:849; */
|
||||
"Edit" = "Ändra";
|
||||
|
||||
/* EDMarketConnector.py: 'View' menu title on OSX; In files: EDMarketConnector.py:832; */
|
||||
"View" = "View";
|
||||
|
||||
/* EDMarketConnector.py: 'Window' menu title on OSX; In files: EDMarketConnector.py:833; */
|
||||
"Window" = "Fönster";
|
||||
|
||||
/* EDMarketConnector.py: Help' menu title on OSX; EDMarketConnector.py: 'Help' menu title; In files: EDMarketConnector.py:834; EDMarketConnector.py:847; EDMarketConnector.py:850; */
|
||||
"Help" = "Hjälp";
|
||||
|
||||
/* EDMarketConnector.py: App menu entry on OSX; EDMarketConnector.py: Help > About App; In files: EDMarketConnector.py:837; EDMarketConnector.py:863; EDMarketConnector.py:1566; */
|
||||
"About {APP}" = "Om {APP}";
|
||||
|
||||
/* EDMarketConnector.py: Help > Check for Updates...; In files: EDMarketConnector.py:839; EDMarketConnector.py:862; */
|
||||
"Check for Updates..." = "Sök efter uppdateringar...";
|
||||
|
||||
/* EDMarketConnector.py: File > Save Raw Data...; In files: EDMarketConnector.py:840; EDMarketConnector.py:854; */
|
||||
"Save Raw Data..." = "Lagra rådata...";
|
||||
|
||||
/* EDMarketConnector.py: File > Status; stats.py: Status dialog title; In files: EDMarketConnector.py:841; EDMarketConnector.py:853; stats.py:406; */
|
||||
"Status" = "Status";
|
||||
|
||||
/* EDMarketConnector.py: Help > Privacy Policy; In files: EDMarketConnector.py:842; EDMarketConnector.py:860; */
|
||||
"Privacy Policy" = "Integritetspolicy";
|
||||
|
||||
/* EDMarketConnector.py: Help > Release Notes; In files: EDMarketConnector.py:843; EDMarketConnector.py:861; EDMarketConnector.py:1600; */
|
||||
"Release Notes" = "Versionsinformation";
|
||||
|
||||
/* EDMarketConnector.py: File > Settings; prefs.py: File > Settings (macOS); In files: EDMarketConnector.py:855; EDMarketConnector.py:2020; prefs.py:255; */
|
||||
"Settings" = "Inställningar";
|
||||
|
||||
/* EDMarketConnector.py: File > Exit; In files: EDMarketConnector.py:856; */
|
||||
"Exit" = "Avsluta";
|
||||
|
||||
/* EDMarketConnector.py: Help > Documentation; In files: EDMarketConnector.py:859; */
|
||||
"Documentation" = "Dokumentation";
|
||||
|
||||
/* EDMarketConnector.py: Status - Attempting to get a Frontier Auth Access Token; In files: EDMarketConnector.py:872; */
|
||||
"Logging in..." = "Loggar in...";
|
||||
|
||||
/* EDMarketConnector.py: Successfully authenticated with the Frontier website; In files: EDMarketConnector.py:888; EDMarketConnector.py:1431; */
|
||||
"Authentication successful" = "Autentisering lyckad";
|
||||
|
||||
/* EDMarketConnector.py: Player is not docked at a station, when we expect them to be; In files: EDMarketConnector.py:919; */
|
||||
"You're not docked at a station!" = "Du är inte dockad vid en station!";
|
||||
|
||||
/* EDMarketConnector.py: Status - Either no market or no modules data for station from Frontier CAPI; In files: EDMarketConnector.py:927; */
|
||||
"Station doesn't have anything!" = "Stationen är tom!";
|
||||
|
||||
/* EDMarketConnector.py: Status - No station market data from Frontier CAPI; In files: EDMarketConnector.py:932; */
|
||||
"Station doesn't have a market!" = "Stationen har ingen marknad!";
|
||||
|
||||
/* EDMarketConnector.py: Status - Attempting to retrieve data from Frontier CAPI; In files: EDMarketConnector.py:1006; */
|
||||
"Fetching data..." = "Hämtar data...";
|
||||
|
||||
/* EDMarketConnector.py: We didn't have the commander name when we should have; stats.py: Unknown commander; In files: EDMarketConnector.py:1051; stats.py:335; */
|
||||
"Who are you?!" = "Vem är du? (felmeddelande)";
|
||||
|
||||
/* EDMarketConnector.py: We don't know where the commander is, when we should; stats.py: Unknown location; In files: EDMarketConnector.py:1057; stats.py:345; */
|
||||
"Where are you?!" = "Vart är du? (felmeddelande)";
|
||||
|
||||
/* EDMarketConnector.py: We don't know what ship the commander is in, when we should; stats.py: Unknown ship; In files: EDMarketConnector.py:1064; stats.py:353; */
|
||||
"What are you flying?!" = "Okänt skepp? (felmeddelande)";
|
||||
|
||||
/* EDMarketConnector.py: Time when we last obtained Frontier CAPI data; In files: EDMarketConnector.py:1226; */
|
||||
"Last updated at %H:%M:%S" = "Senaste uppdatering: %H:%M:%S";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1254; */
|
||||
"Fighter" = "Fighter";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1255; */
|
||||
"Gunner" = "Gunner";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1256; */
|
||||
"Helm" = "Helm";
|
||||
|
||||
/* EDMarketConnector.py: Cooldown on 'Update' button; In files: EDMarketConnector.py:1514; */
|
||||
"cooldown {SS}s" = "Vänta {SS}s";
|
||||
|
||||
/* EDMarketConnector.py: Generic 'OK' button label; prefs.py: 'OK' button on Settings/Preferences window; In files: EDMarketConnector.py:1626; prefs.py:306; */
|
||||
"OK" = "OK";
|
||||
|
||||
/* EDMarketConnector.py: Popup-text about 'active' plugins without Python 3.x support; In files: EDMarketConnector.py:2008:2014; */
|
||||
"One or more of your enabled plugins do not yet have support for Python 3.x. Please see the list on the '{PLUGINS}' tab of '{FILE}' > '{SETTINGS}'. You should check if there is an updated version available, else alert the developer that they need to update the code for Python 3.x.\r\n\r\nYou can disable a plugin by renaming its folder to have '{DISABLED}' on the end of the name." = "En eller flera aktiverade plugins har inte stöd för Python 3.x. Var vänlig kontrollera listan med plugins under fliken '{PLUGINS}' under '{FILE}' > '{SETTINGS}'. Kontrollera om det finns en nyare version tillgänglig eller informera utvecklaren.\n\nDu kan också avaktivera din plugin genom att ändra slutet av namnet på mappen till '{DISABLED}'";
|
||||
|
||||
/* EDMarketConnector.py: Settings > Plugins tab; prefs.py: Label on Settings > Plugins tab; In files: EDMarketConnector.py:2018; prefs.py:978; */
|
||||
"Plugins" = "Plugins";
|
||||
|
||||
/* EDMarketConnector.py: Popup window title for list of 'enabled' plugins that don't work with Python 3.x; In files: EDMarketConnector.py:2029; */
|
||||
"EDMC: Plugins Without Python 3.x Support" = "EDMC: Plugins utan stöd för Python 3.x";
|
||||
|
||||
/* companion.py: Frontier CAPI data doesn't agree with latest Journal game location; In files: companion.py:237; */
|
||||
"Error: Frontier server is lagging" = "Fel: Frontier lag på server";
|
||||
|
||||
/* companion.py: Generic "something went wrong with Frontier Auth" error; In files: companion.py:263; */
|
||||
"Error: Invalid Credentials" = "Fel: ogiltligt användarnamn eller lösenord";
|
||||
|
||||
/* companion.py: Frontier CAPI authorisation not for currently game-active commander; In files: companion.py:288; */
|
||||
"Error: Wrong Cmdr" = "Fel: Fel användare. Har du flera konton eller en gammal API-nyckel från ett nollställt konto?";
|
||||
|
||||
/* l10n.py: The system default language choice in Settings > Appearance; prefs.py: Settings > Configuration - Label on 'reset journal files location to default' button; prefs.py: The system default language choice in Settings > Appearance; prefs.py: Label for 'Default' theme radio button; In files: l10n.py:194; prefs.py:468; prefs.py:702; prefs.py:735; */
|
||||
"Default" = "Standard";
|
||||
|
||||
/* prefs.py: File > Preferences menu entry for macOS; In files: prefs.py:251; */
|
||||
"Preferences" = "Inställningar";
|
||||
|
||||
/* prefs.py: Settings > Output - choosing what data to save to files; In files: prefs.py:346; */
|
||||
/* prefs.py: Settings > Output - choosing what data to save to files; In files: prefs.py:348; */
|
||||
"Please choose what data to save" = "Välj vilket data som skall lagras";
|
||||
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:352; */
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:354; */
|
||||
"Market data in CSV format file" = "Marknadsdata i CSV-formaterad fil";
|
||||
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:361; */
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:363; */
|
||||
"Market data in Trade Dangerous format file" = "Marknadsdata i Trade Dangerous-formaterad fil";
|
||||
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:371; */
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:373; */
|
||||
"Ship loadout" = "Översikt av skepp";
|
||||
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:381; */
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:383; */
|
||||
"Automatically update on docking" = "Automatisk uppdatering vid dockning";
|
||||
|
||||
/* prefs.py: Settings > Output - Label for "where files are located"; In files: prefs.py:390; prefs.py:409; */
|
||||
/* prefs.py: Settings > Output - Label for "where files are located"; In files: prefs.py:392; prefs.py:411; */
|
||||
"File location" = "Filsökväg";
|
||||
|
||||
/* prefs.py: macOS Preferences - files location selection button; In files: prefs.py:398; prefs.py:448; */
|
||||
/* prefs.py: macOS Preferences - files location selection button; In files: prefs.py:400; prefs.py:450; */
|
||||
"Change..." = "Ändra...";
|
||||
|
||||
/* prefs.py: NOT-macOS Settings - files location selection button; prefs.py: NOT-macOS Setting - files location selection button; In files: prefs.py:401; prefs.py:451; */
|
||||
/* prefs.py: NOT-macOS Settings - files location selection button; prefs.py: NOT-macOS Setting - files location selection button; In files: prefs.py:403; prefs.py:453; */
|
||||
"Browse..." = "Bläddra...";
|
||||
|
||||
/* prefs.py: Label for 'Output' Settings/Preferences tab; In files: prefs.py:416; */
|
||||
/* prefs.py: Label for 'Output' Settings/Preferences tab; In files: prefs.py:418; */
|
||||
"Output" = "Exportdata";
|
||||
|
||||
/* prefs.py: Settings > Configuration - Label for Journal files location; In files: prefs.py:442; prefs.py:457; */
|
||||
/* prefs.py: Settings > Configuration - Label for Journal files location; In files: prefs.py:444; prefs.py:459; */
|
||||
"E:D journal file location" = "E:D journal-fil sökväg";
|
||||
|
||||
/* prefs.py: Hotkey/Shortcut settings prompt on OSX; In files: prefs.py:482; */
|
||||
/* prefs.py: Hotkey/Shortcut settings prompt on OSX; In files: prefs.py:484; */
|
||||
"Keyboard shortcut" = "Genväg, tangentbord";
|
||||
|
||||
/* prefs.py: Hotkey/Shortcut settings prompt on Windows; In files: prefs.py:484; */
|
||||
/* prefs.py: Hotkey/Shortcut settings prompt on Windows; In files: prefs.py:486; */
|
||||
"Hotkey" = "Snabbkommando";
|
||||
|
||||
/* prefs.py: macOS Preferences > Configuration - restart the app message; In files: prefs.py:493; */
|
||||
/* prefs.py: macOS Preferences > Configuration - restart the app message; In files: prefs.py:495; */
|
||||
"Re-start {APP} to use shortcuts" = "Starta om {APP} för att använda genvägar";
|
||||
|
||||
/* prefs.py: macOS - Configuration - need to grant the app permission for keyboard shortcuts; In files: prefs.py:502; */
|
||||
/* prefs.py: macOS - Configuration - need to grant the app permission for keyboard shortcuts; In files: prefs.py:504; */
|
||||
"{APP} needs permission to use shortcuts" = "{APP} behöver rättigheter för att använda genvägar";
|
||||
|
||||
/* prefs.py: Shortcut settings button on OSX; In files: prefs.py:507; */
|
||||
/* prefs.py: Shortcut settings button on OSX; In files: prefs.py:509; */
|
||||
"Open System Preferences" = "Öppna systeminställningar";
|
||||
|
||||
/* prefs.py: Configuration - Act on hotkey only when ED is in foreground; In files: prefs.py:529; */
|
||||
/* prefs.py: Configuration - Act on hotkey only when ED is in foreground; In files: prefs.py:531; */
|
||||
"Only when Elite: Dangerous is the active app" = "Bara när: Elite Dangerous är det aktiva programmet";
|
||||
|
||||
/* prefs.py: Configuration - play sound when hotkey used; In files: prefs.py:540; */
|
||||
/* prefs.py: Configuration - play sound when hotkey used; In files: prefs.py:542; */
|
||||
"Play sound" = "Spela ljud";
|
||||
|
||||
/* prefs.py: Configuration - disable checks for app updates when in-game; In files: prefs.py:555; */
|
||||
/* prefs.py: Configuration - disable checks for app updates when in-game; In files: prefs.py:557; */
|
||||
"Disable Automatic Application Updates Check when in-game" = "Leta inte efter programuppdateringar när spelet körs";
|
||||
|
||||
/* prefs.py: Label for preferred shipyard, system and station 'providers'; In files: prefs.py:568; */
|
||||
/* prefs.py: Label for preferred shipyard, system and station 'providers'; In files: prefs.py:570; */
|
||||
"Preferred websites" = "Föredragna webbsidor";
|
||||
|
||||
/* prefs.py: Label for Shipyard provider selection; In files: prefs.py:579; */
|
||||
/* prefs.py: Label for Shipyard provider selection; In files: prefs.py:581; */
|
||||
"Shipyard" = "Översikt av skepp";
|
||||
|
||||
/* prefs.py: Label for 'Configuration' tab in Settings; In files: prefs.py:672; */
|
||||
/* prefs.py: Label for 'Configuration' tab in Settings; In files: prefs.py:674; */
|
||||
"Configuration" = "Konfiguration";
|
||||
|
||||
/* prefs.py: Label for Settings > Appeareance > selection of 'normal' text colour; In files: prefs.py:685; */
|
||||
/* prefs.py: Label for Settings > Appeareance > selection of 'normal' text colour; In files: prefs.py:709; */
|
||||
"Normal text" = "Normal text";
|
||||
|
||||
/* prefs.py: Label for Settings > Appeareance > selection of 'highlightes' text colour; In files: prefs.py:687; */
|
||||
/* prefs.py: Label for Settings > Appeareance > selection of 'highlightes' text colour; In files: prefs.py:711; */
|
||||
"Highlighted text" = "Markerad text";
|
||||
|
||||
/* prefs.py: Appearance - Label for selection of application display language; In files: prefs.py:696; */
|
||||
/* prefs.py: Appearance - Label for selection of application display language; In files: prefs.py:720; */
|
||||
"Language" = "Språk";
|
||||
|
||||
/* prefs.py: Label for Settings > Appearance > Theme selection; In files: prefs.py:706; */
|
||||
/* prefs.py: Label for Settings > Appearance > Theme selection; In files: prefs.py:730; */
|
||||
"Theme" = "Tema";
|
||||
|
||||
/* prefs.py: Label for 'Dark' theme radio button; In files: prefs.py:717; */
|
||||
/* prefs.py: Label for 'Dark' theme radio button; In files: prefs.py:741; */
|
||||
"Dark" = "Mörk";
|
||||
|
||||
/* prefs.py: Label for 'Transparent' theme radio button; In files: prefs.py:724; */
|
||||
/* prefs.py: Label for 'Transparent' theme radio button; In files: prefs.py:748; */
|
||||
"Transparent" = "Transparent";
|
||||
|
||||
/* prefs.py: Label for Settings > Appearance tab; In files: prefs.py:860; */
|
||||
/* prefs.py: Label for Settings > Appearance tab; In files: prefs.py:885; */
|
||||
"Appearance" = "Utseende";
|
||||
|
||||
/* prefs.py: Label for location of third-party plugins folder; In files: prefs.py:875; */
|
||||
/* prefs.py: Label for location of third-party plugins folder; In files: prefs.py:900; */
|
||||
"Plugins folder" = "Mapp för plugins";
|
||||
|
||||
/* prefs.py: Label on button used to open a filesystem folder; In files: prefs.py:882; */
|
||||
/* prefs.py: Label on button used to open a filesystem folder; In files: prefs.py:907; */
|
||||
"Open" = "Öppna";
|
||||
|
||||
/* prefs.py: Tip/label about how to disable plugins; In files: prefs.py:890; */
|
||||
/* prefs.py: Tip/label about how to disable plugins; In files: prefs.py:915; */
|
||||
"Tip: You can disable a plugin by{CR}adding '{EXT}' to its folder name" = "Tips: du kan avaktivera en plugin genom{CR}att lägga till '{EXT}' på slutet av mappens namn";
|
||||
|
||||
/* prefs.py: Label on list of enabled plugins; In files: prefs.py:901; */
|
||||
/* prefs.py: Label on list of enabled plugins; In files: prefs.py:926; */
|
||||
"Enabled Plugins" = "Aktiverade plugins";
|
||||
|
||||
/* prefs.py: Plugins - Label on URL to documentation about migrating plugins from Python 2.7; In files: prefs.py:929; */
|
||||
/* prefs.py: Plugins - Label on URL to documentation about migrating plugins from Python 2.7; In files: prefs.py:954; */
|
||||
"Information on migrating plugins" = "Information om migrering av plugins";
|
||||
|
||||
/* prefs.py: Lable on list of user-disabled plugins; In files: prefs.py:944; */
|
||||
/* prefs.py: Lable on list of user-disabled plugins; In files: prefs.py:969; */
|
||||
"Disabled Plugins" = "Avaktiverade plugins";
|
||||
|
||||
/* stats.py: Cmdr stats; In files: stats.py:51; */
|
||||
/* stats.py: Cmdr stats; In files: stats.py:60; */
|
||||
"Balance" = "Balance";
|
||||
|
||||
/* stats.py: Cmdr stats; In files: stats.py:52; */
|
||||
/* stats.py: Cmdr stats; In files: stats.py:61; */
|
||||
"Loan" = "Lån";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:57; */
|
||||
"Combat" = "Combat";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:58; */
|
||||
"Trade" = "Trade";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:59; */
|
||||
"Explorer" = "Explorer";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:60; */
|
||||
"CQC" = "CQC";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:61; */
|
||||
"Federation" = "Federation";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:62; */
|
||||
"Empire" = "Empire";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:63; */
|
||||
"Powerplay" = "Powerplay";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:71; */
|
||||
"Harmless" = "Harmless";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:72; */
|
||||
"Mostly Harmless" = "Mostly Harmless";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:73; */
|
||||
"Novice" = "Novice";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:74; */
|
||||
"Competent" = "Competent";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:75; */
|
||||
"Expert" = "Expert";
|
||||
|
||||
/* stats.py: Combat rank; stats.py: Empire rank; In files: stats.py:76; stats.py:139; */
|
||||
"Master" = "Master";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:77; */
|
||||
"Dangerous" = "Dangerous";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:78; */
|
||||
"Deadly" = "Deadly";
|
||||
|
||||
/* stats.py: Top rank; In files: stats.py:79; stats.py:90; stats.py:101; stats.py:112; */
|
||||
/* stats.py: Top rank; In files: stats.py:65; */
|
||||
"Elite" = "Elite";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:82; */
|
||||
/* stats.py: Ranking; In files: stats.py:76; */
|
||||
"Combat" = "Combat";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:77; */
|
||||
"Trade" = "Trade";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:78; */
|
||||
"Explorer" = "Explorer";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:81; */
|
||||
"CQC" = "CQC";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:82; */
|
||||
"Federation" = "Federation";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:83; */
|
||||
"Empire" = "Empire";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:84; */
|
||||
"Powerplay" = "Powerplay";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:93; */
|
||||
"Harmless" = "Harmless";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:94; */
|
||||
"Mostly Harmless" = "Mostly Harmless";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:95; */
|
||||
"Novice" = "Novice";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:96; */
|
||||
"Competent" = "Competent";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:97; */
|
||||
"Expert" = "Expert";
|
||||
|
||||
/* stats.py: Combat rank; stats.py: Empire rank; In files: stats.py:98; stats.py:178; */
|
||||
"Master" = "Master";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:99; */
|
||||
"Dangerous" = "Dangerous";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:100; */
|
||||
"Deadly" = "Deadly";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:103; */
|
||||
"Penniless" = "Penniless";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:83; */
|
||||
/* stats.py: Trade rank; In files: stats.py:104; */
|
||||
"Mostly Penniless" = "Mostly Penniless";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:84; */
|
||||
/* stats.py: Trade rank; In files: stats.py:105; */
|
||||
"Peddler" = "Peddler";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:85; */
|
||||
/* stats.py: Trade rank; In files: stats.py:106; */
|
||||
"Dealer" = "Dealer";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:86; */
|
||||
/* stats.py: Trade rank; In files: stats.py:107; */
|
||||
"Merchant" = "Merchant";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:87; */
|
||||
/* stats.py: Trade rank; In files: stats.py:108; */
|
||||
"Broker" = "Broker";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:88; */
|
||||
/* stats.py: Trade rank; In files: stats.py:109; */
|
||||
"Entrepreneur" = "Entrepreneur";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:89; */
|
||||
/* stats.py: Trade rank; In files: stats.py:110; */
|
||||
"Tycoon" = "Tycoon";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:93; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:113; */
|
||||
"Aimless" = "Aimless";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:94; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:114; */
|
||||
"Mostly Aimless" = "Mostly Aimless";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:95; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:115; */
|
||||
"Scout" = "Scout";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:96; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:116; */
|
||||
"Surveyor" = "Surveyor";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:97; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:117; */
|
||||
"Trailblazer" = "Trailblazer";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:98; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:118; */
|
||||
"Pathfinder" = "Pathfinder";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:99; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:119; */
|
||||
"Ranger" = "Ranger";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:100; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:120; */
|
||||
"Pioneer" = "Pioneer";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:104; */
|
||||
/* stats.py: CQC rank; In files: stats.py:144; */
|
||||
"Helpless" = "Helpless";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:105; */
|
||||
/* stats.py: CQC rank; In files: stats.py:145; */
|
||||
"Mostly Helpless" = "Mostly Helpless";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:106; */
|
||||
/* stats.py: CQC rank; In files: stats.py:146; */
|
||||
"Amateur" = "Amatör";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:107; */
|
||||
/* stats.py: CQC rank; In files: stats.py:147; */
|
||||
"Semi Professional" = "Semi Professional";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:108; */
|
||||
/* stats.py: CQC rank; In files: stats.py:148; */
|
||||
"Professional" = "Professional";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:109; */
|
||||
/* stats.py: CQC rank; In files: stats.py:149; */
|
||||
"Champion" = "Champion";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:110; */
|
||||
/* stats.py: CQC rank; In files: stats.py:150; */
|
||||
"Hero" = "Hero";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:111; */
|
||||
/* stats.py: CQC rank; In files: stats.py:151; */
|
||||
"Gladiator" = "Gladiator";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:118; */
|
||||
/* stats.py: Federation rank; In files: stats.py:157; */
|
||||
"Recruit" = "Recruit";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:119; */
|
||||
/* stats.py: Federation rank; In files: stats.py:158; */
|
||||
"Cadet" = "Cadet";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:120; */
|
||||
/* stats.py: Federation rank; In files: stats.py:159; */
|
||||
"Midshipman" = "Midshipman";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:121; */
|
||||
/* stats.py: Federation rank; In files: stats.py:160; */
|
||||
"Petty Officer" = "Petty Officer";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:122; */
|
||||
/* stats.py: Federation rank; In files: stats.py:161; */
|
||||
"Chief Petty Officer" = "Chief Petty Officer";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:123; */
|
||||
/* stats.py: Federation rank; In files: stats.py:162; */
|
||||
"Warrant Officer" = "Warrant Officer";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:124; */
|
||||
/* stats.py: Federation rank; In files: stats.py:163; */
|
||||
"Ensign" = "Ensign";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:125; */
|
||||
/* stats.py: Federation rank; In files: stats.py:164; */
|
||||
"Lieutenant" = "Lieutenant";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:126; */
|
||||
/* stats.py: Federation rank; In files: stats.py:165; */
|
||||
"Lieutenant Commander" = "Lieutenant Commander";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:127; */
|
||||
/* stats.py: Federation rank; In files: stats.py:166; */
|
||||
"Post Commander" = "Post Commander";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:128; */
|
||||
/* stats.py: Federation rank; In files: stats.py:167; */
|
||||
"Post Captain" = "Post Captain";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:129; */
|
||||
/* stats.py: Federation rank; In files: stats.py:168; */
|
||||
"Rear Admiral" = "Rear Admiral";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:130; */
|
||||
/* stats.py: Federation rank; In files: stats.py:169; */
|
||||
"Vice Admiral" = "Vice Admiral";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:131; */
|
||||
/* stats.py: Federation rank; In files: stats.py:170; */
|
||||
"Admiral" = "Admiral";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:137; */
|
||||
/* stats.py: Empire rank; In files: stats.py:176; */
|
||||
"Outsider" = "Outsider";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:138; */
|
||||
/* stats.py: Empire rank; In files: stats.py:177; */
|
||||
"Serf" = "Serf";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:140; */
|
||||
/* stats.py: Empire rank; In files: stats.py:179; */
|
||||
"Squire" = "Squire";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:141; */
|
||||
/* stats.py: Empire rank; In files: stats.py:180; */
|
||||
"Knight" = "Knight";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:142; */
|
||||
/* stats.py: Empire rank; In files: stats.py:181; */
|
||||
"Lord" = "Lord";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:143; */
|
||||
/* stats.py: Empire rank; In files: stats.py:182; */
|
||||
"Baron" = "Baron";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:144; */
|
||||
/* stats.py: Empire rank; In files: stats.py:183; */
|
||||
"Viscount" = "Viscount";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:145; */
|
||||
/* stats.py: Empire rank; In files: stats.py:184; */
|
||||
"Count" = "Count";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:146; */
|
||||
/* stats.py: Empire rank; In files: stats.py:185; */
|
||||
"Earl" = "Earl";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:147; */
|
||||
/* stats.py: Empire rank; In files: stats.py:186; */
|
||||
"Marquis" = "Marquis";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:148; */
|
||||
/* stats.py: Empire rank; In files: stats.py:187; */
|
||||
"Duke" = "Duke";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:149; */
|
||||
/* stats.py: Empire rank; In files: stats.py:188; */
|
||||
"Prince" = "Prince";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:150; */
|
||||
/* stats.py: Empire rank; In files: stats.py:189; */
|
||||
"King" = "King";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:156; */
|
||||
/* stats.py: Power rank; In files: stats.py:195; */
|
||||
"Rating 1" = "Rating 1";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:157; */
|
||||
/* stats.py: Power rank; In files: stats.py:196; */
|
||||
"Rating 2" = "Rating 2";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:158; */
|
||||
/* stats.py: Power rank; In files: stats.py:197; */
|
||||
"Rating 3" = "Rating 3";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:159; */
|
||||
/* stats.py: Power rank; In files: stats.py:198; */
|
||||
"Rating 4" = "Rating 4";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:160; */
|
||||
/* stats.py: Power rank; In files: stats.py:199; */
|
||||
"Rating 5" = "Rating 5";
|
||||
|
||||
/* stats.py: Status dialog subtitle - CR value of ship; In files: stats.py:367; */
|
||||
/* stats.py: Status dialog subtitle - CR value of ship; In files: stats.py:413; */
|
||||
"Value" = "Värde";
|
||||
|
||||
/* stats.py: Status dialog title; In files: stats.py:376; */
|
||||
/* stats.py: Status dialog title; In files: stats.py:422; */
|
||||
"Ships" = "Skepp";
|
||||
+334
-340
@@ -1,165 +1,57 @@
|
||||
/* Language name */
|
||||
"!Language" = "Українська";
|
||||
|
||||
/* eddn.py: Status text shown while attempting to send data; In files: eddn.py:212; eddn.py:584; eddn.py:925; load.py:215; load.py:593; load.py:940; eddn.py:252; eddn.py:699; eddn.py:1439; */
|
||||
"Sending data to EDDN..." = "Відправка даних до EDDN...";
|
||||
|
||||
/* OLD: Raised when cannot contact the Companion API server. [companion.py] */
|
||||
"Error: Frontier server is down" = "Помилка, Сервер гри не доступний!";
|
||||
/* companion.py: Frontier CAPI data doesn't agree with latest Journal game location; In files: companion.py:190; */
|
||||
"Error: Frontier server is lagging" = "Помилка: З`єднання з сервером гри з затримками!";
|
||||
/* eddn.py: Error while trying to send data to EDDN; In files: eddn.py:257; eddn.py:864; eddn.py:898; eddn.py:937; load.py:260; load.py:878; load.py:913; load.py:952; eddn.py:316; eddn.py:1375; eddn.py:1410; eddn.py:1451; */
|
||||
"Error: Can't connect to EDDN" = "Помилка: Немає зв'язку з EDDN!";
|
||||
|
||||
/* companion.py: Generic "something went wrong with Frontier Auth" error; In files: companion.py:214; */
|
||||
"Error: Invalid Credentials" = "Помилка: Невірні облікові дані!";
|
||||
/* eddn.py: Enable EDDN support for station data checkbox label; In files: eddn.py:663; load.py:672; eddn.py:1122; */
|
||||
"Send station data to the Elite Dangerous Data Network" = "Надсилати дані станцій до Elite Dangerous Data Network";
|
||||
|
||||
/* companion.py: Frontier CAPI authorisation not for currently game-active commander; In files: companion.py:230; */
|
||||
"Error: Wrong Cmdr" = "Помилка! Не той обліковий запис!";
|
||||
/* eddn.py: Enable EDDN support for system and other scan data checkbox label; In files: eddn.py:673; load.py:682; eddn.py:1133; */
|
||||
"Send system and scan data to the Elite Dangerous Data Network" = "Відправляти систему і результати сканування в Elite Dangerous Data Network";
|
||||
|
||||
/* companion.py: Generic error prefix - following text is from Frontier auth service; In files: companion.py:341; companion.py:422; */
|
||||
"Error" = "Помилка";
|
||||
/* eddn.py: EDDN delay sending until docked option is on, this message notes that a send was skipped due to this; In files: eddn.py:683; load.py:692; eddn.py:1144; */
|
||||
"Delay sending until docked" = "Відкласти відправку даних до стикування";
|
||||
|
||||
/* edsm.py: Settings>EDSM - Label on checkbox for 'send data'; In files: edsm.py:197; load.py:197; edsm.py:237; */
|
||||
"Send flight log and Cmdr status to EDSM" = "Відправляти дані бортового журналу до EDSM";
|
||||
|
||||
/* [inara.py] */
|
||||
"Error: Can't connect to Inara" = "Помилка: Немає з'єднання з Inara";
|
||||
/* companion.py: Frontier auth, no 'usr' section in returned data; companion.py: Frontier auth, no 'customer_id' in 'usr' section in returned data; In files: companion.py:380; companion.py:385; */
|
||||
"Error: Couldn't check token customer_id" = "Помилка: Не вдалося перевірити токен customer_id";
|
||||
/* edsm.py: Settings>EDSM - Label on header/URL to EDSM API key page; In files: edsm.py:206; load.py:206; edsm.py:247; */
|
||||
"Elite Dangerous Star Map credentials" = "Дані Elite Dangerous Star Map";
|
||||
|
||||
/* companion.py: Frontier auth customer_id doesn't match game session FID; In files: companion.py:391; */
|
||||
"Error: customer_id doesn't match!" = "Error: customer_id не співпадає!";
|
||||
|
||||
/* companion.py: Failed to get Access Token from Frontier Auth service; In files: companion.py:413; */
|
||||
"Error: unable to get token" = "Помилка: не вдалося отримати токен";
|
||||
|
||||
/* EDMarketConnector.py: Update button in main window; In files: EDMarketConnector.py:424; EDMarketConnector.py:718; EDMarketConnector.py:1302; */
|
||||
"Update" = "Оновлення";
|
||||
|
||||
/* EDMarketConnector.py: Appearance - Label for checkbox to select if application always on top; prefs.py: Appearance - Label for checkbox to select if application always on top; In files: EDMarketConnector.py:507; prefs.py:843; */
|
||||
"Always on top" = "Поверх інших вікон";
|
||||
|
||||
/* EDMarketConnector.py: Unknown suit; In files: EDMarketConnector.py:636; */
|
||||
"Unknown" = "Невідомо";
|
||||
|
||||
/* EDMarketConnector.py: Label for commander name in main window; edsm.py: Game Commander name label in EDSM settings; stats.py: Cmdr stats; theme.py: Label for commander name in main window; In files: EDMarketConnector.py:712; edsm.py:219; stats.py:50; theme.py:227; */
|
||||
/* edsm.py: Game Commander name label in EDSM settings; theme.py: Label for commander name in main window; EDMarketConnector.py: Label for commander name in main window; stats.py: Cmdr stats; In files: edsm.py:216; load.py:216; edsm.py:258; theme.py:227; EDMarketConnector.py:822; stats.py:59; */
|
||||
"Cmdr" = "Км-др";
|
||||
|
||||
/* EDMarketConnector.py: 'Ship' or multi-crew role label in main window, as applicable; EDMarketConnector.py: Multicrew role label in main window; In files: EDMarketConnector.py:714; EDMarketConnector.py:1072; */
|
||||
"Role" = "Посада";
|
||||
/* edsm.py: EDSM Commander name label in EDSM settings; In files: edsm.py:223; load.py:223; edsm.py:266; */
|
||||
"Commander Name" = "Ім`я пілота";
|
||||
|
||||
/* EDMarketConnector.py: 'Ship' or multi-crew role label in main window, as applicable; EDMarketConnector.py: 'Ship' label in main UI; stats.py: Status dialog subtitle; In files: EDMarketConnector.py:714; EDMarketConnector.py:1082; EDMarketConnector.py:1105; stats.py:363; */
|
||||
"Ship" = "Корабель";
|
||||
/* edsm.py: EDSM API key label; inara.py: Inara API key label; In files: edsm.py:230; inara.py:233; load.py:230; load.py:233; edsm.py:274; inara.py:243; */
|
||||
"API Key" = "API Ключ";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'Suit' line in main UI; In files: EDMarketConnector.py:715; */
|
||||
"Suit" = "Костюм";
|
||||
/* edsm.py: We have no data on the current commander; prefs.py: No hotkey/shortcut set; stats.py: No rank; In files: edsm.py:256; load.py:256; edsm.py:301; prefs.py:520; prefs.py:1174; prefs.py:1207; stats.py:156; stats.py:175; stats.py:194; stats.py:211; */
|
||||
"None" = "Нічого";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'System' line in main UI; prefs.py: Configuration - Label for selection of 'System' provider website; stats.py: Main window; In files: EDMarketConnector.py:716; prefs.py:605; stats.py:365; */
|
||||
"System" = "Система";
|
||||
/* edsm.py: EDSM Plugin - Error message from EDSM API; In files: edsm.py:622; edsm.py:724; load.py:627; load.py:729; edsm.py:747; edsm.py:875; */
|
||||
"Error: EDSM {MSG}" = "Помилка: EDSM {MSG}!";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'Station' line in main UI; prefs.py: Configuration - Label for selection of 'Station' provider website; prefs.py: Appearance - Example 'Normal' text; stats.py: Status dialog subtitle; In files: EDMarketConnector.py:717; prefs.py:623; prefs.py:738; stats.py:366; */
|
||||
"Station" = "Станція";
|
||||
/* edsm.py: EDSM Plugin - Error connecting to EDSM API; In files: edsm.py:658; edsm.py:720; load.py:663; load.py:725; edsm.py:784; edsm.py:870; */
|
||||
"Error: Can't connect to EDSM" = "Помилка: Немає з`єднання з EDSM!";
|
||||
|
||||
/* EDMarketConnector.py: 'File' menu title on OSX; EDMarketConnector.py: 'File' menu title; EDMarketConnector.py: 'File' menu; In files: EDMarketConnector.py:720; EDMarketConnector.py:735; EDMarketConnector.py:738; EDMarketConnector.py:1791; */
|
||||
"File" = "Файл";
|
||||
/* inara.py: Checkbox to enable INARA API Usage; In files: inara.py:215; load.py:215; inara.py:222; */
|
||||
"Send flight log and Cmdr status to Inara" = "Відправляти дані бортового журналу до Inara";
|
||||
|
||||
/* EDMarketConnector.py: 'Edit' menu title on OSX; EDMarketConnector.py: 'Edit' menu title; In files: EDMarketConnector.py:721; EDMarketConnector.py:736; EDMarketConnector.py:739; */
|
||||
"Edit" = "Редагувати";
|
||||
/* inara.py: Text for INARA API keys link ( goes to https://inara.cz/settings-api ); In files: inara.py:225; load.py:225; inara.py:234; */
|
||||
"Inara credentials" = "Обліковий запис Inara";
|
||||
|
||||
/* EDMarketConnector.py: 'View' menu title on OSX; In files: EDMarketConnector.py:722; */
|
||||
"View" = "Вид";
|
||||
/* inara.py: INARA API returned some kind of error (error message will be contained in {MSG}); In files: inara.py:1316; inara.py:1328; load.py:1319; load.py:1331; inara.py:1587; inara.py:1600; */
|
||||
"Error: Inara {MSG}" = "Помилка: Inara {MSG}";
|
||||
|
||||
/* EDMarketConnector.py: 'Window' menu title on OSX; In files: EDMarketConnector.py:723; */
|
||||
"Window" = "Вікно";
|
||||
|
||||
/* EDMarketConnector.py: Help' menu title on OSX; EDMarketConnector.py: 'Help' menu title; In files: EDMarketConnector.py:724; EDMarketConnector.py:737; EDMarketConnector.py:740; */
|
||||
"Help" = "Довідка";
|
||||
|
||||
/* EDMarketConnector.py: App menu entry on OSX; EDMarketConnector.py: Help > About App; In files: EDMarketConnector.py:727; EDMarketConnector.py:753; EDMarketConnector.py:1347; */
|
||||
"About {APP}" = "Про {APP}";
|
||||
|
||||
/* EDMarketConnector.py: Help > Check for Updates...; In files: EDMarketConnector.py:729; EDMarketConnector.py:752; */
|
||||
"Check for Updates..." = "Перевірка оновлень...";
|
||||
|
||||
/* EDMarketConnector.py: File > Save Raw Data...; In files: EDMarketConnector.py:730; EDMarketConnector.py:744; */
|
||||
"Save Raw Data..." = "Зберегти необроблені дані...";
|
||||
|
||||
/* EDMarketConnector.py: File > Status; stats.py: Status dialog title; In files: EDMarketConnector.py:731; EDMarketConnector.py:743; stats.py:360; */
|
||||
"Status" = "Статус";
|
||||
|
||||
/* EDMarketConnector.py: Help > Privacy Policy; In files: EDMarketConnector.py:732; EDMarketConnector.py:750; */
|
||||
"Privacy Policy" = "Політика конфіденційності";
|
||||
|
||||
/* EDMarketConnector.py: Help > Release Notes; In files: EDMarketConnector.py:733; EDMarketConnector.py:751; EDMarketConnector.py:1381; */
|
||||
"Release Notes" = "Інформація про реліз";
|
||||
|
||||
/* EDMarketConnector.py: File > Settings; prefs.py: File > Settings (macOS); In files: EDMarketConnector.py:745; EDMarketConnector.py:1792; prefs.py:254; */
|
||||
"Settings" = "Налаштування";
|
||||
|
||||
/* EDMarketConnector.py: File > Exit; In files: EDMarketConnector.py:746; */
|
||||
"Exit" = "Вихід";
|
||||
|
||||
/* EDMarketConnector.py: Help > Documentation; In files: EDMarketConnector.py:749; */
|
||||
"Documentation" = "Документація";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'Copy' as in 'Copy and Paste'; ttkHyperlinkLabel.py: Label for 'Copy' as in 'Copy and Paste'; In files: EDMarketConnector.py:756; ttkHyperlinkLabel.py:42; */
|
||||
"Copy" = "Копіювати";
|
||||
|
||||
/* EDMarketConnector.py: Status - Attempting to get a Frontier Auth Access Token; In files: EDMarketConnector.py:762; */
|
||||
"Logging in..." = "Вхід в...";
|
||||
|
||||
/* EDMarketConnector.py: Successfully authenticated with the Frontier website; In files: EDMarketConnector.py:778; EDMarketConnector.py:1215; */
|
||||
"Authentication successful" = "Автентифікацію пройдено успішно";
|
||||
|
||||
/* EDMarketConnector.py: Player is not docked at a station, when we expect them to be; In files: EDMarketConnector.py:809; */
|
||||
"You're not docked at a station!" = "Ви не стиковані з станцією!";
|
||||
|
||||
/* EDMarketConnector.py: Status - Either no market or no modules data for station from Frontier CAPI; In files: EDMarketConnector.py:817; */
|
||||
"Station doesn't have anything!" = "На станції немає нічого!";
|
||||
|
||||
/* EDMarketConnector.py: Status - No station market data from Frontier CAPI; In files: EDMarketConnector.py:822; */
|
||||
"Station doesn't have a market!" = "На станції немає ринку!";
|
||||
|
||||
/* EDMarketConnector.py: Status - Attempting to retrieve data from Frontier CAPI; EDMarketConnector.py: Status - Attempting to retrieve data from Frontier CAPI to save to file; stats.py: Fetching data from Frontier CAPI in order to display on File > Status; In files: EDMarketConnector.py:867; EDMarketConnector.py:1428; stats.py:279; */
|
||||
"Fetching data..." = "Отримання даних...";
|
||||
|
||||
/* EDMarketConnector.py: No data was returned for the commander from the Frontier CAPI; In files: EDMarketConnector.py:880; */
|
||||
/* EDMarketConnector.py: No data was returned for the commander from the Frontier CAPI; In files: test_ast_stuff.py:2; EDMarketConnector.py:1047; */
|
||||
"CAPI: No commander data returned" = "CAPI: Не отримано данних пілота";
|
||||
|
||||
/* EDMarketConnector.py: We didn't have the commander name when we should have; stats.py: Unknown commander; In files: EDMarketConnector.py:884; stats.py:297; */
|
||||
"Who are you?!" = "Хто ти?!";
|
||||
|
||||
/* EDMarketConnector.py: We don't know where the commander is, when we should; stats.py: Unknown location; In files: EDMarketConnector.py:890; stats.py:307; */
|
||||
"Where are you?!" = "Де ми?!";
|
||||
|
||||
/* EDMarketConnector.py: We don't know what ship the commander is in, when we should; stats.py: Unknown ship; In files: EDMarketConnector.py:894; stats.py:312; */
|
||||
"What are you flying?!" = "На чому летимо?!";
|
||||
|
||||
/* EDMarketConnector.py: Time when we last obtained Frontier CAPI data; In files: EDMarketConnector.py:1026; */
|
||||
"Last updated at %H:%M:%S" = "Останнє оновлення було %H:%M:%S";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1052; */
|
||||
"Fighter" = "Винищувач";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1053; */
|
||||
"Gunner" = "Стрілець";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1054; */
|
||||
"Helm" = "Керівник";
|
||||
|
||||
/* EDMarketConnector.py: Cooldown on 'Update' button; In files: EDMarketConnector.py:1298; */
|
||||
"cooldown {SS}s" = "очікування {SS} сек";
|
||||
|
||||
/* EDMarketConnector.py: Generic 'OK' button label; prefs.py: 'OK' button on Settings/Preferences window; In files: EDMarketConnector.py:1407; prefs.py:304; */
|
||||
"OK" = "Згода";
|
||||
|
||||
/* EDMarketConnector.py: The application is shutting down; In files: EDMarketConnector.py:1489; */
|
||||
"Shutting down..." = "Закриття...";
|
||||
|
||||
/* EDMarketConnector.py: Popup-text about 'active' plugins without Python 3.x support; In files: EDMarketConnector.py:1780:1786; */
|
||||
"One or more of your enabled plugins do not yet have support for Python 3.x. Please see the list on the '{PLUGINS}' tab of '{FILE}' > '{SETTINGS}'. You should check if there is an updated version available, else alert the developer that they need to update the code for Python 3.x.\r\n\r\nYou can disable a plugin by renaming its folder to have '{DISABLED}' on the end of the name." = "Один або кілька увімкнених плагінів ще не підтримують Python 3.x. Перегляньте список на вкладці '{PLUGINS}' в '{FILE}' > '{SETTINGS}'. Ви повинні перевірити, чи є в наявності оновлена версія, інакше повідомити розробника плагіну про те, що їм потрібно оновити код для Python 3.x.\n\nВи можете відключити плагін, перейменувавши його папку додавши '{DISABLED}' в кінці назви.";
|
||||
|
||||
/* EDMarketConnector.py: Settings > Plugins tab; prefs.py: Label on Settings > Plugins tab; In files: EDMarketConnector.py:1790; prefs.py:953; */
|
||||
"Plugins" = "Плагіни";
|
||||
|
||||
/* EDMarketConnector.py: Popup window title for list of 'enabled' plugins that don't work with Python 3.x; In files: EDMarketConnector.py:1801; */
|
||||
"EDMC: Plugins Without Python 3.x Support" = "EDMC: Плагіни без підтримки Python 3.x!";
|
||||
|
||||
/* journal_lock.py: Title text on popup when Journal directory already locked; In files: journal_lock.py:206; */
|
||||
"Journal directory already locked" = "Каталог журналу вже заблокований";
|
||||
|
||||
@@ -172,410 +64,512 @@
|
||||
/* journal_lock.py: Generic 'Ignore' button label; In files: journal_lock.py:232; */
|
||||
"Ignore" = "Ігнорувати";
|
||||
|
||||
/* l10n.py: The system default language choice in Settings > Appearance; prefs.py: Settings > Configuration - Label on 'reset journal files location to default' button; prefs.py: The system default language choice in Settings > Appearance; prefs.py: Label for 'Default' theme radio button; In files: l10n.py:194; prefs.py:466; prefs.py:678; prefs.py:711; */
|
||||
/* ttkHyperlinkLabel.py: Label for 'Copy' as in 'Copy and Paste'; EDMarketConnector.py: Label for 'Copy' as in 'Copy and Paste'; In files: ttkHyperlinkLabel.py:42; EDMarketConnector.py:866; */
|
||||
"Copy" = "Копіювати";
|
||||
|
||||
/* EDMarketConnector.py: Update button in main window; In files: EDMarketConnector.py:529; EDMarketConnector.py:828; EDMarketConnector.py:1520; */
|
||||
"Update" = "Оновлення";
|
||||
|
||||
/* EDMarketConnector.py: Appearance - Label for checkbox to select if application always on top; prefs.py: Appearance - Label for checkbox to select if application always on top; In files: EDMarketConnector.py:612; prefs.py:867; */
|
||||
"Always on top" = "Поверх інших вікон";
|
||||
|
||||
/* EDMarketConnector.py: Unknown suit; In files: EDMarketConnector.py:746; */
|
||||
"Unknown" = "Невідомо";
|
||||
|
||||
/* EDMarketConnector.py: 'Ship' or multi-crew role label in main window, as applicable; EDMarketConnector.py: Multicrew role label in main window; In files: EDMarketConnector.py:824; EDMarketConnector.py:1279; */
|
||||
"Role" = "Посада";
|
||||
|
||||
/* EDMarketConnector.py: 'Ship' or multi-crew role label in main window, as applicable; EDMarketConnector.py: 'Ship' label in main UI; stats.py: Status dialog subtitle; In files: EDMarketConnector.py:824; EDMarketConnector.py:1289; EDMarketConnector.py:1312; stats.py:409; */
|
||||
"Ship" = "Корабель";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'Suit' line in main UI; In files: EDMarketConnector.py:825; */
|
||||
"Suit" = "Костюм";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'System' line in main UI; prefs.py: Configuration - Label for selection of 'System' provider website; stats.py: Main window; In files: EDMarketConnector.py:826; prefs.py:607; stats.py:411; */
|
||||
"System" = "Система";
|
||||
|
||||
/* EDMarketConnector.py: Label for 'Station' line in main UI; prefs.py: Configuration - Label for selection of 'Station' provider website; prefs.py: Appearance - Example 'Normal' text; stats.py: Status dialog subtitle; In files: EDMarketConnector.py:827; prefs.py:625; prefs.py:762; stats.py:412; */
|
||||
"Station" = "Станція";
|
||||
|
||||
/* EDMarketConnector.py: 'File' menu title on OSX; EDMarketConnector.py: 'File' menu title; EDMarketConnector.py: 'File' menu; In files: EDMarketConnector.py:830; EDMarketConnector.py:845; EDMarketConnector.py:848; EDMarketConnector.py:2019; */
|
||||
"File" = "Файл";
|
||||
|
||||
/* EDMarketConnector.py: 'Edit' menu title on OSX; EDMarketConnector.py: 'Edit' menu title; In files: EDMarketConnector.py:831; EDMarketConnector.py:846; EDMarketConnector.py:849; */
|
||||
"Edit" = "Редагувати";
|
||||
|
||||
/* EDMarketConnector.py: 'View' menu title on OSX; In files: EDMarketConnector.py:832; */
|
||||
"View" = "Вид";
|
||||
|
||||
/* EDMarketConnector.py: 'Window' menu title on OSX; In files: EDMarketConnector.py:833; */
|
||||
"Window" = "Вікно";
|
||||
|
||||
/* EDMarketConnector.py: Help' menu title on OSX; EDMarketConnector.py: 'Help' menu title; In files: EDMarketConnector.py:834; EDMarketConnector.py:847; EDMarketConnector.py:850; */
|
||||
"Help" = "Довідка";
|
||||
|
||||
/* EDMarketConnector.py: App menu entry on OSX; EDMarketConnector.py: Help > About App; In files: EDMarketConnector.py:837; EDMarketConnector.py:863; EDMarketConnector.py:1566; */
|
||||
"About {APP}" = "Про {APP}";
|
||||
|
||||
/* EDMarketConnector.py: Help > Check for Updates...; In files: EDMarketConnector.py:839; EDMarketConnector.py:862; */
|
||||
"Check for Updates..." = "Перевірка оновлень...";
|
||||
|
||||
/* EDMarketConnector.py: File > Save Raw Data...; In files: EDMarketConnector.py:840; EDMarketConnector.py:854; */
|
||||
"Save Raw Data..." = "Зберегти необроблені дані...";
|
||||
|
||||
/* EDMarketConnector.py: File > Status; stats.py: Status dialog title; In files: EDMarketConnector.py:841; EDMarketConnector.py:853; stats.py:406; */
|
||||
"Status" = "Статус";
|
||||
|
||||
/* EDMarketConnector.py: Help > Privacy Policy; In files: EDMarketConnector.py:842; EDMarketConnector.py:860; */
|
||||
"Privacy Policy" = "Політика конфіденційності";
|
||||
|
||||
/* EDMarketConnector.py: Help > Release Notes; In files: EDMarketConnector.py:843; EDMarketConnector.py:861; EDMarketConnector.py:1600; */
|
||||
"Release Notes" = "Інформація про реліз";
|
||||
|
||||
/* EDMarketConnector.py: File > Settings; prefs.py: File > Settings (macOS); In files: EDMarketConnector.py:855; EDMarketConnector.py:2020; prefs.py:255; */
|
||||
"Settings" = "Налаштування";
|
||||
|
||||
/* EDMarketConnector.py: File > Exit; In files: EDMarketConnector.py:856; */
|
||||
"Exit" = "Вихід";
|
||||
|
||||
/* EDMarketConnector.py: Help > Documentation; In files: EDMarketConnector.py:859; */
|
||||
"Documentation" = "Документація";
|
||||
|
||||
/* EDMarketConnector.py: Status - Attempting to get a Frontier Auth Access Token; In files: EDMarketConnector.py:872; */
|
||||
"Logging in..." = "Вхід в...";
|
||||
|
||||
/* EDMarketConnector.py: Successfully authenticated with the Frontier website; In files: EDMarketConnector.py:888; EDMarketConnector.py:1431; */
|
||||
"Authentication successful" = "Автентифікацію пройдено успішно";
|
||||
|
||||
/* EDMarketConnector.py: Player is not docked at a station, when we expect them to be; In files: EDMarketConnector.py:919; */
|
||||
"You're not docked at a station!" = "Ви не стиковані з станцією!";
|
||||
|
||||
/* EDMarketConnector.py: Status - Either no market or no modules data for station from Frontier CAPI; In files: EDMarketConnector.py:927; */
|
||||
"Station doesn't have anything!" = "На станції немає нічого!";
|
||||
|
||||
/* EDMarketConnector.py: Status - No station market data from Frontier CAPI; In files: EDMarketConnector.py:932; */
|
||||
"Station doesn't have a market!" = "На станції немає ринку!";
|
||||
|
||||
/* EDMarketConnector.py: Status - Attempting to retrieve data from Frontier CAPI; In files: EDMarketConnector.py:1006; */
|
||||
"Fetching data..." = "Отримання даних...";
|
||||
|
||||
/* EDMarketConnector.py: We didn't have the commander name when we should have; stats.py: Unknown commander; In files: EDMarketConnector.py:1051; stats.py:335; */
|
||||
"Who are you?!" = "Хто ти?!";
|
||||
|
||||
/* EDMarketConnector.py: We don't know where the commander is, when we should; stats.py: Unknown location; In files: EDMarketConnector.py:1057; stats.py:345; */
|
||||
"Where are you?!" = "Де ми?!";
|
||||
|
||||
/* EDMarketConnector.py: We don't know what ship the commander is in, when we should; stats.py: Unknown ship; In files: EDMarketConnector.py:1064; stats.py:353; */
|
||||
"What are you flying?!" = "На чому летимо?!";
|
||||
|
||||
/* EDMarketConnector.py: Time when we last obtained Frontier CAPI data; In files: EDMarketConnector.py:1226; */
|
||||
"Last updated at %H:%M:%S" = "Останнє оновлення було %H:%M:%S";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1254; */
|
||||
"Fighter" = "Винищувач";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1255; */
|
||||
"Gunner" = "Стрілець";
|
||||
|
||||
/* EDMarketConnector.py: Multicrew role; In files: EDMarketConnector.py:1256; */
|
||||
"Helm" = "Керівник";
|
||||
|
||||
/* EDMarketConnector.py: Cooldown on 'Update' button; In files: EDMarketConnector.py:1514; */
|
||||
"cooldown {SS}s" = "очікування {SS} сек";
|
||||
|
||||
/* EDMarketConnector.py: Generic 'OK' button label; prefs.py: 'OK' button on Settings/Preferences window; In files: EDMarketConnector.py:1626; prefs.py:306; */
|
||||
"OK" = "Згода";
|
||||
|
||||
/* EDMarketConnector.py: The application is shutting down; In files: EDMarketConnector.py:1693; */
|
||||
"Shutting down..." = "Закриття...";
|
||||
|
||||
/* EDMarketConnector.py: Popup-text about 'active' plugins without Python 3.x support; In files: EDMarketConnector.py:2008:2014; */
|
||||
"One or more of your enabled plugins do not yet have support for Python 3.x. Please see the list on the '{PLUGINS}' tab of '{FILE}' > '{SETTINGS}'. You should check if there is an updated version available, else alert the developer that they need to update the code for Python 3.x.\r\n\r\nYou can disable a plugin by renaming its folder to have '{DISABLED}' on the end of the name." = "Один або кілька увімкнених плагінів ще не підтримують Python 3.x. Перегляньте список на вкладці '{PLUGINS}' в '{FILE}' > '{SETTINGS}'. Ви повинні перевірити, чи є в наявності оновлена версія, інакше повідомити розробника плагіну про те, що їм потрібно оновити код для Python 3.x.\n\nВи можете відключити плагін, перейменувавши його папку додавши '{DISABLED}' в кінці назви.";
|
||||
|
||||
/* EDMarketConnector.py: Settings > Plugins tab; prefs.py: Label on Settings > Plugins tab; In files: EDMarketConnector.py:2018; prefs.py:978; */
|
||||
"Plugins" = "Плагіни";
|
||||
|
||||
/* EDMarketConnector.py: Popup window title for list of 'enabled' plugins that don't work with Python 3.x; In files: EDMarketConnector.py:2029; */
|
||||
"EDMC: Plugins Without Python 3.x Support" = "EDMC: Плагіни без підтримки Python 3.x!";
|
||||
|
||||
/* companion.py: Frontier CAPI data doesn't agree with latest Journal game location; In files: companion.py:237; */
|
||||
"Error: Frontier server is lagging" = "Помилка: З`єднання з сервером гри з затримками!";
|
||||
|
||||
/* companion.py: Generic "something went wrong with Frontier Auth" error; In files: companion.py:263; */
|
||||
"Error: Invalid Credentials" = "Помилка: Невірні облікові дані!";
|
||||
|
||||
/* companion.py: Frontier CAPI authorisation not for currently game-active commander; In files: companion.py:288; */
|
||||
"Error: Wrong Cmdr" = "Помилка! Не той обліковий запис!";
|
||||
|
||||
/* companion.py: Generic error prefix - following text is from Frontier auth service; In files: companion.py:414; companion.py:499; */
|
||||
"Error" = "Помилка";
|
||||
|
||||
/* companion.py: Frontier auth, no 'usr' section in returned data; companion.py: Frontier auth, no 'customer_id' in 'usr' section in returned data; In files: companion.py:457; companion.py:462; */
|
||||
"Error: Couldn't check token customer_id" = "Помилка: Не вдалося перевірити токен customer_id";
|
||||
|
||||
/* companion.py: Frontier auth customer_id doesn't match game session FID; In files: companion.py:468; */
|
||||
"Error: customer_id doesn't match!" = "Error: customer_id не співпадає!";
|
||||
|
||||
/* companion.py: Failed to get Access Token from Frontier Auth service; In files: companion.py:490; */
|
||||
"Error: unable to get token" = "Помилка: не вдалося отримати токен";
|
||||
|
||||
/* l10n.py: The system default language choice in Settings > Appearance; prefs.py: Settings > Configuration - Label on 'reset journal files location to default' button; prefs.py: The system default language choice in Settings > Appearance; prefs.py: Label for 'Default' theme radio button; In files: l10n.py:194; prefs.py:468; prefs.py:702; prefs.py:735; */
|
||||
"Default" = "Стандартне налаштування";
|
||||
|
||||
/* eddn.py: Status text shown while attempting to send data; In files: eddn.py:215; eddn.py:619; eddn.py:969; */
|
||||
"Sending data to EDDN..." = "Відправка даних до EDDN...";
|
||||
|
||||
/* eddn.py: Error while trying to send data to EDDN; In files: eddn.py:264; eddn.py:907; eddn.py:942; eddn.py:981; */
|
||||
"Error: Can't connect to EDDN" = "Помилка: Немає зв'язку з EDDN!";
|
||||
|
||||
/* eddn.py: Enable EDDN support for station data checkbox label; In files: eddn.py:699; */
|
||||
"Send station data to the Elite Dangerous Data Network" = "Надсилати дані станцій до Elite Dangerous Data Network";
|
||||
|
||||
/* eddn.py: Enable EDDN support for system and other scan data checkbox label; In files: eddn.py:710; */
|
||||
"Send system and scan data to the Elite Dangerous Data Network" = "Відправляти систему і результати сканування в Elite Dangerous Data Network";
|
||||
|
||||
/* eddn.py: EDDN delay sending until docked option is on, this message notes that a send was skipped due to this; In files: eddn.py:721; */
|
||||
"Delay sending until docked" = "Відкласти відправку даних до стикування";
|
||||
|
||||
/* edsm.py: Settings>EDSM - Label on checkbox for 'send data'; In files: edsm.py:198; */
|
||||
"Send flight log and Cmdr status to EDSM" = "Відправляти дані бортового журналу до EDSM";
|
||||
|
||||
/* edsm.py: Settings>EDSM - Label on header/URL to EDSM API key page; In files: edsm.py:208; */
|
||||
"Elite Dangerous Star Map credentials" = "Дані Elite Dangerous Star Map";
|
||||
|
||||
/* edsm.py: EDSM Commander name label in EDSM settings; In files: edsm.py:227; */
|
||||
"Commander Name" = "Ім`я пілота";
|
||||
|
||||
/* edsm.py: EDSM API key label; inara.py: Inara API key label; In files: edsm.py:235; inara.py:237; */
|
||||
"API Key" = "API Ключ";
|
||||
|
||||
/* edsm.py: We have no data on the current commander; prefs.py: No hotkey/shortcut set; stats.py: No rank; In files: edsm.py:262; prefs.py:518; prefs.py:1156; prefs.py:1189; stats.py:117; stats.py:136; stats.py:155; stats.py:172; */
|
||||
"None" = "Нічого";
|
||||
|
||||
/* edsm.py: EDSM Plugin - Error message from EDSM API; In files: edsm.py:640; edsm.py:745; */
|
||||
"Error: EDSM {MSG}" = "Помилка: EDSM {MSG}!";
|
||||
|
||||
/* edsm.py: EDSM Plugin - Error connecting to EDSM API; In files: edsm.py:677; edsm.py:740; */
|
||||
"Error: Can't connect to EDSM" = "Помилка: Немає з`єднання з EDSM!";
|
||||
|
||||
/* inara.py: Checkbox to enable INARA API Usage; In files: inara.py:216; */
|
||||
"Send flight log and Cmdr status to Inara" = "Відправляти дані бортового журналу до Inara";
|
||||
|
||||
/* inara.py: Text for INARA API keys link ( goes to https://inara.cz/settings-api ); In files: inara.py:228; */
|
||||
"Inara credentials" = "Обліковий запис Inara";
|
||||
|
||||
|
||||
/* Raised when the Companion API server thinks that the user has not purchased E:D. i.e. doesn't have the correct 'SKU'. [companion.py] */
|
||||
"Error: Frontier server SKU problem" = "Помилка! Проблема SKU сервера Frontier";
|
||||
/* inara.py: INARA API returned some kind of error (error message will be contained in {MSG}); In files: inara.py:1549; inara.py:1562; */
|
||||
"Error: Inara {MSG}" = "Помилка: Inara {MSG}";
|
||||
|
||||
/* prefs.py: File > Preferences menu entry for macOS; In files: prefs.py:250; */
|
||||
/* prefs.py: File > Preferences menu entry for macOS; In files: prefs.py:251; */
|
||||
"Preferences" = "Уподобання";
|
||||
|
||||
/* prefs.py: Settings > Output - choosing what data to save to files; In files: prefs.py:346; */
|
||||
/* prefs.py: Settings > Output - choosing what data to save to files; In files: prefs.py:348; */
|
||||
"Please choose what data to save" = "Оберіть дані які буде збережено";
|
||||
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:352; */
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:354; */
|
||||
"Market data in CSV format file" = "Ринкові дані у форматі CSV файлу";
|
||||
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:361; */
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:363; */
|
||||
"Market data in Trade Dangerous format file" = "Ринкові дані у форматі Trade Dangerous файлу";
|
||||
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:371; */
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:373; */
|
||||
"Ship loadout" = "Технічні дані корабля";
|
||||
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:381; */
|
||||
/* prefs.py: Settings > Output option; In files: prefs.py:383; */
|
||||
"Automatically update on docking" = "Автоматичне оновлювання при стикуванні зі станцією";
|
||||
|
||||
/* prefs.py: Settings > Output - Label for "where files are located"; In files: prefs.py:390; prefs.py:409; */
|
||||
/* prefs.py: Settings > Output - Label for "where files are located"; In files: prefs.py:392; prefs.py:411; */
|
||||
"File location" = "Розташування файлу";
|
||||
|
||||
/* prefs.py: macOS Preferences - files location selection button; In files: prefs.py:398; prefs.py:448; */
|
||||
/* prefs.py: macOS Preferences - files location selection button; In files: prefs.py:400; prefs.py:450; */
|
||||
"Change..." = "Внесення змін...";
|
||||
|
||||
/* prefs.py: NOT-macOS Settings - files location selection button; prefs.py: NOT-macOS Setting - files location selection button; In files: prefs.py:401; prefs.py:451; */
|
||||
/* prefs.py: NOT-macOS Settings - files location selection button; prefs.py: NOT-macOS Setting - files location selection button; In files: prefs.py:403; prefs.py:453; */
|
||||
"Browse..." = "Перегляд...";
|
||||
|
||||
/* prefs.py: Label for 'Output' Settings/Preferences tab; In files: prefs.py:416; */
|
||||
/* prefs.py: Label for 'Output' Settings/Preferences tab; In files: prefs.py:418; */
|
||||
"Output" = "Вивід";
|
||||
|
||||
/* prefs.py: Settings > Configuration - Label for Journal files location; In files: prefs.py:442; prefs.py:457; */
|
||||
/* prefs.py: Settings > Configuration - Label for Journal files location; In files: prefs.py:444; prefs.py:459; */
|
||||
"E:D journal file location" = "Розташування файлу-журналу E:D";
|
||||
|
||||
/* prefs.py: Hotkey/Shortcut settings prompt on OSX; In files: prefs.py:482; */
|
||||
/* prefs.py: Hotkey/Shortcut settings prompt on OSX; In files: prefs.py:484; */
|
||||
"Keyboard shortcut" = "Сполучення клавіш";
|
||||
|
||||
/* prefs.py: Hotkey/Shortcut settings prompt on Windows; In files: prefs.py:484; */
|
||||
/* prefs.py: Hotkey/Shortcut settings prompt on Windows; In files: prefs.py:486; */
|
||||
"Hotkey" = "Гаряча клавіша";
|
||||
|
||||
/* prefs.py: macOS Preferences > Configuration - restart the app message; In files: prefs.py:493; */
|
||||
/* prefs.py: macOS Preferences > Configuration - restart the app message; In files: prefs.py:495; */
|
||||
"Re-start {APP} to use shortcuts" = "Перезавантажте {APP} для використання ярликів";
|
||||
|
||||
/* prefs.py: macOS - Configuration - need to grant the app permission for keyboard shortcuts; In files: prefs.py:502; */
|
||||
/* prefs.py: macOS - Configuration - need to grant the app permission for keyboard shortcuts; In files: prefs.py:504; */
|
||||
"{APP} needs permission to use shortcuts" = "{APP} необхідні дозволи для використання ярликів";
|
||||
|
||||
/* prefs.py: Shortcut settings button on OSX; In files: prefs.py:507; */
|
||||
/* prefs.py: Shortcut settings button on OSX; In files: prefs.py:509; */
|
||||
"Open System Preferences" = "Відкрити налаштування системи";
|
||||
|
||||
/* prefs.py: Configuration - Act on hotkey only when ED is in foreground; In files: prefs.py:529; */
|
||||
/* prefs.py: Configuration - Act on hotkey only when ED is in foreground; In files: prefs.py:531; */
|
||||
"Only when Elite: Dangerous is the active app" = "Тільки тоді, коли Elite: Dangerous є активним додатком";
|
||||
|
||||
/* prefs.py: Configuration - play sound when hotkey used; In files: prefs.py:540; */
|
||||
/* prefs.py: Configuration - play sound when hotkey used; In files: prefs.py:542; */
|
||||
"Play sound" = "Грати звук";
|
||||
|
||||
/* prefs.py: Configuration - disable checks for app updates when in-game; In files: prefs.py:555; */
|
||||
/* prefs.py: Configuration - disable checks for app updates when in-game; In files: prefs.py:557; */
|
||||
"Disable Automatic Application Updates Check when in-game" = "Вимкнути автоматичні перевірки оновлення додатку, коли в грі";
|
||||
|
||||
/* prefs.py: Label for preferred shipyard, system and station 'providers'; In files: prefs.py:568; */
|
||||
/* prefs.py: Label for preferred shipyard, system and station 'providers'; In files: prefs.py:570; */
|
||||
"Preferred websites" = "Обрані веб-сайти";
|
||||
|
||||
/* prefs.py: Label for Shipyard provider selection; In files: prefs.py:579; */
|
||||
/* prefs.py: Label for Shipyard provider selection; In files: prefs.py:581; */
|
||||
"Shipyard" = "Корабельна верф";
|
||||
|
||||
/* prefs.py: Label for checkbox to utilise alternative Coriolis URL method; In files: prefs.py:591; */
|
||||
/* prefs.py: Label for checkbox to utilise alternative Coriolis URL method; In files: prefs.py:593; */
|
||||
"Use alternate URL method" = "Використовувати альтернативний URL-метод";
|
||||
|
||||
/* prefs.py: Configuration - Label for selection of Log Level; In files: prefs.py:644; */
|
||||
/* prefs.py: Configuration - Label for selection of Log Level; In files: prefs.py:646; */
|
||||
"Log Level" = "Рівень подробиць журналу";
|
||||
|
||||
/* prefs.py: Label for 'Configuration' tab in Settings; In files: prefs.py:672; */
|
||||
/* prefs.py: Label for 'Configuration' tab in Settings; In files: prefs.py:674; */
|
||||
"Configuration" = "Конфігурація";
|
||||
|
||||
/* prefs.py: Label for Settings > Appeareance > selection of 'normal' text colour; In files: prefs.py:685; */
|
||||
/* prefs.py: Preferences privacy tab title; In files: prefs.py:696; */
|
||||
"Privacy" = "Конфіденційність";
|
||||
|
||||
/* prefs.py: Label for Settings > Appeareance > selection of 'normal' text colour; In files: prefs.py:709; */
|
||||
"Normal text" = "Нормальний текст";
|
||||
|
||||
/* prefs.py: Label for Settings > Appeareance > selection of 'highlightes' text colour; In files: prefs.py:687; */
|
||||
/* prefs.py: Label for Settings > Appeareance > selection of 'highlightes' text colour; In files: prefs.py:711; */
|
||||
"Highlighted text" = "Виділений текст";
|
||||
|
||||
/* prefs.py: Appearance - Label for selection of application display language; In files: prefs.py:696; */
|
||||
/* prefs.py: Appearance - Label for selection of application display language; In files: prefs.py:720; */
|
||||
"Language" = "Мова";
|
||||
|
||||
/* prefs.py: Label for Settings > Appearance > Theme selection; In files: prefs.py:706; */
|
||||
/* prefs.py: Label for Settings > Appearance > Theme selection; In files: prefs.py:730; */
|
||||
"Theme" = "Тема";
|
||||
|
||||
/* prefs.py: Label for 'Dark' theme radio button; In files: prefs.py:717; */
|
||||
/* prefs.py: Label for 'Dark' theme radio button; In files: prefs.py:741; */
|
||||
"Dark" = "Темний";
|
||||
|
||||
/* prefs.py: Label for 'Transparent' theme radio button; In files: prefs.py:724; */
|
||||
/* prefs.py: Label for 'Transparent' theme radio button; In files: prefs.py:748; */
|
||||
"Transparent" = "Прозора";
|
||||
|
||||
/* prefs.py: Appearance - Label for selection of UI scaling; In files: prefs.py:770; */
|
||||
/* prefs.py: Appearance - Label for selection of UI scaling; In files: prefs.py:794; */
|
||||
"UI Scale Percentage" = "Відсоток шкали інтерфейсу користувача";
|
||||
|
||||
/* prefs.py: Appearance - Help/hint text for UI scaling selection; In files: prefs.py:791; */
|
||||
/* prefs.py: Appearance - Help/hint text for UI scaling selection; In files: prefs.py:815; */
|
||||
"100 means Default{CR}Restart Required for{CR}changes to take effect!" = "100 означає, що {CR} потрібно перезапустити за замовчуванням, щоб зміни вступили в силу {CR}!";
|
||||
|
||||
/* prefs.py: Appearance - Label for selection of main window transparency; In files: prefs.py:801; */
|
||||
/* prefs.py: Appearance - Label for selection of main window transparency; In files: prefs.py:825; */
|
||||
"Main window transparency" = "Прозорість головного вікна";
|
||||
|
||||
/* prefs.py: Appearance - Help/hint text for Main window transparency selection; In files: prefs.py:821:824; */
|
||||
/* prefs.py: Appearance - Help/hint text for Main window transparency selection; In files: prefs.py:845:848; */
|
||||
"100 means fully opaque.{CR}Window is updated in real time" = "100 означає повністю непрозоре. {CR} Вікно буде оновлюватись в режимі реального часу";
|
||||
|
||||
/* prefs.py: Label for Settings > Appearance tab; In files: prefs.py:860; */
|
||||
/* prefs.py: Appearance option for Windows "minimize to system tray"; In files: prefs.py:877; */
|
||||
"Minimize to system tray" = "Згорнути програму";
|
||||
|
||||
/* prefs.py: Label for Settings > Appearance tab; In files: prefs.py:885; */
|
||||
"Appearance" = "Зовнішній вигляд";
|
||||
|
||||
/* prefs.py: Label for location of third-party plugins folder; In files: prefs.py:875; */
|
||||
/* prefs.py: Label for location of third-party plugins folder; In files: prefs.py:900; */
|
||||
"Plugins folder" = "Сховище плагінів";
|
||||
|
||||
/* prefs.py: Label on button used to open a filesystem folder; In files: prefs.py:882; */
|
||||
/* prefs.py: Label on button used to open a filesystem folder; In files: prefs.py:907; */
|
||||
"Open" = "Відкрити";
|
||||
|
||||
/* prefs.py: Tip/label about how to disable plugins; In files: prefs.py:890; */
|
||||
/* prefs.py: Tip/label about how to disable plugins; In files: prefs.py:915; */
|
||||
"Tip: You can disable a plugin by{CR}adding '{EXT}' to its folder name" = "Підказка: Ви можете відключити плагін через {CR} додання '{EXT}' до назви папки";
|
||||
|
||||
/* prefs.py: Label on list of enabled plugins; In files: prefs.py:901; */
|
||||
/* prefs.py: Label on list of enabled plugins; In files: prefs.py:926; */
|
||||
"Enabled Plugins" = "Увімкнені плагіни";
|
||||
|
||||
/* prefs.py: Plugins - Label for list of 'enabled' plugins that don't work with Python 3.x; In files: prefs.py:921; */
|
||||
/* prefs.py: Plugins - Label for list of 'enabled' plugins that don't work with Python 3.x; In files: prefs.py:946; */
|
||||
"Plugins Without Python 3.x Support:" = "Плагіни без підтримки Python 3.x:";
|
||||
|
||||
/* prefs.py: Plugins - Label on URL to documentation about migrating plugins from Python 2.7; In files: prefs.py:929; */
|
||||
/* prefs.py: Plugins - Label on URL to documentation about migrating plugins from Python 2.7; In files: prefs.py:954; */
|
||||
"Information on migrating plugins" = "Інформація про міграцію плагінів";
|
||||
|
||||
/* prefs.py: Lable on list of user-disabled plugins; In files: prefs.py:944; */
|
||||
/* prefs.py: Lable on list of user-disabled plugins; In files: prefs.py:969; */
|
||||
"Disabled Plugins" = "Вимкнені плагіни";
|
||||
|
||||
/* stats.py: Cmdr stats; In files: stats.py:51; */
|
||||
/* stats.py: Cmdr stats; In files: stats.py:60; */
|
||||
"Balance" = "Баланс";
|
||||
|
||||
/* stats.py: Cmdr stats; In files: stats.py:52; */
|
||||
/* stats.py: Cmdr stats; In files: stats.py:61; */
|
||||
"Loan" = "Борг";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:57; */
|
||||
"Combat" = "Бойовий";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:58; */
|
||||
"Trade" = "Торговий";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:59; */
|
||||
"Explorer" = "Дослідницький";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:60; */
|
||||
"CQC" = "Близький бій (CQC)";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:61; */
|
||||
"Federation" = "Федерація";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:62; */
|
||||
"Empire" = "Імперія";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:63; */
|
||||
"Powerplay" = "Змагання";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:71; */
|
||||
"Harmless" = "Безпечний";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:72; */
|
||||
"Mostly Harmless" = "Здебільшого Безпечний";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:73; */
|
||||
"Novice" = "Новачок";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:74; */
|
||||
"Competent" = "Компетентний";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:75; */
|
||||
"Expert" = "Експерт";
|
||||
|
||||
/* stats.py: Combat rank; stats.py: Empire rank; In files: stats.py:76; stats.py:139; */
|
||||
"Master" = "Майстер";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:77; */
|
||||
"Dangerous" = "Небезпечний";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:78; */
|
||||
"Deadly" = "Убивчий";
|
||||
|
||||
/* stats.py: Top rank; In files: stats.py:79; stats.py:90; stats.py:101; stats.py:112; */
|
||||
/* stats.py: Top rank; In files: stats.py:65; */
|
||||
"Elite" = "Еліта";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:82; */
|
||||
/* stats.py: Ranking; In files: stats.py:76; */
|
||||
"Combat" = "Бойовий";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:77; */
|
||||
"Trade" = "Торговий";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:78; */
|
||||
"Explorer" = "Дослідницький";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:81; */
|
||||
"CQC" = "Близький бій (CQC)";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:82; */
|
||||
"Federation" = "Федерація";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:83; */
|
||||
"Empire" = "Імперія";
|
||||
|
||||
/* stats.py: Ranking; In files: stats.py:84; */
|
||||
"Powerplay" = "Змагання";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:93; */
|
||||
"Harmless" = "Безпечний";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:94; */
|
||||
"Mostly Harmless" = "Здебільшого Безпечний";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:95; */
|
||||
"Novice" = "Новачок";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:96; */
|
||||
"Competent" = "Компетентний";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:97; */
|
||||
"Expert" = "Експерт";
|
||||
|
||||
/* stats.py: Combat rank; stats.py: Empire rank; In files: stats.py:98; stats.py:178; */
|
||||
"Master" = "Майстер";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:99; */
|
||||
"Dangerous" = "Небезпечний";
|
||||
|
||||
/* stats.py: Combat rank; In files: stats.py:100; */
|
||||
"Deadly" = "Убивчий";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:103; */
|
||||
"Penniless" = "Злидень";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:83; */
|
||||
/* stats.py: Trade rank; In files: stats.py:104; */
|
||||
"Mostly Penniless" = "Здебільшого Нужденний";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:84; */
|
||||
/* stats.py: Trade rank; In files: stats.py:105; */
|
||||
"Peddler" = "Штовхач";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:85; */
|
||||
/* stats.py: Trade rank; In files: stats.py:106; */
|
||||
"Dealer" = "Дилер";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:86; */
|
||||
/* stats.py: Trade rank; In files: stats.py:107; */
|
||||
"Merchant" = "Торговець";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:87; */
|
||||
/* stats.py: Trade rank; In files: stats.py:108; */
|
||||
"Broker" = "Брокер";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:88; */
|
||||
/* stats.py: Trade rank; In files: stats.py:109; */
|
||||
"Entrepreneur" = "Підприємець";
|
||||
|
||||
/* stats.py: Trade rank; In files: stats.py:89; */
|
||||
/* stats.py: Trade rank; In files: stats.py:110; */
|
||||
"Tycoon" = "Магнат";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:93; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:113; */
|
||||
"Aimless" = "Безцільний";
|
||||
|
||||
|
||||
/* Appearance setting. [EDMarketConnector.py] */
|
||||
"Minimize to system tray" = "Згорнути програму";
|
||||
/* stats.py: Explorer rank; In files: stats.py:94; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:114; */
|
||||
"Mostly Aimless" = "Здебільшого Безцільний";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:95; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:115; */
|
||||
"Scout" = "Розвідник";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:96; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:116; */
|
||||
"Surveyor" = "Геодезист";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:97; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:117; */
|
||||
"Trailblazer" = "Новатор";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:98; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:118; */
|
||||
"Pathfinder" = "Слідопит";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:99; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:119; */
|
||||
"Ranger" = "Рейнджер";
|
||||
|
||||
/* stats.py: Explorer rank; In files: stats.py:100; */
|
||||
/* stats.py: Explorer rank; In files: stats.py:120; */
|
||||
"Pioneer" = "Піонер";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:104; */
|
||||
/* stats.py: CQC rank; In files: stats.py:144; */
|
||||
"Helpless" = "Безпорадний";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:105; */
|
||||
/* stats.py: CQC rank; In files: stats.py:145; */
|
||||
"Mostly Helpless" = "Здебільшого Безпомічний";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:106; */
|
||||
/* stats.py: CQC rank; In files: stats.py:146; */
|
||||
"Amateur" = "Аматор";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:107; */
|
||||
/* stats.py: CQC rank; In files: stats.py:147; */
|
||||
"Semi Professional" = "Напів-професійний";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:108; */
|
||||
/* stats.py: CQC rank; In files: stats.py:148; */
|
||||
"Professional" = "Професійний";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:109; */
|
||||
/* stats.py: CQC rank; In files: stats.py:149; */
|
||||
"Champion" = "Чемпіон";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:110; */
|
||||
/* stats.py: CQC rank; In files: stats.py:150; */
|
||||
"Hero" = "Герой";
|
||||
|
||||
/* stats.py: CQC rank; In files: stats.py:111; */
|
||||
/* stats.py: CQC rank; In files: stats.py:151; */
|
||||
"Gladiator" = "Гладіатор";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:118; */
|
||||
/* stats.py: Federation rank; In files: stats.py:157; */
|
||||
"Recruit" = "Рекрут";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:119; */
|
||||
/* stats.py: Federation rank; In files: stats.py:158; */
|
||||
"Cadet" = "Кадет";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:120; */
|
||||
/* stats.py: Federation rank; In files: stats.py:159; */
|
||||
"Midshipman" = "Гардемарин";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:121; */
|
||||
/* stats.py: Federation rank; In files: stats.py:160; */
|
||||
"Petty Officer" = "Унтер Офіцер";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:122; */
|
||||
/* stats.py: Federation rank; In files: stats.py:161; */
|
||||
"Chief Petty Officer" = "Старший Унтер Офіцер";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:123; */
|
||||
/* stats.py: Federation rank; In files: stats.py:162; */
|
||||
"Warrant Officer" = "Старший сержант";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:124; */
|
||||
/* stats.py: Federation rank; In files: stats.py:163; */
|
||||
"Ensign" = "Прапорщик";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:125; */
|
||||
/* stats.py: Federation rank; In files: stats.py:164; */
|
||||
"Lieutenant" = "Лейтенант";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:126; */
|
||||
/* stats.py: Federation rank; In files: stats.py:165; */
|
||||
"Lieutenant Commander" = "Капітан III рангу";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:127; */
|
||||
/* stats.py: Federation rank; In files: stats.py:166; */
|
||||
"Post Commander" = "Капітан II рангу";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:128; */
|
||||
/* stats.py: Federation rank; In files: stats.py:167; */
|
||||
"Post Captain" = "Капітан I рангу";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:129; */
|
||||
/* stats.py: Federation rank; In files: stats.py:168; */
|
||||
"Rear Admiral" = "Контр-адмірал";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:130; */
|
||||
/* stats.py: Federation rank; In files: stats.py:169; */
|
||||
"Vice Admiral" = "Віце-адмірал";
|
||||
|
||||
/* stats.py: Federation rank; In files: stats.py:131; */
|
||||
/* stats.py: Federation rank; In files: stats.py:170; */
|
||||
"Admiral" = "Адмірал";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:137; */
|
||||
/* stats.py: Empire rank; In files: stats.py:176; */
|
||||
"Outsider" = "Чужинець";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:138; */
|
||||
/* stats.py: Empire rank; In files: stats.py:177; */
|
||||
"Serf" = "Кріпак";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:140; */
|
||||
/* stats.py: Empire rank; In files: stats.py:179; */
|
||||
"Squire" = "Зброєносець";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:141; */
|
||||
/* stats.py: Empire rank; In files: stats.py:180; */
|
||||
"Knight" = "Лицар";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:142; */
|
||||
/* stats.py: Empire rank; In files: stats.py:181; */
|
||||
"Lord" = "Пан";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:143; */
|
||||
/* stats.py: Empire rank; In files: stats.py:182; */
|
||||
"Baron" = "Барон";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:144; */
|
||||
/* stats.py: Empire rank; In files: stats.py:183; */
|
||||
"Viscount" = "Віконт";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:145; */
|
||||
/* stats.py: Empire rank; In files: stats.py:184; */
|
||||
"Count" = "Граф";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:146; */
|
||||
/* stats.py: Empire rank; In files: stats.py:185; */
|
||||
"Earl" = "Дворянин";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:147; */
|
||||
/* stats.py: Empire rank; In files: stats.py:186; */
|
||||
"Marquis" = "Маркіз";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:148; */
|
||||
/* stats.py: Empire rank; In files: stats.py:187; */
|
||||
"Duke" = "Герцог";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:149; */
|
||||
/* stats.py: Empire rank; In files: stats.py:188; */
|
||||
"Prince" = "Принц";
|
||||
|
||||
/* stats.py: Empire rank; In files: stats.py:150; */
|
||||
/* stats.py: Empire rank; In files: stats.py:189; */
|
||||
"King" = "Цар";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:156; */
|
||||
/* stats.py: Power rank; In files: stats.py:195; */
|
||||
"Rating 1" = "Рейтинг 1";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:157; */
|
||||
/* stats.py: Power rank; In files: stats.py:196; */
|
||||
"Rating 2" = "Рейтинг 2";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:158; */
|
||||
/* stats.py: Power rank; In files: stats.py:197; */
|
||||
"Rating 3" = "Рейтинг 3";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:159; */
|
||||
/* stats.py: Power rank; In files: stats.py:198; */
|
||||
"Rating 4" = "Рейтинг 4";
|
||||
|
||||
/* stats.py: Power rank; In files: stats.py:160; */
|
||||
/* stats.py: Power rank; In files: stats.py:199; */
|
||||
"Rating 5" = "Рейтинг 5";
|
||||
|
||||
/* stats.py: Status dialog subtitle - CR value of ship; In files: stats.py:367; */
|
||||
/* stats.py: Status dialog subtitle - CR value of ship; In files: stats.py:413; */
|
||||
"Value" = "Вартість";
|
||||
|
||||
/* stats.py: Status dialog title; In files: stats.py:376; */
|
||||
/* stats.py: Status dialog title; In files: stats.py:422; */
|
||||
"Ships" = "Кораблі";
|
||||
+488
-388
File diff suppressed because it is too large.
Load diff
+35
-12
@@ -38,6 +38,8 @@ Please be sure to read the [Avoiding potential pitfalls](#avoiding-potential-pit
|
||||
section, else you might inadvertently cause issues for the core
|
||||
EDMarketConnector code including whole application crashes.
|
||||
|
||||
## Being aware of core application changes
|
||||
|
||||
It is highly advisable to ensure you are aware of all EDMarketConnector
|
||||
releases, including the pre-releases. The -beta and -rc changelogs will
|
||||
contain valuable information about any forthcoming changes that affect plugins.
|
||||
@@ -55,6 +57,11 @@ The easiest way is:
|
||||
And, of course, either ensure you check your GitHub messages regularly, or
|
||||
have it set up to email you such notifications.
|
||||
|
||||
You should also keep an eye on [our GitHub Discussions](https://github.com/EDCD/EDMarketConnector/discussions)
|
||||
in case there are any proposed changes to EDMC plugin functionality. You can
|
||||
do this by ensuring 'Discussions' is also ticked when following the steps
|
||||
above to set up a 'Custom' watch on this repository.
|
||||
|
||||
---
|
||||
|
||||
## Examples
|
||||
@@ -86,9 +93,16 @@ from the original files unless specified as allowed in this section.
|
||||
|
||||
`import plug` - For using `plug.show_error()` only.
|
||||
|
||||
`from monitor import game_running` - in case a plugin needs to know if we
|
||||
Use `monitor.game_running()` as follows in case a plugin needs to know if we
|
||||
think the game is running. *NB: This is a function, and should be called as
|
||||
such. Using the bare word `game_running` will always be `True`.*
|
||||
|
||||
```
|
||||
from monitor import monitor
|
||||
...
|
||||
if monitor.game_running():
|
||||
...
|
||||
```
|
||||
|
||||
`import timeout_session` - provides a method called `new_session` that creates
|
||||
a requests.session with a default timeout on all requests. Recommended to
|
||||
@@ -326,7 +340,7 @@ should treat it as a variable.
|
||||
```python
|
||||
from config import config
|
||||
|
||||
if config.shutting_down:
|
||||
if config.shutting_down():
|
||||
# During shutdown
|
||||
```
|
||||
|
||||
@@ -336,9 +350,9 @@ this context you're testing if the function exists, and that is always True.
|
||||
So instead use:
|
||||
|
||||
```python
|
||||
from config import shutting_down
|
||||
from config import config
|
||||
|
||||
if shutting_down:
|
||||
if config.shutting_down:
|
||||
# During shutdown
|
||||
```
|
||||
|
||||
@@ -659,13 +673,12 @@ New in version 5.0.1:
|
||||
`Odyssey` boolean based on the presence of such a flag in the `LoadGame`
|
||||
event. Defaults to `False`, i.e. if no such key in the event.
|
||||
|
||||
The previously undocumented`Horizons` boolean is similarly from `LoadGame`,
|
||||
but blindly retrieves the value rather than having a strict default. There's
|
||||
The previously undocumented `Horizons` boolean is similarly from `LoadGame`,
|
||||
but blindly retrieves the value rather than having a strict default. There'd
|
||||
be an exception if it wasn't there, and the value would be `None`. Note that
|
||||
this is **NOT** the same as the return from
|
||||
[plugins/eddn.py:is_horizons()](./plugins/eddn.py). That function is necessary
|
||||
because CAPI data doesn't (didn't always?) have an indication of Horizons or
|
||||
not.
|
||||
[plugins/eddn.py:capi_is_horizons()](./plugins/eddn.py). That function is
|
||||
necessary because CAPI data doesn't have a simple indication of Horizons-ness.
|
||||
|
||||
New in version 5.0.3:
|
||||
|
||||
@@ -1008,9 +1021,19 @@ well as the `__pycache__` directory.
|
||||
|
||||
## Packaging extra modules
|
||||
EDMarketConnector's Windows installs only package a minimal set of modules.
|
||||
All of the 'stdlib' of Python is provided, plus any modules the core
|
||||
application code uses and a small number of additional modules for the
|
||||
use of plugins. See
|
||||
|
||||
Any modules the core application code uses will naturally be packaged, and
|
||||
we explicitly include a small number of additional modules for the use of
|
||||
plugins.
|
||||
|
||||
Whilst we would like to make all of the `stdlib` of Python available it is
|
||||
not automatically packaged into our releases by py2exe. We hope to address
|
||||
this in the 5.3 release series. In the meantime, if there's anything
|
||||
missing that you'd like to use, please ask. Yes, this very much means you
|
||||
need to test your plugins against a Windows installation of the application
|
||||
to be sure it will work.
|
||||
|
||||
See
|
||||
[Plugins:Available imports](https://github.com/EDCD/EDMarketConnector/blob/main/PLUGINS.md#available-imports)
|
||||
for a list.
|
||||
|
||||
|
||||
+18
-5
@@ -1,9 +1,21 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Collate lists of seen commodities, modules and ships from dumps of the Companion API output."""
|
||||
"""
|
||||
Collate lists of seen commodities, modules and ships from dumps of the Companion API output.
|
||||
|
||||
Note that currently this will only work with the output files created if you
|
||||
run the main program from a working directory that has a `dump/` directory,
|
||||
which causes a file to be written per CAPI query.
|
||||
|
||||
This script also utilise the file outfitting.csv. As it both reads it in *and*
|
||||
writes out a new copy a local copy, in the root of the project structure, is
|
||||
used for this purpose. If you want to utilise the FDevIDs/ version of the
|
||||
file, copy it over the local one.
|
||||
"""
|
||||
|
||||
import csv
|
||||
import json
|
||||
import os
|
||||
import pathlib
|
||||
import sys
|
||||
from os.path import isfile
|
||||
from traceback import print_exc
|
||||
@@ -13,14 +25,14 @@ import outfitting
|
||||
from edmc_data import companion_category_map, ship_name_map
|
||||
|
||||
|
||||
def __make_backup(file_name: str, suffix: str = '.bak') -> None:
|
||||
def __make_backup(file_name: pathlib.Path, suffix: str = '.bak') -> None:
|
||||
"""
|
||||
Rename the given file to $file.bak, removing any existing $file.bak. Assumes $file exists on disk.
|
||||
|
||||
:param file_name: The name of the file to make a backup of
|
||||
:param suffix: The suffix to use for backup files (default '.bak')
|
||||
"""
|
||||
backup_name = file_name + suffix
|
||||
backup_name = file_name.parent / (file_name.name + suffix)
|
||||
|
||||
if isfile(backup_name):
|
||||
os.unlink(backup_name)
|
||||
@@ -38,7 +50,7 @@ def addcommodities(data) -> None: # noqa: CCR001
|
||||
if not data['lastStarport'].get('commodities'):
|
||||
return
|
||||
|
||||
commodityfile = 'commodity.csv'
|
||||
commodityfile = pathlib.Path('FDevIDs/commodity.csv')
|
||||
commodities = {}
|
||||
|
||||
# slurp existing
|
||||
@@ -149,7 +161,7 @@ def addships(data) -> None: # noqa: CCR001
|
||||
if not data['lastStarport'].get('ships'):
|
||||
return
|
||||
|
||||
shipfile = 'shipyard.csv'
|
||||
shipfile = pathlib.Path('shipyard.csv')
|
||||
ships = {}
|
||||
fields = ('id', 'symbol', 'name')
|
||||
|
||||
@@ -209,6 +221,7 @@ if __name__ == "__main__":
|
||||
with open(file_name) as f:
|
||||
print(file_name)
|
||||
data = json.load(f)
|
||||
data = data['data']
|
||||
|
||||
if not data['commander'].get('docked'):
|
||||
print('Not docked!')
|
||||
|
||||
-220
@@ -1,220 +0,0 @@
|
||||
id,symbol,category,name
|
||||
128049152,Platinum,Metals,Platinum
|
||||
128049153,Palladium,Metals,Palladium
|
||||
128049154,Gold,Metals,Gold
|
||||
128049155,Silver,Metals,Silver
|
||||
128049156,Bertrandite,Minerals,Bertrandite
|
||||
128049157,Indite,Minerals,Indite
|
||||
128049158,Gallite,Minerals,Gallite
|
||||
128049159,Coltan,Minerals,Coltan
|
||||
128049160,Uraninite,Minerals,Uraninite
|
||||
128049161,Lepidolite,Minerals,Lepidolite
|
||||
128049162,Cobalt,Metals,Cobalt
|
||||
128049163,Rutile,Minerals,Rutile
|
||||
128049165,Bauxite,Minerals,Bauxite
|
||||
128049166,Water,Chemicals,Water
|
||||
128049168,Beryllium,Metals,Beryllium
|
||||
128049169,Indium,Metals,Indium
|
||||
128049170,Gallium,Metals,Gallium
|
||||
128049171,Tantalum,Metals,Tantalum
|
||||
128049172,Uranium,Metals,Uranium
|
||||
128049173,Lithium,Metals,Lithium
|
||||
128049174,Titanium,Metals,Titanium
|
||||
128049175,Copper,Metals,Copper
|
||||
128049176,Aluminium,Metals,Aluminium
|
||||
128049177,Algae,Foods,Algae
|
||||
128049178,FruitAndVegetables,Foods,Fruit and Vegetables
|
||||
128049180,Grain,Foods,Grain
|
||||
128049182,Animalmeat,Foods,Animal Meat
|
||||
128049183,Fish,Foods,Fish
|
||||
128049184,FoodCartridges,Foods,Food Cartridges
|
||||
128049185,SyntheticMeat,Foods,Synthetic Meat
|
||||
128049188,Tea,Foods,Tea
|
||||
128049189,Coffee,Foods,Coffee
|
||||
128049190,Leather,Textiles,Leather
|
||||
128049191,NaturalFabrics,Textiles,Natural Fabrics
|
||||
128049193,SyntheticFabrics,Textiles,Synthetic Fabrics
|
||||
128049197,Polymers,Industrial Materials,Polymers
|
||||
128049199,Semiconductors,Industrial Materials,Semiconductors
|
||||
128049200,Superconductors,Industrial Materials,Superconductors
|
||||
128049202,HydrogenFuel,Chemicals,Hydrogen Fuel
|
||||
128049203,MineralOil,Chemicals,Mineral Oil
|
||||
128049204,Explosives,Chemicals,Explosives
|
||||
128049205,Pesticides,Chemicals,Pesticides
|
||||
128049208,AgriculturalMedicines,Medicines,Agri-Medicines
|
||||
128049209,PerformanceEnhancers,Medicines,Performance Enhancers
|
||||
128049210,BasicMedicines,Medicines,Basic Medicines
|
||||
128049212,BasicNarcotics,Legal Drugs,Narcotics
|
||||
128049213,Tobacco,Legal Drugs,Tobacco
|
||||
128049214,Beer,Legal Drugs,Beer
|
||||
128049215,Wine,Legal Drugs,Wine
|
||||
128049216,Liquor,Legal Drugs,Liquor
|
||||
128049217,PowerGenerators,Machinery,Power Generators
|
||||
128049218,WaterPurifiers,Machinery,Water Purifiers
|
||||
128049220,HeliostaticFurnaces,Machinery,Microbial Furnaces
|
||||
128049221,MineralExtractors,Machinery,Mineral Extractors
|
||||
128049222,CropHarvesters,Machinery,Crop Harvesters
|
||||
128049223,MarineSupplies,Machinery,Marine Equipment
|
||||
128049225,ComputerComponents,Technology,Computer Components
|
||||
128049226,HazardousEnvironmentSuits,Technology,H.E. Suits
|
||||
128049227,Robotics,Technology,Robotics
|
||||
128049228,AutoFabricators,Technology,Auto-Fabricators
|
||||
128049229,AnimalMonitors,Technology,Animal Monitors
|
||||
128049230,AquaponicSystems,Technology,Aquaponic Systems
|
||||
128049231,AdvancedCatalysers,Technology,Advanced Catalysers
|
||||
128049232,TerrainEnrichmentSystems,Technology,Land Enrichment Systems
|
||||
128049233,PersonalWeapons,Weapons,Personal Weapons
|
||||
128049234,BattleWeapons,Weapons,Battle Weapons
|
||||
128049235,ReactiveArmour,Weapons,Reactive Armour
|
||||
128049236,NonLethalWeapons,Weapons,Non-Lethal Weapons
|
||||
128049238,DomesticAppliances,Consumer Items,Domestic Appliances
|
||||
128049240,ConsumerTechnology,Consumer Items,Consumer Technology
|
||||
128049241,Clothing,Consumer Items,Clothing
|
||||
128049243,Slaves,Slavery,Slaves
|
||||
128049244,Biowaste,Waste,Biowaste
|
||||
128049245,ToxicWaste,Waste,Toxic Waste
|
||||
128049246,ChemicalWaste,Waste,Chemical Waste
|
||||
128049248,Scrap,Waste,Scrap
|
||||
128049669,ProgenitorCells,Medicines,Progenitor Cells
|
||||
128049670,CombatStabilisers,Medicines,Combat Stabilisers
|
||||
128049671,ResonatingSeparators,Technology,Resonating Separators
|
||||
128049672,BioReducingLichen,Technology,Bioreducing Lichen
|
||||
128064028,AtmosphericExtractors,Machinery,Atmospheric Processors
|
||||
128066403,Drones,NonMarketable,Limpets
|
||||
128666752,USSCargoBlackBox,Salvage,Black Box
|
||||
128666754,USSCargoTradeData,Salvage,Trade Data
|
||||
128666755,USSCargoMilitaryPlans,Salvage,Military Plans
|
||||
128666756,USSCargoAncientArtefact,Salvage,Ancient Artefact
|
||||
128666757,USSCargoRareArtwork,Salvage,Rare Artwork
|
||||
128666758,USSCargoExperimentalChemicals,Salvage,Experimental Chemicals
|
||||
128666759,USSCargoRebelTransmissions,Salvage,Rebel Transmissions
|
||||
128666760,USSCargoPrototypeTech,Salvage,Prototype Tech
|
||||
128666761,USSCargoTechnicalBlueprints,Salvage,Technical Blueprints
|
||||
128667728,ImperialSlaves,Slavery,Imperial Slaves
|
||||
128668547,UnknownArtifact,Salvage,Thargoid Sensor
|
||||
128668548,AiRelics,Salvage,AI Relics
|
||||
128668549,Hafnium178,Metals,Hafnium 178
|
||||
128668550,Painite,Minerals,Painite
|
||||
128668551,Antiquities,Salvage,Antiquities
|
||||
128668552,MilitaryIntelligence,Salvage,Military Intelligence
|
||||
128671118,Osmium,Metals,Osmium
|
||||
128671443,SAP8CoreContainer,Salvage,SAP 8 Core Container
|
||||
128671444,TrinketsOfFortune,Consumer Items,Trinkets of Hidden Fortune
|
||||
128672123,WreckageComponents,Salvage,Wreckage Components
|
||||
128672124,EncriptedDataStorage,Salvage,Encrypted Data Storage
|
||||
128672125,OccupiedCryoPod,Salvage,Occupied Escape Pod
|
||||
128672126,PersonalEffects,Salvage,Personal Effects
|
||||
128672127,ComercialSamples,Salvage,Commercial Samples
|
||||
128672128,TacticalData,Salvage,Tactical Data
|
||||
128672129,AssaultPlans,Salvage,Assault Plans
|
||||
128672130,EncryptedCorrespondence,Salvage,Encrypted Correspondence
|
||||
128672131,DiplomaticBag,Salvage,Diplomatic Bag
|
||||
128672132,ScientificResearch,Salvage,Scientific Research
|
||||
128672133,ScientificSamples,Salvage,Scientific Samples
|
||||
128672134,PoliticalPrisoner,Salvage,Political Prisoners
|
||||
128672135,Hostage,Salvage,Hostages
|
||||
128672136,LargeExplorationDataCash,Salvage,Large Survey Data Cache
|
||||
128672137,SmallExplorationDataCash,Salvage,Small Survey Data Cache
|
||||
128672159,AntiqueJewellery,Salvage,Antique Jewellery
|
||||
128672160,PreciousGems,Salvage,Precious Gems
|
||||
128672161,EarthRelics,Salvage,Earth Relics
|
||||
128672162,GeneBank,Salvage,Gene Bank
|
||||
128672163,TimeCapsule,Salvage,Time Capsule
|
||||
128672294,Cryolite,Minerals,Cryolite
|
||||
128672295,Goslarite,Minerals,Goslarite
|
||||
128672296,Moissanite,Minerals,Moissanite
|
||||
128672297,Pyrophyllite,Minerals,Pyrophyllite
|
||||
128672298,Lanthanum,Metals,Lanthanum
|
||||
128672299,Thallium,Metals,Thallium
|
||||
128672300,Bismuth,Metals,Bismuth
|
||||
128672301,Thorium,Metals,Thorium
|
||||
128672302,CeramicComposites,Industrial Materials,Ceramic Composites
|
||||
128672303,SyntheticReagents,Chemicals,Synthetic Reagents
|
||||
128672304,NerveAgents,Chemicals,Nerve Agents
|
||||
128672305,SurfaceStabilisers,Chemicals,Surface Stabilisers
|
||||
128672306,BootlegLiquor,Legal Drugs,Bootleg Liquor
|
||||
128672307,GeologicalEquipment,Machinery,Geological Equipment
|
||||
128672308,ThermalCoolingUnits,Machinery,Thermal Cooling Units
|
||||
128672309,BuildingFabricators,Machinery,Building Fabricators
|
||||
128672310,MuTomImager,Technology,Muon Imager
|
||||
128672311,StructuralRegulators,Technology,Structural Regulators
|
||||
128672312,Landmines,Weapons,Landmines
|
||||
128672313,SkimerComponents,Machinery,Skimmer Components
|
||||
128672314,EvacuationShelter,Consumer Items,Evacuation Shelter
|
||||
128672315,GeologicalSamples,Salvage,Geological Samples
|
||||
128672701,MetaAlloys,Industrial Materials,Meta-Alloys
|
||||
128672775,Taaffeite,Minerals,Taaffeite
|
||||
128672776,Jadeite,Minerals,Jadeite
|
||||
128672810,UnstableDataCore,Salvage,Unstable Data Core
|
||||
128672811,DamagedEscapePod,Salvage,Damaged Escape Pod
|
||||
128673845,Praseodymium,Metals,Praseodymium
|
||||
128673846,Bromellite,Minerals,Bromellite
|
||||
128673847,Samarium,Metals,Samarium
|
||||
128673848,LowTemperatureDiamond,Minerals,Low Temperature Diamonds
|
||||
128673850,HydrogenPeroxide,Chemicals,Hydrogen Peroxide
|
||||
128673851,LiquidOxygen,Chemicals,Liquid oxygen
|
||||
128673852,MethanolMonohydrateCrystals,Minerals,Methanol Monohydrate Crystals
|
||||
128673853,LithiumHydroxide,Minerals,Lithium Hydroxide
|
||||
128673854,MethaneClathrate,Minerals,Methane Clathrate
|
||||
128673855,InsulatingMembrane,Industrial Materials,Insulating Membrane
|
||||
128673856,CMMComposite,Industrial Materials,CMM Composite
|
||||
128673857,CoolingHoses,Industrial Materials,Micro-weave Cooling Hoses
|
||||
128673858,NeofabricInsulation,Industrial Materials,Neofabric Insulation
|
||||
128673859,ArticulationMotors,Machinery,Articulation Motors
|
||||
128673860,HNShockMount,Machinery,HN Shock Mount
|
||||
128673861,EmergencyPowerCells,Machinery,Emergency Power Cells
|
||||
128673862,PowerConverter,Machinery,Power Converter
|
||||
128673863,PowerGridAssembly,Machinery,Energy Grid Assembly
|
||||
128673864,PowerTransferConduits,Machinery,Power Transfer Bus
|
||||
128673865,RadiationBaffle,Machinery,Radiation Baffle
|
||||
128673866,ExhaustManifold,Machinery,Exhaust Manifold
|
||||
128673867,ReinforcedMountingPlate,Machinery,Reinforced Mounting Plate
|
||||
128673868,HeatsinkInterlink,Machinery,Heatsink Interlink
|
||||
128673869,MagneticEmitterCoil,Machinery,Magnetic Emitter Coil
|
||||
128673870,ModularTerminals,Machinery,Modular Terminals
|
||||
128673871,Nanobreakers,Technology,Nanobreakers
|
||||
128673872,TelemetrySuite,Technology,Telemetry Suite
|
||||
128673873,MicroControllers,Technology,Micro Controllers
|
||||
128673874,IonDistributor,Machinery,Ion Distributor
|
||||
128673875,DiagnosticSensor,Technology,Hardware Diagnostic Sensor
|
||||
128673876,UnknownArtifact2,Salvage,Thargoid Probe
|
||||
128682044,ConductiveFabrics,Textiles,Conductive Fabrics
|
||||
128682045,MilitaryGradeFabrics,Textiles,Military Grade Fabrics
|
||||
128682046,AdvancedMedicines,Medicines,Advanced Medicines
|
||||
128682047,MedicalDiagnosticEquipment,Technology,Medical Diagnostic Equipment
|
||||
128682048,SurvivalEquipment,Consumer Items,Survival Equipment
|
||||
128682049,DataCore,Salvage,Data Core
|
||||
128682051,MysteriousIdol,Salvage,Mysterious Idol
|
||||
128682052,ProhibitedResearchMaterials,Salvage,Prohibited Research Materials
|
||||
128682053,AntimatterContainmentUnit,Salvage,Antimatter Containment Unit
|
||||
128682054,SpacePioneerRelics,Salvage,Space Pioneer Relics
|
||||
128682055,FossilRemnants,Salvage,Fossil Remnants
|
||||
128732183,AncientRelic,Salvage,Ancient Relic
|
||||
128732184,AncientOrb,Salvage,Ancient Orb
|
||||
128732185,AncientCasket,Salvage,Ancient Casket
|
||||
128732186,AncientTablet,Salvage,Ancient Tablet
|
||||
128732187,AncientUrn,Salvage,Ancient Urn
|
||||
128732188,AncientTotem,Salvage,Ancient Totem
|
||||
128737287,UnknownResin,Salvage,Thargoid Resin
|
||||
128737288,UnknownBiologicalMatter,Salvage,Thargoid Biological Matter
|
||||
128737289,UnknownTechnologySamples,Salvage,Thargoid Technology Samples
|
||||
128740752,UnknownArtifact3,Salvage,Thargoid Link
|
||||
128793127,ThargoidHeart,Salvage,Thargoid Heart
|
||||
128793128,ThargoidTissueSampleType1,Salvage,Thargoid Cyclops Tissue Sample
|
||||
128793129,ThargoidTissueSampleType2,Salvage,Thargoid Basilisk Tissue Sample
|
||||
128793130,ThargoidTissueSampleType3,Salvage,Thargoid Medusa Tissue Sample
|
||||
128824468,ThargoidScoutTissueSample,Salvage,Thargoid Scout Tissue Sample
|
||||
128888499,AncientKey,Salvage,Ancient Key
|
||||
128902652,ThargoidTissueSampleType4,Salvage,Thargoid Hydra Tissue Sample
|
||||
128913661,Nanomedicines,Medicines,Nanomedicines
|
||||
128922524,Duradrives,Consumer Items,Duradrives
|
||||
128924325,Rhodplumsite,Minerals,Rhodplumsite
|
||||
128924326,Serendibite,Minerals,Serendibite
|
||||
128924327,Monazite,Minerals,Monazite
|
||||
128924328,Musgravite,Minerals,Musgravite
|
||||
128924329,Benitoite,Minerals,Benitoite
|
||||
128924330,Grandidierite,Minerals,Grandidierite
|
||||
128924331,Alexandrite,Minerals,Alexandrite
|
||||
128924332,Opal,Minerals,Void Opal
|
||||
128924333,RockforthFertiliser,Chemicals,Rockforth Fertiliser
|
||||
128924334,AgronomicTreatment,Chemicals,Agronomic Treatment
|
||||
|
+463
-212
@@ -9,27 +9,30 @@ protocol used for the callback.
|
||||
import base64
|
||||
import collections
|
||||
import csv
|
||||
import datetime
|
||||
import hashlib
|
||||
import json
|
||||
import numbers
|
||||
import os
|
||||
import random
|
||||
import threading
|
||||
import time
|
||||
import tkinter as tk
|
||||
import urllib.parse
|
||||
import webbrowser
|
||||
from builtins import object, range, str
|
||||
from email.utils import parsedate
|
||||
from os.path import join
|
||||
from queue import Queue
|
||||
from typing import TYPE_CHECKING, Any, Dict, List, Mapping, Optional, OrderedDict, TypeVar, Union
|
||||
|
||||
import requests
|
||||
|
||||
import config as conf_module
|
||||
from config import appname, appversion, config
|
||||
import protocol
|
||||
from config import config, user_agent
|
||||
from edmc_data import companion_category_map as category_map
|
||||
from EDMCLogging import get_main_logger
|
||||
from monitor import monitor
|
||||
from protocol import protocolhandler
|
||||
|
||||
logger = get_main_logger()
|
||||
|
||||
@@ -44,26 +47,15 @@ else:
|
||||
# Define custom type for the dicts that hold CAPI data
|
||||
# CAPIData = NewType('CAPIData', Dict)
|
||||
|
||||
holdoff = 60 # be nice
|
||||
timeout = 10 # requests timeout
|
||||
capi_query_cooldown = 60 # Minimum time between (sets of) CAPI queries
|
||||
capi_default_requests_timeout = 10
|
||||
auth_timeout = 30 # timeout for initial auth
|
||||
|
||||
# Currently the "Elite Dangerous Market Connector (EDCD/Athanasius)" one in
|
||||
# Athanasius' Frontier account
|
||||
# Obtain from https://auth.frontierstore.net/client/signup
|
||||
CLIENT_ID = os.getenv('CLIENT_ID') or 'fb88d428-9110-475f-a3d2-dc151c2b9c7a'
|
||||
SERVER_AUTH = 'https://auth.frontierstore.net'
|
||||
URL_AUTH = '/auth'
|
||||
URL_TOKEN = '/token'
|
||||
URL_DECODE = '/decode'
|
||||
|
||||
USER_AGENT = f'EDCD-{appname}-{appversion()}'
|
||||
# Used by both class Auth and Session
|
||||
FRONTIER_AUTH_SERVER = 'https://auth.frontierstore.net'
|
||||
|
||||
SERVER_LIVE = 'https://companion.orerve.net'
|
||||
SERVER_BETA = 'https://pts-companion.orerve.net'
|
||||
URL_QUERY = '/profile'
|
||||
URL_MARKET = '/market'
|
||||
URL_SHIPYARD = '/shipyard'
|
||||
|
||||
commodity_map: Dict = {}
|
||||
|
||||
@@ -71,7 +63,10 @@ commodity_map: Dict = {}
|
||||
class CAPIData(UserDict):
|
||||
"""CAPI Response."""
|
||||
|
||||
def __init__(self, data: Union[str, Dict[str, Any], 'CAPIData', None] = None, source_endpoint: str = None) -> None:
|
||||
def __init__(
|
||||
self,
|
||||
data: Union[str, Dict[str, Any], 'CAPIData', None] = None, source_endpoint: str = None
|
||||
) -> None:
|
||||
if data is None:
|
||||
super().__init__()
|
||||
elif isinstance(data, str):
|
||||
@@ -86,7 +81,7 @@ class CAPIData(UserDict):
|
||||
if source_endpoint is None:
|
||||
return
|
||||
|
||||
if source_endpoint == URL_SHIPYARD and self.data.get('lastStarport'):
|
||||
if source_endpoint == Session.FRONTIER_CAPI_PATH_SHIPYARD and self.data.get('lastStarport'):
|
||||
# All the other endpoints may or may not have a lastStarport, but definitely wont have valid data
|
||||
# for this check, which means it'll just make noise for no reason while we're working on other things
|
||||
self.check_modules_ships()
|
||||
@@ -128,6 +123,57 @@ class CAPIData(UserDict):
|
||||
self.data['lastStarport']['ships'] = {'shipyard_list': {}, 'unavailable_list': []}
|
||||
|
||||
|
||||
class CAPIDataEncoder(json.JSONEncoder):
|
||||
"""Allow for json dumping via specified encoder."""
|
||||
|
||||
def default(self, o):
|
||||
"""Tell JSON encoder that we're actually just a dict."""
|
||||
return o.__dict__
|
||||
|
||||
|
||||
class CAPIDataRawEndpoint:
|
||||
"""Last received CAPI response for a specific endpoint."""
|
||||
|
||||
def __init__(self, raw_data: str, query_time: datetime.datetime):
|
||||
self.query_time = query_time
|
||||
self.raw_data = raw_data
|
||||
# TODO: Maybe requests.response status ?
|
||||
|
||||
|
||||
class CAPIDataRaw:
|
||||
"""The last obtained raw CAPI response for each endpoint."""
|
||||
|
||||
raw_data: Dict[str, CAPIDataRawEndpoint] = {}
|
||||
|
||||
def record_endpoint(
|
||||
self, endpoint: str,
|
||||
raw_data: str,
|
||||
query_time: datetime.datetime
|
||||
):
|
||||
"""Record the latest raw data for the given endpoint."""
|
||||
self.raw_data[endpoint] = CAPIDataRawEndpoint(raw_data, query_time)
|
||||
|
||||
def __str__(self):
|
||||
"""Return a more readable string form of the data."""
|
||||
capi_data_str = '{'
|
||||
for k, v in self.raw_data.items():
|
||||
capi_data_str += f'"{k}":\n{{\n\t"query_time": "{v.query_time}",\n\t' \
|
||||
f'"raw_data": {v.raw_data}\n}},\n\n'
|
||||
|
||||
capi_data_str = capi_data_str.removesuffix(',\n\n')
|
||||
capi_data_str += '\n\n}'
|
||||
|
||||
return capi_data_str
|
||||
|
||||
def __iter__(self):
|
||||
"""Make this iterable on its raw_data dict."""
|
||||
yield from self.raw_data
|
||||
|
||||
def __getitem__(self, item):
|
||||
"""Make the raw_data dict's items get'able."""
|
||||
return self.raw_data.__getitem__(item)
|
||||
|
||||
|
||||
def listify(thing: Union[List, Dict]) -> List:
|
||||
"""
|
||||
Convert actual JSON array or int-indexed dict into a Python list.
|
||||
@@ -217,6 +263,15 @@ class CredentialsError(Exception):
|
||||
self.args = (_('Error: Invalid Credentials'),)
|
||||
|
||||
|
||||
class CredentialsRequireRefresh(Exception):
|
||||
"""Exception Class for CAPI credentials requiring refresh."""
|
||||
|
||||
def __init__(self, *args) -> None:
|
||||
self.args = args
|
||||
if not args:
|
||||
self.args = ('CAPI: Requires refresh of Access Token',)
|
||||
|
||||
|
||||
class CmdrError(Exception):
|
||||
"""Exception Class for CAPI Commander error.
|
||||
|
||||
@@ -236,17 +291,26 @@ class CmdrError(Exception):
|
||||
class Auth(object):
|
||||
"""Handles authentication with the Frontier CAPI service via oAuth2."""
|
||||
|
||||
# Currently the "Elite Dangerous Market Connector (EDCD/Athanasius)" one in
|
||||
# Athanasius' Frontier account
|
||||
# Obtain from https://auth.frontierstore.net/client/signup
|
||||
CLIENT_ID = os.getenv('CLIENT_ID') or 'fb88d428-9110-475f-a3d2-dc151c2b9c7a'
|
||||
|
||||
FRONTIER_AUTH_PATH_AUTH = '/auth'
|
||||
FRONTIER_AUTH_PATH_TOKEN = '/token'
|
||||
FRONTIER_AUTH_PATH_DECODE = '/decode'
|
||||
|
||||
def __init__(self, cmdr: str) -> None:
|
||||
self.cmdr: str = cmdr
|
||||
self.session = requests.Session()
|
||||
self.session.headers['User-Agent'] = USER_AGENT
|
||||
self.requests_session = requests.Session()
|
||||
self.requests_session.headers['User-Agent'] = user_agent
|
||||
self.verifier: Union[bytes, None] = None
|
||||
self.state: Union[str, None] = None
|
||||
|
||||
def __del__(self) -> None:
|
||||
"""Ensure our Session is closed if we're being deleted."""
|
||||
if self.session:
|
||||
self.session.close()
|
||||
if self.requests_session:
|
||||
self.requests_session.close()
|
||||
|
||||
def refresh(self) -> Optional[str]:
|
||||
"""
|
||||
@@ -271,13 +335,18 @@ class Auth(object):
|
||||
logger.debug('We have a refresh token for that idx')
|
||||
data = {
|
||||
'grant_type': 'refresh_token',
|
||||
'client_id': CLIENT_ID,
|
||||
'client_id': self.CLIENT_ID,
|
||||
'refresh_token': tokens[idx],
|
||||
}
|
||||
|
||||
logger.debug('Attempting refresh with Frontier...')
|
||||
try:
|
||||
r = self.session.post(SERVER_AUTH + URL_TOKEN, data=data, timeout=auth_timeout)
|
||||
r: Optional[requests.Response] = None
|
||||
r = self.requests_session.post(
|
||||
FRONTIER_AUTH_SERVER + self.FRONTIER_AUTH_PATH_TOKEN,
|
||||
data=data,
|
||||
timeout=auth_timeout
|
||||
)
|
||||
if r.status_code == requests.codes.ok:
|
||||
data = r.json()
|
||||
tokens[idx] = data.get('refresh_token', '')
|
||||
@@ -290,9 +359,10 @@ class Auth(object):
|
||||
logger.error(f"Frontier CAPI Auth: Can't refresh token for \"{self.cmdr}\"")
|
||||
self.dump(r)
|
||||
|
||||
except (ValueError, requests.RequestException, ):
|
||||
logger.exception(f"Frontier CAPI Auth: Can't refresh token for \"{self.cmdr}\"")
|
||||
self.dump(r)
|
||||
except (ValueError, requests.RequestException, ) as e:
|
||||
logger.exception(f"Frontier CAPI Auth: Can't refresh token for \"{self.cmdr}\"\n{e!r}")
|
||||
if r is not None:
|
||||
self.dump(r)
|
||||
|
||||
else:
|
||||
logger.error(f"Frontier CAPI Auth: No token for \"{self.cmdr}\"")
|
||||
@@ -307,14 +377,14 @@ class Auth(object):
|
||||
logger.info(f'Trying auth from scratch for Commander "{self.cmdr}"')
|
||||
challenge = self.base64_url_encode(hashlib.sha256(self.verifier).digest())
|
||||
webbrowser.open(
|
||||
f'{SERVER_AUTH}{URL_AUTH}?response_type=code'
|
||||
f'{FRONTIER_AUTH_SERVER}{self.FRONTIER_AUTH_PATH_AUTH}?response_type=code'
|
||||
f'&audience=frontier,steam,epic'
|
||||
f'&scope=auth capi'
|
||||
f'&client_id={CLIENT_ID}'
|
||||
f'&client_id={self.CLIENT_ID}'
|
||||
f'&code_challenge={challenge}'
|
||||
f'&code_challenge_method=S256'
|
||||
f'&state={self.state}'
|
||||
f'&redirect_uri={protocolhandler.redirect}'
|
||||
f'&redirect_uri={protocol.protocolhandler.redirect}'
|
||||
)
|
||||
|
||||
return None
|
||||
@@ -348,10 +418,10 @@ class Auth(object):
|
||||
logger.debug('Got code, posting it back...')
|
||||
request_data = {
|
||||
'grant_type': 'authorization_code',
|
||||
'client_id': CLIENT_ID,
|
||||
'client_id': self.CLIENT_ID,
|
||||
'code_verifier': self.verifier,
|
||||
'code': data['code'][0],
|
||||
'redirect_uri': protocolhandler.redirect,
|
||||
'redirect_uri': protocol.protocolhandler.redirect,
|
||||
}
|
||||
|
||||
# import http.client as http_client
|
||||
@@ -361,12 +431,16 @@ class Auth(object):
|
||||
# requests_log.setLevel(logging.DEBUG)
|
||||
# requests_log.propagate = True
|
||||
|
||||
r = self.session.post(SERVER_AUTH + URL_TOKEN, data=request_data, timeout=auth_timeout)
|
||||
r = self.requests_session.post(
|
||||
FRONTIER_AUTH_SERVER + self.FRONTIER_AUTH_PATH_TOKEN,
|
||||
data=request_data,
|
||||
timeout=auth_timeout
|
||||
)
|
||||
data_token = r.json()
|
||||
if r.status_code == requests.codes.ok:
|
||||
# Now we need to /decode the token to check the customer_id against FID
|
||||
r = self.session.get(
|
||||
SERVER_AUTH + URL_DECODE,
|
||||
r = self.requests_session.get(
|
||||
FRONTIER_AUTH_SERVER + self.FRONTIER_AUTH_PATH_DECODE,
|
||||
headers={
|
||||
'Authorization': f'Bearer {data_token.get("access_token", "")}',
|
||||
'Content-Type': 'application/json',
|
||||
@@ -463,30 +537,127 @@ class Auth(object):
|
||||
return base64.urlsafe_b64encode(text).decode().replace('=', '')
|
||||
|
||||
|
||||
class EDMCCAPIReturn:
|
||||
"""Base class for Request, Failure or Response."""
|
||||
|
||||
def __init__(
|
||||
self, query_time: int, tk_response_event: Optional[str] = None,
|
||||
play_sound: bool = False, auto_update: bool = False
|
||||
):
|
||||
self.tk_response_event = tk_response_event # Name of tk event to generate when response queued.
|
||||
self.query_time: int = query_time # When this query is considered to have started (time_t).
|
||||
self.play_sound: bool = play_sound # Whether to play good/bad sounds for success/failure.
|
||||
self.auto_update: bool = auto_update # Whether this was automatically triggered.
|
||||
|
||||
|
||||
class EDMCCAPIRequest(EDMCCAPIReturn):
|
||||
"""Encapsulates a request for CAPI data."""
|
||||
|
||||
REQUEST_WORKER_SHUTDOWN = '__EDMC_WORKER_SHUTDOWN'
|
||||
|
||||
def __init__(
|
||||
self, endpoint: str, query_time: int,
|
||||
tk_response_event: Optional[str] = None,
|
||||
play_sound: bool = False, auto_update: bool = False
|
||||
):
|
||||
super().__init__(
|
||||
query_time=query_time, tk_response_event=tk_response_event,
|
||||
play_sound=play_sound, auto_update=auto_update
|
||||
)
|
||||
self.endpoint: str = endpoint # The CAPI query to perform.
|
||||
|
||||
|
||||
class EDMCCAPIResponse(EDMCCAPIReturn):
|
||||
"""Encapsulates a response from CAPI quer(y|ies)."""
|
||||
|
||||
def __init__(
|
||||
self, capi_data: CAPIData,
|
||||
query_time: int, play_sound: bool = False, auto_update: bool = False
|
||||
):
|
||||
super().__init__(query_time=query_time, play_sound=play_sound, auto_update=auto_update)
|
||||
self.capi_data: CAPIData = capi_data # Frontier CAPI response, possibly augmented (station query)
|
||||
|
||||
|
||||
class EDMCCAPIFailedRequest(EDMCCAPIReturn):
|
||||
"""CAPI failed query error class."""
|
||||
|
||||
def __init__(
|
||||
self, message: str,
|
||||
query_time: int, play_sound: bool = False, auto_update: bool = False,
|
||||
exception=None
|
||||
):
|
||||
super().__init__(query_time=query_time, play_sound=play_sound, auto_update=auto_update)
|
||||
self.message: str = message # User-friendly reason for failure.
|
||||
self.exception: int = exception # Exception that recipient should raise.
|
||||
|
||||
|
||||
class Session(object):
|
||||
"""Methods for handling an oAuth2 session."""
|
||||
"""Methods for handling Frontier Auth and CAPI queries."""
|
||||
|
||||
STATE_INIT, STATE_AUTH, STATE_OK = list(range(3))
|
||||
|
||||
FRONTIER_CAPI_PATH_PROFILE = '/profile'
|
||||
FRONTIER_CAPI_PATH_MARKET = '/market'
|
||||
FRONTIER_CAPI_PATH_SHIPYARD = '/shipyard'
|
||||
# This is a dummy value, to signal to Session.capi_query_worker that we
|
||||
# the 'station' triplet of queries.
|
||||
_CAPI_PATH_STATION = '_edmc_station'
|
||||
|
||||
def __init__(self) -> None:
|
||||
self.state = Session.STATE_INIT
|
||||
self.server: Optional[str] = None
|
||||
self.credentials: Optional[Dict[str, Any]] = None
|
||||
self.session: Optional[requests.Session] = None
|
||||
self.requests_session: Optional[requests.Session] = None
|
||||
self.auth: Optional[Auth] = None
|
||||
self.retrying = False # Avoid infinite loop when successful auth / unsuccessful query
|
||||
self.tk_master: Optional[tk.Tk] = None
|
||||
|
||||
def login(self, cmdr: str = None, is_beta: Union[None, bool] = None) -> bool:
|
||||
self.capi_raw_data = CAPIDataRaw() # Cache of raw replies from CAPI service
|
||||
# Queue that holds requests for CAPI queries, the items should always
|
||||
# be EDMCCAPIRequest objects.
|
||||
self.capi_request_queue: Queue[EDMCCAPIRequest] = Queue()
|
||||
# This queue is used to pass the result, possibly a failure, of CAPI
|
||||
# queries back to the requesting code (technically anything checking
|
||||
# this queue, but it should be either EDMarketConnector.AppWindow or
|
||||
# EDMC.py). Items may be EDMCCAPIResponse or EDMCCAPIFailedRequest.
|
||||
self.capi_response_queue: Queue[Union[EDMCCAPIResponse, EDMCCAPIFailedRequest]] = Queue()
|
||||
logger.debug('Starting CAPI queries thread...')
|
||||
self.capi_query_thread = threading.Thread(
|
||||
target=self.capi_query_worker,
|
||||
daemon=True,
|
||||
name='CAPI worker'
|
||||
)
|
||||
self.capi_query_thread.start()
|
||||
logger.debug('Done')
|
||||
|
||||
def set_tk_master(self, master: tk.Tk) -> None:
|
||||
"""Set a reference to main UI Tk root window."""
|
||||
self.tk_master = master
|
||||
|
||||
######################################################################
|
||||
# Frontier Authorization
|
||||
######################################################################
|
||||
def start_frontier_auth(self, access_token: str) -> None:
|
||||
"""Start an oAuth2 session."""
|
||||
logger.debug('Starting session')
|
||||
self.requests_session = requests.Session()
|
||||
self.requests_session.headers['Authorization'] = f'Bearer {access_token}'
|
||||
self.requests_session.headers['User-Agent'] = user_agent
|
||||
self.state = Session.STATE_OK
|
||||
|
||||
def login(self, cmdr: str = None, is_beta: Optional[bool] = None) -> bool:
|
||||
"""
|
||||
Attempt oAuth2 login.
|
||||
|
||||
:return: True if login succeeded, False if re-authorization initiated.
|
||||
"""
|
||||
if not CLIENT_ID:
|
||||
logger.error('CLIENT_ID is None')
|
||||
if not Auth.CLIENT_ID:
|
||||
logger.error('self.CLIENT_ID is None')
|
||||
raise CredentialsError('cannot login without a valid Client ID')
|
||||
|
||||
# TODO: WTF is the intent behind this logic ?
|
||||
# Perhaps to do with not even trying to auth if we're not sure if
|
||||
# it's beta, but that's moot for *auth* since oAuth2.
|
||||
if not cmdr or is_beta is None:
|
||||
# Use existing credentials
|
||||
if not self.credentials:
|
||||
@@ -516,7 +687,7 @@ class Session(object):
|
||||
if access_token:
|
||||
logger.debug('We have an access_token')
|
||||
self.auth = None
|
||||
self.start(access_token)
|
||||
self.start_frontier_auth(access_token)
|
||||
return True
|
||||
|
||||
else:
|
||||
@@ -536,7 +707,7 @@ class Session(object):
|
||||
|
||||
try:
|
||||
logger.debug('Trying authorize with payload from handler')
|
||||
self.start(self.auth.authorize(protocolhandler.lastpayload)) # type: ignore
|
||||
self.start_frontier_auth(self.auth.authorize(protocol.protocolhandler.lastpayload)) # type: ignore
|
||||
self.auth = None
|
||||
|
||||
except Exception:
|
||||
@@ -545,176 +716,270 @@ class Session(object):
|
||||
self.auth = None
|
||||
raise # Bad thing happened
|
||||
|
||||
def start(self, access_token: str) -> None:
|
||||
"""Start an oAuth2 session."""
|
||||
logger.debug('Starting session')
|
||||
self.session = requests.Session()
|
||||
self.session.headers['Authorization'] = f'Bearer {access_token}'
|
||||
self.session.headers['User-Agent'] = USER_AGENT
|
||||
self.state = Session.STATE_OK
|
||||
def close(self) -> None:
|
||||
"""Close Frontier authorization session."""
|
||||
self.state = Session.STATE_INIT
|
||||
if self.requests_session:
|
||||
try:
|
||||
self.requests_session.close()
|
||||
|
||||
def query(self, endpoint: str) -> CAPIData: # noqa: CCR001
|
||||
"""Perform a query against the specified CAPI endpoint."""
|
||||
logger.trace_if('capi.query', f'Performing query for endpoint "{endpoint}"')
|
||||
if self.state == Session.STATE_INIT:
|
||||
if self.login():
|
||||
return self.query(endpoint)
|
||||
except Exception as e:
|
||||
logger.debug('Frontier Auth: closing', exc_info=e)
|
||||
|
||||
elif self.state == Session.STATE_AUTH:
|
||||
logger.error('cannot make a query when unauthorized')
|
||||
raise CredentialsError('cannot make a query when unauthorized')
|
||||
self.requests_session = None
|
||||
|
||||
logger.trace_if('capi.query', 'Trying...')
|
||||
if conf_module.capi_pretend_down:
|
||||
raise ServerConnectionError(f'Pretending CAPI down: {endpoint}')
|
||||
def invalidate(self) -> None:
|
||||
"""Invalidate Frontier authorization credentials."""
|
||||
logger.debug('Forcing a full re-authentication')
|
||||
# Force a full re-authentication
|
||||
self.close()
|
||||
Auth.invalidate(self.credentials['cmdr']) # type: ignore
|
||||
######################################################################
|
||||
|
||||
try:
|
||||
r = self.session.get(self.server + endpoint, timeout=timeout) # type: ignore
|
||||
######################################################################
|
||||
# CAPI queries
|
||||
######################################################################
|
||||
def capi_query_worker(self): # noqa: C901, CCR001
|
||||
"""Worker thread that performs actual CAPI queries."""
|
||||
logger.debug('CAPI worker thread starting')
|
||||
|
||||
except requests.ConnectionError as e:
|
||||
logger.warning(f'Unable to resolve name for CAPI: {e} (for request: {endpoint})')
|
||||
raise ServerConnectionError(f'Unable to connect to endpoint {endpoint}') from e
|
||||
def capi_single_query( # noqa: CCR001
|
||||
capi_endpoint: str, timeout: int = capi_default_requests_timeout
|
||||
) -> CAPIData:
|
||||
"""
|
||||
Perform a *single* CAPI endpoint query within the thread worker.
|
||||
|
||||
except Exception as e:
|
||||
logger.debug('Attempting GET', exc_info=e)
|
||||
# LANG: Frontier CAPI data retrieval failed
|
||||
raise ServerError(f'{_("Frontier CAPI query failure")}: {endpoint}') from e
|
||||
:param capi_endpoint: An actual Frontier CAPI endpoint to query.
|
||||
:param timeout: requests query timeout to use.
|
||||
:return: The resulting CAPI data, of type CAPIData.
|
||||
"""
|
||||
capi_data: CAPIData
|
||||
try:
|
||||
logger.trace_if('capi.worker', 'Sending HTTP request...')
|
||||
if conf_module.capi_pretend_down:
|
||||
raise ServerConnectionError(f'Pretending CAPI down: {capi_endpoint}')
|
||||
|
||||
if r.url.startswith(SERVER_AUTH):
|
||||
logger.info('Redirected back to Auth Server')
|
||||
# Redirected back to Auth server - force full re-authentication
|
||||
self.dump(r)
|
||||
self.invalidate()
|
||||
self.retrying = False
|
||||
self.login()
|
||||
raise CredentialsError()
|
||||
if conf_module.capi_debug_access_token is not None:
|
||||
self.requests_session.headers['Authorization'] = f'Bearer {conf_module.capi_debug_access_token}' # type: ignore # noqa: E501
|
||||
# This is one-shot
|
||||
conf_module.capi_debug_access_token = None
|
||||
|
||||
elif 500 <= r.status_code < 600:
|
||||
# Server error. Typically 500 "Internal Server Error" if server is down
|
||||
logger.debug('500 status back from CAPI')
|
||||
self.dump(r)
|
||||
# LANG: Frontier CAPI data retrieval failed with 5XX code
|
||||
raise ServerError(f'{_("Frontier CAPI server error")}: {r.status_code}')
|
||||
r = self.requests_session.get(self.server + capi_endpoint, timeout=timeout) # type: ignore
|
||||
|
||||
try:
|
||||
r.raise_for_status() # Typically 403 "Forbidden" on token expiry
|
||||
data = CAPIData(r.json(), endpoint) # May also fail here if token expired since response is empty
|
||||
logger.trace_if('capi.worker', '... got result...')
|
||||
r.raise_for_status() # Typically 403 "Forbidden" on token expiry
|
||||
# May also fail here if token expired since response is empty
|
||||
# r.status_code = 401
|
||||
# raise requests.HTTPError
|
||||
capi_json = r.json()
|
||||
capi_data = CAPIData(capi_json, capi_endpoint)
|
||||
self.capi_raw_data.record_endpoint(
|
||||
capi_endpoint, r.content.decode(encoding='utf-8'),
|
||||
datetime.datetime.utcnow()
|
||||
)
|
||||
|
||||
except (requests.HTTPError, ValueError) as e:
|
||||
logger.exception('Frontier CAPI Auth: GET ')
|
||||
self.dump(r)
|
||||
self.close()
|
||||
except requests.ConnectionError as e:
|
||||
logger.warning(f'Request {capi_endpoint}: {e}')
|
||||
raise ServerConnectionError(f'Unable to connect to endpoint: {capi_endpoint}') from e
|
||||
|
||||
if self.retrying: # Refresh just succeeded but this query failed! Force full re-authentication
|
||||
logger.error('Frontier CAPI Auth: query failed after refresh')
|
||||
self.invalidate()
|
||||
self.retrying = False
|
||||
self.login()
|
||||
raise CredentialsError('query failed after refresh') from e
|
||||
except requests.HTTPError as e: # In response to raise_for_status()
|
||||
logger.exception(f'Frontier CAPI Auth: GET {capi_endpoint}')
|
||||
self.dump(r)
|
||||
|
||||
elif self.login(): # Maybe our token expired. Re-authorize in any case
|
||||
logger.debug('Initial query failed, but login() just worked, trying again...')
|
||||
self.retrying = True
|
||||
return self.query(endpoint)
|
||||
if r.status_code == 401: # CAPI doesn't think we're Auth'd
|
||||
# TODO: This needs to try a REFRESH, not a full re-auth
|
||||
# No need for translation, we'll go straight into trying new Auth
|
||||
# and thus any message would be overwritten.
|
||||
raise CredentialsRequireRefresh('Frontier CAPI said "unauthorized"') from e
|
||||
|
||||
if r.status_code == 418: # "I'm a teapot" - used to signal maintenance
|
||||
# LANG: Frontier CAPI returned 418, meaning down for maintenance
|
||||
raise ServerError(_("Frontier CAPI down for maintenance")) from e
|
||||
|
||||
logger.exception('Frontier CAPI: Misc. Error')
|
||||
raise ServerError('Frontier CAPI: Misc. Error') from e
|
||||
|
||||
except ValueError as e:
|
||||
logger.exception(f'decoding CAPI response content:\n{r.content.decode(encoding="utf-8")}\n')
|
||||
raise ServerError("Frontier CAPI response: couldn't decode JSON") from e
|
||||
|
||||
except Exception as e:
|
||||
logger.debug('Attempting GET', exc_info=e)
|
||||
# LANG: Frontier CAPI data retrieval failed
|
||||
raise ServerError(f'{_("Frontier CAPI query failure")}: {capi_endpoint}') from e
|
||||
|
||||
if capi_endpoint == self.FRONTIER_CAPI_PATH_PROFILE and 'commander' not in capi_data:
|
||||
logger.error('No commander in returned data')
|
||||
|
||||
if 'timestamp' not in capi_data:
|
||||
capi_data['timestamp'] = time.strftime(
|
||||
'%Y-%m-%dT%H:%M:%SZ', parsedate(r.headers['Date']) # type: ignore
|
||||
)
|
||||
|
||||
return capi_data
|
||||
|
||||
def capi_station_queries(timeout: int = capi_default_requests_timeout) -> CAPIData: # noqa: CCR001
|
||||
"""
|
||||
Perform all 'station' queries for the caller.
|
||||
|
||||
A /profile query is performed to check that we are docked (or on foot)
|
||||
and the station name and marketid match the prior Docked event.
|
||||
If they do match, and the services list says they're present, also
|
||||
retrieve CAPI market and/or shipyard/outfitting data and merge into
|
||||
the /profile data.
|
||||
|
||||
:param timeout: requests timeout to use.
|
||||
:return: CAPIData instance with what we retrieved.
|
||||
"""
|
||||
station_data = capi_single_query(self.FRONTIER_CAPI_PATH_PROFILE, timeout=timeout)
|
||||
|
||||
if not station_data['commander'].get('docked') and not monitor.state['OnFoot']:
|
||||
return station_data
|
||||
|
||||
# Sanity checks in case data isn't as we expect, and maybe 'docked' flag
|
||||
# is also lagging.
|
||||
if (last_starport := station_data.get('lastStarport')) is None:
|
||||
logger.error("No lastStarport in data!")
|
||||
return station_data
|
||||
|
||||
if (
|
||||
(last_starport_name := last_starport.get('name')) is None
|
||||
or last_starport_name == ''
|
||||
):
|
||||
# This could well be valid if you've been out exploring for a long
|
||||
# time.
|
||||
logger.warning("No lastStarport name!")
|
||||
return station_data
|
||||
|
||||
# WORKAROUND: n/a | 06-08-2021: Issue 1198 and https://issues.frontierstore.net/issue-detail/40706
|
||||
# -- strip "+" chars off star port names returned by the CAPI
|
||||
last_starport_name = last_starport["name"] = last_starport_name.rstrip(" +")
|
||||
|
||||
services = last_starport.get('services', {})
|
||||
if not isinstance(services, dict):
|
||||
# Odyssey Alpha Phase 3 4.0.0.20 has been observed having
|
||||
# this be an empty list when you've jumped to another system
|
||||
# and not yet docked. As opposed to no services key at all
|
||||
# or an empty dict.
|
||||
logger.error(f'services is "{type(services)}", not dict !')
|
||||
# TODO: Change this to be dependent on its own CL arg
|
||||
if __debug__:
|
||||
self.dump_capi_data(station_data)
|
||||
|
||||
# Set an empty dict so as to not have to retest below.
|
||||
services = {}
|
||||
|
||||
last_starport_id = int(last_starport.get('id'))
|
||||
|
||||
if services.get('commodities'):
|
||||
market_data = capi_single_query(self.FRONTIER_CAPI_PATH_MARKET, timeout=timeout)
|
||||
if last_starport_id != int(market_data['id']):
|
||||
logger.warning(f"{last_starport_id!r} != {int(market_data['id'])!r}")
|
||||
raise ServerLagging()
|
||||
|
||||
else:
|
||||
market_data['name'] = last_starport_name
|
||||
station_data['lastStarport'].update(market_data)
|
||||
|
||||
if services.get('outfitting') or services.get('shipyard'):
|
||||
shipyard_data = capi_single_query(self.FRONTIER_CAPI_PATH_SHIPYARD, timeout=timeout)
|
||||
if last_starport_id != int(shipyard_data['id']):
|
||||
logger.warning(f"{last_starport_id!r} != {int(shipyard_data['id'])!r}")
|
||||
raise ServerLagging()
|
||||
|
||||
else:
|
||||
shipyard_data['name'] = last_starport_name
|
||||
station_data['lastStarport'].update(shipyard_data)
|
||||
# WORKAROUND END
|
||||
|
||||
return station_data
|
||||
|
||||
while True:
|
||||
query = self.capi_request_queue.get()
|
||||
logger.trace_if('capi.worker', 'De-queued request')
|
||||
if not isinstance(query, EDMCCAPIRequest):
|
||||
logger.error("Item from queue wasn't an EDMCCAPIRequest")
|
||||
break
|
||||
|
||||
if query.endpoint == query.REQUEST_WORKER_SHUTDOWN:
|
||||
logger.info(f'endpoint {query.REQUEST_WORKER_SHUTDOWN}, exiting...')
|
||||
break
|
||||
|
||||
logger.trace_if('capi.worker', f'Processing query: {query.endpoint}')
|
||||
capi_data: CAPIData
|
||||
try:
|
||||
if query.endpoint == self._CAPI_PATH_STATION:
|
||||
capi_data = capi_station_queries()
|
||||
|
||||
else:
|
||||
capi_data = capi_single_query(self.FRONTIER_CAPI_PATH_PROFILE)
|
||||
|
||||
except Exception as e:
|
||||
self.capi_response_queue.put(
|
||||
EDMCCAPIFailedRequest(
|
||||
message=str(e.args),
|
||||
exception=e,
|
||||
query_time=query.query_time,
|
||||
play_sound=query.play_sound,
|
||||
auto_update=query.auto_update
|
||||
)
|
||||
)
|
||||
|
||||
else:
|
||||
self.retrying = False
|
||||
logger.error('Frontier CAPI Auth: HTTP error or invalid JSON')
|
||||
raise CredentialsError('HTTP error or invalid JSON') from e
|
||||
self.capi_response_queue.put(
|
||||
EDMCCAPIResponse(
|
||||
capi_data=capi_data,
|
||||
query_time=query.query_time,
|
||||
play_sound=query.play_sound,
|
||||
auto_update=query.auto_update
|
||||
)
|
||||
)
|
||||
|
||||
self.retrying = False
|
||||
if 'timestamp' not in data:
|
||||
data['timestamp'] = time.strftime('%Y-%m-%dT%H:%M:%SZ', parsedate(r.headers['Date'])) # type: ignore
|
||||
# If the query came from EDMC.(py|exe) there's no tk to send an
|
||||
# event too, so assume it will be polling there response queue.
|
||||
if query.tk_response_event is not None:
|
||||
logger.trace_if('capi.worker', 'Sending <<CAPIResponse>>')
|
||||
self.tk_master.event_generate('<<CAPIResponse>>')
|
||||
|
||||
# Update Odyssey Suit data
|
||||
if endpoint == URL_QUERY:
|
||||
self.suit_update(data)
|
||||
logger.info('CAPI worker thread DONE')
|
||||
|
||||
return data
|
||||
def capi_query_close_worker(self) -> None:
|
||||
"""Ask the CAPI query thread to finish."""
|
||||
self.capi_request_queue.put(
|
||||
EDMCCAPIRequest(
|
||||
endpoint=EDMCCAPIRequest.REQUEST_WORKER_SHUTDOWN,
|
||||
query_time=int(time.time())
|
||||
)
|
||||
)
|
||||
|
||||
def profile(self) -> CAPIData:
|
||||
"""Perform general CAPI /profile endpoint query."""
|
||||
data = self.query(URL_QUERY)
|
||||
if 'commander' not in data:
|
||||
logger.error('No commander in returned data')
|
||||
|
||||
return data
|
||||
|
||||
def station(self) -> CAPIData: # noqa: CCR001
|
||||
def station(
|
||||
self, query_time: int, tk_response_event: Optional[str] = None,
|
||||
play_sound: bool = False, auto_update: bool = False
|
||||
) -> None:
|
||||
"""
|
||||
Perform CAPI quer(y|ies) for station data.
|
||||
|
||||
A /profile query is performed to check that we are docked (or on foot)
|
||||
and the station name and marketid match the prior Docked event.
|
||||
If they do match, and the services list says they're present, also
|
||||
retrieve CAPI market and/or shipyard/outfitting data and merge into
|
||||
the /profile data.
|
||||
|
||||
:return: Possibly augmented CAPI data.
|
||||
:param query_time: When this query was initiated.
|
||||
:param tk_response_event: Name of tk event to generate when response queued.
|
||||
:param play_sound: Whether the app should play a sound on error.
|
||||
:param auto_update: Whether this request was triggered automatically.
|
||||
"""
|
||||
data = self.query(URL_QUERY)
|
||||
if 'commander' not in data:
|
||||
logger.error('No commander in returned data')
|
||||
return data
|
||||
|
||||
if not data['commander'].get('docked') and not monitor.state['OnFoot']:
|
||||
return data
|
||||
|
||||
# Sanity checks in case data isn't as we expect, and maybe 'docked' flag
|
||||
# is also lagging.
|
||||
if (last_starport := data.get('lastStarport')) is None:
|
||||
logger.error("No lastStarport in data!")
|
||||
return data
|
||||
|
||||
if ((last_starport_name := last_starport.get('name')) is None
|
||||
or last_starport_name == ''):
|
||||
# This could well be valid if you've been out exploring for a long
|
||||
# time.
|
||||
logger.warning("No lastStarport name!")
|
||||
return data
|
||||
|
||||
# WORKAROUND: n/a | 06-08-2021: Issue 1198 and https://issues.frontierstore.net/issue-detail/40706
|
||||
# -- strip "+" chars off star port names returned by the CAPI
|
||||
last_starport_name = last_starport["name"] = last_starport_name.rstrip(" +")
|
||||
|
||||
services = last_starport.get('services', {})
|
||||
if not isinstance(services, dict):
|
||||
# Odyssey Alpha Phase 3 4.0.0.20 has been observed having
|
||||
# this be an empty list when you've jumped to another system
|
||||
# and not yet docked. As opposed to no services key at all
|
||||
# or an empty dict.
|
||||
logger.error(f'services is "{type(services)}", not dict !')
|
||||
if __debug__:
|
||||
self.dump_capi_data(data)
|
||||
|
||||
# Set an empty dict so as to not have to retest below.
|
||||
services = {}
|
||||
|
||||
last_starport_id = int(last_starport.get('id'))
|
||||
|
||||
if services.get('commodities'):
|
||||
marketdata = self.query(URL_MARKET)
|
||||
if last_starport_id != int(marketdata['id']):
|
||||
logger.warning(f"{last_starport_id!r} != {int(marketdata['id'])!r}")
|
||||
raise ServerLagging()
|
||||
|
||||
else:
|
||||
marketdata['name'] = last_starport_name
|
||||
data['lastStarport'].update(marketdata)
|
||||
|
||||
if services.get('outfitting') or services.get('shipyard'):
|
||||
shipdata = self.query(URL_SHIPYARD)
|
||||
if last_starport_id != int(shipdata['id']):
|
||||
logger.warning(f"{last_starport_id!r} != {int(shipdata['id'])!r}")
|
||||
raise ServerLagging()
|
||||
|
||||
else:
|
||||
shipdata['name'] = last_starport_name
|
||||
data['lastStarport'].update(shipdata)
|
||||
# WORKAROUND END
|
||||
|
||||
return data
|
||||
# Ask the thread worker to perform all three queries
|
||||
logger.trace_if('capi.worker', 'Enqueueing request')
|
||||
self.capi_request_queue.put(
|
||||
EDMCCAPIRequest(
|
||||
endpoint=self._CAPI_PATH_STATION,
|
||||
tk_response_event=tk_response_event,
|
||||
query_time=query_time,
|
||||
play_sound=play_sound,
|
||||
auto_update=auto_update
|
||||
)
|
||||
)
|
||||
######################################################################
|
||||
|
||||
######################################################################
|
||||
# Utility functions
|
||||
######################################################################
|
||||
def suit_update(self, data: CAPIData) -> None:
|
||||
"""
|
||||
Update monitor.state suit data.
|
||||
@@ -752,25 +1017,6 @@ class Session(object):
|
||||
else:
|
||||
monitor.state['SuitLoadouts'] = suit_loadouts
|
||||
|
||||
def close(self) -> None:
|
||||
"""Close CAPI authorization session."""
|
||||
self.state = Session.STATE_INIT
|
||||
if self.session:
|
||||
try:
|
||||
self.session.close()
|
||||
|
||||
except Exception as e:
|
||||
logger.debug('Frontier CAPI Auth: closing', exc_info=e)
|
||||
|
||||
self.session = None
|
||||
|
||||
def invalidate(self) -> None:
|
||||
"""Invalidate oAuth2 credentials."""
|
||||
logger.debug('Forcing a full re-authentication')
|
||||
# Force a full re-authentication
|
||||
self.close()
|
||||
Auth.invalidate(self.credentials['cmdr']) # type: ignore
|
||||
|
||||
# noinspection PyMethodMayBeStatic
|
||||
def dump(self, r: requests.Response) -> None:
|
||||
"""Log, as error, status of requests.Response from CAPI request."""
|
||||
@@ -797,13 +1043,17 @@ class Session(object):
|
||||
|
||||
timestamp = time.strftime('%Y-%m-%dT%H.%M.%S', time.localtime())
|
||||
with open(f'dump/{system}{station}.{timestamp}.json', 'wb') as h:
|
||||
h.write(json.dumps(dict(data),
|
||||
h.write(json.dumps(data, cls=CAPIDataEncoder,
|
||||
ensure_ascii=False,
|
||||
indent=2,
|
||||
sort_keys=True,
|
||||
separators=(',', ': ')).encode('utf-8'))
|
||||
######################################################################
|
||||
|
||||
|
||||
######################################################################
|
||||
# Non-class utility functions
|
||||
######################################################################
|
||||
def fixup(data: CAPIData) -> CAPIData: # noqa: C901, CCR001 # Can't be usefully simplified
|
||||
"""
|
||||
Fix up commodity names to English & miscellaneous anomalies fixes.
|
||||
@@ -814,7 +1064,7 @@ def fixup(data: CAPIData) -> CAPIData: # noqa: C901, CCR001 # Can't be usefully
|
||||
if not commodity_map:
|
||||
# Lazily populate
|
||||
for f in ('commodity.csv', 'rare_commodity.csv'):
|
||||
with open(join(config.respath_path, f), 'r') as csvfile:
|
||||
with open(config.respath_path / 'FDevIDs' / f, 'r') as csvfile:
|
||||
reader = csv.DictReader(csvfile)
|
||||
|
||||
for row in reader:
|
||||
@@ -940,6 +1190,7 @@ def index_possibly_sparse_list(data: Union[Mapping[str, V], List[V]], key: int)
|
||||
|
||||
else:
|
||||
raise ValueError(f'Unexpected data type {type(data)}')
|
||||
######################################################################
|
||||
|
||||
|
||||
# singleton
|
||||
|
||||
@@ -0,0 +1,473 @@
|
||||
"""
|
||||
Code dealing with the configuration of the program.
|
||||
|
||||
Windows uses the Registry to store values in a flat manner.
|
||||
Linux uses a file, but for commonality it's still a flat data structure.
|
||||
macOS uses a 'defaults' object.
|
||||
"""
|
||||
|
||||
|
||||
__all__ = [
|
||||
# defined in the order they appear in the file
|
||||
'GITVERSION_FILE',
|
||||
'appname',
|
||||
'applongname',
|
||||
'appcmdname',
|
||||
'copyright',
|
||||
'update_feed',
|
||||
'update_interval',
|
||||
'debug_senders',
|
||||
'trace_on',
|
||||
'capi_pretend_down',
|
||||
'capi_debug_access_token',
|
||||
'logger',
|
||||
'git_shorthash_from_head',
|
||||
'appversion',
|
||||
'user_agent',
|
||||
'appversion_nobuild',
|
||||
'AbstractConfig',
|
||||
'config'
|
||||
]
|
||||
|
||||
import abc
|
||||
import contextlib
|
||||
import logging
|
||||
import os
|
||||
import pathlib
|
||||
import re
|
||||
import subprocess
|
||||
import sys
|
||||
import traceback
|
||||
import warnings
|
||||
from abc import abstractmethod
|
||||
from typing import Any, Callable, List, Optional, Type, TypeVar, Union
|
||||
|
||||
import semantic_version
|
||||
|
||||
from constants import GITVERSION_FILE, applongname, appname
|
||||
|
||||
# Any of these may be imported by plugins
|
||||
appcmdname = 'EDMC'
|
||||
# appversion **MUST** follow Semantic Versioning rules:
|
||||
# <https://semver.org/#semantic-versioning-specification-semver>
|
||||
# Major.Minor.Patch(-prerelease)(+buildmetadata)
|
||||
# NB: Do *not* import this, use the functions appversion() and appversion_nobuild()
|
||||
_static_appversion = '5.4.1-alpha0'
|
||||
_cached_version: Optional[semantic_version.Version] = None
|
||||
copyright = '© 2015-2019 Jonathan Harris, 2020-2022 EDCD'
|
||||
|
||||
update_feed = 'https://raw.githubusercontent.com/EDCD/EDMarketConnector/releases/edmarketconnector.xml'
|
||||
update_interval = 8*60*60
|
||||
# Providers marked to be in debug mode. Generally this is expected to switch to sending data to a log file
|
||||
debug_senders: List[str] = []
|
||||
# TRACE logging code that should actually be used. Means not spamming it
|
||||
# *all* if only interested in some things.
|
||||
trace_on: List[str] = []
|
||||
|
||||
capi_pretend_down: bool = False
|
||||
capi_debug_access_token: Optional[str] = None
|
||||
# This must be done here in order to avoid an import cycle with EDMCLogging.
|
||||
# Other code should use EDMCLogging.get_main_logger
|
||||
if os.getenv("EDMC_NO_UI"):
|
||||
logger = logging.getLogger(appcmdname)
|
||||
|
||||
else:
|
||||
logger = logging.getLogger(appname)
|
||||
|
||||
|
||||
_T = TypeVar('_T')
|
||||
|
||||
|
||||
###########################################################################
|
||||
def git_shorthash_from_head() -> str:
|
||||
"""
|
||||
Determine short hash for current git HEAD.
|
||||
|
||||
Includes `.DIRTY` if any changes have been made from HEAD
|
||||
|
||||
:return: str - None if we couldn't determine the short hash.
|
||||
"""
|
||||
shorthash: str = None # type: ignore
|
||||
|
||||
try:
|
||||
git_cmd = subprocess.Popen('git rev-parse --short HEAD'.split(),
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.STDOUT
|
||||
)
|
||||
out, err = git_cmd.communicate()
|
||||
|
||||
except Exception as e:
|
||||
logger.info(f"Couldn't run git command for short hash: {e!r}")
|
||||
|
||||
else:
|
||||
shorthash = out.decode().rstrip('\n')
|
||||
if re.match(r'^[0-9a-f]{7,}$', shorthash) is None:
|
||||
logger.error(f"'{shorthash}' doesn't look like a valid git short hash, forcing to None")
|
||||
shorthash = None # type: ignore
|
||||
|
||||
if shorthash is not None:
|
||||
with contextlib.suppress(Exception):
|
||||
result = subprocess.run('git diff --stat HEAD'.split(), capture_output=True)
|
||||
if len(result.stdout) > 0:
|
||||
shorthash += '.DIRTY'
|
||||
|
||||
if len(result.stderr) > 0:
|
||||
logger.warning(f'Data from git on stderr:\n{str(result.stderr)}')
|
||||
|
||||
return shorthash
|
||||
|
||||
|
||||
def appversion() -> semantic_version.Version:
|
||||
"""
|
||||
Determine app version including git short hash if possible.
|
||||
|
||||
:return: The augmented app version.
|
||||
"""
|
||||
global _cached_version
|
||||
if _cached_version is not None:
|
||||
return _cached_version
|
||||
|
||||
if getattr(sys, 'frozen', False):
|
||||
# Running frozen, so we should have a .gitversion file
|
||||
# Yes, .parent because if frozen we're inside library.zip
|
||||
with open(pathlib.Path(sys.path[0]).parent / GITVERSION_FILE, 'r', encoding='utf-8') as gitv:
|
||||
shorthash = gitv.read()
|
||||
|
||||
else:
|
||||
# Running from source
|
||||
shorthash = git_shorthash_from_head()
|
||||
if shorthash is None:
|
||||
shorthash = 'UNKNOWN'
|
||||
|
||||
_cached_version = semantic_version.Version(f'{_static_appversion}+{shorthash}')
|
||||
return _cached_version
|
||||
|
||||
|
||||
user_agent = f'EDCD-{appname}-{appversion()}'
|
||||
|
||||
|
||||
def appversion_nobuild() -> semantic_version.Version:
|
||||
"""
|
||||
Determine app version without *any* build meta data.
|
||||
|
||||
This will not only strip any added git short hash, but also any trailing
|
||||
'+<string>' in _static_appversion.
|
||||
|
||||
:return: App version without any build meta data.
|
||||
"""
|
||||
return appversion().truncate('prerelease')
|
||||
###########################################################################
|
||||
|
||||
|
||||
class AbstractConfig(abc.ABC):
|
||||
"""Abstract root class of all platform specific Config implementations."""
|
||||
|
||||
OUT_MKT_EDDN = 1
|
||||
# OUT_MKT_BPC = 2 # No longer supported
|
||||
OUT_MKT_TD = 4
|
||||
OUT_MKT_CSV = 8
|
||||
OUT_SHIP = 16
|
||||
# OUT_SHIP_EDS = 16 # Replaced by OUT_SHIP
|
||||
# OUT_SYS_FILE = 32 # No longer supported
|
||||
# OUT_STAT = 64 # No longer available
|
||||
# OUT_SHIP_CORIOLIS = 128 # Replaced by OUT_SHIP
|
||||
OUT_STATION_ANY = OUT_MKT_EDDN | OUT_MKT_TD | OUT_MKT_CSV
|
||||
# OUT_SYS_EDSM = 256 # Now a plugin
|
||||
# OUT_SYS_AUTO = 512 # Now always automatic
|
||||
OUT_MKT_MANUAL = 1024
|
||||
OUT_SYS_EDDN = 2048
|
||||
OUT_SYS_DELAY = 4096
|
||||
|
||||
app_dir_path: pathlib.Path
|
||||
plugin_dir_path: pathlib.Path
|
||||
internal_plugin_dir_path: pathlib.Path
|
||||
respath_path: pathlib.Path
|
||||
home_path: pathlib.Path
|
||||
default_journal_dir_path: pathlib.Path
|
||||
|
||||
identifier: str
|
||||
|
||||
__in_shutdown = False # Is the application currently shutting down ?
|
||||
__auth_force_localserver = False # Should we use localhost for auth callback ?
|
||||
__auth_force_edmc_protocol = False # Should we force edmc:// protocol ?
|
||||
__eddn_url = None # Non-default EDDN URL
|
||||
__eddn_tracking_ui = False # Show EDDN tracking UI ?
|
||||
|
||||
def __init__(self) -> None:
|
||||
self.home_path = pathlib.Path.home()
|
||||
|
||||
def set_shutdown(self):
|
||||
"""Set flag denoting we're in the shutdown sequence."""
|
||||
self.__in_shutdown = True
|
||||
|
||||
@property
|
||||
def shutting_down(self) -> bool:
|
||||
"""
|
||||
Determine if we're in the shutdown sequence.
|
||||
|
||||
:return: bool - True if in shutdown sequence.
|
||||
"""
|
||||
return self.__in_shutdown
|
||||
|
||||
def set_auth_force_localserver(self):
|
||||
"""Set flag to force use of localhost web server for Frontier Auth callback."""
|
||||
self.__auth_force_localserver = True
|
||||
|
||||
@property
|
||||
def auth_force_localserver(self) -> bool:
|
||||
"""
|
||||
Determine if use of localhost is forced for Frontier Auth callback.
|
||||
|
||||
:return: bool - True if we should use localhost web server.
|
||||
"""
|
||||
return self.__auth_force_localserver
|
||||
|
||||
def set_auth_force_edmc_protocol(self):
|
||||
"""Set flag to force use of localhost web server for Frontier Auth callback."""
|
||||
self.__auth_force_edmc_protocol = True
|
||||
|
||||
@property
|
||||
def auth_force_edmc_protocol(self) -> bool:
|
||||
"""
|
||||
Determine if use of localhost is forced for Frontier Auth callback.
|
||||
|
||||
:return: bool - True if we should use localhost web server.
|
||||
"""
|
||||
return self.__auth_force_edmc_protocol
|
||||
|
||||
def set_eddn_url(self, eddn_url: str):
|
||||
"""Set the specified eddn URL."""
|
||||
self.__eddn_url = eddn_url
|
||||
|
||||
@property
|
||||
def eddn_url(self) -> Optional[str]:
|
||||
"""
|
||||
Provide the custom EDDN URL.
|
||||
|
||||
:return: str - Custom EDDN URL to use.
|
||||
"""
|
||||
return self.__eddn_url
|
||||
|
||||
def set_eddn_tracking_ui(self):
|
||||
"""Activate EDDN tracking UI."""
|
||||
self.__eddn_tracking_ui = True
|
||||
|
||||
@property
|
||||
def eddn_tracking_ui(self) -> bool:
|
||||
"""
|
||||
Determine if the EDDN tracking UI be shown.
|
||||
|
||||
:return: bool - Should tracking UI be active?
|
||||
"""
|
||||
return self.__eddn_tracking_ui
|
||||
|
||||
@property
|
||||
def app_dir(self) -> str:
|
||||
"""Return a string version of app_dir."""
|
||||
return str(self.app_dir_path)
|
||||
|
||||
@property
|
||||
def plugin_dir(self) -> str:
|
||||
"""Return a string version of plugin_dir."""
|
||||
return str(self.plugin_dir_path)
|
||||
|
||||
@property
|
||||
def internal_plugin_dir(self) -> str:
|
||||
"""Return a string version of internal_plugin_dir."""
|
||||
return str(self.internal_plugin_dir_path)
|
||||
|
||||
@property
|
||||
def respath(self) -> str:
|
||||
"""Return a string version of respath."""
|
||||
return str(self.respath_path)
|
||||
|
||||
@property
|
||||
def home(self) -> str:
|
||||
"""Return a string version of home."""
|
||||
return str(self.home_path)
|
||||
|
||||
@property
|
||||
def default_journal_dir(self) -> str:
|
||||
"""Return a string version of default_journal_dir."""
|
||||
return str(self.default_journal_dir_path)
|
||||
|
||||
@staticmethod
|
||||
def _suppress_call(
|
||||
func: Callable[..., _T], exceptions: Union[Type[BaseException], List[Type[BaseException]]] = Exception,
|
||||
*args: Any, **kwargs: Any
|
||||
) -> Optional[_T]:
|
||||
if exceptions is None:
|
||||
exceptions = [Exception]
|
||||
|
||||
if not isinstance(exceptions, list):
|
||||
exceptions = [exceptions]
|
||||
|
||||
with contextlib.suppress(*exceptions): # type: ignore # it works fine, mypy
|
||||
return func(*args, **kwargs)
|
||||
|
||||
return None
|
||||
|
||||
def get(self, key: str, default: Union[list, str, bool, int] = None) -> Union[list, str, bool, int]:
|
||||
"""
|
||||
Return the data for the requested key, or a default.
|
||||
|
||||
:param key: The key data is being requested for.
|
||||
:param default: The default to return if the key does not exist, defaults to None.
|
||||
:raises OSError: On Windows, if a Registry error occurs.
|
||||
:return: The data or the default.
|
||||
"""
|
||||
warnings.warn(DeprecationWarning('get is Deprecated. use the specific getter for your type'))
|
||||
logger.debug('Attempt to use Deprecated get() method\n' + ''.join(traceback.format_stack()))
|
||||
|
||||
if (l := self._suppress_call(self.get_list, ValueError, key, default=None)) is not None:
|
||||
return l
|
||||
|
||||
elif (s := self._suppress_call(self.get_str, ValueError, key, default=None)) is not None:
|
||||
return s
|
||||
|
||||
elif (b := self._suppress_call(self.get_bool, ValueError, key, default=None)) is not None:
|
||||
return b
|
||||
|
||||
elif (i := self._suppress_call(self.get_int, ValueError, key, default=None)) is not None:
|
||||
return i
|
||||
|
||||
return default # type: ignore
|
||||
|
||||
@abstractmethod
|
||||
def get_list(self, key: str, *, default: list = None) -> list:
|
||||
"""
|
||||
Return the list referred to by the given key if it exists, or the default.
|
||||
|
||||
Implements :meth:`AbstractConfig.get_list`.
|
||||
"""
|
||||
raise NotImplementedError
|
||||
|
||||
@abstractmethod
|
||||
def get_str(self, key: str, *, default: str = None) -> str:
|
||||
"""
|
||||
Return the string referred to by the given key if it exists, or the default.
|
||||
|
||||
:param key: The key data is being requested for.
|
||||
:param default: Default to return if the key does not exist, defaults to None.
|
||||
:raises ValueError: If an internal error occurs getting or converting a value.
|
||||
:raises OSError: On Windows, if a Registry error occurs.
|
||||
:return: The requested data or the default.
|
||||
"""
|
||||
raise NotImplementedError
|
||||
|
||||
@abstractmethod
|
||||
def get_bool(self, key: str, *, default: bool = None) -> bool:
|
||||
"""
|
||||
Return the bool referred to by the given key if it exists, or the default.
|
||||
|
||||
:param key: The key data is being requested for.
|
||||
:param default: Default to return if the key does not exist, defaults to None
|
||||
:raises ValueError: If an internal error occurs getting or converting a value
|
||||
:raises OSError: On Windows, if a Registry error occurs.
|
||||
:return: The requested data or the default
|
||||
"""
|
||||
raise NotImplementedError
|
||||
|
||||
def getint(self, key: str, *, default: int = 0) -> int:
|
||||
"""
|
||||
Getint is a Deprecated getter method.
|
||||
|
||||
See get_int for its replacement.
|
||||
:raises OSError: On Windows, if a Registry error occurs.
|
||||
"""
|
||||
warnings.warn(DeprecationWarning('getint is Deprecated. Use get_int instead'))
|
||||
logger.debug('Attempt to use Deprecated getint() method\n' + ''.join(traceback.format_stack()))
|
||||
|
||||
return self.get_int(key, default=default)
|
||||
|
||||
@abstractmethod
|
||||
def get_int(self, key: str, *, default: int = 0) -> int:
|
||||
"""
|
||||
Return the int referred to by key if it exists in the config.
|
||||
|
||||
For legacy reasons, the default is 0 and not None.
|
||||
|
||||
:param key: The key data is being requested for.
|
||||
:param default: Default to return if the key does not exist, defaults to 0.
|
||||
:raises ValueError: If the internal representation of this key cannot be converted to an int.
|
||||
:raises OSError: On Windows, if a Registry error occurs.
|
||||
:return: The requested data or the default.
|
||||
"""
|
||||
raise NotImplementedError
|
||||
|
||||
@abstractmethod
|
||||
def set(self, key: str, val: Union[int, str, List[str], bool]) -> None:
|
||||
"""
|
||||
Set the given key's data to the given value.
|
||||
|
||||
:param key: The key to set the value on.
|
||||
:param val: The value to set the key's data to.
|
||||
:raises ValueError: On an invalid type.
|
||||
:raises OSError: On Windows, if a Registry error occurs.
|
||||
"""
|
||||
raise NotImplementedError
|
||||
|
||||
@abstractmethod
|
||||
def delete(self, key: str, *, suppress=False) -> None:
|
||||
"""
|
||||
Delete the given key from the config.
|
||||
|
||||
:param key: The key to delete.
|
||||
:param suppress: bool - Whether to suppress any errors. Useful in case
|
||||
code to migrate settings is blindly removing an old key.
|
||||
:raises OSError: On Windows, if a registry error occurs.
|
||||
"""
|
||||
raise NotImplementedError
|
||||
|
||||
@abstractmethod
|
||||
def save(self) -> None:
|
||||
"""
|
||||
Save the current configuration.
|
||||
|
||||
:raises OSError: On Windows, if a Registry error occurs.
|
||||
"""
|
||||
raise NotImplementedError
|
||||
|
||||
@abstractmethod
|
||||
def close(self) -> None:
|
||||
"""Close this config and release any associated resources."""
|
||||
raise NotImplementedError
|
||||
|
||||
def get_password(self, account: str) -> None:
|
||||
"""Legacy password retrieval."""
|
||||
warnings.warn("password subsystem is no longer supported", DeprecationWarning)
|
||||
|
||||
def set_password(self, account: str, password: str) -> None:
|
||||
"""Legacy password setting."""
|
||||
warnings.warn("password subsystem is no longer supported", DeprecationWarning)
|
||||
|
||||
def delete_password(self, account: str) -> None:
|
||||
"""Legacy password deletion."""
|
||||
warnings.warn("password subsystem is no longer supported", DeprecationWarning)
|
||||
|
||||
|
||||
def get_config(*args, **kwargs) -> AbstractConfig:
|
||||
"""
|
||||
Get the appropriate config class for the current platform.
|
||||
|
||||
:param args: Args to be passed through to implementation.
|
||||
:param kwargs: Args to be passed through to implementation.
|
||||
:return: Instance of the implementation.
|
||||
"""
|
||||
if sys.platform == "darwin":
|
||||
from .darwin import MacConfig
|
||||
return MacConfig(*args, **kwargs)
|
||||
|
||||
elif sys.platform == "win32":
|
||||
from .windows import WinConfig
|
||||
return WinConfig(*args, **kwargs)
|
||||
|
||||
elif sys.platform == "linux":
|
||||
from .linux import LinuxConfig
|
||||
return LinuxConfig(*args, **kwargs)
|
||||
|
||||
else:
|
||||
raise ValueError(f'Unknown platform: {sys.platform=}')
|
||||
|
||||
|
||||
config = get_config()
|
||||
@@ -0,0 +1,184 @@
|
||||
import pathlib
|
||||
import sys
|
||||
from typing import Any, Dict, List, Union
|
||||
|
||||
from Foundation import ( # type: ignore
|
||||
NSApplicationSupportDirectory, NSBundle, NSDocumentDirectory, NSSearchPathForDirectoriesInDomains, NSUserDefaults,
|
||||
NSUserDomainMask
|
||||
)
|
||||
|
||||
from config import AbstractConfig, appname, logger
|
||||
|
||||
assert sys.platform == 'darwin'
|
||||
|
||||
|
||||
class MacConfig(AbstractConfig):
|
||||
"""MacConfig is the implementation of AbstractConfig for Darwin based OSes."""
|
||||
|
||||
def __init__(self) -> None:
|
||||
super().__init__()
|
||||
support_path = pathlib.Path(
|
||||
NSSearchPathForDirectoriesInDomains(
|
||||
NSApplicationSupportDirectory, NSUserDomainMask, True
|
||||
)[0]
|
||||
)
|
||||
|
||||
self.app_dir_path = support_path / appname
|
||||
self.app_dir_path.mkdir(exist_ok=True)
|
||||
|
||||
self.plugin_dir_path = self.app_dir_path / 'plugins'
|
||||
self.plugin_dir_path.mkdir(exist_ok=True)
|
||||
|
||||
# Bundle IDs identify a singled app though out a system
|
||||
|
||||
if getattr(sys, 'frozen', False):
|
||||
exe_dir = pathlib.Path(sys.executable).parent
|
||||
self.internal_plugin_dir_path = exe_dir.parent / 'Library' / 'plugins'
|
||||
self.respath_path = exe_dir.parent / 'Resources'
|
||||
self.identifier = NSBundle.mainBundle().bundleIdentifier()
|
||||
|
||||
else:
|
||||
file_dir = pathlib.Path(__file__).parent.parent
|
||||
self.internal_plugin_dir_path = file_dir / 'plugins'
|
||||
self.respath_path = file_dir
|
||||
|
||||
self.identifier = f'uk.org.marginal.{appname.lower()}'
|
||||
NSBundle.mainBundle().infoDictionary()['CFBundleIdentifier'] = self.identifier
|
||||
|
||||
self.default_journal_dir_path = support_path / 'Frontier Developments' / 'Elite Dangerous'
|
||||
self._defaults: Any = NSUserDefaults.standardUserDefaults()
|
||||
self._settings: Dict[str, Union[int, str, list]] = dict(
|
||||
self._defaults.persistentDomainForName_(self.identifier) or {}
|
||||
) # make writeable
|
||||
|
||||
if (out_dir := self.get_str('out_dir')) is None or not pathlib.Path(out_dir).exists():
|
||||
self.set('outdir', NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, True)[0])
|
||||
|
||||
def __raw_get(self, key: str) -> Union[None, list, str, int]:
|
||||
"""
|
||||
Retrieve the raw data for the given key.
|
||||
|
||||
:param str: str - The key data is being requested for.
|
||||
:return: The requested data.
|
||||
"""
|
||||
res = self._settings.get(key)
|
||||
# On MacOS Catalina, with python.org python 3.9.2 any 'list'
|
||||
# has type __NSCFArray so a simple `isinstance(res, list)` is
|
||||
# False. So, check it's not-None, and not the other types.
|
||||
#
|
||||
# If we can find where to import the definition of NSCFArray
|
||||
# then we could possibly test against that.
|
||||
if res is not None and not isinstance(res, str) and not isinstance(res, int):
|
||||
return list(res)
|
||||
|
||||
return res
|
||||
|
||||
def get_str(self, key: str, *, default: str = None) -> str:
|
||||
"""
|
||||
Return the string referred to by the given key if it exists, or the default.
|
||||
|
||||
Implements :meth:`AbstractConfig.get_str`.
|
||||
"""
|
||||
res = self.__raw_get(key)
|
||||
if res is None:
|
||||
return default # type: ignore # Yes it could be None, but we're _assuming_ that people gave us a default
|
||||
|
||||
if not isinstance(res, str):
|
||||
raise ValueError(f'unexpected data returned from __raw_get: {type(res)=} {res}')
|
||||
|
||||
return res
|
||||
|
||||
def get_list(self, key: str, *, default: list = None) -> list:
|
||||
"""
|
||||
Return the list referred to by the given key if it exists, or the default.
|
||||
|
||||
Implements :meth:`AbstractConfig.get_list`.
|
||||
"""
|
||||
res = self.__raw_get(key)
|
||||
if res is None:
|
||||
return default # type: ignore # Yes it could be None, but we're _assuming_ that people gave us a default
|
||||
|
||||
elif not isinstance(res, list):
|
||||
raise ValueError(f'__raw_get returned unexpected type {type(res)=} {res!r}')
|
||||
|
||||
return res
|
||||
|
||||
def get_int(self, key: str, *, default: int = 0) -> int:
|
||||
"""
|
||||
Return the int referred to by key if it exists in the config.
|
||||
|
||||
Implements :meth:`AbstractConfig.get_int`.
|
||||
"""
|
||||
res = self.__raw_get(key)
|
||||
if res is None:
|
||||
return default
|
||||
|
||||
elif not isinstance(res, (str, int)):
|
||||
raise ValueError(f'__raw_get returned unexpected type {type(res)=} {res!r}')
|
||||
|
||||
try:
|
||||
return int(res)
|
||||
|
||||
except ValueError as e:
|
||||
logger.error(f'__raw_get returned {res!r} which cannot be parsed to an int: {e}')
|
||||
return default # type: ignore # Yes it could be None, but we're _assuming_ that people gave us a default
|
||||
|
||||
def get_bool(self, key: str, *, default: bool = None) -> bool:
|
||||
"""
|
||||
Return the bool referred to by the given key if it exists, or the default.
|
||||
|
||||
Implements :meth:`AbstractConfig.get_bool`.
|
||||
"""
|
||||
res = self.__raw_get(key)
|
||||
if res is None:
|
||||
return default # type: ignore # Yes it could be None, but we're _assuming_ that people gave us a default
|
||||
|
||||
elif not isinstance(res, bool):
|
||||
raise ValueError(f'__raw_get returned unexpected type {type(res)=} {res!r}')
|
||||
|
||||
return res
|
||||
|
||||
def set(self, key: str, val: Union[int, str, List[str], bool]) -> None:
|
||||
"""
|
||||
Set the given key's data to the given value.
|
||||
|
||||
Implements :meth:`AbstractConfig.set`.
|
||||
"""
|
||||
if self._settings is None:
|
||||
raise ValueError('attempt to use a closed _settings')
|
||||
|
||||
if not isinstance(val, (bool, str, int, list)):
|
||||
raise ValueError(f'Unexpected type for value {type(val)=}')
|
||||
|
||||
self._settings[key] = val
|
||||
|
||||
def delete(self, key: str, *, suppress=False) -> None:
|
||||
"""
|
||||
Delete the given key from the config.
|
||||
|
||||
Implements :meth:`AbstractConfig.delete`.
|
||||
"""
|
||||
try:
|
||||
del self._settings[key]
|
||||
|
||||
except Exception:
|
||||
if suppress:
|
||||
pass
|
||||
|
||||
def save(self) -> None:
|
||||
"""
|
||||
Save the current configuration.
|
||||
|
||||
Implements :meth:`AbstractConfig.save`.
|
||||
"""
|
||||
self._defaults.setPersistentDomain_forName_(self._settings, self.identifier)
|
||||
self._defaults.synchronize()
|
||||
|
||||
def close(self) -> None:
|
||||
"""
|
||||
Close this config and release any associated resources.
|
||||
|
||||
Implements :meth:`AbstractConfig.close`.
|
||||
"""
|
||||
self.save()
|
||||
self._defaults = None
|
||||
+245
@@ -0,0 +1,245 @@
|
||||
"""Linux config implementation."""
|
||||
import os
|
||||
import pathlib
|
||||
import sys
|
||||
from configparser import ConfigParser
|
||||
from typing import TYPE_CHECKING, List, Optional, Union
|
||||
|
||||
from config import AbstractConfig, appname, logger
|
||||
|
||||
assert sys.platform == 'linux'
|
||||
|
||||
|
||||
class LinuxConfig(AbstractConfig):
|
||||
"""Linux implementation of AbstractConfig."""
|
||||
|
||||
SECTION = 'config'
|
||||
# TODO: I dislike this, would rather use a sane config file format. But here we are.
|
||||
__unescape_lut = {'\\': '\\', 'n': '\n', ';': ';', 'r': '\r', '#': '#'}
|
||||
__escape_lut = {'\\': '\\', '\n': 'n', ';': ';', '\r': 'r'}
|
||||
|
||||
def __init__(self, filename: Optional[str] = None) -> None:
|
||||
super().__init__()
|
||||
# http://standards.freedesktop.org/basedir-spec/latest/ar01s03.html
|
||||
xdg_data_home = pathlib.Path(os.getenv('XDG_DATA_HOME', default='~/.local/share')).expanduser()
|
||||
self.app_dir_path = xdg_data_home / appname
|
||||
self.app_dir_path.mkdir(exist_ok=True, parents=True)
|
||||
|
||||
self.plugin_dir_path = self.app_dir_path / 'plugins'
|
||||
self.plugin_dir_path.mkdir(exist_ok=True)
|
||||
|
||||
self.respath_path = pathlib.Path(__file__).parent.parent
|
||||
|
||||
self.internal_plugin_dir_path = self.respath_path / 'plugins'
|
||||
self.default_journal_dir_path = None # type: ignore
|
||||
self.identifier = f'uk.org.marginal.{appname.lower()}' # TODO: Unused?
|
||||
|
||||
config_home = pathlib.Path(os.getenv('XDG_CONFIG_HOME', default='~/.config')).expanduser()
|
||||
|
||||
self.filename = config_home / appname / f'{appname}.ini'
|
||||
if filename is not None:
|
||||
self.filename = pathlib.Path(filename)
|
||||
|
||||
self.filename.parent.mkdir(exist_ok=True, parents=True)
|
||||
|
||||
self.config: Optional[ConfigParser] = ConfigParser(comment_prefixes=('#',), interpolation=None)
|
||||
self.config.read(self.filename) # read() ignores files that dont exist
|
||||
|
||||
# Ensure that our section exists. This is here because configparser will happily create files for us, but it
|
||||
# does not magically create sections
|
||||
try:
|
||||
self.config[self.SECTION].get("this_does_not_exist", fallback=None)
|
||||
except KeyError:
|
||||
logger.info("Config section not found. Backing up existing file (if any) and readding a section header")
|
||||
if self.filename.exists():
|
||||
(self.filename.parent / f'{appname}.ini.backup').write_bytes(self.filename.read_bytes())
|
||||
|
||||
self.config.add_section(self.SECTION)
|
||||
|
||||
if (outdir := self.get_str('outdir')) is None or not pathlib.Path(outdir).is_dir():
|
||||
self.set('outdir', self.home)
|
||||
|
||||
def __escape(self, s: str) -> str:
|
||||
"""
|
||||
Escape a string using self.__escape_lut.
|
||||
|
||||
This does NOT support multi-character escapes.
|
||||
|
||||
:param s: str - String to be escaped.
|
||||
:return: str - The escaped string.
|
||||
"""
|
||||
out = ""
|
||||
for c in s:
|
||||
if c not in self.__escape_lut:
|
||||
out += c
|
||||
continue
|
||||
|
||||
out += '\\' + self.__escape_lut[c]
|
||||
|
||||
return out
|
||||
|
||||
def __unescape(self, s: str) -> str:
|
||||
"""
|
||||
Unescape a string.
|
||||
|
||||
:param s: str - The string to unescape.
|
||||
:return: str - The unescaped string.
|
||||
"""
|
||||
out: List[str] = []
|
||||
i = 0
|
||||
while i < len(s):
|
||||
c = s[i]
|
||||
if c != '\\':
|
||||
out.append(c)
|
||||
i += 1
|
||||
continue
|
||||
|
||||
# We have a backslash, check what its escaping
|
||||
if i == len(s)-1:
|
||||
raise ValueError('Escaped string has unescaped trailer')
|
||||
|
||||
unescaped = self.__unescape_lut.get(s[i+1])
|
||||
if unescaped is None:
|
||||
raise ValueError(f'Unknown escape: \\ {s[i+1]}')
|
||||
|
||||
out.append(unescaped)
|
||||
i += 2
|
||||
|
||||
return "".join(out)
|
||||
|
||||
def __raw_get(self, key: str) -> Optional[str]:
|
||||
"""
|
||||
Get a raw data value from the config file.
|
||||
|
||||
:param key: str - The key data is being requested for.
|
||||
:return: str - The raw data, if found.
|
||||
"""
|
||||
if self.config is None:
|
||||
raise ValueError('Attempt to use a closed config')
|
||||
|
||||
return self.config[self.SECTION].get(key)
|
||||
|
||||
def get_str(self, key: str, *, default: str = None) -> str:
|
||||
"""
|
||||
Return the string referred to by the given key if it exists, or the default.
|
||||
|
||||
Implements :meth:`AbstractConfig.get_str`.
|
||||
"""
|
||||
data = self.__raw_get(key)
|
||||
if data is None:
|
||||
return default # type: ignore # Yes it could be None, but we're _assuming_ that people gave us a default
|
||||
|
||||
if '\n' in data:
|
||||
raise ValueError('asked for string, got list')
|
||||
|
||||
return self.__unescape(data)
|
||||
|
||||
def get_list(self, key: str, *, default: list = None) -> list:
|
||||
"""
|
||||
Return the list referred to by the given key if it exists, or the default.
|
||||
|
||||
Implements :meth:`AbstractConfig.get_list`.
|
||||
"""
|
||||
data = self.__raw_get(key)
|
||||
|
||||
if data is None:
|
||||
return default # type: ignore # Yes it could be None, but we're _assuming_ that people gave us a default
|
||||
|
||||
split = data.split('\n')
|
||||
if split[-1] != ';':
|
||||
raise ValueError('Encoded list does not have trailer sentinel')
|
||||
|
||||
return list(map(self.__unescape, split[:-1]))
|
||||
|
||||
def get_int(self, key: str, *, default: int = 0) -> int:
|
||||
"""
|
||||
Return the int referred to by key if it exists in the config.
|
||||
|
||||
Implements :meth:`AbstractConfig.get_int`.
|
||||
"""
|
||||
data = self.__raw_get(key)
|
||||
|
||||
if data is None:
|
||||
return default
|
||||
|
||||
try:
|
||||
return int(data)
|
||||
|
||||
except ValueError as e:
|
||||
raise ValueError(f'requested {key=} as int cannot be converted to int') from e
|
||||
|
||||
def get_bool(self, key: str, *, default: bool = None) -> bool:
|
||||
"""
|
||||
Return the bool referred to by the given key if it exists, or the default.
|
||||
|
||||
Implements :meth:`AbstractConfig.get_bool`.
|
||||
"""
|
||||
if self.config is None:
|
||||
raise ValueError('attempt to use a closed config')
|
||||
|
||||
data = self.__raw_get(key)
|
||||
if data is None:
|
||||
return default # type: ignore # Yes it could be None, but we're _assuming_ that people gave us a default
|
||||
|
||||
return bool(int(data))
|
||||
|
||||
def set(self, key: str, val: Union[int, str, List[str]]) -> None:
|
||||
"""
|
||||
Set the given key's data to the given value.
|
||||
|
||||
Implements :meth:`AbstractConfig.set`.
|
||||
"""
|
||||
if self.config is None:
|
||||
raise ValueError('attempt to use a closed config')
|
||||
|
||||
to_set: Optional[str] = None
|
||||
if isinstance(val, bool):
|
||||
to_set = str(int(val))
|
||||
|
||||
elif isinstance(val, str):
|
||||
to_set = self.__escape(val)
|
||||
|
||||
elif isinstance(val, int):
|
||||
to_set = str(val)
|
||||
|
||||
elif isinstance(val, list):
|
||||
to_set = '\n'.join([self.__escape(s) for s in val] + [';'])
|
||||
|
||||
else:
|
||||
raise ValueError(f'Unexpected type for value {type(val)=}')
|
||||
|
||||
self.config.set(self.SECTION, key, to_set)
|
||||
self.save()
|
||||
|
||||
def delete(self, key: str, *, suppress=False) -> None:
|
||||
"""
|
||||
Delete the given key from the config.
|
||||
|
||||
Implements :meth:`AbstractConfig.delete`.
|
||||
"""
|
||||
if self.config is None:
|
||||
raise ValueError('attempt to use a closed config')
|
||||
|
||||
self.config.remove_option(self.SECTION, key)
|
||||
self.save()
|
||||
|
||||
def save(self) -> None:
|
||||
"""
|
||||
Save the current configuration.
|
||||
|
||||
Implements :meth:`AbstractConfig.save`.
|
||||
"""
|
||||
if self.config is None:
|
||||
raise ValueError('attempt to use a closed config')
|
||||
|
||||
with open(self.filename, 'w', encoding='utf-8') as f:
|
||||
self.config.write(f)
|
||||
|
||||
def close(self) -> None:
|
||||
"""
|
||||
Close this config and release any associated resources.
|
||||
|
||||
Implements :meth:`AbstractConfig.close`.
|
||||
"""
|
||||
self.save()
|
||||
self.config = None
|
||||
@@ -0,0 +1,259 @@
|
||||
"""Windows config implementation."""
|
||||
|
||||
# spell-checker: words folderid deps hkey edcd
|
||||
import ctypes
|
||||
import functools
|
||||
import pathlib
|
||||
import sys
|
||||
import uuid
|
||||
import winreg
|
||||
from ctypes.wintypes import DWORD, HANDLE
|
||||
from typing import List, Optional, Union
|
||||
|
||||
from config import AbstractConfig, applongname, appname, logger, update_interval
|
||||
|
||||
assert sys.platform == 'win32'
|
||||
|
||||
REG_RESERVED_ALWAYS_ZERO = 0
|
||||
|
||||
# This is the only way to do this from python without external deps (which do this anyway).
|
||||
FOLDERID_Documents = uuid.UUID('{FDD39AD0-238F-46AF-ADB4-6C85480369C7}')
|
||||
FOLDERID_LocalAppData = uuid.UUID('{F1B32785-6FBA-4FCF-9D55-7B8E7F157091}')
|
||||
FOLDERID_Profile = uuid.UUID('{5E6C858F-0E22-4760-9AFE-EA3317B67173}')
|
||||
FOLDERID_SavedGames = uuid.UUID('{4C5C32FF-BB9D-43b0-B5B4-2D72E54EAAA4}')
|
||||
|
||||
SHGetKnownFolderPath = ctypes.windll.shell32.SHGetKnownFolderPath
|
||||
SHGetKnownFolderPath.argtypes = [ctypes.c_char_p, DWORD, HANDLE, ctypes.POINTER(ctypes.c_wchar_p)]
|
||||
|
||||
CoTaskMemFree = ctypes.windll.ole32.CoTaskMemFree
|
||||
CoTaskMemFree.argtypes = [ctypes.c_void_p]
|
||||
|
||||
|
||||
def known_folder_path(guid: uuid.UUID) -> Optional[str]:
|
||||
"""Look up a Windows GUID to actual folder path name."""
|
||||
buf = ctypes.c_wchar_p()
|
||||
if SHGetKnownFolderPath(ctypes.create_string_buffer(guid.bytes_le), 0, 0, ctypes.byref(buf)):
|
||||
return None
|
||||
retval = buf.value # copy data
|
||||
CoTaskMemFree(buf) # and free original
|
||||
return retval
|
||||
|
||||
|
||||
class WinConfig(AbstractConfig):
|
||||
"""Implementation of AbstractConfig for Windows."""
|
||||
|
||||
def __init__(self, do_winsparkle=True) -> None:
|
||||
self.app_dir_path = pathlib.Path(str(known_folder_path(FOLDERID_LocalAppData))) / appname
|
||||
self.app_dir_path.mkdir(exist_ok=True)
|
||||
|
||||
self.plugin_dir_path = self.app_dir_path / 'plugins'
|
||||
self.plugin_dir_path.mkdir(exist_ok=True)
|
||||
|
||||
if getattr(sys, 'frozen', False):
|
||||
self.respath_path = pathlib.Path(sys.executable).parent
|
||||
self.internal_plugin_dir_path = self.respath_path / 'plugins'
|
||||
|
||||
else:
|
||||
self.respath_path = pathlib.Path(__file__).parent.parent
|
||||
self.internal_plugin_dir_path = self.respath_path / 'plugins'
|
||||
|
||||
self.home_path = pathlib.Path.home()
|
||||
|
||||
journal_dir_str = known_folder_path(FOLDERID_SavedGames)
|
||||
journaldir = pathlib.Path(journal_dir_str) if journal_dir_str is not None else None
|
||||
self.default_journal_dir_path = None # type: ignore
|
||||
if journaldir is not None:
|
||||
self.default_journal_dir_path = journaldir / 'Frontier Developments' / 'Elite Dangerous'
|
||||
|
||||
create_key_defaults = functools.partial(
|
||||
winreg.CreateKeyEx,
|
||||
key=winreg.HKEY_CURRENT_USER,
|
||||
access=winreg.KEY_ALL_ACCESS | winreg.KEY_WOW64_64KEY,
|
||||
)
|
||||
|
||||
try:
|
||||
self.__reg_handle: winreg.HKEYType = create_key_defaults(
|
||||
sub_key=r'Software\Marginal\EDMarketConnector'
|
||||
)
|
||||
if do_winsparkle:
|
||||
self.__setup_winsparkle()
|
||||
|
||||
except OSError:
|
||||
logger.exception('could not create required registry keys')
|
||||
raise
|
||||
|
||||
self.identifier = applongname
|
||||
if (outdir_str := self.get_str('outdir')) is None or not pathlib.Path(outdir_str).is_dir():
|
||||
docs = known_folder_path(FOLDERID_Documents)
|
||||
self.set('outdir', docs if docs is not None else self.home)
|
||||
|
||||
def __setup_winsparkle(self):
|
||||
"""Ensure the necessary Registry keys for WinSparkle are present."""
|
||||
create_key_defaults = functools.partial(
|
||||
winreg.CreateKeyEx,
|
||||
key=winreg.HKEY_CURRENT_USER,
|
||||
access=winreg.KEY_ALL_ACCESS | winreg.KEY_WOW64_64KEY,
|
||||
)
|
||||
try:
|
||||
edcd_handle: winreg.HKEYType = create_key_defaults(sub_key=r'Software\EDCD\EDMarketConnector')
|
||||
winsparkle_reg: winreg.HKEYType = winreg.CreateKeyEx(
|
||||
edcd_handle, sub_key='WinSparkle', access=winreg.KEY_ALL_ACCESS | winreg.KEY_WOW64_64KEY
|
||||
)
|
||||
|
||||
except OSError:
|
||||
logger.exception('could not open WinSparkle handle')
|
||||
raise
|
||||
|
||||
# set WinSparkle defaults - https://github.com/vslavik/winsparkle/wiki/Registry-Settings
|
||||
winreg.SetValueEx(
|
||||
winsparkle_reg, 'UpdateInterval', REG_RESERVED_ALWAYS_ZERO, winreg.REG_SZ, str(update_interval)
|
||||
)
|
||||
|
||||
try:
|
||||
winreg.QueryValueEx(winsparkle_reg, 'CheckForUpdates')
|
||||
|
||||
except FileNotFoundError:
|
||||
# Key doesn't exist, set it to a default
|
||||
winreg.SetValueEx(winsparkle_reg, 'CheckForUpdates', REG_RESERVED_ALWAYS_ZERO, winreg.REG_SZ, '1')
|
||||
|
||||
winsparkle_reg.Close()
|
||||
edcd_handle.Close()
|
||||
|
||||
def __get_regentry(self, key: str) -> Union[None, list, str, int]:
|
||||
"""Access the Registry for the raw entry."""
|
||||
try:
|
||||
value, _type = winreg.QueryValueEx(self.__reg_handle, key)
|
||||
except FileNotFoundError:
|
||||
# Key doesn't exist
|
||||
return None
|
||||
|
||||
# The type returned is actually as we'd expect for each of these. The casts are here for type checkers and
|
||||
# For programmers who want to actually know what is going on
|
||||
if _type == winreg.REG_SZ:
|
||||
return str(value)
|
||||
|
||||
elif _type == winreg.REG_DWORD:
|
||||
return int(value)
|
||||
|
||||
elif _type == winreg.REG_MULTI_SZ:
|
||||
return list(value)
|
||||
|
||||
else:
|
||||
logger.warning(f'registry key {key=} returned unknown type {_type=} {value=}')
|
||||
return None
|
||||
|
||||
def get_str(self, key: str, *, default: str = None) -> str:
|
||||
"""
|
||||
Return the string referred to by the given key if it exists, or the default.
|
||||
|
||||
Implements :meth:`AbstractConfig.get_str`.
|
||||
"""
|
||||
res = self.__get_regentry(key)
|
||||
if res is None:
|
||||
return default # type: ignore # Yes it could be None, but we're _assuming_ that people gave us a default
|
||||
|
||||
elif not isinstance(res, str):
|
||||
raise ValueError(f'Data from registry is not a string: {type(res)=} {res=}')
|
||||
|
||||
return res
|
||||
|
||||
def get_list(self, key: str, *, default: list = None) -> list:
|
||||
"""
|
||||
Return the list referred to by the given key if it exists, or the default.
|
||||
|
||||
Implements :meth:`AbstractConfig.get_list`.
|
||||
"""
|
||||
res = self.__get_regentry(key)
|
||||
if res is None:
|
||||
return default # type: ignore # Yes it could be None, but we're _assuming_ that people gave us a default
|
||||
|
||||
elif not isinstance(res, list):
|
||||
raise ValueError(f'Data from registry is not a list: {type(res)=} {res}')
|
||||
|
||||
return res
|
||||
|
||||
def get_int(self, key: str, *, default: int = 0) -> int:
|
||||
"""
|
||||
Return the int referred to by key if it exists in the config.
|
||||
|
||||
Implements :meth:`AbstractConfig.get_int`.
|
||||
"""
|
||||
res = self.__get_regentry(key)
|
||||
if res is None:
|
||||
return default
|
||||
|
||||
if not isinstance(res, int):
|
||||
raise ValueError(f'Data from registry is not an int: {type(res)=} {res}')
|
||||
|
||||
return res
|
||||
|
||||
def get_bool(self, key: str, *, default: bool = None) -> bool:
|
||||
"""
|
||||
Return the bool referred to by the given key if it exists, or the default.
|
||||
|
||||
Implements :meth:`AbstractConfig.get_bool`.
|
||||
"""
|
||||
res = self.get_int(key, default=default) # type: ignore
|
||||
if res is None:
|
||||
return default # type: ignore # Yes it could be None, but we're _assuming_ that people gave us a default
|
||||
|
||||
return bool(res)
|
||||
|
||||
def set(self, key: str, val: Union[int, str, List[str], bool]) -> None:
|
||||
"""
|
||||
Set the given key's data to the given value.
|
||||
|
||||
Implements :meth:`AbstractConfig.set`.
|
||||
"""
|
||||
reg_type = None
|
||||
if isinstance(val, str):
|
||||
reg_type = winreg.REG_SZ
|
||||
winreg.SetValueEx(self.__reg_handle, key, REG_RESERVED_ALWAYS_ZERO, winreg.REG_SZ, val)
|
||||
|
||||
elif isinstance(val, int): # The original code checked for numbers.Integral, I dont think that is needed.
|
||||
reg_type = winreg.REG_DWORD
|
||||
|
||||
elif isinstance(val, list):
|
||||
reg_type = winreg.REG_MULTI_SZ
|
||||
|
||||
elif isinstance(val, bool):
|
||||
reg_type = winreg.REG_DWORD
|
||||
val = int(val)
|
||||
|
||||
else:
|
||||
raise ValueError(f'Unexpected type for value {type(val)=}')
|
||||
|
||||
# Its complaining about the list, it works, tested on windows, ignored.
|
||||
winreg.SetValueEx(self.__reg_handle, key, REG_RESERVED_ALWAYS_ZERO, reg_type, val) # type: ignore
|
||||
|
||||
def delete(self, key: str, *, suppress=False) -> None:
|
||||
"""
|
||||
Delete the given key from the config.
|
||||
|
||||
'key' is relative to the base Registry path we use.
|
||||
|
||||
Implements :meth:`AbstractConfig.delete`.
|
||||
"""
|
||||
try:
|
||||
winreg.DeleteValue(self.__reg_handle, key)
|
||||
except OSError:
|
||||
if suppress:
|
||||
return
|
||||
|
||||
raise
|
||||
|
||||
def save(self) -> None:
|
||||
"""
|
||||
Save the configuration.
|
||||
|
||||
Not required for WinConfig as Registry keys are flushed on write.
|
||||
"""
|
||||
pass
|
||||
|
||||
def close(self):
|
||||
"""
|
||||
Close this config and release any associated resources.
|
||||
|
||||
Implements :meth:`AbstractConfig.close`.
|
||||
"""
|
||||
self.__reg_handle.Close()
|
||||
+1
-1
Submodule coriolis-data updated: e499f68469...5ac8a2474e.
+8
-1
@@ -1,5 +1,12 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Build ship and module databases from https://github.com/EDCD/coriolis-data/ ."""
|
||||
"""
|
||||
Build ship and module databases from https://github.com/EDCD/coriolis-data/ .
|
||||
|
||||
This script also utilise the file outfitting.csv. Due to how collate.py
|
||||
both reads and writes to this file a local copy is used, in the root of the
|
||||
project structure, is used for this purpose. If you want to utilise the
|
||||
FDevIDs/ version of the file, copy it over the local one.
|
||||
"""
|
||||
|
||||
|
||||
import csv
|
||||
|
||||
+7
-8
@@ -2,11 +2,11 @@
|
||||
|
||||
import json
|
||||
import pathlib
|
||||
import sys
|
||||
import time
|
||||
import tkinter as tk
|
||||
from calendar import timegm
|
||||
from os.path import getsize, isdir, isfile
|
||||
from sys import platform
|
||||
from typing import Any, Dict
|
||||
|
||||
from config import config
|
||||
@@ -14,11 +14,11 @@ from EDMCLogging import get_main_logger
|
||||
|
||||
logger = get_main_logger()
|
||||
|
||||
if platform == 'darwin':
|
||||
if sys.platform == 'darwin':
|
||||
from watchdog.events import FileSystemEventHandler
|
||||
from watchdog.observers import Observer
|
||||
|
||||
elif platform == 'win32':
|
||||
elif sys.platform == 'win32':
|
||||
from watchdog.events import FileSystemEventHandler
|
||||
from watchdog.observers import Observer
|
||||
|
||||
@@ -71,26 +71,25 @@ class Dashboard(FileSystemEventHandler):
|
||||
# File system events are unreliable/non-existent over network drives on Linux.
|
||||
# We can't easily tell whether a path points to a network drive, so assume
|
||||
# any non-standard logdir might be on a network drive and poll instead.
|
||||
polling = platform != 'win32'
|
||||
if not polling and not self.observer:
|
||||
if not (sys.platform != 'win32') and not self.observer:
|
||||
logger.debug('Setting up observer...')
|
||||
self.observer = Observer()
|
||||
self.observer.daemon = True
|
||||
self.observer.start()
|
||||
logger.debug('Done')
|
||||
|
||||
elif polling and self.observer:
|
||||
elif (sys.platform != 'win32') and self.observer:
|
||||
logger.debug('Using polling, stopping observer...')
|
||||
self.observer.stop()
|
||||
self.observer = None # type: ignore
|
||||
logger.debug('Done')
|
||||
|
||||
if not self.observed and not polling:
|
||||
if not self.observed and not (sys.platform != 'win32'):
|
||||
logger.debug('Starting observer...')
|
||||
self.observed = self.observer.schedule(self, self.currentdir)
|
||||
logger.debug('Done')
|
||||
|
||||
logger.info(f'{polling and "Polling" or "Monitoring"} Dashboard "{self.currentdir}"')
|
||||
logger.info(f'{(sys.platform != "win32") and "Polling" or "Monitoring"} Dashboard "{self.currentdir}"')
|
||||
|
||||
# Even if we're not intending to poll, poll at least once to process pre-existing
|
||||
# data and to check whether the watchdog thread has crashed due to events not
|
||||
|
||||
+36
-5
@@ -1,10 +1,12 @@
|
||||
"""Simple HTTP listener to be used with debugging various EDMC sends."""
|
||||
import gzip
|
||||
import json
|
||||
import pathlib
|
||||
import tempfile
|
||||
import threading
|
||||
import zlib
|
||||
from http import server
|
||||
from typing import Any, Callable, Tuple, Union
|
||||
from typing import Any, Callable, Literal, Tuple, Union
|
||||
from urllib.parse import parse_qs
|
||||
|
||||
from config import appname
|
||||
@@ -30,8 +32,11 @@ class LoggingHandler(server.BaseHTTPRequestHandler):
|
||||
def do_POST(self) -> None: # noqa: N802 # I cant change it
|
||||
"""Handle POST."""
|
||||
logger.info(f"Received a POST for {self.path!r}!")
|
||||
data = self.rfile.read(int(self.headers['Content-Length'])).decode('utf-8', errors='replace')
|
||||
to_save = data
|
||||
data_raw: bytes = self.rfile.read(int(self.headers['Content-Length']))
|
||||
|
||||
encoding = self.headers.get('Content-Encoding')
|
||||
|
||||
to_save = data = self.get_printable(data_raw, encoding)
|
||||
|
||||
target_path = self.path
|
||||
if len(target_path) > 1 and target_path[0] == '/':
|
||||
@@ -42,7 +47,7 @@ class LoggingHandler(server.BaseHTTPRequestHandler):
|
||||
|
||||
response: Union[Callable[[str], str], str, None] = DEFAULT_RESPONSES.get(target_path)
|
||||
if callable(response):
|
||||
response = response(data)
|
||||
response = response(to_save)
|
||||
|
||||
self.send_response_only(200, "OK")
|
||||
if response is not None:
|
||||
@@ -64,12 +69,37 @@ class LoggingHandler(server.BaseHTTPRequestHandler):
|
||||
target_file = output_data_path / (safe_file_name(target_path) + '.log')
|
||||
if target_file.parent != output_data_path:
|
||||
logger.warning(f"REFUSING TO WRITE FILE THAT ISN'T IN THE RIGHT PLACE! {target_file=}")
|
||||
logger.warning(f'DATA FOLLOWS\n{data}')
|
||||
logger.warning(f'DATA FOLLOWS\n{data}') # type: ignore # mypy thinks data is a byte string here
|
||||
return
|
||||
|
||||
with output_lock, target_file.open('a') as f:
|
||||
f.write(to_save + "\n\n")
|
||||
|
||||
@staticmethod
|
||||
def get_printable(data: bytes, compression: Literal['deflate'] | Literal['gzip'] | str | None = None) -> str:
|
||||
"""
|
||||
Convert an incoming data stream into a string.
|
||||
|
||||
:param data: The data to convert
|
||||
:param compression: The compression to remove, defaults to None
|
||||
:raises ValueError: If compression is unknown
|
||||
:return: printable strings
|
||||
"""
|
||||
ret: bytes = b''
|
||||
if compression is None:
|
||||
ret = data
|
||||
|
||||
elif compression == 'deflate':
|
||||
ret = zlib.decompress(data)
|
||||
|
||||
elif compression == 'gzip':
|
||||
ret = gzip.decompress(data)
|
||||
|
||||
else:
|
||||
raise ValueError(f'Unknown encoding for data {compression!r}')
|
||||
|
||||
return ret.decode('utf-8', errors='replace')
|
||||
|
||||
|
||||
def safe_file_name(name: str):
|
||||
"""
|
||||
@@ -103,6 +133,7 @@ def generate_inara_response(raw_data: str) -> str:
|
||||
|
||||
|
||||
def extract_edsm_data(data: str) -> dict[str, Any]:
|
||||
"""Extract relevant data from edsm data."""
|
||||
res = parse_qs(data)
|
||||
return {name: data[0] for name, data in res.items()}
|
||||
|
||||
|
||||
+18
-15
@@ -17,7 +17,8 @@ this document aims to enable anyone to quickly get up to speed on how to:
|
||||
available versions and asks the user to upgrade.
|
||||
|
||||
Note that for Windows only a 32-bit application is supported at this time.
|
||||
This is principally due to the Windows Registry handling in config.py.
|
||||
This is principally due to the Windows Registry handling in
|
||||
`config/windows.py`.
|
||||
|
||||
|
||||
# Environment
|
||||
@@ -39,8 +40,8 @@ You will need several pieces of software installed, or the files from their
|
||||
auto-select some others). NB: If you have need to uninstall this it's
|
||||
"Windows Software Development Kit - Windows 10.0.19041.1" in
|
||||
"Apps & Features", *not* "Windows SDK AddOn".
|
||||
1. [Python](https://python.org): 32-bit version of Python 3.9 for Windows.
|
||||
[v3.9.5](https://www.python.org/downloads/release/python-395/) is the most
|
||||
1. [Python](https://python.org): 32-bit version of Python 3.10 for Windows.
|
||||
[v3.10.3](https://www.python.org/downloads/release/python-3103/) is the most
|
||||
recently tested version. You need the `Windows x86 executable installer`
|
||||
file, for the 32-bit version. Double-check the version against the
|
||||
`.python.version` file, as it should always contain the intended version.
|
||||
@@ -103,7 +104,7 @@ that.
|
||||
registry entries on Windows.
|
||||
|
||||
1. Application names, version and URL of the file with latest release
|
||||
information. These are all in the `config.py` file. See the
|
||||
information. These are all in the `config/__init__.py` file. See the
|
||||
`from config import ...` lines in setup.py.
|
||||
1. `appname`: The short appname, e.g. 'EDMarketConnector'
|
||||
2. `applongname`: The long appname, e.g. 'E:D Market Connector'
|
||||
@@ -206,24 +207,24 @@ following.
|
||||
|
||||
1. You should by this time know what changes are going into the release, and
|
||||
which branch (stable or beta) you'll be ultimately updating.
|
||||
1. So as to make backing out any mistakes easier create a new branch for this
|
||||
2. So as to make backing out any mistakes easier create a new branch for this
|
||||
release, using a name like `release-4.0.2`. Do not use the tag
|
||||
`Release/4.0.2` form, that could cause confusion.
|
||||
1. `git checkout stable` # Or whichever other branch is appropriate.
|
||||
1. `git pull origin` # Ensures local branch is up to date.
|
||||
1. `git checkout -b release-4.0.2`
|
||||
|
||||
1. Get all the relevant code changes into this branch. This might mean
|
||||
3. Get all the relevant code changes into this branch. This might mean
|
||||
merging from another branch, such as an issue-specific one, or possibly
|
||||
cherry-picking commits. See [Contributing Guidelines](../Contributing.md)
|
||||
for how such branches should be named.
|
||||
|
||||
1. You should have already decided on the new
|
||||
[Version String](#Version-Strings), as it's specified in `config.py`. You'll
|
||||
need to redo the `.msi` build if you forgot. **Remember to do a fresh git
|
||||
commit for this change.**
|
||||
4. You should have already decided on the new
|
||||
[Version String](#Version-Strings), as it's specified in `config/__init__.py`.
|
||||
You'll need to redo the `.msi` build if you forgot. **Remember to do a fresh
|
||||
git commit for this change.**
|
||||
|
||||
1. Prepare a changelog text for the release. You'll need this both for the
|
||||
5. Prepare a changelog text for the release. You'll need this both for the
|
||||
GitHub release and the contents of the `edmarketconnector.xml` file if making
|
||||
a `stable` release, as well as any social media posts you make.
|
||||
1. The primary location of the changelog is [Changelog.md](../Changelog.md) -
|
||||
@@ -408,7 +409,7 @@ changelog text to the correct section(s):
|
||||
|
||||
`https://raw.githubusercontent.com/EDCD/EDMarketConnector/releases/edmarketconnector.xml`
|
||||
|
||||
as per `config.py` `update_feed`.
|
||||
as per `config/__init__.py` `update_feed`.
|
||||
|
||||
NB: It can take some time for GitHub to show the changed
|
||||
edmarketconnector.xml contents to all users.
|
||||
@@ -432,12 +433,14 @@ If you are making a pre-release then:
|
||||
|
||||
When changing the Python version (Major.Minor.Patch) used:
|
||||
|
||||
1. Change the contents of `.python-version` so that pyenv notices.
|
||||
1. Change the contents of `.python-version` so that pyenv notices. All of
|
||||
the GitHub workflows now reference this via the `setup-python`
|
||||
`python-version-file` directive.
|
||||
|
||||
1. Any version change:
|
||||
|
||||
1. `.github/workflows/windows-build.yml` needs updating to have the GitHub
|
||||
based build use the correct version.
|
||||
1. `ChangeLog.md` - The `We now test against, and package with, Python
|
||||
M.m.P.` line.
|
||||
|
||||
1. Major or Minor level changes:
|
||||
|
||||
|
||||
@@ -8,10 +8,11 @@ import logging
|
||||
import tkinter as tk
|
||||
from typing import Optional
|
||||
|
||||
import myNotebook as nb
|
||||
import myNotebook as nb # noqa: N813
|
||||
from config import appname, config
|
||||
|
||||
PLUGIN_NAME = "ClickCounter"
|
||||
# This **MUST** match the name of the folder the plugin is in.
|
||||
PLUGIN_NAME = "click_counter"
|
||||
|
||||
logger = logging.getLogger(f"{appname}.{PLUGIN_NAME}")
|
||||
|
||||
@@ -76,7 +77,9 @@ class ClickCounter:
|
||||
:param cmdr: The current ED Commander
|
||||
:param is_beta: Whether or not EDMC is currently marked as in beta mode
|
||||
"""
|
||||
config.set('click_counter_count', self.click_count.get())
|
||||
# You need to cast to `int` here to store *as* an `int`, so that
|
||||
# `config.get_int()` will work for re-loading the value.
|
||||
config.set('click_counter_count', int(self.click_count.get())) # type: ignore
|
||||
|
||||
def setup_main_ui(self, parent: tk.Frame) -> tk.Frame:
|
||||
"""
|
||||
@@ -92,7 +95,7 @@ class ClickCounter:
|
||||
button = tk.Button(
|
||||
frame,
|
||||
text="Count me",
|
||||
command=lambda: self.click_count.set(str(int(self.click_count.get()) + 1))
|
||||
command=lambda: self.click_count.set(str(int(self.click_count.get()) + 1)) # type: ignore
|
||||
)
|
||||
button.grid(row=current_row)
|
||||
current_row += 1
|
||||
@@ -107,20 +110,45 @@ cc = ClickCounter()
|
||||
# Note that all of these could be simply replaced with something like:
|
||||
# plugin_start3 = cc.on_load
|
||||
def plugin_start3(plugin_dir: str) -> str:
|
||||
"""
|
||||
Handle start up of the plugin.
|
||||
|
||||
See PLUGINS.md#startup
|
||||
"""
|
||||
return cc.on_load()
|
||||
|
||||
|
||||
def plugin_stop() -> None:
|
||||
"""
|
||||
Handle shutdown of the plugin.
|
||||
|
||||
See PLUGINS.md#shutdown
|
||||
"""
|
||||
return cc.on_unload()
|
||||
|
||||
|
||||
def plugin_prefs(parent: nb.Notebook, cmdr: str, is_beta: bool) -> Optional[tk.Frame]:
|
||||
"""
|
||||
Handle preferences tab for the plugin.
|
||||
|
||||
See PLUGINS.md#configuration
|
||||
"""
|
||||
return cc.setup_preferences(parent, cmdr, is_beta)
|
||||
|
||||
|
||||
def prefs_changed(cmdr: str, is_beta: bool) -> None:
|
||||
"""
|
||||
Handle any changed preferences for the plugin.
|
||||
|
||||
See PLUGINS.md#configuration
|
||||
"""
|
||||
return cc.on_preferences_closed(cmdr, is_beta)
|
||||
|
||||
|
||||
def plugin_app(parent: tk.Frame) -> Optional[tk.Frame]:
|
||||
"""
|
||||
Set up the UI of the plugin.
|
||||
|
||||
See PLUGINS.md#display
|
||||
"""
|
||||
return cc.setup_main_ui(parent)
|
||||
+5
-5
@@ -1,10 +1,10 @@
|
||||
"""Implements locking of Journal directory."""
|
||||
|
||||
import pathlib
|
||||
import sys
|
||||
import tkinter as tk
|
||||
from enum import Enum
|
||||
from os import getpid as os_getpid
|
||||
from sys import platform
|
||||
from tkinter import ttk
|
||||
from typing import TYPE_CHECKING, Callable, Optional
|
||||
|
||||
@@ -94,7 +94,7 @@ class JournalLock:
|
||||
|
||||
:return: LockResult - See the class Enum definition
|
||||
"""
|
||||
if platform == 'win32':
|
||||
if sys.platform == 'win32':
|
||||
logger.trace_if('journal-lock', 'win32, using msvcrt')
|
||||
# win32 doesn't have fcntl, so we have to use msvcrt
|
||||
import msvcrt
|
||||
@@ -143,7 +143,7 @@ class JournalLock:
|
||||
return True # We weren't locked, and still aren't
|
||||
|
||||
unlocked = False
|
||||
if platform == 'win32':
|
||||
if sys.platform == 'win32':
|
||||
logger.trace_if('journal-lock', 'win32, using msvcrt')
|
||||
# win32 doesn't have fcntl, so we have to use msvcrt
|
||||
import msvcrt
|
||||
@@ -206,10 +206,10 @@ class JournalLock:
|
||||
self.title(_('Journal directory already locked'))
|
||||
|
||||
# remove decoration
|
||||
if platform == 'win32':
|
||||
if sys.platform == 'win32':
|
||||
self.attributes('-toolwindow', tk.TRUE)
|
||||
|
||||
elif platform == 'darwin':
|
||||
elif sys.platform == 'darwin':
|
||||
# http://wiki.tcl.tk/13428
|
||||
parent.call('tk::unsupported::MacWindowStyle', 'style', self, 'utility')
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@ import warnings
|
||||
from collections import OrderedDict
|
||||
from contextlib import suppress
|
||||
from os.path import basename, dirname, isdir, isfile, join
|
||||
from sys import platform
|
||||
from typing import TYPE_CHECKING, Dict, Iterable, Optional, Set, TextIO, Union, cast
|
||||
|
||||
if TYPE_CHECKING:
|
||||
@@ -37,12 +36,12 @@ LANGUAGE_ID = '!Language'
|
||||
LOCALISATION_DIR = 'L10n'
|
||||
|
||||
|
||||
if platform == 'darwin':
|
||||
if sys.platform == 'darwin':
|
||||
from Foundation import ( # type: ignore # exists on Darwin
|
||||
NSLocale, NSNumberFormatter, NSNumberFormatterDecimalStyle
|
||||
)
|
||||
|
||||
elif platform == 'win32':
|
||||
elif sys.platform == 'win32':
|
||||
import ctypes
|
||||
from ctypes.wintypes import BOOL, DWORD, LPCVOID, LPCWSTR, LPWSTR
|
||||
if TYPE_CHECKING:
|
||||
@@ -176,7 +175,7 @@ class _Translations:
|
||||
def available(self) -> Set[str]:
|
||||
"""Return a list of available language codes."""
|
||||
path = self.respath()
|
||||
if getattr(sys, 'frozen', False) and platform == 'darwin':
|
||||
if getattr(sys, 'frozen', False) and sys.platform == 'darwin':
|
||||
available = {
|
||||
x[:-len('.lproj')] for x in os.listdir(path)
|
||||
if x.endswith('.lproj') and isfile(join(x, 'Localizable.strings'))
|
||||
@@ -204,7 +203,7 @@ class _Translations:
|
||||
def respath(self) -> pathlib.Path:
|
||||
"""Path to localisation files."""
|
||||
if getattr(sys, 'frozen', False):
|
||||
if platform == 'darwin':
|
||||
if sys.platform == 'darwin':
|
||||
return (pathlib.Path(sys.executable).parents[0] / os.pardir / 'Resources').resolve()
|
||||
|
||||
return pathlib.Path(dirname(sys.executable)) / LOCALISATION_DIR
|
||||
@@ -233,7 +232,7 @@ class _Translations:
|
||||
except OSError:
|
||||
logger.exception(f'could not open {f}')
|
||||
|
||||
elif getattr(sys, 'frozen', False) and platform == 'darwin':
|
||||
elif getattr(sys, 'frozen', False) and sys.platform == 'darwin':
|
||||
return (self.respath() / f'{lang}.lproj' / 'Localizable.strings').open('r', encoding='utf-16')
|
||||
|
||||
return (self.respath() / f'{lang}.strings').open('r', encoding='utf-8')
|
||||
@@ -243,7 +242,7 @@ class _Locale:
|
||||
"""Locale holds a few utility methods to convert data to and from localized versions."""
|
||||
|
||||
def __init__(self) -> None:
|
||||
if platform == 'darwin':
|
||||
if sys.platform == 'darwin':
|
||||
self.int_formatter = NSNumberFormatter.alloc().init()
|
||||
self.int_formatter.setNumberStyle_(NSNumberFormatterDecimalStyle)
|
||||
self.float_formatter = NSNumberFormatter.alloc().init()
|
||||
@@ -276,7 +275,7 @@ class _Locale:
|
||||
if decimals == 0 and not isinstance(number, numbers.Integral):
|
||||
number = int(round(number))
|
||||
|
||||
if platform == 'darwin':
|
||||
if sys.platform == 'darwin':
|
||||
if not decimals and isinstance(number, numbers.Integral):
|
||||
return self.int_formatter.stringFromNumber_(number)
|
||||
|
||||
@@ -298,7 +297,7 @@ class _Locale:
|
||||
:param string: The string to convert
|
||||
:return: None if the string cannot be parsed, otherwise an int or float dependant on input data.
|
||||
"""
|
||||
if platform == 'darwin':
|
||||
if sys.platform == 'darwin':
|
||||
return self.float_formatter.numberFromString_(string)
|
||||
|
||||
with suppress(ValueError):
|
||||
@@ -309,7 +308,7 @@ class _Locale:
|
||||
|
||||
return None
|
||||
|
||||
def preferred_languages(self) -> Iterable[str]:
|
||||
def preferred_languages(self) -> Iterable[str]: # noqa: CCR001
|
||||
"""
|
||||
Return a list of preferred language codes.
|
||||
|
||||
@@ -320,34 +319,46 @@ class _Locale:
|
||||
|
||||
:return: The preferred language list
|
||||
"""
|
||||
if platform == 'darwin':
|
||||
return NSLocale.preferredLanguages()
|
||||
languages: Iterable[str]
|
||||
if sys.platform == 'darwin':
|
||||
languages = NSLocale.preferredLanguages()
|
||||
|
||||
elif platform != 'win32':
|
||||
elif sys.platform != 'win32':
|
||||
# POSIX
|
||||
lang = locale.getlocale()[0]
|
||||
return lang and [lang.replace('_', '-')] or []
|
||||
languages = lang and [lang.replace('_', '-')] or []
|
||||
|
||||
def wszarray_to_list(array):
|
||||
offset = 0
|
||||
while offset < len(array):
|
||||
sz = ctypes.wstring_at(ctypes.addressof(array) + offset*2)
|
||||
if sz:
|
||||
yield sz
|
||||
offset += len(sz)+1
|
||||
else:
|
||||
def wszarray_to_list(array):
|
||||
offset = 0
|
||||
while offset < len(array):
|
||||
sz = ctypes.wstring_at(ctypes.addressof(array) + offset*2)
|
||||
if sz:
|
||||
yield sz
|
||||
offset += len(sz)+1
|
||||
|
||||
else:
|
||||
break
|
||||
else:
|
||||
break
|
||||
|
||||
num = ctypes.c_ulong()
|
||||
size = ctypes.c_ulong(0)
|
||||
if GetUserPreferredUILanguages(MUI_LANGUAGE_NAME, ctypes.byref(num), None, ctypes.byref(size)) and size.value:
|
||||
buf = ctypes.create_unicode_buffer(size.value)
|
||||
num = ctypes.c_ulong()
|
||||
size = ctypes.c_ulong(0)
|
||||
languages = []
|
||||
if GetUserPreferredUILanguages(
|
||||
MUI_LANGUAGE_NAME, ctypes.byref(num), None, ctypes.byref(size)
|
||||
) and size.value:
|
||||
buf = ctypes.create_unicode_buffer(size.value)
|
||||
|
||||
if GetUserPreferredUILanguages(MUI_LANGUAGE_NAME, ctypes.byref(num), ctypes.byref(buf), ctypes.byref(size)):
|
||||
return wszarray_to_list(buf)
|
||||
if GetUserPreferredUILanguages(
|
||||
MUI_LANGUAGE_NAME, ctypes.byref(num), ctypes.byref(buf), ctypes.byref(size)
|
||||
):
|
||||
languages = wszarray_to_list(buf)
|
||||
|
||||
return []
|
||||
# HACK: <n/a> | 2021-12-11: OneSky calls "Chinese Simplified" "zh-Hans"
|
||||
# in the name of the file, but that will be zh-CN in terms of
|
||||
# locale. So map zh-CN -> zh-Hans
|
||||
languages = ['zh-Hans' if lang == 'zh-CN' else lang for lang in languages]
|
||||
|
||||
return languages
|
||||
|
||||
|
||||
# singletons
|
||||
|
||||
+4
-1
@@ -13,7 +13,10 @@ import util_ships
|
||||
|
||||
def export(data, filename=None):
|
||||
|
||||
string = json.dumps(companion.ship(data), ensure_ascii=False, indent=2, sort_keys=True, separators=(',', ': ')) # pretty print
|
||||
string = json.dumps(
|
||||
companion.ship(data), cls=companion.CAPIDataEncoder,
|
||||
ensure_ascii=False, indent=2, sort_keys=True, separators=(',', ': ')
|
||||
) # pretty print
|
||||
|
||||
if filename:
|
||||
with open(filename, 'wt') as h:
|
||||
|
||||
+235
-47
@@ -1,16 +1,19 @@
|
||||
"""Monitor for new Journal files and contents of latest."""
|
||||
# v [sic]
|
||||
# spell-checker: words onfoot unforseen relog fsdjump suitloadoutid slotid suitid loadoutid fauto Intimidator
|
||||
# spell-checker: words joinacrew quitacrew sellshiponrebuy newbal navroute npccrewpaidwage sauto
|
||||
|
||||
import json
|
||||
import pathlib
|
||||
import queue
|
||||
import re
|
||||
import sys
|
||||
import threading
|
||||
from calendar import timegm
|
||||
from collections import OrderedDict, defaultdict
|
||||
from os import SEEK_END, SEEK_SET, listdir
|
||||
from os.path import basename, expanduser, isdir, join
|
||||
from sys import platform
|
||||
from time import gmtime, localtime, sleep, strftime, strptime, time
|
||||
from os.path import basename, expanduser, getctime, isdir, join
|
||||
from time import gmtime, localtime, mktime, sleep, strftime, strptime, time
|
||||
from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, MutableMapping, Optional
|
||||
from typing import OrderedDict as OrderedDictT
|
||||
from typing import Tuple
|
||||
@@ -23,14 +26,18 @@ from config import config
|
||||
from edmc_data import edmc_suit_shortnames, edmc_suit_symbol_localised
|
||||
from EDMCLogging import get_main_logger
|
||||
|
||||
# spell-checker: words navroute
|
||||
|
||||
logger = get_main_logger()
|
||||
STARTUP = 'journal.startup'
|
||||
MAX_NAVROUTE_DISCREPANCY = 5 # Timestamp difference in seconds
|
||||
MAX_FCMATERIALS_DISCREPANCY = 5 # Timestamp difference in seconds
|
||||
|
||||
if TYPE_CHECKING:
|
||||
def _(x: str) -> str:
|
||||
return x
|
||||
|
||||
if platform == 'darwin':
|
||||
if sys.platform == 'darwin':
|
||||
from fcntl import fcntl
|
||||
|
||||
from AppKit import NSWorkspace
|
||||
@@ -38,7 +45,7 @@ if platform == 'darwin':
|
||||
from watchdog.observers import Observer
|
||||
F_GLOBAL_NOCACHE = 55
|
||||
|
||||
elif platform == 'win32':
|
||||
elif sys.platform == 'win32':
|
||||
import ctypes
|
||||
from ctypes.wintypes import BOOL, HWND, LPARAM, LPWSTR
|
||||
|
||||
@@ -59,6 +66,10 @@ elif platform == 'win32':
|
||||
else:
|
||||
# Linux's inotify doesn't work over CIFS or NFS, so poll
|
||||
FileSystemEventHandler = object # dummy
|
||||
if TYPE_CHECKING:
|
||||
# this isn't ever used, but this will make type checking happy
|
||||
from watchdog.events import FileCreatedEvent
|
||||
from watchdog.observers import Observer
|
||||
|
||||
|
||||
# Journal handler
|
||||
@@ -70,7 +81,8 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
|
||||
_POLL = 1 # Polling is cheap, so do it often
|
||||
_RE_CANONICALISE = re.compile(r'\$(.+)_name;')
|
||||
_RE_CATEGORY = re.compile(r'\$MICRORESOURCE_CATEGORY_(.+);')
|
||||
_RE_LOGFILE = re.compile(r'^Journal(Alpha|Beta)?\.[0-9]{12}\.[0-9]{2}\.log$')
|
||||
_RE_LOGFILE = re.compile(r'^Journal(Alpha|Beta)?\.[0-9]{2,4}(-)?[0-9]{2}(-)?[0-9]{2}(T)?[0-9]{2}[0-9]{2}[0-9]{2}'
|
||||
r'\.[0-9]{2}\.log$')
|
||||
_RE_SHIP_ONFOOT = re.compile(r'^(FlightSuit|UtilitySuit_Class.|TacticalSuit_Class.|ExplorationSuit_Class.)$')
|
||||
|
||||
def __init__(self) -> None:
|
||||
@@ -92,6 +104,8 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
|
||||
# If 1 or 2 a LoadGame event will happen when the game goes live.
|
||||
# If 3 we need to inject a special 'StartUp' event since consumers won't see the LoadGame event.
|
||||
self.live = False
|
||||
# And whilst we're parsing *only to catch up on state*, we might not want to fully process some things
|
||||
self.catching_up = False
|
||||
|
||||
self.game_was_running = False # For generation of the "ShutDown" event
|
||||
|
||||
@@ -111,6 +125,12 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
|
||||
self.systempopulation: Optional[int] = None
|
||||
self.started: Optional[int] = None # Timestamp of the LoadGame event
|
||||
|
||||
self._navroute_retries_remaining = 0
|
||||
self._last_navroute_journal_timestamp: Optional[float] = None
|
||||
|
||||
self._fcmaterials_retries_remaining = 0
|
||||
self._last_fcmaterials_journal_timestamp: Optional[float] = None
|
||||
|
||||
self.__init_state()
|
||||
|
||||
def __init_state(self) -> None:
|
||||
@@ -165,8 +185,11 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
|
||||
'SuitLoadouts': {},
|
||||
'Taxi': None, # True whenever we are _in_ a taxi. ie, this is reset on Disembark etc.
|
||||
'Dropship': None, # Best effort as to whether or not the above taxi is a dropship.
|
||||
'StarPos': None, # Best effort current system's galaxy position.
|
||||
'Body': None,
|
||||
'BodyType': None,
|
||||
|
||||
'NavRoute': None,
|
||||
}
|
||||
|
||||
def start(self, root: 'tkinter.Tk') -> bool: # noqa: CCR001
|
||||
@@ -196,15 +219,10 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
|
||||
|
||||
self.currentdir = logdir
|
||||
|
||||
# Latest pre-existing logfile - e.g. if E:D is already running. Assumes logs sort alphabetically.
|
||||
# Latest pre-existing logfile - e.g. if E:D is already running.
|
||||
# Do this before setting up the observer in case the journal directory has gone away
|
||||
try: # TODO: This should be replaced with something specific ONLY wrapping listdir
|
||||
logfiles = sorted(
|
||||
(x for x in listdir(self.currentdir) if self._RE_LOGFILE.search(x)),
|
||||
key=lambda x: x.split('.')[1:]
|
||||
)
|
||||
|
||||
self.logfile = join(self.currentdir, logfiles[-1]) if logfiles else None # type: ignore
|
||||
self.logfile = self.journal_newest_filename(self.currentdir)
|
||||
|
||||
except Exception:
|
||||
logger.exception('Failed to find latest logfile')
|
||||
@@ -215,7 +233,7 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
|
||||
# File system events are unreliable/non-existent over network drives on Linux.
|
||||
# We can't easily tell whether a path points to a network drive, so assume
|
||||
# any non-standard logdir might be on a network drive and poll instead.
|
||||
polling = bool(config.get_str('journaldir')) and platform != 'win32'
|
||||
polling = bool(config.get_str('journaldir')) and sys.platform != 'win32'
|
||||
if not polling and not self.observer:
|
||||
logger.debug('Not polling, no observer, starting an observer...')
|
||||
self.observer = Observer()
|
||||
@@ -247,6 +265,28 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
|
||||
logger.debug('Done.')
|
||||
return True
|
||||
|
||||
def journal_newest_filename(self, journals_dir) -> Optional[str]:
|
||||
"""
|
||||
Determine the newest Journal file name.
|
||||
|
||||
:param journals_dir: The directory to check
|
||||
:return: The `str` form of the full path to the newest Journal file
|
||||
"""
|
||||
# os.listdir(None) returns CWD's contents
|
||||
if journals_dir is None:
|
||||
return None
|
||||
|
||||
journal_files = (x for x in listdir(journals_dir) if self._RE_LOGFILE.search(x))
|
||||
if journal_files:
|
||||
# Odyssey Update 11 has, e.g. Journal.2022-03-15T152503.01.log
|
||||
# Horizons Update 11 equivalent: Journal.220315152335.01.log
|
||||
# So we can no longer use a naive sort.
|
||||
journals_dir_path = pathlib.Path(journals_dir)
|
||||
journal_files = (journals_dir_path / pathlib.Path(x) for x in journal_files)
|
||||
return str(max(journal_files, key=getctime))
|
||||
|
||||
return None
|
||||
|
||||
def stop(self) -> None:
|
||||
"""Stop journal monitoring."""
|
||||
logger.debug('Stopping monitoring Journal')
|
||||
@@ -272,6 +312,7 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
|
||||
if self.observed:
|
||||
logger.debug('self.observed: Calling unschedule_all()')
|
||||
self.observed = None
|
||||
assert self.observer is not None, 'Observer was none but it is in use?'
|
||||
self.observer.unschedule_all()
|
||||
logger.debug('Done')
|
||||
|
||||
@@ -331,9 +372,10 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
|
||||
logfile = self.logfile
|
||||
if logfile:
|
||||
loghandle: BinaryIO = open(logfile, 'rb', 0) # unbuffered
|
||||
if platform == 'darwin':
|
||||
if sys.platform == 'darwin':
|
||||
fcntl(loghandle, F_GLOBAL_NOCACHE, -1) # required to avoid corruption on macOS over SMB
|
||||
|
||||
self.catching_up = True
|
||||
for line in loghandle:
|
||||
try:
|
||||
if b'"event":"Location"' in line:
|
||||
@@ -344,6 +386,7 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
|
||||
except Exception as ex:
|
||||
logger.debug(f'Invalid journal entry:\n{line!r}\n', exc_info=ex)
|
||||
|
||||
self.catching_up = False
|
||||
log_pos = loghandle.tell()
|
||||
|
||||
else:
|
||||
@@ -382,29 +425,29 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
|
||||
self.event_queue.put(None)
|
||||
self.live = False
|
||||
|
||||
emitter = None
|
||||
# Watchdog thread -- there is a way to get this by using self.observer.emitters and checking for an attribute:
|
||||
# watch, but that may have unforseen differences in behaviour.
|
||||
emitter = self.observed and self.observer._emitter_for_watch[self.observed] # Note: Uses undocumented attribute
|
||||
if self.observed:
|
||||
assert self.observer is not None, 'self.observer is None but also in use?'
|
||||
# Note: Uses undocumented attribute
|
||||
emitter = self.observed and self.observer._emitter_for_watch[self.observed]
|
||||
|
||||
logger.debug('Entering loop...')
|
||||
while True:
|
||||
|
||||
# Check whether new log file started, e.g. client (re)started.
|
||||
if emitter and emitter.is_alive():
|
||||
newlogfile = self.logfile # updated by on_created watchdog callback
|
||||
new_journal_file: Optional[str] = self.logfile # updated by on_created watchdog callback
|
||||
|
||||
else:
|
||||
# Poll
|
||||
try:
|
||||
logfiles = sorted(
|
||||
(x for x in listdir(self.currentdir) if self._RE_LOGFILE.search(x)),
|
||||
key=lambda x: x.split('.')[1:]
|
||||
)
|
||||
|
||||
newlogfile = join(self.currentdir, logfiles[-1]) if logfiles else None # type: ignore
|
||||
new_journal_file = self.journal_newest_filename(self.currentdir)
|
||||
|
||||
except Exception:
|
||||
logger.exception('Failed to find latest logfile')
|
||||
newlogfile = None
|
||||
new_journal_file = None
|
||||
|
||||
if logfile:
|
||||
loghandle.seek(0, SEEK_END) # required to make macOS notice log change over SMB
|
||||
@@ -430,17 +473,17 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
|
||||
|
||||
log_pos = loghandle.tell()
|
||||
|
||||
if logfile != newlogfile:
|
||||
if logfile != new_journal_file:
|
||||
for _ in range(10):
|
||||
logger.trace_if('journal.file', "****")
|
||||
logger.info(f'New Journal File. Was "{logfile}", now "{newlogfile}"')
|
||||
logfile = newlogfile
|
||||
logger.info(f'New Journal File. Was "{logfile}", now "{new_journal_file}"')
|
||||
logfile = new_journal_file
|
||||
if loghandle:
|
||||
loghandle.close()
|
||||
|
||||
if logfile:
|
||||
loghandle = open(logfile, 'rb', 0) # unbuffered
|
||||
if platform == 'darwin':
|
||||
if sys.platform == 'darwin':
|
||||
fcntl(loghandle, F_GLOBAL_NOCACHE, -1) # required to avoid corruption on macOS over SMB
|
||||
|
||||
log_pos = 0
|
||||
@@ -494,6 +537,8 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
|
||||
entry: MutableMapping[str, Any] = json.loads(line, object_pairs_hook=OrderedDict)
|
||||
entry['timestamp'] # we expect this to exist # TODO: replace with assert? or an if key in check
|
||||
|
||||
self.__navroute_retry()
|
||||
|
||||
event_type = entry['event'].lower()
|
||||
if event_type == 'fileheader':
|
||||
self.live = False
|
||||
@@ -554,10 +599,12 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
|
||||
'Horizons': entry['Horizons'], # From 3.0
|
||||
'Odyssey': entry.get('Odyssey', False), # From 4.0 Odyssey
|
||||
'Loan': entry['Loan'],
|
||||
'Engineers': {},
|
||||
'Rank': {},
|
||||
'Reputation': {},
|
||||
'Statistics': {},
|
||||
# For Odyssey, by 4.0.0.100, and at least from Horizons 3.8.0.201 the order of events changed
|
||||
# to LoadGame being after some 'status' events.
|
||||
# 'Engineers': {}, # 'EngineerProgress' event now before 'LoadGame'
|
||||
# 'Rank': {}, # 'Rank'/'Progress' events now before 'LoadGame'
|
||||
# 'Reputation': {}, # 'Reputation' event now before 'LoadGame'
|
||||
'Statistics': {}, # Still after 'LoadGame' in 4.0.0.903
|
||||
'Role': None,
|
||||
'Taxi': None,
|
||||
'Dropship': None,
|
||||
@@ -683,7 +730,7 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
|
||||
# This event is logged when a player (on foot) gets into a ship or SRV
|
||||
# Parameters:
|
||||
# • SRV: true if getting into SRV, false if getting into a ship
|
||||
# • Taxi: true when boarding a taxi transposrt ship
|
||||
# • Taxi: true when boarding a taxi transport ship
|
||||
# • Multicrew: true when boarding another player’s vessel
|
||||
# • ID: player’s ship ID (if players own vessel)
|
||||
# • StarSystem
|
||||
@@ -711,7 +758,7 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
|
||||
#
|
||||
# Parameters:
|
||||
# • SRV: true if getting out of SRV, false if getting out of a ship
|
||||
# • Taxi: true when getting out of a taxi transposrt ship
|
||||
# • Taxi: true when getting out of a taxi transport ship
|
||||
# • Multicrew: true when getting out of another player’s vessel
|
||||
# • ID: player’s ship ID (if players own vessel)
|
||||
# • StarSystem
|
||||
@@ -773,13 +820,18 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
|
||||
self.state['BodyType'] = None
|
||||
|
||||
if 'StarPos' in entry:
|
||||
self.coordinates = tuple(entry['StarPos']) # type: ignore
|
||||
# Plugins need this as well, so copy in state
|
||||
self.state['StarPos'] = self.coordinates = tuple(entry['StarPos']) # type: ignore
|
||||
|
||||
self.systemaddress = entry.get('SystemAddress')
|
||||
|
||||
self.systempopulation = entry.get('Population')
|
||||
|
||||
self.system = 'CQC' if entry['StarSystem'] == 'ProvingGround' else entry['StarSystem']
|
||||
if entry['StarSystem'] == 'ProvingGround':
|
||||
self.system = 'CQC'
|
||||
|
||||
else:
|
||||
self.system = entry['StarSystem']
|
||||
|
||||
self.station = entry.get('StationName') # May be None
|
||||
# If on foot in-station 'Docked' is false, but we have a
|
||||
@@ -1210,6 +1262,7 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
|
||||
}
|
||||
|
||||
except KeyError:
|
||||
# TODO: Log the exception details too, for some clue about *which* key
|
||||
logger.error(f"LoadoutEquipModule: {entry}")
|
||||
|
||||
elif event_type == 'loadoutremovemodule':
|
||||
@@ -1301,17 +1354,25 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
|
||||
self.state['Credits'] += entry.get('Refund', 0)
|
||||
self.state['Taxi'] = False
|
||||
|
||||
elif event_type == 'navroute':
|
||||
elif event_type == 'navroute' and not self.catching_up:
|
||||
# assume we've failed out the gate, then pull it back if things are fine
|
||||
self._last_navroute_journal_timestamp = mktime(strptime(entry['timestamp'], '%Y-%m-%dT%H:%M:%SZ'))
|
||||
self._navroute_retries_remaining = 11
|
||||
|
||||
# Added in ED 3.7 - multi-hop route details in NavRoute.json
|
||||
with open(join(self.currentdir, 'NavRoute.json'), 'rb') as rf: # type: ignore
|
||||
try:
|
||||
entry = json.load(rf)
|
||||
# rather than duplicating this, lets just call the function
|
||||
if self.__navroute_retry():
|
||||
entry = self.state['NavRoute']
|
||||
|
||||
except json.JSONDecodeError:
|
||||
logger.exception('Failed decoding NavRoute.json', exc_info=True)
|
||||
elif event_type == 'fcmaterials' and not self.catching_up:
|
||||
# assume we've failed out the gate, then pull it back if things are fine
|
||||
self._last_fcmaterials_journal_timestamp = mktime(strptime(entry['timestamp'], '%Y-%m-%dT%H:%M:%SZ'))
|
||||
self._fcmaterials_retries_remaining = 11
|
||||
|
||||
else:
|
||||
self.state['NavRoute'] = entry
|
||||
# Added in ED 4.0.0.1300 - Fleet Carrier Materials market in FCMaterials.json
|
||||
# rather than duplicating this, lets just call the function
|
||||
if fcmaterials := self.__fcmaterials_retry():
|
||||
entry = fcmaterials
|
||||
|
||||
elif event_type == 'moduleinfo':
|
||||
with open(join(self.currentdir, 'ModulesInfo.json'), 'rb') as mf: # type: ignore
|
||||
@@ -1395,7 +1456,7 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
|
||||
category = self.category(received['Category'])
|
||||
state_category[received['Material']] += received['Quantity']
|
||||
|
||||
elif event_type == 'EngineerCraft' or (
|
||||
elif event_type == 'engineercraft' or (
|
||||
event_type == 'engineerlegacyconvert' and not entry.get('IsPreview')
|
||||
):
|
||||
|
||||
@@ -1927,12 +1988,12 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
|
||||
|
||||
:return: bool - True if the game is running.
|
||||
"""
|
||||
if platform == 'darwin':
|
||||
if sys.platform == 'darwin':
|
||||
for app in NSWorkspace.sharedWorkspace().runningApplications():
|
||||
if app.bundleIdentifier() == 'uk.co.frontier.EliteDangerous':
|
||||
return True
|
||||
|
||||
elif platform == 'win32':
|
||||
elif sys.platform == 'win32':
|
||||
def WindowTitle(h): # noqa: N802 # type: ignore
|
||||
if h:
|
||||
length = GetWindowTextLength(h) + 1
|
||||
@@ -2154,6 +2215,133 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
|
||||
|
||||
return slots
|
||||
|
||||
def _parse_navroute_file(self) -> Optional[dict[str, Any]]:
|
||||
"""Read and parse NavRoute.json."""
|
||||
if self.currentdir is None:
|
||||
raise ValueError('currentdir unset')
|
||||
|
||||
try:
|
||||
|
||||
with open(join(self.currentdir, 'NavRoute.json'), 'r') as f:
|
||||
raw = f.read()
|
||||
|
||||
except Exception as e:
|
||||
logger.exception(f'Could not open navroute file. Bailing: {e}')
|
||||
return None
|
||||
|
||||
try:
|
||||
data = json.loads(raw)
|
||||
|
||||
except json.JSONDecodeError:
|
||||
logger.exception('Failed to decode NavRoute.json', exc_info=True)
|
||||
return None
|
||||
|
||||
if 'timestamp' not in data: # quick sanity check
|
||||
return None
|
||||
|
||||
return data
|
||||
|
||||
def _parse_fcmaterials_file(self) -> Optional[dict[str, Any]]:
|
||||
"""Read and parse FCMaterials.json."""
|
||||
if self.currentdir is None:
|
||||
raise ValueError('currentdir unset')
|
||||
|
||||
try:
|
||||
|
||||
with open(join(self.currentdir, 'FCMaterials.json'), 'r') as f:
|
||||
raw = f.read()
|
||||
|
||||
except Exception as e:
|
||||
logger.exception(f'Could not open FCMaterials file. Bailing: {e}')
|
||||
return None
|
||||
|
||||
try:
|
||||
data = json.loads(raw)
|
||||
|
||||
except json.JSONDecodeError:
|
||||
logger.exception('Failed to decode FCMaterials.json', exc_info=True)
|
||||
return None
|
||||
|
||||
if 'timestamp' not in data: # quick sanity check
|
||||
return None
|
||||
|
||||
return data
|
||||
|
||||
@staticmethod
|
||||
def _parse_journal_timestamp(source: str) -> float:
|
||||
return mktime(strptime(source, '%Y-%m-%dT%H:%M:%SZ'))
|
||||
|
||||
def __navroute_retry(self) -> bool:
|
||||
"""Retry reading navroute files."""
|
||||
if self._navroute_retries_remaining == 0:
|
||||
return False
|
||||
|
||||
logger.debug(f'Navroute read retry [{self._navroute_retries_remaining}]')
|
||||
self._navroute_retries_remaining -= 1
|
||||
|
||||
if self._last_navroute_journal_timestamp is None:
|
||||
logger.critical('Asked to retry for navroute but also no set time to compare? This is a bug.')
|
||||
return False
|
||||
|
||||
if (file := self._parse_navroute_file()) is None:
|
||||
logger.debug(
|
||||
'Failed to parse NavRoute.json. '
|
||||
+ ('Trying again' if self._navroute_retries_remaining > 0 else 'Giving up')
|
||||
)
|
||||
return False
|
||||
|
||||
# _parse_navroute_file verifies that this exists for us
|
||||
file_time = self._parse_journal_timestamp(file['timestamp'])
|
||||
if abs(file_time - self._last_navroute_journal_timestamp) > MAX_NAVROUTE_DISCREPANCY:
|
||||
logger.debug(
|
||||
f'Time discrepancy of more than {MAX_NAVROUTE_DISCREPANCY}s --'
|
||||
f' ({abs(file_time - self._last_navroute_journal_timestamp)}).'
|
||||
f' {"Trying again" if self._navroute_retries_remaining > 0 else "Giving up"}.'
|
||||
)
|
||||
return False
|
||||
|
||||
# everything is good, lets set what we need to and make sure we dont try again
|
||||
logger.info('Successfully read NavRoute file for last NavRoute event.')
|
||||
self.state['NavRoute'] = file
|
||||
self._navroute_retries_remaining = 0
|
||||
self._last_navroute_journal_timestamp = None
|
||||
return True
|
||||
|
||||
def __fcmaterials_retry(self) -> Optional[Dict[str, Any]]:
|
||||
"""Retry reading FCMaterials files."""
|
||||
if self._fcmaterials_retries_remaining == 0:
|
||||
return None
|
||||
|
||||
logger.debug(f'FCMaterials read retry [{self._fcmaterials_retries_remaining}]')
|
||||
self._fcmaterials_retries_remaining -= 1
|
||||
|
||||
if self._last_fcmaterials_journal_timestamp is None:
|
||||
logger.critical('Asked to retry for FCMaterials but also no set time to compare? This is a bug.')
|
||||
return None
|
||||
|
||||
if (file := self._parse_fcmaterials_file()) is None:
|
||||
logger.debug(
|
||||
'Failed to parse FCMaterials.json. '
|
||||
+ ('Trying again' if self._fcmaterials_retries_remaining > 0 else 'Giving up')
|
||||
)
|
||||
return None
|
||||
|
||||
# _parse_fcmaterials_file verifies that this exists for us
|
||||
file_time = self._parse_journal_timestamp(file['timestamp'])
|
||||
if abs(file_time - self._last_fcmaterials_journal_timestamp) > MAX_FCMATERIALS_DISCREPANCY:
|
||||
logger.debug(
|
||||
f'Time discrepancy of more than {MAX_FCMATERIALS_DISCREPANCY}s --'
|
||||
f' ({abs(file_time - self._last_fcmaterials_journal_timestamp)}).'
|
||||
f' {"Trying again" if self._fcmaterials_retries_remaining > 0 else "Giving up"}.'
|
||||
)
|
||||
return None
|
||||
|
||||
# everything is good, lets set what we need to and make sure we dont try again
|
||||
logger.info('Successfully read FCMaterials file for last FCMaterials event.')
|
||||
self._fcmaterials_retries_remaining = 0
|
||||
self._last_fcmaterials_journal_timestamp = None
|
||||
return file
|
||||
|
||||
|
||||
# singleton
|
||||
monitor = EDLogs()
|
||||
+44
-38
@@ -4,22 +4,21 @@
|
||||
# - OSX: page background should be a darker gray than systemWindowBody
|
||||
# selected tab foreground should be White when the window is active
|
||||
#
|
||||
|
||||
from sys import platform
|
||||
|
||||
import sys
|
||||
import tkinter as tk
|
||||
from tkinter import ttk
|
||||
|
||||
# Entire file may be imported by plugins
|
||||
|
||||
# Can't do this with styles on OSX - http://www.tkdocs.com/tutorial/styles.html#whydifficult
|
||||
if platform == 'darwin':
|
||||
if sys.platform == 'darwin':
|
||||
from platform import mac_ver
|
||||
PAGEFG = 'systemButtonText'
|
||||
PAGEBG = 'systemButtonActiveDarkShadow'
|
||||
elif platform == 'win32':
|
||||
|
||||
elif sys.platform == 'win32':
|
||||
PAGEFG = 'SystemWindowText'
|
||||
PAGEBG = 'SystemWindow' # typically white
|
||||
PAGEBG = 'SystemWindow' # typically white
|
||||
|
||||
|
||||
class Notebook(ttk.Notebook):
|
||||
@@ -29,14 +28,14 @@ class Notebook(ttk.Notebook):
|
||||
ttk.Notebook.__init__(self, master, **kw)
|
||||
style = ttk.Style()
|
||||
|
||||
if platform=='darwin':
|
||||
if list(map(int, mac_ver()[0].split('.'))) >= [10,10]:
|
||||
if sys.platform == 'darwin':
|
||||
if list(map(int, mac_ver()[0].split('.'))) >= [10, 10]:
|
||||
# Hack for tab appearance with 8.5 on Yosemite & El Capitan. For proper fix see
|
||||
# https://github.com/tcltk/tk/commit/55c4dfca9353bbd69bbcec5d63bf1c8dfb461e25
|
||||
style.configure('TNotebook.Tab', padding=(12,10,12,2))
|
||||
style.configure('TNotebook.Tab', padding=(12, 10, 12, 2))
|
||||
style.map('TNotebook.Tab', foreground=[('selected', '!background', 'systemWhite')])
|
||||
self.grid(sticky=tk.NSEW) # Already padded apropriately
|
||||
elif platform == 'win32':
|
||||
self.grid(sticky=tk.NSEW) # Already padded apropriately
|
||||
elif sys.platform == 'win32':
|
||||
style.configure('nb.TFrame', background=PAGEBG)
|
||||
style.configure('nb.TButton', background=PAGEBG)
|
||||
style.configure('nb.TCheckbutton', foreground=PAGEFG, background=PAGEBG)
|
||||
@@ -47,56 +46,60 @@ class Notebook(ttk.Notebook):
|
||||
self.grid(padx=10, pady=10, sticky=tk.NSEW)
|
||||
|
||||
|
||||
class Frame(platform == 'darwin' and tk.Frame or ttk.Frame):
|
||||
class Frame(sys.platform == 'darwin' and tk.Frame or ttk.Frame):
|
||||
|
||||
def __init__(self, master=None, **kw):
|
||||
if platform == 'darwin':
|
||||
if sys.platform == 'darwin':
|
||||
kw['background'] = kw.pop('background', PAGEBG)
|
||||
tk.Frame.__init__(self, master, **kw)
|
||||
tk.Frame(self).grid(pady=5)
|
||||
elif platform == 'win32':
|
||||
elif sys.platform == 'win32':
|
||||
ttk.Frame.__init__(self, master, style='nb.TFrame', **kw)
|
||||
ttk.Frame(self).grid(pady=5) # top spacer
|
||||
ttk.Frame(self).grid(pady=5) # top spacer
|
||||
else:
|
||||
ttk.Frame.__init__(self, master, **kw)
|
||||
ttk.Frame(self).grid(pady=5) # top spacer
|
||||
self.configure(takefocus = 1) # let the frame take focus so that no particular child is focused
|
||||
ttk.Frame(self).grid(pady=5) # top spacer
|
||||
self.configure(takefocus=1) # let the frame take focus so that no particular child is focused
|
||||
|
||||
|
||||
class Label(tk.Label):
|
||||
|
||||
def __init__(self, master=None, **kw):
|
||||
if platform in ['darwin', 'win32']:
|
||||
if sys.platform in ['darwin', 'win32']:
|
||||
kw['foreground'] = kw.pop('foreground', PAGEFG)
|
||||
kw['background'] = kw.pop('background', PAGEBG)
|
||||
else:
|
||||
kw['foreground'] = kw.pop('foreground', ttk.Style().lookup('TLabel', 'foreground'))
|
||||
kw['background'] = kw.pop('background', ttk.Style().lookup('TLabel', 'background'))
|
||||
tk.Label.__init__(self, master, **kw) # Just use tk.Label on all platforms
|
||||
tk.Label.__init__(self, master, **kw) # Just use tk.Label on all platforms
|
||||
|
||||
class Entry(platform == 'darwin' and tk.Entry or ttk.Entry):
|
||||
|
||||
class Entry(sys.platform == 'darwin' and tk.Entry or ttk.Entry):
|
||||
|
||||
def __init__(self, master=None, **kw):
|
||||
if platform == 'darwin':
|
||||
if sys.platform == 'darwin':
|
||||
kw['highlightbackground'] = kw.pop('highlightbackground', PAGEBG)
|
||||
tk.Entry.__init__(self, master, **kw)
|
||||
else:
|
||||
ttk.Entry.__init__(self, master, **kw)
|
||||
|
||||
class Button(platform == 'darwin' and tk.Button or ttk.Button):
|
||||
|
||||
class Button(sys.platform == 'darwin' and tk.Button or ttk.Button):
|
||||
|
||||
def __init__(self, master=None, **kw):
|
||||
if platform == 'darwin':
|
||||
if sys.platform == 'darwin':
|
||||
kw['highlightbackground'] = kw.pop('highlightbackground', PAGEBG)
|
||||
tk.Button.__init__(self, master, **kw)
|
||||
elif platform == 'win32':
|
||||
elif sys.platform == 'win32':
|
||||
ttk.Button.__init__(self, master, style='nb.TButton', **kw)
|
||||
else:
|
||||
ttk.Button.__init__(self, master, **kw)
|
||||
|
||||
class ColoredButton(platform == 'darwin' and tk.Label or tk.Button):
|
||||
|
||||
class ColoredButton(sys.platform == 'darwin' and tk.Label or tk.Button):
|
||||
|
||||
def __init__(self, master=None, **kw):
|
||||
if platform == 'darwin':
|
||||
if sys.platform == 'darwin':
|
||||
# Can't set Button background on OSX, so use a Label instead
|
||||
kw['relief'] = kw.pop('relief', tk.RAISED)
|
||||
self._command = kw.pop('command', None)
|
||||
@@ -105,52 +108,55 @@ class ColoredButton(platform == 'darwin' and tk.Label or tk.Button):
|
||||
else:
|
||||
tk.Button.__init__(self, master, **kw)
|
||||
|
||||
if platform == 'darwin':
|
||||
if sys.platform == 'darwin':
|
||||
def _press(self, event):
|
||||
self._command()
|
||||
|
||||
class Checkbutton(platform == 'darwin' and tk.Checkbutton or ttk.Checkbutton):
|
||||
|
||||
class Checkbutton(sys.platform == 'darwin' and tk.Checkbutton or ttk.Checkbutton):
|
||||
|
||||
def __init__(self, master=None, **kw):
|
||||
if platform == 'darwin':
|
||||
if sys.platform == 'darwin':
|
||||
kw['foreground'] = kw.pop('foreground', PAGEFG)
|
||||
kw['background'] = kw.pop('background', PAGEBG)
|
||||
tk.Checkbutton.__init__(self, master, **kw)
|
||||
elif platform == 'win32':
|
||||
elif sys.platform == 'win32':
|
||||
ttk.Checkbutton.__init__(self, master, style='nb.TCheckbutton', **kw)
|
||||
else:
|
||||
ttk.Checkbutton.__init__(self, master, **kw)
|
||||
|
||||
class Radiobutton(platform == 'darwin' and tk.Radiobutton or ttk.Radiobutton):
|
||||
|
||||
class Radiobutton(sys.platform == 'darwin' and tk.Radiobutton or ttk.Radiobutton):
|
||||
|
||||
def __init__(self, master=None, **kw):
|
||||
if platform == 'darwin':
|
||||
if sys.platform == 'darwin':
|
||||
kw['foreground'] = kw.pop('foreground', PAGEFG)
|
||||
kw['background'] = kw.pop('background', PAGEBG)
|
||||
tk.Radiobutton.__init__(self, master, **kw)
|
||||
elif platform == 'win32':
|
||||
elif sys.platform == 'win32':
|
||||
ttk.Radiobutton.__init__(self, master, style='nb.TRadiobutton', **kw)
|
||||
else:
|
||||
ttk.Radiobutton.__init__(self, master, **kw)
|
||||
|
||||
class OptionMenu(platform == 'darwin' and tk.OptionMenu or ttk.OptionMenu):
|
||||
|
||||
class OptionMenu(sys.platform == 'darwin' and tk.OptionMenu or ttk.OptionMenu):
|
||||
|
||||
def __init__(self, master, variable, default=None, *values, **kw):
|
||||
if platform == 'darwin':
|
||||
if sys.platform == 'darwin':
|
||||
variable.set(default)
|
||||
bg = kw.pop('background', PAGEBG)
|
||||
tk.OptionMenu.__init__(self, master, variable, *values, **kw)
|
||||
self['background'] = bg
|
||||
elif platform == 'win32':
|
||||
elif sys.platform == 'win32':
|
||||
# OptionMenu derives from Menubutton at the Python level, so uses Menubutton's style
|
||||
ttk.OptionMenu.__init__(self, master, variable, default, *values, style='nb.TMenubutton', **kw)
|
||||
self['menu'].configure(background = PAGEBG)
|
||||
self['menu'].configure(background=PAGEBG)
|
||||
# Workaround for https://bugs.python.org/issue25684
|
||||
for i in range(0, self['menu'].index('end')+1):
|
||||
self['menu'].entryconfig(i, variable=variable)
|
||||
else:
|
||||
ttk.OptionMenu.__init__(self, master, variable, default, *values, **kw)
|
||||
self['menu'].configure(background = ttk.Style().lookup('TMenu', 'background'))
|
||||
self['menu'].configure(background=ttk.Style().lookup('TMenu', 'background'))
|
||||
# Workaround for https://bugs.python.org/issue25684
|
||||
for i in range(0, self['menu'].index('end')+1):
|
||||
self['menu'].entryconfig(i, variable=variable)
|
||||
@@ -1,5 +1,27 @@
|
||||
"""Coriolis ship export."""
|
||||
|
||||
# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $#
|
||||
# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $#
|
||||
#
|
||||
# This is an EDMC 'core' plugin.
|
||||
#
|
||||
# All EDMC plugins are *dynamically* loaded at run-time.
|
||||
#
|
||||
# We build for Windows using `py2exe`.
|
||||
#
|
||||
# `py2exe` can't possibly know about anything in the dynamically loaded
|
||||
# core plugins.
|
||||
#
|
||||
# Thus you **MUST** check if any imports you add in this file are only
|
||||
# referenced in this file (or only in any other core plugin), and if so...
|
||||
#
|
||||
# YOU MUST ENSURE THAT PERTINENT ADJUSTMENTS ARE MADE IN `setup.py`
|
||||
# SO AS TO ENSURE THE FILES ARE ACTUALLY PRESENT IN AN END-USER
|
||||
# INSTALLATION ON WINDOWS.
|
||||
#
|
||||
#
|
||||
# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $#
|
||||
# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $#
|
||||
import base64
|
||||
import gzip
|
||||
import io
|
||||
|
||||
@@ -23,6 +23,28 @@
|
||||
#
|
||||
|
||||
|
||||
# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $#
|
||||
# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $#
|
||||
#
|
||||
# This is an EDMC 'core' plugin.
|
||||
#
|
||||
# All EDMC plugins are *dynamically* loaded at run-time.
|
||||
#
|
||||
# We build for Windows using `py2exe`.
|
||||
#
|
||||
# `py2exe` can't possibly know about anything in the dynamically loaded
|
||||
# core plugins.
|
||||
#
|
||||
# Thus you **MUST** check if any imports you add in this file are only
|
||||
# referenced in this file (or only in any other core plugin), and if so...
|
||||
#
|
||||
# YOU MUST ENSURE THAT PERTINENT ADJUSTMENTS ARE MADE IN `setup.py`
|
||||
# SO AS TO ENSURE THE FILES ARE ACTUALLY PRESENT IN AN END-USER
|
||||
# INSTALLATION ON WINDOWS.
|
||||
#
|
||||
#
|
||||
# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $#
|
||||
# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $#
|
||||
import sys
|
||||
from typing import TYPE_CHECKING, Any, Optional
|
||||
|
||||
|
||||
+983
-109
File diff suppressed because it is too large.
Load diff
+24
-1
@@ -9,6 +9,28 @@
|
||||
# 4) Ensure the EDSM API call(back) for setting the image at end of system
|
||||
# text is always fired. i.e. CAPI cmdr_data() processing.
|
||||
|
||||
# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $#
|
||||
# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $#
|
||||
#
|
||||
# This is an EDMC 'core' plugin.
|
||||
#
|
||||
# All EDMC plugins are *dynamically* loaded at run-time.
|
||||
#
|
||||
# We build for Windows using `py2exe`.
|
||||
#
|
||||
# `py2exe` can't possibly know about anything in the dynamically loaded
|
||||
# core plugins.
|
||||
#
|
||||
# Thus you **MUST** check if any imports you add in this file are only
|
||||
# referenced in this file (or only in any other core plugin), and if so...
|
||||
#
|
||||
# YOU MUST ENSURE THAT PERTINENT ADJUSTMENTS ARE MADE IN `setup.py`
|
||||
# SO AS TO ENSURE THE FILES ARE ACTUALLY PRESENT IN AN END-USER
|
||||
# INSTALLATION ON WINDOWS.
|
||||
#
|
||||
#
|
||||
# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $#
|
||||
# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $#
|
||||
import json
|
||||
import threading
|
||||
import tkinter as tk
|
||||
@@ -23,7 +45,7 @@ import killswitch
|
||||
import myNotebook as nb # noqa: N813
|
||||
import plug
|
||||
from companion import CAPIData
|
||||
from config import applongname, appversion, config, debug_senders
|
||||
from config import applongname, appversion, config, debug_senders, user_agent
|
||||
from edmc_data import DEBUG_WEBSERVER_HOST, DEBUG_WEBSERVER_PORT
|
||||
from EDMCLogging import get_main_logger
|
||||
from ttkHyperlinkLabel import HyperlinkLabel
|
||||
@@ -49,6 +71,7 @@ class This:
|
||||
self.shutting_down = False # Plugin is shutting down.
|
||||
|
||||
self.session: requests.Session = requests.Session()
|
||||
self.session.headers['User-Agent'] = user_agent
|
||||
self.queue: Queue = Queue() # Items to be sent to EDSM by worker thread
|
||||
self.discarded_events: Set[str] = [] # List discarded events from EDSM
|
||||
self.lastlookup: requests.Response # Result of last system lookup
|
||||
|
||||
@@ -1,5 +1,27 @@
|
||||
# EDShipyard ship export
|
||||
|
||||
# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $#
|
||||
# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $#
|
||||
#
|
||||
# This is an EDMC 'core' plugin.
|
||||
#
|
||||
# All EDMC plugins are *dynamically* loaded at run-time.
|
||||
#
|
||||
# We build for Windows using `py2exe`.
|
||||
#
|
||||
# `py2exe` can't possibly know about anything in the dynamically loaded
|
||||
# core plugins.
|
||||
#
|
||||
# Thus you **MUST** check if any imports you add in this file are only
|
||||
# referenced in this file (or only in any other core plugin), and if so...
|
||||
#
|
||||
# YOU MUST ENSURE THAT PERTINENT ADJUSTMENTS ARE MADE IN `setup.py`
|
||||
# SO AS TO ENSURE THE FILES ARE ACTUALLY PRESENT IN AN END-USER
|
||||
# INSTALLATION ON WINDOWS.
|
||||
#
|
||||
#
|
||||
# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $#
|
||||
# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $#
|
||||
import base64
|
||||
import gzip
|
||||
import json
|
||||
|
||||
+64
-43
@@ -1,5 +1,27 @@
|
||||
"""Inara Sync."""
|
||||
|
||||
# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $#
|
||||
# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $#
|
||||
#
|
||||
# This is an EDMC 'core' plugin.
|
||||
#
|
||||
# All EDMC plugins are *dynamically* loaded at run-time.
|
||||
#
|
||||
# We build for Windows using `py2exe`.
|
||||
#
|
||||
# `py2exe` can't possibly know about anything in the dynamically loaded
|
||||
# core plugins.
|
||||
#
|
||||
# Thus you **MUST** check if any imports you add in this file are only
|
||||
# referenced in this file (or only in any other core plugin), and if so...
|
||||
#
|
||||
# YOU MUST ENSURE THAT PERTINENT ADJUSTMENTS ARE MADE IN `setup.py`
|
||||
# SO AS TO ENSURE THE FILES ARE ACTUALLY PRESENT IN AN END-USER
|
||||
# INSTALLATION ON WINDOWS.
|
||||
#
|
||||
#
|
||||
# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $#
|
||||
# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $# ! $#
|
||||
import json
|
||||
import threading
|
||||
import time
|
||||
@@ -33,7 +55,10 @@ if TYPE_CHECKING:
|
||||
|
||||
_TIMEOUT = 20
|
||||
FAKE = ('CQC', 'Training', 'Destination') # Fake systems that shouldn't be sent to Inara
|
||||
CREDIT_RATIO = 1.05 # Update credits if they change by 5% over the course of a session
|
||||
# We only update Credits to Inara if the delta from the last sent value is
|
||||
# greater than certain thresholds
|
||||
CREDITS_DELTA_MIN_FRACTION = 0.05 # Fractional difference threshold
|
||||
CREDITS_DELTA_MIN_ABSOLUTE = 10_000_000 # Absolute difference threshold
|
||||
|
||||
|
||||
# These need to be defined above This
|
||||
@@ -76,7 +101,7 @@ class This:
|
||||
self.suppress_docked = False # Skip initial Docked event if started docked
|
||||
self.cargo: Optional[List[OrderedDictT[str, Any]]] = None
|
||||
self.materials: Optional[List[OrderedDictT[str, Any]]] = None
|
||||
self.lastcredits: int = 0 # Send credit update soon after Startup / new game
|
||||
self.last_credits: int = 0 # Send credit update soon after Startup / new game
|
||||
self.storedmodules: Optional[List[OrderedDictT[str, Any]]] = None
|
||||
self.loadout: Optional[OrderedDictT[str, Any]] = None
|
||||
self.fleet: Optional[List[OrderedDictT[str, Any]]] = None
|
||||
@@ -372,7 +397,7 @@ def journal_entry( # noqa: C901, CCR001
|
||||
this.suppress_docked = False
|
||||
this.cargo = None
|
||||
this.materials = None
|
||||
this.lastcredits = 0
|
||||
this.last_credits = 0
|
||||
this.storedmodules = None
|
||||
this.loadout = None
|
||||
this.fleet = None
|
||||
@@ -383,8 +408,8 @@ def journal_entry( # noqa: C901, CCR001
|
||||
this.station_marketid = None
|
||||
|
||||
elif event_name in ('Resurrect', 'ShipyardBuy', 'ShipyardSell', 'SellShipOnRebuy'):
|
||||
# Events that mean a significant change in credits so we should send credits after next "Update"
|
||||
this.lastcredits = 0
|
||||
# Events that mean a significant change in credits, so we should send credits after next "Update"
|
||||
this.last_credits = 0
|
||||
|
||||
elif event_name in ('ShipyardNew', 'ShipyardSwap') or (event_name == 'Location' and entry['Docked']):
|
||||
this.suppress_docked = True
|
||||
@@ -419,23 +444,13 @@ def journal_entry( # noqa: C901, CCR001
|
||||
this.station_marketid = None
|
||||
|
||||
if config.get_int('inara_out') and not is_beta and not this.multicrew and credentials(cmdr):
|
||||
current_creds = Credentials(this.cmdr, this.FID, str(credentials(this.cmdr)))
|
||||
current_credentials = Credentials(this.cmdr, this.FID, str(credentials(this.cmdr)))
|
||||
try:
|
||||
# Dump starting state to Inara
|
||||
if (this.newuser or event_name == 'StartUp' or (this.newsession and event_name == 'Cargo')):
|
||||
this.newuser = False
|
||||
this.newsession = False
|
||||
|
||||
# Send rank info to Inara on startup
|
||||
new_add_event(
|
||||
'setCommanderRankPilot',
|
||||
entry['timestamp'],
|
||||
[
|
||||
{'rankName': k.lower(), 'rankValue': v[0], 'rankProgress': v[1] / 100.0}
|
||||
for k, v in state['Rank'].items() if v is not None
|
||||
]
|
||||
)
|
||||
|
||||
# Don't send the API call with no values.
|
||||
if state['Reputation']:
|
||||
new_add_event(
|
||||
@@ -503,6 +518,19 @@ def journal_entry( # noqa: C901, CCR001
|
||||
this.loadout = make_loadout(state)
|
||||
new_add_event('setCommanderShipLoadout', entry['timestamp'], this.loadout)
|
||||
|
||||
# Trigger off the "only observed as being after Ranks" event so that
|
||||
# we have both current Ranks *and* current Progress within them.
|
||||
elif event_name == 'Progress':
|
||||
# Send rank info to Inara on startup
|
||||
new_add_event(
|
||||
'setCommanderRankPilot',
|
||||
entry['timestamp'],
|
||||
[
|
||||
{'rankName': k.lower(), 'rankValue': v[0], 'rankProgress': v[1] / 100.0}
|
||||
for k, v in state['Rank'].items() if v is not None
|
||||
]
|
||||
)
|
||||
|
||||
# Promotions
|
||||
elif event_name == 'Promotion':
|
||||
for k, v in state['Rank'].items():
|
||||
@@ -737,17 +765,24 @@ def journal_entry( # noqa: C901, CCR001
|
||||
logger.debug('Adding events', exc_info=e)
|
||||
return str(e)
|
||||
|
||||
# Send credits and stats to Inara on startup only - otherwise may be out of date
|
||||
# We want to utilise some Statistics data, so don't setCommanderCredits here
|
||||
if event_name == 'LoadGame':
|
||||
this.last_credits = state['Credits']
|
||||
|
||||
elif event_name == 'Statistics':
|
||||
inara_data = {
|
||||
'commanderCredits': state['Credits'],
|
||||
'commanderLoan': state['Loan'],
|
||||
}
|
||||
if entry.get('Bank_Account') is not None:
|
||||
if entry['Bank_Account'].get('Current_Wealth') is not None:
|
||||
inara_data['commanderAssets'] = entry['Bank_Account']['Current_Wealth']
|
||||
|
||||
new_add_event(
|
||||
'setCommanderCredits',
|
||||
entry['timestamp'],
|
||||
{'commanderCredits': state['Credits'], 'commanderLoan': state['Loan']}
|
||||
inara_data
|
||||
)
|
||||
|
||||
this.lastcredits = state['Credits']
|
||||
|
||||
elif event_name == 'Statistics':
|
||||
new_add_event('setCommanderGameStatistics', entry['timestamp'], state['Statistics']) # may be out of date
|
||||
|
||||
# Selling / swapping ships
|
||||
@@ -837,7 +872,7 @@ def journal_entry( # noqa: C901, CCR001
|
||||
|
||||
if this.fleet != fleet:
|
||||
this.fleet = fleet
|
||||
this.filter_events(current_creds, lambda e: e.name != 'setCommanderShip')
|
||||
this.filter_events(current_credentials, lambda e: e.name != 'setCommanderShip')
|
||||
|
||||
# this.events = [x for x in this.events if x['eventName'] != 'setCommanderShip'] # Remove any unsent
|
||||
for ship in this.fleet:
|
||||
@@ -850,7 +885,7 @@ def journal_entry( # noqa: C901, CCR001
|
||||
this.loadout = loadout
|
||||
|
||||
this.filter_events(
|
||||
current_creds,
|
||||
current_credentials,
|
||||
lambda e: (
|
||||
e.name != 'setCommanderShipLoadout'
|
||||
or cast(dict, e.data)['shipGameID'] != cast(dict, this.loadout)['shipGameID'])
|
||||
@@ -891,7 +926,7 @@ def journal_entry( # noqa: C901, CCR001
|
||||
# Only send on change
|
||||
this.storedmodules = modules
|
||||
# Remove any unsent
|
||||
this.filter_events(current_creds, lambda e: e.name != 'setCommanderStorageModules')
|
||||
this.filter_events(current_credentials, lambda e: e.name != 'setCommanderStorageModules')
|
||||
|
||||
# this.events = list(filter(lambda e: e['eventName'] != 'setCommanderStorageModules', this.events))
|
||||
new_add_event('setCommanderStorageModules', entry['timestamp'], this.storedmodules)
|
||||
@@ -1220,7 +1255,7 @@ def journal_entry( # noqa: C901, CCR001
|
||||
if event_name == 'CommunityGoal':
|
||||
# Remove any unsent
|
||||
this.filter_events(
|
||||
current_creds, lambda e: e.name not in ('setCommunityGoal', 'setCommanderCommunityGoalProgress')
|
||||
current_credentials, lambda e: e.name not in ('setCommunityGoal', 'setCommanderCommunityGoalProgress')
|
||||
)
|
||||
|
||||
# this.events = list(filter(
|
||||
@@ -1349,23 +1384,8 @@ def cmdr_data(data: CAPIData, is_beta): # noqa: CCR001
|
||||
this.station_link.update_idletasks()
|
||||
|
||||
if config.get_int('inara_out') and not is_beta and not this.multicrew and credentials(this.cmdr):
|
||||
if not (CREDIT_RATIO > this.lastcredits / data['commander']['credits'] > 1/CREDIT_RATIO):
|
||||
this.filter_events(
|
||||
Credentials(this.cmdr, this.FID, str(credentials(this.cmdr))),
|
||||
lambda e: e.name != 'setCommanderCredits'
|
||||
)
|
||||
|
||||
# this.events = [x for x in this.events if x['eventName'] != 'setCommanderCredits'] # Remove any unsent
|
||||
new_add_event(
|
||||
'setCommanderCredits',
|
||||
data['timestamp'],
|
||||
{
|
||||
'commanderCredits': data['commander']['credits'],
|
||||
'commanderLoan': data['commander'].get('debt', 0),
|
||||
}
|
||||
)
|
||||
|
||||
this.lastcredits = int(data['commander']['credits'])
|
||||
# Only here to ensure the conditional is correct for future additions
|
||||
pass
|
||||
|
||||
|
||||
def make_loadout(state: Dict[str, Any]) -> OrderedDictT[str, Any]: # noqa: CCR001
|
||||
@@ -1567,6 +1587,7 @@ def send_data(url: str, data: Mapping[str, Any]) -> bool: # noqa: CCR001
|
||||
:param data: the data to POST
|
||||
:return: success state
|
||||
"""
|
||||
# NB: As of 2022-01-25 Artie has stated the Inara API does *not* support compression
|
||||
r = this.session.post(url, data=json.dumps(data, separators=(',', ':')), timeout=_TIMEOUT)
|
||||
r.raise_for_status()
|
||||
reply = r.json()
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
|
||||
import contextlib
|
||||
import logging
|
||||
import sys
|
||||
import tkinter as tk
|
||||
import webbrowser
|
||||
from os.path import exists, expanduser, expandvars, join, normpath
|
||||
from sys import platform
|
||||
from os.path import expanduser, expandvars, join, normpath
|
||||
from tkinter import colorchooser as tkColorChooser # type: ignore # noqa: N812
|
||||
from tkinter import ttk
|
||||
from types import TracebackType
|
||||
@@ -60,7 +60,7 @@ class PrefsVersion:
|
||||
def __init__(self):
|
||||
return
|
||||
|
||||
def stringToSerial(self, versionStr: str) -> int: # noqa: N802 # used in plugins
|
||||
def stringToSerial(self, versionStr: str) -> int: # noqa: N802, N803 # used in plugins
|
||||
"""
|
||||
Convert a version string into a preferences version serial number.
|
||||
|
||||
@@ -83,7 +83,6 @@ class PrefsVersion:
|
||||
:raises ValueError: on serial number after the current latest
|
||||
:return: bool indicating the answer
|
||||
"""
|
||||
|
||||
# config.get('PrefsVersion') is the version preferences we last saved for
|
||||
pv = config.get_int('PrefsVersion')
|
||||
# If no PrefsVersion yet exists then return oldTest
|
||||
@@ -155,7 +154,7 @@ class AutoInc(contextlib.AbstractContextManager):
|
||||
return None
|
||||
|
||||
|
||||
if platform == 'darwin':
|
||||
if sys.platform == 'darwin':
|
||||
import objc # type: ignore
|
||||
from Foundation import NSFileManager # type: ignore
|
||||
try:
|
||||
@@ -180,7 +179,7 @@ if platform == 'darwin':
|
||||
|
||||
was_accessible_at_launch = AXIsProcessTrusted() # type: ignore
|
||||
|
||||
elif platform == 'win32':
|
||||
elif sys.platform == 'win32':
|
||||
import ctypes
|
||||
import winreg
|
||||
from ctypes.wintypes import HINSTANCE, HWND, LPARAM, LPCWSTR, LPVOID, LPWSTR, MAX_PATH, POINT, RECT, SIZE, UINT
|
||||
@@ -202,6 +201,8 @@ elif platform == 'win32':
|
||||
BrowseCallbackProc = ctypes.WINFUNCTYPE(ctypes.c_int, HWND, ctypes.c_uint, LPARAM, LPARAM)
|
||||
|
||||
class BROWSEINFO(ctypes.Structure):
|
||||
"""Windows file browser fields."""
|
||||
|
||||
_fields_ = [("hwndOwner", HWND), ("pidlRoot", LPVOID), ("pszDisplayName", LPWSTR), ("lpszTitle", LPCWSTR),
|
||||
("ulFlags", UINT), ("lpfn", BrowseCallbackProc), ("lParam", LPCWSTR), ("iImage", ctypes.c_int)]
|
||||
|
||||
@@ -245,7 +246,7 @@ class PreferencesDialog(tk.Toplevel):
|
||||
|
||||
self.parent = parent
|
||||
self.callback = callback
|
||||
if platform == 'darwin':
|
||||
if sys.platform == 'darwin':
|
||||
# LANG: File > Preferences menu entry for macOS
|
||||
self.title(_('Preferences'))
|
||||
|
||||
@@ -257,15 +258,15 @@ class PreferencesDialog(tk.Toplevel):
|
||||
self.transient(parent)
|
||||
|
||||
# position over parent
|
||||
if platform != 'darwin' or parent.winfo_rooty() > 0: # http://core.tcl.tk/tk/tktview/c84f660833546b1b84e7
|
||||
if sys.platform != 'darwin' or parent.winfo_rooty() > 0: # http://core.tcl.tk/tk/tktview/c84f660833546b1b84e7
|
||||
# TODO this is fixed supposedly.
|
||||
self.geometry(f'+{parent.winfo_rootx()}+{parent.winfo_rooty()}')
|
||||
|
||||
# remove decoration
|
||||
if platform == 'win32':
|
||||
if sys.platform == 'win32':
|
||||
self.attributes('-toolwindow', tk.TRUE)
|
||||
|
||||
elif platform == 'darwin':
|
||||
elif sys.platform == 'darwin':
|
||||
# http://wiki.tcl.tk/13428
|
||||
parent.call('tk::unsupported::MacWindowStyle', 'style', self, 'utility')
|
||||
|
||||
@@ -293,7 +294,7 @@ class PreferencesDialog(tk.Toplevel):
|
||||
self.__setup_appearance_tab(notebook)
|
||||
self.__setup_plugin_tab(notebook)
|
||||
|
||||
if platform == 'darwin':
|
||||
if sys.platform == 'darwin':
|
||||
self.protocol("WM_DELETE_WINDOW", self.apply) # close button applies changes
|
||||
|
||||
else:
|
||||
@@ -321,12 +322,12 @@ class PreferencesDialog(tk.Toplevel):
|
||||
self.grab_set()
|
||||
|
||||
# Ensure fully on-screen
|
||||
if platform == 'win32' and CalculatePopupWindowPosition:
|
||||
if sys.platform == 'win32' and CalculatePopupWindowPosition:
|
||||
position = RECT()
|
||||
GetWindowRect(GetParent(self.winfo_id()), position)
|
||||
if CalculatePopupWindowPosition(
|
||||
POINT(parent.winfo_rootx(), parent.winfo_rooty()),
|
||||
SIZE(position.right - position.left, position.bottom - position.top),
|
||||
SIZE(position.right - position.left, position.bottom - position.top), # type: ignore
|
||||
0x10000, None, position
|
||||
):
|
||||
self.geometry(f"+{position.left}+{position.top}")
|
||||
@@ -395,7 +396,7 @@ class PreferencesDialog(tk.Toplevel):
|
||||
self.outdir_entry = nb.Entry(output_frame, takefocus=False)
|
||||
self.outdir_entry.grid(columnspan=2, padx=self.PADX, pady=(0, self.PADY), sticky=tk.EW, row=row.get())
|
||||
|
||||
if platform == 'darwin':
|
||||
if sys.platform == 'darwin':
|
||||
text = (_('Change...')) # LANG: macOS Preferences - files location selection button
|
||||
|
||||
else:
|
||||
@@ -422,7 +423,7 @@ class PreferencesDialog(tk.Toplevel):
|
||||
if plugin_frame:
|
||||
notebook.add(plugin_frame, text=plugin.name)
|
||||
|
||||
def __setup_config_tab(self, notebook: Notebook) -> None:
|
||||
def __setup_config_tab(self, notebook: Notebook) -> None: # noqa: CCR001
|
||||
config_frame = nb.Frame(notebook)
|
||||
config_frame.columnconfigure(1, weight=1)
|
||||
row = AutoInc(start=1)
|
||||
@@ -445,7 +446,7 @@ class PreferencesDialog(tk.Toplevel):
|
||||
|
||||
self.logdir_entry.grid(columnspan=4, padx=self.PADX, pady=(0, self.PADY), sticky=tk.EW, row=row.get())
|
||||
|
||||
if platform == 'darwin':
|
||||
if sys.platform == 'darwin':
|
||||
text = (_('Change...')) # LANG: macOS Preferences - files location selection button
|
||||
|
||||
else:
|
||||
@@ -469,7 +470,7 @@ class PreferencesDialog(tk.Toplevel):
|
||||
state=tk.NORMAL if config.get_str('journaldir') else tk.DISABLED
|
||||
).grid(column=2, pady=self.PADY, sticky=tk.EW, row=row.get())
|
||||
|
||||
if platform in ('darwin', 'win32'):
|
||||
if sys.platform in ('darwin', 'win32'):
|
||||
ttk.Separator(config_frame, orient=tk.HORIZONTAL).grid(
|
||||
columnspan=4, padx=self.PADX, pady=self.PADY*4, sticky=tk.EW, row=row.get()
|
||||
)
|
||||
@@ -481,11 +482,11 @@ class PreferencesDialog(tk.Toplevel):
|
||||
nb.Label(
|
||||
config_frame,
|
||||
text=_('Keyboard shortcut') if # LANG: Hotkey/Shortcut settings prompt on OSX
|
||||
platform == 'darwin' else
|
||||
sys.platform == 'darwin' else
|
||||
_('Hotkey') # LANG: Hotkey/Shortcut settings prompt on Windows
|
||||
).grid(padx=self.PADX, sticky=tk.W, row=row.get())
|
||||
|
||||
if platform == 'darwin' and not was_accessible_at_launch:
|
||||
if sys.platform == 'darwin' and not was_accessible_at_launch:
|
||||
if AXIsProcessTrusted():
|
||||
# Shortcut settings prompt on OSX
|
||||
nb.Label(
|
||||
@@ -510,7 +511,8 @@ class PreferencesDialog(tk.Toplevel):
|
||||
)
|
||||
|
||||
else:
|
||||
self.hotkey_text = nb.Entry(config_frame, width=(20 if platform == 'darwin' else 30), justify=tk.CENTER)
|
||||
self.hotkey_text = nb.Entry(config_frame, width=(
|
||||
20 if sys.platform == 'darwin' else 30), justify=tk.CENTER)
|
||||
self.hotkey_text.insert(
|
||||
0,
|
||||
# No hotkey/shortcut currently defined
|
||||
@@ -700,7 +702,7 @@ class PreferencesDialog(tk.Toplevel):
|
||||
# LANG: The system default language choice in Settings > Appearance
|
||||
self.lang = tk.StringVar(value=self.languages.get(config.get_str('language'), _('Default')))
|
||||
self.always_ontop = tk.BooleanVar(value=bool(config.get_int('always_ontop')))
|
||||
# self.minimize_system_tray = tk.BooleanVar(value=config.get_bool('minimize_system_tray'))
|
||||
self.minimize_system_tray = tk.BooleanVar(value=config.get_bool('minimize_system_tray'))
|
||||
self.theme = tk.IntVar(value=config.get_int('theme'))
|
||||
self.theme_colors = [config.get_str('dark_text'), config.get_str('dark_highlight')]
|
||||
self.theme_prompts = [
|
||||
@@ -740,7 +742,7 @@ class PreferencesDialog(tk.Toplevel):
|
||||
appearance_frame, text=_('Dark'), variable=self.theme, value=1, command=self.themevarchanged
|
||||
).grid(columnspan=3, padx=self.BUTTONX, sticky=tk.W, row=row.get())
|
||||
|
||||
if platform == 'win32':
|
||||
if sys.platform == 'win32':
|
||||
nb.Radiobutton(
|
||||
appearance_frame,
|
||||
# LANG: Label for 'Transparent' theme radio button
|
||||
@@ -798,7 +800,7 @@ class PreferencesDialog(tk.Toplevel):
|
||||
self.ui_scale.set(config.get_int('ui_scale'))
|
||||
self.uiscale_bar = tk.Scale(
|
||||
appearance_frame,
|
||||
variable=self.ui_scale, # TODO: intvar, but annotated as DoubleVar
|
||||
variable=self.ui_scale, # type: ignore # TODO: intvar, but annotated as DoubleVar
|
||||
orient=tk.HORIZONTAL,
|
||||
length=300 * (float(theme.startup_ui_scale) / 100.0 * theme.default_ui_scale), # type: ignore # runtime
|
||||
from_=0,
|
||||
@@ -869,20 +871,21 @@ class PreferencesDialog(tk.Toplevel):
|
||||
)
|
||||
self.ontop_button.grid(columnspan=3, padx=self.BUTTONX, sticky=tk.W, row=row.get()) # Appearance setting
|
||||
|
||||
# if platform == 'win32':
|
||||
# nb.Checkbutton(
|
||||
# appearance_frame,
|
||||
# text=_('Minimize to system tray'),
|
||||
# variable=self.minimize_system_tray,
|
||||
# command=self.themevarchanged
|
||||
# ).grid(columnspan=3, padx=self.BUTTONX, sticky=tk.W, row=row.get()) # Appearance setting
|
||||
if sys.platform == 'win32':
|
||||
nb.Checkbutton(
|
||||
appearance_frame,
|
||||
# LANG: Appearance option for Windows "minimize to system tray"
|
||||
text=_('Minimize to system tray'),
|
||||
variable=self.minimize_system_tray,
|
||||
command=self.themevarchanged
|
||||
).grid(columnspan=3, padx=self.BUTTONX, sticky=tk.W, row=row.get()) # Appearance setting
|
||||
|
||||
nb.Label(appearance_frame).grid(sticky=tk.W) # big spacer
|
||||
|
||||
# LANG: Label for Settings > Appearance tab
|
||||
notebook.add(appearance_frame, text=_('Appearance')) # Tab heading in settings
|
||||
|
||||
def __setup_plugin_tab(self, notebook: Notebook) -> None:
|
||||
def __setup_plugin_tab(self, notebook: Notebook) -> None: # noqa: CCR001
|
||||
# Plugin settings and info
|
||||
plugins_frame = nb.Frame(notebook)
|
||||
plugins_frame.columnconfigure(0, weight=1)
|
||||
@@ -993,8 +996,9 @@ class PreferencesDialog(tk.Toplevel):
|
||||
self.cmdrchanged_alarm = self.after(1000, self.cmdrchanged)
|
||||
|
||||
def tabchanged(self, event: tk.Event) -> None:
|
||||
"""Handle preferences active tab changing."""
|
||||
self.outvarchanged()
|
||||
if platform == 'darwin':
|
||||
if sys.platform == 'darwin':
|
||||
# Hack to recompute size so that buttons show up under Mojave
|
||||
notebook = event.widget
|
||||
frame = self.nametowidget(notebook.winfo_parent())
|
||||
@@ -1004,12 +1008,10 @@ class PreferencesDialog(tk.Toplevel):
|
||||
temp.destroy()
|
||||
|
||||
def outvarchanged(self, event: Optional[tk.Event] = None) -> None:
|
||||
"""Handle Output tab variable changes."""
|
||||
self.displaypath(self.outdir, self.outdir_entry)
|
||||
self.displaypath(self.logdir, self.logdir_entry)
|
||||
|
||||
logdir = self.logdir.get()
|
||||
logvalid = exists(logdir) if logdir else False
|
||||
|
||||
self.out_label['state'] = tk.NORMAL
|
||||
self.out_csv_button['state'] = tk.NORMAL
|
||||
self.out_td_button['state'] = tk.NORMAL
|
||||
@@ -1026,16 +1028,15 @@ class PreferencesDialog(tk.Toplevel):
|
||||
|
||||
# If encoding isn't UTF-8 we can't use the tkinter dialog
|
||||
current_locale = locale.getlocale(locale.LC_CTYPE)
|
||||
from sys import platform as sys_platform
|
||||
directory = None
|
||||
if sys_platform == 'win32' and current_locale[1] not in ('utf8', 'UTF8', 'utf-8', 'UTF-8'):
|
||||
def browsecallback(hwnd, uMsg, lParam, lpData):
|
||||
if sys.platform == 'win32' and current_locale[1] not in ('utf8', 'UTF8', 'utf-8', 'UTF-8'):
|
||||
def browsecallback(hwnd, uMsg, lParam, lpData): # noqa: N803 # Windows API convention
|
||||
# set initial folder
|
||||
if uMsg == BFFM_INITIALIZED and lpData:
|
||||
ctypes.windll.user32.SendMessageW(hwnd, BFFM_SETSELECTION, 1, lpData)
|
||||
return 0
|
||||
|
||||
browseInfo = BROWSEINFO()
|
||||
browseInfo = BROWSEINFO() # noqa: N806 # Windows convention
|
||||
browseInfo.lpszTitle = title
|
||||
browseInfo.ulFlags = BIF_RETURNONLYFSDIRS | BIF_USENEWUI
|
||||
browseInfo.lpfn = BrowseCallbackProc(browsecallback)
|
||||
@@ -1074,12 +1075,12 @@ class PreferencesDialog(tk.Toplevel):
|
||||
# TODO: This is awful.
|
||||
entryfield['state'] = tk.NORMAL # must be writable to update
|
||||
entryfield.delete(0, tk.END)
|
||||
if platform == 'win32':
|
||||
if sys.platform == 'win32':
|
||||
start = len(config.home.split('\\')) if pathvar.get().lower().startswith(config.home.lower()) else 0
|
||||
display = []
|
||||
components = normpath(pathvar.get()).split('\\')
|
||||
buf = ctypes.create_unicode_buffer(MAX_PATH)
|
||||
pidsRes = ctypes.c_int()
|
||||
pidsRes = ctypes.c_int() # noqa: N806 # Windows convention
|
||||
for i in range(start, len(components)):
|
||||
try:
|
||||
if (not SHGetLocalizedName('\\'.join(components[:i+1]), buf, MAX_PATH, ctypes.byref(pidsRes)) and
|
||||
@@ -1095,7 +1096,7 @@ class PreferencesDialog(tk.Toplevel):
|
||||
entryfield.insert(0, '\\'.join(display))
|
||||
|
||||
# None if path doesn't exist
|
||||
elif platform == 'darwin' and NSFileManager.defaultManager().componentsToDisplayForPath_(pathvar.get()):
|
||||
elif sys.platform == 'darwin' and NSFileManager.defaultManager().componentsToDisplayForPath_(pathvar.get()):
|
||||
if pathvar.get().startswith(config.home):
|
||||
display = ['~'] + NSFileManager.defaultManager().componentsToDisplayForPath_(pathvar.get())[
|
||||
len(NSFileManager.defaultManager().componentsToDisplayForPath_(config.home)):
|
||||
@@ -1235,7 +1236,7 @@ class PreferencesDialog(tk.Toplevel):
|
||||
else:
|
||||
config.set('journaldir', logdir)
|
||||
|
||||
if platform in ('darwin', 'win32'):
|
||||
if sys.platform in ('darwin', 'win32'):
|
||||
config.set('hotkey_code', self.hotkey_code)
|
||||
config.set('hotkey_mods', self.hotkey_mods)
|
||||
config.set('hotkey_always', int(not self.hotkey_only.get()))
|
||||
@@ -1258,7 +1259,7 @@ class PreferencesDialog(tk.Toplevel):
|
||||
config.set('ui_scale', self.ui_scale.get())
|
||||
config.set('ui_transparency', self.transparency.get())
|
||||
config.set('always_ontop', self.always_ontop.get())
|
||||
# config.set('minimize_system_tray', self.minimize_system_tray.get())
|
||||
config.set('minimize_system_tray', self.minimize_system_tray.get())
|
||||
config.set('theme', self.theme.get())
|
||||
config.set('dark_text', self.theme_colors[0])
|
||||
config.set('dark_highlight', self.theme_colors[1])
|
||||
@@ -1281,8 +1282,9 @@ class PreferencesDialog(tk.Toplevel):
|
||||
self.parent.wm_attributes('-topmost', 1 if config.get_int('always_ontop') else 0)
|
||||
self.destroy()
|
||||
|
||||
if platform == 'darwin':
|
||||
if sys.platform == 'darwin':
|
||||
def enableshortcuts(self) -> None:
|
||||
"""Set up macOS preferences shortcut."""
|
||||
self.apply()
|
||||
# popup System Preferences dialog
|
||||
try:
|
||||
|
||||
+26
-21
@@ -1,12 +1,13 @@
|
||||
"""protocol handler for cAPI authorisation."""
|
||||
|
||||
# spell-checker: words ntdll GURL alloc wfile instantiatable pyright
|
||||
import os
|
||||
import sys
|
||||
import threading
|
||||
import urllib.error
|
||||
import urllib.parse
|
||||
import urllib.request
|
||||
from typing import TYPE_CHECKING, Optional
|
||||
from typing import TYPE_CHECKING, Optional, Type
|
||||
|
||||
from config import config
|
||||
from constants import appname, protocolhandler_redirect
|
||||
@@ -115,10 +116,10 @@ if sys.platform == 'darwin' and getattr(sys, 'frozen', False): # noqa: C901 # i
|
||||
|
||||
elif (config.auth_force_edmc_protocol
|
||||
or (
|
||||
sys.platform == 'win32'
|
||||
and getattr(sys, 'frozen', False)
|
||||
and not is_wine
|
||||
and not config.auth_force_localserver
|
||||
sys.platform == 'win32'
|
||||
and getattr(sys, 'frozen', False)
|
||||
and not is_wine
|
||||
and not config.auth_force_localserver
|
||||
)):
|
||||
# spell-checker: words HBRUSH HICON WPARAM wstring WNDCLASS HMENU HGLOBAL
|
||||
from ctypes import windll # type: ignore
|
||||
@@ -415,20 +416,24 @@ else: # Linux / Run from source
|
||||
pass
|
||||
|
||||
|
||||
# singleton
|
||||
def get_handler_impl() -> Type[GenericProtocolHandler]:
|
||||
"""
|
||||
Get the appropriate GenericProtocolHandler for the current system and config.
|
||||
|
||||
:return: An instantiatable GenericProtocolHandler
|
||||
"""
|
||||
if sys.platform == 'darwin' and getattr(sys, 'frozen', False):
|
||||
return DarwinProtocolHandler # pyright: reportUnboundVariable=false
|
||||
|
||||
elif (
|
||||
(sys.platform == 'win32' and config.auth_force_edmc_protocol)
|
||||
or (getattr(sys, 'frozen', False) and not is_wine and not config.auth_force_localserver)
|
||||
):
|
||||
return WindowsProtocolHandler
|
||||
|
||||
else:
|
||||
return LinuxProtocolHandler
|
||||
|
||||
|
||||
# *late init* singleton
|
||||
protocolhandler: GenericProtocolHandler
|
||||
|
||||
if sys.platform == 'darwin' and getattr(sys, 'frozen', False):
|
||||
protocolhandler = DarwinProtocolHandler() # pyright: reportUnboundVariable=false
|
||||
|
||||
elif (
|
||||
sys.platform == 'win32'
|
||||
and config.auth_force_edmc_protocol or (
|
||||
getattr(sys, 'frozen', False)
|
||||
and not is_wine
|
||||
and not config.auth_force_localserver
|
||||
)
|
||||
):
|
||||
protocolhandler = WindowsProtocolHandler()
|
||||
else:
|
||||
protocolhandler = LinuxProtocolHandler()
|
||||
+5
-2
@@ -3,10 +3,13 @@ max_line_length = 120
|
||||
|
||||
[tool.isort]
|
||||
multi_line_output = 5
|
||||
line_length = 119
|
||||
line_length = 119
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = ["tests"] # Search for tests in tests/
|
||||
|
||||
[tool.coverage.run]
|
||||
omit = ["venv/*"] # when running pytest --cov, dont report coverage in venv directories
|
||||
omit = ["venv/*"] # when running pytest --cov, dont report coverage in venv directories
|
||||
|
||||
[tool.pyright]
|
||||
# pythonPlatform = 'Darwin'
|
||||
@@ -1,139 +0,0 @@
|
||||
id,symbol,market_id,category,name
|
||||
128666746,EraninPearlWhisky,128001536,Legal Drugs,Eranin Pearl Whisky
|
||||
128666747,LavianBrandy,128106744,Legal Drugs,Lavian Brandy
|
||||
128667019,HIP10175BushMeat,3223234816,Foods,HIP 10175 Bush Meat
|
||||
128667020,AlbinoQuechuaMammoth,3222822912,Foods,Albino Quechua Mammoth Meat
|
||||
128667021,UtgaroarMillenialEggs,128037120,Foods,Utgaroar Millennial Eggs
|
||||
128667022,WitchhaulKobeBeef,3223358720,Foods,Witchhaul Kobe Beef
|
||||
128667023,KarsukiLocusts,3225028096,Foods,Karsuki Locusts
|
||||
128667024,GiantIrukamaSnails,3225345792,Foods,Giant Irukama Snails
|
||||
128667025,BaltahSineVacuumKrill,128088056,Foods,Baltah'sine Vacuum Krill
|
||||
128667026,CetiRabbits,3222560000,Foods,Ceti Rabbits
|
||||
128667027,KachiriginLeaches,3221595648,Medicines,Kachirigin Filter Leeches
|
||||
128667028,LyraeWeed,3226417152,Legal Drugs,Lyrae Weed
|
||||
128667029,OnionHead,128129272,Legal Drugs,Onionhead
|
||||
128667030,TarachTorSpice,128041984,Legal Drugs,Tarach Spice
|
||||
128667031,Wolf1301Fesh,128084984,Legal Drugs,Wolf Fesh
|
||||
128667032,BorasetaniPathogenetics,3229638400,Weapons,Borasetani Pathogenetics
|
||||
128667033,HIP118311Swarm,3223177472,Weapons,HIP 118311 Swarm
|
||||
128667034,KonggaAle,3226978048,Legal Drugs,Kongga Ale
|
||||
128667035,WuthieloKuFroth,3222155776,Legal Drugs,Wuthielo Ku Froth
|
||||
128667036,AlacarakmoSkinArt,3231373824,Consumer Items,Alacarakmo Skin Art
|
||||
128667037,EleuThermals,3230624768,Consumer Items,Eleu Thermals
|
||||
128667038,EshuUmbrellas,3222295552,Consumer Items,Eshu Umbrellas
|
||||
128667039,KaretiiCouture,3227333120,Consumer Items,Karetii Couture
|
||||
128667040,NjangariSaddles,3222416896,Consumer Items,Njangari Saddles
|
||||
128667041,AnyNaCoffee,3229880064,Foods,Any Na Coffee
|
||||
128667042,CD75CatCoffee,3228566016,Foods,CD-75 Kitten Brand Coffee
|
||||
128667043,GomanYauponCoffee,3224449792,Foods,Goman Yaupon Coffee
|
||||
128667044,VolkhabBeeDrones,3227831808,Machinery,Volkhab Bee Drones
|
||||
128667045,KinagoInstruments,3227394304,Consumer Items,Kinago Violins
|
||||
128667046,NgunaModernAntiques,3221538304,Consumer Items,Nguna Modern Antiques
|
||||
128667047,RajukruStoves,3227512320,Consumer Items,Rajukru Multi-Stoves
|
||||
128667048,TiolceWaste2PasteUnits,3224141312,Consumer Items,Tiolce Waste2Paste Units
|
||||
128667049,ChiEridaniMarinePaste,128128760,Foods,Chi Eridani Marine Paste
|
||||
128667050,EsusekuCaviar,3226919680,Foods,Esuseku Caviar
|
||||
128667051,LiveHecateSeaWorms,128042496,Foods,Live Hecate Sea Worms
|
||||
128667052,HelvetitjPearls,3231094528,Metals,Helvetitj Pearls
|
||||
128667053,HIP41181Squid,3227995392,Foods,HIP Proto-Squid
|
||||
128667054,CoquimSpongiformVictuals,3223832576,Foods,Coquim Spongiform Victuals
|
||||
128667055,AerialEdenApple,128083448,Foods,Eden Apples of Aerial
|
||||
128667056,NeritusBerries,3228206080,Foods,Neritus Berries
|
||||
128667057,OchoengChillies,3226719232,Foods,Ochoeng Chillies
|
||||
128667058,DeuringasTruffles,3229713408,Foods,Deuringas Truffles
|
||||
128667059,HR7221Wheat,3226170880,Foods,HR 7221 Wheat
|
||||
128667060,JarouaRice,3224698112,Foods,Jaroua Rice
|
||||
128667061,BelalansRayLeather,3223537152,Textiles,Belalans Ray Leather
|
||||
128667062,DamnaCarapaces,3227751936,Textiles,Damna Carapaces
|
||||
128667063,RapaBaoSnakeSkins,3222875648,Textiles,Rapa Bao Snake Skins
|
||||
128667064,VanayequiRhinoFur,3227289856,Textiles,Vanayequi Ceratomorpha Fur
|
||||
128667065,BastSnakeGin,128086776,Legal Drugs,Bast Snake Gin
|
||||
128667066,ThrutisCream,3226522368,Legal Drugs,Thrutis Cream
|
||||
128667067,WulpaHyperboreSystems,3221388032,Machinery,Wulpa Hyperbore Systems
|
||||
128667068,AganippeRush,128012800,Medicines,Aganippe Rush
|
||||
128667069,TerraMaterBloodBores,128051466,Medicines,Terra Mater Blood Bores
|
||||
128667070,HolvaDuellingBlades,3222713088,Weapons,Holva Duelling Blades
|
||||
128667071,KamorinHistoricWeapons,3221669632,Weapons,Kamorin Historic Weapons
|
||||
128667072,GilyaSignatureWeapons,3226857216,Weapons,Gilya Signature Weapons
|
||||
128667073,DeltaPhoenicisPalms,128045312,Chemicals,Delta Phoenicis Palms
|
||||
128667074,ToxandjiVirocide,3230258688,Chemicals,Toxandji Virocide
|
||||
128667075,XiheCompanions,3224133120,Technology,Xihe Biomorphic Companions
|
||||
128667076,SanumaMEAT,3230331136,Foods,Sanuma Decorative Meat
|
||||
128667077,EthgrezeTeaBuds,3229524992,Foods,Ethgreze Tea Buds
|
||||
128667078,CeremonialHeikeTea,3227417856,Foods,Ceremonial Heike Tea
|
||||
128667079,TanmarkTranquilTea,128057866,Foods,Tanmark Tranquil Tea
|
||||
128667080,AZCancriFormula42,3228400128,Technology,Az Cancri Formula 42
|
||||
128667081,KamitraCigars,3225450752,Legal Drugs,Kamitra Cigars
|
||||
128667082,RusaniOldSmokey,3229255680,Legal Drugs,Rusani Old Smokey
|
||||
128667083,YasoKondiLeaf,3223088640,Legal Drugs,Yaso Kondi Leaf
|
||||
128667084,ChateauDeAegaeon,3228416768,Legal Drugs,Chateau De Aegaeon
|
||||
128667085,WatersOfShintara,128666762,Medicines,The Waters of Shintara
|
||||
128667668,OphiuchiExinoArtefacts,3228939264,Consumer Items,Ophiuch Exino Artefacts
|
||||
128667669,BakedGreebles,3229378560,Foods,Baked Greebles
|
||||
128667670,CetiAepyornisEgg,3222560256,Foods,Aepyornis Egg
|
||||
128667671,SaxonWine,3227986432,Legal Drugs,Saxon Wine
|
||||
128667672,CentauriMegaGin,3228728832,Legal Drugs,Centauri Mega Gin
|
||||
128667673,AnduligaFireWorks,3230243584,Consumer Items,Anduliga Fire Works
|
||||
128667674,BankiAmphibiousLeather,3228346112,Textiles,Banki Amphibious Leather
|
||||
128667675,CherbonesBloodCrystals,3229594624,Metals,Cherbones Blood Crystals
|
||||
128667676,MotronaExperienceJelly,3229750528,Legal Drugs,Motrona Experience Jelly
|
||||
128667677,GeawenDanceDust,3230954752,Legal Drugs,Geawen Dance Dust
|
||||
128667678,GerasianGueuzeBeer,3228047360,Legal Drugs,Gerasian Gueuze Beer
|
||||
128667679,HaidneBlackBrew,3226557696,Foods,Haiden Black Brew
|
||||
128667680,HavasupaiDreamCatcher,3221438976,Consumer Items,Havasupai Dream Catcher
|
||||
128667681,BurnhamBileDistillate,3230224384,Legal Drugs,Burnham Bile Distillate
|
||||
128667682,HIPOrganophosphates,3227036160,Chemicals,HIP Organophosphates
|
||||
128667683,JaradharrePuzzlebox,3230754816,Consumer Items,Jaradharre Puzzle Box
|
||||
128667684,KorroKungPellets,3228726272,Chemicals,Koro Kung Pellets
|
||||
128667685,LFTVoidExtractCoffee,3229028864,Foods,Void Extract Coffee
|
||||
128667686,HonestyPills,3229561344,Medicines,Honesty Pills
|
||||
128667687,NonEuclidianExotanks,3224135424,Machinery,Non Euclidian Exotanks
|
||||
128667688,LTTHyperSweet,3224166400,Foods,LTT Hyper Sweet
|
||||
128667689,MechucosHighTea,3228398848,Foods,Mechucos High Tea
|
||||
128667690,MedbStarlube,3228762368,Chemicals,Medb Starlube
|
||||
128667691,MokojingBeastFeast,3229612800,Foods,Mokojing Beast Feast
|
||||
128667692,MukusubiiChitinOs,3221719296,Foods,Mukusubii Chitin-os
|
||||
128667693,MulachiGiantFungus,3228892672,Foods,Mulachi Giant Fungus
|
||||
128667694,NgadandariFireOpals,3226127872,Metals,Ngadandari Fire Opals
|
||||
128667695,TiegfriesSynthSilk,3227726848,Textiles,Tiegfries Synth Silk
|
||||
128667696,UzumokuLowGWings,3226474496,Consumer Items,Uzumoku Low-G Wings
|
||||
128667697,VHerculisBodyRub,3228959232,Medicines,V Herculis Body Rub
|
||||
128667698,WheemeteWheatCakes,3225032704,Foods,Wheemete Wheat Cakes
|
||||
128667699,VegaSlimWeed,128149240,Medicines,Vega Slimweed
|
||||
128667700,AltairianSkin,128151032,Consumer Items,Altairian Skin
|
||||
128667701,PavonisEarGrubs,128117240,Legal Drugs,Pavonis Ear Grubs
|
||||
128667702,JotunMookah,128078840,Textiles,Jotun Mookah
|
||||
128667703,GiantVerrix,128121336,Machinery,Giant Verrix
|
||||
128667704,IndiBourbon,128118520,Legal Drugs,Indi Bourbon
|
||||
128667705,AroucaConventualSweets,128098040,Foods,Arouca Conventual Sweets
|
||||
128667706,TauriChimes,128134648,Consumer Items,Tauri Chimes
|
||||
128667707,ZeesszeAntGlue,128125432,Consumer Items,Zeessze Ant Grub Glue
|
||||
128667708,PantaaPrayerSticks,3228824064,Medicines,Pantaa Prayer Sticks
|
||||
128667709,FujinTea,128134392,Foods,Fujin Tea
|
||||
128667710,ChameleonCloth,3223418880,Textiles,Chameleon Cloth
|
||||
128667711,OrrerianViciousBrew,128166392,Foods,Orrerian Vicious Brew
|
||||
128667712,UszaianTreeGrub,128164856,Foods,Uszaian Tree Grub
|
||||
128667713,MomusBogSpaniel,128075256,Consumer Items,Momus Bog Spaniel
|
||||
128667714,DisoMaCorn,128161016,Foods,Diso Ma Corn
|
||||
128667715,LeestianEvilJuice,128639992,Legal Drugs,Leestian Evil Juice
|
||||
128667716,BlueMilk,128639992,Foods,Azure Milk
|
||||
128667717,AlienEggs,128164088,Consumer Items,Leathery Eggs
|
||||
128667718,AlyaBodilySoap,3221638400,Medicines,Alya Body Soap
|
||||
128667719,VidavantianLace,3231082240,Consumer Items,Vidavantian Lace
|
||||
128667760,TransgenicOnionHead,128057866,Legal Drugs,Lucan Onionhead
|
||||
128668017,JaquesQuinentianStill,128667761,Consumer Items,Jaques Quinentian Still
|
||||
128668018,SoontillRelics,3225348096,Consumer Items,Soontill Relics
|
||||
128671119,Advert1,3227172352,Consumer Items,Ultra-Compact Processor Prototypes
|
||||
128672121,TheHuttonMug,3228728832,Consumer Items,The Hutton Mug
|
||||
128672122,SothisCrystallineGold,128668557,Metals,Sothis Crystalline Gold
|
||||
128672316,MasterChefs,3228193280,Slavery,Master Chefs
|
||||
128672431,PersonalGifts,3223105792,Salvage,Personal Gifts
|
||||
128672432,CrystallineSpheres,128059402,Salvage,Crystalline Spheres
|
||||
128672812,OnionHeadA,3226977024,Legal Drugs,Onionhead Alpha Strain
|
||||
128673069,OnionHeadB,3223027200,Legal Drugs,Onionhead Beta Strain
|
||||
128682050,GalacticTravelGuide,128673074,Salvage,Galactic Travel Guide
|
||||
128727921,AnimalEffigies,3228463360,Legal Drugs,Crom Silver Fesh
|
||||
128732551,ShansCharisOrchid,128107768,Consumer Items,Shan's Charis Orchid
|
||||
128748428,BuckyballBeerMats,128745551,Consumer Items,Buckyball Beer Mats
|
||||
128793113,HarmaSilverSeaRum,3221575424,Legal Drugs,Harma Silver Sea Rum
|
||||
128793114,PlatinumAloy,3223779840,Metals,Platinum Alloy
|
||||
|
+33
-22
@@ -2,40 +2,51 @@
|
||||
# Using legacy 'setup.py install' for flake8-annotations-coverage, since package 'wheel' is not installed.
|
||||
wheel
|
||||
|
||||
# Static analysis tools
|
||||
flake8==3.9.2
|
||||
flake8-annotations-coverage==0.0.5
|
||||
flake8-cognitive-complexity==0.1.0
|
||||
flake8-comprehensions==3.6.1
|
||||
flake8-docstrings==1.6.0
|
||||
isort==5.9.3
|
||||
flake8-isort==4.0.0
|
||||
flake8-json==21.7.0
|
||||
flake8-noqa==1.1.0
|
||||
flake8-polyfill==1.0.2
|
||||
flake8-use-fstring==1.1
|
||||
# We can't rely on just picking this up from either the base (not venv),
|
||||
# or venv-init-time version. Specify here so that dependabot will prod us
|
||||
# about new versions.
|
||||
## Anything later than 60.10.0 complains about auto-discovering multiple
|
||||
## packages. ref: <https://github.com/py2exe/py2exe/issues/136>
|
||||
setuptools==60.10.0
|
||||
|
||||
mypy==0.910
|
||||
pep8-naming==0.12.1
|
||||
# Static analysis tools
|
||||
flake8==4.0.1
|
||||
flake8-annotations-coverage==0.0.6
|
||||
flake8-cognitive-complexity==0.1.0
|
||||
flake8-comprehensions==3.10.0
|
||||
flake8-docstrings==1.6.0
|
||||
isort==5.10.1
|
||||
flake8-isort==4.1.1
|
||||
flake8-json==21.7.0
|
||||
flake8-noqa==1.2.2
|
||||
flake8-polyfill==1.0.2
|
||||
flake8-use-fstring==1.3
|
||||
|
||||
mypy==0.961
|
||||
pep8-naming==0.13.0
|
||||
safety==1.10.3
|
||||
types-requests==2.25.6
|
||||
types-requests==2.27.30
|
||||
|
||||
# Code formatting tools
|
||||
autopep8==1.5.7
|
||||
autopep8==1.6.0
|
||||
|
||||
# HTML changelogs
|
||||
grip==4.5.2
|
||||
grip==4.6.1
|
||||
|
||||
# Packaging
|
||||
# Used to put together a WiX configuration from template/auto-gen
|
||||
lxml==4.9.0
|
||||
# We only need py2exe on windows.
|
||||
py2exe==0.10.4.0; sys_platform == 'win32'
|
||||
# Pre-release version addressing semantic_version 2.9.0+ issues:
|
||||
# <https://github.com/py2exe/py2exe/issues/126>
|
||||
py2exe==0.11.1.0; sys_platform == 'win32'
|
||||
|
||||
# Testing
|
||||
pytest==6.2.4
|
||||
pytest-cov==2.12.1 # Pytest code coverage support
|
||||
coverage[toml]==5.5 # pytest-cov dep. This is here to ensure that it includes TOML support for pyproject.toml configs
|
||||
pytest==7.1.2
|
||||
pytest-cov==3.0.0 # Pytest code coverage support
|
||||
coverage[toml]==6.4.1 # pytest-cov dep. This is here to ensure that it includes TOML support for pyproject.toml configs
|
||||
# For manipulating folder permissions and the like.
|
||||
pywin32==301; sys_platform == 'win32'
|
||||
pywin32==304; sys_platform == 'win32'
|
||||
|
||||
|
||||
# All of the normal requirements
|
||||
|
||||
+5
-5
@@ -1,11 +1,11 @@
|
||||
certifi==2021.5.30
|
||||
requests==2.26.0
|
||||
watchdog==2.1.5
|
||||
certifi==2022.5.18.1
|
||||
requests==2.28.0
|
||||
watchdog==2.1.9
|
||||
# Commented out because this doesn't package well with py2exe
|
||||
# infi.systray==0.1.12; sys_platform == 'win32'
|
||||
infi.systray==0.1.12; sys_platform == 'win32'
|
||||
# argh==0.26.2 watchdog dep
|
||||
# pyyaml==5.3.1 watchdog dep
|
||||
semantic-version==2.8.5
|
||||
semantic-version==2.10.0
|
||||
|
||||
# Base requirement for MacOS
|
||||
pyobjc; sys_platform == 'darwin'
|
||||
@@ -9,6 +9,7 @@ Script to build to .exe and .msi package.
|
||||
|
||||
import codecs
|
||||
import os
|
||||
import pathlib
|
||||
import platform
|
||||
import re
|
||||
import shutil
|
||||
@@ -18,13 +19,15 @@ from os.path import exists, isdir, join
|
||||
from tempfile import gettempdir
|
||||
from typing import Any, Generator, Set
|
||||
|
||||
from lxml import etree
|
||||
|
||||
from config import (
|
||||
appcmdname, applongname, appname, appversion, appversion_nobuild, copyright, git_shorthash_from_head, update_feed,
|
||||
update_interval
|
||||
)
|
||||
from constants import GITVERSION_FILE
|
||||
|
||||
if sys.version_info[0:2] != (3, 9):
|
||||
if sys.version_info[0:2] != (3, 10):
|
||||
raise AssertionError(f'Unexpected python version {sys.version}')
|
||||
|
||||
###########################################################################
|
||||
@@ -141,12 +144,16 @@ if sys.platform == 'darwin':
|
||||
('plugins', x) for x in PLUGINS
|
||||
],
|
||||
'resources': [
|
||||
'commodity.csv',
|
||||
'rare_commodity.csv',
|
||||
'.gitversion', # Contains git short hash
|
||||
'ChangeLog.md',
|
||||
'snd_good.wav',
|
||||
'snd_bad.wav',
|
||||
'modules.p',
|
||||
'ships.p',
|
||||
('FDevIDs', [
|
||||
join('FDevIDs', 'commodity.csv'),
|
||||
join('FDevIDs', 'rare_commodity.csv'),
|
||||
]),
|
||||
],
|
||||
'site_packages': False,
|
||||
'plist': {
|
||||
@@ -184,7 +191,10 @@ elif sys.platform == 'win32':
|
||||
'dist_dir': dist_dir,
|
||||
'optimize': 2,
|
||||
'packages': [
|
||||
'asyncio', # No longer auto as of py3.10+py2exe 0.11
|
||||
'multiprocessing', # No longer auto as of py3.10+py2exe 0.11
|
||||
'sqlite3', # Included for plugins
|
||||
'util', # 2022-02-01 only imported in plugins/eddn.py
|
||||
],
|
||||
'includes': [
|
||||
'dataclasses',
|
||||
@@ -197,7 +207,6 @@ elif sys.platform == 'win32':
|
||||
'_markerlib',
|
||||
'optparse',
|
||||
'PIL',
|
||||
'pkg_resources',
|
||||
'simplejson',
|
||||
'unittest'
|
||||
],
|
||||
@@ -210,9 +219,7 @@ elif sys.platform == 'win32':
|
||||
'WinSparkle.dll',
|
||||
'WinSparkle.pdb', # For debugging - don't include in package
|
||||
'EUROCAPS.TTF',
|
||||
'Changelog.md',
|
||||
'commodity.csv',
|
||||
'rare_commodity.csv',
|
||||
'ChangeLog.md',
|
||||
'snd_good.wav',
|
||||
'snd_bad.wav',
|
||||
'modules.p',
|
||||
@@ -224,6 +231,10 @@ elif sys.platform == 'win32':
|
||||
'EDMarketConnector - reset-ui.bat',
|
||||
]),
|
||||
('L10n', [join('L10n', x) for x in os.listdir('L10n') if x.endswith('.strings')]),
|
||||
('FDevIDs', [
|
||||
join('FDevIDs', 'commodity.csv'),
|
||||
join('FDevIDs', 'rare_commodity.csv'),
|
||||
]),
|
||||
('plugins', PLUGINS),
|
||||
]
|
||||
|
||||
@@ -284,13 +295,110 @@ if sys.platform == 'darwin':
|
||||
os.system(f'cd {dist_dir}; ditto -ck --keepParent --sequesterRsrc {appname}.app ../{package_filename}; cd ..')
|
||||
|
||||
elif sys.platform == 'win32':
|
||||
os.system(rf'"{WIXPATH}\candle.exe" -out {dist_dir}\ {appname}.wxs')
|
||||
template_file = pathlib.Path('wix/template.wxs')
|
||||
components_file = pathlib.Path('wix/components.wxs')
|
||||
final_wxs_file = pathlib.Path('EDMarketConnector.wxs')
|
||||
|
||||
if not exists(f'{dist_dir}/{appname}.wixobj'):
|
||||
raise AssertionError(f'No {dist_dir}/{appname}.wixobj: candle.exe failed?')
|
||||
# Use heat.exe to generate the Component for all files inside dist.win32
|
||||
os.system(rf'"{WIXPATH}\heat.exe" dir {dist_dir}\ -ag -sfrag -srid -suid -out {components_file}')
|
||||
|
||||
component_tree = etree.parse(str(components_file))
|
||||
# 1. Change the element:
|
||||
#
|
||||
# <Directory Id="dist.win32" Name="dist.win32">
|
||||
#
|
||||
# to:
|
||||
#
|
||||
# <Directory Id="INSTALLDIR" Name="$(var.PRODUCTNAME)">
|
||||
directory_win32 = component_tree.find('.//{*}Directory[@Id="dist.win32"][@Name="dist.win32"]')
|
||||
if directory_win32 is None:
|
||||
raise ValueError(f'{components_file}: Expected Directory with Id="dist.win32"')
|
||||
|
||||
directory_win32.set('Id', 'INSTALLDIR')
|
||||
directory_win32.set('Name', '$(var.PRODUCTNAME)')
|
||||
# 2. Change:
|
||||
#
|
||||
# <Component Id="EDMarketConnector.exe" Guid="*">
|
||||
# <File Id="EDMarketConnector.exe" KeyPath="yes" Source="SourceDir\EDMarketConnector.exe" />
|
||||
# </Component>
|
||||
#
|
||||
# to:
|
||||
#
|
||||
# <Component Id="MainExecutable" Guid="{D33BB66E-9664-4AB6-A044-3004B50A09B0}">
|
||||
# <File Id="EDMarketConnector.exe" KeyPath="yes" Source="SourceDir\EDMarketConnector.exe" />
|
||||
# <Shortcut Id="MainExeShortcut" Directory="ProgramMenuFolder" Name="$(var.PRODUCTLONGNAME)"
|
||||
# Description="Downloads station data from Elite: Dangerous" WorkingDirectory="INSTALLDIR"
|
||||
# Icon="EDMarketConnector.exe" IconIndex="0" Advertise="yes" />
|
||||
# </Component>
|
||||
main_executable = directory_win32.find('.//{*}Component[@Id="EDMarketConnector.exe"]')
|
||||
if main_executable is None:
|
||||
raise ValueError(f'{components_file}: Expected Component with Id="EDMarketConnector.exe"')
|
||||
|
||||
main_executable.set('Id', 'MainExecutable')
|
||||
main_executable.set('Guid', '{D33BB66E-9664-4AB6-A044-3004B50A09B0}')
|
||||
shortcut = etree.SubElement(
|
||||
main_executable,
|
||||
'Shortcut',
|
||||
nsmap=main_executable.nsmap,
|
||||
attrib={
|
||||
'Id': 'MainExeShortcut',
|
||||
'Directory': 'ProgramMenuFolder',
|
||||
'Name': '$(var.PRODUCTLONGNAME)',
|
||||
'Description': 'Downloads station data from Elite: Dangerous',
|
||||
'WorkingDirectory': 'INSTALLDIR',
|
||||
'Icon': 'EDMarketConnector.exe',
|
||||
'IconIndex': '0',
|
||||
'Advertise': 'yes'
|
||||
}
|
||||
)
|
||||
# Now insert the appropriate parts as a child of the ProgramFilesFolder part
|
||||
# of the template.
|
||||
template_tree = etree.parse(str(template_file))
|
||||
program_files_folder = template_tree.find('.//{*}Directory[@Id="ProgramFilesFolder"]')
|
||||
if program_files_folder is None:
|
||||
raise ValueError(f'{template_file}: Expected Directory with Id="ProgramFilesFolder"')
|
||||
|
||||
program_files_folder.insert(0, directory_win32)
|
||||
# Append the Feature/ComponentRef listing to match
|
||||
feature = template_tree.find('.//{*}Feature[@Id="Complete"][@Level="1"]')
|
||||
if feature is None:
|
||||
raise ValueError(f'{template_file}: Expected Feature element with Id="Complete" Level="1"')
|
||||
|
||||
# This isn't part of the components
|
||||
feature.append(
|
||||
etree.Element(
|
||||
'ComponentRef',
|
||||
attrib={
|
||||
'Id': 'RegistryEntries'
|
||||
},
|
||||
nsmap=directory_win32.nsmap
|
||||
)
|
||||
)
|
||||
for c in directory_win32.findall('.//{*}Component'):
|
||||
feature.append(
|
||||
etree.Element(
|
||||
'ComponentRef',
|
||||
attrib={
|
||||
'Id': c.get('Id')
|
||||
},
|
||||
nsmap=directory_win32.nsmap
|
||||
)
|
||||
)
|
||||
|
||||
# Insert what we now have into the template and write it out
|
||||
template_tree.write(
|
||||
str(final_wxs_file), encoding='utf-8',
|
||||
pretty_print=True,
|
||||
xml_declaration=True
|
||||
)
|
||||
|
||||
os.system(rf'"{WIXPATH}\candle.exe" {appname}.wxs')
|
||||
|
||||
if not exists(f'{appname}.wixobj'):
|
||||
raise AssertionError(f'No {appname}.wixobj: candle.exe failed?')
|
||||
|
||||
package_filename = f'{appname}_win_{appversion_nobuild()}.msi'
|
||||
os.system(rf'"{WIXPATH}\light.exe" -sacl -spdb -sw1076 {dist_dir}\{appname}.wixobj -out {package_filename}')
|
||||
os.system(rf'"{WIXPATH}\light.exe" -b {dist_dir}\ -sacl -spdb -sw1076 {appname}.wixobj -out {package_filename}')
|
||||
|
||||
if not exists(package_filename):
|
||||
raise AssertionError(f'light.exe failed, no {package_filename}')
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
"""CMDR Status information."""
|
||||
import csv
|
||||
import json
|
||||
import sys
|
||||
import tkinter
|
||||
import tkinter as tk
|
||||
from sys import platform
|
||||
from tkinter import ttk
|
||||
from typing import TYPE_CHECKING, Any, AnyStr, Callable, Dict, List, NamedTuple, Optional, Sequence, cast
|
||||
|
||||
@@ -10,6 +11,7 @@ import companion
|
||||
import EDMCLogging
|
||||
import myNotebook as nb # noqa: N813
|
||||
from edmc_data import ship_name_map
|
||||
from hotkey import hotkeymgr
|
||||
from l10n import Locale
|
||||
from monitor import monitor
|
||||
|
||||
@@ -18,11 +20,9 @@ logger = EDMCLogging.get_main_logger()
|
||||
if TYPE_CHECKING:
|
||||
def _(x: str) -> str: ...
|
||||
|
||||
if platform == 'win32':
|
||||
if sys.platform == 'win32':
|
||||
import ctypes
|
||||
from ctypes.wintypes import HWND, POINT, RECT, SIZE, UINT
|
||||
if TYPE_CHECKING:
|
||||
import ctypes.windll # type: ignore # Fake this into existing, its really a magic dll thing
|
||||
|
||||
try:
|
||||
CalculatePopupWindowPosition = ctypes.windll.user32.CalculatePopupWindowPosition
|
||||
@@ -38,6 +38,13 @@ if platform == 'win32':
|
||||
CalculatePopupWindowPosition = None # type: ignore
|
||||
|
||||
|
||||
CR_LINES_START = 1
|
||||
CR_LINES_END = 3
|
||||
RANK_LINES_START = 3
|
||||
RANK_LINES_END = 9
|
||||
POWERPLAY_LINES_START = 9
|
||||
|
||||
|
||||
def status(data: Dict[str, Any]) -> List[List[str]]:
|
||||
"""
|
||||
Get the current status of the cmdr referred to by data.
|
||||
@@ -52,20 +59,33 @@ def status(data: Dict[str, Any]) -> List[List[str]]:
|
||||
[_('Loan'), str(data['commander'].get('debt', 0))], # LANG: Cmdr stats
|
||||
]
|
||||
|
||||
_ELITE_RANKS = [ # noqa: N806 # Its a constant, just needs to be updated at runtime
|
||||
_('Elite'), # LANG: Top rank
|
||||
_('Elite I'), # LANG: Top rank +1
|
||||
_('Elite II'), # LANG: Top rank +2
|
||||
_('Elite III'), # LANG: Top rank +3
|
||||
_('Elite IV'), # LANG: Top rank +4
|
||||
_('Elite V'), # LANG: Top rank +5
|
||||
]
|
||||
|
||||
RANKS = [ # noqa: N806 # Its a constant, just needs to be updated at runtime
|
||||
# in output order
|
||||
(_('Combat'), 'combat'), # LANG: Ranking
|
||||
(_('Trade'), 'trade'), # LANG: Ranking
|
||||
(_('Explorer'), 'explore'), # LANG: Ranking
|
||||
(_('CQC'), 'cqc'), # LANG: Ranking
|
||||
(_('Federation'), 'federation'), # LANG: Ranking
|
||||
(_('Empire'), 'empire'), # LANG: Ranking
|
||||
(_('Powerplay'), 'power'), # LANG: Ranking
|
||||
# ??? , 'crime'), # LANG: Ranking
|
||||
# ??? , 'service'), # LANG: Ranking
|
||||
# Names we show people, vs internal names
|
||||
(_('Combat'), 'combat'), # LANG: Ranking
|
||||
(_('Trade'), 'trade'), # LANG: Ranking
|
||||
(_('Explorer'), 'explore'), # LANG: Ranking
|
||||
(_('Mercenary'), 'soldier'), # LANG: Ranking
|
||||
(_('Exobiologist'), 'exobiologist'), # LANG: Ranking
|
||||
(_('CQC'), 'cqc'), # LANG: Ranking
|
||||
(_('Federation'), 'federation'), # LANG: Ranking
|
||||
(_('Empire'), 'empire'), # LANG: Ranking
|
||||
(_('Powerplay'), 'power'), # LANG: Ranking
|
||||
# ??? , 'crime'), # LANG: Ranking
|
||||
# ??? , 'service'), # LANG: Ranking
|
||||
]
|
||||
|
||||
RANK_NAMES = { # noqa: N806 # Its a constant, just needs to be updated at runtime
|
||||
# These names are the fdev side name (but lower()ed)
|
||||
# http://elite-dangerous.wikia.com/wiki/Pilots_Federation#Ranks
|
||||
'combat': [
|
||||
_('Harmless'), # LANG: Combat rank
|
||||
@@ -76,8 +96,7 @@ def status(data: Dict[str, Any]) -> List[List[str]]:
|
||||
_('Master'), # LANG: Combat rank
|
||||
_('Dangerous'), # LANG: Combat rank
|
||||
_('Deadly'), # LANG: Combat rank
|
||||
_('Elite'), # LANG: Top rank
|
||||
],
|
||||
] + _ELITE_RANKS,
|
||||
'trade': [
|
||||
_('Penniless'), # LANG: Trade rank
|
||||
_('Mostly Penniless'), # LANG: Trade rank
|
||||
@@ -87,8 +106,7 @@ def status(data: Dict[str, Any]) -> List[List[str]]:
|
||||
_('Broker'), # LANG: Trade rank
|
||||
_('Entrepreneur'), # LANG: Trade rank
|
||||
_('Tycoon'), # LANG: Trade rank
|
||||
_('Elite') # LANG: Top rank
|
||||
],
|
||||
] + _ELITE_RANKS,
|
||||
'explore': [
|
||||
_('Aimless'), # LANG: Explorer rank
|
||||
_('Mostly Aimless'), # LANG: Explorer rank
|
||||
@@ -98,8 +116,28 @@ def status(data: Dict[str, Any]) -> List[List[str]]:
|
||||
_('Pathfinder'), # LANG: Explorer rank
|
||||
_('Ranger'), # LANG: Explorer rank
|
||||
_('Pioneer'), # LANG: Explorer rank
|
||||
_('Elite') # LANG: Top rank
|
||||
],
|
||||
|
||||
] + _ELITE_RANKS,
|
||||
'soldier': [
|
||||
_('Defenceless'), # LANG: Mercenary rank
|
||||
_('Mostly Defenceless'), # LANG: Mercenary rank
|
||||
_('Rookie'), # LANG: Mercenary rank
|
||||
_('Soldier'), # LANG: Mercenary rank
|
||||
_('Gunslinger'), # LANG: Mercenary rank
|
||||
_('Warrior'), # LANG: Mercenary rank
|
||||
_('Gunslinger'), # LANG: Mercenary rank
|
||||
_('Deadeye'), # LANG: Mercenary rank
|
||||
] + _ELITE_RANKS,
|
||||
'exobiologist': [
|
||||
_('Directionless'), # LANG: Exobiologist rank
|
||||
_('Mostly Directionless'), # LANG: Exobiologist rank
|
||||
_('Compiler'), # LANG: Exobiologist rank
|
||||
_('Collector'), # LANG: Exobiologist rank
|
||||
_('Cataloguer'), # LANG: Exobiologist rank
|
||||
_('Taxonomist'), # LANG: Exobiologist rank
|
||||
_('Ecologist'), # LANG: Exobiologist rank
|
||||
_('Geneticist'), # LANG: Exobiologist rank
|
||||
] + _ELITE_RANKS,
|
||||
'cqc': [
|
||||
_('Helpless'), # LANG: CQC rank
|
||||
_('Mostly Helpless'), # LANG: CQC rank
|
||||
@@ -109,8 +147,7 @@ def status(data: Dict[str, Any]) -> List[List[str]]:
|
||||
_('Champion'), # LANG: CQC rank
|
||||
_('Hero'), # LANG: CQC rank
|
||||
_('Gladiator'), # LANG: CQC rank
|
||||
_('Elite') # LANG: Top rank
|
||||
],
|
||||
] + _ELITE_RANKS,
|
||||
|
||||
# http://elite-dangerous.wikia.com/wiki/Federation#Ranks
|
||||
'federation': [
|
||||
@@ -273,47 +310,49 @@ class StatsDialog():
|
||||
def showstats(self) -> None:
|
||||
"""Show the status window for the current cmdr."""
|
||||
if not monitor.cmdr:
|
||||
hotkeymgr.play_bad()
|
||||
# LANG: Current commander unknown when trying to use 'File' > 'Status'
|
||||
self.status['text'] = _("Status: Don't yet know your Commander name")
|
||||
return
|
||||
|
||||
# LANG: Fetching data from Frontier CAPI in order to display on File > Status
|
||||
self.status['text'] = _('Fetching data...')
|
||||
self.parent.update_idletasks()
|
||||
|
||||
try:
|
||||
data = companion.session.profile()
|
||||
|
||||
except companion.ServerError as e:
|
||||
self.status['text'] = str(e)
|
||||
# TODO: This needs to use cached data
|
||||
if companion.session.FRONTIER_CAPI_PATH_PROFILE not in companion.session.capi_raw_data:
|
||||
logger.info('No cached data, aborting...')
|
||||
hotkeymgr.play_bad()
|
||||
# LANG: No Frontier CAPI data yet when trying to use 'File' > 'Status'
|
||||
self.status['text'] = _("Status: No CAPI data yet")
|
||||
return
|
||||
|
||||
except Exception as e:
|
||||
logger.exception("error while attempting to show status")
|
||||
self.status['text'] = str(e)
|
||||
return
|
||||
capi_data = json.loads(
|
||||
companion.session.capi_raw_data[companion.session.FRONTIER_CAPI_PATH_PROFILE].raw_data
|
||||
)
|
||||
|
||||
if not data.get('commander') or not data['commander'].get('name', '').strip():
|
||||
if not capi_data.get('commander') or not capi_data['commander'].get('name', '').strip():
|
||||
# Shouldn't happen
|
||||
# LANG: Unknown commander
|
||||
self.status['text'] = _("Who are you?!")
|
||||
|
||||
elif (
|
||||
not data.get('lastSystem')
|
||||
or not data['lastSystem'].get('name', '').strip()
|
||||
or not data.get('lastStarport')
|
||||
or not data['lastStarport'].get('name', '').strip()
|
||||
not capi_data.get('lastSystem')
|
||||
or not capi_data['lastSystem'].get('name', '').strip()
|
||||
or not capi_data.get('lastStarport')
|
||||
or not capi_data['lastStarport'].get('name', '').strip()
|
||||
):
|
||||
# Shouldn't happen
|
||||
# LANG: Unknown location
|
||||
self.status['text'] = _("Where are you?!")
|
||||
|
||||
elif not data.get('ship') or not data['ship'].get('modules') or not data['ship'].get('name', '').strip():
|
||||
elif (
|
||||
not capi_data.get('ship') or not capi_data['ship'].get('modules')
|
||||
or not capi_data['ship'].get('name', '').strip()
|
||||
):
|
||||
# Shouldn't happen
|
||||
# LANG: Unknown ship
|
||||
self.status['text'] = _("What are you flying?!")
|
||||
|
||||
else:
|
||||
self.status['text'] = ''
|
||||
StatsResults(self.parent, data)
|
||||
StatsResults(self.parent, capi_data)
|
||||
|
||||
|
||||
class StatsResults(tk.Toplevel):
|
||||
@@ -331,15 +370,15 @@ class StatsResults(tk.Toplevel):
|
||||
self.transient(parent)
|
||||
|
||||
# position over parent
|
||||
if platform != 'darwin' or parent.winfo_rooty() > 0: # http://core.tcl.tk/tk/tktview/c84f660833546b1b84e7
|
||||
if sys.platform != 'darwin' or parent.winfo_rooty() > 0: # http://core.tcl.tk/tk/tktview/c84f660833546b1b84e7
|
||||
self.geometry(f"+{parent.winfo_rootx()}+{parent.winfo_rooty()}")
|
||||
|
||||
# remove decoration
|
||||
self.resizable(tk.FALSE, tk.FALSE)
|
||||
if platform == 'win32':
|
||||
if sys.platform == 'win32':
|
||||
self.attributes('-toolwindow', tk.TRUE)
|
||||
|
||||
elif platform == 'darwin':
|
||||
elif sys.platform == 'darwin':
|
||||
# http://wiki.tcl.tk/13428
|
||||
parent.call('tk::unsupported::MacWindowStyle', 'style', self, 'utility')
|
||||
|
||||
@@ -349,11 +388,16 @@ class StatsResults(tk.Toplevel):
|
||||
notebook = nb.Notebook(frame)
|
||||
|
||||
page = self.addpage(notebook)
|
||||
for thing in stats[1:3]:
|
||||
for thing in stats[CR_LINES_START:CR_LINES_END]:
|
||||
# assumes things two and three are money
|
||||
self.addpagerow(page, [thing[0], self.credits(int(thing[1]))], with_copy=True)
|
||||
|
||||
for thing in stats[3:]:
|
||||
self.addpagespacer(page)
|
||||
for thing in stats[RANK_LINES_START:RANK_LINES_END]:
|
||||
self.addpagerow(page, thing, with_copy=True)
|
||||
|
||||
self.addpagespacer(page)
|
||||
for thing in stats[POWERPLAY_LINES_START:]:
|
||||
self.addpagerow(page, thing, with_copy=True)
|
||||
|
||||
ttk.Frame(page).grid(pady=5) # bottom spacer
|
||||
@@ -375,7 +419,7 @@ class StatsResults(tk.Toplevel):
|
||||
ttk.Frame(page).grid(pady=5) # bottom spacer
|
||||
notebook.add(page, text=_('Ships')) # LANG: Status dialog title
|
||||
|
||||
if platform != 'darwin':
|
||||
if sys.platform != 'darwin':
|
||||
buttonframe = ttk.Frame(frame)
|
||||
buttonframe.grid(padx=10, pady=(0, 10), sticky=tk.NSEW) # type: ignore # the tuple is supported
|
||||
buttonframe.columnconfigure(0, weight=1)
|
||||
@@ -387,7 +431,7 @@ class StatsResults(tk.Toplevel):
|
||||
self.grab_set()
|
||||
|
||||
# Ensure fully on-screen
|
||||
if platform == 'win32' and CalculatePopupWindowPosition:
|
||||
if sys.platform == 'win32' and CalculatePopupWindowPosition:
|
||||
position = RECT()
|
||||
GetWindowRect(GetParent(self.winfo_id()), position)
|
||||
if CalculatePopupWindowPosition(
|
||||
|
||||
@@ -4,7 +4,6 @@ import warnings
|
||||
from configparser import NoOptionError
|
||||
from os import getenv, makedirs, mkdir, pardir
|
||||
from os.path import dirname, expanduser, isdir, join, normpath
|
||||
from sys import platform
|
||||
from typing import TYPE_CHECKING, Optional, Union
|
||||
|
||||
from config import applongname, appname, update_interval
|
||||
@@ -12,13 +11,13 @@ from EDMCLogging import get_main_logger
|
||||
|
||||
logger = get_main_logger()
|
||||
|
||||
if platform == 'darwin':
|
||||
if sys.platform == 'darwin':
|
||||
from Foundation import ( # type: ignore
|
||||
NSApplicationSupportDirectory, NSBundle, NSDocumentDirectory, NSSearchPathForDirectoriesInDomains,
|
||||
NSUserDefaults, NSUserDomainMask
|
||||
)
|
||||
|
||||
elif platform == 'win32':
|
||||
elif sys.platform == 'win32':
|
||||
import ctypes
|
||||
import uuid
|
||||
from ctypes.wintypes import DWORD, HANDLE, HKEY, LONG, LPCVOID, LPCWSTR
|
||||
@@ -90,7 +89,7 @@ elif platform == 'win32':
|
||||
CoTaskMemFree(buf) # and free original
|
||||
return retval
|
||||
|
||||
elif platform == 'linux':
|
||||
elif sys.platform == 'linux':
|
||||
import codecs
|
||||
from configparser import RawConfigParser
|
||||
|
||||
@@ -114,7 +113,7 @@ class OldConfig():
|
||||
OUT_SYS_EDDN = 2048
|
||||
OUT_SYS_DELAY = 4096
|
||||
|
||||
if platform == 'darwin': # noqa: C901 # It's gating *all* the functions
|
||||
if sys.platform == 'darwin': # noqa: C901 # It's gating *all* the functions
|
||||
|
||||
def __init__(self):
|
||||
self.app_dir = join(
|
||||
@@ -199,7 +198,7 @@ class OldConfig():
|
||||
self.save()
|
||||
self.defaults = None
|
||||
|
||||
elif platform == 'win32':
|
||||
elif sys.platform == 'win32':
|
||||
|
||||
def __init__(self):
|
||||
self.app_dir = join(known_folder_path(FOLDERID_LocalAppData), appname) # type: ignore # Not going to change
|
||||
@@ -362,7 +361,7 @@ class OldConfig():
|
||||
RegCloseKey(self.hkey)
|
||||
self.hkey = None
|
||||
|
||||
elif platform == 'linux':
|
||||
elif sys.platform == 'linux':
|
||||
SECTION = 'config'
|
||||
|
||||
def __init__(self):
|
||||
@@ -1,4 +1,12 @@
|
||||
"""Test the config system."""
|
||||
"""
|
||||
Test the config system.
|
||||
|
||||
Note: These tests to arbitrary reads and writes to an existing config, including
|
||||
key deletions. Said modifications are to keys that are generated internally.
|
||||
|
||||
Most of these tests are parity tests with the "old" config, and likely one day can be
|
||||
entirely removed.
|
||||
"""
|
||||
from __future__ import annotations
|
||||
|
||||
import contextlib
|
||||
@@ -19,7 +27,7 @@ print(sys.path)
|
||||
|
||||
from _old_config import old_config # noqa: E402
|
||||
|
||||
from config import LinuxConfig, config # noqa: E402
|
||||
from config import config # noqa: E402
|
||||
|
||||
|
||||
def _fuzz_list(length: int) -> List[str]:
|
||||
@@ -77,6 +85,11 @@ class TestNewConfig:
|
||||
|
||||
def __update_linuxconfig(self) -> None:
|
||||
"""On linux config uses ConfigParser, which doesn't update from disk changes. Force the update here."""
|
||||
if sys.platform != 'linux':
|
||||
return
|
||||
|
||||
from config.linux import LinuxConfig
|
||||
|
||||
if isinstance(config, LinuxConfig) and config.config is not None:
|
||||
config.config.read(config.filename)
|
||||
|
||||
@@ -163,6 +176,10 @@ class TestOldNewConfig:
|
||||
|
||||
def __update_linuxconfig(self) -> None:
|
||||
"""On linux config uses ConfigParser, which doesn't update from disk changes. Force the update here."""
|
||||
if sys.platform != 'linux':
|
||||
return
|
||||
|
||||
from config.linux import LinuxConfig
|
||||
if isinstance(config, LinuxConfig) and config.config is not None:
|
||||
config.config.read(config.filename)
|
||||
|
||||
@@ -6,32 +6,35 @@
|
||||
#
|
||||
|
||||
import os
|
||||
import sys
|
||||
import tkinter as tk
|
||||
from os.path import join
|
||||
from sys import platform
|
||||
from tkinter import font as tkFont
|
||||
from tkinter import ttk
|
||||
|
||||
from config import config
|
||||
from ttkHyperlinkLabel import HyperlinkLabel
|
||||
from EDMCLogging import get_main_logger
|
||||
|
||||
logger = get_main_logger()
|
||||
|
||||
if __debug__:
|
||||
from traceback import print_exc
|
||||
|
||||
if platform == "linux":
|
||||
if sys.platform == "linux":
|
||||
from ctypes import POINTER, Structure, byref, c_char_p, c_int, c_long, c_uint, c_ulong, c_void_p, cdll
|
||||
|
||||
|
||||
if platform == 'win32':
|
||||
if sys.platform == 'win32':
|
||||
import ctypes
|
||||
from ctypes.wintypes import DWORD, LPCVOID, LPCWSTR
|
||||
AddFontResourceEx = ctypes.windll.gdi32.AddFontResourceExW
|
||||
AddFontResourceEx.restypes = [LPCWSTR, DWORD, LPCVOID]
|
||||
FR_PRIVATE = 0x10
|
||||
FR_PRIVATE = 0x10
|
||||
FR_NOT_ENUM = 0x20
|
||||
AddFontResourceEx(join(config.respath, u'EUROCAPS.TTF'), FR_PRIVATE, 0)
|
||||
|
||||
elif platform == 'linux':
|
||||
elif sys.platform == 'linux':
|
||||
# pyright: reportUnboundVariable=false
|
||||
XID = c_ulong # from X.h: typedef unsigned long XID
|
||||
Window = XID
|
||||
@@ -40,7 +43,7 @@ elif platform == 'linux':
|
||||
|
||||
PropModeReplace = 0
|
||||
PropModePrepend = 1
|
||||
PropModeAppend = 2
|
||||
PropModeAppend = 2
|
||||
|
||||
# From xprops.h
|
||||
MWM_HINTS_FUNCTIONS = 1 << 0
|
||||
@@ -69,16 +72,17 @@ elif platform == 'linux':
|
||||
('input_mode', c_long),
|
||||
('status', c_ulong),
|
||||
]
|
||||
|
||||
|
||||
# workaround for https://github.com/EDCD/EDMarketConnector/issues/568
|
||||
if not os.getenv("EDMC_NO_UI") :
|
||||
if not os.getenv("EDMC_NO_UI"):
|
||||
try:
|
||||
xlib = cdll.LoadLibrary('libX11.so.6')
|
||||
XInternAtom = xlib.XInternAtom
|
||||
XInternAtom.argtypes = [POINTER(Display), c_char_p, c_int]
|
||||
XInternAtom.restype = Atom
|
||||
XChangeProperty = xlib.XChangeProperty
|
||||
XChangeProperty.argtypes = [POINTER(Display), Window, Atom, Atom, c_int, c_int, POINTER(MotifWmHints), c_int]
|
||||
XChangeProperty.argtypes = [POINTER(Display), Window, Atom, Atom, c_int,
|
||||
c_int, POINTER(MotifWmHints), c_int]
|
||||
XChangeProperty.restype = c_int
|
||||
XFlush = xlib.XFlush
|
||||
XFlush.argtypes = [POINTER(Display)]
|
||||
@@ -87,29 +91,31 @@ elif platform == 'linux':
|
||||
XOpenDisplay.argtypes = [c_char_p]
|
||||
XOpenDisplay.restype = POINTER(Display)
|
||||
XQueryTree = xlib.XQueryTree
|
||||
XQueryTree.argtypes = [POINTER(Display), Window, POINTER(Window), POINTER(Window), POINTER(Window), POINTER(c_uint)]
|
||||
XQueryTree.argtypes = [POINTER(Display), Window, POINTER(
|
||||
Window), POINTER(Window), POINTER(Window), POINTER(c_uint)]
|
||||
XQueryTree.restype = c_int
|
||||
dpy = xlib.XOpenDisplay(None)
|
||||
if not dpy:
|
||||
raise Exception("Can't find your display, can't continue")
|
||||
|
||||
|
||||
motif_wm_hints_property = XInternAtom(dpy, b'_MOTIF_WM_HINTS', False)
|
||||
motif_wm_hints_normal = MotifWmHints(MWM_HINTS_FUNCTIONS | MWM_HINTS_DECORATIONS,
|
||||
MWM_FUNC_RESIZE | MWM_FUNC_MOVE | MWM_FUNC_MINIMIZE | MWM_FUNC_CLOSE,
|
||||
MWM_DECOR_BORDER | MWM_DECOR_RESIZEH | MWM_DECOR_TITLE | MWM_DECOR_MENU | MWM_DECOR_MINIMIZE,
|
||||
0, 0)
|
||||
motif_wm_hints_dark = MotifWmHints(MWM_HINTS_FUNCTIONS | MWM_HINTS_DECORATIONS,
|
||||
MWM_FUNC_RESIZE | MWM_FUNC_MOVE | MWM_FUNC_MINIMIZE | MWM_FUNC_CLOSE,
|
||||
0, 0, 0)
|
||||
MWM_FUNC_RESIZE | MWM_FUNC_MOVE | MWM_FUNC_MINIMIZE | MWM_FUNC_CLOSE,
|
||||
MWM_DECOR_BORDER | MWM_DECOR_RESIZEH | MWM_DECOR_TITLE | MWM_DECOR_MENU | MWM_DECOR_MINIMIZE,
|
||||
0, 0)
|
||||
motif_wm_hints_dark = MotifWmHints(MWM_HINTS_FUNCTIONS | MWM_HINTS_DECORATIONS,
|
||||
MWM_FUNC_RESIZE | MWM_FUNC_MOVE | MWM_FUNC_MINIMIZE | MWM_FUNC_CLOSE,
|
||||
0, 0, 0)
|
||||
except:
|
||||
if __debug__: print_exc()
|
||||
if __debug__:
|
||||
print_exc()
|
||||
dpy = None
|
||||
|
||||
|
||||
class _Theme(object):
|
||||
|
||||
def __init__(self):
|
||||
self.active = None # Starts out with no theme
|
||||
self.active = None # Starts out with no theme
|
||||
self.minwidth = None
|
||||
self.widgets = {}
|
||||
self.widgets_pair = []
|
||||
@@ -124,18 +130,18 @@ class _Theme(object):
|
||||
if not self.defaults:
|
||||
# Can't initialise this til window is created # Windows, MacOS
|
||||
self.defaults = {
|
||||
'fg' : tk.Label()['foreground'], # SystemButtonText, systemButtonText
|
||||
'bg' : tk.Label()['background'], # SystemButtonFace, White
|
||||
'font' : tk.Label()['font'], # TkDefaultFont
|
||||
'bitmapfg' : tk.BitmapImage()['foreground'], # '-foreground {} {} #000000 #000000'
|
||||
'bitmapbg' : tk.BitmapImage()['background'], # '-background {} {} {} {}'
|
||||
'entryfg' : tk.Entry()['foreground'], # SystemWindowText, Black
|
||||
'entrybg' : tk.Entry()['background'], # SystemWindow, systemWindowBody
|
||||
'entryfont' : tk.Entry()['font'], # TkTextFont
|
||||
'frame' : tk.Frame()['background'], # SystemButtonFace, systemWindowBody
|
||||
'menufg' : tk.Menu()['foreground'], # SystemMenuText,
|
||||
'menubg' : tk.Menu()['background'], # SystemMenu,
|
||||
'menufont' : tk.Menu()['font'], # TkTextFont
|
||||
'fg': tk.Label()['foreground'], # SystemButtonText, systemButtonText
|
||||
'bg': tk.Label()['background'], # SystemButtonFace, White
|
||||
'font': tk.Label()['font'], # TkDefaultFont
|
||||
'bitmapfg': tk.BitmapImage()['foreground'], # '-foreground {} {} #000000 #000000'
|
||||
'bitmapbg': tk.BitmapImage()['background'], # '-background {} {} {} {}'
|
||||
'entryfg': tk.Entry()['foreground'], # SystemWindowText, Black
|
||||
'entrybg': tk.Entry()['background'], # SystemWindow, systemWindowBody
|
||||
'entryfont': tk.Entry()['font'], # TkTextFont
|
||||
'frame': tk.Frame()['background'], # SystemButtonFace, systemWindowBody
|
||||
'menufg': tk.Menu()['foreground'], # SystemMenuText,
|
||||
'menubg': tk.Menu()['background'], # SystemMenu,
|
||||
'menufont': tk.Menu()['font'], # TkTextFont
|
||||
}
|
||||
|
||||
if widget not in self.widgets:
|
||||
@@ -189,26 +195,45 @@ class _Theme(object):
|
||||
def _enter(self, event, image):
|
||||
widget = event.widget
|
||||
if widget and widget['state'] != tk.DISABLED:
|
||||
widget.configure(state = tk.ACTIVE)
|
||||
try:
|
||||
widget.configure(state=tk.ACTIVE)
|
||||
|
||||
except Exception:
|
||||
logger.exception(f'Failure setting widget active: {widget=}')
|
||||
|
||||
if image:
|
||||
image.configure(foreground = self.current['activeforeground'], background = self.current['activebackground'])
|
||||
try:
|
||||
image.configure(foreground=self.current['activeforeground'],
|
||||
background=self.current['activebackground'])
|
||||
|
||||
except Exception:
|
||||
logger.exception(f'Failure configuring image: {image=}')
|
||||
|
||||
def _leave(self, event, image):
|
||||
widget = event.widget
|
||||
if widget and widget['state'] != tk.DISABLED:
|
||||
widget.configure(state = tk.NORMAL)
|
||||
try:
|
||||
widget.configure(state=tk.NORMAL)
|
||||
|
||||
except Exception:
|
||||
logger.exception(f'Failure setting widget normal: {widget=}')
|
||||
|
||||
if image:
|
||||
image.configure(foreground = self.current['foreground'], background = self.current['background'])
|
||||
try:
|
||||
image.configure(foreground=self.current['foreground'], background=self.current['background'])
|
||||
|
||||
except Exception:
|
||||
logger.exception(f'Failure configuring image: {image=}')
|
||||
|
||||
# Set up colors
|
||||
def _colors(self, root, theme):
|
||||
style = ttk.Style()
|
||||
if platform == 'linux':
|
||||
if sys.platform == 'linux':
|
||||
style.theme_use('clam')
|
||||
|
||||
# Default dark theme colors
|
||||
if not config.get_str('dark_text'):
|
||||
config.set('dark_text', '#ff8000') # "Tangerine" in OSX color picker
|
||||
config.set('dark_text', '#ff8000') # "Tangerine" in OSX color picker
|
||||
if not config.get_str('dark_highlight'):
|
||||
config.set('dark_highlight', 'white')
|
||||
|
||||
@@ -216,40 +241,40 @@ class _Theme(object):
|
||||
# Dark
|
||||
(r, g, b) = root.winfo_rgb(config.get_str('dark_text'))
|
||||
self.current = {
|
||||
'background' : 'grey4', # OSX inactive dark titlebar color
|
||||
'foreground' : config.get_str('dark_text'),
|
||||
'activebackground' : config.get_str('dark_text'),
|
||||
'activeforeground' : 'grey4',
|
||||
'disabledforeground' : '#%02x%02x%02x' % (int(r/384), int(g/384), int(b/384)),
|
||||
'highlight' : config.get_str('dark_highlight'),
|
||||
'background': 'grey4', # OSX inactive dark titlebar color
|
||||
'foreground': config.get_str('dark_text'),
|
||||
'activebackground': config.get_str('dark_text'),
|
||||
'activeforeground': 'grey4',
|
||||
'disabledforeground': '#%02x%02x%02x' % (int(r/384), int(g/384), int(b/384)),
|
||||
'highlight': config.get_str('dark_highlight'),
|
||||
# Font only supports Latin 1 / Supplement / Extended, and a few General Punctuation and Mathematical Operators
|
||||
# LANG: Label for commander name in main window
|
||||
'font' : (theme > 1 and not 0x250 < ord(_('Cmdr')[0]) < 0x3000 and
|
||||
tkFont.Font(family='Euro Caps', size=10, weight=tkFont.NORMAL) or
|
||||
'TkDefaultFont'),
|
||||
'font': (theme > 1 and not 0x250 < ord(_('Cmdr')[0]) < 0x3000 and
|
||||
tkFont.Font(family='Euro Caps', size=10, weight=tkFont.NORMAL) or
|
||||
'TkDefaultFont'),
|
||||
}
|
||||
else:
|
||||
# (Mostly) system colors
|
||||
style = ttk.Style()
|
||||
self.current = {
|
||||
'background' : (platform == 'darwin' and 'systemMovableModalBackground' or
|
||||
style.lookup('TLabel', 'background')),
|
||||
'foreground' : style.lookup('TLabel', 'foreground'),
|
||||
'activebackground' : (platform == 'win32' and 'SystemHighlight' or
|
||||
style.lookup('TLabel', 'background', ['active'])),
|
||||
'activeforeground' : (platform == 'win32' and 'SystemHighlightText' or
|
||||
style.lookup('TLabel', 'foreground', ['active'])),
|
||||
'disabledforeground' : style.lookup('TLabel', 'foreground', ['disabled']),
|
||||
'highlight' : 'blue',
|
||||
'font' : 'TkDefaultFont',
|
||||
'background': (sys.platform == 'darwin' and 'systemMovableModalBackground' or
|
||||
style.lookup('TLabel', 'background')),
|
||||
'foreground': style.lookup('TLabel', 'foreground'),
|
||||
'activebackground': (sys.platform == 'win32' and 'SystemHighlight' or
|
||||
style.lookup('TLabel', 'background', ['active'])),
|
||||
'activeforeground': (sys.platform == 'win32' and 'SystemHighlightText' or
|
||||
style.lookup('TLabel', 'foreground', ['active'])),
|
||||
'disabledforeground': style.lookup('TLabel', 'foreground', ['disabled']),
|
||||
'highlight': 'blue',
|
||||
'font': 'TkDefaultFont',
|
||||
}
|
||||
|
||||
|
||||
# Apply current theme to a widget and its children, and register it for future updates
|
||||
|
||||
def update(self, widget):
|
||||
assert isinstance(widget, tk.Widget) or isinstance(widget, tk.BitmapImage), widget
|
||||
if not self.current:
|
||||
return # No need to call this for widgets created in plugin_app()
|
||||
return # No need to call this for widgets created in plugin_app()
|
||||
self.register(widget)
|
||||
self._update_widget(widget)
|
||||
if isinstance(widget, tk.Frame) or isinstance(widget, ttk.Frame):
|
||||
@@ -258,56 +283,71 @@ class _Theme(object):
|
||||
|
||||
# Apply current theme to a single widget
|
||||
def _update_widget(self, widget):
|
||||
assert widget in self.widgets, '%s %s "%s"' %(widget.winfo_class(), widget, 'text' in widget.keys() and widget['text'])
|
||||
assert widget in self.widgets, '%s %s "%s"' % (
|
||||
widget.winfo_class(), widget, 'text' in widget.keys() and widget['text'])
|
||||
attribs = self.widgets.get(widget, [])
|
||||
|
||||
if isinstance(widget, tk.BitmapImage):
|
||||
# not a widget
|
||||
if 'fg' not in attribs:
|
||||
widget.configure(foreground = self.current['foreground']),
|
||||
if 'bg' not in attribs:
|
||||
widget.configure(background = self.current['background'])
|
||||
elif 'cursor' in widget.keys() and str(widget['cursor']) not in ['', 'arrow']:
|
||||
# Hack - highlight widgets like HyperlinkLabel with a non-default cursor
|
||||
if 'fg' not in attribs:
|
||||
widget.configure(foreground = self.current['highlight']),
|
||||
if 'insertbackground' in widget.keys(): # tk.Entry
|
||||
widget.configure(insertbackground = self.current['foreground']),
|
||||
if 'bg' not in attribs:
|
||||
widget.configure(background = self.current['background'])
|
||||
if 'highlightbackground' in widget.keys(): # tk.Entry
|
||||
widget.configure(highlightbackground = self.current['background'])
|
||||
if 'font' not in attribs:
|
||||
widget.configure(font = self.current['font'])
|
||||
elif 'activeforeground' in widget.keys():
|
||||
# e.g. tk.Button, tk.Label, tk.Menu
|
||||
if 'fg' not in attribs:
|
||||
widget.configure(foreground = self.current['foreground'],
|
||||
activeforeground = self.current['activeforeground'],
|
||||
disabledforeground = self.current['disabledforeground'])
|
||||
if 'bg' not in attribs:
|
||||
widget.configure(background = self.current['background'],
|
||||
activebackground = self.current['activebackground'])
|
||||
if platform == 'darwin' and isinstance(widget, tk.Button):
|
||||
widget.configure(highlightbackground = self.current['background'])
|
||||
if 'font' not in attribs:
|
||||
widget.configure(font = self.current['font'])
|
||||
elif 'foreground' in widget.keys():
|
||||
# e.g. ttk.Label
|
||||
if 'fg' not in attribs:
|
||||
widget.configure(foreground = self.current['foreground']),
|
||||
if 'bg' not in attribs:
|
||||
widget.configure(background = self.current['background'])
|
||||
if 'font' not in attribs:
|
||||
widget.configure(font = self.current['font'])
|
||||
elif 'background' in widget.keys() or isinstance(widget, tk.Canvas):
|
||||
# e.g. Frame, Canvas
|
||||
if 'bg' not in attribs:
|
||||
widget.configure(background = self.current['background'],
|
||||
highlightbackground = self.current['disabledforeground'])
|
||||
try:
|
||||
if isinstance(widget, tk.BitmapImage):
|
||||
# not a widget
|
||||
if 'fg' not in attribs:
|
||||
widget.configure(foreground=self.current['foreground']),
|
||||
|
||||
if 'bg' not in attribs:
|
||||
widget.configure(background=self.current['background'])
|
||||
|
||||
elif 'cursor' in widget.keys() and str(widget['cursor']) not in ['', 'arrow']:
|
||||
# Hack - highlight widgets like HyperlinkLabel with a non-default cursor
|
||||
if 'fg' not in attribs:
|
||||
widget.configure(foreground=self.current['highlight']),
|
||||
if 'insertbackground' in widget.keys(): # tk.Entry
|
||||
widget.configure(insertbackground=self.current['foreground']),
|
||||
|
||||
if 'bg' not in attribs:
|
||||
widget.configure(background=self.current['background'])
|
||||
if 'highlightbackground' in widget.keys(): # tk.Entry
|
||||
widget.configure(highlightbackground=self.current['background'])
|
||||
|
||||
if 'font' not in attribs:
|
||||
widget.configure(font=self.current['font'])
|
||||
|
||||
elif 'activeforeground' in widget.keys():
|
||||
# e.g. tk.Button, tk.Label, tk.Menu
|
||||
if 'fg' not in attribs:
|
||||
widget.configure(foreground=self.current['foreground'],
|
||||
activeforeground=self.current['activeforeground'],
|
||||
disabledforeground=self.current['disabledforeground'])
|
||||
|
||||
if 'bg' not in attribs:
|
||||
widget.configure(background=self.current['background'],
|
||||
activebackground=self.current['activebackground'])
|
||||
if sys.platform == 'darwin' and isinstance(widget, tk.Button):
|
||||
widget.configure(highlightbackground=self.current['background'])
|
||||
|
||||
if 'font' not in attribs:
|
||||
widget.configure(font=self.current['font'])
|
||||
elif 'foreground' in widget.keys():
|
||||
# e.g. ttk.Label
|
||||
if 'fg' not in attribs:
|
||||
widget.configure(foreground=self.current['foreground']),
|
||||
|
||||
if 'bg' not in attribs:
|
||||
widget.configure(background=self.current['background'])
|
||||
|
||||
if 'font' not in attribs:
|
||||
widget.configure(font=self.current['font'])
|
||||
|
||||
elif 'background' in widget.keys() or isinstance(widget, tk.Canvas):
|
||||
# e.g. Frame, Canvas
|
||||
if 'bg' not in attribs:
|
||||
widget.configure(background=self.current['background'],
|
||||
highlightbackground=self.current['disabledforeground'])
|
||||
|
||||
except Exception:
|
||||
logger.exception(f'Plugin widget issue ? {widget=}')
|
||||
|
||||
# Apply configured theme
|
||||
|
||||
def apply(self, root):
|
||||
|
||||
theme = config.get_int('theme')
|
||||
@@ -316,7 +356,7 @@ class _Theme(object):
|
||||
# Apply colors
|
||||
for widget in set(self.widgets):
|
||||
if isinstance(widget, tk.Widget) and not widget.winfo_exists():
|
||||
self.widgets.pop(widget) # has been destroyed
|
||||
self.widgets.pop(widget) # has been destroyed
|
||||
else:
|
||||
self._update_widget(widget)
|
||||
|
||||
@@ -334,58 +374,61 @@ class _Theme(object):
|
||||
pair[theme].grid(**gridopts)
|
||||
|
||||
if self.active == theme:
|
||||
return # Don't need to mess with the window manager
|
||||
return # Don't need to mess with the window manager
|
||||
else:
|
||||
self.active = theme
|
||||
|
||||
if platform == 'darwin':
|
||||
if sys.platform == 'darwin':
|
||||
from AppKit import NSAppearance, NSApplication, NSMiniaturizableWindowMask, NSResizableWindowMask
|
||||
root.update_idletasks() # need main window to be created
|
||||
root.update_idletasks() # need main window to be created
|
||||
appearance = NSAppearance.appearanceNamed_(theme and
|
||||
'NSAppearanceNameDarkAqua' or
|
||||
'NSAppearanceNameAqua')
|
||||
for window in NSApplication.sharedApplication().windows():
|
||||
window.setStyleMask_(window.styleMask() & ~(NSMiniaturizableWindowMask | NSResizableWindowMask)) # disable zoom
|
||||
window.setStyleMask_(window.styleMask() & ~(
|
||||
NSMiniaturizableWindowMask | NSResizableWindowMask)) # disable zoom
|
||||
window.setAppearance_(appearance)
|
||||
|
||||
elif platform == 'win32':
|
||||
elif sys.platform == 'win32':
|
||||
GWL_STYLE = -16
|
||||
WS_MAXIMIZEBOX = 0x00010000
|
||||
WS_MAXIMIZEBOX = 0x00010000
|
||||
# tk8.5.9/win/tkWinWm.c:342
|
||||
GWL_EXSTYLE = -20
|
||||
WS_EX_APPWINDOW = 0x00040000
|
||||
WS_EX_LAYERED = 0x00080000
|
||||
WS_EX_APPWINDOW = 0x00040000
|
||||
WS_EX_LAYERED = 0x00080000
|
||||
GetWindowLongW = ctypes.windll.user32.GetWindowLongW
|
||||
SetWindowLongW = ctypes.windll.user32.SetWindowLongW
|
||||
|
||||
root.overrideredirect(theme and 1 or 0)
|
||||
root.attributes("-transparentcolor", theme > 1 and 'grey4' or '')
|
||||
root.withdraw()
|
||||
root.update_idletasks() # Size and windows styles get recalculated here
|
||||
root.update_idletasks() # Size and windows styles get recalculated here
|
||||
hwnd = ctypes.windll.user32.GetParent(root.winfo_id())
|
||||
SetWindowLongW(hwnd, GWL_STYLE, GetWindowLongW(hwnd, GWL_STYLE) & ~WS_MAXIMIZEBOX) # disable maximize
|
||||
SetWindowLongW(hwnd, GWL_EXSTYLE, theme > 1 and WS_EX_APPWINDOW|WS_EX_LAYERED or WS_EX_APPWINDOW) # Add to taskbar
|
||||
SetWindowLongW(hwnd, GWL_STYLE, GetWindowLongW(hwnd, GWL_STYLE) & ~WS_MAXIMIZEBOX) # disable maximize
|
||||
SetWindowLongW(hwnd, GWL_EXSTYLE, theme > 1 and WS_EX_APPWINDOW |
|
||||
WS_EX_LAYERED or WS_EX_APPWINDOW) # Add to taskbar
|
||||
root.deiconify()
|
||||
root.wait_visibility() # need main window to be displayed before returning
|
||||
root.wait_visibility() # need main window to be displayed before returning
|
||||
|
||||
else:
|
||||
root.withdraw()
|
||||
root.update_idletasks() # Size gets recalculated here
|
||||
root.update_idletasks() # Size gets recalculated here
|
||||
if dpy:
|
||||
xroot = Window()
|
||||
parent = Window()
|
||||
children = Window()
|
||||
nchildren = c_uint()
|
||||
XQueryTree(dpy, root.winfo_id(), byref(xroot), byref(parent), byref(children), byref(nchildren))
|
||||
XChangeProperty(dpy, parent, motif_wm_hints_property, motif_wm_hints_property, 32, PropModeReplace, theme and motif_wm_hints_dark or motif_wm_hints_normal, 5)
|
||||
XChangeProperty(dpy, parent, motif_wm_hints_property, motif_wm_hints_property, 32,
|
||||
PropModeReplace, theme and motif_wm_hints_dark or motif_wm_hints_normal, 5)
|
||||
XFlush(dpy)
|
||||
else:
|
||||
root.overrideredirect(theme and 1 or 0)
|
||||
root.deiconify()
|
||||
root.wait_visibility() # need main window to be displayed before returning
|
||||
root.wait_visibility() # need main window to be displayed before returning
|
||||
|
||||
if not self.minwidth:
|
||||
self.minwidth = root.winfo_width() # Minimum width = width on first creation
|
||||
self.minwidth = root.winfo_width() # Minimum width = width on first creation
|
||||
root.minsize(self.minwidth, -1)
|
||||
|
||||
|
||||
|
||||
+10
-7
@@ -1,22 +1,24 @@
|
||||
|
||||
"""A requests.session with a TimeoutAdapter."""
|
||||
import requests
|
||||
from requests.adapters import HTTPAdapter
|
||||
|
||||
from config import user_agent
|
||||
|
||||
REQUEST_TIMEOUT = 10 # reasonable timeout that all HTTP requests should use
|
||||
|
||||
|
||||
class TimeoutAdapter(HTTPAdapter):
|
||||
"""
|
||||
TimeoutAdapter is an HTTP Adapter that enforces an overridable default timeout on HTTP requests.
|
||||
"""
|
||||
def __init__(self, timeout, *args, **kwargs):
|
||||
"""An HTTP Adapter that enforces an overridable default timeout on HTTP requests."""
|
||||
|
||||
def __init__(self, timeout: int, *args, **kwargs):
|
||||
self.default_timeout = timeout
|
||||
if kwargs.get("timeout") is not None:
|
||||
del kwargs["timeout"]
|
||||
|
||||
super().__init__(*args, **kwargs)
|
||||
|
||||
def send(self, *args, **kwargs):
|
||||
def send(self, *args, **kwargs) -> requests.Response:
|
||||
"""Send, but with a timeout always set."""
|
||||
if kwargs["timeout"] is None:
|
||||
kwargs["timeout"] = self.default_timeout
|
||||
|
||||
@@ -25,7 +27,7 @@ class TimeoutAdapter(HTTPAdapter):
|
||||
|
||||
def new_session(timeout: int = REQUEST_TIMEOUT, session: requests.Session = None) -> requests.Session:
|
||||
"""
|
||||
new_session creates a new requests.Session and overrides the default HTTPAdapter with a TimeoutAdapter.
|
||||
Create a new requests.Session and override the default HTTPAdapter with a TimeoutAdapter.
|
||||
|
||||
:param timeout: the timeout to set the TimeoutAdapter to, defaults to REQUEST_TIMEOUT
|
||||
:param session: the Session object to attach the Adapter to, defaults to a new session
|
||||
@@ -33,6 +35,7 @@ def new_session(timeout: int = REQUEST_TIMEOUT, session: requests.Session = None
|
||||
"""
|
||||
if session is None:
|
||||
session = requests.Session()
|
||||
session.headers['User-Agent'] = user_agent
|
||||
|
||||
adapter = TimeoutAdapter(timeout)
|
||||
session.mount("http://", adapter)
|
||||
|
||||
+30
-27
@@ -1,14 +1,12 @@
|
||||
import sys
|
||||
import tkinter as tk
|
||||
import webbrowser
|
||||
from sys import platform
|
||||
from tkinter import font as tkFont
|
||||
from tkinter import ttk
|
||||
|
||||
if platform == 'win32':
|
||||
if sys.platform == 'win32':
|
||||
import subprocess
|
||||
from winreg import (
|
||||
HKEY_CLASSES_ROOT, HKEY_CURRENT_USER, CloseKey, OpenKeyEx, QueryValueEx
|
||||
)
|
||||
from winreg import HKEY_CLASSES_ROOT, HKEY_CURRENT_USER, CloseKey, OpenKeyEx, QueryValueEx
|
||||
|
||||
# A clickable ttk Label
|
||||
#
|
||||
@@ -18,19 +16,22 @@ if platform == 'win32':
|
||||
# popup_copy: Whether right-click on non-empty label text pops up a context menu with a 'Copy' option. Defaults to no context menu. If popup_copy is a function it will be called with the current label text and should return a boolean.
|
||||
#
|
||||
# May be imported by plugins
|
||||
class HyperlinkLabel(platform == 'darwin' and tk.Label or ttk.Label, object):
|
||||
|
||||
|
||||
class HyperlinkLabel(sys.platform == 'darwin' and tk.Label or ttk.Label, object):
|
||||
|
||||
def __init__(self, master=None, **kw):
|
||||
self.url = 'url' in kw and kw.pop('url') or None
|
||||
self.popup_copy = kw.pop('popup_copy', False)
|
||||
self.underline = kw.pop('underline', None) # override ttk.Label's underline
|
||||
self.underline = kw.pop('underline', None) # override ttk.Label's underline
|
||||
self.foreground = kw.get('foreground') or 'blue'
|
||||
self.disabledforeground = kw.pop('disabledforeground', ttk.Style().lookup('TLabel', 'foreground', ('disabled',))) # ttk.Label doesn't support disabledforeground option
|
||||
self.disabledforeground = kw.pop('disabledforeground', ttk.Style().lookup(
|
||||
'TLabel', 'foreground', ('disabled',))) # ttk.Label doesn't support disabledforeground option
|
||||
|
||||
if platform == 'darwin':
|
||||
if sys.platform == 'darwin':
|
||||
# Use tk.Label 'cos can't set ttk.Label background - http://www.tkdocs.com/tutorial/styles.html#whydifficult
|
||||
kw['background'] = kw.pop('background', 'systemDialogBackgroundActive')
|
||||
kw['anchor'] = kw.pop('anchor', tk.W) # like ttk.Label
|
||||
kw['anchor'] = kw.pop('anchor', tk.W) # like ttk.Label
|
||||
tk.Label.__init__(self, master, **kw)
|
||||
else:
|
||||
ttk.Label.__init__(self, master, **kw)
|
||||
@@ -39,16 +40,16 @@ class HyperlinkLabel(platform == 'darwin' and tk.Label or ttk.Label, object):
|
||||
|
||||
self.menu = tk.Menu(None, tearoff=tk.FALSE)
|
||||
# LANG: Label for 'Copy' as in 'Copy and Paste'
|
||||
self.menu.add_command(label=_('Copy'), command = self.copy) # As in Copy and Paste
|
||||
self.bind(platform == 'darwin' and '<Button-2>' or '<Button-3>', self._contextmenu)
|
||||
self.menu.add_command(label=_('Copy'), command=self.copy) # As in Copy and Paste
|
||||
self.bind(sys.platform == 'darwin' and '<Button-2>' or '<Button-3>', self._contextmenu)
|
||||
|
||||
self.bind('<Enter>', self._enter)
|
||||
self.bind('<Leave>', self._leave)
|
||||
|
||||
# set up initial appearance
|
||||
self.configure(state = kw.get('state', tk.NORMAL),
|
||||
text = kw.get('text'),
|
||||
font = kw.get('font', ttk.Style().lookup('TLabel', 'font')))
|
||||
self.configure(state=kw.get('state', tk.NORMAL),
|
||||
text=kw.get('text'),
|
||||
font=kw.get('font', ttk.Style().lookup('TLabel', 'font')))
|
||||
|
||||
# Change cursor and appearance depending on state and text
|
||||
def configure(self, cnf=None, **kw):
|
||||
@@ -70,17 +71,18 @@ class HyperlinkLabel(platform == 'darwin' and tk.Label or ttk.Label, object):
|
||||
|
||||
if 'font' in kw:
|
||||
self.font_n = kw['font']
|
||||
self.font_u = tkFont.Font(font = self.font_n)
|
||||
self.font_u.configure(underline = True)
|
||||
self.font_u = tkFont.Font(font=self.font_n)
|
||||
self.font_u.configure(underline=True)
|
||||
kw['font'] = self.underline is True and self.font_u or self.font_n
|
||||
|
||||
if 'cursor' not in kw:
|
||||
if (kw['state'] if 'state' in kw else str(self['state'])) == tk.DISABLED:
|
||||
kw['cursor'] = 'arrow' # System default
|
||||
kw['cursor'] = 'arrow' # System default
|
||||
elif self.url and (kw['text'] if 'text' in kw else self['text']):
|
||||
kw['cursor'] = platform=='darwin' and 'pointinghand' or 'hand2'
|
||||
kw['cursor'] = sys.platform == 'darwin' and 'pointinghand' or 'hand2'
|
||||
else:
|
||||
kw['cursor'] = (platform=='darwin' and 'notallowed') or (platform=='win32' and 'no') or 'circle'
|
||||
kw['cursor'] = (sys.platform == 'darwin' and 'notallowed') or (
|
||||
sys.platform == 'win32' and 'no') or 'circle'
|
||||
|
||||
super(HyperlinkLabel, self).configure(cnf, **kw)
|
||||
|
||||
@@ -89,22 +91,22 @@ class HyperlinkLabel(platform == 'darwin' and tk.Label or ttk.Label, object):
|
||||
|
||||
def _enter(self, event):
|
||||
if self.url and self.underline is not False and str(self['state']) != tk.DISABLED:
|
||||
super(HyperlinkLabel, self).configure(font = self.font_u)
|
||||
super(HyperlinkLabel, self).configure(font=self.font_u)
|
||||
|
||||
def _leave(self, event):
|
||||
if not self.underline:
|
||||
super(HyperlinkLabel, self).configure(font = self.font_n)
|
||||
super(HyperlinkLabel, self).configure(font=self.font_n)
|
||||
|
||||
def _click(self, event):
|
||||
if self.url and self['text'] and str(self['state']) != tk.DISABLED:
|
||||
url = self.url(self['text']) if callable(self.url) else self.url
|
||||
if url:
|
||||
self._leave(event) # Remove underline before we change window to browser
|
||||
self._leave(event) # Remove underline before we change window to browser
|
||||
openurl(url)
|
||||
|
||||
def _contextmenu(self, event):
|
||||
if self['text'] and (self.popup_copy(self['text']) if callable(self.popup_copy) else self.popup_copy):
|
||||
self.menu.post(platform == 'darwin' and event.x_root + 1 or event.x_root, event.y_root)
|
||||
self.menu.post(sys.platform == 'darwin' and event.x_root + 1 or event.x_root, event.y_root)
|
||||
|
||||
def copy(self):
|
||||
self.clipboard_clear()
|
||||
@@ -112,13 +114,14 @@ class HyperlinkLabel(platform == 'darwin' and tk.Label or ttk.Label, object):
|
||||
|
||||
|
||||
def openurl(url):
|
||||
if platform == 'win32':
|
||||
if sys.platform == 'win32':
|
||||
# On Windows webbrowser.open calls os.startfile which calls ShellExecute which can't handle long arguments,
|
||||
# so discover and launch the browser directly.
|
||||
# https://blogs.msdn.microsoft.com/oldnewthing/20031210-00/?p=41553
|
||||
|
||||
try:
|
||||
hkey = OpenKeyEx(HKEY_CURRENT_USER, r'Software\Microsoft\Windows\Shell\Associations\UrlAssociations\https\UserChoice')
|
||||
hkey = OpenKeyEx(HKEY_CURRENT_USER,
|
||||
r'Software\Microsoft\Windows\Shell\Associations\UrlAssociations\https\UserChoice')
|
||||
(value, typ) = QueryValueEx(hkey, 'ProgId')
|
||||
CloseKey(hkey)
|
||||
if value in ['IE.HTTP', 'AppXq0fevzme2pys62n3e0fbqa7peapykr8v']:
|
||||
@@ -128,7 +131,7 @@ def openurl(url):
|
||||
else:
|
||||
cls = value
|
||||
except:
|
||||
cls = 'https'
|
||||
cls = 'https'
|
||||
|
||||
if cls:
|
||||
try:
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
"""Utilities for dealing with text (and byte representations thereof)."""
|
||||
from __future__ import annotations
|
||||
|
||||
from gzip import compress
|
||||
|
||||
__all__ = ['gzip']
|
||||
|
||||
|
||||
def gzip(data: str | bytes, max_size: int = 512, encoding='utf-8') -> tuple[bytes, bool]:
|
||||
"""
|
||||
Compress the given data if the max size is greater than specified.
|
||||
|
||||
The default was chosen somewhat arbitrarily, see eddn.py for some more careful
|
||||
work towards keeping the data almost always compressed
|
||||
|
||||
:param data: The data to compress
|
||||
:param max_size: The max size of data, in bytes, defaults to 512
|
||||
:param encoding: The encoding to use if data is a str, defaults to 'utf-8'
|
||||
:return: the payload to send, and a bool indicating compression state
|
||||
"""
|
||||
if isinstance(data, str):
|
||||
data = data.encode(encoding=encoding)
|
||||
|
||||
if len(data) <= max_size:
|
||||
return data, False
|
||||
|
||||
return compress(data), True
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,125 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<?define PRODUCTNAME = "EDMarketConnector"?>
|
||||
<?define PRODUCTLONGNAME = "Elite Dangerous Market Connector"?>
|
||||
<?define PRODUCTVERSION = "!(bind.fileVersion.EDMarketConnector.exe)" ?>
|
||||
<?define UPGRADECODE = "9df571ae-d56d-46e6-af79-4e72ad54efe6" ?>
|
||||
|
||||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
||||
<Product Id="*"
|
||||
Name="$(var.PRODUCTLONGNAME)"
|
||||
Version="$(var.PRODUCTVERSION)"
|
||||
UpgradeCode="$(var.UPGRADECODE)"
|
||||
Language="!(bind.fileLanguage.EDMarketConnector.exe)"
|
||||
Manufacturer="EDCD">
|
||||
|
||||
<Package Id="*" Keywords="Installer"
|
||||
InstallScope="perMachine"
|
||||
Description="$(var.PRODUCTLONGNAME) installer"
|
||||
InstallerVersion="300" Compressed="yes"
|
||||
Platform="x86"
|
||||
Languages="1033,1029,1031,1034,1035,1036,1038,1040,1041,1043,1045,1046,1049,1058,1062,2052,2070,2074,6170,1060,1053,18,0" />
|
||||
<!-- en cs, de es fi fr hu it ja nl pl pt-BR ru uk lv zh-CN pt-PT sr-Latn sr-Latn-BA sl sv-SE ko neutral -->
|
||||
<!-- https://msdn.microsoft.com/en-gb/goglobal/bb964664.aspx -->
|
||||
|
||||
<!-- Always reinstall since patching is problematic -->
|
||||
<!-- http://www.joyofsetup.com/2010/01/16/major-upgrades-now-easier-than-ever/ -->
|
||||
<MajorUpgrade AllowSameVersionUpgrades="yes" DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
|
||||
|
||||
<Media Id="1" Cabinet="product.cab" EmbedCab="yes" />
|
||||
|
||||
<Icon Id="EDMarketConnector.exe" SourceFile="EDMarketConnector.ico"/>
|
||||
|
||||
<!-- For Add/Remove programs -->
|
||||
<Property Id="ARPPRODUCTICON" Value="EDMarketConnector.exe" />
|
||||
<Property Id="ARPNOMODIFY" Value="yes" Secure="yes" /> <!-- Remove modify - also set by WixUI_Minimal -->
|
||||
<Property Id="ARPHELPLINK" Value="https://github.com/EDCD/EDMarketConnector/wiki" />
|
||||
|
||||
<!-- Set INSTALLDIR from ARPINSTALLLOCATION if replacing/upgrading -->
|
||||
<!-- https://wyrdfish.wordpress.com/2012/07/20/msi-writing-guidelines-this-may-be-out-of-date/ -->
|
||||
<Property Id="ARPINSTALLLOCATION">
|
||||
<RegistrySearch Id="GetARPINSTALLLOCATION"
|
||||
Root="HKLM"
|
||||
Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\[WIX_UPGRADE_DETECTED]"
|
||||
Name="InstallLocation"
|
||||
Type="raw" />
|
||||
</Property>
|
||||
<CustomAction Id="SetINSTALLDIR" Property="INSTALLDIR" Value="[ARPINSTALLLOCATION]" />
|
||||
<InstallUISequence>
|
||||
<Custom Action="SetINSTALLDIR" After="AppSearch">
|
||||
WIX_UPGRADE_DETECTED AND ARPINSTALLLOCATION
|
||||
</Custom>
|
||||
</InstallUISequence>
|
||||
<InstallExecuteSequence>
|
||||
<Custom Action="SetINSTALLDIR" After="AppSearch">
|
||||
WIX_UPGRADE_DETECTED AND ARPINSTALLLOCATION
|
||||
</Custom>
|
||||
</InstallExecuteSequence>
|
||||
|
||||
<!-- Set ARPINSTALLLOCATION from INSTALLDIR if new install -->
|
||||
<!-- http://blogs.technet.com/b/alexshev/archive/2008/02/09/from-msi-to-wix-part-2.aspx -->
|
||||
<CustomAction Id="SetARPINSTALLLOCATION" Property="ARPINSTALLLOCATION" Value="[INSTALLDIR]" />
|
||||
<InstallExecuteSequence>
|
||||
<Custom Action="SetARPINSTALLLOCATION" After="InstallValidate">
|
||||
NOT Installed
|
||||
</Custom>
|
||||
</InstallExecuteSequence>
|
||||
|
||||
<!-- Launch app after upgrade -->
|
||||
<Property Id="LAUNCH" Value="yes" />
|
||||
<CustomAction Id="DoLaunch"
|
||||
Directory="INSTALLDIR"
|
||||
ExeCommand='"[INSTALLDIR]EDMarketConnector.exe"'
|
||||
Return="asyncNoWait"
|
||||
Execute="deferred"
|
||||
Impersonate="yes"
|
||||
/>
|
||||
<InstallExecuteSequence>
|
||||
<!-- http://alekdavis.blogspot.co.uk/2013/05/wix-woes-what-is-your-installer-doing.html -->
|
||||
<Custom Action="DoLaunch" Before="InstallFinalize">
|
||||
NOT Installed AND LAUNCH ~= "yes"
|
||||
</Custom>
|
||||
</InstallExecuteSequence>
|
||||
|
||||
<Directory Id="TARGETDIR" Name="SourceDir">
|
||||
|
||||
<!-- http://wixtoolset.org/documentation/manual/v3/howtos/files_and_registry/write_a_registry_entry.html -->
|
||||
<Component Id="RegistryEntries" Guid="*">
|
||||
<RegistryKey Root="HKCR" Key="edmc">
|
||||
<RegistryValue Type="string" Value="$(var.PRODUCTLONGNAME)"/>
|
||||
<RegistryValue Type="string" Name="URL Protocol" Value=""/>
|
||||
<RegistryKey Key="DefaultIcon">
|
||||
<RegistryValue Type="string" Value="[INSTALLDIR]EDMarketConnector.exe,0"/>
|
||||
</RegistryKey>
|
||||
<RegistryKey Key="shell">
|
||||
<RegistryKey Key="open">
|
||||
<RegistryKey Key="command">
|
||||
<RegistryValue Type="string" Value='"[INSTALLDIR]EDMarketConnector.exe" "%1"'/>
|
||||
</RegistryKey>
|
||||
<RegistryKey Key="ddeexec">
|
||||
<RegistryValue Type="string" Value='Open("%1")'/>
|
||||
</RegistryKey>
|
||||
</RegistryKey>
|
||||
</RegistryKey>
|
||||
</RegistryKey>
|
||||
</Component>
|
||||
|
||||
<!-- Contents auto-generated with heat.exe, see setup.py -->
|
||||
<Directory Id="ProgramFilesFolder">
|
||||
</Directory>
|
||||
|
||||
<Directory Id="ProgramMenuFolder" Name="Programs">
|
||||
</Directory>
|
||||
|
||||
</Directory>
|
||||
|
||||
<!-- Contents auto-generated in setup.py -->
|
||||
<Feature Id='Complete' Level='1'>
|
||||
</Feature>
|
||||
|
||||
</Product>
|
||||
</Wix>
|
||||
|
||||
<!-- Local Variables: -->
|
||||
<!-- tab-width: 4 -->
|
||||
<!-- End: -->
|
||||
Reference in new issue
Block a user