We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe12a4d commit ff9ee46Copy full SHA for ff9ee46
lib/app_configuration/widgets/article_ad_settings_form.dart
@@ -1,6 +1,7 @@
1
import 'package:core/core.dart';
2
import 'package:flutter/material.dart';
3
import 'package:flutter_news_app_web_dashboard_full_source_code/l10n/l10n.dart';
4
+import 'package:flutter_news_app_web_dashboard_full_source_code/shared/extensions/ad_type_l10n.dart';
5
import 'package:flutter_news_app_web_dashboard_full_source_code/shared/extensions/in_article_ad_slot_type_l10n.dart';
6
import 'package:ui_kit/ui_kit.dart';
7
@@ -97,7 +98,7 @@ class _ArticleAdSettingsFormState extends State<ArticleAdSettingsForm>
97
98
.map(
99
(type) => ButtonSegment<AdType>(
100
value: type,
- label: Text(type.name),
101
+ label: Text(type.l10n(context)),
102
),
103
)
104
.toList(),
0 commit comments