Skip to content

Conversation

@Jerome-Herbinet
Copy link
Member

Hoping the syntax has no issue.
Test from reviewers needed.

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

Make wording "Unlock file manually" translatable

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
@Jerome-Herbinet Jerome-Herbinet force-pushed the Jerome-Herbinet-make-unlock-file-manually-translatable branch from 473eeac to 47aabbb Compare October 24, 2025 12:29

if (lock?.lockOwnerType === LockType.Token) {
const dialog = getDialogBuilder('Unlock file manually')
const dialog = getDialogBuilder('files_lock', 'Unlock file manually')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const dialog = getDialogBuilder('files_lock', 'Unlock file manually')
const dialog = getDialogBuilder(t('files_lock', 'Unlock file manually'))

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, it needs a further adjustment to call the translate function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants