Skip to content

Commit

Permalink
fix: state bug & consolidate translations
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtIeSocks committed Jan 3, 2024
1 parent 58d1ece commit d6e6a79
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions packages/locales/lib/human/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@
"all_gyms": "All Gyms",
"general": "General",
"server_dev_error_0": "{{variable_0}}",
"link_global_and_advanced": "Link Global & Advanced",
"link_global_and_advanced": "Global Respects Selected",
"normal_forms": "Normal Forms",
"weather_indicator": "Weather Boost Indicator",
"page": "Page {{page}}",
Expand Down Expand Up @@ -702,7 +702,6 @@
"volume_level": "Volume Level",
"notifications_status": "Notifications Status",
"granted": "granted",
"global_respects_selected": "Global Respects Selected",
"set_all": "Set All",
"set_filtered": "Set Filtered",
"only_show_available": "Only Show Available",
Expand Down
2 changes: 1 addition & 1 deletion src/components/layout/dialogs/UserOptions.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export default function UserOptions() {

React.useEffect(() => {
setLocalState(userSettings[category])
}, [category])
}, [category, userSettings[category]])

return (
<DialogWrapper
Expand Down
2 changes: 1 addition & 1 deletion src/components/layout/drawer/Pokemon.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ export default function WithSliders({ category, context }) {
<Collapse in={!filters.pokemon.easyMode}>
<BoolToggle
field="userSettings.pokemon.linkGlobalAndAdvanced"
label="global_respects_selected"
label="link_global_and_advanced"
/>
</Collapse>
{userSettings[category].legacyFilter && context.legacy ? (
Expand Down

0 comments on commit d6e6a79

Please sign in to comment.