Skip to content

Commit

Permalink
gui: Update and fixed some issues.
Browse files Browse the repository at this point in the history
- gui/control_dialog: Add lang strings and improve the interface.
- gui/settings_dialog: Fixed missing ua user language.
- gui, gui/lang: Update lang strings and xml files.
  • Loading branch information
Croden1999 committed Sep 19, 2024
1 parent a62e232 commit 2414db5
Show file tree
Hide file tree
Showing 16 changed files with 201 additions and 40 deletions.
29 changes: 29 additions & 0 deletions lang/system/en-gb.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@

<about name="About">
<vita3k>Vita3K: a PS Vita/PS TV Emulator. The world's first functional PS Vita/PS TV emulator.</vita3k>
<for_android>If you did not download this emulator from Vita3K's official discord, paid for it or it contains ads, uninstall it immediatly.</for_android>
<about_vita3k>Vita3K is an experimental open-source PlayStation Vita/PlayStation TV emulator written in C++ for Windows, Linux, macOS and Android operating systems.</about_vita3k>
<special_credit>Special credit: The Vita3K icon was designed by:</special_credit>
<github_website>If you're interested in contributing, check out our:</github_website>
Expand Down Expand Up @@ -67,6 +68,7 @@
<license>License</license>
<shaders_cache>Shaders Cache</shaders_cache>
<shaders_log>Shaders Log</shaders_log>
<create_shortcut>Create Shortcut</create_shortcut>
<manual>Manual</manual>
<update>Update</update>
<update_history>Update History</update_history>
Expand Down Expand Up @@ -297,6 +299,7 @@ Connect a controller that is compatible with SDL2.</not_connected>
<red>Red</red>
<green>Green</green>
<blue>Blue</blue>
<motion_sensors>Using builtin device motion sensors</motion_sensors>
<reset_controller_binding>Reset Controller Binding</reset_controller_binding>
</controllers>

Expand Down Expand Up @@ -526,6 +529,18 @@ Check vita3k.log to see console output for details.
3. If you want to install or boot Vitamin, it is not supported.</load_app_failed>
</message>

<overlay name="Overlay">
<gamepad_overlay>Gamepad Overlay</gamepad_overlay>
<enable_gamepad_overlay>Show gamepad overlay ingame</enable_gamepad_overlay>
<hide_gamepad_overlay>Hide Gamepad Overlay</hide_gamepad_overlay>
<modify_gamepad_overlay>Modify Gamepad Overlay</modify_gamepad_overlay>
<overlay_scale>Overlay Scale</overlay_scale>
<overlay_opacity>Overlay Opacity</overlay_opacity>
<reset_gamepad>Reset Gamepad</reset_gamepad>
<overlay_show_touch_switch>Show front/back touchscreen switch button.</overlay_show_touch_switch>
<l2_r2_triggers>L2/R2 triggers will be displayed only if PSTV mode is enabled.</l2_r2_triggers>
</overlay>

<performance_overlay>
<avg>Avg</avg>
<min>Min</min>
Expand Down Expand Up @@ -618,6 +633,8 @@ Please download and install the last PS Vita firmware.</no_modules>
<select_backend_renderer>Select your preferred backend renderer.</select_backend_renderer>
<gpu>GPU (Reboot to apply)</gpu>
<select_gpu>Select the GPU Vita3K should run on.</select_gpu>
<add_custom_driver>Add custom driver</add_custom_driver>
<remove_custom_driver>Remove custom driver</remove_custom_driver>
<standard>Standard</standard>
<high>High</high>
<renderer_accuracy>Renderer Accuracy</renderer_accuracy>
Expand Down Expand Up @@ -651,6 +668,16 @@ It has no drawback but can impact performance.</anisotropic_filtering_descriptio
<shader_cache>Use Shader Cache</shader_cache>
<shader_cache_description>Check the box to enable shader cache to pre-compile it at game startup.
Uncheck to disable this feature.</shader_cache_description>
<disabled>Disabled</disabled>
<double_buffer>Double buffer</double_buffer>
<external_host>External host</external_host>
<page_table>Page table</page_table>
<native_buffer>Native buffer</native_buffer>
<mapping_method>Memory mapping method</mapping_method>
<mapping_method_description>Memory mapping improved performances, reduces memory usage and fixes many graphical issues.
However, it may be unstable on some GPUs.</mapping_method_description>
<turbo_mode>Enable Turbo Mode</turbo_mode>
<turbo_mode_description>Provides a way to force the GPU to run at the maximum possible clocks (thermal constraints will still be applied).</turbo_mode_description>
<spirv_shader>Use Spir-V Shader (deprecated)</spirv_shader>
<spirv_shader_description>Pass generated Spir-V shader directly to driver.
Note that some beneficial extensions will be disabled,
Expand Down Expand Up @@ -734,6 +761,7 @@ You will need to move your old folder to the new location manually.</change_emu_
<reset_emu_path>Reset Emulator Path</reset_emu_path>
<reset_emu_path_description>Reset Vita3K emulator path to the default.
You will need to move your old folder to the new location manually.</reset_emu_path_description>
<storage_folder_permissions>Using a different path requires additional permissions</storage_folder_permissions>
<custom_config_settings>Custom Config Settings</custom_config_settings>
<clear_custom_config>Clear Custom Config</clear_custom_config>
</emulator>
Expand Down Expand Up @@ -896,6 +924,7 @@ After the download is complete, Vita3K will restart automatically and then insta
</vita3k_update>

<welcome name="Welcome to Vita3K">
<for_android>This emulator is free and was distributed on Vita3K's official discord. If you did not download this application from Vita3K's discord, paid for it or it has ads, consider uninstalling it immediately for your own safety.</for_android>
<vita3k>Vita3K PlayStation Vita Emulator</vita3k>
<about_vita3k>Vita3K is an open-source PlayStation Vita emulator written in C++ for Windows, Linux, macOS and Android.</about_vita3k>
<development_stage>The emulator is still in its development stages so any feedback and testing is greatly appreciated.</development_stage>
Expand Down
29 changes: 29 additions & 0 deletions lang/system/en.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@

<about name="About">
<vita3k>Vita3K: a PS Vita/PS TV Emulator. The world's first functional PS Vita/PS TV emulator.</vita3k>
<for_android>If you did not download this emulator from Vita3K's official discord, paid for it or it contains ads, uninstall it immediatly.</for_android>
<about_vita3k>Vita3K is an experimental open-source PlayStation Vita/PlayStation TV emulator written in C++ for Windows, Linux, macOS and Android operating systems.</about_vita3k>
<special_credit>Special credit: The Vita3K icon was designed by:</special_credit>
<github_website>If you're interested in contributing, check out our:</github_website>
Expand Down Expand Up @@ -67,6 +68,7 @@
<license>License</license>
<shaders_cache>Shaders Cache</shaders_cache>
<shaders_log>Shaders Log</shaders_log>
<create_shortcut>Create Shortcut</create_shortcut>
<manual>Manual</manual>
<update>Update</update>
<update_history>Update History</update_history>
Expand Down Expand Up @@ -297,6 +299,7 @@ Connect a controller that is compatible with SDL2.</not_connected>
<red>Red</red>
<green>Green</green>
<blue>Blue</blue>
<motion_sensors>Using builtin device motion sensors</motion_sensors>
<reset_controller_binding>Reset Controller Binding</reset_controller_binding>
</controllers>

Expand Down Expand Up @@ -526,6 +529,18 @@ Check vita3k.log to see console output for details.
3. If you want to install or boot Vitamin, it is not supported.</load_app_failed>
</message>

<overlay name="Overlay">
<gamepad_overlay>Gamepad Overlay</gamepad_overlay>
<enable_gamepad_overlay>Show gamepad overlay ingame</enable_gamepad_overlay>
<hide_gamepad_overlay>Hide Gamepad Overlay</hide_gamepad_overlay>
<modify_gamepad_overlay>Modify Gamepad Overlay</modify_gamepad_overlay>
<overlay_scale>Overlay Scale</overlay_scale>
<overlay_opacity>Overlay Opacity</overlay_opacity>
<reset_gamepad>Reset Gamepad</reset_gamepad>
<overlay_show_touch_switch>Show front/back touchscreen switch button.</overlay_show_touch_switch>
<l2_r2_triggers>L2/R2 triggers will be displayed only if PSTV mode is enabled.</l2_r2_triggers>
</overlay>

<performance_overlay>
<avg>Avg</avg>
<min>Min</min>
Expand Down Expand Up @@ -618,6 +633,8 @@ Please download and install the last PS Vita firmware.</no_modules>
<select_backend_renderer>Select your preferred backend renderer.</select_backend_renderer>
<gpu>GPU (Reboot to apply)</gpu>
<select_gpu>Select the GPU Vita3K should run on.</select_gpu>
<add_custom_driver>Add custom driver</add_custom_driver>
<remove_custom_driver>Remove custom driver</remove_custom_driver>
<standard>Standard</standard>
<high>High</high>
<renderer_accuracy>Renderer Accuracy</renderer_accuracy>
Expand Down Expand Up @@ -651,6 +668,16 @@ It has no drawback but can impact performance.</anisotropic_filtering_descriptio
<shader_cache>Use Shader Cache</shader_cache>
<shader_cache_description>Check the box to enable shader cache to pre-compile it at game startup.
Uncheck to disable this feature.</shader_cache_description>
<disabled>Disabled</disabled>
<double_buffer>Double buffer</double_buffer>
<external_host>External host</external_host>
<page_table>Page table</page_table>
<native_buffer>Native buffer</native_buffer>
<mapping_method>Memory mapping method</mapping_method>
<mapping_method_description>Memory mapping improved performances, reduces memory usage and fixes many graphical issues.
However, it may be unstable on some GPUs.</mapping_method_description>
<turbo_mode>Enable Turbo Mode</turbo_mode>
<turbo_mode_description>Provides a way to force the GPU to run at the maximum possible clocks (thermal constraints will still be applied).</turbo_mode_description>
<spirv_shader>Use Spir-V Shader (deprecated)</spirv_shader>
<spirv_shader_description>Pass generated Spir-V shader directly to driver.
Note that some beneficial extensions will be disabled,
Expand Down Expand Up @@ -734,6 +761,7 @@ You will need to move your old folder to the new location manually.</change_emu_
<reset_emu_path>Reset Emulator Path</reset_emu_path>
<reset_emu_path_description>Reset Vita3K emulator path to the default.
You will need to move your old folder to the new location manually.</reset_emu_path_description>
<storage_folder_permissions>Using a different path requires additional permissions</storage_folder_permissions>
<custom_config_settings>Custom Config Settings</custom_config_settings>
<clear_custom_config>Clear Custom Config</clear_custom_config>
</emulator>
Expand Down Expand Up @@ -896,6 +924,7 @@ After the download is complete, Vita3K will restart automatically and then insta
</vita3k_update>

<welcome name="Welcome to Vita3K">
<for_android>This emulator is free and was distributed on Vita3K's official discord. If you did not download this application from Vita3K's discord, paid for it or it has ads, consider uninstalling it immediately for your own safety.</for_android>
<vita3k>Vita3K PlayStation Vita Emulator</vita3k>
<about_vita3k>Vita3K is an open-source PlayStation Vita emulator written in C++ for Windows, Linux, macOS and Android.</about_vita3k>
<development_stage>The emulator is still in its development stages so any feedback and testing is greatly appreciated.</development_stage>
Expand Down
29 changes: 29 additions & 0 deletions lang/system/zh-s.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@

<about name="关于">
<vita3k>Vita3K:PS Vita/PS TV模拟器,是全球首个实用的PS Vita/PS TV模拟器。</vita3k>
<for_android>如果您没有从Vita3K的官方Discord下载此模拟器,是付费购买或含有广告,请立即卸载它。</for_android>
<about_vita3k>Vita3K是使用C++编写的实验性开源PlayStation Vita/PlayStation TV模拟器,适用于Windows、Linux、macOS以及Android操作系统。</about_vita3k>
<special_credit>特别鸣谢:Vita3K图标设计由:</special_credit>
<github_website>如果您有兴趣参与贡献,请浏览我们的:</github_website>
Expand Down Expand Up @@ -67,6 +68,7 @@
<license>授权</license>
<shaders_cache>着色器缓存</shaders_cache>
<shaders_log>着色器日志</shaders_log>
<create_shortcut>创建快捷方式</create_shortcut>
<manual>说明书</manual>
<update>升级</update>
<update_history>更新历史记录</update_history>
Expand Down Expand Up @@ -296,6 +298,7 @@
<red>红</red>
<green>绿</green>
<blue>蓝</blue>
<motion_sensors>使用内置设备传感器</motion_sensors>
<reset_controller_binding>重置控制器绑定</reset_controller_binding>
</controllers>

Expand Down Expand Up @@ -524,6 +527,18 @@
3、如果您想要安装/运行Vitamin是不支持的。</load_app_failed>
</message>

<overlay name="虚拟按键">
<gamepad_overlay>手柄虚拟按键</gamepad_overlay>
<enable_gamepad_overlay>在游戏中显示手柄虚拟按键</enable_gamepad_overlay>
<hide_gamepad_overlay>隐藏手柄虚拟按键</hide_gamepad_overlay>
<modify_gamepad_overlay>修改手柄虚拟按键</modify_gamepad_overlay>
<overlay_scale>虚拟按键缩放</overlay_scale>
<overlay_opacity>虚拟按键不透明度</overlay_opacity>
<reset_gamepad>重置手柄布局</reset_gamepad>
<overlay_show_touch_switch>显示前/后触屏切换按键。</overlay_show_touch_switch>
<l2_r2_triggers>仅当启用PSTV模式时,才会显示L2/R2键。</l2_r2_triggers>
</overlay>

<performance_overlay>
<avg>平均</avg>
<min>最低</min>
Expand Down Expand Up @@ -616,6 +631,8 @@
<select_backend_renderer>选择您喜欢的后端渲染器。</select_backend_renderer>
<gpu>GPU(重启后应用)</gpu>
<select_gpu>选择在Vita3K应运行的GPU。</select_gpu>
<add_custom_driver>添加自定义驱动</add_custom_driver>
<remove_custom_driver>移除自定义驱动</remove_custom_driver>
<standard>标准</standard>
<high>高</high>
<renderer_accuracy>渲染精度</renderer_accuracy>
Expand Down Expand Up @@ -649,6 +666,16 @@
<shader_cache>使用着色器缓存</shader_cache>
<shader_cache_description>勾选此项以启用着色器缓存以在游戏启动时对其进行预编译。
取消勾选则禁用该功能。</shader_cache_description>
<disabled>禁用</disabled>
<double_buffer>双重缓冲</double_buffer>
<external_host>外部主机</external_host>
<page_table>页表</page_table>
<native_buffer>原生缓冲</native_buffer>
<mapping_method>内存映射方式</mapping_method>
<mapping_method_description>内存映射提高了性能,减少了内存使用量,并修复了许多图形问题。
但是它在某些GPU上可能不稳定。</mapping_method_description>
<turbo_mode>启用睿频模式</turbo_mode>
<turbo_mode_description>提供了一种方法来强制GPU运行在最大合理的频率(温控仍然适用)。</turbo_mode_description>
<spirv_shader>使用Spir-V着色器(已弃用)</spirv_shader>
<spirv_shader_description>将生成的Spir-V着色器直接传递给驱动程序。
请注意,一些有益的扩展功能将被禁用,
Expand Down Expand Up @@ -731,6 +758,7 @@
<reset_emu_path>重置模拟器路径</reset_emu_path>
<reset_emu_path_description>重置Vita3K模拟器为默认路径。
您需要手动将旧文件夹移动到新位置。</reset_emu_path_description>
<storage_folder_permissions>使用不同路径需要额外权限</storage_folder_permissions>
<custom_config_settings>自定义配置设置</custom_config_settings>
<clear_custom_config>清除自定义配置</clear_custom_config>
</emulator>
Expand Down Expand Up @@ -892,6 +920,7 @@
</vita3k_update>

<welcome name="欢迎使用Vita3K">
<for_android>此模拟器是免费的,并在Vita3K的官方Discord上发布。如果您没有从Vita3K的Discord下载此应用程序,是付费购买或含有广告,请考虑立即卸载它以确保您自己的安全。</for_android>
<vita3k>Vita3K PlayStation Vita模拟器</vita3k>
<about_vita3k>Vita3K是使用C++编写的开源PlayStation Vita模拟器,适用于Windows、Linux、macOS以及Android。</about_vita3k>
<development_stage>目前模拟器仍处于开发阶段,因此非常感谢任何反馈和测试。</development_stage>
Expand Down
29 changes: 29 additions & 0 deletions lang/system/zh-t.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@

<about name="關於">
<vita3k>Vita3K:PS Vita/PS TV模擬器,是全球首個實用的PS Vita/PS TV模擬器。</vita3k>
<for_android>如果您沒有從Vita3K的官方Discord下載此模擬器,是付費購買或包含廣告,請立即卸載它。</for_android>
<about_vita3k>Vita3K是使用C++編寫的實驗性開源PlayStation Vita/PlayStation TV模擬器,適用於Windows、Linux、macOS以及Android作業系統。</about_vita3k>
<special_credit>特別鳴謝:Vita3K圖標設計由:</special_credit>
<github_website>如果您有興趣參與貢獻,請瀏覽我們的:</github_website>
Expand Down Expand Up @@ -67,6 +68,7 @@
<license>授權</license>
<shaders_cache>著色器快取</shaders_cache>
<shaders_log>著色器記錄</shaders_log>
<create_shortcut>建立快捷方式</create_shortcut>
<manual>說明書</manual>
<update>更新</update>
<update_history>更新履歷</update_history>
Expand Down Expand Up @@ -296,6 +298,7 @@
<red>紅</red>
<green>綠</green>
<blue>藍</blue>
<motion_sensors>使用內置設備傳感器</motion_sensors>
<reset_controller_binding>重設控制器綁定</reset_controller_binding>
</controllers>

Expand Down Expand Up @@ -524,6 +527,18 @@
3、如果您想要安裝/運行Vitamin是不支援的。</load_app_failed>
</message>

<overlay name="虛擬按鈕">
<gamepad_overlay>手把虛擬按鈕</gamepad_overlay>
<enable_gamepad_overlay>在遊戲中顯示手把虛擬按鈕</enable_gamepad_overlay>
<hide_gamepad_overlay>隱藏手把虛擬按鈕</hide_gamepad_overlay>
<modify_gamepad_overlay>修改手把虛擬按鈕</modify_gamepad_overlay>
<overlay_scale>虛擬按鈕縮放</overlay_scale>
<overlay_opacity>虛擬按鈕不透明度</overlay_opacity>
<reset_gamepad>重設手把佈局</reset_gamepad>
<overlay_show_touch_switch>顯示前/後觸屏切換按鈕。</overlay_show_touch_switch>
<l2_r2_triggers>僅當啟用PSTV模式時,才會顯示L2/R2按鈕。</l2_r2_triggers>
</overlay>

<performance_overlay>
<avg>平均</avg>
<min>最低</min>
Expand Down Expand Up @@ -616,6 +631,8 @@
<select_backend_renderer>選擇您喜歡的後端渲染器。</select_backend_renderer>
<gpu>GPU(重啟后應用)</gpu>
<select_gpu>選擇在Vita3K應運行的GPU。</select_gpu>
<add_custom_driver>添加自訂驅動</add_custom_driver>
<remove_custom_driver>移除自訂驅動</remove_custom_driver>
<standard>標準</standard>
<high>高</high>
<renderer_accuracy>渲染精度</renderer_accuracy>
Expand Down Expand Up @@ -649,6 +666,16 @@
<shader_cache>使用著色器快取</shader_cache>
<shader_cache_description>勾選此項啟用著色器快取以在遊戲啟動時對其進行預編譯。
取消勾選則禁用該功能。</shader_cache_description>
<disabled>禁用</disabled>
<double_buffer>雙重緩衝</double_buffer>
<external_host>外部主機</external_host>
<page_table>頁表</page_table>
<native_buffer>原生緩衝</native_buffer>
<mapping_method>內存映射方式</mapping_method>
<mapping_method_description>內存映射提高了性能,減少內存使用量,並修復了許多圖形問題。
但是它在某些GPU上可能不穩定。</mapping_method_description>
<turbo_mode>啟用睿頻模式</turbo_mode>
<turbo_mode_description>提供了一種方法提來强制GPU運行在最大合理的頻率(溫控仍然適用)。</turbo_mode_description>
<spirv_shader>使用Spir-V著色器(已棄用)</spirv_shader>
<spirv_shader_description>將生成的Spir-V著色器直接傳遞給驅動程式。
請注意,一些有益的擴展功能將被禁用,
Expand Down Expand Up @@ -731,6 +758,7 @@
<reset_emu_path>重置模擬器路徑</reset_emu_path>
<reset_emu_path_description>重置Vita3K模擬器為默認路徑。
您需要手動將舊資料夾移動到默認位置。</reset_emu_path_description>
<storage_folder_permissions>使用不同路徑需要額外權限</storage_folder_permissions>
<custom_config_settings>自訂組態設定</custom_config_settings>
<clear_custom_config>清除自訂組態</clear_custom_config>
</emulator>
Expand Down Expand Up @@ -892,6 +920,7 @@
</vita3k_update>

<welcome name="歡迎使用Vita3K">
<for_android>此模擬器是免費的,並在Vita3K的官方Discord上發佈。如果您沒有從Vita3K的Discord下載此應用程式,是付費購買或含有廣告,請考慮立即卸載它以確保您自己的安全。</for_android>
<vita3k>Vita3K PlayStation Vita模擬器</vita3k>
<about_vita3k>Vita3K是使用C++編寫的開源PlayStation Vita模擬器,適用於Windows、Linux、macOS以及Android。</about_vita3k>
<development_stage>目前模擬器仍處於開發階段,因此非常感謝任何回饋和測試。</development_stage>
Expand Down
Loading

0 comments on commit 2414db5

Please sign in to comment.