mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-27 22:31:05 +00:00
dbce0181a4
* Added config option to enable/disable the email signup * Added register API call * Added register button and error handling * Show register button only if enabled in config * Renamed login handler, added dir-attribute, removed obsolete css class * Added separate registration page, changed email-login to internal-login As an username is sufficient for registration, this commit changes the email-login into an username-based login. This login method is now called "internal" in the code. This commit also introduces a new registration page instead of using the same form as for login. * Added information texts below form fields * Added error differentiation * Added CHANGELOG entry * Replace "magic string" with Enum representation * Removed password-field to DOM rewrite With the value attribute set, the password would be written to the DOM while typing. That's bad practise as attackers could read that password (e.g. with dirty CSS-hacks). * Fixed backendConfig to config renaming * Fixed links on register page being external links * Refactored error handling to use string-enum that corresponds with i18n keys * Fix chrome warnings regarding autocomplete and duplicated id * Refactor login action buttons to use callbacks and handle promises directly * Remove unnecessary async function * Added promise chaining
191 lines
6.3 KiB
JSON
191 lines
6.3 KiB
JSON
{
|
|
"app": {
|
|
"slogan": "您使用 Markdown 寫作與分享知識的最佳方式",
|
|
"title": "Markdown 協作筆記"
|
|
},
|
|
"landing": {
|
|
"intro": {
|
|
"exploreFeatures": "探索所有功能",
|
|
"features": {
|
|
"collaboration": "使用網址協作",
|
|
"mathJax": "支援圖表與 MathJax",
|
|
"slides": "支援簡報模式"
|
|
}
|
|
},
|
|
"history": {
|
|
"noHistory": "沒有紀錄",
|
|
"localHistory": "以下為來自瀏覽器的紀錄",
|
|
"toolbar": {
|
|
"selectTags": "選擇標籤...",
|
|
"searchKeywords": "搜尋關鍵字...",
|
|
"sortByTitle": "用標題排序",
|
|
"sortByLastVisited": "用時間排序",
|
|
"export": "匯出紀錄",
|
|
"import": "匯入紀錄",
|
|
"clear": "清空紀錄",
|
|
"refresh": "更新紀錄"
|
|
},
|
|
"modal": {
|
|
"clearHistory": {}
|
|
},
|
|
"tableHeader": {}
|
|
},
|
|
"navigation": {
|
|
"intro": "簡介",
|
|
"history": "紀錄",
|
|
"newGuestNote": "建立訪客筆記",
|
|
"newNote": "建立筆記"
|
|
},
|
|
"footer": {
|
|
"releases": "版本",
|
|
"poweredBy": "由 <0></0> 強力驅動",
|
|
"imprint": "版本說明",
|
|
"followUs": "來 <0></0>, <1></1>, <2></2>, <3></3> 或 <4></4> 和我們互動吧!",
|
|
"privacy": "隱私權政策",
|
|
"termsOfUse": "使用條款"
|
|
},
|
|
"versionInfo": {
|
|
"sourceCode": "原始碼"
|
|
}
|
|
},
|
|
"profile": {
|
|
"deleteUser": "刪除使用者",
|
|
"exportUserData": "匯出使用者資料",
|
|
"modal": {
|
|
"deleteUser": {
|
|
"title": "刪除使用者",
|
|
"message": "你確定真的想要刪除帳戶?",
|
|
"subMessage": "我們將會刪除你的帳戶、你所擁有的筆記、以及你在別人筆記裡的作者紀錄。"
|
|
}
|
|
}
|
|
},
|
|
"editor": {
|
|
"help": {
|
|
"contacts": {
|
|
"title": "聯絡方式",
|
|
"community": "加入社群",
|
|
"meetUsOn": "透過 {{service}} 聯絡我們",
|
|
"helpTranslating": "幫助我們改進翻譯",
|
|
"reportIssue": "回報問題"
|
|
},
|
|
"documents": {
|
|
"title": "文件",
|
|
"yamlMetadata": "YAML Metadata",
|
|
"slideExample": "簡報範例"
|
|
},
|
|
"cheatsheet": {
|
|
"title": "快速簡表",
|
|
"example": "範例",
|
|
"syntax": "語法",
|
|
"underlinedText": "插入文字",
|
|
"highlightedText": "標記文字",
|
|
"externalService": "外部"
|
|
}
|
|
},
|
|
"error": {
|
|
"locked": {
|
|
"title": "此份筆記已被鎖定",
|
|
"description": "抱歉,只有擁有者可以編輯此筆記"
|
|
},
|
|
"limitReached": {
|
|
"title": "到達上限",
|
|
"description": "抱歉,您已使用到此份筆記可用的最大長度",
|
|
"advice": "請減少內容或是將內容切成更多筆記,謝謝!"
|
|
},
|
|
"incompatible": {
|
|
"title": "您使用的是不相容的客戶端",
|
|
"advice": "請重新整理來更新"
|
|
},
|
|
"newVersion": {
|
|
"title": "新版本來了!",
|
|
"linkText": "請由此查閱更新紀錄",
|
|
"advice": "請重新整理來享受最新功能"
|
|
},
|
|
"userStateChanged": {
|
|
"title": "您的使用者狀態已變更",
|
|
"description": "請重新整理來載入新的使用者狀態"
|
|
}
|
|
},
|
|
"viewMode": {
|
|
"view": "檢視",
|
|
"both": "雙欄"
|
|
},
|
|
"darkMode": {},
|
|
"editorToolbar": {
|
|
"bold": "粗體",
|
|
"strikethrough": "刪除線",
|
|
"header": "標題",
|
|
"code": "程式碼",
|
|
"blockquote": "引用",
|
|
"unorderedList": "無序清單",
|
|
"orderedList": "有序清單",
|
|
"checkList": "待辦事項",
|
|
"link": "連結",
|
|
"image": "圖片",
|
|
"uploadImage": "上傳圖片"
|
|
},
|
|
"menu": {
|
|
"menu": "選單",
|
|
"new": "新增",
|
|
"publish": "發表",
|
|
"extra": "增益",
|
|
"revision": "修訂版本",
|
|
"slideMode": "簡報模式",
|
|
"download": "下載",
|
|
"help": "協助"
|
|
},
|
|
"export": {
|
|
"rawHtml": "純 HTML"
|
|
},
|
|
"import": {
|
|
"clipboard": "剪貼簿"
|
|
},
|
|
"modal": {
|
|
"snippetImport": {
|
|
"title": "從 Snippet 匯入",
|
|
"selectProject": "從可用的專案中選擇",
|
|
"selectSnippet": "從可用的 Snippets 中選擇"
|
|
},
|
|
"gistImport": {
|
|
"title": "從 Gist 匯入",
|
|
"insertGistUrl": "在這裡貼上 gist 網址..."
|
|
},
|
|
"snippetExport": {
|
|
"title": "匯出到 Snippet",
|
|
"visibilityLevel": "選擇可見層級"
|
|
},
|
|
"revision": {
|
|
"title": "修訂版本",
|
|
"revertButton": "還原"
|
|
},
|
|
"clipboardImport": {
|
|
"title": "從剪貼簿匯入",
|
|
"insertMarkdown": "在這裡貼上 Markdown 或是網頁內容..."
|
|
},
|
|
"deleteNote": {
|
|
"question": "確定要刪除這個文件嗎?",
|
|
"warning": "所有使用者將會失去連線"
|
|
}
|
|
}
|
|
},
|
|
"common": {
|
|
"import": "匯入",
|
|
"export": "匯出",
|
|
"refresh": "重新整理",
|
|
"cancel": "取消",
|
|
"ok": "好的",
|
|
"or": "或"
|
|
},
|
|
"login": {
|
|
"chooseMethod": "選擇方式",
|
|
"signInVia": "透過 {{service}} 登入",
|
|
"signIn": "登入",
|
|
"signOut": "登出",
|
|
"register": {
|
|
"title": "註冊"
|
|
},
|
|
"auth": {
|
|
"error": {}
|
|
}
|
|
}
|
|
}
|