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
+3 -128
View File
@@ -6,8 +6,9 @@ const packing: TranslationStrings = {
'packing.import': 'Importa',
'packing.importTitle': "Importa una llista d'equipatge",
'packing.importHint':
'Un element per línia. Categoria i quantitat opcionals separades per coma, punt i coma o tabulació: Nom, Categoria, Quantitat',
'packing.importPlaceholder': 'Raspall de dents\nProtector solar, Higiene\nSamarretes, Roba, 5\nPassaport, Documents',
'Un element per línia. Format: Categoria, Nom, Pes en g (opcional), Bossa (opcional), checked/unchecked (opcional)',
'packing.importPlaceholder':
'Higiene, Raspall de dents\nRoba, Samarretes, 200\nDocuments, Passaport, , Equipatge de mà\nElectrònica, Carregador, 50, Maleta, checked',
'packing.importCsv': 'Carrega CSV/TXT',
'packing.importAction': 'Importa {count}',
'packing.importSuccess': '{count} elements importats',
@@ -16,9 +17,6 @@ const packing: TranslationStrings = {
'packing.progress': '{packed} de {total} preparats ({percent}%)',
'packing.clearChecked': 'Elimina {count} marcats',
'packing.clearCheckedShort': 'Elimina {count}',
'packing.suggestions': 'Suggeriments',
'packing.suggestionsTitle': 'Afegeix suggeriments',
'packing.allSuggested': 'Tots els suggeriments afegits',
'packing.allPacked': 'Tot preparat!',
'packing.addPlaceholder': 'Afegeix un element nou...',
'packing.categoryPlaceholder': 'Categoria...',
@@ -26,7 +24,6 @@ const packing: TranslationStrings = {
'packing.filterOpen': 'Pendents',
'packing.filterDone': 'Fet',
'packing.emptyTitle': "La llista d'equipatge és buida",
'packing.emptyHint': 'Afegeix elements o utilitza els suggeriments',
'packing.emptyFiltered': 'Cap element coincideix amb aquest filtre',
'packing.menuRename': 'Canvia el nom',
'packing.menuCheckAll': 'Marca-ho tot',
@@ -57,128 +54,6 @@ const packing: TranslationStrings = {
'packing.toast.deleteError': "No s'ha pogut eliminar",
'packing.toast.renameError': "No s'ha pogut canviar el nom",
'packing.toast.addError': "No s'ha pogut afegir",
'packing.suggestions.items': [
{
name: 'Passaport',
category: 'Documents',
},
{
name: "Document d'identitat",
category: 'Documents',
},
{
name: 'Assegurança de viatge',
category: 'Documents',
},
{
name: 'Bitllets de vol',
category: 'Documents',
},
{
name: 'Targeta de crèdit',
category: 'Finances',
},
{
name: 'Efectiu',
category: 'Finances',
},
{
name: 'Visat',
category: 'Documents',
},
{
name: 'Samarretes',
category: 'Roba',
},
{
name: 'Pantalons',
category: 'Roba',
},
{
name: 'Roba interior',
category: 'Roba',
},
{
name: 'Mitjons',
category: 'Roba',
},
{
name: 'Jaqueta',
category: 'Roba',
},
{
name: 'Pijama',
category: 'Roba',
},
{
name: 'Roba de bany',
category: 'Roba',
},
{
name: 'Impermeable',
category: 'Roba',
},
{
name: 'Sabates còmodes',
category: 'Roba',
},
{
name: 'Raspall de dents',
category: 'Higiene',
},
{
name: 'Pasta de dents',
category: 'Higiene',
},
{
name: 'Xampú',
category: 'Higiene',
},
{
name: 'Desodorant',
category: 'Higiene',
},
{
name: 'Protector solar',
category: 'Higiene',
},
{
name: "Màquina d'afaitar",
category: 'Higiene',
},
{
name: 'Carregador',
category: 'Electrònica',
},
{
name: 'Bateria externa',
category: 'Electrònica',
},
{
name: 'Auriculars',
category: 'Electrònica',
},
{
name: 'Adaptador de viatge',
category: 'Electrònica',
},
{
name: 'Càmera',
category: 'Electrònica',
},
{
name: 'Analgèsics',
category: 'Salut',
},
{
name: 'Tires',
category: 'Salut',
},
{
name: 'Desinfectant',
category: 'Salut',
},
],
'packing.makePrivate': 'Fer privat',
'packing.makePublic': 'Compartir amb el grup',
-1
View File
@@ -11,7 +11,6 @@ const reservations: TranslationStrings = {
'reservations.confirmed': 'Confirmada',
'reservations.pending': 'Pendent',
'reservations.summary': '{confirmed} confirmades, {pending} pendents',
'reservations.fromPlan': 'Del pla',
'reservations.showFiles': 'Mostra els fitxers',
'reservations.editTitle': 'Edita la reserva',
'reservations.status': 'Estat',