feat(i18n): add tooltip and favoriteButton i18n (#756)

This commit is contained in:
lzb16 authored and GitHub committed 2023-11-16 08:20:42 +00:00
1 parent 0fe9a20329
commit a1037cf8f1
3 files changed
+8 -4

No files matched your search

+1 -1
View File
@@ -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