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.
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -15,5 +15,6 @@ export default {
|
||||
"remove": "إزالة",
|
||||
"products": "منتجات",
|
||||
"product": "منتج",
|
||||
"days": "أيام"
|
||||
"days": "أيام",
|
||||
"more": "المزيد"
|
||||
};
|
||||
|
||||
@@ -15,5 +15,6 @@ export default {
|
||||
"remove": "Премахни",
|
||||
"products": "Продукти",
|
||||
"product": "Продукт",
|
||||
"days": "Дни"
|
||||
"days": "Дни",
|
||||
"more": "още"
|
||||
};
|
||||
|
||||
@@ -15,5 +15,6 @@ export default {
|
||||
"remove": "Odebrat",
|
||||
"products": "Produkty",
|
||||
"product": "Produkt",
|
||||
"days": "Dny"
|
||||
"days": "Dny",
|
||||
"more": "více"
|
||||
};
|
||||
|
||||
@@ -15,5 +15,6 @@ export default {
|
||||
"remove": "Entfernen",
|
||||
"products": "Produkte",
|
||||
"product": "Produkt",
|
||||
"days": "Tage"
|
||||
"days": "Tage",
|
||||
"more": "mehr"
|
||||
};
|
||||
@@ -15,5 +15,6 @@ export default {
|
||||
"remove": "Αφαίρεση",
|
||||
"products": "Προϊόντα",
|
||||
"product": "Προϊόν",
|
||||
"days": "Ημέρες"
|
||||
"days": "Ημέρες",
|
||||
"more": "περισσότερα"
|
||||
};
|
||||
|
||||
@@ -15,5 +15,6 @@ export default {
|
||||
"remove": "Remove", // Entfernen
|
||||
"products": "Products", // Produkte
|
||||
"product": "Product", // Produkt
|
||||
"days": "Days" // Tage
|
||||
"days": "Days", // Tage
|
||||
"more": "more" // mehr
|
||||
};
|
||||
|
||||
@@ -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"
|
||||
};
|
||||
|
||||
@@ -15,5 +15,6 @@ export default {
|
||||
"remove": "Retirer",
|
||||
"products": "Produits",
|
||||
"product": "Produit",
|
||||
"days": "Jours"
|
||||
"days": "Jours",
|
||||
"more": "plus"
|
||||
};
|
||||
|
||||
@@ -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...",
|
||||
};
|
||||
|
||||
@@ -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"
|
||||
};
|
||||
|
||||
@@ -15,5 +15,6 @@ export default {
|
||||
"remove": "Eltávolítás",
|
||||
"products": "Termékek",
|
||||
"product": "Termék",
|
||||
"days": "Napok"
|
||||
"days": "Napok",
|
||||
"more": "több"
|
||||
};
|
||||
|
||||
@@ -15,5 +15,6 @@ export default {
|
||||
"remove": "Rimuovi",
|
||||
"products": "Prodotti",
|
||||
"product": "Prodotto",
|
||||
"days": "Giorni"
|
||||
"days": "Giorni",
|
||||
"more": "altro"
|
||||
};
|
||||
|
||||
@@ -15,5 +15,6 @@ export default {
|
||||
"remove": "Usuń",
|
||||
"products": "Produkty",
|
||||
"product": "Produkt",
|
||||
"days": "Dni"
|
||||
"days": "Dni",
|
||||
"more": "więcej"
|
||||
};
|
||||
|
||||
@@ -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"
|
||||
};
|
||||
|
||||
@@ -15,5 +15,6 @@ export default {
|
||||
"remove": "Удалить",
|
||||
"products": "Товары",
|
||||
"product": "Товар",
|
||||
"days": "Дни"
|
||||
"days": "Дни",
|
||||
"more": "ещё"
|
||||
};
|
||||
|
||||
@@ -15,5 +15,6 @@ export default {
|
||||
"remove": "Odstrániť",
|
||||
"products": "Produkty",
|
||||
"product": "Produkt",
|
||||
"days": "Dni"
|
||||
"days": "Dni",
|
||||
"more": "viac"
|
||||
};
|
||||
|
||||
@@ -15,5 +15,6 @@ export default {
|
||||
"remove": "Odstrani",
|
||||
"products": "Izdelki",
|
||||
"product": "Izdelek",
|
||||
"days": "Dnevi"
|
||||
"days": "Dnevi",
|
||||
"more": "več"
|
||||
};
|
||||
|
||||
@@ -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ë"
|
||||
};
|
||||
|
||||
@@ -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...",
|
||||
};
|
||||
|
||||
@@ -15,5 +15,6 @@ export default {
|
||||
"remove": "Ukloni",
|
||||
"products": "Proizvodi",
|
||||
"product": "Proizvod",
|
||||
"days": "Dani"
|
||||
"days": "Dani",
|
||||
"more": "više"
|
||||
};
|
||||
|
||||
@@ -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...",
|
||||
};
|
||||
|
||||
@@ -15,5 +15,6 @@ export default {
|
||||
"remove": "Ta bort",
|
||||
"products": "Produkter",
|
||||
"product": "Produkt",
|
||||
"days": "Dagar"
|
||||
"days": "Dagar",
|
||||
"more": "mer"
|
||||
};
|
||||
|
||||
@@ -15,5 +15,6 @@ export default {
|
||||
"remove": "Kaldır",
|
||||
"products": "Ürünler",
|
||||
"product": "Ürün",
|
||||
"days": "Günler"
|
||||
"days": "Günler",
|
||||
"more": "daha fazla"
|
||||
};
|
||||
|
||||
@@ -15,5 +15,6 @@ export default {
|
||||
"remove": "Видалити",
|
||||
"products": "Продукти",
|
||||
"product": "Продукт",
|
||||
"days": "Дні"
|
||||
"days": "Дні",
|
||||
"more": "більше"
|
||||
};
|
||||
|
||||
@@ -15,5 +15,6 @@ export default {
|
||||
"remove": "移除",
|
||||
"products": "产品",
|
||||
"product": "产品",
|
||||
"days": "天"
|
||||
"days": "天",
|
||||
"more": "更多"
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user