Skip to content

Commit 66223fe

Browse files
committed
fix(localization): replace hardcoded strings with localized values in archived sources view
1 parent 72ebd21 commit 66223fe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/content_management/view/archived_sources_page.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class _ArchivedSourcesView extends StatelessWidget {
3131
final l10n = AppLocalizationsX(context).l10n;
3232
return Scaffold(
3333
appBar: AppBar(
34-
title: const Text('Archived Sources'), // TODO(you): Will be fixed in l10n phase.
34+
title: Text(l10n.archivedSources),
3535
),
3636
body: Padding(
3737
padding: const EdgeInsets.all(AppSpacing.lg),
@@ -41,7 +41,7 @@ class _ArchivedSourcesView extends StatelessWidget {
4141
state.sources.isEmpty) {
4242
return LoadingStateWidget(
4343
icon: Icons.source,
44-
headline: 'Loading Archived Sources', // TODO(you): Will be fixed in l10n phase.
44+
headline: l10n.loadingArchivedSources,
4545
subheadline: l10n.pleaseWait,
4646
);
4747
}
@@ -58,7 +58,7 @@ class _ArchivedSourcesView extends StatelessWidget {
5858
}
5959

6060
if (state.sources.isEmpty) {
61-
return const Center(child: Text('No archived sources found.')); // TODO(you): Will be fixed in l10n phase.
61+
return Center(child: Text(l10n.noArchivedSourcesFound));
6262
}
6363

6464
return Column(

0 commit comments

Comments
 (0)