feat: localize bootstrap

This commit is contained in:
Christian Pauly 2021-02-13 14:33:43 +01:00
commit 6aff41abbb
4 changed files with 63 additions and 16 deletions

View file

@ -510,8 +510,7 @@ class _SettingsState extends State<Settings> {
await showOkCancelAlertDialog(
context: context,
title: L10n.of(context).keysCached,
message:
'Wipe your chat backup to create a new security key?',
message: L10n.of(context).wipeChatBackup,
isDestructiveAction: true,
)) {
return BootstrapDialog(

View file

@ -109,7 +109,7 @@ class _SettingsStyleState extends State<SettingsStyle> {
Divider(height: 1),
ListTile(
title: Text(
'Font size',
L10n.of(context).fontSize,
style: TextStyle(
color: Theme.of(context).accentColor,
fontWeight: FontWeight.bold,