[mob][photos] Extract strings

This commit is contained in:
ashilkn
2024-07-03 20:11:40 +05:30
parent 98d1a1c219
commit 4665cac03d
34 changed files with 595 additions and 38 deletions

View File

@@ -153,7 +153,7 @@ class _LockScreenState extends State<LockScreen>
alignment: Alignment.center,
children: [
Text(
"Too many incorrect attempts",
S.of(context).tooManyIncorrectAttempts,
style: textTheme.small,
)
.animate(
@@ -179,7 +179,7 @@ class _LockScreenState extends State<LockScreen>
: GestureDetector(
onTap: () => _showLockScreen(source: "tap"),
child: Text(
"Tap to unlock",
S.of(context).tapToUnlock,
style: textTheme.small,
),
),
@@ -204,7 +204,7 @@ class _LockScreenState extends State<LockScreen>
Future<void> _autoLogoutOnMaxInvalidAttempts() async {
final AlertDialog alert = AlertDialog(
title: const Text("Too many incorrect attempts"),
title: Text(S.of(context).tooManyIncorrectAttempts),
content: Text(S.of(context).pleaseLoginAgain),
actions: [
TextButton(