diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e67536ff..0428d594 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -103,13 +103,13 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Remove old data files - run: ssh ${{ secrets.FED_MASTER_SSH_USER }}@${{ secrets.FED_MASTER_SSH_ADDRESS }} rm -rf ${{ env.FED_MASTER_PATH }}/h2-mod/cdata/* + run: ssh ${{ secrets.FED_MASTER_SSH_USER }}@${{ secrets.FED_MASTER_SSH_ADDRESS }} rm -rf ${{ env.FED_MASTER_PATH }}/h2-mod/* - name: Upload h2-mod binary run: rsync -avz h2-mod.exe ${{ secrets.FED_MASTER_SSH_USER }}@${{ secrets.FED_MASTER_SSH_ADDRESS }}:${{ env.FED_MASTER_PATH }}/h2-mod/ - name: Upload data files - run: rsync -avz ./data/cdata/ ${{ secrets.FED_MASTER_SSH_USER }}@${{ secrets.FED_MASTER_SSH_ADDRESS }}:${{ env.FED_MASTER_PATH }}/h2-mod/cdata/ + run: rsync -avz ./data/ ${{ secrets.FED_MASTER_SSH_USER }}@${{ secrets.FED_MASTER_SSH_ADDRESS }}:${{ env.FED_MASTER_PATH }}/h2-mod/ - name: Publish changes run: ssh ${{ secrets.FED_MASTER_SSH_USER }}@${{ secrets.FED_MASTER_SSH_ADDRESS }} ${{ secrets.FED_MASTER_SSH_CHANGE_PUBLISH_COMMAND }} diff --git a/data/zone_source/eng_h2_mod_common.csv b/data/zone_source/eng_h2_mod_common.csv new file mode 100644 index 00000000..7bf70ec8 --- /dev/null +++ b/data/zone_source/eng_h2_mod_common.csv @@ -0,0 +1 @@ +localize,english \ No newline at end of file diff --git a/data/zone_source/h2_mod_common.csv b/data/zone_source/h2_mod_common.csv new file mode 100644 index 00000000..1d2c51e0 --- /dev/null +++ b/data/zone_source/h2_mod_common.csv @@ -0,0 +1 @@ +build,eng_h2_mod_common \ No newline at end of file diff --git a/data/zonetool/localizedstrings/english.json b/data/zonetool/localizedstrings/english.json new file mode 100644 index 00000000..87d39bc5 --- /dev/null +++ b/data/zonetool/localizedstrings/english.json @@ -0,0 +1,38 @@ +{ + "MENU_MODS_DESC": "Load installed mods.", + "LUA_MENU_MOD_DESC_DEFAULT": "Load &&1.", + "LUA_MENU_MOD_DESC": "&&1\nAuthor: &&2\nVersion: &&3", + "LUA_MENU_LOADED_MOD": "Loaded mod: ^3&&1", + "LUA_MENU_AVAILABLE_MODS": "Available mods", + "LUA_MENU_UNLOAD": "Unload", + "LUA_MENU_UNLOAD_DESC": "Unload the currently loaded mod.", + "LUA_MENU_WORKSHOP": "Workshop", + "LUA_MENU_WORKSHOP_DESC": "Download and install mods.", + + "MENU_GENERAL": "H2-MOD", + "MENU_GENERAL_DESC": "Set h2-mod's settings.", + "LUA_MENU_AUTO_UPDATE": "Automatic updates", + "LUA_MENU_AUTO_UPDATE_DESC": "Enable or disable automatic updates on startup.", + "LUA_MENU_CHECK_UPDATES": "Check for updates", + "LUA_MENU_CHECK_UPDATES_DESC": "Check for updates.", + "LUA_MENU_DRAWING": "Hud", + "LUA_MENU_UPDATES": "Updates", + "LUA_MENU_RENDERING": "Rendering", + "LUA_MENU_DRAW_FPS": "Draw FPS", + "LUA_MENU_DRAW_FPS_DESC": "Enable or disable drawing fps or viewpos on screen.", + "LUA_MENU_FPS_ONLY": "FPS only", + "LUA_MENU_FPS_AND_VIEWPOS": "FPS and View Pos", + "LUA_MENU_DRAW_SPEED": "Draw speed", + "LUA_MENU_DRAW_SPEED_DESC": "Enable or disable drawing the player speed on screen.", + "LUA_MENU_DRAW_SPEEDGRAPH": "Draw speed graph", + "LUA_MENU_DRAW_SPEEDGRAPH_DESC": "Enable or disable the speed graph.", + "LUA_MENU_R_FULLBRIGHT": "Fullbright", + "LUA_MENU_R_FULLBRIGHT_DESC": "Change the fullbright mode", + "LUA_MENU_MODE2": "No dynamic lighting", + "LUA_MENU_MODE3": "Debug shader", + + "MENU_SYSINFO_CUSTOMER_SUPPORT_LINK": "Github Page:", + "MENU_SYSINFO_CUSTOMER_SUPPORT_URL": "https://github.com/fedddddd/h2-mod", + "MENU_SYSINFO_DONATION_LINK": "Donation link:", + "MENU_SYSINFO_DONATION_URL": "https://paypal.me/fedecek" +} \ No newline at end of file