@@ -88,7 +88,7 @@ function updateObjectItem(index: number, value: Record<string, unknown>) {
8888 size =" 2xs"
8989 icon =" i-lucide-trash"
9090 class =" opacity-0 group-hover/item:opacity-100 transition-opacity"
91- aria-label =" Delete item "
91+ : aria-label =" $t('studio.form.deleteItem') "
9292 @click.stop =" deleteItem(item.index)"
9393 />
9494 </template >
@@ -136,15 +136,15 @@ function updateObjectItem(index: number, value: Record<string, unknown>) {
136136 size =" 2xs"
137137 :icon =" activeIndex === item.index ? 'i-lucide-check' : 'i-lucide-pencil'"
138138 :class =" { 'font-medium': activeIndex === item.index }"
139- aria-label =" Edit item "
139+ : aria-label =" $t('studio.form.editItem') "
140140 @click.stop =" activeIndex === item.index ? saveStringEditing : startStringEditing(item.index, item.value)"
141141 />
142142 <UButton
143143 variant =" ghost"
144144 color =" neutral"
145145 size =" 2xs"
146146 :icon =" activeIndex === item.index ? 'i-lucide-x' : 'i-lucide-trash'"
147- aria-label =" Delete item "
147+ : aria-label =" $t('studio.form.deleteItem') "
148148 @click.stop =" deleteItem(item.index)"
149149 />
150150 </div >
@@ -158,7 +158,7 @@ function updateObjectItem(index: number, value: Record<string, unknown>) {
158158 class =" flex items-center justify-center py-2 rounded-lg border border-dashed border-muted"
159159 >
160160 <p class =" text-xs text-muted" >
161- Array type {{ itemsType || '' }} not supported
161+ {{ $t('studio.form.array.unsupportedType', { type: itemsType || '' }) }}
162162 </p >
163163 </div >
164164
@@ -175,7 +175,7 @@ function updateObjectItem(index: number, value: Record<string, unknown>) {
175175 icon =" i-lucide-plus"
176176 @click =" addItem"
177177 >
178- Add {{ itemsLabel.toLowerCase() }}
178+ {{ $t('studio.form.array.addItem', { label: itemsLabel.toLowerCase() } ) }}
179179 </UButton >
180180 </div >
181181 </div >
0 commit comments