From 9065a90ac020643bb459bb0e3934d40e14a1de41 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Thu, 26 Jan 2023 20:07:02 +0100 Subject: translations: Fix timeago for nb_NO. --- view/nb-no/hstrings.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'view/nb-no/hstrings.php') diff --git a/view/nb-no/hstrings.php b/view/nb-no/hstrings.php index ceb56ce8f..389215806 100644 --- a/view/nb-no/hstrings.php +++ b/view/nb-no/hstrings.php @@ -2,10 +2,10 @@ if(! function_exists("string_plural_select_nb_no")) { function string_plural_select_nb_no($n){ - return ($n != 1); + return ($n != 1 ? 1 : 0); }} App::$rtl = 0; -App::$strings["plural_function_code"] = "(n != 1)"; +App::$strings["plural_function_code"] = "(n != 1 ? 1 : 0)"; App::$strings["Default"] = "Standard"; App::$strings["Focus (Hubzilla default)"] = "Focus (Hubzilla standard)"; App::$strings["Submit"] = "Lagre"; @@ -1112,7 +1112,7 @@ App::$strings["%d years"] = array( ); App::$strings["timeago.prefixAgo"] = "timeago.prefixAgo"; App::$strings["timeago.prefixFromNow"] = "timeago.prefixFromNow"; -App::$strings["timeago.suffixAgo"] = ""; +App::$strings["timeago.suffixAgo"] = "siden"; App::$strings["timeago.suffixFromNow"] = ""; App::$strings["less than a minute"] = "mindre enn ett minutt"; App::$strings["about a minute"] = "omtrent et minutt"; -- cgit v1.2.3