mirror of
https://github.com/NovaOSS/nova-betterchat.git
synced 2024-11-25 19:54:00 +01:00
Add zh-HK (Cantonese) translation (#68)
This commit is contained in:
parent
291ee71617
commit
67e96df310
|
@ -10,5 +10,5 @@
|
|||
"howTo": "Get your personal API key <0>here</0>",
|
||||
"inputLabel": "API Key"
|
||||
},
|
||||
"customEndpoint": "Use custom endpoint"
|
||||
"customEndpoint": "Use custom API endpoint"
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"description": "Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics. (Default: 0)"
|
||||
},
|
||||
"topP": {
|
||||
"label": "Top P",
|
||||
"label": "Top-p",
|
||||
"description": "Number between 0 and 1. An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered. We generally recommend altering this or temperature but not both. (Default: 1)"
|
||||
},
|
||||
"frequencyPenalty": {
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
"apiEndpoint": {
|
||||
"option": "使用免费的 API 端点",
|
||||
"inputLabel": "API 端点",
|
||||
"description": "感谢 <0>Ayaka</0> 提供免费的 API 终端: https://chatgpt-api.shn.hk/v1/。"
|
||||
"description": "感谢 <0>Ayaka</0> 提供免费的 API 端点: https://chatgpt-api.shn.hk/v1/。"
|
||||
},
|
||||
"apiKey": {
|
||||
"option": "使用自己的 API 密钥",
|
||||
"howTo": "在<0>这里</0>获取您的个人 API 密钥",
|
||||
"inputLabel": "API 密钥"
|
||||
},
|
||||
"customEndpoint": "使用自定义端点"
|
||||
"customEndpoint": "使用自定义 API 端点"
|
||||
}
|
||||
|
|
27
public/locales/zh-HK/about.json
Normal file
27
public/locales/zh-HK/about.json
Normal file
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"description": "Free ChatGPT 係一款好犀利嘅開源 Web App,佢使用 OpenAI 嘅 ChatGPT API,令到你可以免費同 ChatGPT 傾偈!",
|
||||
"sourceCode": "喺 GitHub 上檢視<0>原始碼</0>同埋畀個 ⭐️ 我哋!",
|
||||
"initiative": {
|
||||
"description": "睇下《<0>開放 ChatGPT 倡議</0>》啦!",
|
||||
"link": "https://medium.com/@ayaka_45434/the-open-chatgpt-initiative-e76b0b62a3ae"
|
||||
},
|
||||
"support": {
|
||||
"title": "支持",
|
||||
"paragraph1": "Free ChatGPT 致力於提供實用同驚人嘅特性,你嘅支持同激勵將鼓勵我哋繼續前行!",
|
||||
"paragraph2": "如果你中意呢款 App,我哋請你喺 <0>GitHub</0> 上面畀個 ⭐️。你嘅認可對我哋非同小可,鼓勵我哋更加努力,不斷提供最佳嘅使用體驗。",
|
||||
"paragraph3": "如果你想支持我哋嘅團隊,你可以透過以下方式贊助我哋。每一分貢獻,無論幾細,都幫助我哋維護同埋改善服務。",
|
||||
"paragraph4": "多謝你成為我哋社群嘅一員,我哋期待喺未來提供更好嘅服務畀你。",
|
||||
"alipay": "支付寶",
|
||||
"wechatPay": "微信"
|
||||
},
|
||||
"discordServer": {
|
||||
"title": "Discord 伺服器",
|
||||
"paragraph1": "歡迎加入我哋嘅 Discord 社羣!呢個 Discord 伺服器係一個風水寶地,可以交流 ChatGPT 嘅靈感同埋技巧,並提交 Free ChatGPT 嘅功能建議。你可以同 Free ChatGPT 嘅開發者同埋其他分享你熱情嘅人工智能愛好者傾偈。",
|
||||
"paragraph2": "要加入我哋嘅伺服器,只需要撳呢條 link:<0>https://discord.gg/g3Qnwy4V6A</0>,我哋好想見到你!"
|
||||
},
|
||||
"privacyStatement": {
|
||||
"title": "私隱聲明",
|
||||
"paragraph1": "我哋非常重視你嘅私隱,並致力於保護用家嘅私隱。我哋唔會以任何形式收集或儲存你鍵入或由 OpenAI 伺服器接收嘅任何文字。我哋嘅原始碼可以供你檢查,以驗證呢項聲明。",
|
||||
"paragraph2": "我哋將你嘅 API 金鑰嘅安全擺喺首位,非常小心噉處理佢。如果你用自己嘅 API 金鑰,你嘅金鑰將專門儲存喺你嘅瀏覽器入面,並且永遠唔會共享畀任何第三方實體。佢僅用於訪問 OpenAI API 呢項預期用途,唔會用於任何其他未經授權嘅用途。"
|
||||
}
|
||||
}
|
14
public/locales/zh-HK/api.json
Normal file
14
public/locales/zh-HK/api.json
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"securityMessage": "我哋將你嘅 API 金鑰嘅安全擺喺首位,非常小心噉處理佢。你嘅金鑰將專門儲存喺你嘅瀏覽器入面,並且永遠唔會共享畀任何第三方實體。佢僅用於訪問 OpenAI API 呢項預期用途,唔會用於任何其他未經授權嘅用途。",
|
||||
"apiEndpoint": {
|
||||
"option": "使用免費嘅 API 端點",
|
||||
"inputLabel": "API 端點",
|
||||
"description": "感謝 <0>Ayaka</0> 提供免費嘅 API 端點: https://chatgpt-api.shn.hk/v1/。"
|
||||
},
|
||||
"apiKey": {
|
||||
"option": "使用自己嘅 API 金鑰",
|
||||
"howTo": "喺<0>呢度</0>獲取你嘅個人 API 金鑰",
|
||||
"inputLabel": "API 金鑰"
|
||||
},
|
||||
"customEndpoint": "使用自訂 API 端點"
|
||||
}
|
27
public/locales/zh-HK/main.json
Normal file
27
public/locales/zh-HK/main.json
Normal file
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"save": "儲存",
|
||||
"saveAndSubmit": "儲存同提交",
|
||||
"cancel": "取消",
|
||||
"confirm": "確認",
|
||||
"warning": "警告",
|
||||
"clearMessageWarning": "請注意,提交呢條訊息之後,所有後續訊息都將被刪除!",
|
||||
"clearConversationWarning": "請注意,確認呢個操作將刪除所有訊息!",
|
||||
"clearConversation": "清除會話",
|
||||
"import": "匯入",
|
||||
"export": "匯出",
|
||||
"author": "由 Jing Hua 製作",
|
||||
"about": "關於同贊助",
|
||||
"api": "API",
|
||||
"personal": "個人",
|
||||
"free": "免費",
|
||||
"downloadChat": "儲存傾偈記錄",
|
||||
"user": "用户",
|
||||
"assistant": "助手",
|
||||
"system": "系統",
|
||||
"newChat": "新傾偈",
|
||||
"lightMode": "亮色模式",
|
||||
"darkMode": "黑暗模式",
|
||||
"setting": "設定",
|
||||
"image": "圖片",
|
||||
"autoTitle": "自動生成標題"
|
||||
}
|
21
public/locales/zh-HK/model.json
Normal file
21
public/locales/zh-HK/model.json
Normal file
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"configuration": "配置",
|
||||
"model": "模型",
|
||||
"default": "預設",
|
||||
"temperature": {
|
||||
"label": "採樣温度",
|
||||
"description": "係一個 0 到 2 之間嘅數值。較高嘅數值如 0.8 會令到輸出更加隨機,而較低的數值如 0.2 會令到輸出更加集中同確定。通常建議修改呢個引數或者 Top-p,但係唔好同時修改兩者。(預設: 1)"
|
||||
},
|
||||
"presencePenalty": {
|
||||
"label": "存在懲罰",
|
||||
"description": "係一個 -2.0 到 2.0 之間嘅數值。正嘅數值表示,如果某個 token 已經出現喺文字當中,輸出嗰陣就會懲罰佢,令到佢被揀中嘅機率降低,即係可以增加模型講新話題嘅機會。 (預設: 0)"
|
||||
},
|
||||
"topP": {
|
||||
"label": "Top-p",
|
||||
"description": "係一個 0 到 1 之間嘅數值。喺核採樣(根據温度採樣嘅一種替代方法)中,採樣嗰陣會由機率最高嗰啲 token 當中揀,0.1 表示僅考慮機率求和達到 10% 嘅 token。通常建議修改呢個引數或採樣温度,但唔好同時修改兩者。(預設: 1)"
|
||||
},
|
||||
"frequencyPenalty": {
|
||||
"label": "頻率懲罰",
|
||||
"description": "係一個 -2.0 到 2.0 之間嘅數值。正嘅數值表示,如果 token 喺之前嘅文字中出現頻率越高,輸出嗰陣就會越大力噉懲罰佢,令到佢被揀中嘅機率降低,即係可以降低模型重複同一句説話嘅機會。(預設: 0)"
|
||||
}
|
||||
}
|
|
@ -4,7 +4,7 @@ import { initReactI18next } from 'react-i18next';
|
|||
import Backend from 'i18next-http-backend';
|
||||
import LanguageDetector from 'i18next-browser-languagedetector';
|
||||
|
||||
export const i18nLanguages = ['en', 'zh-CN'];
|
||||
export const i18nLanguages = ['en', 'zh-CN', 'zh-HK'];
|
||||
|
||||
i18n
|
||||
.use(Backend)
|
||||
|
|
Loading…
Reference in a new issue