🎨 改进云端同步试用超过最大存储提示文案

This commit is contained in:
Liang Ding 2022-09-14 09:43:48 +08:00
parent eefede8fff
commit 6341073ebe
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
6 changed files with 8 additions and 5 deletions

View file

@ -843,7 +843,7 @@
"65": "Exporting data...",
"66": "Data file [%s] created",
"67": "Uploaded at %s, downloaded at %s",
"68": "TODO",
"68": "The maximum storage capacity of the cloud space [%s] has exceeded the trial period, and the data upload cannot continue. After the subscription, the cloud storage capacity will be upgraded to [8 GB]",
"69": "Download completed",
"70": "Copy notebook [%s] file [%s] failed: %s",
"71": "Failed to insert asset file, please reopen the document",

View file

@ -843,7 +843,7 @@
"65": "Exportando datos...",
"66": "Archivo de datos [%s] creado",
"67": "Cargado en %s, descargado en %s",
"68": "TODO",
"68": "La capacidad máxima de almacenamiento del espacio en la nube [%s] ha excedido el período de prueba y la carga de datos no puede continuar. Después de la suscripción, la capacidad de almacenamiento en la nube se actualizará a 8GB",
"69": "Descarga completada",
"70": "Error en la copia del cuaderno [%s] del archivo [%s]: %s",
"71": "Fallo en la inserción del archivo de activos, por favor reabra el documento",

View file

@ -843,7 +843,7 @@
"65": "Exportation des données...",
"66": "Fichier de données [%s] créé",
"67": "Transféré à %s, téléchargé à %s",
"68": "TODO",
"68": "La capacité de stockage maximale de l'espace cloud [%s] a dépassé la période d'essai et le téléchargement des données ne peut pas continuer. Après l'abonnement, la capacité de stockage cloud sera mise à niveau à 8GB",
"69": "Téléchargement terminé",
"70": "La copie du carnet de notes [%s] du fichier [%s] a échoué : %s",
"71": "L'insertion du fichier asset a échoué, veuillez rouvrir le document.",

View file

@ -843,7 +843,7 @@
"65": "導出數據中...",
"66": "已創建資料檔案 [%s]",
"67": "上傳於 %s下載於 %s",
"68": "TODO",
"68": "已超過試用期雲端空間最大存儲容量 [%s],無法繼續上傳數據,訂閱後雲端存儲容量將升級為 8GB",
"69": "下載完畢",
"70": "複製筆記本 [%s] 下的檔 [%s] 失敗:%s",
"71": "插入資料檔失敗,請重新打開文檔",

View file

@ -844,7 +844,7 @@
"65": "导出数据中...",
"66": "已创建数据文件 [%s]",
"67": "上传于 %s下载于 %s",
"68": "TODO",
"68": "已超过试用期云端空间最大存储容量 [%s],无法继续上传数据,<a target='_blank' href='https://ld246.com/subscribe/siyuan'>订阅</a>后云端存储容量将升级为 [8 GB]",
"69": "下载完毕",
"70": "复制笔记本 [%s] 下的文件 [%s] 失败:%s",
"71": "插入资源文件失败,请重新打开文档",

View file

@ -521,6 +521,9 @@ func syncRepo(boot, exit, byHand bool) (err error) {
msg := fmt.Sprintf(Conf.Language(80), formatErrorMsg(err))
if errors.Is(err, dejavu.ErrCloudStorageSizeExceeded) {
msg = fmt.Sprintf(Conf.Language(43), humanize.Bytes(uint64(Conf.User.UserSiYuanRepoSize)))
if 2 == Conf.User.UserSiYuanSubscriptionPlan {
msg = fmt.Sprintf(Conf.Language(68), humanize.Bytes(uint64(Conf.User.UserSiYuanRepoSize)))
}
}
Conf.Sync.Stat = msg
util.PushStatusBar(msg)