mirror of
https://github.com/whekin/household-bot.git
synced 2026-03-31 22:54: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',
|
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: 'Напоминания',
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user