sampleTexts constant
Sample texts (English, and Portuguese of Brazil and of Portugal, never mixed): the real ones come from the server. Other languages use English, the only fallback language.
Implementation
static const Map<String, Map<String, String>> sampleTexts = {
'en': {
'assistant_title': '(simulated) Talk to ORYKSA',
'assistant_hint': 'Pick a question or talk on your phone',
'you': 'You',
'thinking': 'Thinking…',
'pair_title': 'Talk on your phone',
'pair_step_scan': 'Point your phone camera at the code',
'pair_step_code': 'Or open {url} and type {code}',
'pair_waiting': 'Waiting for the phone…',
'pair_connected': 'Phone connected',
'pair_expired': 'The code expired',
'listening': 'Listening…',
'phone_left': 'The phone disconnected',
'open_on_phone': 'Open on your phone',
'retry': 'Try again',
'close': 'Close',
'error': 'Something went wrong. Try again.',
'type_message': 'Type a message',
'send': 'Send',
},
'pt-PT': {
'assistant_title': '(simulado) Fala com a ORYKSA',
'assistant_hint': 'Escolhe uma pergunta ou fala pelo telemóvel',
'you': 'Tu',
'thinking': 'A pensar…',
'pair_title': 'Fala pelo telemóvel',
'pair_step_scan': 'Aponta a câmara do telemóvel para o código',
'pair_step_code': 'Ou abre {url} e escreve {code}',
'pair_waiting': 'À espera do telemóvel…',
'pair_connected': 'Telemóvel ligado',
'pair_expired': 'O código expirou',
'listening': 'A ouvir…',
'phone_left': 'O telemóvel desligou-se',
'open_on_phone': 'Abre no telemóvel',
'retry': 'Tentar de novo',
'close': 'Fechar',
'error': 'Não deu. Tenta de novo.',
'type_message': 'Escreve uma mensagem',
'send': 'Enviar',
},
'pt-BR': {
'assistant_title': '(simulado) Fale com a ORYKSA',
'assistant_hint': 'Escolha uma pergunta ou fale pelo celular',
'you': 'Você',
'thinking': 'Pensando…',
'pair_title': 'Fale pelo celular',
'pair_step_scan': 'Aponte a câmera do celular para o código',
'pair_step_code': 'Ou abra {url} e digite {code}',
'pair_waiting': 'Esperando o celular…',
'pair_connected': 'Celular conectado',
'pair_expired': 'O código expirou',
'listening': 'Ouvindo…',
'phone_left': 'O celular desconectou',
'open_on_phone': 'Abra no celular',
'retry': 'Tentar de novo',
'close': 'Fechar',
'error': 'Não deu certo. Tente de novo.',
'type_message': 'Digitar uma mensagem',
'send': 'Enviar',
},
};