Compare commits

...

2 Commits

Author SHA1 Message Date
sebseb7
4f5a44dc7d feat(i18n): add 'more' translation key across multiple languages and enhance SearchBar
- Introduce a new 'more' translation key in various language files to improve internationalization support.
- Update SearchBar component to include an IconButton for additional actions, enhancing user interaction.
- Ensure consistency in language context by adding the 'more' key in Arabic, Bulgarian, Czech, German, Greek, English, Spanish, French, Croatian, Hungarian, Italian, Polish, Romanian, Russian, Slovak, Slovenian, Albanian, Serbian, Swedish, Turkish, Ukrainian, and Chinese.
2025-11-16 07:58:08 +01:00
sebseb7
bf2e5f56ce fix(i18n): update SearchBar placeholder for translation support
- Change SearchBar placeholder text to utilize translation function for improved internationalization.
- Ensure consistency in language context across the application by integrating translation keys.
2025-11-16 07:44:39 +01:00
26 changed files with 71 additions and 30 deletions

View File

@@ -244,7 +244,7 @@ const SearchBar = () => {
>
<TextField
ref={inputRef}
placeholder="Produkte suchen..."
placeholder={t('search.searchProducts')}
variant="outlined"
size="small"
fullWidth
@@ -353,6 +353,25 @@ const SearchBar = () => {
</ListItem>
))}
</List>
<Box sx={{ p: 1, borderTop: 1, borderColor: 'divider' }}>
<IconButton
fullWidth
onClick={handleEnterClick}
sx={{
justifyContent: 'center',
py: 1,
color: 'primary.main',
'&:hover': {
backgroundColor: 'action.hover',
},
}}
>
<Typography variant="body2" sx={{ mr: 1 }}>
{t('common.more')}
</Typography>
<KeyboardReturnIcon fontSize="small" />
</IconButton>
</Box>
</Paper>
)}
</Box>

View File

@@ -15,5 +15,6 @@ export default {
"remove": "إزالة",
"products": "منتجات",
"product": "منتج",
"days": "أيام"
"days": "أيام",
"more": "المزيد"
};

View File

@@ -15,5 +15,6 @@ export default {
"remove": "Премахни",
"products": "Продукти",
"product": "Продукт",
"days": "Дни"
"days": "Дни",
"more": "още"
};

View File

@@ -15,5 +15,6 @@ export default {
"remove": "Odebrat",
"products": "Produkty",
"product": "Produkt",
"days": "Dny"
"days": "Dny",
"more": "více"
};

View File

@@ -15,5 +15,6 @@ export default {
"remove": "Entfernen",
"products": "Produkte",
"product": "Produkt",
"days": "Tage"
"days": "Tage",
"more": "mehr"
};

View File

@@ -15,5 +15,6 @@ export default {
"remove": "Αφαίρεση",
"products": "Προϊόντα",
"product": "Προϊόν",
"days": "Ημέρες"
"days": "Ημέρες",
"more": "περισσότερα"
};

View File

@@ -15,5 +15,6 @@ export default {
"remove": "Remove", // Entfernen
"products": "Products", // Produkte
"product": "Product", // Produkt
"days": "Days" // Tage
"days": "Days", // Tage
"more": "more" // mehr
};

View File

@@ -11,9 +11,10 @@ export default {
"back": "Atrás",
"edit": "Editar",
"delete": "Eliminar",
"add": "Agregar",
"add": "Añadir",
"remove": "Quitar",
"products": "Productos",
"product": "Producto",
"days": "Días"
"days": "Días",
"more": "más"
};

View File

@@ -15,5 +15,6 @@ export default {
"remove": "Retirer",
"products": "Produits",
"product": "Produit",
"days": "Jours"
"days": "Jours",
"more": "plus"
};

View File

@@ -1,5 +1,5 @@
export default {
"placeholder": "Vous pouvez me demander des informations sur les variétés de cannabis...",
"placeholder": "Vous pouvez me demander des variétés de cannabis...",
"recording": "Enregistrement en cours...",
"searchProducts": "Rechercher des produits...",
};

View File

@@ -7,7 +7,7 @@ export default {
"ok": "OK",
"yes": "Da",
"no": "Ne",
"next": "Sljedeće",
"next": "Dalje",
"back": "Natrag",
"edit": "Uredi",
"delete": "Izbriši",
@@ -15,5 +15,6 @@ export default {
"remove": "Ukloni",
"products": "Proizvodi",
"product": "Proizvod",
"days": "Dani"
"days": "Dani",
"more": "više"
};

View File

@@ -15,5 +15,6 @@ export default {
"remove": "Eltávolítás",
"products": "Termékek",
"product": "Termék",
"days": "Napok"
"days": "Napok",
"more": "több"
};

View File

@@ -15,5 +15,6 @@ export default {
"remove": "Rimuovi",
"products": "Prodotti",
"product": "Prodotto",
"days": "Giorni"
"days": "Giorni",
"more": "altro"
};

View File

@@ -15,5 +15,6 @@ export default {
"remove": "Usuń",
"products": "Produkty",
"product": "Produkt",
"days": "Dni"
"days": "Dni",
"more": "więcej"
};

View File

@@ -7,7 +7,7 @@ export default {
"ok": "OK",
"yes": "Da",
"no": "Nu",
"next": "Următorul",
"next": "Următor",
"back": "Înapoi",
"edit": "Editează",
"delete": "Șterge",
@@ -15,5 +15,6 @@ export default {
"remove": "Elimină",
"products": "Produse",
"product": "Produs",
"days": "Zile"
"days": "Zile",
"more": "mai mult"
};

View File

@@ -15,5 +15,6 @@ export default {
"remove": "Удалить",
"products": "Товары",
"product": "Товар",
"days": "Дни"
"days": "Дни",
"more": "ещё"
};

View File

@@ -15,5 +15,6 @@ export default {
"remove": "Odstrániť",
"products": "Produkty",
"product": "Produkt",
"days": "Dni"
"days": "Dni",
"more": "viac"
};

View File

@@ -15,5 +15,6 @@ export default {
"remove": "Odstrani",
"products": "Izdelki",
"product": "Izdelek",
"days": "Dnevi"
"days": "Dnevi",
"more": "več"
};

View File

@@ -13,7 +13,8 @@ export default {
"delete": "Fshi",
"add": "Shto",
"remove": "Hiq",
"products": "Produktet",
"products": "Produkte",
"product": "Produkt",
"days": "Ditë"
"days": "Ditë",
"more": "më shumë"
};

View File

@@ -1,5 +1,5 @@
export default {
"placeholder": "Mund të më pyesni për llojet e kanabisit...",
"recording": "Regjistrimi në proces...",
"recording": "Regjistrimi në vazhdim...",
"searchProducts": "Kërko produkte...",
};

View File

@@ -15,5 +15,6 @@ export default {
"remove": "Ukloni",
"products": "Proizvodi",
"product": "Proizvod",
"days": "Dani"
"days": "Dani",
"more": "više"
};

View File

@@ -1,5 +1,5 @@
export default {
"placeholder": "Možete me pitati o vrstama kanabisa...",
"placeholder": "Možete me pitati o sortama kanabisa...",
"recording": "Snimanje u toku...",
"searchProducts": "Pretraži proizvode...",
};

View File

@@ -15,5 +15,6 @@ export default {
"remove": "Ta bort",
"products": "Produkter",
"product": "Produkt",
"days": "Dagar"
"days": "Dagar",
"more": "mer"
};

View File

@@ -15,5 +15,6 @@ export default {
"remove": "Kaldır",
"products": "Ürünler",
"product": "Ürün",
"days": "Günler"
"days": "Günler",
"more": "daha fazla"
};

View File

@@ -15,5 +15,6 @@ export default {
"remove": "Видалити",
"products": "Продукти",
"product": "Продукт",
"days": "Дні"
"days": "Дні",
"more": "більше"
};

View File

@@ -15,5 +15,6 @@ export default {
"remove": "移除",
"products": "产品",
"product": "产品",
"days": "天"
"days": "天",
"more": "更多"
};