chore: update translation (#5887)

This commit is contained in:
Nathan.fooo
2024-08-06 16:01:32 +08:00
committed by GitHub
parent 41a346c7ed
commit 5fbaf664ba
7 changed files with 42 additions and 28 deletions

View File

@ -190,7 +190,6 @@ class _SelectLocalModelDropdownMenu extends StatelessWidget {
context, context,
value: llm, value: llm,
label: llm.chatModel, label: llm.chatModel,
padding: const EdgeInsets.symmetric(vertical: 8),
), ),
) )
.toList(), .toList(),

View File

@ -660,14 +660,18 @@ final _planLabels = [
_PlanItem( _PlanItem(
label: LocaleKeys.settings_comparePlanDialog_planLabels_itemFive.tr(), label: LocaleKeys.settings_comparePlanDialog_planLabels_itemFive.tr(),
), ),
_PlanItem(
label:
LocaleKeys.settings_comparePlanDialog_planLabels_intelligentSearch.tr(),
),
_PlanItem( _PlanItem(
label: LocaleKeys.settings_comparePlanDialog_planLabels_itemSix.tr(), label: LocaleKeys.settings_comparePlanDialog_planLabels_itemSix.tr(),
tooltip: LocaleKeys.settings_comparePlanDialog_planLabels_tooltipSix.tr(), tooltip: LocaleKeys.settings_comparePlanDialog_planLabels_tooltipSix.tr(),
), ),
_PlanItem( // _PlanItem(
label: LocaleKeys.settings_comparePlanDialog_planLabels_itemSeven.tr(), // label: LocaleKeys.settings_comparePlanDialog_planLabels_itemSeven.tr(),
tooltip: LocaleKeys.settings_comparePlanDialog_planLabels_tooltipSeven.tr(), // tooltip: LocaleKeys.settings_comparePlanDialog_planLabels_tooltipSeven.tr(),
), // ),
]; ];
class _CellItem { class _CellItem {
@ -696,11 +700,15 @@ final List<_CellItem> _freeLabels = [
icon: FlowySvgs.check_m, icon: FlowySvgs.check_m,
), ),
_CellItem( _CellItem(
LocaleKeys.settings_comparePlanDialog_freeLabels_itemSix.tr(), LocaleKeys.settings_comparePlanDialog_freeLabels_intelligentSearch.tr(),
icon: FlowySvgs.check_m,
), ),
_CellItem( _CellItem(
LocaleKeys.settings_comparePlanDialog_freeLabels_itemSeven.tr(), LocaleKeys.settings_comparePlanDialog_freeLabels_itemSix.tr(),
), ),
// _CellItem(
// LocaleKeys.settings_comparePlanDialog_freeLabels_itemSeven.tr(),
// ),
]; ];
final List<_CellItem> _proLabels = [ final List<_CellItem> _proLabels = [
@ -722,10 +730,14 @@ final List<_CellItem> _proLabels = [
icon: FlowySvgs.check_m, icon: FlowySvgs.check_m,
), ),
_CellItem( _CellItem(
LocaleKeys.settings_comparePlanDialog_proLabels_itemSix.tr(), LocaleKeys.settings_comparePlanDialog_proLabels_intelligentSearch.tr(),
),
_CellItem(
LocaleKeys.settings_comparePlanDialog_proLabels_itemSeven.tr(),
icon: FlowySvgs.check_m, icon: FlowySvgs.check_m,
), ),
_CellItem(
LocaleKeys.settings_comparePlanDialog_proLabels_itemSix.tr(),
),
// _CellItem(
// LocaleKeys.settings_comparePlanDialog_proLabels_itemSeven.tr(),
// icon: FlowySvgs.check_m,
// ),
]; ];

View File

@ -13,7 +13,7 @@ DropdownMenuEntry<T> buildDropdownMenuEntry<T>(
Widget? leadingWidget, Widget? leadingWidget,
Widget? trailingWidget, Widget? trailingWidget,
String? fontFamily, String? fontFamily,
EdgeInsets padding = const EdgeInsets.symmetric(vertical: 4), EdgeInsets padding = const EdgeInsets.symmetric(vertical: 6),
}) { }) {
final fontFamilyUsed = fontFamily != null final fontFamilyUsed = fontFamily != null
? getGoogleFontSafely(fontFamily).fontFamily ?? defaultFontFamily ? getGoogleFontSafely(fontFamily).fontFamily ?? defaultFontFamily

View File

@ -158,7 +158,7 @@
"newBoardText": "Neues Board", "newBoardText": "Neues Board",
"chat": { "chat": {
"newChat": "Neuer 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", "unsupportedCloudPrompt": "Diese Funktion ist nur bei Verwendung der @:appName Cloud verfügbar",
"relatedQuestion": "Verwandt", "relatedQuestion": "Verwandt",
"serverUnavailable": "Dienst vorübergehend nicht verfügbar. Bitte versuche es später erneut.", "serverUnavailable": "Dienst vorübergehend nicht verfügbar. Bitte versuche es später erneut.",

View File

@ -158,8 +158,8 @@
"newBoardText": "New board", "newBoardText": "New board",
"chat": { "chat": {
"newChat": "AI Chat", "newChat": "AI Chat",
"inputMessageHint": "Message @:appName AI", "inputMessageHint": "Ask @:appName AI",
"inputLocalAIMessageHint": "Message @:appName Local AI", "inputLocalAIMessageHint": "Ask @:appName Local AI",
"unsupportedCloudPrompt": "This feature is only available when using @:appName Cloud", "unsupportedCloudPrompt": "This feature is only available when using @:appName Cloud",
"relatedQuestion": "Related", "relatedQuestion": "Related",
"serverUnavailable": "Service Temporarily Unavailable. Please try again later.", "serverUnavailable": "Service Temporarily Unavailable. Please try again later.",
@ -698,10 +698,10 @@
"unlimitedAILabel": "Unlimited responses", "unlimitedAILabel": "Unlimited responses",
"proBadge": "Pro", "proBadge": "Pro",
"aiMaxBadge": "AI Max", "aiMaxBadge": "AI Max",
"aiOnDeviceBadge": "AI On-device", "aiOnDeviceBadge": "AI On-device for Mac",
"memberProToggle": "More members & unlimited AI", "memberProToggle": "More members & unlimited AI",
"aiMaxToggle": "Unlimited AI responses", "aiMaxToggle": "Unlimited AI and access to advanced models",
"aiOnDeviceToggle": "On-device AI for ultimate privacy", "aiOnDeviceToggle": "Local AI for ultimate privacy",
"aiCredit": { "aiCredit": {
"title": "Add @:appName AI Credit", "title": "Add @:appName AI Credit",
"price": "{}", "price": "{}",
@ -716,7 +716,7 @@
"freeTitle": "Free", "freeTitle": "Free",
"proTitle": "Pro", "proTitle": "Pro",
"teamTitle": "Team", "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.", "proInfo": "Perfect for small and medium teams up to 10 members.",
"teamInfo": "Perfect for all productive and well-organized teams..", "teamInfo": "Perfect for all productive and well-organized teams..",
"upgrade": "Change plan", "upgrade": "Change plan",
@ -728,14 +728,14 @@
"activeLabel": "Added", "activeLabel": "Added",
"aiMax": { "aiMax": {
"title": "AI Max", "title": "AI Max",
"description": "Unlock unlimited AI", "description": "Unlimited AI responses powered by GPT-4o, Claude 3.5 Sonnet, and more",
"price": "{}", "price": "{}",
"priceInfo": "per user per month", "priceInfo": "per user per month",
"billingInfo": "billed annually or {} billed monthly" "billingInfo": "billed annually or {} billed monthly"
}, },
"aiOnDevice": { "aiOnDevice": {
"title": "AI On-device", "title": "AI On-device for Mac",
"description": "AI offline on your device", "description": "Run Mistral 7B, LLAMA 3, and more local models on your machine",
"price": "{}", "price": "{}",
"priceInfo": "per user per month", "priceInfo": "per user per month",
"billingInfo": "billed annually or {} billed monthly" "billingInfo": "billed annually or {} billed monthly"
@ -777,10 +777,10 @@
"canceledDescription": "AI Max will be available until {}" "canceledDescription": "AI Max will be available until {}"
}, },
"aiOnDevice": { "aiOnDevice": {
"label": "AI On-device", "label": "AI On-device for Mac",
"description": "Unlock unlimited AI offline on your device", "description": "Unlock unlimited AI offline on your device",
"activeDescription": "Next invoice due on {}", "activeDescription": "Next invoice due on {}",
"canceledDescription": "AI On-device will be available until {}" "canceledDescription": "AI On-device for Mac will be available until {}"
}, },
"removeDialog": { "removeDialog": {
"title": "Remove {}", "title": "Remove {}",
@ -806,7 +806,7 @@
}, },
"freePlan": { "freePlan": {
"title": "Free", "title": "Free",
"description": "For individuals and small groups to organize everything", "description": "For individuals up to 2 members to organize everything",
"price": "{}", "price": "{}",
"priceInfo": "free forever" "priceInfo": "free forever"
}, },
@ -824,16 +824,18 @@
"itemFive": "Mobile app", "itemFive": "Mobile app",
"itemSix": "AI Responses", "itemSix": "AI Responses",
"tooltipSix": "Lifetime means the number of responses never reset", "tooltipSix": "Lifetime means the number of responses never reset",
"intelligentSearch": "Intelligent search",
"itemSeven": "Custom namespace", "itemSeven": "Custom namespace",
"tooltipSeven": "Allows you to customize part of the URL for your workspace" "tooltipSeven": "Allows you to customize part of the URL for your workspace"
}, },
"freeLabels": { "freeLabels": {
"itemOne": "charged per workspace", "itemOne": "charged per workspace",
"itemTwo": "up to 3", "itemTwo": "up to 2",
"itemThree": "5 GB", "itemThree": "5 GB",
"itemFour": "yes", "itemFour": "yes",
"itemFive": "yes", "itemFive": "yes",
"itemSix": "100 lifetime", "itemSix": "100 lifetime",
"intelligentSearch": "Intelligent search",
"itemSeven": "" "itemSeven": ""
}, },
"proLabels": { "proLabels": {
@ -843,6 +845,7 @@
"itemFour": "yes", "itemFour": "yes",
"itemFive": "yes", "itemFive": "yes",
"itemSix": "unlimited", "itemSix": "unlimited",
"intelligentSearch": "Intelligent search",
"itemSeven": "" "itemSeven": ""
}, },
"paymentSuccess": { "paymentSuccess": {

View File

@ -162,7 +162,7 @@
"newBoardText": "Новая доска", "newBoardText": "Новая доска",
"chat": { "chat": {
"newChat": "Чат с ИИ", "newChat": "Чат с ИИ",
"inputMessageHint": "Написать ИИ @:appName", "inputMessageHint": "Спросите ИИ @:appName",
"unsupportedCloudPrompt": "Эта функция доступна только при использовании облака @:appName", "unsupportedCloudPrompt": "Эта функция доступна только при использовании облака @:appName",
"relatedQuestion": "Связано", "relatedQuestion": "Связано",
"serverUnavailable": "Сервис временно недоступен. Пожалуйста, повторите попытку позже.", "serverUnavailable": "Сервис временно недоступен. Пожалуйста, повторите попытку позже.",

View File

@ -2226,4 +2226,4 @@
"signInError": "Oturum açma hatası", "signInError": "Oturum açma hatası",
"login": "Kaydolun veya giriş yapın" "login": "Kaydolun veya giriş yapın"
} }
} }