Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: add Japanese language support #401

Merged
merged 1 commit into from Mar 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -185,7 +185,7 @@ export default {
name: 'General',
data() {
return {
languages: ['en', 'fr', 'id', 'it', 'nl', 'pt-br', 'zh-hans', 'zh-hant'],
languages: ['en', 'fr', 'id', 'it', 'ja', 'nl', 'pt-br', 'zh-hans', 'zh-hant'],
paginationSizes: [5, 15, 30, 50],
titleOptions: ['Default', 'Global Speed', 'First Torrent Status'],
Qbitversion: 0
Expand Down
83 changes: 83 additions & 0 deletions src/lang/ja.js
@@ -0,0 +1,83 @@
const locale = {
/** General */
category: 'カテゴリー',
settings: '設定',
pause: '停止',
delete: '削除',
save: '保存',
cancel: 'キャンセル',
confirm: '確認',

/** Torrent */
torrent: {
title: 'タイトル',
added: '追加日時',
availability: '可用性',
size: 'サイズ',
progress: '進捗状況',
directory: 'ディレクトリー',
downloaded: 'ダウン量',
uploaded: 'アップ量',
created: '作成',
comments: 'コメント'
},
/** Navbar */
navbar: {
currentSpeed: '速度',
freeSpace: '空き容量',
topActions: {
addTorrent: 'Torrentを追加',
resumeSelected: 'Torrentの再開',
pauseSelected: 'Torrentの一時停止',
removeSelected: 'Torrentの削除',
openSettings: '設定',
searchNew: 'Torrentの検索エンジン'
},
sessionStats: {
tooltip: '最後の再起動からの時間'
}
},

/** Modals */
modals: {
add: {
title: 'Torrentの追加',
selectFiles: 'ファイルの選択'
},
delete: {
check: 'ファイルを削除'
}
},

/** Toast */
toast: {
loginSuccess: 'ログインに成功しました! 🎉',
loginFailed: 'ログインに失敗しました 😕',
settingsSaved: '設定の保存に成功しました!',
categorySaved: 'カテゴリーの編集に成功しました!'
},

/** RightClick **/
rightClick: {
resume: '再開',
forceResume: '強制再開',
advanced: {
advanced: '高度',
changeLocation: '場所を設定',
rename: '名前を変更'
},
prio: {
prio: '優先度を設定',
top: '一番上へ',
bottom: '一番下へ',
increase: '上へ',
decrease: '下へ'
},
category: 'カテゴリーを設定',
limit: '制限を設定',
copy: 'コピー',
info: '情報'
}
}

export default locale