Cleanup the translation files (#1962)
* Remove obsolete slapslay.phrases.txt That plugin isn't in the stock arsenal since forever. * Remove "Dead Player Rename" phrase Unused since #313 * Remove nominations phrases from rockthevote Those phrases were moved to their own nominations.phrases.txt * Remove "Next Map" phrase from nextmap.phrases.txt It was moved to basetriggers.phrases.txt * Remove unused phrases from common.phrases.txt Only "Slapped Player" was moved to funvotes.phrases.txt * Delete empty phrase files * Fix workflow python version selection 3.10 would select Python 3.1 and fail * Deduplicate "Please select a map" phrase Only keep it in the plugin.basecommands.txt file and remove it from the basevotes.phrases.txt. Both plugins using the phrase load the basecommands phrases. * Allow manual triggering of translations action * Actually use the nextmap phrases They were never referenced in the plugin. The "ago" phrase doesn't work the way it is and needs more rethinking.
This commit is contained in:
@@ -5,6 +5,7 @@ on:
|
||||
- master
|
||||
paths:
|
||||
- 'translations/**'
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
update_translations:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -12,7 +13,7 @@ jobs:
|
||||
- uses: actions/setup-python@v4
|
||||
name: Setup Python 3.10
|
||||
with:
|
||||
python-version: 3.10
|
||||
python-version: "3.10"
|
||||
|
||||
- name: Install Python dependencies
|
||||
working-directory: tools/language_check
|
||||
@@ -35,4 +36,3 @@ jobs:
|
||||
run: |
|
||||
python ./compare_translation_phrases.py
|
||||
|
||||
|
||||
Reference in New Issue
Block a user