File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed
components/base/base-code Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 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" ;
1011import " assets/icons/copy" ;
12+
1113export 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
Original file line number Diff line number Diff 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" ,
Original file line number Diff line number Diff 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" ,
You can’t perform that action at this time.
0 commit comments