Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
This commit is contained in:
commit
1c39fc71d9
6
boot.php
6
boot.php
@ -919,8 +919,7 @@ class App {
|
|||||||
$staticfilecwd = getcwd();
|
$staticfilecwd = getcwd();
|
||||||
$staticfilerealpath = realpath(self::$cmd);
|
$staticfilerealpath = realpath(self::$cmd);
|
||||||
if(strpos($staticfilerealpath,$staticfilecwd) !== 0) {
|
if(strpos($staticfilerealpath,$staticfilecwd) !== 0) {
|
||||||
header("HTTP/1.1 404 Not Found", true, 404);
|
http_status_exit(404,'not found');
|
||||||
killme();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$staticfileetag = '"'.md5($staticfilerealpath.filemtime(self::$cmd)).'"';
|
$staticfileetag = '"'.md5($staticfilerealpath.filemtime(self::$cmd)).'"';
|
||||||
@ -930,8 +929,7 @@ class App {
|
|||||||
// If HTTP_IF_NONE_MATCH is same as the generated ETag => content is the same as browser cache
|
// If HTTP_IF_NONE_MATCH is same as the generated ETag => content is the same as browser cache
|
||||||
// So send a 304 Not Modified response header and exit
|
// So send a 304 Not Modified response header and exit
|
||||||
if($_SERVER['HTTP_IF_NONE_MATCH'] == $staticfileetag) {
|
if($_SERVER['HTTP_IF_NONE_MATCH'] == $staticfileetag) {
|
||||||
header('HTTP/1.1 304 Not Modified', true, 304);
|
http_status_exit(304,'not modified');
|
||||||
killme();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
header("Content-type: ".$serve_rawfiles[$filext]);
|
header("Content-type: ".$serve_rawfiles[$filext]);
|
||||||
|
@ -761,7 +761,7 @@ function service_class_fetch($uid, $property) {
|
|||||||
if(! is_array($arr) || (! count($arr)))
|
if(! is_array($arr) || (! count($arr)))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
return((array_key_exists($property, $arr)) ? $arr[$property] : false);
|
return((array_key_exists($property, $arr) && $arr[$property] != 0) ? $arr[$property] : false);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -12,7 +12,7 @@ msgstr ""
|
|||||||
"Project-Id-Version: hubzilla\n"
|
"Project-Id-Version: hubzilla\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2019-06-18 20:23+0200\n"
|
"POT-Creation-Date: 2019-06-18 20:23+0200\n"
|
||||||
"PO-Revision-Date: 2019-06-18 20:27+0200\n"
|
"PO-Revision-Date: 2019-07-31 19:37+0200\n"
|
||||||
"Last-Translator: Max Kostikov <max@kostikov.co>\n"
|
"Last-Translator: Max Kostikov <max@kostikov.co>\n"
|
||||||
"Language-Team: Russian (http://www.transifex.com/Friendica/hubzilla/language/ru/)\n"
|
"Language-Team: Russian (http://www.transifex.com/Friendica/hubzilla/language/ru/)\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
@ -4697,7 +4697,7 @@ msgstr "Публикация не найдена"
|
|||||||
#: ../../Zotlabs/Module/Tagger.php:119
|
#: ../../Zotlabs/Module/Tagger.php:119
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%1$s tagged %2$s's %3$s with %4$s"
|
msgid "%1$s tagged %2$s's %3$s with %4$s"
|
||||||
msgstr "%1$s отметил тегом %2$s %3$s с %4$s"
|
msgstr "%1$s отметил тегом %4$s %3$s %2$s"
|
||||||
|
|
||||||
#: ../../Zotlabs/Module/Directory.php:116
|
#: ../../Zotlabs/Module/Directory.php:116
|
||||||
msgid "No default suggestions were found."
|
msgid "No default suggestions were found."
|
||||||
@ -7257,7 +7257,7 @@ msgstr "Центр уведомлений по email (имя хоста)"
|
|||||||
msgid ""
|
msgid ""
|
||||||
"If your channel is mirrored to multiple hubs, set this to your preferred "
|
"If your channel is mirrored to multiple hubs, set this to your preferred "
|
||||||
"location. This will prevent duplicate email notifications. Example: %s"
|
"location. This will prevent duplicate email notifications. Example: %s"
|
||||||
msgstr "Если ваш канал зеркалируется в нескольких местах, это ваше предпочтительное местоположение. Это должно предотвратить дублирование уведомлений по email. Например: %s"
|
msgstr "Если ваш канал зеркалируется в нескольких местах, это ваше предпочтительное местоположение. Это должно предотвратить дублировать уведомлений по email. Например: %s"
|
||||||
|
|
||||||
#: ../../Zotlabs/Module/Settings/Channel.php:581
|
#: ../../Zotlabs/Module/Settings/Channel.php:581
|
||||||
msgid "Show new wall posts, private messages and connections under Notices"
|
msgid "Show new wall posts, private messages and connections under Notices"
|
||||||
|
@ -1036,7 +1036,7 @@ App::$strings["Make this post private"] = "Сделать эту публика
|
|||||||
App::$strings["Remote privacy information not available."] = "Удаленная информация о конфиденциальности недоступна.";
|
App::$strings["Remote privacy information not available."] = "Удаленная информация о конфиденциальности недоступна.";
|
||||||
App::$strings["Visible to:"] = "Видимо для:";
|
App::$strings["Visible to:"] = "Видимо для:";
|
||||||
App::$strings["Post not found."] = "Публикация не найдена";
|
App::$strings["Post not found."] = "Публикация не найдена";
|
||||||
App::$strings["%1\$s tagged %2\$s's %3\$s with %4\$s"] = "%1\$s отметил тегом %2\$s %3\$s с %4\$s";
|
App::$strings["%1\$s tagged %2\$s's %3\$s with %4\$s"] = "%1\$s отметил тегом %4\$s %3\$s %2\$s";
|
||||||
App::$strings["No default suggestions were found."] = "Предложений по умолчанию не найдено.";
|
App::$strings["No default suggestions were found."] = "Предложений по умолчанию не найдено.";
|
||||||
App::$strings["%d rating"] = array(
|
App::$strings["%d rating"] = array(
|
||||||
0 => "%d оценка",
|
0 => "%d оценка",
|
||||||
@ -1627,7 +1627,7 @@ App::$strings["Unseen public stream activity"] = "Невидимая актив
|
|||||||
App::$strings["Unseen likes and dislikes"] = "Невидимые лайки и дислайки";
|
App::$strings["Unseen likes and dislikes"] = "Невидимые лайки и дислайки";
|
||||||
App::$strings["Unseen forum posts"] = "Невидимые публикации на форуме";
|
App::$strings["Unseen forum posts"] = "Невидимые публикации на форуме";
|
||||||
App::$strings["Email notification hub (hostname)"] = "Центр уведомлений по email (имя хоста)";
|
App::$strings["Email notification hub (hostname)"] = "Центр уведомлений по email (имя хоста)";
|
||||||
App::$strings["If your channel is mirrored to multiple hubs, set this to your preferred location. This will prevent duplicate email notifications. Example: %s"] = "Если ваш канал зеркалируется в нескольких местах, это ваше предпочтительное местоположение. Это должно предотвратить дублирование уведомлений по email. Например: %s";
|
App::$strings["If your channel is mirrored to multiple hubs, set this to your preferred location. This will prevent duplicate email notifications. Example: %s"] = "Если ваш канал зеркалируется в нескольких местах, это ваше предпочтительное местоположение. Это должно предотвратить дублировать уведомлений по email. Например: %s";
|
||||||
App::$strings["Show new wall posts, private messages and connections under Notices"] = "Показать новые сообщения на стене, личные сообщения и контакты в \"Уведомлениях\"";
|
App::$strings["Show new wall posts, private messages and connections under Notices"] = "Показать новые сообщения на стене, личные сообщения и контакты в \"Уведомлениях\"";
|
||||||
App::$strings["Notify me of events this many days in advance"] = "Уведомлять меня о событиях заранее, дней";
|
App::$strings["Notify me of events this many days in advance"] = "Уведомлять меня о событиях заранее, дней";
|
||||||
App::$strings["Must be greater than 0"] = "Должно быть больше 0";
|
App::$strings["Must be greater than 0"] = "Должно быть больше 0";
|
||||||
|
Reference in New Issue
Block a user