A bit more translation strings.

This commit is contained in:
mateuswetah 2022-05-26 17:49:10 -03:00
parent 6b0cdd01d7
commit 726bd536f9
3 changed files with 8 additions and 4 deletions

View File

@ -1,7 +1,7 @@
<template>
<ion-item class="collection-list-item" v-for="collection of collections" :key="collection.id" :router-link="`/collections/${collection.id}`">
<ion-thumbnail slot="start">
<ion-img :src="(collection.thumbnail && collection.thumbnail.thumbnail && collection.thumbnail.thumbnail[0]) ? collection.thumbnail.thumbnail[0] : thumbnailPlaceholder" :alt="collection.name ? collection.name : 'Imagem de coleção sem nome'"></ion-img>
<ion-img :src="(collection.thumbnail && collection.thumbnail.thumbnail && collection.thumbnail.thumbnail[0]) ? collection.thumbnail.thumbnail[0] : thumbnailPlaceholder" :alt="collection.name ? collection.name : $('label_collection_without_name')"></ion-img>
</ion-thumbnail>
<ion-label> {{ collection.name ? collection.name : 'Coleção sem nome' }} </ion-label>
</ion-item>

View File

@ -4,7 +4,7 @@
<ion-card button color="light" >
<ion-img :src="(item.thumbnail && item.thumbnail['tainacan-medium'] && item.thumbnail['tainacan-medium'][0]) ? item.thumbnail['tainacan-medium'][0] : thumbnailPlaceholder" :alt="item.title ? item.title : 'Imagem de item sem título'"></ion-img>
<ion-card-header>
<ion-card-title v-if="item.title"> {{ item.title ? item.title : 'Item sem título' }} </ion-card-title>
<ion-card-title> {{ item.title ? item.title : $('label_item_without_title') }} </ion-card-title>
</ion-card-header>
</ion-card>
</ion-col>

View File

@ -14,7 +14,9 @@ export const translationStrings = {
placeholder_user_name: 'your user name',
label_user_password: 'User password',
placeholder_user_password: 'your password here',
label_access_archive: 'Access archive'
label_access_archive: 'Access archive',
label_item_without_title: 'Item without title',
label_collection_without_name: 'Collection without name'
},
pt: {
collections: "Coleções",
@ -31,6 +33,8 @@ export const translationStrings = {
placeholder_user_name: 'seu nome de usuário aqui',
label_user_password: 'Senha do usuário',
placeholder_user_password: 'sua senha de usuário aqui',
label_access_archive: 'Acessar acervo'
label_access_archive: 'Acessar acervo',
label_item_without_title: 'Item sem título',
label_collection_without_name: 'Coleção sem nome'
}
}