-
-
Notifications
You must be signed in to change notification settings - Fork 167
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved Localization/Code stuff over to setting the value of untranslat…
…ed keys to the key iself instead of leaving the value empty. This should make it clearer to the user that these are missing translations instead of just having no text at all which can look broken.
- Loading branch information
1 parent
3d19553
commit effc525
Showing
13 changed files
with
142 additions
and
45 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
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,49 @@ | ||
# Localization > Code | ||
|
||
## StateOfLocalization | ||
|
||
(All of these commands are for the fish shell) | ||
|
||
**Install dependencies** | ||
|
||
``` | ||
python3 -m venv env;\ | ||
source env/bin/activate.fish;\ | ||
python3 -m pip install -r Localization/Code/StateOfLocalization/requirements.txt; | ||
``` | ||
|
||
**Run the script** | ||
|
||
``` | ||
python3 Localization/Code/StateOfLocalization/script.py --api_key <...> | ||
``` | ||
(Use --help for an explanation of the args) | ||
|
||
**Deactivate the venv** | ||
|
||
``` | ||
deactivate | ||
``` | ||
|
||
## UpdateStrings | ||
|
||
(All of these commands are for the fish shell) | ||
|
||
**Install dependencies** | ||
|
||
``` | ||
python3 -m venv env;\ | ||
source env/bin/activate.fish;\ | ||
python3 -m pip install -r Localization/Code/UpdateStrings/requirements.txt; | ||
``` | ||
|
||
**Run the script** | ||
|
||
``` | ||
python3 Localization/Code/UpdateStrings/script.py | ||
``` | ||
(Use --help for an explanation of the args) | ||
|
||
``` | ||
deactivate | ||
``` |
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
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
Oops, something went wrong.