Skip to content

Commit b28f55b

Browse files
authored
Merge pull request #199 from patt812/master
Added Japanese translation
2 parents 70f0b49 + 1205bb2 commit b28f55b

File tree

14 files changed

+182
-0
lines changed

14 files changed

+182
-0
lines changed

src/electron/app.js

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ const langTranslations = {
3030
'ru-RU': require('../translation/ru-RU'),
3131
'pl-PL': require('../translation/pl-PL'),
3232
'tr-TR': require('../translation/tr-TR'),
33+
'ja-JP': require('../translation/ja-JP'),
3334

3435
}
3536

src/electron/window/onenote/load.js

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ const langTranslations = {
1515
'ru-RU': require('../../../translation/ru-RU'),
1616
'pl-PL': require('../../../translation/pl-PL'),
1717
'tr-TR': require('../../../translation/tr-TR'),
18+
'ja-JP': require('../../../translation/ja-JP'),
1819
}
1920
if (!translationKey) {
2021
translationKey = 'en-US'

src/translation/de-DE.js

+1
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ const translation = {
132132
'ru-RU': 'Русский / Russian',
133133
'pl-PL': 'Polski / Polish',
134134
'tr-TR': 'Türkçe / Turkish',
135+
'ja-JP': '日本語 / Japanese',
135136

136137
},
137138
},

src/translation/en-US.js

+1
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ const translation = {
132132
'ru-RU': 'Русский / Russian',
133133
'pl-PL': 'Polski / Polish',
134134
'tr-TR': 'Türkçe / Turkish',
135+
'ja-JP': '日本語 / Japanese',
135136

136137
}
137138
},

src/translation/es-ES.js

+1
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ const translation = {
133133
'ru-RU': 'Русский / Russian',
134134
'pl-PL': 'Polski / Polish',
135135
'tr-TR': 'Türkçe / Turkish',
136+
'ja-JP': '日本語 / Japanese',
136137

137138
}
138139
},

src/translation/fr-FR.js

+1
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ const translation = {
132132
'ru-RU': 'Русский / Russian',
133133
'pl-PL': 'Polski / Polish',
134134
'tr-TR': 'Türkçe / Turkish',
135+
'ja-JP': '日本語 / Japanese',
135136

136137
}
137138
},

src/translation/it-IT.js

+1
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ const translation = {
132132
'ru-RU': 'Русский / Russian',
133133
'pl-PL': 'Polski / Polish',
134134
'tr-TR': 'Türkçe / Turkish',
135+
'ja-JP': '日本語 / Japanese',
135136

136137
}
137138
},

src/translation/ja-JP.js

+169
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,169 @@
1+
const translation = {
2+
title: 'P3X OneNote',
3+
restart: 'アプリケーションを再起動しています。しばらくお待ちください。',
4+
label: {
5+
darkThemeInvert: {
6+
title: 'ダークモードを有効にする(色の反転)'
7+
},
8+
hideMenu: 'メインメニューを隠す(Altキーで表示)',
9+
optionToHideMenuState: {
10+
yes: '再起動後メニューが非表示になります。Altキーで再表示できます。',
11+
},
12+
donate: '寄付',
13+
allowMultiple: {
14+
checkbox: '複数のウィンドウを許可する(試験的)',
15+
message: {
16+
yes: '複数ウィンドウを許可しました。予期せぬ動作を起こす可能性があります。',
17+
no: '最大ウィンドウ数を1つに戻しました。複数ウィンドウによる副作用がなくなりました。'
18+
}
19+
},
20+
disableHide: {
21+
//yes: '閉じるボタンの動作を設定し、終了する代わりにトレイに最小化します',
22+
//no: '閉じるボタンの動作を設定し、アプリを終了します',
23+
checkbox: 'メニューバーにアプリを常駐させる',
24+
message: {
25+
yes: '閉じるボタンはアプリを終了するようになります。',
26+
no: '閉じるボタンは、終了せずアプリをメニューバーへしまいます。',
27+
28+
}
29+
},
30+
optionToDisableInternalExternalPopup: 'リンクのポップアップ確認を無効にする(全て内部リンク扱いにする)',
31+
settings: '設定',
32+
setProxy: 'プロキシの設定',
33+
openUrl: 'URLを開く',
34+
promptRedirectUrlTitle: 'URLにリダイレクト',
35+
edit: '編集',
36+
view: '表示',
37+
download: 'ダウンロード',
38+
developer: 'Patrik Laszlo',
39+
personalHome: '個人のホーム',
40+
corporateHome: '法人のホーム',
41+
clearCache: 'サインアウトしてキャッシュをクリア',
42+
quit: '終了',
43+
show: '表示',
44+
hide: '隠す',
45+
copyLocation: 'URLをクリップボードにコピーする',
46+
copyLocationCopied: 'URLがクリップボードにコピーされました。',
47+
//disallowedContent: '許可されていないコンテンツです! 動作しない場合は、リセットしてデフォルトのホームに戻します。 (最大5秒)。',
48+
//unknownLink: 'しばらくお待ちください。 ロード中に変更される可能性があります。 これがOneNoteページでない場合は、P3X OneNoteメニューホームをクリックしてください',
49+
back: '戻る',
50+
forward: '前へ',
51+
},
52+
dialog: {
53+
info: '情報',
54+
openUrl: {
55+
info: '任意のURLに移動できます',
56+
placeholder: '有効なURL',
57+
58+
},
59+
minimizationBehavior: {
60+
title: '最小化の動作',
61+
},
62+
setProxy: {
63+
placeholder: 'プロキシ設定',
64+
info: 'プロキシをクリアするには、空の文字列のまま保存ボタンを押します。',
65+
clear: 'プロキシ設定を無効にしました。',
66+
set: (value) => {
67+
return `プロキシを${value}に設定しました。`
68+
}
69+
},
70+
redirect: {
71+
url: (opts) => {
72+
return `${opts.url}`
73+
},
74+
urlExternal: '外部アプリ',
75+
urlInternal: 'アプリ内',
76+
}
77+
},
78+
button: {
79+
yes: 'はい',
80+
no: 'いいえ',
81+
ok: 'OK',
82+
cancel: 'キャンセル',
83+
save: '保存',
84+
clear: 'クリア',
85+
go: '移動',
86+
delete: '削除',
87+
},
88+
menu: {
89+
action: 'アクション',
90+
role: {
91+
edit: {
92+
undo: '元に戻す',
93+
redo: 'やり直し',
94+
cut: 'カット',
95+
copy: 'コピー',
96+
paste: 'ペースト',
97+
pasteandmatchstyle: 'ペーストしてスタイルを一致させる',
98+
delete: '削除',
99+
selectall: 'すべて選択',
100+
},
101+
view: {
102+
reload: 'リロード',
103+
forcereload: '強制リロード',
104+
toggledevtools: '開発ツールの表示切り替え',
105+
resetzoom: 'ズームをリセット',
106+
zoomin: '拡大',
107+
zoomout: '縮小',
108+
togglefullscreen: 'フルスクリーンの表示切り替え',
109+
}
110+
},
111+
help: {
112+
title: 'ヘルプ',
113+
checkUpdates: '更新を確認する'
114+
},
115+
language: {
116+
label: '言語',
117+
alert: '言語を日本語に設定しました。',
118+
dialog: {
119+
label: 'OneNote本体の言語も設定しますか?',
120+
corporate: '法人',
121+
personal: '個人',
122+
},
123+
translations: {
124+
'en-US': 'English',
125+
'de-DE': 'Deutsch / German',
126+
'pt-BR': 'Português / Portuguese',
127+
'es-ES': 'Español / Spanish',
128+
'fr-FR': 'Français / French',
129+
'nl-NL': 'Nederlands / Dutch',
130+
'it-IT': 'Italiano / Italian',
131+
'zh-CN': '简体中文 / Simplified Chinese',
132+
'ru-RU': 'Русский / Russian',
133+
'pl-PL': 'Polski / Polish',
134+
'tr-TR': 'Türkçe / Turkish',
135+
'ja-JP': '日本語 / Japanese',
136+
137+
}
138+
},
139+
},
140+
redirecting: 'しばらくお待ちください。 新しいノートブックにリダイレクトしています。 少し時間がかかります...',
141+
slow: 'しばらくお待ちください。 OneNoteの読み込みは時間がかかります...',
142+
updater: {
143+
'checking-for-update': '更新を確認しています...',
144+
'update-available': '最新のリリースをダウンロードしています...',
145+
'update-not-available': '新しい更新はありません。',
146+
error: (opts) => {
147+
return `自動更新プログラムのエラー:${opts.errorMessage}`
148+
},
149+
'download-progress': (opts) => {
150+
return opts.progressObj.percent + '%ダウンロード済み'
151+
},
152+
'update-downloaded': '更新がダウンロードされました。 アプリを再起動して更新できます。'
153+
},
154+
bookmarks: {
155+
title: 'ブックマーク',
156+
add: 'ブックマークを追加',
157+
edit: 'ブックマークを編集',
158+
form: {
159+
title: 'タイトル',
160+
url: 'URL'
161+
}
162+
},
163+
validation: {
164+
required: '必須項目です。',
165+
url: '無効なURLです。',
166+
},
167+
};
168+
169+
module.exports = translation;

src/translation/nl-NL.js

+1
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ const translation = {
132132
'ru-RU': 'Русский / Russian',
133133
'pl-PL': 'Polski / Polish',
134134
'tr-TR': 'Türkçe / Turkish',
135+
'ja-JP': '日本語 / Japanese',
135136

136137
}
137138
},

src/translation/pl-PL.js

+1
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ const translation = {
132132
'ru-RU': 'Русский / Russian',
133133
'pl-PL': 'Polski / Polish',
134134
'tr-TR': 'Türkçe / Turkish',
135+
'ja-JP': '日本語 / Japanese',
135136
}
136137
},
137138
},

src/translation/pt-BR.js

+1
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ const translation = {
132132
'ru-RU': 'Русский / Russian',
133133
'pl-PL': 'Polski / Polish',
134134
'tr-TR': 'Türkçe / Turkish',
135+
'ja-JP': '日本語 / Japanese',
135136

136137
}
137138
},

src/translation/ru-RU.js

+1
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ const translation = {
133133
'ru-RU': 'Русский / Russian',
134134
'pl-PL': 'Polski / Polish',
135135
'tr-TR': 'Türkçe / Turkish',
136+
'ja-JP': '日本語 / Japanese',
136137

137138
}
138139
},

src/translation/tr-TR.js

+1
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ const translation = {
132132
'ru-RU': 'Русский / Russian',
133133
'pl-PL': 'Polski / Polish',
134134
'tr-TR': 'Türkçe / Turkish',
135+
'ja-JP': '日本語 / Japanese',
135136

136137
}
137138
},

src/translation/zh-CN.js

+1
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ const translation = {
132132
'ru-RU': 'Русский / Russian',
133133
'pl-PL': 'Polski / Polish',
134134
'tr-TR': 'Türkçe / Turkish',
135+
'ja-JP': '日本語 / Japanese',
135136

136137
}
137138
},

0 commit comments

Comments
 (0)