Skip to content

Commit e0fcb28

Browse files
committed
🚑 Fix translations
1 parent 1a3805a commit e0fcb28

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

argilla-frontend/components/base/base-code/BaseCode.vue

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
<template>
2-
<base-action-tooltip class="button" :tooltip="$t('copied')">
2+
<base-action-tooltip class="button" :tooltip="t('copied')">
33
<a href="#" @click.prevent="copy(code)">
44
<svgicon name="copy" width="16" height="16" />
55
</a>
66
</base-action-tooltip>
77
</template>
88

99
<script>
10+
import { useTranslate } from "~/v1/infrastructure/services";
1011
import "assets/icons/copy";
12+
1113
export default {
1214
props: {
1315
code: {
@@ -20,6 +22,9 @@ export default {
2022
this.$copyToClipboard(code);
2123
},
2224
},
25+
setup() {
26+
return useTranslate();
27+
},
2328
};
2429
</script>
2530

argilla-frontend/translation/en.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ export default {
175175
suggestion: {
176176
agent: "\nagent: {agent}",
177177
score: "\nscore: {score}",
178-
tooltip: "This question contains a suggestion{agent}{score}",
178+
tooltip: "This question contains a suggestion {agent} {score}",
179179
filter: {
180180
value: "Suggestion values",
181181
score: "Score",

argilla-frontend/translation/es.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ export default {
136136
select_to_annotate: "Seleccionar todo",
137137
pageSize: "Tamaño de página",
138138
selectAllResults: "Selecciona todos los registros coincidentes {total}",
139-
haveSelectedRecords: "Has seleccionado todos los registros {Total}",
139+
haveSelectedRecords: "Has seleccionado todos los registros {total}",
140140
actionConfirmation: "Confirmación de acción en bloque",
141141
actionConfirmationText:
142142
"Esta acción afectará a {total} registros, ¿Quiere continuar?",
@@ -177,7 +177,7 @@ export default {
177177
suggestion: {
178178
agent: "\nagente: {agent}",
179179
score: "\npuntuación: {score}",
180-
tooltip: "Esta pregunta contiene una sugerencia {agente} {stork}",
180+
tooltip: "Esta pregunta contiene una sugerencia {agent} {score}",
181181
filter: {
182182
value: "Valores de sugerencia",
183183
score: "Puntuación",

0 commit comments

Comments
 (0)