From 5a3acd19f24b5904d8d7fde008cce7014d2592da Mon Sep 17 00:00:00 2001 From: baysonfox Date: Sat, 2 Sep 2023 01:04:17 +0800 Subject: [PATCH 1/2] new(git): add .gitignore file --- .gitignore | 4 ++++ Open Wallpaper Engine.xcodeproj/project.pbxproj | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a334b0f --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +# Xcode + +## User settings +xcuserdata/ diff --git a/Open Wallpaper Engine.xcodeproj/project.pbxproj b/Open Wallpaper Engine.xcodeproj/project.pbxproj index d29b8b8..691c26d 100644 --- a/Open Wallpaper Engine.xcodeproj/project.pbxproj +++ b/Open Wallpaper Engine.xcodeproj/project.pbxproj @@ -127,6 +127,7 @@ 5EFBB0BA2A2F10EA00E39BEC /* main.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = main.swift; sourceTree = ""; }; 5EFC591C2A81ACBC005F97E2 /* StatusBar.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StatusBar.swift; sourceTree = ""; }; 5EFC591E2A81ACC3005F97E2 /* MainMenu.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MainMenu.swift; sourceTree = ""; }; + B4AD1D0F2AA24E8200471AC8 /* .gitignore */ = {isa = PBXFileReference; lastKnownFileType = text; path = .gitignore; sourceTree = ""; }; DAEE29C52A9CB52100633898 /* WebWallpaperViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WebWallpaperViewModel.swift; sourceTree = ""; }; /* End PBXFileReference section */ @@ -250,6 +251,7 @@ 5EC47E6D2A2DB2E600120CCC = { isa = PBXGroup; children = ( + B4AD1D0F2AA24E8200471AC8 /* .gitignore */, 5EEE8D5D2A7501C800DCE41A /* resources */, 5EF4C24C2A4C98FA009831E5 /* README.md */, 5EF4C24A2A4C9871009831E5 /* CNAME */, From 12080321754e85a90219713fc04924b59f785c56 Mon Sep 17 00:00:00 2001 From: baysonfox Date: Sat, 2 Sep 2023 01:07:17 +0800 Subject: [PATCH 2/2] update(i18n): update locales for `zh-Hans` --- Open Wallpaper Engine/Localizable.xcstrings | 285 ++++++++++++++++---- 1 file changed, 232 insertions(+), 53 deletions(-) diff --git a/Open Wallpaper Engine/Localizable.xcstrings b/Open Wallpaper Engine/Localizable.xcstrings index 29762e3..8073be5 100644 --- a/Open Wallpaper Engine/Localizable.xcstrings +++ b/Open Wallpaper Engine/Localizable.xcstrings @@ -12,6 +12,12 @@ "state" : "translated", "value" : "Approved" } + }, + "zh-Hans" : { + "stringUnit" : { + "state" : "translated", + "value" : "广受好评" + } } } }, @@ -23,6 +29,12 @@ "state" : "translated", "value" : "Audio Responsive" } + }, + "zh-Hans" : { + "stringUnit" : { + "state" : "translated", + "value" : "音频响应" + } } } }, @@ -34,6 +46,12 @@ "state" : "translated", "value" : "Customizable" } + }, + "zh-Hans" : { + "stringUnit" : { + "state" : "translated", + "value" : "可自定义的" + } } } }, @@ -45,6 +63,12 @@ "state" : "translated", "value" : "Mobile Compatible" } + }, + "zh-Hans" : { + "stringUnit" : { + "state" : "translated", + "value" : "与移动设备兼容" + } } } }, @@ -56,6 +80,12 @@ "state" : "translated", "value" : "My Favourites" } + }, + "zh-Hans" : { + "stringUnit" : { + "state" : "translated", + "value" : "我的收藏" + } } } }, @@ -66,23 +96,44 @@ }, "×8 MSAA is only recommended for powerful high-end desktop graphics cards." : { - + "localizations" : { + "zh-Hans" : { + "stringUnit" : { + "state" : "translated", + "value" : "建议仅将 x8 MSAA 用于功能强大的高端台式机显卡。" + } + } + } }, "1 per page (developer)" : { }, "10 per page" : { - + "localizations" : { + "zh-Hans" : { + "stringUnit" : { + "state" : "translated", + "value" : "10 个/页" + } + } + } }, "25 per page" : { - + "localizations" : { + "zh-Hans" : { + "stringUnit" : { + "state" : "translated", + "value" : "25 个/页" + } + } + } }, "50 per page" : { "localizations" : { "zh-Hans" : { "stringUnit" : { "state" : "translated", - "value" : "50/页" + "value" : "50 个/页" } } } @@ -92,8 +143,8 @@ "localizations" : { "zh-Hans" : { "stringUnit" : { - "state" : "needs_review", - "value" : "50/页" + "state" : "translated", + "value" : "500 个/页" } } } @@ -103,8 +154,8 @@ "localizations" : { "zh-Hans" : { "stringUnit" : { - "state" : "needs_review", - "value" : "100/页" + "state" : "translated", + "value" : "100 个/页" } } } @@ -114,8 +165,8 @@ "localizations" : { "zh-Hans" : { "stringUnit" : { - "state" : "needs_review", - "value" : "200/页" + "state" : "translated", + "value" : "200 个/页" } } } @@ -155,16 +206,29 @@ }, "2048x2048 MacBook Pro 14''" : { "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "2048 x 2048 MacBook Pro 14\"" + } + }, "zh-Hans" : { "stringUnit" : { "state" : "translated", - "value" : "2048x2048 MacBook Pro 14" + "value" : "2048 x 2048 MacBook Pro 14\"" } } } }, "3840 x 2160" : { - + "localizations" : { + "zh-Hans" : { + "stringUnit" : { + "state" : "translated", + "value" : "3840 x 2160" + } + } + } }, "Add to Favorites" : { "localizations" : { @@ -504,8 +568,8 @@ "localizations" : { "zh-Hans" : { "stringUnit" : { - "state" : "needs_review", - "value" : "拖到这导入壁纸" + "state" : "translated", + "value" : "拖拽到此以导入壁纸" } } } @@ -685,7 +749,7 @@ "zh-Hans" : { "stringUnit" : { "state" : "translated", - "value" : "设置较高的帧率将会使你的电脑变慢!" + "value" : "高 FPS 可能会降低电脑的运行速度!" } } } @@ -695,7 +759,7 @@ "zh-Hans" : { "stringUnit" : { "state" : "translated", - "value" : "设置较高的帧率将会使你的电脑变慢!这不是开玩笑,你的电脑将会非常🔥" + "value" : "高 FPS 可能会降低电脑的运行速度!这可不是开玩笑,您设置的 FPS 太高了🔥." } } } @@ -734,8 +798,8 @@ "localizations" : { "zh-Hans" : { "stringUnit" : { - "state" : "needs_review", - "value" : "从Steam创意工坊中导入壁纸" + "state" : "translated", + "value" : "从 Steam 创意工坊中导入壁纸" } } } @@ -937,17 +1001,31 @@ } }, "Never show this again until next update" : { - + "localizations" : { + "zh-Hans" : { + "stringUnit" : { + "state" : "translated", + "value" : "在下次更新之前不再显示" + } + } + } }, "No wallpapers found for your search.\nExpand or reset the categories in the filter sidebar or try another search term." : { - + "localizations" : { + "zh-Hans" : { + "stringUnit" : { + "state" : "translated", + "value" : "没有找到任何壁纸。 请尝试通过侧栏的选择器来扩大或重置搜索范围,或者尝试换一个词来搜索。" + } + } + } }, "None" : { "localizations" : { "zh-Hans" : { "stringUnit" : { - "state" : "needs_review", - "value" : "全不选" + "state" : "translated", + "value" : "无日志" } } } @@ -1023,7 +1101,14 @@ } }, "Open Wallpaper Engine" : { - + "localizations" : { + "zh-Hans" : { + "stringUnit" : { + "state" : "translated", + "value" : "Open Wallpaper Engine" + } + } + } }, "Other Application Focused:" : { "localizations" : { @@ -1116,10 +1201,24 @@ } }, "Post-Processing" : { - + "localizations" : { + "zh-Hans" : { + "stringUnit" : { + "state" : "translated", + "value" : "后处理" + } + } + } }, "Potrait Monitor / Phone" : { - + "localizations" : { + "zh-Hans" : { + "stringUnit" : { + "state" : "translated", + "value" : "纵向显示器/手机" + } + } + } }, "Power Saving Mode, Sleeping..." : { "localizations" : { @@ -1152,7 +1251,14 @@ } }, "Protect against crashes" : { - + "localizations" : { + "zh-Hans" : { + "stringUnit" : { + "state" : "translated", + "value" : "防崩溃" + } + } + } }, "Quality" : { "localizations" : { @@ -1205,7 +1311,14 @@ } }, "Reload when changing output device" : { - + "localizations" : { + "zh-Hans" : { + "stringUnit" : { + "state" : "translated", + "value" : "更改音频输出设备时重新加载" + } + } + } }, "Remove Wallpaper" : { "localizations" : { @@ -1278,10 +1391,24 @@ } }, "Restart after crashing" : { - + "localizations" : { + "zh-Hans" : { + "stringUnit" : { + "state" : "translated", + "value" : "崩溃后重启" + } + } + } }, "Safe start after hibernation" : { - + "localizations" : { + "zh-Hans" : { + "stringUnit" : { + "state" : "translated", + "value" : "从休眠后唤醒时使用安全模式" + } + } + } }, "Save" : { "localizations" : { @@ -1354,7 +1481,14 @@ } }, "Similar UI Layout to Wallpaper Engine on Steam" : { - + "localizations" : { + "zh-Hans" : { + "stringUnit" : { + "state" : "translated", + "value" : "和 Steam 上的 Wallpaper Engine 具有相似的 UI 布局" + } + } + } }, "Small Icons" : { "localizations" : { @@ -1390,8 +1524,8 @@ "localizations" : { "zh-Hans" : { "stringUnit" : { - "state" : "needs_review", - "value" : "跟随macOS启动" + "state" : "translated", + "value" : "跟随 macOS 启动" } } } @@ -1508,7 +1642,14 @@ } }, "Ultra mode adds HDR bloom to supported wallpapers and is only recommended for powerful high-end desktop graphics cards." : { - + "localizations" : { + "zh-Hans" : { + "stringUnit" : { + "state" : "translated", + "value" : "超高模式可将 HDR 高光添加到支持的壁纸中,建议仅用于功能强大的高端台式机显卡。" + } + } + } }, "Ultra Widescreen" : { "localizations" : { @@ -1544,25 +1685,14 @@ "localizations" : { "zh-Hans" : { "stringUnit" : { - "state" : "needs_review", - "value" : "啰嗦模式" + "state" : "translated", + "value" : "详细日志" } } } }, "version: %@" : { - }, - "version: v0.1" : { - "extractionState" : "stale", - "localizations" : { - "zh-Hans" : { - "stringUnit" : { - "state" : "translated", - "value" : "版本号:v0.1" - } - } - } }, "Video" : { "localizations" : { @@ -1638,16 +1768,44 @@ } }, "We brings you a smoother app animation experience. Powered by the lightweight, modern SwiftUI Framework." : { - + "localizations" : { + "zh-Hans" : { + "stringUnit" : { + "state" : "translated", + "value" : "通过轻量、现代化的 SwiftUI 框架,带来更加顺滑的动画体验" + } + } + } }, "We Take Care of Your Laptop's Battery Life" : { - + "localizations" : { + "zh-Hans" : { + "stringUnit" : { + "state" : "translated", + "value" : "我们关心你的电池寿命" + } + } + } }, "What's New in Open Wallpaper Engine" : { - + "localizations" : { + "zh-Hans" : { + "stringUnit" : { + "state" : "translated", + "value" : "Open Wallpaper Engine 里的新东西" + } + } + } }, "When it comes to without pluging to the power adapter, we reduced the power consumption as much as possible, without just stoping the playback." : { - + "localizations" : { + "zh-Hans" : { + "stringUnit" : { + "state" : "translated", + "value" : "当拔下充电器时,我们尽可能的减少壁纸的能源消耗,但并不停止播放。" + } + } + } }, "Widescreen" : { "localizations" : { @@ -1680,13 +1838,34 @@ } }, "You can easily import video type wallpapers from steam workshop of Wallpaper Engine and modify some properties as well, like playback rate, volume, etc." : { - + "localizations" : { + "zh-Hans" : { + "stringUnit" : { + "state" : "translated", + "value" : "你可以轻松的从 Wallpaper Engine 的创意工坊中导入视频类型的壁纸,同时设定一些属性,例如播放速率,音量等。" + } + } + } }, "You may feel familar when using this dynamic desktop wallpaper tool since it almost has the same layout to its ancesstor." : { - + "localizations" : { + "zh-Hans" : { + "stringUnit" : { + "state" : "translated", + "value" : "你在使用时也许会感到非常熟悉,因为它和它的原型的 UI 布局几乎完全一致。" + } + } + } }, "Your Presets" : { - + "localizations" : { + "zh-Hans" : { + "stringUnit" : { + "state" : "translated", + "value" : "用户预设" + } + } + } } }, "version" : "1.0"