Skip to content

Commit

Permalink
l10n for the image dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
wginolas committed Oct 17, 2023
1 parent 9716a13 commit de4971d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions l10n/de.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ OC.L10N.register(
"Open in CryptPad": "Mit CryptPad bearbeiten",
"Error while opening file": "Fehler beim öffnen der Datei",
"The CryptPad instance is not configured correctly. Please contact your admin.": "Die CryptPad-Instanz ist nicht korrekt konfiguriert. Bitte kontaktieren Sie Ihren Admin.",
"Pick an image": "Bitte wählen Sie ein Bild",
},
"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
1 change: 1 addition & 0 deletions l10n/fr.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ OC.L10N.register(
"Open in CryptPad": "Modifier avec CryptPad",
"Error while opening file": "Erreur lors de l'ouverture d'un fichier",
"The CryptPad instance is not configured correctly. Please contact your admin.": "L'instance CryptPad n'est pas configurée correctement. Veuillez contacter votre administrateur.",
"Pick an image": "Choisir une image",
},
"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
2 changes: 1 addition & 1 deletion src/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ window.addEventListener('DOMContentLoaded', async function() {
})

async function onInsertImage(data, callback) {

Check warning on line 61 in src/editor.js

View workflow job for this annotation

GitHub Actions / eslint

Missing JSDoc comment
const filepicker = getFilePickerBuilder('Pick an image')
const filepicker = getFilePickerBuilder(t('openincryptpad', 'Pick an image'))
.addMimeTypeFilter('image/*')
.addMimeTypeFilter('application/x-drawio')
.build()
Expand Down

0 comments on commit de4971d

Please sign in to comment.