fix: add rtl compliance for symbols #366 (#406)

This commit is contained in:
Meier Lukas
2024-05-01 12:05:09 +02:00
committed by GitHub
parent efaf721b5a
commit 0278e3a854
5 changed files with 18 additions and 6 deletions

View File

@@ -100,7 +100,10 @@ export const Spotlight = () => {
store={spotlightStore}
>
<MantineSpotlight.Search
placeholder={t("common.search.placeholder")}
placeholder={t("common.rtl", {
value: t("common.search.placeholder"),
symbol: "...",
})}
leftSection={<IconSearch stroke={1.5} />}
/>

View File

@@ -144,6 +144,7 @@ export default {
},
},
common: {
rtl: "{value}{symbol}",
action: {
backToOverview: "Zurück zur Übersicht",
create: "Erstellen",
@@ -157,7 +158,7 @@ export default {
},
noResults: "Keine Ergebnisse gefunden",
search: {
placeholder: "Suche nach etwas...",
placeholder: "Suche nach etwas",
nothingFound: "Nichts gefunden",
},
},

View File

@@ -337,6 +337,7 @@ export default {
},
},
common: {
rtl: "{value}{symbol}",
action: {
add: "Add",
apply: "Apply",
@@ -383,7 +384,7 @@ export default {
},
},
search: {
placeholder: "Search for anything...",
placeholder: "Search for anything",
nothingFound: "Nothing found",
group: {
all: "All",