hensei-web/utils
Justin Edmund 3d67622353
Fix i18n migration to next-intl (#430)
## Summary
- Fixed translation key format compatibility with next-intl
- Fixed pluralization format from i18next to next-intl format
- Fixed dynamic translation key error handling
- Updated server components to match API response structure
- Fixed useSearchParams import location

## Changes
- Changed pluralization from `{{count}} items` to `{count} items` format
- Added proper error handling for missing translation keys
- Fixed import paths for next-intl hooks
- Fixed PartyPageClient trying to set non-existent appState.parties

## Test plan
- [x] Verified translations render correctly
- [x] Tested pluralization works with different counts
- [x] Confirmed no console errors about missing translations
- [x] Tested party page functionality

🤖 Generated with [Claude Code](https://claude.ai/code)

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-09-03 16:25:59 -07:00
..
accountState.tsx Implement rudimentary Bahamut Mode (#381) 2023-09-09 02:29:30 -07:00
api.tsx Fix saving characters (#427) 2025-02-25 10:53:45 -05:00
appState.tsx Hotfix: Providence key not in appState (#392) 2023-12-26 04:43:49 -08:00
capitalizeFirstLetter.tsx February 2023 Update (#158) 2023-02-04 23:46:24 -08:00
changeLanguage.tsx Fix i18n migration to next-intl (#430) 2025-09-03 16:25:59 -07:00
convertAdvancedFilters.tsx Break collection pages into hooks (#414) 2024-04-21 00:46:04 -07:00
defaultFilters.tsx Migrate to CSS modules (#335) (#336) 2023-07-04 00:43:49 -07:00
elementalizeAetherialMastery.tsx Bug fixes and content updates (#270) 2023-03-17 01:35:49 -07:00
elementEmoji.tsx February 2023 Update (#158) 2023-02-04 23:46:24 -08:00
elements.tsx July 2023 Feature Release: Rich text editor and support for tagging objects (#340) (#341) 2023-07-05 21:51:30 -07:00
emptyStates.tsx Deploy hotfix for World Series bug (#294) 2023-04-01 12:22:31 -07:00
enums.tsx Break collection pages into hooks (#414) 2024-04-21 00:46:04 -07:00
extractFilters.tsx June 2023 Update (#316) 2023-06-19 03:54:03 -07:00
fetchLatestVersion.tsx February 2023 Update (#158) 2023-02-04 23:46:24 -08:00
generateTitle.tsx February 2023 Update (#158) 2023-02-04 23:46:24 -08:00
getElementForParty.tsx February 2023 Update (#158) 2023-02-04 23:46:24 -08:00
groupWeaponKeys.tsx Logic updates for Draconic Weapons Providence (#389) 2023-12-26 03:21:39 -08:00
jobsWithAccessories.tsx February 2023 Update (#158) 2023-02-04 23:46:24 -08:00
localId.tsx Implement rudimentary Bahamut Mode (#381) 2023-09-09 02:29:30 -07:00
mapWeaponSeries.tsx February 2023 Update (#158) 2023-02-04 23:46:24 -08:00
mentionSuggestions.tsx Add support for including/excluding items from team filtering (#363) 2023-08-21 20:01:11 -07:00
parseElement.tsx Break collection pages into hooks (#414) 2024-04-21 00:46:04 -07:00
pictureData.tsx Add Lucilius profile picture for salem (#401) 2024-01-08 04:47:13 -08:00
reportError.tsx February 2023 Update (#158) 2023-02-04 23:46:24 -08:00
retrieveCookies.tsx Different approach to getting locale cookie 2023-01-03 23:19:13 -08:00
serverSideUtils.tsx Collection fixes (#416) 2024-04-22 23:57:49 -07:00
stateValues.tsx February 2023 Update (#158) 2023-02-04 23:46:24 -08:00
timeAgo.tsx Fix division by 0 2022-12-27 10:40:09 -08:00
userToken.tsx Add note to latest update (#400) 2024-01-08 04:32:30 -08:00
youtube.tsx I'm double dumb 2022-12-26 09:53:25 -08:00