1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00
Daniel Neto 2024-10-09 17:27:31 -03:00
parent 9d1ad67b23
commit 5c1684c837
3 changed files with 3 additions and 3 deletions

View file

@ -21,7 +21,7 @@ Video::unsetAddView($video['id']);
AVideoPlugin::getEmbed($video['id']);
if (empty($video)) {
$msg = 'Video not found';
$msg = __('Video not found');
if (User::isAdmin()) {
$msg = "{$msg} " . json_encode($_GET);
}

View file

@ -28,7 +28,7 @@ $videos_id = intval($vars["v"]);
$video = Video::getVideo($videos_id);
if (empty($video)) {
forbiddenPage("Video not found");
forbiddenPage(__("Video not found"));
}
$format = 'json';

View file

@ -34,7 +34,7 @@ Video::unsetAddView($video['id']);
AVideoPlugin::getEmbed($video['id']);
if (empty($video)) {
$msg = 'Video not found';
$msg = __('Video not found');
if (User::isAdmin()) {
$msg = "{$msg} " . json_encode($_GET);
}