-
Notifications
You must be signed in to change notification settings - Fork 7
feat(localization): DLT-2461 refactor components #724
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
Merged
Julio Ortega (juliodialpad)
merged 52 commits into
i18n/base-branch
from
i18n/refactor-components
Apr 28, 2025
Merged
Changes from 41 commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
f8c05ad
setup localization
juliodialpad f30042c
update i18n version
juliodialpad 87c99b9
translate to dialpadistan
juliodialpad 65eed8e
test on attachment_carousel
juliodialpad c419f05
temporarily remove with type json
juliodialpad 2a7b3c9
remove from attachment_carousel
juliodialpad 81f283c
add more strings
juliodialpad 8b301f6
translate to dialpadistan
juliodialpad 33b1430
manually translate to spanish to test
juliodialpad fe0ccea
add spanish to allowed locales
juliodialpad e001527
test on popover
juliodialpad b222e3a
add with type json back
juliodialpad 0ae6508
Merge branch 'staging' into dlt-2452-setup-i18n
juliodialpad e986b4b
remove unneeded changes
juliodialpad cc5a7c4
add github @dialpad:registry config
juliodialpad bbfcc5d
add packages read permission
juliodialpad b16a230
fix deploy-preview
juliodialpad 249ac9a
try moving read packages to the right place
juliodialpad 15fb32f
update package version
juliodialpad 52d0404
update package versions
juliodialpad 78a5798
remove unneeded ts configs
juliodialpad 7a85e8f
remove packages read
juliodialpad d1e7d28
update actions
juliodialpad 5b8ad0d
add closeButtonProps back
juliodialpad d3c0ee0
merge close button props and localized aria-label and title
juliodialpad edb86b5
Merge branch 'staging' into i18n/refactor-components
juliodialpad ade1ab3
update pnpm-lock
juliodialpad 93f5113
Merge branch 'refs/heads/staging' into i18n/refactor-components
juliodialpad e3234f1
remove close button mixin and add localization mixin
juliodialpad ffa5908
migrate notice
juliodialpad 891b0ed
migrate banner
juliodialpad 1eb615c
migrate breadcrumbs.vue
juliodialpad d8ff42e
migrate button
juliodialpad 6ae68cd
migrate chip
juliodialpad b297e32
migrate combobox
juliodialpad db0271d
update localization
juliodialpad 0e30726
add localization to tests
juliodialpad 020765f
update versions
juliodialpad c97d7d2
migrate datepicker
juliodialpad e6c2565
Merge branch 'i18n/base-branch' into i18n/refactor-components
juliodialpad 61c5300
rollback undesired changes
juliodialpad 2aa52b2
fix label sizes
juliodialpad ba32e5c
fix notice tests
juliodialpad 66b8da3
fix notice_action tests
juliodialpad fc12c46
fix chip tests
juliodialpad 4402639
Merge branch 'i18n/base-branch' into i18n/refactor-components
juliodialpad 46f3362
fix checkbox tests
juliodialpad dd0f603
remove index
juliodialpad 83abf43
fix tests
juliodialpad ada790b
fix tests
juliodialpad b389270
Merge branch 'i18n/base-branch' into i18n/refactor-components
juliodialpad a844646
prefix fluent strings
juliodialpad File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| import { useI18N } from '@dialpad/i18n-vue2'; | ||
| const { $t, $ta, currentLocale, setI18N } = useI18N(); | ||
|
|
||
| export default { | ||
| methods: { | ||
| $t, | ||
| $ta, | ||
| setI18N, | ||
| }, | ||
| // | ||
| computed: { | ||
| currentLocale: () => currentLocale, | ||
| }, | ||
| }; |
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Separated banner from notice as they might have different props so it's easier to maintain them separately than overriding props here. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.