mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-08 20:09:24 +00:00
add warning text to the seed screen (#587)
* Add warning text to the seed screen * fix font size
This commit is contained in:
parent
3996c3de76
commit
b27b55388c
16 changed files with 47 additions and 2 deletions
|
@ -1,3 +1,4 @@
|
|||
import 'package:auto_size_text/auto_size_text.dart';
|
||||
import 'package:cake_wallet/utils/show_bar.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
@ -18,7 +19,36 @@ class WalletKeysPage extends BasePage {
|
|||
|
||||
@override
|
||||
Widget body(BuildContext context) {
|
||||
return Container(
|
||||
return Column(
|
||||
children: [
|
||||
Expanded(
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 24.0),
|
||||
child: Container(
|
||||
width: double.infinity,
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(12.0),
|
||||
color: Theme.of(context).accentTextTheme!.caption!.color!,
|
||||
),
|
||||
child: Center(
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.all(8.0),
|
||||
child: AutoSizeText(
|
||||
S.of(context).do_not_share_warning_text.toUpperCase(),
|
||||
textAlign: TextAlign.center,
|
||||
maxLines: 4,
|
||||
style: TextStyle(
|
||||
fontSize: 16,
|
||||
fontWeight: FontWeight.w500,
|
||||
color: Colors.red)),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
Expanded(
|
||||
flex: 7,
|
||||
child: Container(
|
||||
padding: EdgeInsets.only(top: 20.0, bottom: 20.0),
|
||||
child: Observer(
|
||||
builder: (_) {
|
||||
|
@ -48,6 +78,6 @@ class WalletKeysPage extends BasePage {
|
|||
);
|
||||
});
|
||||
},
|
||||
));
|
||||
)))]);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -646,5 +646,6 @@
|
|||
"remaining": "Rest",
|
||||
"delete_wallet": "Geldbörse löschen",
|
||||
"delete_wallet_confirm_message" : "Sind Sie sicher, dass Sie das ${wallet_name} Wallet löschen möchten?",
|
||||
"do_not_share_warning_text" : "Teilen Sie diese nicht mit anderen, einschließlich des Supports.\n\nSie werden Ihr Geld stehlen!",
|
||||
"help": "hilfe"
|
||||
}
|
||||
|
|
|
@ -646,5 +646,6 @@
|
|||
"remaining": "remaining",
|
||||
"delete_wallet": "Delete wallet",
|
||||
"delete_wallet_confirm_message" : "Are you sure that you want to delete ${wallet_name} wallet?",
|
||||
"do_not_share_warning_text" : "Do not share these with anyone else, including support.\n\nThey will steal your money!",
|
||||
"help": "help"
|
||||
}
|
||||
|
|
|
@ -646,5 +646,6 @@
|
|||
"remaining": "restante",
|
||||
"delete_wallet": "Eliminar billetera",
|
||||
"delete_wallet_confirm_message" : "¿Está seguro de que desea eliminar la billetera ${wallet_name}?",
|
||||
"do_not_share_warning_text" : "No comparta estos con nadie más, incluido el soporte.\n\n¡Te robarán tu dinero!",
|
||||
"help": "ayuda"
|
||||
}
|
||||
|
|
|
@ -644,5 +644,6 @@
|
|||
"remaining": "restant",
|
||||
"delete_wallet": "Supprimer le portefeuille",
|
||||
"delete_wallet_confirm_message" : "Êtes-vous sûr de vouloir supprimer le portefeuille ${wallet_name}?",
|
||||
"do_not_share_warning_text" : "Ne les partagez avec personne d'autre, y compris avec l'assistance.\n\nIls vont voler votre argent!",
|
||||
"help": "aider"
|
||||
}
|
||||
|
|
|
@ -646,5 +646,6 @@
|
|||
"remaining": "शेष",
|
||||
"delete_wallet": "वॉलेट हटाएं",
|
||||
"delete_wallet_confirm_message" : "क्या आप वाकई ${wallet_name} वॉलेट हटाना चाहते हैं?",
|
||||
"do_not_share_warning_text" : "इन्हें समर्थन सहित किसी और के साथ साझा न करें।\n\nवे आपका पैसा चुरा लेंगे!",
|
||||
"help": "मदद करना"
|
||||
}
|
||||
|
|
|
@ -646,5 +646,6 @@
|
|||
"remaining": "preostalo",
|
||||
"delete_wallet": "Izbriši novčanik",
|
||||
"delete_wallet_confirm_message" : "Jeste li sigurni da želite izbrisati ${wallet_name} novčanik?",
|
||||
"do_not_share_warning_text" : "Nemojte ih dijeliti ni s kim, uključujući podršku.\n\nUkrast će vam novac!",
|
||||
"help": "pomozite"
|
||||
}
|
||||
|
|
|
@ -646,5 +646,6 @@
|
|||
"remaining": "rimanente",
|
||||
"delete_wallet": "Elimina portafoglio",
|
||||
"delete_wallet_confirm_message" : "Sei sicuro di voler eliminare il portafoglio ${wallet_name}?",
|
||||
"do_not_share_warning_text" : "Non condividerli con nessun altro, incluso il supporto.\n\nTi ruberanno i soldi!",
|
||||
"help": "aiuto"
|
||||
}
|
||||
|
|
|
@ -646,5 +646,6 @@
|
|||
"remaining": "残り",
|
||||
"delete_wallet": "ウォレットを削除",
|
||||
"delete_wallet_confirm_message" : "${wallet_name} ウォレットを削除してもよろしいですか?",
|
||||
"do_not_share_warning_text" : "サポートを含め、これらを他の誰とも共有しないでください。\n\n彼らはあなたのお金を盗みます!",
|
||||
"help": "ヘルプ"
|
||||
}
|
||||
|
|
|
@ -646,5 +646,6 @@
|
|||
"remaining": "남은",
|
||||
"delete_wallet": "지갑 삭제",
|
||||
"delete_wallet_confirm_message" : "${wallet_name} 지갑을 삭제하시겠습니까?",
|
||||
"do_not_share_warning_text" : "지원을 포함하여 다른 사람과 이러한 정보를 공유하지 마십시오.\n\n그들은 당신의 돈을 훔칠 것입니다!",
|
||||
"help": "돕다"
|
||||
}
|
||||
|
|
|
@ -646,5 +646,6 @@
|
|||
"remaining": "resterende",
|
||||
"delete_wallet": "Portemonnee verwijderen",
|
||||
"delete_wallet_confirm_message" : "Weet u zeker dat u de portemonnee van ${wallet_name} wilt verwijderen?",
|
||||
"do_not_share_warning_text" : "Deel deze met niemand anders, ook niet met support.\n\nZe zullen je geld stelen!",
|
||||
"help": "helpen"
|
||||
}
|
||||
|
|
|
@ -646,5 +646,6 @@
|
|||
"remaining": "pozostałe",
|
||||
"delete_wallet": "Usuń portfel",
|
||||
"delete_wallet_confirm_message" : "Czy na pewno chcesz usunąć portfel ${wallet_name}?",
|
||||
"do_not_share_warning_text" : "Nie udostępniaj ich nikomu innemu, w tym wsparcia.\n\nUkradną twoje pieniądze!",
|
||||
"help": "pomoc"
|
||||
}
|
||||
|
|
|
@ -646,5 +646,6 @@
|
|||
"remaining": "restante",
|
||||
"delete_wallet": "Excluir carteira",
|
||||
"delete_wallet_confirm_message" : "Tem certeza de que deseja excluir a carteira ${wallet_name}?",
|
||||
"do_not_share_warning_text" : "Não os compartilhe com mais ninguém, incluindo suporte.\n\nEles vão roubar seu dinheiro!",
|
||||
"help": "ajuda"
|
||||
}
|
||||
|
|
|
@ -646,5 +646,6 @@
|
|||
"remaining": "осталось",
|
||||
"delete_wallet": "Удалить кошелек",
|
||||
"delete_wallet_confirm_message" : "Вы уверены, что хотите удалить кошелек ${wallet_name}?",
|
||||
"do_not_share_warning_text" : "Не делитесь ими с кем-либо еще, в том числе со службой поддержки.\n\nОни украдут ваши деньги!",
|
||||
"help": "помощь"
|
||||
}
|
||||
|
|
|
@ -645,5 +645,6 @@
|
|||
"remaining": "залишилося",
|
||||
"delete_wallet": "Видалити гаманець",
|
||||
"delete_wallet_confirm_message" : "Ви впевнені, що хочете видалити гаманець ${wallet_name}?",
|
||||
"do_not_share_warning_text" : "Не повідомляйте їх нікому, включно зі службою підтримки.\n\nВони вкрадуть ваші гроші!",
|
||||
"help": "допомога"
|
||||
}
|
||||
|
|
|
@ -644,5 +644,6 @@
|
|||
"remaining": "剩余",
|
||||
"delete_wallet": "删除钱包",
|
||||
"delete_wallet_confirm_message" : "您确定要删除 ${wallet_name} 钱包吗?",
|
||||
"do_not_share_warning_text" : "不要與其他任何人分享這些內容,包括支持。\n\n他們會偷你的錢!",
|
||||
"help": "帮助"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue