Files
TREK/shared/src/i18n/vi/mailAdmin.ts
T
Maurice 94ac7673a5 feat(settings): one look for every user and admin settings page
The settings pages had grown into a mix of styles: folds, dialogs behind
rows, full-width rows next to boxed ones, pills for every figure and buttons
in four sizes. Every page now uses the same kit.

- Cards keep their tinted head band; every part of a card is a rounded block
  with its own small head (SettingsBlock), and rows sit in rounded boxes.
- Nothing folds and nothing hides behind a dialog: the MCP config, OAuth
  scopes, mail how-to, AI privacy note and addon sub-options are all shown.
- Each page is split into two columns balanced by length (SettingsColumns).
- Long explanations moved into an info mark next to the label (HintMark).
- One button size everywhere (text-control); tab names are one word.
- Admin: the old Settings tab is split into Security and Services
  (?tab=settings still opens Security, and the phone keeps its single
  Settings section for both); the Integration group is gone, live flights
  and mail import sit next to the addons they configure.
- Addons: one card per type with rows, no search, filter or fold.
- Quota, TREK API facts, mail import status and Google's daily limit are
  compact lines and strips instead of tiles and pills.
- Language is a select; routing has its own card under the defaults;
  storage saves from the foot of its categories card.
- Unused keys, FoldSummary and the page-width wrapper are removed.
2026-11-13 23:18:28 +01:00

52 lines
3.5 KiB
TypeScript

import type { TranslationStrings } from '../types';
const mailAdmin: TranslationStrings = {
'mailAdmin.title': 'Nhập email đặt chỗ',
'mailAdmin.hint': 'Email xác nhận đặt chỗ được chuyển tiếp sẽ trở thành đặt chỗ trong đúng chuyến đi.',
'mailAdmin.enabled': 'Nhập email đặt chỗ',
'mailAdmin.enabledHint':
'Cấp cho mọi người trên bản cài đặt này một địa chỉ chuyển tiếp. Khi tắt, không địa chỉ nào nhận email.',
'mailAdmin.transport.label': 'Cách email đến',
'mailAdmin.transport.off': 'Chỉ tải lên',
'mailAdmin.transport.imap': 'Hộp thư IMAP',
'mailAdmin.transport.webhook': 'Webhook', // same-as-en
'mailAdmin.transport.offInfo':
'Không cần hộp thư: tải email đã lưu lên dưới dạng tệp .eml trong phần cài đặt, và TREK sẽ đọc theo cùng cách. Phù hợp để dùng thử.',
'mailAdmin.transport.imapInfo':
'TREK kiểm tra hộp thư mỗi hai phút và lấy email mới. Hãy dùng một hộp thư riêng nhận địa chỉ có dấu cộng (trek+…@your-domain), không dùng hộp thư cá nhân: email đã đọc sẽ được chuyển sang TREK/processed.',
'mailAdmin.transport.webhookInfo':
'Một dịch vụ email, chẳng hạn Cloudflare Email Worker, chuyển thẳng từng email cho TREK và ký bằng khóa bên dưới, để không ai khác có thể chen email vào. Dành cho cách cài đặt không có hộp thư.',
'mailAdmin.aiDaily': 'Số email AI mỗi người mỗi ngày',
'mailAdmin.aiDailyHint': 'Vượt mức này, chỉ đọc dữ liệu đặt chỗ máy đọc được.',
'mailAdmin.template': 'Mẫu địa chỉ',
'mailAdmin.templateHint': 'Địa chỉ chuyển tiếp, với {token} ở vị trí mã của từng người.',
'mailAdmin.imap.host': 'Máy chủ',
'mailAdmin.imap.port': 'Cổng',
'mailAdmin.imap.tls': 'Mã hóa',
'mailAdmin.imap.user': 'Người dùng',
'mailAdmin.imap.pass': 'Mật khẩu',
'mailAdmin.imap.mailbox': 'Thư mục',
'mailAdmin.imap.mailboxHint': 'Email đã đọc sẽ được chuyển sang TREK/processed.',
'mailAdmin.webhook.secret': 'Khóa bí mật để ký',
'mailAdmin.webhook.secretHint': 'Ít nhất 32 ký tự; bên gửi dùng khóa này để ký mọi email. Để trống sẽ tắt webhook.',
'mailAdmin.inboundUrl': 'Địa chỉ webhook',
'mailAdmin.inboundUrlHint': 'Dịch vụ email của bạn gửi từng email đến đây, ở dạng thô và đã ký.',
'mailAdmin.copyUrl': 'Sao chép địa chỉ',
'mailAdmin.envHint': 'Biến môi trường (MAIL_INGEST_*) được ưu tiên hơn các trường này.',
'mailAdmin.loadError': 'Không tải được cài đặt nhập email.',
'mailAdmin.problem.secretShort': 'Khóa bí mật cần ít nhất 32 ký tự.',
'mailAdmin.problem.portInvalid': 'Nhập một cổng từ 1 đến 65535.',
'mailAdmin.problem.templateToken': 'Địa chỉ cần có {token} ở vị trí mã của từng người.',
'mailAdmin.problem.dailyInvalid': 'Nhập một số nguyên từ 0 đến 1000.',
'mailAdmin.status.lastRead': 'Đọc lần cuối {time}',
'mailAdmin.status.never': 'chưa bao giờ',
'mailAdmin.status.mails': 'Email, 24 giờ',
'mailAdmin.status.added': 'Tự động thêm',
'mailAdmin.status.waiting': 'Đang chờ',
'mailAdmin.status.failed': 'Thất bại',
'mailAdmin.test.run': 'Kiểm tra kết nối',
'mailAdmin.test.ok': 'Đã kết nối',
'mailAdmin.test.failed': 'Không kết nối được',
};
export default mailAdmin;