fix(mobile): Mark more strings for translation (#5132)

* fix(mobile): Mark more strings for translation

Moving more strings to the `i18n` JSON file, and also including their
es-US translations.

* Add more translatable strings
This commit is contained in:
Michael Manganiello
2023-11-18 21:32:28 -05:00
committed by GitHub
parent f5ce3deb3a
commit 6d310d6297
14 changed files with 181 additions and 72 deletions

View File

@@ -42,12 +42,12 @@ class LocalStorageSettings extends HookConsumerWidget {
children: [
ListTile(
title: Text(
"Duplicated Assets (${cacheItemCount.value})",
"cache_settings_duplicated_assets_title",
style: context.textTheme.labelLarge
?.copyWith(fontWeight: FontWeight.bold),
).tr(),
).tr(args: ["${cacheItemCount.value}"]),
subtitle: const Text(
"Photos and videos that are black listed by the app",
"cache_settings_duplicated_assets_subtitle",
style: TextStyle(
fontSize: 13,
),
@@ -55,7 +55,7 @@ class LocalStorageSettings extends HookConsumerWidget {
trailing: TextButton(
onPressed: cacheItemCount.value > 0 ? clearCache : null,
child: Text(
"CLEAR",
"cache_settings_duplicated_assets_clear_button",
style: TextStyle(
fontSize: 12,
color: cacheItemCount.value > 0 ? Colors.red : Colors.grey,