From d73d431eeccbc82be4ec06dbf34c96d1b112b045 Mon Sep 17 00:00:00 2001 From: wukko Date: Sun, 28 Jan 2024 13:59:18 +0600 Subject: [PATCH] front: use same picker title for images and media --- src/front/cobalt.js | 2 +- src/modules/pageRender/page.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/front/cobalt.js b/src/front/cobalt.js index ad647f14..8c7ef4d2 100644 --- a/src/front/cobalt.js +++ b/src/front/cobalt.js @@ -223,7 +223,7 @@ function popup(type, action, text) { case "picker": switch (text.type) { case "images": - eid("picker-title").innerHTML = loc.ImagePickerTitle; + eid("picker-title").innerHTML = loc.MediaPickerTitle; eid("picker-subtitle").innerHTML = isMobile ? loc.ImagePickerExplanationPhone : loc.ImagePickerExplanationPC; eid("picker-holder").classList.remove("various"); diff --git a/src/modules/pageRender/page.js b/src/modules/pageRender/page.js index 83c2edcb..3b46cbce 100644 --- a/src/modules/pageRender/page.js +++ b/src/modules/pageRender/page.js @@ -637,7 +637,6 @@ export default function(obj) { 'MediaPickerTitle', 'MediaPickerExplanationPhone', 'MediaPickerExplanationPC', - 'ImagePickerTitle', 'ImagePickerExplanationPhone', 'ImagePickerExplanationPC', 'FeatureErrorGeneric',