diff options
author | 2023-11-16 16:20:42 +0800 | |
---|---|---|
committer | 2023-11-16 08:20:42 +0000 | |
commit | a1037cf8f12ce75a66033ced508774436faa3835 (patch) | |
tree | ce05f51e8fd480d6ecbd62eac1557c6e58306395 /src/components/FavoriteButton.vue | |
parent | 0fe9a2032982ce4de5b0b6570cbcff91b1514a49 (diff) | |
download | it-tools-a1037cf8f12ce75a66033ced508774436faa3835.tar.gz it-tools-a1037cf8f12ce75a66033ced508774436faa3835.tar.zst it-tools-a1037cf8f12ce75a66033ced508774436faa3835.zip |
feat(i18n): add tooltip and favoriteButton i18n (#756)
Diffstat (limited to 'src/components/FavoriteButton.vue')
-rw-r--r-- | src/components/FavoriteButton.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/FavoriteButton.vue b/src/components/FavoriteButton.vue index c3f0aaa..e43ed8a 100644 --- a/src/components/FavoriteButton.vue +++ b/src/components/FavoriteButton.vue @@ -24,7 +24,7 @@ function toggleFavorite(event: MouseEvent) { </script> <template> - <c-tooltip :tooltip="isFavorite ? 'Remove from favorites' : 'Add to favorites' "> + <c-tooltip :tooltip="isFavorite ? $t('favoriteButton.remove') : $t('favoriteButton.add') "> <c-button variant="text" circle |