From 5fbaf664bafa4f12d7a128bde7502fce530aea9f Mon Sep 17 00:00:00 2001 From: "Nathan.fooo" <86001920+appflowy@users.noreply.github.com> Date: Tue, 6 Aug 2024 16:01:32 +0800 Subject: [PATCH] chore: update translation (#5887) --- .../local_ai_chat_setting.dart | 1 - .../settings_plan_comparison_dialog.dart | 32 +++++++++++++------ .../shared/af_dropdown_menu_entry.dart | 2 +- frontend/resources/translations/de-DE.json | 2 +- frontend/resources/translations/en.json | 29 +++++++++-------- frontend/resources/translations/ru-RU.json | 2 +- frontend/resources/translations/tr-TR.json | 2 +- 7 files changed, 42 insertions(+), 28 deletions(-) diff --git a/frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/setting_ai_view/local_ai_chat_setting.dart b/frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/setting_ai_view/local_ai_chat_setting.dart index a87c0ddea7..fb66dad7a5 100644 --- a/frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/setting_ai_view/local_ai_chat_setting.dart +++ b/frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/setting_ai_view/local_ai_chat_setting.dart @@ -190,7 +190,6 @@ class _SelectLocalModelDropdownMenu extends StatelessWidget { context, value: llm, label: llm.chatModel, - padding: const EdgeInsets.symmetric(vertical: 8), ), ) .toList(), diff --git a/frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/settings_plan_comparison_dialog.dart b/frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/settings_plan_comparison_dialog.dart index 71687a271b..90d80d120f 100644 --- a/frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/settings_plan_comparison_dialog.dart +++ b/frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/settings_plan_comparison_dialog.dart @@ -660,14 +660,18 @@ final _planLabels = [ _PlanItem( label: LocaleKeys.settings_comparePlanDialog_planLabels_itemFive.tr(), ), + _PlanItem( + label: + LocaleKeys.settings_comparePlanDialog_planLabels_intelligentSearch.tr(), + ), _PlanItem( label: LocaleKeys.settings_comparePlanDialog_planLabels_itemSix.tr(), tooltip: LocaleKeys.settings_comparePlanDialog_planLabels_tooltipSix.tr(), ), - _PlanItem( - label: LocaleKeys.settings_comparePlanDialog_planLabels_itemSeven.tr(), - tooltip: LocaleKeys.settings_comparePlanDialog_planLabels_tooltipSeven.tr(), - ), + // _PlanItem( + // label: LocaleKeys.settings_comparePlanDialog_planLabels_itemSeven.tr(), + // tooltip: LocaleKeys.settings_comparePlanDialog_planLabels_tooltipSeven.tr(), + // ), ]; class _CellItem { @@ -696,11 +700,15 @@ final List<_CellItem> _freeLabels = [ icon: FlowySvgs.check_m, ), _CellItem( - LocaleKeys.settings_comparePlanDialog_freeLabels_itemSix.tr(), + LocaleKeys.settings_comparePlanDialog_freeLabels_intelligentSearch.tr(), + icon: FlowySvgs.check_m, ), _CellItem( - LocaleKeys.settings_comparePlanDialog_freeLabels_itemSeven.tr(), + LocaleKeys.settings_comparePlanDialog_freeLabels_itemSix.tr(), ), + // _CellItem( + // LocaleKeys.settings_comparePlanDialog_freeLabels_itemSeven.tr(), + // ), ]; final List<_CellItem> _proLabels = [ @@ -722,10 +730,14 @@ final List<_CellItem> _proLabels = [ icon: FlowySvgs.check_m, ), _CellItem( - LocaleKeys.settings_comparePlanDialog_proLabels_itemSix.tr(), - ), - _CellItem( - LocaleKeys.settings_comparePlanDialog_proLabels_itemSeven.tr(), + LocaleKeys.settings_comparePlanDialog_proLabels_intelligentSearch.tr(), icon: FlowySvgs.check_m, ), + _CellItem( + LocaleKeys.settings_comparePlanDialog_proLabels_itemSix.tr(), + ), + // _CellItem( + // LocaleKeys.settings_comparePlanDialog_proLabels_itemSeven.tr(), + // icon: FlowySvgs.check_m, + // ), ]; diff --git a/frontend/appflowy_flutter/lib/workspace/presentation/settings/shared/af_dropdown_menu_entry.dart b/frontend/appflowy_flutter/lib/workspace/presentation/settings/shared/af_dropdown_menu_entry.dart index 919db8329b..0d59dc7daa 100644 --- a/frontend/appflowy_flutter/lib/workspace/presentation/settings/shared/af_dropdown_menu_entry.dart +++ b/frontend/appflowy_flutter/lib/workspace/presentation/settings/shared/af_dropdown_menu_entry.dart @@ -13,7 +13,7 @@ DropdownMenuEntry buildDropdownMenuEntry( Widget? leadingWidget, Widget? trailingWidget, String? fontFamily, - EdgeInsets padding = const EdgeInsets.symmetric(vertical: 4), + EdgeInsets padding = const EdgeInsets.symmetric(vertical: 6), }) { final fontFamilyUsed = fontFamily != null ? getGoogleFontSafely(fontFamily).fontFamily ?? defaultFontFamily diff --git a/frontend/resources/translations/de-DE.json b/frontend/resources/translations/de-DE.json index 298d6f8d78..a2a107d032 100644 --- a/frontend/resources/translations/de-DE.json +++ b/frontend/resources/translations/de-DE.json @@ -158,7 +158,7 @@ "newBoardText": "Neues Board", "chat": { "newChat": "Neuer Chat", - "inputMessageHint": "Nachricht an @:appName AI", + "inputMessageHint": "Fragen Sie @:appName AI", "unsupportedCloudPrompt": "Diese Funktion ist nur bei Verwendung der @:appName Cloud verfügbar", "relatedQuestion": "Verwandt", "serverUnavailable": "Dienst vorübergehend nicht verfügbar. Bitte versuche es später erneut.", diff --git a/frontend/resources/translations/en.json b/frontend/resources/translations/en.json index 2619b0c488..09eb30e7e2 100644 --- a/frontend/resources/translations/en.json +++ b/frontend/resources/translations/en.json @@ -158,8 +158,8 @@ "newBoardText": "New board", "chat": { "newChat": "AI Chat", - "inputMessageHint": "Message @:appName AI", - "inputLocalAIMessageHint": "Message @:appName Local AI", + "inputMessageHint": "Ask @:appName AI", + "inputLocalAIMessageHint": "Ask @:appName Local AI", "unsupportedCloudPrompt": "This feature is only available when using @:appName Cloud", "relatedQuestion": "Related", "serverUnavailable": "Service Temporarily Unavailable. Please try again later.", @@ -698,10 +698,10 @@ "unlimitedAILabel": "Unlimited responses", "proBadge": "Pro", "aiMaxBadge": "AI Max", - "aiOnDeviceBadge": "AI On-device", + "aiOnDeviceBadge": "AI On-device for Mac", "memberProToggle": "More members & unlimited AI", - "aiMaxToggle": "Unlimited AI responses", - "aiOnDeviceToggle": "On-device AI for ultimate privacy", + "aiMaxToggle": "Unlimited AI and access to advanced models", + "aiOnDeviceToggle": "Local AI for ultimate privacy", "aiCredit": { "title": "Add @:appName AI Credit", "price": "{}", @@ -716,7 +716,7 @@ "freeTitle": "Free", "proTitle": "Pro", "teamTitle": "Team", - "freeInfo": "Perfect for individuals or small teams up to 3 members.", + "freeInfo": "Perfect for individuals up to 2 members to organize everything", "proInfo": "Perfect for small and medium teams up to 10 members.", "teamInfo": "Perfect for all productive and well-organized teams..", "upgrade": "Change plan", @@ -728,14 +728,14 @@ "activeLabel": "Added", "aiMax": { "title": "AI Max", - "description": "Unlock unlimited AI", + "description": "Unlimited AI responses powered by GPT-4o, Claude 3.5 Sonnet, and more", "price": "{}", "priceInfo": "per user per month", "billingInfo": "billed annually or {} billed monthly" }, "aiOnDevice": { - "title": "AI On-device", - "description": "AI offline on your device", + "title": "AI On-device for Mac", + "description": "Run Mistral 7B, LLAMA 3, and more local models on your machine", "price": "{}", "priceInfo": "per user per month", "billingInfo": "billed annually or {} billed monthly" @@ -777,10 +777,10 @@ "canceledDescription": "AI Max will be available until {}" }, "aiOnDevice": { - "label": "AI On-device", + "label": "AI On-device for Mac", "description": "Unlock unlimited AI offline on your device", "activeDescription": "Next invoice due on {}", - "canceledDescription": "AI On-device will be available until {}" + "canceledDescription": "AI On-device for Mac will be available until {}" }, "removeDialog": { "title": "Remove {}", @@ -806,7 +806,7 @@ }, "freePlan": { "title": "Free", - "description": "For individuals and small groups to organize everything", + "description": "For individuals up to 2 members to organize everything", "price": "{}", "priceInfo": "free forever" }, @@ -824,16 +824,18 @@ "itemFive": "Mobile app", "itemSix": "AI Responses", "tooltipSix": "Lifetime means the number of responses never reset", + "intelligentSearch": "Intelligent search", "itemSeven": "Custom namespace", "tooltipSeven": "Allows you to customize part of the URL for your workspace" }, "freeLabels": { "itemOne": "charged per workspace", - "itemTwo": "up to 3", + "itemTwo": "up to 2", "itemThree": "5 GB", "itemFour": "yes", "itemFive": "yes", "itemSix": "100 lifetime", + "intelligentSearch": "Intelligent search", "itemSeven": "" }, "proLabels": { @@ -843,6 +845,7 @@ "itemFour": "yes", "itemFive": "yes", "itemSix": "unlimited", + "intelligentSearch": "Intelligent search", "itemSeven": "" }, "paymentSuccess": { diff --git a/frontend/resources/translations/ru-RU.json b/frontend/resources/translations/ru-RU.json index ce999fca69..7fc3eaf054 100644 --- a/frontend/resources/translations/ru-RU.json +++ b/frontend/resources/translations/ru-RU.json @@ -162,7 +162,7 @@ "newBoardText": "Новая доска", "chat": { "newChat": "Чат с ИИ", - "inputMessageHint": "Написать ИИ @:appName", + "inputMessageHint": "Спросите ИИ @:appName", "unsupportedCloudPrompt": "Эта функция доступна только при использовании облака @:appName", "relatedQuestion": "Связано", "serverUnavailable": "Сервис временно недоступен. Пожалуйста, повторите попытку позже.", diff --git a/frontend/resources/translations/tr-TR.json b/frontend/resources/translations/tr-TR.json index 8966b46f8d..bb4ffa5bf3 100644 --- a/frontend/resources/translations/tr-TR.json +++ b/frontend/resources/translations/tr-TR.json @@ -2226,4 +2226,4 @@ "signInError": "Oturum açma hatası", "login": "Kaydolun veya giriş yapın" } -} +} \ No newline at end of file