Add a small curated catalog of Iberian horticultural species and let a variety be linked to it from the edit sheet. - assets/catalog/species.json: 14 species with botanical family and ES/EN common names (wikidata_qid/gbif_key deferred to the varilla enrichment). - SpeciesRepository: idempotent seedBundled (is_bundled rows, keyed by scientific name) + search by scientific/common name with a locale-best label. Seeded on startup from DI. - VarietyRepository.linkSpecies: sets species_id and prefills category from the species' family when empty (never overwrites an existing category). VarietyDetail now carries the scientific name. - Edit sheet gains a live species-search field; the detail view shows the scientific name (italic). i18n strings added (ES/EN). Tests: catalog parse, idempotent seeding, search by scientific/common name, linkSpecies prefill semantics, and a widget test for the autocomplete → link → scientific-name-shown flow. Full suite: 32 passing, 0 skipped.
71 lines
1.7 KiB
JSON
71 lines
1.7 KiB
JSON
{
|
|
"app": {
|
|
"title": "Tanemaki"
|
|
},
|
|
"common": {
|
|
"save": "Guardar",
|
|
"cancel": "Cancelar",
|
|
"delete": "Eliminar",
|
|
"edit": "Editar"
|
|
},
|
|
"inventory": {
|
|
"title": "Inventario",
|
|
"searchHint": "Buscar semillas",
|
|
"empty": "Aún no hay semillas. Toca + para añadir la primera.",
|
|
"uncategorized": "Sin categoría"
|
|
},
|
|
"quickAdd": {
|
|
"title": "Añadir una semilla",
|
|
"labelField": "Nombre",
|
|
"labelRequired": "Ponle un nombre",
|
|
"addPhoto": "Añadir foto",
|
|
"quantity": "¿Cuánta?",
|
|
"more": "Añadir más…",
|
|
"save": "Guardar",
|
|
"cancel": "Cancelar"
|
|
},
|
|
"detail": {
|
|
"notFound": "Esta semilla ya no está aquí.",
|
|
"lots": "Lotes",
|
|
"noLots": "Aún no hay lotes.",
|
|
"names": "También conocida como",
|
|
"notes": "Notas",
|
|
"addLot": "Añadir lote",
|
|
"deleteConfirm": "¿Eliminar esta semilla?",
|
|
"year": "Año {year}",
|
|
"noYear": "Año desconocido"
|
|
},
|
|
"editVariety": {
|
|
"title": "Editar semilla",
|
|
"name": "Nombre",
|
|
"category": "Categoría",
|
|
"notes": "Notas",
|
|
"species": "Especie (del catálogo)",
|
|
"speciesHint": "Buscar una especie…"
|
|
},
|
|
"addLot": {
|
|
"title": "Añadir lote",
|
|
"year": "Año de cosecha",
|
|
"quantity": "Cantidad"
|
|
},
|
|
"quantityKind": {
|
|
"aFew": "unas pocas",
|
|
"some": "algunas",
|
|
"plenty": "muchas",
|
|
"handful": "un puñado",
|
|
"pinch": "una pizca",
|
|
"jar": "un tarro",
|
|
"packet": "un sobre",
|
|
"cob": "una mazorca",
|
|
"head": "una cabezuela",
|
|
"pod": "una vaina",
|
|
"ear": "una espiga",
|
|
"fruit": "un fruto",
|
|
"bulb": "un bulbo",
|
|
"tuber": "un tubérculo",
|
|
"seedHead": "una cabeza de semillas",
|
|
"bunch": "un manojo",
|
|
"grams": "gramos",
|
|
"count": "unidades"
|
|
}
|
|
}
|