diff --git a/lib/account/view/account_page.dart b/lib/account/view/account_page.dart index cd9ef669..b4582faa 100644 --- a/lib/account/view/account_page.dart +++ b/lib/account/view/account_page.dart @@ -130,17 +130,17 @@ class AccountPage extends StatelessWidget { statusWidget = Column( mainAxisSize: MainAxisSize.min, // To keep column tight children: [ - if (user?.role != null) ...[ - // Show role only if available - const SizedBox(height: AppSpacing.xs), - Text( - l10n.accountRoleLabel(user!.role.name), - style: textTheme.bodyMedium?.copyWith( - color: colorScheme.onSurfaceVariant, - ), - textAlign: TextAlign.center, - ), - ], + // if (user?.role != null) ...[ + // // Show role only if available + // const SizedBox(height: AppSpacing.xs), + // Text( + // l10n.accountRoleLabel(user!.role.name), + // style: textTheme.bodyMedium?.copyWith( + // color: colorScheme.onSurfaceVariant, + // ), + // textAlign: TextAlign.center, + // ), + // ], const SizedBox(height: AppSpacing.md), // Consistent spacing OutlinedButton.icon( // Changed to OutlinedButton.icon diff --git a/lib/authentication/view/authentication_page.dart b/lib/authentication/view/authentication_page.dart index 7c4a849d..d092c519 100644 --- a/lib/authentication/view/authentication_page.dart +++ b/lib/authentication/view/authentication_page.dart @@ -99,7 +99,7 @@ class AuthenticationPage extends StatelessWidget { Padding( padding: const EdgeInsets.only(bottom: AppSpacing.xl), child: Icon( - Icons.security, + isLinkingContext ? Icons.sync : Icons.newspaper, size: AppSpacing.xxl * 2, // Standardized large icon color: colorScheme.primary, ), diff --git a/lib/headlines-feed/view/headlines_feed_page.dart b/lib/headlines-feed/view/headlines_feed_page.dart index 2435da20..064ad3ca 100644 --- a/lib/headlines-feed/view/headlines_feed_page.dart +++ b/lib/headlines-feed/view/headlines_feed_page.dart @@ -90,15 +90,15 @@ class _HeadlinesFeedPageState extends State { style: textTheme.titleLarge?.copyWith(fontWeight: FontWeight.bold), ), actions: [ - IconButton( - icon: const Icon(Icons.notifications_outlined), - tooltip: l10n.notificationsTooltip, // Add tooltip for accessibility - onPressed: () { - context.goNamed( - Routes.notificationsName, - ); // Ensure correct route name - }, - ), + // IconButton( + // icon: const Icon(Icons.notifications_outlined), + // tooltip: l10n.notificationsTooltip, // Add tooltip for accessibility + // onPressed: () { + // context.goNamed( + // Routes.notificationsName, + // ); // Ensure correct route name + // }, + // ), BlocBuilder( builder: (context, state) { var isFilterApplied = false; diff --git a/lib/headlines-feed/view/headlines_filter_page.dart b/lib/headlines-feed/view/headlines_filter_page.dart index 8cbfef29..24498da7 100644 --- a/lib/headlines-feed/view/headlines_filter_page.dart +++ b/lib/headlines-feed/view/headlines_filter_page.dart @@ -272,7 +272,7 @@ class _HeadlinesFilterPageState extends State { title: Text(l10n.headlinesFeedFilterTitle), actions: [ IconButton( - icon: const Icon(Icons.clear_all), + icon: const Icon(Icons.refresh), tooltip: l10n.headlinesFeedFilterResetButton, onPressed: () { context.read().add( diff --git a/lib/l10n/app_localizations.dart b/lib/l10n/app_localizations.dart index 33ce8212..3b347089 100644 --- a/lib/l10n/app_localizations.dart +++ b/lib/l10n/app_localizations.dart @@ -449,25 +449,25 @@ abstract class AppLocalizations { /// Headline for the authentication page when linking an anonymous account /// /// In en, this message translates to: - /// **'Connect Your Account'** + /// **'Sync Your Data'** String get authenticationLinkingHeadline; /// Subheadline explaining the benefit of linking an anonymous account /// /// In en, this message translates to: - /// **'Sign in with Google or Email to save your preferences and reading history across devices.'** + /// **'save your settings, content preferences and more across devices.'** String get authenticationLinkingSubheadline; /// Headline for the authentication page during standard sign-in /// /// In en, this message translates to: - /// **'Sign In'** + /// **'Headlines Toolkit'** String get authenticationSignInHeadline; /// Subheadline for the authentication page during standard sign-in /// /// In en, this message translates to: - /// **'Sign in or continue anonymously to personalize your feed.'** + /// **'Develop News Headlines Apps Rapidly & Reliably.'** String get authenticationSignInSubheadline; /// AppBar title for the email sign-in page diff --git a/lib/l10n/app_localizations_ar.dart b/lib/l10n/app_localizations_ar.dart index 77393eb0..f7542e7a 100644 --- a/lib/l10n/app_localizations_ar.dart +++ b/lib/l10n/app_localizations_ar.dart @@ -190,18 +190,18 @@ class AppLocalizationsAr extends AppLocalizations { String get authenticationEmailSignInButton => 'متابعة بالبريد الإلكتروني'; @override - String get authenticationLinkingHeadline => 'ربط حسابك'; + String get authenticationLinkingHeadline => 'زامن بياناتك'; @override String get authenticationLinkingSubheadline => - 'سجل الدخول باستخدام جوجل أو البريد الإلكتروني لحفظ تفضيلاتك وسجل القراءة عبر الأجهزة.'; + 'إحفظ إعداداتك، تفضيلات المحتوى والمزيد عبر مختلف الأجهزة.'; @override - String get authenticationSignInHeadline => 'تسجيل الدخول'; + String get authenticationSignInHeadline => 'هادلاينز تولكيت'; @override String get authenticationSignInSubheadline => - 'سجل الدخول أو تابع كمجهول لتخصيص موجز الأخبار الخاص بك.'; + 'طور التطبيقات الإخبارية بسرعة وبشكل موثوق.'; @override String get emailSignInPageTitle => 'تسجيل الدخول بالبريد الإلكتروني'; diff --git a/lib/l10n/app_localizations_en.dart b/lib/l10n/app_localizations_en.dart index 534f1a60..5da677d7 100644 --- a/lib/l10n/app_localizations_en.dart +++ b/lib/l10n/app_localizations_en.dart @@ -192,18 +192,18 @@ class AppLocalizationsEn extends AppLocalizations { String get authenticationEmailSignInButton => 'Continue with Email'; @override - String get authenticationLinkingHeadline => 'Connect Your Account'; + String get authenticationLinkingHeadline => 'Sync Your Data'; @override String get authenticationLinkingSubheadline => - 'Sign in with Google or Email to save your preferences and reading history across devices.'; + 'save your settings, content preferences and more across devices.'; @override - String get authenticationSignInHeadline => 'Sign In'; + String get authenticationSignInHeadline => 'Headlines Toolkit'; @override String get authenticationSignInSubheadline => - 'Sign in or continue anonymously to personalize your feed.'; + 'Develop News Headlines Apps Rapidly & Reliably.'; @override String get emailSignInPageTitle => 'Sign in with Email'; diff --git a/lib/l10n/arb/app_ar.arb b/lib/l10n/arb/app_ar.arb index adeeb46a..719d3e51 100644 --- a/lib/l10n/arb/app_ar.arb +++ b/lib/l10n/arb/app_ar.arb @@ -238,19 +238,19 @@ "@authenticationEmailSignInButton": { "description": "نص زر بدء تدفق تسجيل الدخول بالبريد الإلكتروني" }, - "authenticationLinkingHeadline": "ربط حسابك", + "authenticationLinkingHeadline": "زامن بياناتك", "@authenticationLinkingHeadline": { "description": "عنوان صفحة المصادقة عند ربط حساب مجهول" }, - "authenticationLinkingSubheadline": "سجل الدخول باستخدام جوجل أو البريد الإلكتروني لحفظ تفضيلاتك وسجل القراءة عبر الأجهزة.", + "authenticationLinkingSubheadline": "إحفظ إعداداتك، تفضيلات المحتوى والمزيد عبر مختلف الأجهزة.", "@authenticationLinkingSubheadline": { "description": "عنوان فرعي يشرح فائدة ربط حساب مجهول" }, - "authenticationSignInHeadline": "تسجيل الدخول", + "authenticationSignInHeadline": "هادلاينز تولكيت", "@authenticationSignInHeadline": { "description": "عنوان صفحة المصادقة أثناء تسجيل الدخول القياسي" }, - "authenticationSignInSubheadline": "سجل الدخول أو تابع كمجهول لتخصيص موجز الأخبار الخاص بك.", + "authenticationSignInSubheadline": "طور التطبيقات الإخبارية بسرعة وبشكل موثوق.", "@authenticationSignInSubheadline": { "description": "عنوان فرعي لصفحة المصادقة أثناء تسجيل الدخول القياسي" }, diff --git a/lib/l10n/arb/app_en.arb b/lib/l10n/arb/app_en.arb index eddec6d4..9b21287c 100644 --- a/lib/l10n/arb/app_en.arb +++ b/lib/l10n/arb/app_en.arb @@ -238,19 +238,19 @@ "@authenticationEmailSignInButton": { "description": "Button text for initiating email sign-in flow" }, - "authenticationLinkingHeadline": "Connect Your Account", + "authenticationLinkingHeadline": "Sync Your Data", "@authenticationLinkingHeadline": { "description": "Headline for the authentication page when linking an anonymous account" }, - "authenticationLinkingSubheadline": "Sign in with Google or Email to save your preferences and reading history across devices.", + "authenticationLinkingSubheadline": "save your settings, content preferences and more across devices.", "@authenticationLinkingSubheadline": { "description": "Subheadline explaining the benefit of linking an anonymous account" }, - "authenticationSignInHeadline": "Sign In", + "authenticationSignInHeadline": "Headlines Toolkit", "@authenticationSignInHeadline": { "description": "Headline for the authentication page during standard sign-in" }, - "authenticationSignInSubheadline": "Sign in or continue anonymously to personalize your feed.", + "authenticationSignInSubheadline": "Develop News Headlines Apps Rapidly & Reliably.", "@authenticationSignInSubheadline": { "description": "Subheadline for the authentication page during standard sign-in" }, diff --git a/lib/settings/view/settings_page.dart b/lib/settings/view/settings_page.dart index 98b61bcf..453c824c 100644 --- a/lib/settings/view/settings_page.dart +++ b/lib/settings/view/settings_page.dart @@ -101,12 +101,12 @@ class SettingsPage extends StatelessWidget { onTap: () => context.goNamed(Routes.settingsFeedName), ), const Divider(indent: AppSpacing.lg, endIndent: AppSpacing.lg), - _buildSettingsTile( - context: context, - icon: Icons.notifications_outlined, - title: l10n.settingsNotificationsTitle, // Add l10n key - onTap: () => context.goNamed(Routes.settingsNotificationsName), - ), + // _buildSettingsTile( + // context: context, + // icon: Icons.notifications_outlined, + // title: l10n.settingsNotificationsTitle, + // onTap: () => context.goNamed(Routes.settingsNotificationsName), + // ), ], ); },