From b7360f1f91587882f7481e43d7cf610dd8ebbe71 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sun, 21 Dec 2025 00:37:44 +0800 Subject: [PATCH] :bento: Update localization assets --- assets/i18n/en-US.json | 63 ++++++++++++++++++++++++++++++++- lib/screens/dashboard/dash.dart | 6 ++-- 2 files changed, 65 insertions(+), 4 deletions(-) diff --git a/assets/i18n/en-US.json b/assets/i18n/en-US.json index a08e2879..5123be44 100644 --- a/assets/i18n/en-US.json +++ b/assets/i18n/en-US.json @@ -1494,5 +1494,66 @@ "accountActivationResendHint": "Didn't see it? Try click the button below to resend one. If you need to update your email while your account was unactivated, feel free to contact our customer service.", "accountActivationResend": "Resend", "ipAddress": "IP Address", - "noFurtherData": "No further data" + "noFurtherData": "No further data", + "searchAnything": "Search Anything...", + "tapToViewAllNotifications": "Tap to view all notifications", + "mostRecent": "Most Recent", + "noNotificationsYet": "No notifications yet", + "recentChats": "Recent Chats", + "noFeaturedPostsAvailable": "No featured posts available", + "searchChatsAndPages": "Search chats and pages...", + "routeDashboard": "Dashboard", + "routeDashboardDesc": "Main dashboard", + "routeExplore": "Explore", + "routeExploreDesc": "Discover content", + "routePostSearch": "Post Search", + "routePostSearchDesc": "Search posts", + "routePostShuffle": "Post Shuffle", + "routePostShuffleDesc": "Random posts", + "routePostCategories": "Post Categories", + "routePostCategoriesDesc": "Browse categories", + "routeDiscoveryRealms": "Discovery Realms", + "routeDiscoveryRealmsDesc": "Explore realms", + "routeChat": "Chat", + "routeChatDesc": "Messages and conversations", + "routeRealms": "Realms", + "routeRealmsDesc": "Community realms", + "routeAccount": "Account", + "routeAccountDesc": "Your profile and settings", + "routeStickerMarketplace": "Sticker Marketplace", + "routeStickerMarketplaceDesc": "Browse sticker packs", + "routeWebFeeds": "Web Feeds", + "routeWebFeedsDesc": "RSS and web feeds", + "routeWallet": "Wallet", + "routeWalletDesc": "Your digital wallet", + "routeRelationships": "Relationships", + "routeRelationshipsDesc": "Friends and connections", + "routeUpdateProfile": "Update Profile", + "routeUpdateProfileDesc": "Edit your profile", + "routeLeveling": "Leveling", + "routeLevelingDesc": "Your progress and levels", + "routeAccountSettings": "Account Settings", + "routeAccountSettingsDesc": "App preferences", + "routeReports": "Reports", + "routeReportsDesc": "Your abuse reports", + "routeFiles": "Files", + "routeFilesDesc": "File manager", + "routeThought": "Thought", + "routeThoughtDesc": "AI assistant", + "routeCreatorHub": "Creator Hub", + "routeCreatorHubDesc": "Content creation tools", + "routeDeveloperHub": "Developer Hub", + "routeDeveloperHubDesc": "Developer tools", + "routeLogs": "Logs", + "routeLogsDesc": "Application logs", + "routeArticles": "Articles", + "routeArticlesDesc": "Web articles", + "routeLogin": "Login", + "routeLoginDesc": "Sign in to your account", + "routeCreateAccount": "Create Account", + "routeCreateAccountDesc": "Create a new account", + "routeSettings": "Settings", + "routeSettingsDesc": "Application settings", + "routeAbout": "About", + "routeAboutDesc": "About this app" } diff --git a/lib/screens/dashboard/dash.dart b/lib/screens/dashboard/dash.dart index 44b2fab8..d79bdcd8 100644 --- a/lib/screens/dashboard/dash.dart +++ b/lib/screens/dashboard/dash.dart @@ -51,10 +51,10 @@ class DashboardGrid extends HookConsumerWidget { spacing: 16, children: [ // Clock card spans full width - ClockCard().padding(horizontal: 24), + ClockCard().padding(horizontal: isWide ? 24 : 16), // Row with two cards side by side Padding( - padding: const EdgeInsets.symmetric(horizontal: 24), + padding: EdgeInsets.symmetric(horizontal: isWide ? 24 : 16), child: SearchBar( hintText: 'Search Anything...', constraints: const BoxConstraints(minHeight: 56), @@ -80,7 +80,7 @@ class DashboardGrid extends HookConsumerWidget { topLeft: isWide ? 0 : 12, topRight: isWide ? 0 : 12, ) - .padding(horizontal: isWide ? 0 : 24), + .padding(horizontal: isWide ? 0 : 16), ), ], ),