-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Lang pt-br #186
base: master
Are you sure you want to change the base?
Lang pt-br #186
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, sorry for the late review, the code looks good! one more thing, we also want to update the lang settings in component/AvatarUpload/index.vue, components/Tinymce/index.vue and components/MarkdownEditor/index.vue, after that I think we are ready to go, thanks!
@@ -45,7 +45,8 @@ export default class extends Vue { | |||
es: 'es-MX', | |||
ja: 'ja', | |||
ko: 'ko', | |||
it: 'it' | |||
it: 'it', | |||
br: 'br' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pt-br
@@ -100,7 +100,8 @@ export default class extends Vue { | |||
es: 'es', | |||
ja: 'ja', | |||
ko: 'ko_KR', | |||
it: 'it' | |||
it: 'it', | |||
br: 'br' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please copy pt_BR file in https://www.tiny.cloud/get-tiny/language-packages/ to the public folder as mentioned above, also change this to pt_BR
@@ -138,6 +138,16 @@ export default class extends Vue { | |||
private content3 = simpleContent | |||
private content4 = simpleContent | |||
private html = '' | |||
// Mapping for local lang to tuiEditor lang |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is moved to component/markdown instead of the demo page here, please remove this and edit it there.
Brazilian Portuguese option