fix(pda), chore(locale): adapt for pda

This commit is contained in:
veselcraft 2025-04-19 17:30:27 +03:00
parent 3e0c508ca1
commit c8a8e2a76c
No known key found for this signature in database
GPG key ID: 9CF0B42766CCF7BA
3 changed files with 8 additions and 1 deletions

View file

@ -371,7 +371,11 @@ abstract class OpenVKPresenter extends SimplePresenter
$whichbrowser->isEngine('NetFront') || // PSP and other japanese portable systems $whichbrowser->isEngine('NetFront') || // PSP and other japanese portable systems
$whichbrowser->isOs('Android') || $whichbrowser->isOs('Android') ||
$whichbrowser->isOs('iOS') || $whichbrowser->isOs('iOS') ||
$whichbrowser->isBrowser('Internet Explorer', '<=', '8')) { $whichbrowser->isBrowser('BlackBerry Browser') ||
$whichbrowser->isBrowser('Internet Explorer', '<=', '8') ||
$whichbrowser->isBrowser('Firefox', '<=', '47') ||
$whichbrowser->isBrowser('Safari', '<=', '7') ||
$whichbrowser->isBrowser('Google Chrome', '<=', '35')) {
// yeah, it's old, but ios and android are? // yeah, it's old, but ios and android are?
if ($whichbrowser->isOs('iOS') && $whichbrowser->isOs('iOS', '<=', '9')) { if ($whichbrowser->isOs('iOS') && $whichbrowser->isOs('iOS', '<=', '9')) {
return true; return true;

View file

@ -2235,6 +2235,7 @@
"mobile_like" = "Like"; "mobile_like" = "Like";
"mobile_user_info_hide" = "Hide"; "mobile_user_info_hide" = "Hide";
"mobile_user_info_show_details" = "Show details"; "mobile_user_info_show_details" = "Show details";
"mobile_attachment_only_for_pc" = "This attachments is not implemented for PDA version. Please, view it on PC.";
/* Fullscreen player */ /* Fullscreen player */

View file

@ -2130,6 +2130,7 @@
"mobile_like" = "Нравится"; "mobile_like" = "Нравится";
"mobile_user_info_hide" = "Скрыть"; "mobile_user_info_hide" = "Скрыть";
"mobile_user_info_show_details" = "Показать подробнее"; "mobile_user_info_show_details" = "Показать подробнее";
"mobile_attachment_only_for_pc" = "Вложение недоступно в PDA версии, его просмотр возможен только с другого устройства";
/* Fullscreen player */ /* Fullscreen player */
@ -2306,3 +2307,4 @@
"faves_few" = "$1 закладки"; "faves_few" = "$1 закладки";
"faves_many" = "$1 закладок"; "faves_many" = "$1 закладок";
"faves_other" = "$1 закладок"; "faves_other" = "$1 закладок";