front: use same picker title for images and media

This commit is contained in:
wukko 2024-01-28 13:59:18 +06:00
parent 1f7089744d
commit d73d431eec
2 changed files with 1 additions and 2 deletions

View file

@ -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");

View file

@ -637,7 +637,6 @@ export default function(obj) {
'MediaPickerTitle',
'MediaPickerExplanationPhone',
'MediaPickerExplanationPC',
'ImagePickerTitle',
'ImagePickerExplanationPhone',
'ImagePickerExplanationPC',
'FeatureErrorGeneric',