-
Notifications
You must be signed in to change notification settings - Fork 324
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
feat(i18n): try to resolve $t from vue global properties #4244
Comments
Fsss126
added a commit
to Fsss126/vuestic-ui
that referenced
this issue
May 6, 2024
4 tasks
Fsss126
added a commit
to Fsss126/vuestic-ui
that referenced
this issue
May 8, 2024
m0ksem
added a commit
that referenced
this issue
May 23, 2024
* Try to resolve $t from vue global properties #4244 * fix(docs/i18n): move back vuestic key in example * docs(i18n): remove extra steps in vue-i18n --------- Co-authored-by: Maksim Nedoshev <[email protected]>
Fsss126
added a commit
that referenced
this issue
May 25, 2024
* fix: tab animation when link * fix(tabs): what for router link changes * feat(data-table): add no-data slot * fix(counter/#4281): disable button in readonly VaCounter * fix(file-upload/#4282): add file incorrect i18n key * Fixed scoped class on modal (#4274) * Try to resolve $t from vue global properties (#4244) (#4256) * Try to resolve $t from vue global properties #4244 * fix(docs/i18n): move back vuestic key in example * docs(i18n): remove extra steps in vue-i18n --------- Co-authored-by: Maksim Nedoshev <[email protected]> * Let VaDateInput accept a null value (#4169) * Allow a user to have a null date input. Devs will have to handle validation as they normal would with other controlls. * Updated to use props.clearValue and merged develop back in * fix(date-input): allow null value --------- Co-authored-by: Maksim Nedoshev <[email protected]> * fix(i18n): use custom values when translating props * fix(data-table/story): fix correct no filter data story * Fixed code audit modal on mobile --------- Co-authored-by: Maksim Nedoshev <[email protected]> Co-authored-by: Bond-Addict <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Beside our custom config, let's try to resolve $t from getCurrentInstance() global properties.
If
$t
is preset, try to resolve key like vuestic:${key}.Add this feature to docs. This is much easier way to work with i18n.
In case if $t is not found, use the same approach we use rn.
The text was updated successfully, but these errors were encountered: