mirror of
https://github.com/stoatchat/for-web.git
synced 2026-07-23 16:16:16 -04:00
[PR #353] [MERGED] refactor: use Lingui for i18n #611
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/stoatchat/for-web/pull/353
Author: @insertish
Created: 3/26/2025
Status: ✅ Merged
Merged: 3/31/2025
Merged by: @insertish
Base:
main← Head:izzy/refactor/i18n📝 Commits (10+)
f802380refactor: use Lingui for i18n (1/?)4d8cdb0refactor: use Lingui for i18n (2/2)c2762c7chore: clean up type errors7709755refactor: remove useQuantity in favour of Plural444364ffix: missing stringefdfe6efix: export setLanguage for now7efbf57chore: generate catalog1b16f3dfeat: ability to set 12/24-hour time738e965chore: hide other languages for now8e2a358refactor: switch to Deno for lifecycle scripts📊 Changes
153 files changed (+6338 additions, -1948 deletions)
View changed files
➕
doc/src/components/i18n/translating-errors.md(+11 -0)➕
doc/src/components/i18n/using-lingui.md(+31 -0)📝
doc/src/components/ui/tools/form2.md(+4 -5)➕
lifecycle/deno.json(+5 -0)➕
lifecycle/generateEmojiMapping.ts(+30 -0)📝
packages/client/components/app/interface/channels/text/DraftMessage.tsx(+8 -7)📝
packages/client/components/app/interface/channels/text/Message.tsx(+14 -16)📝
packages/client/components/app/interface/channels/text/Messages.tsx(+2 -1)📝
packages/client/components/app/interface/settings/_layout/Content.tsx(+1 -1)📝
packages/client/components/app/interface/settings/channel/Overview.tsx(+9 -7)📝
packages/client/components/app/interface/settings/channel/Webhooks.tsx(+3 -8)📝
packages/client/components/app/interface/settings/channel/index.tsx(+9 -11)📝
packages/client/components/app/interface/settings/server/Overview.tsx(+9 -9)📝
packages/client/components/app/interface/settings/server/index.tsx(+16 -22)📝
packages/client/components/app/interface/settings/user/Accessibility.tsx(+28 -25)📝
packages/client/components/app/interface/settings/user/Account.tsx(+46 -28)📝
packages/client/components/app/interface/settings/user/Appearance.tsx(+2 -2)📝
packages/client/components/app/interface/settings/user/Feedback.tsx(+18 -13)📝
packages/client/components/app/interface/settings/user/Keybinds.tsx(+22 -23)📝
packages/client/components/app/interface/settings/user/Language.tsx(+75 -69)...and 80 more files
📄 Description
it's time for one of these again
i found this library during my uni group project and the DX is fantastic
twith Lingui equivalents everywhereCloses https://github.com/revoltchat/frontend/issues/274
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.