Revert to stable version 3.5.4

This commit is contained in:
Hypolite Petovan 2018-02-11 19:00:01 -05:00
parent 38db18b624
commit 5360f08f42
355 changed files with 21449 additions and 4957 deletions

View file

@ -1,27 +0,0 @@
# ADDON rendertime
# Copyright (C)
# This file is distributed under the same license as the Friendica rendertime addon package.
#
#
# Translators:
# Thecross, 2017
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2017-12-04 22:24+0000\n"
"Last-Translator: Thecross\n"
"Language-Team: French (http://www.transifex.com/Friendica/friendica/language/fr/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: fr\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: rendertime.php:29
#, php-format
msgid ""
"Performance: Database: %s, Network: %s, Rendering: %s, Parser: %s, I/O: %s, "
"Other: %s, Total: %s"
msgstr "Performances: Base de données : %s, Réseau : %s, Rendu : %s, Parser : %s, Entrées/sorties : %s, Autre : %s, Total : %s"

View file

@ -1,8 +1,2 @@
<?php
if(! function_exists("string_plural_select_fr")) {
function string_plural_select_fr($n){
return ($n > 1);;
}}
;
$a->strings["Performance: Database: %s, Network: %s, Rendering: %s, Parser: %s, I/O: %s, Other: %s, Total: %s"] = "Performances: Base de données : %s, Réseau : %s, Rendu : %s, Parser : %s, Entrées/sorties : %s, Autre : %s, Total : %s";
<?php

View file

@ -9,8 +9,6 @@
*
*/
use Friendica\Core\Config;
function rendertime_install() {
register_hook('page_end', 'addon/rendertime/rendertime.php', 'rendertime_page_end');
}
@ -28,7 +26,7 @@ function rendertime_page_end(&$a, &$o) {
$duration = microtime(true)-$a->performance["start"];
$ignored_modules = ["fbrowser"];
$ignored_modules = array("fbrowser");
$ignored = in_array($a->module, $ignored_modules);
if (is_site_admin() && ($_GET["mode"] != "minimal") && !$a->is_mobile && !$a->is_tablet && !$ignored) {
@ -47,7 +45,7 @@ function rendertime_page_end(&$a, &$o) {
//round($a->performance["plugin"], 3)
)."</div>";
if (Config::get("rendertime", "callstack")) {
if (get_config("rendertime", "callstack")) {
$o .= "<pre>";
$o .= "\nDatabase Read:\n";
foreach ($a->callstack["database"] AS $func => $time) {