fix(miniapp): translate chat topic role in settings

This commit is contained in:
2026-03-15 03:08:59 +04:00
parent 07c5ffb82d
commit 25018a3c33
2 changed files with 3 additions and 0 deletions

View File

@@ -203,6 +203,7 @@ export const dictionary = {
topicBindingsTitle: 'Topic bindings', topicBindingsTitle: 'Topic bindings',
topicBindingsBody: topicBindingsBody:
'Review which Telegram topics are currently connected for purchases, feedback, reminders, and payments.', 'Review which Telegram topics are currently connected for purchases, feedback, reminders, and payments.',
topicChat: 'Discussions',
topicPurchase: 'Purchases', topicPurchase: 'Purchases',
topicFeedback: 'Feedback', topicFeedback: 'Feedback',
topicReminders: 'Reminders', topicReminders: 'Reminders',
@@ -549,6 +550,7 @@ export const dictionary = {
topicBindingsTitle: 'Привязанные топики', topicBindingsTitle: 'Привязанные топики',
topicBindingsBody: topicBindingsBody:
'Проверь, какие Telegram-топики сейчас подключены для покупок, обратной связи, напоминаний и оплат.', 'Проверь, какие Telegram-топики сейчас подключены для покупок, обратной связи, напоминаний и оплат.',
topicChat: 'Общение',
topicPurchase: 'Покупки', topicPurchase: 'Покупки',
topicFeedback: 'Обратная связь', topicFeedback: 'Обратная связь',
topicReminders: 'Напоминания', topicReminders: 'Напоминания',

View File

@@ -425,6 +425,7 @@ export default function SettingsRoute() {
{(topic) => { {(topic) => {
const roleLabel = () => { const roleLabel = () => {
const labels: Record<string, string> = { const labels: Record<string, string> = {
chat: copy().topicChat,
purchase: copy().topicPurchase, purchase: copy().topicPurchase,
feedback: copy().topicFeedback, feedback: copy().topicFeedback,
reminders: copy().topicReminders, reminders: copy().topicReminders,