-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add initial translation. Signed-off-by: Slendi <[email protected]> * Use glob to get UI files instead of manually going though each one. Signed-off-by: Slendi <[email protected]> * Replace self.translator.translate => self.tr Signed-off-by: Slendi <[email protected]> --------- Signed-off-by: Slendi <[email protected]>
- Loading branch information
Showing
5 changed files
with
457 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,4 @@ nexus.egg-info/ | |
.coverage | ||
**/__pycache__/ | ||
src/nexus/ui/*.py | ||
src/nexus/translations/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,210 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!DOCTYPE TS> | ||
<TS version="2.1" language="en_US"> | ||
<context> | ||
<name>BanlistDialog</name> | ||
<message> | ||
<location filename="../ui/banlist.ui" line="14"/> | ||
<source>Banlist</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/banlist.ui" line="39"/> | ||
<source>Word</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/banlist.ui" line="44"/> | ||
<source>Date added</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/banlist.ui" line="49"/> | ||
<source>Case</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/banlist.ui" line="62"/> | ||
<source>Add</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/banlist.ui" line="69"/> | ||
<source>Remove</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
</context> | ||
<context> | ||
<name>BanwordDialog</name> | ||
<message> | ||
<location filename="../ui/banword.ui" line="17"/> | ||
<source>Ban word</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/banword.ui" line="25"/> | ||
<source>Word to ban:</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/banword.ui" line="39"/> | ||
<source>Case:</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/banword.ui" line="46"/> | ||
<source>Insensitive</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/banword.ui" line="56"/> | ||
<source>Sensitive</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/banword.ui" line="63"/> | ||
<source>First char</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
</context> | ||
<context> | ||
<name>ConfirmDialog</name> | ||
<message> | ||
<location filename="../ui/confirm.ui" line="14"/> | ||
<source>Ban word</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/confirm.ui" line="20"/> | ||
<source>Are you sure?</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
</context> | ||
<context> | ||
<name>GUI</name> | ||
<message> | ||
<location filename="../src/nexus/GUI.py" line="108"/> | ||
<location filename="../src/nexus/GUI.py" line="140"/> | ||
<source>GUI</source> | ||
<comment>Start logging</comment> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../src/nexus/GUI.py" line="110"/> | ||
<source>GUI</source> | ||
<comment>Starting...</comment> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../src/nexus/GUI.py" line="121"/> | ||
<source>GUI</source> | ||
<comment>Stop logging</comment> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../src/nexus/GUI.py" line="125"/> | ||
<source>GUI</source> | ||
<comment>Logging started</comment> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../src/nexus/GUI.py" line="144"/> | ||
<source>GUI</source> | ||
<comment>Logging stopped</comment> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../src/nexus/GUI.py" line="177"/> | ||
<source>GUI</source> | ||
<comment>Loaded {} freqlogged words</comment> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../src/nexus/GUI.py" line="240"/> | ||
<source>GUI</source> | ||
<comment>Unban {} words</comment> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../src/nexus/GUI.py" line="242"/> | ||
<source>GUI</source> | ||
<comment>Unban one word</comment> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../src/nexus/GUI.py" line="259"/> | ||
<source>GUI</source> | ||
<comment>Exported {} words to {}</comment> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
</context> | ||
<context> | ||
<name>MainWindow</name> | ||
<message> | ||
<location filename="../ui/main.ui" line="14"/> | ||
<source>Nexus</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/main.ui" line="32"/> | ||
<source>Start logging</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/main.ui" line="39"/> | ||
<source>Refresh</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/main.ui" line="46"/> | ||
<source>Banlist</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/main.ui" line="53"/> | ||
<source>Export</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/main.ui" line="67"/> | ||
<source>Chorded Entry</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/main.ui" line="110"/> | ||
<source>Chord</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/main.ui" line="115"/> | ||
<source>Frequency</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/main.ui" line="120"/> | ||
<location filename="../ui/main.ui" line="184"/> | ||
<source>Last used</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/main.ui" line="131"/> | ||
<source>Character Entry</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/main.ui" line="174"/> | ||
<source>Word</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/main.ui" line="179"/> | ||
<source>Freq.</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/main.ui" line="189"/> | ||
<source>Avg speed</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
</context> | ||
</TS> |
Oops, something went wrong.