chore: update plan desc (#6120)

This commit is contained in:
Nathan.fooo 2024-08-30 15:35:57 +08:00 committed by GitHub
parent 34c441f3ad
commit 29858dda7a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 26 additions and 16 deletions

View File

@ -668,6 +668,9 @@ final _planLabels = [
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(
label: LocaleKeys.settings_comparePlanDialog_planLabels_itemFileUpload.tr(),
),
]; ];
class _CellItem { class _CellItem {
@ -703,6 +706,9 @@ final List<_CellItem> _freeLabels = [
_CellItem( _CellItem(
label: LocaleKeys.settings_comparePlanDialog_freeLabels_itemSix.tr(), label: LocaleKeys.settings_comparePlanDialog_freeLabels_itemSix.tr(),
), ),
_CellItem(
label: LocaleKeys.settings_comparePlanDialog_freeLabels_itemFileUpload.tr(),
),
]; ];
final List<_CellItem> _proLabels = [ final List<_CellItem> _proLabels = [
@ -731,4 +737,7 @@ final List<_CellItem> _proLabels = [
_CellItem( _CellItem(
label: LocaleKeys.settings_comparePlanDialog_proLabels_itemSix.tr(), label: LocaleKeys.settings_comparePlanDialog_proLabels_itemSix.tr(),
), ),
_CellItem(
label: LocaleKeys.settings_comparePlanDialog_proLabels_itemFileUpload.tr(),
),
]; ];

View File

@ -747,14 +747,14 @@
"title": "AI Max", "title": "AI Max",
"description": "Unlimited AI responses powered by GPT-4o, Claude 3.5 Sonnet, and more", "description": "Unlimited AI responses powered by GPT-4o, Claude 3.5 Sonnet, and more",
"price": "{}", "price": "{}",
"priceInfo": "per user per month billed annually", "priceInfo": "Per user per month billed annually",
"recommend": "" "recommend": ""
}, },
"aiOnDevice": { "aiOnDevice": {
"title": "AI On-device for Mac", "title": "AI On-device for Mac",
"description": "Run Mistral 7B, LLAMA 3, and more local models on your machine", "description": "Run Mistral 7B, LLAMA 3, and more local models on your machine",
"price": "{}", "price": "{}",
"priceInfo": "per user per month billed annually", "priceInfo": "Per user per month billed annually",
"recommend": "Recommend M1 or newer" "recommend": "Recommend M1 or newer"
} }
}, },
@ -825,13 +825,13 @@
"title": "Free", "title": "Free",
"description": "For individuals up to 2 members to organize everything", "description": "For individuals up to 2 members to organize everything",
"price": "{}", "price": "{}",
"priceInfo": "free forever" "priceInfo": "Free forever"
}, },
"proPlan": { "proPlan": {
"title": "Pro", "title": "Pro",
"description": "For small teams to manage projects and team knowledge", "description": "For small teams to manage projects and team knowledge",
"price": "{}", "price": "{}",
"priceInfo": "per user per month \nbilled annually\n\n{} billed monthly" "priceInfo": "Per user per month \nbilled annually\n\n{} billed monthly"
}, },
"planLabels": { "planLabels": {
"itemOne": "Workspaces", "itemOne": "Workspaces",
@ -840,26 +840,29 @@
"itemFour": "Real-time collaboration", "itemFour": "Real-time collaboration",
"itemFive": "Mobile app", "itemFive": "Mobile app",
"itemSix": "AI Responses", "itemSix": "AI Responses",
"itemFileUpload": "File uploads",
"tooltipSix": "Lifetime means the number of responses never reset", "tooltipSix": "Lifetime means the number of responses never reset",
"intelligentSearch": "Intelligent search", "intelligentSearch": "Intelligent search",
"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 2", "itemTwo": "Up to 2",
"itemThree": "5 GB", "itemThree": "5 GB",
"itemFour": "yes", "itemFour": "yes",
"itemFive": "yes", "itemFive": "yes",
"itemSix": "100 lifetime", "itemSix": "100 lifetime",
"itemFileUpload": "Up to 7 MB",
"intelligentSearch": "Intelligent search" "intelligentSearch": "Intelligent search"
}, },
"proLabels": { "proLabels": {
"itemOne": "charged per workspace", "itemOne": "Charged per workspace",
"itemTwo": "up to 10", "itemTwo": "Up to 10",
"itemThree": "unlimited", "itemThree": "Unlimited",
"itemFour": "yes", "itemFour": "yes",
"itemFive": "yes", "itemFive": "yes",
"itemSix": "unlimited", "itemSix": "Unlimited",
"itemFileUpload": "Unlimited",
"intelligentSearch": "Intelligent search" "intelligentSearch": "Intelligent search"
}, },
"paymentSuccess": { "paymentSuccess": {
@ -2502,4 +2505,4 @@
"uploadFailedDescription": "The file upload failed", "uploadFailedDescription": "The file upload failed",
"uploadingDescription": "The file is being uploaded" "uploadingDescription": "The file is being uploaded"
} }
} }

View File

@ -16,10 +16,6 @@ pub fn watch_offline_app() -> FlowyResult<(WatchContext, UnboundedReceiver<Watch
let install_path = install_path().ok_or_else(|| { let install_path = install_path().ok_or_else(|| {
FlowyError::internal().with_context("Unsupported platform for offline app watching") FlowyError::internal().with_context("Unsupported platform for offline app watching")
})?; })?;
trace!(
"[LLM Resource] Start watching offline app path: {:?}",
install_path,
);
let (tx, rx) = unbounded_channel(); let (tx, rx) = unbounded_channel();
let app_path = offline_app_path(); let app_path = offline_app_path();
let mut watcher = notify::recommended_watcher(move |res: Result<Event, _>| match res { let mut watcher = notify::recommended_watcher(move |res: Result<Event, _>| match res {

View File

@ -815,7 +815,9 @@ impl DatabaseCollabService for WorkspaceDatabaseCollabServiceImpl {
} }
}, },
Err(err) => { Err(err) => {
error!("build collab: failed to get encode collab: {}", err); if !matches!(err, DatabaseError::ActionCancelled) {
error!("build collab: failed to get encode collab: {}", err);
}
return Err(err); return Err(err);
}, },
} }