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

View File

@ -747,14 +747,14 @@
"title": "AI Max",
"description": "Unlimited AI responses powered by GPT-4o, Claude 3.5 Sonnet, and more",
"price": "{}",
"priceInfo": "per user per month billed annually",
"priceInfo": "Per user per month billed annually",
"recommend": ""
},
"aiOnDevice": {
"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 billed annually",
"priceInfo": "Per user per month billed annually",
"recommend": "Recommend M1 or newer"
}
},
@ -825,13 +825,13 @@
"title": "Free",
"description": "For individuals up to 2 members to organize everything",
"price": "{}",
"priceInfo": "free forever"
"priceInfo": "Free forever"
},
"proPlan": {
"title": "Pro",
"description": "For small teams to manage projects and team knowledge",
"price": "{}",
"priceInfo": "per user per month \nbilled annually\n\n{} billed monthly"
"priceInfo": "Per user per month \nbilled annually\n\n{} billed monthly"
},
"planLabels": {
"itemOne": "Workspaces",
@ -840,26 +840,29 @@
"itemFour": "Real-time collaboration",
"itemFive": "Mobile app",
"itemSix": "AI Responses",
"itemFileUpload": "File uploads",
"tooltipSix": "Lifetime means the number of responses never reset",
"intelligentSearch": "Intelligent search",
"tooltipSeven": "Allows you to customize part of the URL for your workspace"
},
"freeLabels": {
"itemOne": "charged per workspace",
"itemTwo": "up to 2",
"itemOne": "Charged per workspace",
"itemTwo": "Up to 2",
"itemThree": "5 GB",
"itemFour": "yes",
"itemFive": "yes",
"itemSix": "100 lifetime",
"itemFileUpload": "Up to 7 MB",
"intelligentSearch": "Intelligent search"
},
"proLabels": {
"itemOne": "charged per workspace",
"itemTwo": "up to 10",
"itemThree": "unlimited",
"itemOne": "Charged per workspace",
"itemTwo": "Up to 10",
"itemThree": "Unlimited",
"itemFour": "yes",
"itemFive": "yes",
"itemSix": "unlimited",
"itemSix": "Unlimited",
"itemFileUpload": "Unlimited",
"intelligentSearch": "Intelligent search"
},
"paymentSuccess": {
@ -2502,4 +2505,4 @@
"uploadFailedDescription": "The file upload failed",
"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(|| {
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 app_path = offline_app_path();
let mut watcher = notify::recommended_watcher(move |res: Result<Event, _>| match res {

View File

@ -815,7 +815,9 @@ impl DatabaseCollabService for WorkspaceDatabaseCollabServiceImpl {
}
},
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);
},
}