Better wording for the image file picker
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
Родитель
5c4ff3b4dc
Коммит
f32542b40b
|
@ -658,7 +658,7 @@ var documentsMain = {
|
|||
$buttons.eq(1).text(t('richdocuments', 'Save'));
|
||||
});
|
||||
} else if (msgId === 'UI_InsertGraphic') {
|
||||
parent.OC.dialogs.filepicker(t('richdocuments', 'Insert Graphic'), function(path, type) {
|
||||
parent.OC.dialogs.filepicker(t('richdocuments', 'Insert from {name}', { name: oc_defaults.name }), function(path, type) {
|
||||
if (type === OC.dialogs.FILEPICKER_TYPE_CHOOSE) {
|
||||
var filename = path.substring(path.lastIndexOf('/') + 1);
|
||||
$.ajax({
|
||||
|
|
Загрузка…
Ссылка в новой задаче