chore(i18n): drop the catalogue entries nothing renders

reservations.fromPlan, packing.suggestions, packing.suggestionsTitle,
packing.allSuggested, packing.emptyHint and the packing.suggestions.items
array are referenced by no component; the suggestions block left the
packing list in #14 and the keys stayed behind in all 23 languages. The
VORSCHLAEGE constant beside them was exported and imported nowhere.

With the one structured entry gone, a catalogue value is a string and
nothing else, so TranslationValue says so and the placeholder spec no
longer needs to skip what is not one.
This commit is contained in:
Maurice
2026-09-22 15:36:57 +02:00
parent 0f28c929be
commit b7dcb58a6b
49 changed files with 30 additions and 2798 deletions
-126
View File
@@ -25,9 +25,6 @@ const packing: TranslationStrings = {
'packing.progress': '{packed} de {total} na mala ({percent}%)',
'packing.clearChecked': 'Remover {count} marcado(s)',
'packing.clearCheckedShort': 'Remover {count}',
'packing.suggestions': 'Sugestões',
'packing.suggestionsTitle': 'Adicionar sugestões',
'packing.allSuggested': 'Todas as sugestões adicionadas',
'packing.allPacked': 'Tudo na mala!',
'packing.addPlaceholder': 'Adicionar item...',
'packing.categoryPlaceholder': 'Lista...',
@@ -38,7 +35,6 @@ const packing: TranslationStrings = {
'packing.filterOpen': 'Abertos',
'packing.filterDone': 'Prontos',
'packing.emptyTitle': 'A lista de mala está vazia',
'packing.emptyHint': 'Adicione itens ou use as sugestões',
'packing.emptyFiltered': 'Nenhum item corresponde ao filtro',
'packing.menuRename': 'Renomear',
'packing.menuCheckAll': 'Marcar todos',
@@ -67,128 +63,6 @@ const packing: TranslationStrings = {
'packing.toast.deleteError': 'Falha ao excluir',
'packing.toast.renameError': 'Falha ao renomear',
'packing.toast.addError': 'Falha ao adicionar',
'packing.suggestions.items': [
{
name: 'Passaporte',
category: 'Documentos',
},
{
name: 'Documento de identidade',
category: 'Documentos',
},
{
name: 'Seguro viagem',
category: 'Documentos',
},
{
name: 'Passagens aéreas',
category: 'Documentos',
},
{
name: 'Cartão de crédito',
category: 'Finanças',
},
{
name: 'Dinheiro',
category: 'Finanças',
},
{
name: 'Visto',
category: 'Documentos',
},
{
name: 'Camisetas',
category: 'Roupas',
},
{
name: 'Calças',
category: 'Roupas',
},
{
name: 'Roupa íntima',
category: 'Roupas',
},
{
name: 'Meias',
category: 'Roupas',
},
{
name: 'Jaqueta',
category: 'Roupas',
},
{
name: 'Pijama',
category: 'Roupas',
},
{
name: 'Traje de banho',
category: 'Roupas',
},
{
name: 'Capa de chuva',
category: 'Roupas',
},
{
name: 'Sapatos confortáveis',
category: 'Roupas',
},
{
name: 'Escova de dentes',
category: 'Higiene',
},
{
name: 'Creme dental',
category: 'Higiene',
},
{
name: 'Shampoo',
category: 'Higiene',
},
{
name: 'Desodorante',
category: 'Higiene',
},
{
name: 'Protetor solar',
category: 'Higiene',
},
{
name: 'Aparelho de barbear',
category: 'Higiene',
},
{
name: 'Carregador',
category: 'Eletrônicos',
},
{
name: 'Power bank',
category: 'Eletrônicos',
},
{
name: 'Fones de ouvido',
category: 'Eletrônicos',
},
{
name: 'Adaptador de viagem',
category: 'Eletrônicos',
},
{
name: 'Câmera',
category: 'Eletrônicos',
},
{
name: 'Medicamento para dor',
category: 'Saúde',
},
{
name: 'Curativos',
category: 'Saúde',
},
{
name: 'Desinfetante',
category: 'Saúde',
},
],
'packing.makePrivate': 'Tornar privado',
'packing.makePublic': 'Compartilhar',
'packing.privateHint': 'Privado — visível apenas para você',
-1
View File
@@ -10,7 +10,6 @@ const reservations: TranslationStrings = {
'reservations.confirmed': 'Confirmada',
'reservations.pending': 'Pendente',
'reservations.summary': '{confirmed} confirmada(s), {pending} pendente(s)',
'reservations.fromPlan': 'Do plano',
'reservations.showFiles': 'Mostrar arquivos',
'reservations.editTitle': 'Editar reserva',
'reservations.status': 'Status',