Skip to content

Commit 41744e7

Browse files
authored
Merge pull request #46 from nextcloud/fix/l10n
Fix notifications not getting translated
2 parents 0d8273f + c1adeaf commit 41744e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ import { showError, showSuccess } from '@nextcloud/dialogs'
5050
fileIds,
5151
target,
5252
})
53-
showSuccess('Creating zip archive started. We will notify you as soon as the archive is available.')
53+
showSuccess(t('files_zip', 'Creating zip archive started. We will notify you as soon as the archive is available.'))
5454
} catch (e) {
55-
showError('An error happened when trying to compress the file.')
55+
showError(t('files_zip', 'An error happened when trying to compress the file.'))
5656
}
5757
},
5858

0 commit comments

Comments
 (0)