Skip to content

Commit

Permalink
Merge pull request #920 from ReuschelCGN/translation
Browse files Browse the repository at this point in the history
additional german translations and in search
  • Loading branch information
TurtIeSocks authored Jan 17, 2024
2 parents 4cd4e25 + 6bdf4f3 commit bef5385
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 4 deletions.
35 changes: 32 additions & 3 deletions packages/locales/lib/human/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"min": "Min",
"max": "Max",
"set_size": "Symbolgröße einstellen",
"slot_selection": "Slot Auswahl",
"slot_selection": "Platz Auswahl",
"generations": "Generation",
"types": "Type",
"forms": "Form",
Expand Down Expand Up @@ -666,5 +666,34 @@
"profiling": "Profilbearbeitung",
"showcase_block": "Gesperrt wegen eines Showcase",
"signed_in_as": "eingeloggt als",
"missing_map_perm": "Du hast keine Berechtigung, die Karte anzuzeigen."
}
"missing_map_perm": "Du hast keine Berechtigung, die Karte anzuzeigen.",
"access_denied": "Zugriff verweigert",
"audio": "Audio",
"desktop_notifications": "Desktop-Benachrichtigungen",
"notifications_options": "Benachrichtigungsoptionen",
"audio_always_on": "Audio immer abspielen",
"volume_level": "Lautstärkepegel",
"notifications_status": "Benachrichtigungsstatus",
"granted": "gewährt",
"set_all": "alle wählen",
"set_filtered": "gefilterte wählen",
"only_show_available": "nur verfügbare anzeigen",
"easy_mode": "Easy Mode",
"quick_select": "Globale Schnellauswahl",
"pokemon_filter_mode": "Pokémon Filter Mode",
"basic": "Einfach",
"intermediate": "Fortgeschritten",
"expert": "Experte",
"basic_description": "Wähle einfach Pokémon aus und wende einen globalen Filter an",
"intermediate_description": "Lege individuelle Filter global und pro Pokémon fest (traditionell)",
"expert_description": "Manuelle Eingabeabfragen für größtmögliche Anpassungsfähigkeit",
"icon_size": "Icon Größe",
"developer": "Entwickler",
"raid_override": "Raid Override",
"search_rocket_pokemon": "Crypto Pokémon suchen",
"main": "Haupt",
"extra": "Extra",
"select": "Auswählen",
"searching": "suche...",
"no_options": "Keine Treffer..."
}
4 changes: 3 additions & 1 deletion packages/locales/lib/human/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -720,5 +720,7 @@
"search_rocket_pokemon": "Search Rocket Pokémon",
"main": "Main",
"extra": "Extra",
"select": "Select"
"select": "Select",
"searching": "searching...",
"no_options": "No Options..."
}
3 changes: 3 additions & 0 deletions src/components/layout/dialogs/Search.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -290,10 +290,13 @@ export default function Search() {
<Box width={{ xs: 'inherit', sm: 500 }}>
<Header titles="search" action={handleClose} />
<Autocomplete
freeSolo={search?.length ? false : true}
inputValue={search}
onInputChange={handleChange}
options={options.map((option, i) => ({ ...option, i }))}
loading={loading}
loadingText={t('searching')}
noOptionsText={t('no_options')}
autoComplete={false}
clearOnBlur={false}
ListboxProps={{
Expand Down

0 comments on commit bef5385

Please sign in to comment.