mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 10:28:10 +08:00
chore: fix type check for i18n (#30058)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com> Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
This commit is contained in:
@ -79,6 +79,7 @@ const translation = {
|
||||
pathParams: 'Path Params',
|
||||
query: 'Query',
|
||||
toc: 'Contents',
|
||||
noContent: 'No content',
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@ -32,6 +32,9 @@ const translation = {
|
||||
cancelDisagree: 'Cancel dislike',
|
||||
userAction: 'User ',
|
||||
},
|
||||
code: {
|
||||
instruction: 'Instruction',
|
||||
},
|
||||
notSetAPIKey: {
|
||||
title: 'LLM provider key has not been set',
|
||||
trailFinished: 'Trail finished',
|
||||
|
||||
@ -1,4 +1,9 @@
|
||||
const translation = {
|
||||
theme: {
|
||||
switchDark: 'Switch to dark theme',
|
||||
switchLight: 'Switch to light theme',
|
||||
},
|
||||
appNamePlaceholder: 'Give your app a name',
|
||||
createApp: 'CREATE APP',
|
||||
types: {
|
||||
all: 'All',
|
||||
@ -298,6 +303,7 @@ const translation = {
|
||||
commandHint: 'Type @ to browse by category',
|
||||
slashHint: 'Type / to see all available commands',
|
||||
actions: {
|
||||
slashTitle: 'Commands',
|
||||
searchApplications: 'Search Applications',
|
||||
searchApplicationsDesc: 'Search and navigate to your applications',
|
||||
searchPlugins: 'Search Plugins',
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
const translation = {
|
||||
loading: 'Loading',
|
||||
error: 'Error',
|
||||
theme: {
|
||||
theme: 'Theme',
|
||||
light: 'light',
|
||||
@ -71,6 +73,8 @@ const translation = {
|
||||
saveAndRegenerate: 'Save & Regenerate Child Chunks',
|
||||
view: 'View',
|
||||
viewMore: 'VIEW MORE',
|
||||
back: 'Back',
|
||||
imageDownloaded: 'Image downloaded',
|
||||
regenerate: 'Regenerate',
|
||||
submit: 'Submit',
|
||||
skip: 'Skip',
|
||||
@ -252,6 +256,7 @@ const translation = {
|
||||
feedbackPlaceholder: 'Optional',
|
||||
editWorkspaceInfo: 'Edit Workspace Info',
|
||||
workspaceName: 'Workspace Name',
|
||||
workspaceNamePlaceholder: 'Enter workspace name',
|
||||
workspaceIcon: 'Workspace Icon',
|
||||
changeEmail: {
|
||||
title: 'Change Email',
|
||||
@ -515,6 +520,7 @@ const translation = {
|
||||
emptyProviderTip: 'Please install a model provider first.',
|
||||
auth: {
|
||||
unAuthorized: 'Unauthorized',
|
||||
credentialRemoved: 'Credential removed',
|
||||
authRemoved: 'Auth removed',
|
||||
apiKeys: 'API Keys',
|
||||
addApiKey: 'Add API Key',
|
||||
|
||||
@ -245,6 +245,7 @@ const translation = {
|
||||
button: 'Drag and drop file or folder, or',
|
||||
browse: 'Browse',
|
||||
tip: '{{supportTypes}} (Max {{batchCount}}, {{size}}MB each)',
|
||||
fileSizeLimitExceeded: 'File size exceeds the {{size}}MB limit',
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@ -64,6 +64,7 @@ const translation = {
|
||||
passwordInvalid: 'Password must contain letters and numbers, and the length must be greater than 8',
|
||||
registrationNotAllowed: 'Account not found. Please contact the system admin to register.',
|
||||
invalidEmailOrPassword: 'Invalid email or password.',
|
||||
redirectUrlMissing: 'Redirect URL is missing',
|
||||
},
|
||||
license: {
|
||||
tip: 'Before starting Dify Community Edition, read the GitHub',
|
||||
|
||||
@ -158,6 +158,7 @@ const translation = {
|
||||
},
|
||||
errors: {
|
||||
createFailed: 'Failed to create subscription',
|
||||
updateFailed: 'Failed to update subscription',
|
||||
verifyFailed: 'Failed to verify credentials',
|
||||
authFailed: 'Authorization failed',
|
||||
networkError: 'Network error, please try again',
|
||||
|
||||
@ -14,6 +14,7 @@ const translation = {
|
||||
},
|
||||
author: 'By',
|
||||
auth: {
|
||||
unauthorized: 'Unauthorized',
|
||||
authorized: 'Authorized',
|
||||
setup: 'Set up authorization to use',
|
||||
setupModalTitle: 'Set Up Authorization',
|
||||
|
||||
@ -1106,6 +1106,9 @@ const translation = {
|
||||
lastDay: 'Last day',
|
||||
lastDayTooltip: 'Not all months have 31 days. Use the \'last day\' option to select each month\'s final day.',
|
||||
mode: 'Mode',
|
||||
modeVisual: 'Visual',
|
||||
modeCron: 'Cron',
|
||||
selectTime: 'Select time',
|
||||
timezone: 'Timezone',
|
||||
visualConfig: 'Visual Configuration',
|
||||
monthlyDay: 'Monthly Day',
|
||||
|
||||
@ -78,6 +78,7 @@ const translation = {
|
||||
pathParams: 'パスパラメータ',
|
||||
query: 'クエリ',
|
||||
toc: '内容',
|
||||
noContent: 'コンテンツなし',
|
||||
},
|
||||
regenerate: '再生',
|
||||
}
|
||||
|
||||
@ -32,6 +32,9 @@ const translation = {
|
||||
cancelDisagree: 'いいえをキャンセル',
|
||||
userAction: 'ユーザー',
|
||||
},
|
||||
code: {
|
||||
instruction: '指示',
|
||||
},
|
||||
notSetAPIKey: {
|
||||
title: 'LLM プロバイダーキーが設定されていません',
|
||||
trailFinished: 'トライアル終了',
|
||||
|
||||
@ -1,4 +1,9 @@
|
||||
const translation = {
|
||||
theme: {
|
||||
switchDark: 'ダークテーマに切り替え',
|
||||
switchLight: 'ライトテーマに切り替え',
|
||||
},
|
||||
appNamePlaceholder: 'アプリに名前を付ける',
|
||||
createApp: 'アプリを作成する',
|
||||
types: {
|
||||
all: '全て',
|
||||
@ -295,6 +300,7 @@ const translation = {
|
||||
commandHint: '@ を入力してカテゴリ別に参照',
|
||||
slashHint: '/ を入力してすべてのコマンドを表示',
|
||||
actions: {
|
||||
slashTitle: 'コマンド',
|
||||
searchApplications: 'アプリケーションを検索',
|
||||
searchApplicationsDesc: 'アプリケーションを検索してナビゲート',
|
||||
searchPlugins: 'プラグインを検索',
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
const translation = {
|
||||
loading: '読み込み中',
|
||||
error: 'エラー',
|
||||
theme: {
|
||||
theme: 'テーマ',
|
||||
light: '明るい',
|
||||
@ -68,6 +70,8 @@ const translation = {
|
||||
selectAll: 'すべて選択',
|
||||
deSelectAll: 'すべて選択解除',
|
||||
now: '今',
|
||||
back: '戻る',
|
||||
imageDownloaded: '画像がダウンロードされました',
|
||||
config: 'コンフィグ',
|
||||
yes: 'はい',
|
||||
no: 'いいえ',
|
||||
@ -248,6 +252,7 @@ const translation = {
|
||||
sendVerificationButton: '確認コードの送信',
|
||||
editWorkspaceInfo: 'ワークスペース情報を編集',
|
||||
workspaceName: 'ワークスペース名',
|
||||
workspaceNamePlaceholder: 'ワークスペース名を入力',
|
||||
workspaceIcon: 'ワークスペースアイコン',
|
||||
changeEmail: {
|
||||
title: 'メールアドレスを変更',
|
||||
@ -512,6 +517,7 @@ const translation = {
|
||||
authorizationError: '認証エラー',
|
||||
apiKeys: 'APIキー',
|
||||
unAuthorized: '無許可',
|
||||
credentialRemoved: '認証情報が削除されました',
|
||||
configModel: 'モデルを構成する',
|
||||
addApiKey: 'APIキーを追加してください',
|
||||
addCredential: '認証情報を追加する',
|
||||
|
||||
@ -245,6 +245,7 @@ const translation = {
|
||||
button: 'ファイルまたはフォルダをドラッグアンドドロップ、または',
|
||||
browse: '閲覧',
|
||||
tip: '{{supportTypes}}(最大 {{batchCount}}、各 {{size}}MB)',
|
||||
fileSizeLimitExceeded: 'ファイルサイズが {{size}}MB の制限を超えています',
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@ -57,6 +57,7 @@ const translation = {
|
||||
passwordInvalid: 'パスワードは文字と数字を含み、長さは 8 以上である必要があります',
|
||||
registrationNotAllowed: 'アカウントが見つかりません。登録するためにシステム管理者に連絡してください。',
|
||||
invalidEmailOrPassword: '無効なメールアドレスまたはパスワードです。',
|
||||
redirectUrlMissing: 'リダイレクト URL が見つかりません',
|
||||
},
|
||||
license: {
|
||||
tip: 'GitHub のオープンソースライセンスを確認してから、Dify Community Edition を開始してください。',
|
||||
|
||||
@ -165,6 +165,7 @@ const translation = {
|
||||
verifyFailed: '認証情報の検証に失敗しました',
|
||||
authFailed: '認証に失敗しました',
|
||||
networkError: 'ネットワークエラーです。再試行してください',
|
||||
updateFailed: 'サブスクリプションの更新に失敗しました',
|
||||
},
|
||||
},
|
||||
events: {
|
||||
|
||||
@ -15,6 +15,7 @@ const translation = {
|
||||
author: '著者:',
|
||||
auth: {
|
||||
authorized: '認証済み',
|
||||
unauthorized: '未認証',
|
||||
setup: '使用するための認証を設定する',
|
||||
setupModalTitle: '認証の設定',
|
||||
setupModalTitleDescription: '資格情報を構成した後、ワークスペース内のすべてのメンバーがアプリケーションのオーケストレーション時にこのツールを使用できます。',
|
||||
|
||||
@ -1062,6 +1062,9 @@ const translation = {
|
||||
useVisualPicker: 'ビジュアル設定を使用',
|
||||
nodeTitle: 'スケジュールトリガー',
|
||||
mode: 'モード',
|
||||
modeVisual: 'ビジュアル',
|
||||
modeCron: 'Cron',
|
||||
selectTime: '時間を選択',
|
||||
timezone: 'タイムゾーン',
|
||||
visualConfig: 'ビジュアル設定',
|
||||
monthlyDay: '月の日',
|
||||
|
||||
@ -79,6 +79,7 @@ const translation = {
|
||||
pathParams: 'Path Params',
|
||||
query: 'Query',
|
||||
toc: '目录',
|
||||
noContent: '暂无内容',
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@ -32,6 +32,9 @@ const translation = {
|
||||
cancelDisagree: '取消反对',
|
||||
userAction: '用户表示',
|
||||
},
|
||||
code: {
|
||||
instruction: '指令',
|
||||
},
|
||||
notSetAPIKey: {
|
||||
title: 'LLM 提供者的密钥未设置',
|
||||
trailFinished: '试用已结束',
|
||||
|
||||
@ -1,4 +1,9 @@
|
||||
const translation = {
|
||||
theme: {
|
||||
switchDark: '切换至深色主题',
|
||||
switchLight: '切换至浅色主题',
|
||||
},
|
||||
appNamePlaceholder: '给你的应用起个名字',
|
||||
createApp: '创建应用',
|
||||
types: {
|
||||
all: '全部',
|
||||
@ -297,6 +302,7 @@ const translation = {
|
||||
commandHint: '输入 @ 按类别浏览',
|
||||
slashHint: '输入 / 查看所有可用命令',
|
||||
actions: {
|
||||
slashTitle: '命令',
|
||||
searchApplications: '搜索应用程序',
|
||||
searchApplicationsDesc: '搜索并导航到您的应用程序',
|
||||
searchPlugins: '搜索插件',
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
const translation = {
|
||||
loading: '加载中',
|
||||
error: '错误',
|
||||
theme: {
|
||||
theme: '主题',
|
||||
light: '浅色',
|
||||
@ -78,6 +80,8 @@ const translation = {
|
||||
selectAll: '全选',
|
||||
deSelectAll: '取消全选',
|
||||
now: '现在',
|
||||
back: '返回',
|
||||
imageDownloaded: '图片已下载',
|
||||
},
|
||||
errorMsg: {
|
||||
fieldRequired: '{{field}} 为必填项',
|
||||
@ -252,6 +256,7 @@ const translation = {
|
||||
feedbackPlaceholder: '选填',
|
||||
editWorkspaceInfo: '编辑工作空间信息',
|
||||
workspaceName: '工作空间名称',
|
||||
workspaceNamePlaceholder: '输入工作空间名称',
|
||||
workspaceIcon: '工作空间图标',
|
||||
changeEmail: {
|
||||
title: '更改邮箱',
|
||||
@ -509,6 +514,7 @@ const translation = {
|
||||
emptyProviderTip: '请安装模型供应商。',
|
||||
auth: {
|
||||
unAuthorized: '未授权',
|
||||
credentialRemoved: '凭据已移除',
|
||||
authRemoved: '授权已移除',
|
||||
apiKeys: 'API 密钥',
|
||||
addApiKey: '添加 API 密钥',
|
||||
|
||||
@ -245,6 +245,7 @@ const translation = {
|
||||
tip: '支持 {{supportTypes}} (最多 {{batchCount}} 个,每个大小不超过 {{size}}MB)',
|
||||
button: '拖拽文件或文件夹,或',
|
||||
browse: '浏览',
|
||||
fileSizeLimitExceeded: '文件大小超过 {{size}}MB 限制',
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@ -64,6 +64,7 @@ const translation = {
|
||||
passwordLengthInValid: '密码必须至少为 8 个字符',
|
||||
registrationNotAllowed: '账户不存在,请联系系统管理员注册账户',
|
||||
invalidEmailOrPassword: '邮箱或密码错误',
|
||||
redirectUrlMissing: '重定向 URL 缺失',
|
||||
},
|
||||
license: {
|
||||
tip: '启动 Dify 社区版之前,请阅读 GitHub 上的',
|
||||
|
||||
@ -161,6 +161,7 @@ const translation = {
|
||||
verifyFailed: '验证凭据失败',
|
||||
authFailed: '授权失败',
|
||||
networkError: '网络错误,请重试',
|
||||
updateFailed: '更新订阅失败',
|
||||
},
|
||||
},
|
||||
events: {
|
||||
|
||||
@ -15,6 +15,7 @@ const translation = {
|
||||
author: '作者',
|
||||
auth: {
|
||||
authorized: '已授权',
|
||||
unauthorized: '未授权',
|
||||
setup: '要使用请先授权',
|
||||
setupModalTitle: '设置授权',
|
||||
setupModalTitleDescription: '配置凭据后,工作区中的所有成员都可以在编排应用程序时使用此工具。',
|
||||
|
||||
@ -1062,6 +1062,9 @@ const translation = {
|
||||
days: '天',
|
||||
notConfigured: '未配置',
|
||||
mode: '模式',
|
||||
modeVisual: '可视化',
|
||||
modeCron: 'Cron',
|
||||
selectTime: '选择时间',
|
||||
timezone: '时区',
|
||||
visualConfig: '可视化配置',
|
||||
monthlyDay: '月份日期',
|
||||
|
||||
Reference in New Issue
Block a user