feat: localize IM settings

This commit is contained in:
xmanrui 2026-08-17 15:36:00 +08:00
parent 9d50ee7d03
commit acd38ec3ee
16 changed files with 2161 additions and 1060 deletions

View file

@ -2,6 +2,7 @@ import * as React from 'react';
import { WhatsappLogoGlyph } from '../../channel-logos.js';
import { QrActionIcon } from '../../credential-binding.js';
import { h } from '../../i18n.js';
import { installDingtalkStyles } from '../dingtalk/styles.js';
import {
WHATSAPP_ENDPOINTS,
@ -14,7 +15,6 @@ import {
} from './api.js';
import { installWhatsappStyles } from './styles.js';
const h = React.createElement;
const ACTIVE_STATES = new Set(['pending', 'connecting']);
const Button = React.forwardRef(function Button(