Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions LevelImposter/Assets/i18n/zh-cn.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"main_menu.maps": "地图",
"main_menu.update": "更新",
"main_menu.update.close": "关闭",
"main_menu.update.updating": "正在更新...",
"main_menu.update_success.title": "更新完成!",
"main_menu.update_success.description": "请重启游戏。",
"main_menu.update_failed": "自动更新到 {0} 不可用:\n{1}",
"main_menu.update_failed.title": "更新失败",
"main_menu.update_failed.description": "(你可能需要手动更新)",
"main_menu.update_failed.already_up_to_date": "已经是最新版本",
"main_menu.update_failed.incorrect_version": "不支持当前 Among Us",
"main_menu.update_failed.disabled": "此版本自动更新已禁用",
"main_menu.update_failed.no_release_assets": "未找到发布资源",
"main_menu.update_failed.unknown": "未知错误",
"shop.map.download": "下载",
"shop.map.play": "开始游戏",
"shop.map.author": "作者:{0}",
"shop.map.localmap": "(本地地图)",
"shop.map.localmap.description": "将此地图上传到创意工坊即可在线游玩",
"shop.map.randomizer.title": "地图随机选择器",
"shop.map.randomizer.weight": "权重:",
"shop.map.randomizer.done": "完成",
"shop.downloader.title": "正在下载 {0}...",
"shop.downloader.looking_for_url": "(正在查找下载链接)",
"shop.downloader.error": "伪装者破坏了下载!",
"shop.loading.fun_text_0": "正在搜索宜居行星...",
"shop.loading.fun_text_1": "正在扫描行星系统...",
"shop.loading.fun_text_2": "正在搜索运输船...",
"shop.loading.fun_text_3": "正在调整引擎输出...",
"shop.loading.fun_text_4": "正在重启核反应堆...",
"shop.loading.fun_text_5": "正在校准望远镜...",
"shop.loading.fun_text_6": "正在穿越小行星带...",
"shop.loading.fun_text_7": "正在转移电力...",
"shop.loading.fun_text_8": "正在刷卡...",
"shop.loading.fun_text_9": "正在为引擎添加燃料...",
"shop.loading.fun_text_10": "正在标出航线...",
"shop.loading.fetching_maps": "(正在获取地图)",
"shop.tabs.downloaded_maps": "已下载地图",
"shop.tabs.lobby_maps": "大厅地图",
"shop.tabs.featured_maps": "精选地图",
"shop.tabs.top_maps": "热门地图",
"shop.tabs.recent_maps": "最近地图",
"loading.loading": "加载中...",
"loading.map_by_author": "<color=#1a95d8>{0}</color> 作者:{1}",
"loading.downloading_map": "正在下载地图...",
"loading.waiting_for_host": "正在等待房主...",
"lobby.random_custom_map": "随机自定义地图",
"lobby.map_by_author": "<color=#1a95d8>{0}</color> 作者:{1}"
}
50 changes: 50 additions & 0 deletions LevelImposter/Assets/i18n/zh-tw.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"main_menu.maps": "地圖",
"main_menu.update": "更新",
"main_menu.update.close": "關閉",
"main_menu.update.updating": "正在更新...",
"main_menu.update_success.title": "更新完成!",
"main_menu.update_success.description": "請重新啟動遊戲。",
"main_menu.update_failed": "自動更新到 {0} 無法使用:\n{1}",
"main_menu.update_failed.title": "更新失敗",
"main_menu.update_failed.description": "(可能需要手動更新)",
"main_menu.update_failed.already_up_to_date": "已經是最新版本",
"main_menu.update_failed.incorrect_version": "不支援目前的 Among Us 版本",
"main_menu.update_failed.disabled": "此版本自動更新已停用",
"main_menu.update_failed.no_release_assets": "未找到發佈資源",
"main_menu.update_failed.unknown": "未知錯誤",
"shop.map.download": "下載",
"shop.map.play": "開始遊戲",
"shop.map.author": "作者:{0}",
"shop.map.localmap": "(本地地圖)",
"shop.map.localmap.description": "將此地圖上傳到創意工坊即可線上遊玩",
"shop.map.randomizer.title": "地圖隨機選擇器",
"shop.map.randomizer.weight": "權重:",
"shop.map.randomizer.done": "完成",
"shop.downloader.title": "正在下載 {0}...",
"shop.downloader.looking_for_url": "(正在查詢下載連結)",
"shop.downloader.error": "偽裝者破壞了下載!",
"shop.loading.fun_text_0": "正在搜尋宜居行星...",
"shop.loading.fun_text_1": "正在掃描行星系統...",
"shop.loading.fun_text_2": "正在搜尋運輸船...",
"shop.loading.fun_text_3": "正在校正引擎輸出...",
"shop.loading.fun_text_4": "正在啓動反應爐...",
"shop.loading.fun_text_5": "正在校準望遠鏡...",
"shop.loading.fun_text_6": "正在穿越小行星帶...",
"shop.loading.fun_text_7": "正在轉移電力...",
"shop.loading.fun_text_8": "正在刷卡...",
"shop.loading.fun_text_9": "正在為引擎添加燃料...",
"shop.loading.fun_text_10": "正在制定航行路綫...",
"shop.loading.fetching_maps": "(正在獲取地圖)",
"shop.tabs.downloaded_maps": "已下載地圖",
"shop.tabs.lobby_maps": "大廳地圖",
"shop.tabs.featured_maps": "精選地圖",
"shop.tabs.top_maps": "熱門地圖",
"shop.tabs.recent_maps": "最近地圖",
"loading.loading": "載入中...",
"loading.map_by_author": "<color=#1a95d8>{0}</color> 作者:{1}",
"loading.downloading_map": "正在下載地圖...",
"loading.waiting_for_host": "正在等待房主...",
"lobby.random_custom_map": "隨機自定義地圖",
"lobby.map_by_author": "<color=#1a95d8>{0}</color> 作者:{1}"
}
4 changes: 3 additions & 1 deletion LevelImposter/Core/Translations/Translation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ public static class Translation
{ SupportedLangs.English, new LanguageFile("en-us") },
{ SupportedLangs.Latam, new LanguageFile("es") },
{ SupportedLangs.Spanish, new LanguageFile("es") },
{ SupportedLangs.Japanese, new LanguageFile("ja") }
{ SupportedLangs.Japanese, new LanguageFile("ja") },
{ SupportedLangs.SChinese, new LanguageFile("zh-cn") },
{ SupportedLangs.TChinese, new LanguageFile("zh-tw") }
};

private static LanguageFile? _currentLanguage;
Expand Down