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
15 changes: 15 additions & 0 deletions Localizations/zh-tw.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"title": "gitignore.io - 為您的專案建立實用的 .gitignore 檔案",
"description": "從 %{templateCount} 種作業系統、IDE 與程式語言的 .gitignore 範本中,為您的專案建立實用的 .gitignore 檔案",
"subtitle": "為您的專案建立實用的 .gitignore 檔案",
"searchPlaceholder": "搜尋作業系統、IDE 或程式語言",
"searchGo": "建立",
"searchDownload": "下載檔案",
"footer": "%{templateCount} 種作業系統、IDE 與程式語言的 .gitignore 範本",
"commandLineTitle": "命令列說明文件",
"commandLineDescription": "瞭解如何從命令列使用 .gitignore.io",
"videoTitle": "觀看教學影片",
"videoDescription": "透過觀看影片瞭解 .gitignore.io 的運作方式",
"sourceCodeTitle": "原始碼",
"sourceCodeDescription": ".gitignore.io 的原始程式碼託管於 GitHub"
}
2 changes: 1 addition & 1 deletion Sources/App/Extensions/Router+Extensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ extension Request {
.first?
.split(separator: "-")
.first ?? "en")
let supportedLanguages = ["ar", "cs", "de", "en", "fa", "fr", "id", "ja", "ko", "pt", "ro", "ru", "tr", "zh", "nl", "el", "th"]
let supportedLanguages = ["ar", "cs", "de", "en", "fa", "fr", "id", "ja", "ko", "pt", "ro", "ru", "tr", "zh", "zh-tw", "nl", "el", "th"]
if supportedLanguages.contains(acceptLanguage) {
return acceptLanguage
} else {
Expand Down