fix: workspace storage settings issues (#3055)

This commit is contained in:
Peng Xiao
2023-07-06 20:48:20 +08:00
committed by GitHub
parent 28653d6892
commit 00ce086e79
13 changed files with 105 additions and 40 deletions

View File

@@ -27,11 +27,11 @@ export const ModalCloseButton = ({
...props
}: ModalCloseButtonProps) => {
return absolute ? (
<StyledIconButton {...props}>
<StyledIconButton data-testid="modal-close-button" {...props}>
<CloseIcon />
</StyledIconButton>
) : (
<IconButton {...props}>
<IconButton data-testid="modal-close-button" {...props}>
<CloseIcon />
</IconButton>
);

View File

@@ -280,7 +280,8 @@
"UNKNOWN_ERROR": "Unbekannter Fehler",
"Open folder hint": "Prüfe, wo sich der Speicherordner befindet.",
"Storage Folder": "Speicherordner",
"Storage Folder Hint": "Speicherort überprüfen oder ändern.",
"com.affine.settings.storage.description": "Speicherort überprüfen oder ändern.",
"com.affine.settings.storage.description-alt": "Speicherort überprüfen oder ändern.",
"Sync across devices with AFFiNE Cloud": "Geräteübergreifende Synchronisierung mit AFFiNE Cloud",
"Name Your Workspace": "Workspace benennen",
"Update Available": "Update verfügbar",

View File

@@ -23,6 +23,9 @@
"com.affine.settings.about.update.download.message": "Automatically download updates (to this device).",
"com.affine.settings.about.update.check.message": "Automatically check for new updates periodically.",
"com.affine.settings.about.message": "Information about AFFiNE",
"com.affine.settings.storage.description": "Check or change storage location",
"com.affine.settings.storage.description-alt": "Check or change storage location. Click path to edit location.",
"com.affine.settings.storage.db-location.change-hint": "Click to move storage location.",
"com.affine.pageMode": "Page Mode",
"com.affine.edgelessMode": "Edgeless Mode",
"com.affine.onboarding.title1": "Hyper merged whiteboard and docs",
@@ -281,7 +284,6 @@
"Loading Page": "Loading Page",
"Favorite pages for easy access": "Favourite pages for easy access",
"emptySharedPages": "Shared pages will appear here.",
"Storage Folder Hint": "Check or change storage location. Click path to edit location.",
"You cannot delete the last workspace": "You cannot delete the last workspace",
"Synced with AFFiNE Cloud": "Synced with AFFiNE Cloud",
"Recent": "Recent",
@@ -305,8 +307,8 @@
"DB_FILE_ALREADY_LOADED": "Database file already loaded",
"UNKNOWN_ERROR": "Unknown error",
"Default Location": "Default Location",
"Open folder": "Open folder",
"Move folder": "Move folder",
"Open folder": "Open",
"Move folder": "Move",
"Set database location": "Set database location",
"Move folder hint": "Select a new storage location.",
"Storage Folder": "Storage Folder",

View File

@@ -298,7 +298,8 @@
"UNKNOWN_ERROR": "Erreur inconnue",
"Restart Install Client Update": "Redémarrez pour installer la mise à jour",
"Save": "Enregistrer",
"Storage Folder Hint": "Vérifier ou changer l'emplacement du lieu de stockage",
"com.affine.settings.storage.description": "Vérifier ou changer l'emplacement du lieu de stockage",
"com.affine.settings.storage.description-alt": "Vérifier ou changer l'emplacement du lieu de stockage",
"Use on current device only": "Utiliser seulement sur l'appareil actuel",
"Default db location hint": "Par défaut, elle sera enregistrée sous {{location}}",
"FILE_ALREADY_EXISTS": "Fichier déjà existant",

View File

@@ -212,7 +212,8 @@
"Sync across devices with AFFiNE Cloud": "AFFiNEクラウドでデバイス間を同期する",
"Stop publishing": "公開をやめる",
"Storage Folder": "ストレージフォルダー",
"Storage Folder Hint": "保存場所を確認または変更する",
"com.affine.settings.storage.description": "保存場所を確認または変更する",
"com.affine.settings.storage.description-alt": "保存場所を確認または変更する",
"Upload": "アップロード",
"Update Available": "アップデート可能",
"Update workspace name success": "ワークスペース名の更新に成功",

View File

@@ -377,7 +377,8 @@
"Shared Pages Description": "公开分享页面需要 AFFiNE Cloud 服务。",
"Shared Pages In Public Workspace Description": "整个工作区已在网络上发布,可以通过<1>工作区设置</1>进行编辑。",
"Storage Folder": "存储文件夹",
"Storage Folder Hint": "检查或更改存储位置。",
"com.affine.settings.storage.description": "检查或更改存储位置。",
"com.affine.settings.storage.description-alt": "检查或更改存储位置。点击路径调整存储位置。",
"Successfully deleted": "成功删除。",
"Sync across devices with AFFiNE Cloud": "使用 AFFiNE Cloud 在多个设备间进行同步",
"Synced with AFFiNE Cloud": "AFFiNE Cloud 同步完成",