File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
lib/app_configuration/widgets Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import 'package:flutter_news_app_web_dashboard_full_source_code/app_configuratio
44import 'package:flutter_news_app_web_dashboard_full_source_code/l10n/app_localizations.dart' ;
55import 'package:flutter_news_app_web_dashboard_full_source_code/l10n/l10n.dart' ;
66import 'package:flutter_news_app_web_dashboard_full_source_code/shared/extensions/app_user_role_l10n.dart' ;
7+ import 'package:flutter_news_app_web_dashboard_full_source_code/shared/extensions/in_article_ad_slot_type_l10n.dart' ;
78import 'package:ui_kit/ui_kit.dart' ;
89
910/// {@template article_ad_settings_form}
@@ -275,7 +276,7 @@ class _ArticleAdSettingsFormState extends State<ArticleAdSettingsForm>
275276 const SizedBox (height: AppSpacing .lg),
276277 ...articleAdConfig.inArticleAdSlotConfigurations.map (
277278 (slotConfig) => SwitchListTile (
278- title: Text (slotConfig.slotType.name ),
279+ title: Text (slotConfig.slotType.l10n (context) ),
279280 value: slotConfig.enabled,
280281 onChanged: (value) {
281282 final updatedSlots = articleAdConfig
You can’t perform that action at this time.
0 commit comments