fix(locale): remove hard coded strings (#3193)

This commit is contained in:
tiuweehan
2020-02-04 20:49:47 +08:00
committed by GitHub
parent 18e284ece8
commit fc91bf8781
15 changed files with 108 additions and 39 deletions

View File

@ -3,6 +3,9 @@ const en = {
login: 'Login',
loggingIn: 'Logging in...',
loginWithNetlifyIdentity: 'Login with Netlify Identity',
loginWithBitbucket: 'Login with Bitbucket',
loginWithGitHub: 'Login with GitHub',
loginWithGitLab: 'Login with GitLab',
errors: {
email: 'Make sure to enter your email.',
password: 'Please enter your password.',
@ -44,6 +47,11 @@ const en = {
},
},
editor: {
editorControl: {
field: {
optional: 'optional',
},
},
editorControlPane: {
widget: {
required: '%{fieldLabel} is required.',
@ -105,6 +113,20 @@ const en = {
deployButtonLabel: 'View Live',
},
editorWidgets: {
markdown: {
richText: 'Rich Text',
markdown: 'Markdown',
},
image: {
choose: 'Choose an image',
chooseDifferent: 'Choose different image',
remove: 'Remove image',
},
file: {
choose: 'Choose a file',
chooseDifferent: 'Choose different file',
remove: 'Remove file',
},
unknownControl: {
noControl: "No control for widget '%{widget}'.",
},

View File

@ -102,6 +102,20 @@ const ja = {
deployButtonLabel: 'ライブで見る',
},
editorWidgets: {
markdown: {
richText: 'リッチテキスト',
markdown: 'マークダウン',
},
image: {
choose: '画像を選択',
chooseDifferent: '他の画像を選択',
remove: '画像を削除',
},
file: {
choose: 'ファイルを選択',
chooseDifferent: '他のファイルを選択',
remove: 'ファイルを削除',
},
unknownControl: {
noControl: "'%{widget}'はウィジェットとして利用できません。",
},

View File

@ -33,6 +33,11 @@ const pl = {
},
},
editor: {
editorControl: {
field: {
optional: 'opcjonalne',
},
},
editorControlPane: {
widget: {
required: '%{fieldLabel} jest wymagane.',