mirror of
https://github.com/umami-software/umami.git
synced 2026-02-16 18:45:36 +01:00
Simplify i18n: remove old react-intl artifacts, rename formatMessage to t, replace FormattedMessage with t.rich().
- Rewrite messages.ts to plain string key maps (remove MessageDescriptor) - Rewrite useMessages hook to expose t from useTranslations() directly - Rename formatMessage → t across 193 consumer files - Replace custom FormattedMessage component with next-intl t.rich() - Update 52 language files to use rich text tags (<b>, <a>) - Remove all direct imports from @/components/messages in favor of useMessages() Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
80cad6ea65
commit
50edb71687
247 changed files with 1660 additions and 2194 deletions
|
|
@ -243,13 +243,13 @@
|
|||
"active-users": "{x} joriy {x, plural, one {tashrif buyuruvchi} other {tashrif buyuruvchilar}}",
|
||||
"collected-data": "Yigʻilgan ma'lumotlar",
|
||||
"confirm-delete": "**{target}** ni oʻchirmoqchi ekanligingizga ishonchingiz komilmi?",
|
||||
"confirm-leave": "**{target}** ni tark etmoqchi ekanligingizga ishonchingiz komilmi?",
|
||||
"confirm-remove": "**{target}** ni olib tashlamoqchi ekanligingizga ishonchingiz komilmi?",
|
||||
"confirm-leave": "**<b>{target}</b>** ni tark etmoqchi ekanligingizga ishonchingiz komilmi?",
|
||||
"confirm-remove": "**<b>{target}</b>** ni olib tashlamoqchi ekanligingizga ishonchingiz komilmi?",
|
||||
"confirm-reset": "**{target}** ni qayta tiklamoqchi ekanligingizga ishonchingiz komilmi?",
|
||||
"delete-team-warning": "Jamoani oʻchirish, shuningdek, barcha jamoa veb-saytlarini ham oʻchiradi.",
|
||||
"delete-website-warning": "Barcha veb-sayt ma'lumotlari oʻchiriladi.",
|
||||
"error": "Nimadir xato ketdi.",
|
||||
"event-log": "**{url}** da **{event}** hodisasi",
|
||||
"event-log": "**<a>{url}</a>** da **<b>{event}</b>** hodisasi",
|
||||
"go-to-settings": "Sozlamalarga oʻtish",
|
||||
"incorrect-username-password": "Notoʻgʻri foydalanuvchi nomi va/yoki parol.",
|
||||
"invalid-domain": "Notoʻgʻri domen. http/https qoʻshmang.",
|
||||
|
|
@ -278,7 +278,7 @@
|
|||
"triggered-event": "Hodisa ishga tushirildi",
|
||||
"user-deleted": "Foydalanuvchi oʻchirildi.",
|
||||
"viewed-page": "Sahifa koʻrildi",
|
||||
"visitor-log": "{os} {device} da {browser} dan foydalanayotgan {country} dan tashrif buyuruvchi",
|
||||
"visitor-log": "<b>{os}</b> <b>{device}</b> da <b>{browser}</b> dan foydalanayotgan <b>{country}</b> dan tashrif buyuruvchi",
|
||||
"visitors-dropped-off": "Tashrif buyuruvchilar tashlab ketishdi"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue