Merge pull request 'enter a message placeholder text' (#116) from erinn23 into trunk
continuous-integration/drone/push Build is passing Details

Reviewed-on: #116
Reviewed-by: Sarah Jamie Lewis <sarah@openprivacy.ca>
This commit is contained in:
Sarah Jamie Lewis 2021-07-14 13:26:14 -07:00
commit 7a7b3f22b0
9 changed files with 17 additions and 8 deletions

View File

@ -1,6 +1,7 @@
{
"@@locale": "de",
"@@last_modified": "2021-07-14T01:50:27+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",

View File

@ -1,6 +1,7 @@
{
"@@locale": "en",
"@@last_modified": "2021-07-14T01:50:27+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",

View File

@ -1,6 +1,7 @@
{
"@@locale": "es",
"@@last_modified": "2021-07-14T01:50:27+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",

View File

@ -1,6 +1,7 @@
{
"@@locale": "fr",
"@@last_modified": "2021-07-14T01:50:27+02:00",
"@@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",

View File

@ -1,6 +1,7 @@
{
"@@locale": "it",
"@@last_modified": "2021-07-14T01:50:27+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",

View File

@ -1,6 +1,7 @@
{
"@@locale": "pl",
"@@last_modified": "2021-07-14T01:50:27+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",

View File

@ -1,6 +1,7 @@
{
"@@locale": "pt",
"@@last_modified": "2021-07-14T01:50:27+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",

View File

@ -354,7 +354,7 @@ class OpaqueDark extends OpaqueThemeType {
}
Color altTextColor() {
return whitePurple;
return mauvePurple;
}
Color hilightElementTextColor() {

View File

@ -192,6 +192,8 @@ class _MessageViewState extends State<MessageView> {
onFieldSubmitted: _sendMessage,
enabled: !isOffline,
decoration: InputDecoration(
hintText: AppLocalizations.of(context)!.placeholderEnterMessage,
hintStyle: TextStyle(color: Provider.of<Settings>(context).theme.altTextColor()),
enabledBorder: InputBorder.none,
focusedBorder: InputBorder.none,
enabled: true,