Skip to content

Commit 2c34582

Browse files
Jerome-Herbinetnickvergessen
authored andcommitted
Fix: Make wording "Unlock file manually" translatable
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
1 parent 9ae2552 commit 2c34582

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)