Skip to content

Commit

Permalink
中国語対応
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsuz0u committed Dec 25, 2020
1 parent 9c58df0 commit 0ea43da
Show file tree
Hide file tree
Showing 3 changed files with 83 additions and 3 deletions.
2 changes: 1 addition & 1 deletion EhPanda/アプリ/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// MARK: HomeView
"検索" = "Search";
"人気" = "Popular";
"お気に入り" = "Favorite";
"お気に入り" = "Favorites";
"ダウンロード済み" = "Downloaded";


Expand Down
80 changes: 80 additions & 0 deletions EhPanda/アプリ/zh-Hans.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,83 @@
Created by 荒木辰造 on R 2/12/25.

*/

// MARK: LoadingView
"読み込み中..." = "加载中...";

// MARK: HomeView
"検索" = "搜索";
"人気" = "热门";
"お気に入り" = "收藏";
"ダウンロード済み" = "下载";


// MARK: DetailView
"読む" = "阅读";
"気に入り" = "收藏";
"人" = "次";
"言語" = "语言";
"件の評価" = "个评价";
"ページ" = "页数";
"頁" = "页";
"サイズ" = "文件大小";
"プレビュー" = "预览";

// MARK: Category
"同人誌" = "同人志";
"漫画" = "漫画";
"イラスト" = "插画";
"ゲームCG" = "游戏CG";
"西洋" = "西方";
"健全" = "健康";
"画像集" = "照片集";
"コスプレ" = "角色扮演";
"アジア" = "亚洲";
"その他" = "其它";

// MARK: Language
"その他" = "其它";

"アフリカーンス語" = "南非语"; "アルバニア語" = "阿尔巴尼亚语"; "アラビア語" = "阿拉伯语";

"ベンガル語" = "孟加拉语"; "ボスニア語" = "波斯尼亚语"; "ブルガリア語" = "保加利亚语"; "ビルマ語" = "缅甸语";

"カタルーニャ語" = "加泰罗尼亚语"; "セブアノ語" = "宿雾語"; "中国語" = "汉语"; "クロアチア語" = "克罗地亚语"; "チェコ語" = "捷克语";

"デンマーク語" = "丹麦语"; "オランダ語" = "荷兰语";

"英語" = "英语"; "国際語" = "国际语"; "エストニア語" = "爱沙尼亚语";

"フィンランド語" = "芬兰语"; "フランス語" = "法语";

"グルジア語" = "格鲁吉亚语"; "ドイツ語" = "德语"; "ギリシア語" = "希腊语";

"ヘブライ語" = "希伯来语"; "ヒンディー語" = "印地语"; "ミャオ語" = "苗语"; "ハンガリー語" = "匈牙利语";

"インドネシア語" = "印度尼西亚语"; "イタリア語" = "意大利语";

"日本語" = "日语";

"カザフ語" = "哈萨克语"; "クメール語" = "高棉文"; "韓国語" = "韩语"; "クルド語" = "库尔德语";

"ラーオ語" = "老挝语"; "ラテン語" = "拉丁语";

"モンゴル語" = "蒙古语";

"ンデベレ語" = "恩德贝莱语"; "ネパール語" = "尼泊尔语"; "ノルウェー語" = "挪威语";

"オロモ語" = "奥罗莫语";

"パシュトー語" = "普什图语"; "ペルシア語" = "波斯语"; "ポーランド語" = "波兰语"; "ポルトガル語" = "葡萄牙语"; "パンジャーブ語" = "旁遮普语";

"ルーマニア語" = "罗马尼亚语"; "ロシア語" = "俄语";

"サンゴ語" = "桑戈语"; "セルビア語" = "塞尔维亚语"; "ショナ語" = "绍纳语"; "スロバキア語" = "斯洛伐克语"; "スロベニア語" = "斯洛文尼亚语"; "ソマリ語" = "索马里语"; "スペイン語" = "西班牙语"; "スワヒリ語" = "斯瓦希里语"; "スウェーデン語" = "瑞典语";

"タガログ語" = "他加洛语"; "タイ語" = "泰语"; "ティグリニャ語" = "提格利尼亚语"; "トルコ語" = "土耳其语";

"ウクライナ語" = "乌克兰语"; "ウルドゥー語" = "乌尔都语";

"ベトナム語" = "越南语";

"ズールー語" = "祖鲁语";
4 changes: 2 additions & 2 deletions EhPanda/インターフェイス/ホーム/HomeView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import SDWebImageSwiftUI
enum HomepageType: String {
case search = "検索"
case popular = "人気"
case favorite = "お気に入り"
case favorites = "お気に入り"
case downloaded = "ダウンロード済み"
}

Expand Down Expand Up @@ -91,7 +91,7 @@ private struct CategoryPicker: View {
.foregroundColor(.primary)
.font(.largeTitle),
content: {
let homepageTypes: [HomepageType] = [.popular, .favorite, .downloaded]
let homepageTypes: [HomepageType] = [.popular, .favorites, .downloaded]
ForEach(homepageTypes, id: \.self) {
Text($0.rawValue.lString())
}
Expand Down

0 comments on commit 0ea43da

Please sign in to comment.