Files
Wand-Enhancer-k1tbyte/WandEnhancer/Locale/lang.zh-CN.xaml
T
kitbyte e04e313fa3 refactor(wpf): decouple the view model from the window and localize its output
Introduce IShellView and IFileDialogs so MainWindowVm no longer holds the
concrete window or reaches through MainWindow.Instance, and file pickers are
injectable.

Run Restore off the UI thread like Patch and gate both buttons on IsBusy.
Gate the log commands on a non-empty log.

Move runtime log messages into the locale dictionaries and add the 14 new keys
to all 12 languages.
Track the injected locale dictionary so switching language replaces it instead
of appending a new one each time.

Remove the unused InfoItem control, ToVisibilityInvertedConverter, mw_title and
the popup placeholder title.
2026-08-29 16:56:36 +03:00

59 lines
3.3 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:s="clr-namespace:System;assembly=mscorlib">
<!--#region Language Metadata -->
<s:String x:Key="language_display_name">简体中文</s:String>
<!--#endregion -->
<!--#region MainWindow -->
<s:String x:Key="mw_folder_path">文件夹路径</s:String>
<s:String x:Key="mw_folder_not_found">未找到文件夹</s:String>
<s:String x:Key="mw_patch">增强</s:String>
<s:String x:Key="mw_restore">恢复</s:String>
<s:String x:Key="mw_source_code">源代码</s:String>
<s:String x:Key="mw_made_by">由 k1tbyte 用 ❤️ 制作</s:String>
<s:String x:Key="mw_star_hint">如果这对您有帮助,请给个星标 ;)</s:String>
<s:String x:Key="mw_copy_logs">复制日志到剪贴板</s:String>
<s:String x:Key="mw_export_logs">将日志导出到文件</s:String>
<!--#endregion -->
<!--#region Settings -->
<s:String x:Key="settings_title">设置</s:String>
<s:String x:Key="settings_language">语言</s:String>
<s:String x:Key="settings_save">保存</s:String>
<!--#endregion -->
<!--#region EnhanceVectorsPopup -->
<s:String x:Key="pv_activate_pro">激活 WeMod Pro</s:String>
<s:String x:Key="pv_devtools">按 F12 打开开发者工具</s:String>
<s:String x:Key="pv_disable_updates">禁用更新</s:String>
<s:String x:Key="pv_remote_web_panel_preview">启用远程访问(beta</s:String>
<s:String x:Key="pv_custom_scripts">自定义脚本</s:String>
<s:String x:Key="pv_add_js_scripts">添加 .js</s:String>
<s:String x:Key="pv_custom_scripts_hint">选中的 .js 文件会打包到 Wand 并在渲染器中加载。</s:String>
<s:String x:Key="pv_no_custom_scripts">未选择脚本</s:String>
<s:String x:Key="pv_start">开始</s:String>
<s:String x:Key="pv_auto_apply">更新后自动应用</s:String>
<s:String x:Key="pv_popup_title">我们要增强什么?</s:String>
<!--#endregion -->
<!--#region Runtime log -->
<s:String x:Key="log_install_found">在 {0} ({1}) 找到 WeMod 目录</s:String>
<s:String x:Key="log_already_patched">WeMod 已经修补过。如果想再次修补,请先恢复备份。</s:String>
<s:String x:Key="log_ready">准备修补。</s:String>
<s:String x:Key="log_install_not_found">未找到 WeMod 目录。</s:String>
<s:String x:Key="log_no_directory">无法执行。请先指定目录。</s:String>
<s:String x:Key="log_invalid_directory">选择的文件夹 {0} 不是有效的 WeMod 目录。</s:String>
<s:String x:Key="log_restore_failed">恢复备份失败: {0}</s:String>
<s:String x:Key="log_patch_failed">修补失败: {0}</s:String>
<s:String x:Key="log_copied">日志已复制到剪贴板。</s:String>
<s:String x:Key="log_copy_failed">复制日志失败: {0}</s:String>
<s:String x:Key="log_exported">日志已导出至 {0}。</s:String>
<s:String x:Key="log_export_failed">导出日志失败: {0}</s:String>
<s:String x:Key="log_open_link_failed">无法在浏览器中打开 {0}。</s:String>
<s:String x:Key="dialog_pick_install">选择 WeMod 目录</s:String>
<!--#endregion -->
</ResourceDictionary>