diff --git a/lib/l10n/intl_de.arb b/lib/l10n/intl_de.arb index 0e5cb515..11a86cca 100644 --- a/lib/l10n/intl_de.arb +++ b/lib/l10n/intl_de.arb @@ -1,6 +1,9 @@ { "@@locale": "de", - "@@last_modified": "2021-07-10T17:32:01+02:00", + "@@last_modified": "2021-07-14T21:46:10+02:00", + "placeholderEnterMessage": "Type a message...", + "plainProfileDescription": "We recommend that you protect your Cwtch profiles with a password. If you do not set a password on this profile then anyone who has access to this device may be able to access information about this profile, including contacts, messages and sensitive cryptographic keys.", + "encryptedProfileDescription": "Encrypting a profile with a password protects it from other people who may also use this device. Encrypted profiles cannot be decrypted, displayed or accessed until the correct password is entered to unlock them.", "addContactConfirm": "Add contact %1", "addContact": "Add contact", "contactGoto": "Go to conversation with %1", diff --git a/lib/l10n/intl_en.arb b/lib/l10n/intl_en.arb index 5cd879bc..a412ad79 100644 --- a/lib/l10n/intl_en.arb +++ b/lib/l10n/intl_en.arb @@ -1,6 +1,9 @@ { "@@locale": "en", - "@@last_modified": "2021-07-10T17:32:01+02:00", + "@@last_modified": "2021-07-14T21:46:10+02:00", + "placeholderEnterMessage": "Type a message...", + "plainProfileDescription": "We recommend that you protect your Cwtch profiles with a password. If you do not set a password on this profile then anyone who has access to this device may be able to access information about this profile, including contacts, messages and sensitive cryptographic keys.", + "encryptedProfileDescription": "Encrypting a profile with a password protects it from other people who may also use this device. Encrypted profiles cannot be decrypted, displayed or accessed until the correct password is entered to unlock them.", "addContactConfirm": "Add contact %1", "addContact": "Add contact", "contactGoto": "Go to conversation with %1", diff --git a/lib/l10n/intl_es.arb b/lib/l10n/intl_es.arb index c3e2d8c2..42108a5a 100644 --- a/lib/l10n/intl_es.arb +++ b/lib/l10n/intl_es.arb @@ -1,6 +1,9 @@ { "@@locale": "es", - "@@last_modified": "2021-07-10T17:32:01+02:00", + "@@last_modified": "2021-07-14T21:46:10+02:00", + "placeholderEnterMessage": "Type a message...", + "plainProfileDescription": "We recommend that you protect your Cwtch profiles with a password. If you do not set a password on this profile then anyone who has access to this device may be able to access information about this profile, including contacts, messages and sensitive cryptographic keys.", + "encryptedProfileDescription": "Encrypting a profile with a password protects it from other people who may also use this device. Encrypted profiles cannot be decrypted, displayed or accessed until the correct password is entered to unlock them.", "addContactConfirm": "Add contact %1", "addContact": "Add contact", "contactGoto": "Go to conversation with %1", diff --git a/lib/l10n/intl_fr.arb b/lib/l10n/intl_fr.arb index 7bc91585..9e55c6dc 100644 --- a/lib/l10n/intl_fr.arb +++ b/lib/l10n/intl_fr.arb @@ -1,7 +1,10 @@ { "@@locale": "fr", - "@@last_modified": "2021-07-10T17:32:01+02:00", - "addContactConfirm": "Add contact %1", + "@@last_modified": "2021-07-14T21:46:10+02:00", + "placeholderEnterMessage": "Type a message...", + "plainProfileDescription": "Nous vous recommandons de protéger vos profils Cwtch par un mot de passe. Si vous ne définissez pas de mot de passe sur ce profil, toute personne ayant accès à cet appareil peut être en mesure d'accéder aux informations relatives à ce profil, y compris les contacts, les messages et les clés de chiffrement sensibles.", + "encryptedProfileDescription": "Le chiffrement d'un profil à l'aide d'un mot de passe le protège des autres personnes susceptibles d'utiliser également cet appareil. Les profils chiffrés ne peuvent pas être déchiffrés , affichés ou accessibles tant que le mot de passe correct n'a pas été saisi pour les déverrouiller.", + "addContactConfirm": "Ajouter le contact %1", "addContact": "Ajouter le contact", "contactGoto": "Aller à la conversation avec %1", "settingUIColumnOptionSame": "Même réglage que pour le mode portrait", diff --git a/lib/l10n/intl_it.arb b/lib/l10n/intl_it.arb index 9d2f9485..65f3a737 100644 --- a/lib/l10n/intl_it.arb +++ b/lib/l10n/intl_it.arb @@ -1,6 +1,9 @@ { "@@locale": "it", - "@@last_modified": "2021-07-10T17:32:01+02:00", + "@@last_modified": "2021-07-14T21:46:10+02:00", + "placeholderEnterMessage": "Type a message...", + "plainProfileDescription": "We recommend that you protect your Cwtch profiles with a password. If you do not set a password on this profile then anyone who has access to this device may be able to access information about this profile, including contacts, messages and sensitive cryptographic keys.", + "encryptedProfileDescription": "Encrypting a profile with a password protects it from other people who may also use this device. Encrypted profiles cannot be decrypted, displayed or accessed until the correct password is entered to unlock them.", "addContactConfirm": "Add contact %1", "addContact": "Add contact", "contactGoto": "Go to conversation with %1", diff --git a/lib/l10n/intl_pt.arb b/lib/l10n/intl_pt.arb index 53180cc3..4e852a56 100644 --- a/lib/l10n/intl_pt.arb +++ b/lib/l10n/intl_pt.arb @@ -1,6 +1,9 @@ { "@@locale": "pt", - "@@last_modified": "2021-07-10T17:32:01+02:00", + "@@last_modified": "2021-07-14T21:46:10+02:00", + "placeholderEnterMessage": "Type a message...", + "plainProfileDescription": "We recommend that you protect your Cwtch profiles with a password. If you do not set a password on this profile then anyone who has access to this device may be able to access information about this profile, including contacts, messages and sensitive cryptographic keys.", + "encryptedProfileDescription": "Encrypting a profile with a password protects it from other people who may also use this device. Encrypted profiles cannot be decrypted, displayed or accessed until the correct password is entered to unlock them.", "addContactConfirm": "Add contact %1", "addContact": "Add contact", "contactGoto": "Go to conversation with %1", diff --git a/lib/opaque.dart b/lib/opaque.dart index fa09fc41..c728f2e6 100644 --- a/lib/opaque.dart +++ b/lib/opaque.dart @@ -354,7 +354,7 @@ class OpaqueDark extends OpaqueThemeType { } Color altTextColor() { - return whitePurple; + return mauvePurple; } Color hilightElementTextColor() { diff --git a/lib/views/messageview.dart b/lib/views/messageview.dart index 13cb7b18..4370b0f6 100644 --- a/lib/views/messageview.dart +++ b/lib/views/messageview.dart @@ -191,6 +191,8 @@ class _MessageViewState extends State { onFieldSubmitted: _sendMessage, enabled: !isOffline, decoration: InputDecoration( + hintText: AppLocalizations.of(context)!.placeholderEnterMessage, + hintStyle: TextStyle(color: Provider.of(context).theme.altTextColor()), enabledBorder: InputBorder.none, focusedBorder: InputBorder.none, enabled: true,