From 0670a1ef3e676912d35f9bf5181ebd750ffc95ae Mon Sep 17 00:00:00 2001 From: Julius Knorr Date: Thu, 19 Dec 2024 16:33:48 +0100 Subject: [PATCH] fix: Improve tooltip descriptions Signed-off-by: Julius Knorr --- src/helper.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/helper.ts b/src/helper.ts index 2c3ae9b5..b76ed6a6 100644 --- a/src/helper.ts +++ b/src/helper.ts @@ -61,16 +61,16 @@ export const getInfoLabel = (node: Node): string => { if (state.lockOwnerType === LockType.User) { return state.isLocked - ? t('files_lock', 'Locked by {user}', { user: state.lockOwnerDisplayName }) + ? t('files_lock', 'Manually locked by {user}', { user: state.lockOwnerDisplayName }) : '' } else if (state.lockOwnerType === LockType.App) { return state.isLocked - ? t('files_lock', 'Locked by {app}', { app: state.lockOwnerDisplayName }) + ? t('files_lock', 'Locked by editing online in {app}', { app: state.lockOwnerDisplayName }) : '' } else { return state.isLocked - ? t('files_lock', 'Locked by {user}', { user: state.lockOwnerDisplayName }) + ? t('files_lock', 'Automatically locked by {user}', { user: state.lockOwnerDisplayName }) : '' }