Commit graph

588 commits

Author SHA1 Message Date
b57e81ddf4
Merge pull request #24 from jedmund/i18n
Add internationalization support
2022-03-06 02:16:01 -08:00
42ac5d7dc1 Lazily fixing build errors 2022-03-06 02:15:36 -08:00
745f9b6c47 Update WeaponLabelIndicator and icons 2022-03-06 02:10:46 -08:00
4ed07f83a2 They really call it Additional Weapons in Japanese too huh 2022-03-05 16:30:52 -08:00
c3186b2899 Add localizations for SearchModal 2022-03-05 14:50:56 -08:00
82a1231b04 Add missing translations to WeaponHovercard 2022-03-05 14:35:44 -08:00
dfd2bbff19 Localize WeaponModal and AxSelect 2022-03-05 14:30:34 -08:00
5a184ed8aa Localized saved teams 2022-03-05 14:01:57 -08:00
75f77ced20 Switch locale when logging in 2022-03-05 13:54:46 -08:00
a109a85232 Send locale when creating a user 2022-03-05 13:54:23 -08:00
9e3ab298e8 Profile wasn't properly localizing 2022-03-05 13:54:14 -08:00
497c309bd1 Get logged in language switching working 2022-03-05 13:32:03 -08:00
d79a13dc8a Localized signup and login 2022-03-05 13:24:39 -08:00
269152ee58 Actually fix tag 2022-03-05 10:55:28 -08:00
e902cdc1f5 Fix HeaderMenu Coming Soon tag 2022-03-05 10:55:09 -08:00
3222d5752e Reorder HeaderMenu unauth items 2022-03-05 10:54:37 -08:00
14c6b5e2da Fixed implementation of unauth language switcher
Now we can go implement it for auth
2022-03-05 10:46:52 -08:00
8d9b68906c Update next-i18next.config.js 2022-03-05 02:29:50 -08:00
92d9797c0d Don't show hearts on GridReps if user is logged out 2022-03-05 02:29:36 -08:00
c626038f64 Rudimentary unauth language switch
I can't figure out how to make the current page persist when switching.

Next.js adds a /ja prefix to the path and when switching to Japanese, but it doesn't remove it when switching back to English. This documentation sucks!
2022-03-05 02:29:14 -08:00
6f843bbb6f Update incorrect key for en localization 2022-03-05 01:18:17 -08:00
758ea1be32 Remove language from accountState 2022-03-05 01:18:08 -08:00
110cc0c769 Localize filter bar and dropdowns 2022-03-04 19:51:43 -08:00
d0323861db Localize and modernize search result components 2022-03-04 19:20:06 -08:00
159110a807 Add translations for SummonGrid 2022-03-04 19:11:17 -08:00
70fb1e63b9 Add translations for hovercards 2022-03-04 19:05:17 -08:00
f62a4a5637 Update index.tsx 2022-03-04 18:46:44 -08:00
34bd98856a Add locale to object unit components 2022-03-04 18:46:32 -08:00
9ec157359b Change key name and add string query 2022-03-04 18:42:24 -08:00
b91d84028f Add localization for header menus/some modals 2022-03-04 18:42:06 -08:00
5ea57f0e07 Rename canonical types to use "ja" instead of "jp" 2022-03-04 18:22:00 -08:00
d16565332e Localize PartySegmentedControl 2022-03-04 17:56:46 -08:00
703c9f4d49 Localize headers 2022-03-04 17:56:37 -08:00
62edc6ca5c Add appWithTranslation HOC to pages 2022-03-04 17:56:17 -08:00
80089843a3 Install and setup i18n packages 2022-03-04 17:55:51 -08:00
16c9446eb5 Fix title for untitled auth parties 2022-03-04 16:03:15 -08:00
f2e281938a Add magna summons to list of upgraded art summons 2022-03-04 15:55:19 -08:00
cd53394a7f Fix meta tags 2022-03-04 14:57:21 -08:00
8f8138950c Remove logs 2022-03-04 09:34:30 -08:00
0f0c99e8bf Fix issues with storing access token after signup 2022-03-04 09:09:52 -08:00
98f93406b7 Update SignupModal to be in line with LoginModal updates 2022-03-04 08:36:07 -08:00
4ab41fcc08 Hotfix signup and login buttons 2022-03-04 08:25:58 -08:00
9715b165e5 Escape characters properly 2022-03-04 08:05:18 -08:00
d6695d195c Added og tags 2022-03-04 07:55:36 -08:00
1da152cbcc Fix title for new teams 2022-03-04 07:31:02 -08:00
d704987cce Fix Tien's name 2022-03-04 07:15:08 -08:00
2b7c95419d FilterBar h1 color tweak 2022-03-04 07:11:42 -08:00
ea69c352d5 Fix Cassius' file name 2022-03-04 07:08:55 -08:00
e078e9baed Set cookies and state after changing user settings 2022-03-04 07:02:20 -08:00
a8f9610ec8 Actually fixing that bug this time 2022-03-04 06:52:10 -08:00