Skip to content

Commit

Permalink
Test i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
haren724 committed Jan 16, 2025
1 parent 7829d71 commit 7a6a268
Show file tree
Hide file tree
Showing 12 changed files with 70 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,34 @@
<dict>
<key>SchemeUserState</key>
<dict>
<key>Wallpaper_Player_User_Documentation.xcscheme_^#shared#^_</key>
<key>Wallpaper_Player_Documentation.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
<key>Wallpaper_Player_User_Documentation.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>1</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
<dict>
<key>UserDocumentation</key>
<dict>
<key>primary</key>
<true/>
</dict>
<key>Wallpaper_Player_Documentation</key>
<dict>
<key>primary</key>
<true/>
</dict>
<key>Wallpaper_Player_User_Documentation</key>
<dict>
<key>primary</key>
<true/>
</dict>
</dict>
</dict>
</plist>
9 changes: 5 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@
import PackageDescription

let package = Package(
name: "Wallpaper_Player_User_Documentation",
name: "Wallpaper_Player_Documentation",
products: [
.library(
name: "Wallpaper_Player_User_Documentation",
targets: ["UserDocumentation"])],
name: "Wallpaper_Player_Documentation",
targets: ["User_Documentation_en_US", "User_Documentation_zh_CN"])],
dependencies: [
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0")],
targets: [
.target(name: "UserDocumentation")]
.target(name: "User_Documentation_en_US"),
.target(name: "User_Documentation_zh_CN")]
)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ``UserDocumentation``
# ``UserDocumentation_en_US``

@Metadata {
@DisplayName("Wallpaper Player")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@

import Foundation

class UserDocumentation {
class User_Documentation {

}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# 导入你的第一张壁纸

引导你使用本app导入并使用你的第一张壁纸

## 总览

如果想了解软件支持的所有壁纸类型,请查阅 <doc:supported-wallpaper-types>

### 子标题
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# 支持的壁纸类型


23 changes: 23 additions & 0 deletions Sources/User_Documentation_zh_CN/Documentation.docc/homepage.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# ``User_Documentation_zh_CN``

@Metadata {
@DisplayName("Wallpaper Player")
@DocumentationExtension(mergeBehavior: override)
@PageImage(
purpose: icon,
source: "WallpaperPlayer-icon",
alt: "A technology icon representing the Wallpaper_Player framework.")
@PageColor(blue)
}

Mac平台的开源壁纸引擎

## 总览

Wallpaper Player是macOS下完成度最高的壁纸软件之一,并支持多种媒体格式。

## 话题

### 基础

- <doc:import-your-first-wallpaper>
12 changes: 12 additions & 0 deletions Sources/User_Documentation_zh_CN/UserDocumentation.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
//
// File.swift
// Wallpaper Player Documentation
//
// Created by Haren on 2025/1/16.
//

import Foundation

class User_Documentation {

}

0 comments on commit 7a6a268

Please sign in to comment.