- @xenova/transformers 2.17.2 in a Web Worker; Opus-MT en↔es ONNX q8 packs self-hosted on the relay VPS (/models + CORS); ONNX Runtime 1.14 WASM self-hosted in public/ort/ (37MB) loaded from ../ort/. - Hard network guard: only model GET/HEAD (no query) and /ort/ assets allowed. Message text travels only via postMessage; 9 tests prove fetch is never called with the text and every other request is blocked. - TranslateMessage in DMs + crew chat; Settings auto-translate off by default; memory-only translations; per-model download progress; 12 UI strings in all 24 locales. - Both model directions verified from the hosted files; tsc, 138 tests, build and smoke green.
24 lines
968 B
TypeScript
24 lines
968 B
TypeScript
/**
|
|
* Post-translation corrections for gl.
|
|
*
|
|
* Add keys here when a batch translation needs fixing without editing the
|
|
* generated batch files. Values must also exist in `en`.
|
|
*/
|
|
const drift = {
|
|
translateUi: {
|
|
title: 'Tradución de mensaxes',
|
|
translate: 'Traducir',
|
|
translating: 'Traducindo…',
|
|
showOriginal: 'Amosar o orixinal',
|
|
showTranslation: 'Amosar a tradución',
|
|
translatedFrom: 'Traducido de {{language}}',
|
|
failed: 'A tradución fallou. Téntao de novo.',
|
|
unsupported: 'Este par de idiomas aínda non está dispoñible.',
|
|
pilotNote: 'Piloto: só inglés ↔ español.',
|
|
autoTranslate: 'Traducir as mensaxes automaticamente',
|
|
autoTranslateDesc: 'Traduce as mensaxes entrantes ao teu idioma. Execútase neste dispositivo; non se envía nada.',
|
|
privacy: 'A tradución execútase no teu dispositivo. A túa mensaxe nunca sae del. O primeiro uso descarga un modelo de lingua.',
|
|
},
|
|
};
|
|
|
|
export default drift;
|