feat: add browser extension localization runtime

This commit is contained in:
2026-07-11 22:15:26 +08:00
parent fb4b41d367
commit 18bff9f352
5 changed files with 166 additions and 1 deletions
+33
View File
@@ -0,0 +1,33 @@
{
"popup.subtitle": "Browser Inbox",
"label.receiver": "Receiver",
"label.pending": "Pending",
"label.url": "URL",
"label.file": "File",
"label.receiverUrl": "Receiver URL",
"label.pairingToken": "Pairing token",
"label.language": "Language",
"action.sendPage": "Send Page",
"action.sendFile": "Send File",
"action.retryPending": "Retry Pending",
"action.save": "Save",
"hint.contextMenu": "Selection and link captures are available from the page context menu.",
"receiver.online": "Online",
"receiver.offline": "Offline",
"receiver.unknown": "Unknown",
"language.system": "System",
"language.en": "English",
"language.ru": "Russian",
"status.sending": "Sending...",
"status.queued": "Queued until Verstak is available",
"status.done": "Done",
"status.readingFile": "Reading file...",
"status.saved": "Saved",
"error.chooseFile": "Choose a file first",
"error.fileTooLarge": "File is too large for browser capture",
"error.invalidReceiverUrl": "Receiver URL must start with http:// or https://",
"error.value": "Error: {error}",
"context.sendPage": "Send page to Verstak",
"context.sendSelection": "Send selection to Verstak",
"context.sendLink": "Send link to Verstak"
}
+33
View File
@@ -0,0 +1,33 @@
{
"popup.subtitle": "Входящие из браузера",
"label.receiver": "Приёмник",
"label.pending": "В очереди",
"label.url": "URL",
"label.file": "Файл",
"label.receiverUrl": "URL приёмника",
"label.pairingToken": "Токен сопряжения",
"label.language": "Язык",
"action.sendPage": "Отправить страницу",
"action.sendFile": "Отправить файл",
"action.retryPending": "Повторить отправку",
"action.save": "Сохранить",
"hint.contextMenu": "Выделение и ссылки можно отправить через контекстное меню страницы.",
"receiver.online": "Доступен",
"receiver.offline": "Недоступен",
"receiver.unknown": "Неизвестно",
"language.system": "Системный",
"language.en": "Английский",
"language.ru": "Русский",
"status.sending": "Отправка...",
"status.queued": "В очереди до запуска Верстака",
"status.done": "Готово",
"status.readingFile": "Чтение файла...",
"status.saved": "Сохранено",
"error.chooseFile": "Сначала выберите файл",
"error.fileTooLarge": "Файл слишком велик для отправки из браузера",
"error.invalidReceiverUrl": "URL приёмника должен начинаться с http:// или https://",
"error.value": "Ошибка: {error}",
"context.sendPage": "Отправить страницу в Верстак",
"context.sendSelection": "Отправить выделение в Верстак",
"context.sendLink": "Отправить ссылку в Верстак"
}