diff --git a/.github/workflows/translations.yml b/.github/workflows/translations.yml index fd491f6d..1b086099 100644 --- a/.github/workflows/translations.yml +++ b/.github/workflows/translations.yml @@ -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 - \ No newline at end of file diff --git a/plugins/nextmap.sp b/plugins/nextmap.sp index 755c8417..e793ad6b 100644 --- a/plugins/nextmap.sp +++ b/plugins/nextmap.sp @@ -191,11 +191,11 @@ public Action Command_MapHistory(int client, int args) int lastMapStartTime = g_CurrentMapStartTime; - PrintToConsole(client, "Map History:\n"); - PrintToConsole(client, "Map : Started : Played Time : Reason for ending"); + PrintToConsole(client, "%t:\n", "Map History"); + PrintToConsole(client, "%t : %t : %t : %t", "Map", "Started", "Played Time", "Reason"); GetCurrentMap(mapName, sizeof(mapName)); - PrintToConsole(client, "%02i. %s (Current Map)", 0, mapName); + PrintToConsole(client, "%02i. %s (%t)", 0, mapName, "Current Map"); for (int i=0; i