mirror of
https://github.com/whekin/household-bot.git
synced 2026-03-31 12:04:02 +00:00
fix(miniapp): translate chat topic role in settings
This commit is contained in:
@@ -203,6 +203,7 @@ export const dictionary = {
|
||||
topicBindingsTitle: 'Topic bindings',
|
||||
topicBindingsBody:
|
||||
'Review which Telegram topics are currently connected for purchases, feedback, reminders, and payments.',
|
||||
topicChat: 'Discussions',
|
||||
topicPurchase: 'Purchases',
|
||||
topicFeedback: 'Feedback',
|
||||
topicReminders: 'Reminders',
|
||||
@@ -549,6 +550,7 @@ export const dictionary = {
|
||||
topicBindingsTitle: 'Привязанные топики',
|
||||
topicBindingsBody:
|
||||
'Проверь, какие Telegram-топики сейчас подключены для покупок, обратной связи, напоминаний и оплат.',
|
||||
topicChat: 'Общение',
|
||||
topicPurchase: 'Покупки',
|
||||
topicFeedback: 'Обратная связь',
|
||||
topicReminders: 'Напоминания',
|
||||
|
||||
@@ -425,6 +425,7 @@ export default function SettingsRoute() {
|
||||
{(topic) => {
|
||||
const roleLabel = () => {
|
||||
const labels: Record<string, string> = {
|
||||
chat: copy().topicChat,
|
||||
purchase: copy().topicPurchase,
|
||||
feedback: copy().topicFeedback,
|
||||
reminders: copy().topicReminders,
|
||||
|
||||
Reference in New Issue
Block a user