From ce24b868410e34ab60a489b954e450429d51c519 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 14 Mar 2026 10:29:48 +0000 Subject: [PATCH] fix fatal error in italian hstrings.php --- boot.php | 1 + view/lang/it/hstrings.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/boot.php b/boot.php index 420637125..c020d9c90 100644 --- a/boot.php +++ b/boot.php @@ -1256,6 +1256,7 @@ class App { self::$meta->set('generator', Zotlabs\Lib\System::get_platform_name()); self::$meta->set('theme-color', $theme_color); + self::$meta->set('accent-color', $theme_color); head_add_link(['rel' => 'shortcut icon', 'href' => static::head_get_icon()]); head_add_link(['rel' => 'apple-touch-icon', 'href' => '/images/app/hz-192.png']); diff --git a/view/lang/it/hstrings.php b/view/lang/it/hstrings.php index bf6b5b686..d8cf5a81e 100644 --- a/view/lang/it/hstrings.php +++ b/view/lang/it/hstrings.php @@ -2,10 +2,10 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return $n == 1 ? 0 : $n != 0 && $n % 1000000 == 0 ? 1 : 2; + return (($n == 1) ? 0 : (($n != 0 && $n % 1000000 == 0) ? 1 : 2)); }} App::$rtl = 0; -App::$strings["plural_function_code"] = "n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2"; +App::$strings["plural_function_code"] = "((n == 1) ? 0 : ((n != 0 && n % 1000000 == 0) ? 1 : 2))"; App::$strings["Source channel not found."] = "Origine del canale non trovata"; App::$strings["Default"] = "Predefinito"; App::$strings["Focus (Hubzilla default)"] = "Focus (predefinito)";