Skip to content

Commit 0ff7f80

Browse files
Merge pull request #864 from nextcloud/Jerome-Herbinet-make-unlock-file-manually-translatable
Make wording "Unlock file manually" translatable
2 parents 9ae2552 + 2c34582 commit 0ff7f80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ const menuAction = new FileAction({
159159
const lock = getLockStateFromAttributes(node)
160160

161161
if (lock?.lockOwnerType === LockType.Token) {
162-
const dialog = getDialogBuilder('Unlock file manually')
162+
const dialog = getDialogBuilder(t('files_lock', 'files_lock', 'Unlock file manually'))
163163
.setText(t('files_lock', 'This file has been locked automatically by a client. Removing the lock may lead to a conflict saving the file.'))
164164
.setSeverity('warning')
165165
.addButton({

0 commit comments

Comments
 (0)