From: Tobias Diekershoff Date: Mon, 1 Feb 2021 17:47:38 +0000 (+0100) Subject: regenerated all strings.php files from the current translation strings (message.po) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=500aab3c5310692dadf382b492479a6d6e1660cf;p=friendica-addons.git regenerated all strings.php files from the current translation strings (message.po) --- diff --git a/advancedcontentfilter/lang/ca/strings.php b/advancedcontentfilter/lang/ca/strings.php index 9afcfdb2..3b02a4f3 100644 --- a/advancedcontentfilter/lang/ca/strings.php +++ b/advancedcontentfilter/lang/ca/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ca")) { function string_plural_select_ca($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Filtered by rule: %s"] = "Filtrat per regla: %s"; @@ -11,9 +11,7 @@ $a->strings["Advanced Content Filter"] = "Contingut avançat Filtre"; $a->strings["Back to Addon Settings"] = "Torna Addon Configuració"; $a->strings["Add a Rule"] = "Afegiu una regla"; $a->strings["Help"] = "Ajuda"; -$a->strings["Add and manage your personal content filter rules in this screen. Rules have a name and an arbitrary expression that will be matched against post data. For a complete reference of the available operations and variables, check the help page."] = "Afegiu i gestioneu les vostres regles de filtre de contingut personal en aquesta pantalla. Les regles tenen un nom i una expressió arbitrària que es combinen amb les dades de la publicació. Per obtenir una referència completa de les variables i operacions disponibles, comproveu el botó pàgina d’ajuda."; $a->strings["Your rules"] = "Les seves normes"; -$a->strings["You have no rules yet! Start adding one by clicking on the button above next to the title."] = "Encara no teniu normes. Comenceu a afegir-ne un fent clic al botó situat al costat del títol."; $a->strings["Disabled"] = "Desactivat"; $a->strings["Enabled"] = "Permetre"; $a->strings["Disable this rule"] = "Desactiva aquesta regla"; @@ -27,10 +25,8 @@ $a->strings["Close"] = "Tancar"; $a->strings["Add new rule"] = "Add nova regla"; $a->strings["Rule Name"] = "Nom de la regla"; $a->strings["Rule Expression"] = "Expressió de regla"; -$a->strings["

Examples:

"] = "

Exemples:

"; $a->strings["Cancel"] = "cancel·lar"; $a->strings["You must be logged in to use this method"] = "Per utilitzar aquest mètode, heu d’iniciar sessió"; -$a->strings["Invalid form security token, please refresh the page."] = "El testimoni de seguretat del formulari no és vàlid. Actualitza la pàgina"; $a->strings["The rule name and expression are required."] = "El nom i l’expressió de la regla són obligatoris"; $a->strings["Rule successfully added"] = "La regla s'ha afegit correctament"; $a->strings["Rule doesn't exist or doesn't belong to you."] = "La regla no existeix o no us pertany."; diff --git a/advancedcontentfilter/lang/cs/strings.php b/advancedcontentfilter/lang/cs/strings.php index 08349a45..92d07f9c 100644 --- a/advancedcontentfilter/lang/cs/strings.php +++ b/advancedcontentfilter/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["Filtered by rule: %s"] = "Filtrováno podle pravidla: %s"; @@ -11,9 +11,7 @@ $a->strings["Advanced Content Filter"] = "Rozšířený filtr obsahu"; $a->strings["Back to Addon Settings"] = "Zpět na nastavení doplňku"; $a->strings["Add a Rule"] = "Přidat pravidlo"; $a->strings["Help"] = "Nápověda"; -$a->strings["Add and manage your personal content filter rules in this screen. Rules have a name and an arbitrary expression that will be matched against post data. For a complete reference of the available operations and variables, check the help page."] = "Přidávejte a spravujte Vaše osobní pravidla pro filtrování obsahu na této obrazovce. Pravidla mají název a libovolný výraz, který bude porovnán s daty příspěvku. Pro úplnou referenci dostupných operací a proměnných navštivte stránku nápovědy."; $a->strings["Your rules"] = "Vaše pravidla"; -$a->strings["You have no rules yet! Start adding one by clicking on the button above next to the title."] = "Ještě nemáte žádná pravidla! Přidejte první kliknutím na tlačítko nahoře vedle nadpisu."; $a->strings["Disabled"] = "Zakázáno"; $a->strings["Enabled"] = "Povoleno"; $a->strings["Disable this rule"] = "Zakázat toto pravidlo"; @@ -27,7 +25,6 @@ $a->strings["Close"] = "Zavřít"; $a->strings["Add new rule"] = "Přidat nové pravidlo"; $a->strings["Rule Name"] = "Název pravidla"; $a->strings["Rule Expression"] = "Výraz pravidla"; -$a->strings["

Examples:

"] = "

Příklady:

"; $a->strings["Cancel"] = "Zrušit"; $a->strings["You must be logged in to use this method"] = "Pro použití této metody musíte být přihlášen/a"; $a->strings["Invalid form security token, please refresh the page."] = "Neplatná forma bezpečnostního tokenu, prosím obnovte stránku."; diff --git a/advancedcontentfilter/lang/de/strings.php b/advancedcontentfilter/lang/de/strings.php index 80b2ecd7..fef789b8 100644 --- a/advancedcontentfilter/lang/de/strings.php +++ b/advancedcontentfilter/lang/de/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Filtered by rule: %s"] = "Nach dieser Regel gefiltert: %s"; @@ -11,9 +11,7 @@ $a->strings["Advanced Content Filter"] = "Erweiterter Inhaltsfilter"; $a->strings["Back to Addon Settings"] = "Zurück zu den Addon Einstellungen"; $a->strings["Add a Rule"] = "Eine Regel hinzufügen"; $a->strings["Help"] = "Hilfe"; -$a->strings["Add and manage your personal content filter rules in this screen. Rules have a name and an arbitrary expression that will be matched against post data. For a complete reference of the available operations and variables, check the help page."] = "Auf dieser Seite kannst du deine persönlichen Filterregeln verwalten. Regeln müssen einen Namen und einen frei wählbaren Ausdruck besitzen. Dieser Ausdruck wird mit den Daten der Beiträge abgeglichen und diese dann gegebenenfalls gefiltert. Für eine Übersicht der verfügbaren Operatoren für die Filter, wirf bitte einen Blick auf die Hilfsseite des Addons."; $a->strings["Your rules"] = "Deine Regeln"; -$a->strings["You have no rules yet! Start adding one by clicking on the button above next to the title."] = "Du hast bisher noch keine Regeln definiert. Um eine neue Regel zu erstellen, verwende bitte den Button neben dem Titel."; $a->strings["Disabled"] = "Deaktiviert"; $a->strings["Enabled"] = "Aktiv"; $a->strings["Disable this rule"] = "Diese Regel deaktivieren"; @@ -27,7 +25,6 @@ $a->strings["Close"] = "Schließen"; $a->strings["Add new rule"] = "Neue Regel hinzufügen"; $a->strings["Rule Name"] = "Name der Regel"; $a->strings["Rule Expression"] = "Ausdruck der Regel"; -$a->strings["

Examples:

"] = "

Ein Beispiel:

"; $a->strings["Cancel"] = "Abbrechen"; $a->strings["You must be logged in to use this method"] = "Du musst angemeldet sein um diese Methode verwenden zu können "; $a->strings["Invalid form security token, please refresh the page."] = "Ungültiges Sciherheitstoken, bitte die Seite neu laden."; diff --git a/advancedcontentfilter/lang/en-gb/strings.php b/advancedcontentfilter/lang/en-gb/strings.php index 7fe5be6f..08dac5ec 100644 --- a/advancedcontentfilter/lang/en-gb/strings.php +++ b/advancedcontentfilter/lang/en-gb/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_en_gb")) { function string_plural_select_en_gb($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Filtered by rule: %s"] = "Filtered by rule: %s"; @@ -11,9 +11,7 @@ $a->strings["Advanced Content Filter"] = "Advanced Content Filter"; $a->strings["Back to Addon Settings"] = "Back to addon settings"; $a->strings["Add a Rule"] = "Add a rule"; $a->strings["Help"] = "Help"; -$a->strings["Add and manage your personal content filter rules in this screen. Rules have a name and an arbitrary expression that will be matched against post data. For a complete reference of the available operations and variables, check the help page."] = "Add and manage your personal content filter rules in this screen. Rules have a name and an arbitrary expression that will be matched against post data. For a complete reference of the available operations and variables, check the help page."; $a->strings["Your rules"] = "Your rules"; -$a->strings["You have no rules yet! Start adding one by clicking on the button above next to the title."] = "You have no rules yet! Start adding one by clicking on the button above next to the title."; $a->strings["Disabled"] = "Disabled"; $a->strings["Enabled"] = "Enabled"; $a->strings["Disable this rule"] = "Disable this rule"; @@ -27,7 +25,6 @@ $a->strings["Close"] = "Close"; $a->strings["Add new rule"] = "Add new rule"; $a->strings["Rule Name"] = "Rule name"; $a->strings["Rule Expression"] = "Rule expression"; -$a->strings["

Examples:

"] = "

Examples:

"; $a->strings["Cancel"] = "Cancel"; $a->strings["You must be logged in to use this method"] = "You must be logged in to use this method"; $a->strings["Invalid form security token, please refresh the page."] = "Invalid form security token, please refresh the page."; diff --git a/advancedcontentfilter/lang/fi/strings.php b/advancedcontentfilter/lang/fi/strings.php index 17e3acc5..3bc84108 100644 --- a/advancedcontentfilter/lang/fi/strings.php +++ b/advancedcontentfilter/lang/fi/strings.php @@ -3,20 +3,13 @@ if(! function_exists("string_plural_select_fi")) { function string_plural_select_fi($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; -$a->strings["Filtered by rule: %s"] = ""; -$a->strings["Advanced Content Filter"] = ""; -$a->strings["Back to Addon Settings"] = ""; $a->strings["Add a Rule"] = "Lisää sääntö"; -$a->strings["Help"] = ""; -$a->strings["Add and manage your personal content filter rules in this screen. Rules have a name and an arbitrary expression that will be matched against post data. For a complete reference of the available operations and variables, check the help page."] = ""; $a->strings["Your rules"] = "Sääntösi"; -$a->strings["You have no rules yet! Start adding one by clicking on the button above next to the title."] = ""; $a->strings["Disabled"] = "Ei käytössä"; $a->strings["Enabled"] = "Käytössä"; -$a->strings["Disable this rule"] = ""; $a->strings["Enable this rule"] = "Ota tämä sääntö käyttöön"; $a->strings["Edit this rule"] = "Muokkaa tätä sääntöä"; $a->strings["Edit the rule"] = "Muokkaa sääntöä"; @@ -25,17 +18,6 @@ $a->strings["Delete this rule"] = "Poista tämä sääntö"; $a->strings["Rule"] = "Sääntö"; $a->strings["Close"] = "Sulje"; $a->strings["Add new rule"] = "Lisää uusi sääntö"; -$a->strings["Rule Name"] = ""; -$a->strings["Rule Expression"] = ""; -$a->strings["

Examples:

"] = ""; -$a->strings["Cancel"] = ""; -$a->strings["You must be logged in to use this method"] = ""; -$a->strings["Invalid form security token, please refresh the page."] = ""; -$a->strings["The rule name and expression are required."] = ""; $a->strings["Rule successfully added"] = "Sääntö lisätty"; -$a->strings["Rule doesn't exist or doesn't belong to you."] = ""; $a->strings["Rule successfully updated"] = "Sääntö päivitetty"; $a->strings["Rule successfully deleted"] = "Sääntö poistettu"; -$a->strings["Missing argument: guid."] = ""; -$a->strings["Unknown post with guid: %s"] = ""; -$a->strings["Method not found"] = ""; diff --git a/advancedcontentfilter/lang/fr/strings.php b/advancedcontentfilter/lang/fr/strings.php index 95f39f66..14ecc38c 100644 --- a/advancedcontentfilter/lang/fr/strings.php +++ b/advancedcontentfilter/lang/fr/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_fr")) { function string_plural_select_fr($n){ $n = intval($n); - return ($n > 1);; + return intval($n > 1); }} ; $a->strings["Filtered by rule: %s"] = "Filtré par règle:%s"; @@ -11,9 +11,7 @@ $a->strings["Advanced Content Filter"] = "Filtre avancé de contenu"; $a->strings["Back to Addon Settings"] = "Retour aux paramètres de l'extension"; $a->strings["Add a Rule"] = "Ajouter une règle"; $a->strings["Help"] = "Aide"; -$a->strings["Add and manage your personal content filter rules in this screen. Rules have a name and an arbitrary expression that will be matched against post data. For a complete reference of the available operations and variables, check the help page."] = "Dans cet écran, ajoutez et gérez votre règle personnelle de filtre de contenu. Les règles portent un nom et contiennent une expression arbitraire qui sera appliquée aux données du post. Pour une liste complète des opérations disponibles, voyez la page d'aide"; $a->strings["Your rules"] = "Vos règles"; -$a->strings["You have no rules yet! Start adding one by clicking on the button above next to the title."] = "Vous n'avez encore aucune règle! Ajoutez-en une en cliquant le bouton au-dessus près du titre"; $a->strings["Disabled"] = "Désactivé"; $a->strings["Enabled"] = "Activé"; $a->strings["Disable this rule"] = "Désactiver cette règle"; @@ -27,7 +25,6 @@ $a->strings["Close"] = "Fermer"; $a->strings["Add new rule"] = "Ajouter nouvelle règle"; $a->strings["Rule Name"] = "Nommer règle"; $a->strings["Rule Expression"] = "Expression de règle"; -$a->strings["

Examples:

"] = "

Exemples :

"; $a->strings["Cancel"] = "Annuler"; $a->strings["You must be logged in to use this method"] = "Vous devez être connecté pour utiliser cette méthode"; $a->strings["Invalid form security token, please refresh the page."] = "Formulaire token de sécurité invalide, rafraîchissez la page"; diff --git a/advancedcontentfilter/lang/hu/strings.php b/advancedcontentfilter/lang/hu/strings.php index 8c59617a..727e1125 100644 --- a/advancedcontentfilter/lang/hu/strings.php +++ b/advancedcontentfilter/lang/hu/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_hu")) { function string_plural_select_hu($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Filtered by rule: %s"] = "Szűrve a szabály alapján: %s"; @@ -11,9 +11,7 @@ $a->strings["Advanced Content Filter"] = "Speciális tartalomszűrő"; $a->strings["Back to Addon Settings"] = "Vissza a bővítménybeállításokhoz"; $a->strings["Add a Rule"] = "Szabály hozzáadása"; $a->strings["Help"] = "Súgó"; -$a->strings["Add and manage your personal content filter rules in this screen. Rules have a name and an arbitrary expression that will be matched against post data. For a complete reference of the available operations and variables, check the help page."] = "Személyes tartalomszűrő szabályok hozzáadása és kezelése ezen a képernyőn. A szabályoknak van nevük és egy tetszőleges kifejezésük, amely illesztve lesz a bejegyzés adatára. Az elérhető műveletek és változók teljes hivatkozásáért nézze meg a súgóoldalt."; $a->strings["Your rules"] = "Az Ön szabályai"; -$a->strings["You have no rules yet! Start adding one by clicking on the button above next to the title."] = "Még nincsenek szabályai! Kezdje meg egy szabály hozzáadását a cím mellett lévő fenti gombra kattintva."; $a->strings["Disabled"] = "Letiltva"; $a->strings["Enabled"] = "Engedélyezve"; $a->strings["Disable this rule"] = "A szabály letiltása"; @@ -27,7 +25,6 @@ $a->strings["Close"] = "Bezárás"; $a->strings["Add new rule"] = "Új szabály hozzáadása"; $a->strings["Rule Name"] = "Szabály neve"; $a->strings["Rule Expression"] = "Szabály kifejezése"; -$a->strings["

Examples:

"] = "

Példák:

"; $a->strings["Cancel"] = "Mégse"; $a->strings["You must be logged in to use this method"] = "Bejelentkezve kell lennie a módszer használatához"; $a->strings["Invalid form security token, please refresh the page."] = "Érvénytelen űrlap biztonsági token. Frissítse az oldalt."; diff --git a/advancedcontentfilter/lang/it/strings.php b/advancedcontentfilter/lang/it/strings.php index b5ef1f08..88cec9ec 100644 --- a/advancedcontentfilter/lang/it/strings.php +++ b/advancedcontentfilter/lang/it/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Filtered by rule: %s"] = "Filtrato dalla regola: %s"; @@ -11,9 +11,7 @@ $a->strings["Advanced Content Filter"] = "Filtro Avanzato Contenuti"; $a->strings["Back to Addon Settings"] = "Torna alle impostazioni del componente aggiuntivo"; $a->strings["Add a Rule"] = "Aggiungi una regola"; $a->strings["Help"] = "Aiuto"; -$a->strings["Add and manage your personal content filter rules in this screen. Rules have a name and an arbitrary expression that will be matched against post data. For a complete reference of the available operations and variables, check the help page."] = "Aggiungi e gestisci le tue regole personali di filtro contenuti in questa schermata. Le regole hanno un nome e un'espressione arbitraria che sarà confrontata con i dati del messaggio. Per un elenco completo delle operazioni disponibili, controlla la pagina di aiuto."; $a->strings["Your rules"] = "Le tue regole"; -$a->strings["You have no rules yet! Start adding one by clicking on the button above next to the title."] = "Non hai ancora nessuna regola! Aggiungine una cliccando sul bottone qui sopra a fianco al titolo."; $a->strings["Disabled"] = "Disabilitato"; $a->strings["Enabled"] = "Abilitato"; $a->strings["Disable this rule"] = "Diabilita questa regola"; @@ -27,7 +25,6 @@ $a->strings["Close"] = "Chiudi"; $a->strings["Add new rule"] = "Aggiungi nuova regola"; $a->strings["Rule Name"] = "Nome Regola"; $a->strings["Rule Expression"] = "Espressione Regola"; -$a->strings["

Examples:

"] = "

Esempi:

"; $a->strings["Cancel"] = "Annulla"; $a->strings["You must be logged in to use this method"] = "Devi essere autenticato per usare questo metodo"; $a->strings["Invalid form security token, please refresh the page."] = "Token di sicurezza invalido, aggiorna la pagina."; diff --git a/advancedcontentfilter/lang/nl/strings.php b/advancedcontentfilter/lang/nl/strings.php index 6c40c028..844d4933 100644 --- a/advancedcontentfilter/lang/nl/strings.php +++ b/advancedcontentfilter/lang/nl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Filtered by rule: %s"] = "Gefilterd volgens regel: %s"; @@ -11,9 +11,7 @@ $a->strings["Advanced Content Filter"] = "Geavanceerd filter voor berichtsinhoud $a->strings["Back to Addon Settings"] = "Terug naar Addon instellingen"; $a->strings["Add a Rule"] = "Filterregel toevoegen"; $a->strings["Help"] = "Help"; -$a->strings["Add and manage your personal content filter rules in this screen. Rules have a name and an arbitrary expression that will be matched against post data. For a complete reference of the available operations and variables, check the help page."] = "Beheer de filterregels van je persoonlijke filter voor berichtsinhoud in dit scherm. Regels hebben een naam en bewoording welke we automatisch controleren door te vergelijken met de inhoud van elk bericht. Voor een compleet naslagwerk van de beschikbare bewerkingen en variabelen, zie de help pagina."; $a->strings["Your rules"] = "Jouw regels"; -$a->strings["You have no rules yet! Start adding one by clicking on the button above next to the title."] = "Je hebt nog geen regels! Klik op de knop bovenin naast de titel om een regel toe te voegen."; $a->strings["Disabled"] = "Uitgeschakeld"; $a->strings["Enabled"] = "Geactiveerd"; $a->strings["Disable this rule"] = "Deze regel uitschakelen"; @@ -27,7 +25,6 @@ $a->strings["Close"] = "Sluiten"; $a->strings["Add new rule"] = "Voeg nieuwe regel toe"; $a->strings["Rule Name"] = "Regel naam"; $a->strings["Rule Expression"] = "Regel bewoording"; -$a->strings["

Examples:

"] = "

Voorbeelden:

"; $a->strings["Cancel"] = "Annuleren"; $a->strings["You must be logged in to use this method"] = "Je moet ingelogd zijn om deze methode te gebruiken"; $a->strings["Invalid form security token, please refresh the page."] = "Ongeldige formulier beveiligings token, vernieuw de pagina a.u.b."; diff --git a/advancedcontentfilter/lang/pl/strings.php b/advancedcontentfilter/lang/pl/strings.php index 0ddf8c45..f8bfcde4 100644 --- a/advancedcontentfilter/lang/pl/strings.php +++ b/advancedcontentfilter/lang/pl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ $n = intval($n); - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Filtered by rule: %s"] = " Filtruj według reguły: %s"; @@ -11,9 +11,7 @@ $a->strings["Advanced Content Filter"] = "Zaawansowany filtr zawartości"; $a->strings["Back to Addon Settings"] = "Powrót do ustawień dodatków"; $a->strings["Add a Rule"] = "Dodaj regułę"; $a->strings["Help"] = "Pomoc"; -$a->strings["Add and manage your personal content filter rules in this screen. Rules have a name and an arbitrary expression that will be matched against post data. For a complete reference of the available operations and variables, check the help page."] = "Dodaj i zarządzaj regułami filtrowania treści osobistych na tym ekranie. Reguły mają nazwę i dowolne wyrażenie, które zostanie dopasowane do danych postów. Aby uzyskać pełne informacje o dostępnych operacjach i zmiennych, sprawdź stronę pomocy."; $a->strings["Your rules"] = "Twoje zasady"; -$a->strings["You have no rules yet! Start adding one by clicking on the button above next to the title."] = "Nie masz jeszcze żadnych zasad! Zacznij dodawać jedną, klikając przycisk znajdujący się nad tytułem."; $a->strings["Disabled"] = "Wyłącz"; $a->strings["Enabled"] = "Włącz"; $a->strings["Disable this rule"] = "Wyłącz tę regułę"; @@ -27,7 +25,6 @@ $a->strings["Close"] = "Zamknij"; $a->strings["Add new rule"] = "Dodaj nową regułę"; $a->strings["Rule Name"] = "Nazwa reguły"; $a->strings["Rule Expression"] = "Wyrażanie reguły"; -$a->strings["

Examples:

"] = "

przykład

"; $a->strings["Cancel"] = "Anuluj"; $a->strings["You must be logged in to use this method"] = "Musisz być zalogowany, aby skorzystać z tej metody"; $a->strings["Invalid form security token, please refresh the page."] = "Nieprawidłowy token zabezpieczający formularz, odśwież stronę."; diff --git a/advancedcontentfilter/lang/ru/strings.php b/advancedcontentfilter/lang/ru/strings.php index a650e3fd..c61a7af6 100644 --- a/advancedcontentfilter/lang/ru/strings.php +++ b/advancedcontentfilter/lang/ru/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ru")) { function string_plural_select_ru($n){ $n = intval($n); - return ($n%10==1 && $n%100!=11 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14) ? 1 : $n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)? 2 : 3);; + if ($n%10==1 && $n%100!=11) { return 0; } else if ($n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14)) { return 1; } else if ($n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Filtered by rule: %s"] = "Отфильтровано по правилу: %s"; @@ -11,9 +11,7 @@ $a->strings["Advanced Content Filter"] = "Расширенный фильтр с $a->strings["Back to Addon Settings"] = "Вернуться к настройкам дополнений"; $a->strings["Add a Rule"] = "Добавить правило"; $a->strings["Help"] = "Помощь"; -$a->strings["Add and manage your personal content filter rules in this screen. Rules have a name and an arbitrary expression that will be matched against post data. For a complete reference of the available operations and variables, check the help page."] = "Добавляйте и управляйте своими собственными фильтрами на этой странице. У правил есть имя и произвольное выражение, которое будет сопоставляться с данными поста. Для полной ссылки на доступные операции и переменные, посмотрите страницу справки."; $a->strings["Your rules"] = "Ваши правила"; -$a->strings["You have no rules yet! Start adding one by clicking on the button above next to the title."] = "У Вас нет ни одного правила. Начните добавление первого с нажатия на кнопку выше, рядом с названием."; $a->strings["Disabled"] = "Отключено"; $a->strings["Enabled"] = "Включено"; $a->strings["Disable this rule"] = "Отключить это правило"; @@ -27,7 +25,6 @@ $a->strings["Close"] = "Закрыть"; $a->strings["Add new rule"] = "Добавить новое правило"; $a->strings["Rule Name"] = "Название правила"; $a->strings["Rule Expression"] = "Содержание правила"; -$a->strings["

Examples:

"] = "

Примеры:

"; $a->strings["Cancel"] = "Отмена"; $a->strings["You must be logged in to use this method"] = "Вы должны авторизоваться для использования этого метода"; $a->strings["Invalid form security token, please refresh the page."] = "Неверный ключ, пожалуйста, перезагрузите страницу"; diff --git a/advancedcontentfilter/lang/sv/strings.php b/advancedcontentfilter/lang/sv/strings.php index 8ceea2db..4465fe47 100644 --- a/advancedcontentfilter/lang/sv/strings.php +++ b/advancedcontentfilter/lang/sv/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_sv")) { function string_plural_select_sv($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Filtered by rule: %s"] = "Filtrerat efter regel: %s"; @@ -11,9 +11,7 @@ $a->strings["Advanced Content Filter"] = "Avancerat innehållsfiter"; $a->strings["Back to Addon Settings"] = "TIllbaka till Tilläggsinställningar"; $a->strings["Add a Rule"] = "Lägg till en regel"; $a->strings["Help"] = "Hjälp"; -$a->strings["Add and manage your personal content filter rules in this screen. Rules have a name and an arbitrary expression that will be matched against post data. For a complete reference of the available operations and variables, check the help page."] = "Lägg till och hantera dina personliga regler för innehållsfilter i det här fönstret. Regler har ett namn och ett valfritt uttryck och kommer jämföras mot inläggets innehåll. Förteckning av alla operander och variabler finns att hitta på hjälpsidan."; $a->strings["Your rules"] = "Dina regler"; -$a->strings["You have no rules yet! Start adding one by clicking on the button above next to the title."] = "Du har inga regler än! Lägg till regler genom att klicka på knappen ovanför, bredvid överskriften."; $a->strings["Disabled"] = "Inaktiverad"; $a->strings["Enabled"] = "Aktiverad"; $a->strings["Disable this rule"] = "Inaktivera den här regeln"; @@ -27,7 +25,6 @@ $a->strings["Close"] = "Stäng"; $a->strings["Add new rule"] = "Lägg till ny regel"; $a->strings["Rule Name"] = "Regelnamn"; $a->strings["Rule Expression"] = "Regeluttryck"; -$a->strings["

Examples:

"] = "

Exempel:

"; $a->strings["Cancel"] = "Avbryt"; $a->strings["You must be logged in to use this method"] = "Du måste vara inloggad för att använda den här funktionen"; $a->strings["Invalid form security token, please refresh the page."] = "Felaktigt säkerhetsformulärstecken, vänligen uppdatera sidan."; diff --git a/advancedcontentfilter/lang/zh-cn/strings.php b/advancedcontentfilter/lang/zh-cn/strings.php index a51e6850..ff7e1fa4 100644 --- a/advancedcontentfilter/lang/zh-cn/strings.php +++ b/advancedcontentfilter/lang/zh-cn/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_zh_cn")) { function string_plural_select_zh_cn($n){ $n = intval($n); - return 0;; + return intval(0); }} ; $a->strings["Filtered by rule: %s"] = "通过规则过滤:%s"; @@ -11,7 +11,6 @@ $a->strings["Advanced Content Filter"] = "高级内容过滤"; $a->strings["Back to Addon Settings"] = "返回扩展设置"; $a->strings["Add a Rule"] = "添加规则"; $a->strings["Help"] = "帮助"; -$a->strings["Add and manage your personal content filter rules in this screen. Rules have a name and an arbitrary expression that will be matched against post data. For a complete reference of the available operations and variables, check the help page."] = "在此界面上添加和管理你的个人内容过滤规则。规则要有名称和能匹配帖子内容的任意表达式。完整可用的运算符和变量,请查看帮助页面。"; $a->strings["Your rules"] = "你的规则"; $a->strings["You have no rules yet! Start adding one by clicking on the button above next to the title."] = "你还没有规则!点击标题上方的按钮开始新增规则。"; $a->strings["Disabled"] = "禁用"; @@ -27,7 +26,6 @@ $a->strings["Close"] = "关闭"; $a->strings["Add new rule"] = "新增规则"; $a->strings["Rule Name"] = "规则名"; $a->strings["Rule Expression"] = "规则表达式"; -$a->strings["

Examples:

"] = "

例子:

"; $a->strings["Cancel"] = "取消"; $a->strings["You must be logged in to use this method"] = "使用此模式您必须先登录。"; $a->strings["Invalid form security token, please refresh the page."] = "无效的安全令牌,请刷新页面。"; diff --git a/blackout/lang/ca/strings.php b/blackout/lang/ca/strings.php index 20c8c1da..62a0a85c 100644 --- a/blackout/lang/ca/strings.php +++ b/blackout/lang/ca/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ca")) { function string_plural_select_ca($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["The end-date is prior to the start-date of the blackout, you should fix this"] = "La data de finalització és anterior a la data d'inici de l'apagada, hauríeu d'arreglar-ho"; diff --git a/blackout/lang/cs/strings.php b/blackout/lang/cs/strings.php index c38d7065..460d8772 100644 --- a/blackout/lang/cs/strings.php +++ b/blackout/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["The end-date is prior to the start-date of the blackout, you should fix this"] = "Datum konce odstávky je před datem zahájení odstávky, prosím opravte to"; diff --git a/blackout/lang/en-gb/strings.php b/blackout/lang/en-gb/strings.php index 18b61594..b4df3516 100644 --- a/blackout/lang/en-gb/strings.php +++ b/blackout/lang/en-gb/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_en_gb")) { function string_plural_select_en_gb($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["The end-date is prior to the start-date of the blackout, you should fix this"] = "The end date is prior to the start date of the blackout, you should fix this"; diff --git a/blackout/lang/en-us/strings.php b/blackout/lang/en-us/strings.php index 705163ab..d8ee9f98 100644 --- a/blackout/lang/en-us/strings.php +++ b/blackout/lang/en-us/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_en_us")) { function string_plural_select_en_us($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Save Settings"] = "Save Settings"; diff --git a/blackout/lang/es/strings.php b/blackout/lang/es/strings.php index 867a8c9b..9ac9e6e4 100644 --- a/blackout/lang/es/strings.php +++ b/blackout/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Save Settings"] = "Guardar configuración"; diff --git a/blackout/lang/fi-fi/strings.php b/blackout/lang/fi-fi/strings.php index 898e730f..cd6dcfdc 100644 --- a/blackout/lang/fi-fi/strings.php +++ b/blackout/lang/fi-fi/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Save Settings"] = "Tallenna asetukset"; diff --git a/blackout/lang/fr/strings.php b/blackout/lang/fr/strings.php index f60d599d..71fdd515 100644 --- a/blackout/lang/fr/strings.php +++ b/blackout/lang/fr/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_fr")) { function string_plural_select_fr($n){ $n = intval($n); - return ($n > 1);; + return intval($n > 1); }} ; $a->strings["The end-date is prior to the start-date of the blackout, you should fix this"] = "La date de fin est antérieure au début de l'extinction, vous devriez corriger cela."; diff --git a/blackout/lang/hu/strings.php b/blackout/lang/hu/strings.php index f0a29771..6fdd5924 100644 --- a/blackout/lang/hu/strings.php +++ b/blackout/lang/hu/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_hu")) { function string_plural_select_hu($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["The end-date is prior to the start-date of the blackout, you should fix this"] = "A befejezési dátum az áramszünet kezdési dátuma előtt van, ezt javítania kell."; diff --git a/blackout/lang/is/strings.php b/blackout/lang/is/strings.php index 41980a4d..102e475e 100644 --- a/blackout/lang/is/strings.php +++ b/blackout/lang/is/strings.php @@ -3,13 +3,7 @@ if(! function_exists("string_plural_select_is")) { function string_plural_select_is($n){ $n = intval($n); - return ($n % 10 != 1 || $n % 100 == 11);; + return intval($n % 10 != 1 || $n % 100 == 11); }} ; $a->strings["Save Settings"] = "Vista stillingar"; -$a->strings["Redirect URL"] = ""; -$a->strings["all your visitors from the web will be redirected to this URL"] = ""; -$a->strings["Begin of the Blackout"] = ""; -$a->strings["format is YYYY year, MM month, DD day, hh hour and mm minute"] = ""; -$a->strings["End of the Blackout"] = ""; -$a->strings["The end-date is prior to the start-date of the blackout, you should fix this."] = ""; diff --git a/blackout/lang/it/strings.php b/blackout/lang/it/strings.php index 6aa8b95e..5237193c 100644 --- a/blackout/lang/it/strings.php +++ b/blackout/lang/it/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["The end-date is prior to the start-date of the blackout, you should fix this"] = "La data di fine è precedente alla data di inizio blackout, dovresti sistemarle"; diff --git a/blackout/lang/ja/strings.php b/blackout/lang/ja/strings.php index 820f8e4a..51889f38 100644 --- a/blackout/lang/ja/strings.php +++ b/blackout/lang/ja/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ja")) { function string_plural_select_ja($n){ $n = intval($n); - return 0;; + return intval(0); }} ; $a->strings["The end-date is prior to the start-date of the blackout, you should fix this"] = "終了日はブラックアウトの開始日より前です。これを修正する必要があります"; diff --git a/blackout/lang/nl/strings.php b/blackout/lang/nl/strings.php index 8311c07e..6a49746e 100644 --- a/blackout/lang/nl/strings.php +++ b/blackout/lang/nl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Save Settings"] = "Instellingen opslaan"; diff --git a/blackout/lang/pl/strings.php b/blackout/lang/pl/strings.php index 7b1c3dae..38a15da9 100644 --- a/blackout/lang/pl/strings.php +++ b/blackout/lang/pl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ $n = intval($n); - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["The end-date is prior to the start-date of the blackout, you should fix this"] = "Data zakończenia jest przed datą rozpoczęcia, powinieneś to naprawić"; diff --git a/blackout/lang/ro/strings.php b/blackout/lang/ro/strings.php index 498f7c3e..373bb845 100644 --- a/blackout/lang/ro/strings.php +++ b/blackout/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["Save Settings"] = "Salvare Configurări"; diff --git a/blackout/lang/ru/strings.php b/blackout/lang/ru/strings.php index 9dc1ddf1..13414bc2 100644 --- a/blackout/lang/ru/strings.php +++ b/blackout/lang/ru/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ru")) { function string_plural_select_ru($n){ $n = intval($n); - return ($n%10==1 && $n%100!=11 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14) ? 1 : $n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)? 2 : 3);; + if ($n%10==1 && $n%100!=11) { return 0; } else if ($n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14)) { return 1; } else if ($n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["The end-date is prior to the start-date of the blackout, you should fix this"] = "Дата начала позже даты окончания, исправьте это"; diff --git a/blackout/lang/sv/strings.php b/blackout/lang/sv/strings.php index d7eadfd4..2ec234df 100644 --- a/blackout/lang/sv/strings.php +++ b/blackout/lang/sv/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_sv")) { function string_plural_select_sv($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["The end-date is prior to the start-date of the blackout, you should fix this"] = "Slutdatumet ligger före startdatumet för nedsläckningen, du bör rätta detta."; diff --git a/blackout/lang/zh-cn/strings.php b/blackout/lang/zh-cn/strings.php index 8027bc0b..5e615761 100644 --- a/blackout/lang/zh-cn/strings.php +++ b/blackout/lang/zh-cn/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_zh_cn")) { function string_plural_select_zh_cn($n){ $n = intval($n); - return 0;; + return intval(0); }} ; $a->strings["The end-date is prior to the start-date of the blackout, you should fix this"] = "结束日期早于开始日期,您应该修复此问题"; diff --git a/blockbot/lang/ca/strings.php b/blockbot/lang/ca/strings.php index 3f95ee05..fede984b 100644 --- a/blockbot/lang/ca/strings.php +++ b/blockbot/lang/ca/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ca")) { function string_plural_select_ca($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Save Settings"] = "Desa la configuració"; diff --git a/blockbot/lang/cs/strings.php b/blockbot/lang/cs/strings.php index d3c5a2dd..bceaa994 100644 --- a/blockbot/lang/cs/strings.php +++ b/blockbot/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["Save Settings"] = "Uložit nastavení"; diff --git a/blockbot/lang/de/strings.php b/blockbot/lang/de/strings.php index db52f710..a711078f 100644 --- a/blockbot/lang/de/strings.php +++ b/blockbot/lang/de/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Save Settings"] = "Einstellungen speichern"; diff --git a/blockbot/lang/en-gb/strings.php b/blockbot/lang/en-gb/strings.php index f5299bf5..5bca00a5 100644 --- a/blockbot/lang/en-gb/strings.php +++ b/blockbot/lang/en-gb/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_en_gb")) { function string_plural_select_en_gb($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Save Settings"] = "Save Settings"; diff --git a/blockbot/lang/es/strings.php b/blockbot/lang/es/strings.php index 813864c8..5eef3eff 100644 --- a/blockbot/lang/es/strings.php +++ b/blockbot/lang/es/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Save Settings"] = "Guardar ajustes"; diff --git a/blockbot/lang/fr/strings.php b/blockbot/lang/fr/strings.php index 1597735a..e9dfcc10 100644 --- a/blockbot/lang/fr/strings.php +++ b/blockbot/lang/fr/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_fr")) { function string_plural_select_fr($n){ $n = intval($n); - return ($n > 1);; + return intval($n > 1); }} ; $a->strings["Save Settings"] = "Enregistrer les Paramètres"; diff --git a/blockbot/lang/hu/strings.php b/blockbot/lang/hu/strings.php index 40a4564a..244bfa14 100644 --- a/blockbot/lang/hu/strings.php +++ b/blockbot/lang/hu/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_hu")) { function string_plural_select_hu($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Save Settings"] = "Beállítások mentése"; diff --git a/blockbot/lang/it/strings.php b/blockbot/lang/it/strings.php index 64de6d40..49339fd5 100644 --- a/blockbot/lang/it/strings.php +++ b/blockbot/lang/it/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Save Settings"] = "Salva Impostazioni"; diff --git a/blockbot/lang/nl/strings.php b/blockbot/lang/nl/strings.php index 18d9c2cc..fdde083a 100644 --- a/blockbot/lang/nl/strings.php +++ b/blockbot/lang/nl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Save Settings"] = "Instellingen opslaan"; diff --git a/blockbot/lang/pl/strings.php b/blockbot/lang/pl/strings.php index 0eafbcaf..6128cc7b 100644 --- a/blockbot/lang/pl/strings.php +++ b/blockbot/lang/pl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ $n = intval($n); - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Save Settings"] = "Zapisz ustawienia"; diff --git a/blockbot/lang/ru/strings.php b/blockbot/lang/ru/strings.php index 5467b0dd..418498f9 100644 --- a/blockbot/lang/ru/strings.php +++ b/blockbot/lang/ru/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ru")) { function string_plural_select_ru($n){ $n = intval($n); - return ($n%10==1 && $n%100!=11 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14) ? 1 : $n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)? 2 : 3);; + if ($n%10==1 && $n%100!=11) { return 0; } else if ($n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14)) { return 1; } else if ($n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Save Settings"] = "Сохранить настройки"; diff --git a/blockem/lang/ca/strings.php b/blockem/lang/ca/strings.php index 057a6019..5e697597 100644 --- a/blockem/lang/ca/strings.php +++ b/blockem/lang/ca/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ca")) { function string_plural_select_ca($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Blockem"] = "Blockem"; diff --git a/blockem/lang/cs/strings.php b/blockem/lang/cs/strings.php index 495b9610..537fddf1 100644 --- a/blockem/lang/cs/strings.php +++ b/blockem/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["Blockem"] = "Blockem"; diff --git a/blockem/lang/de/strings.php b/blockem/lang/de/strings.php index 60c03858..ea0d0ef3 100644 --- a/blockem/lang/de/strings.php +++ b/blockem/lang/de/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Blockem"] = "Blockem"; diff --git a/blockem/lang/en-gb/strings.php b/blockem/lang/en-gb/strings.php index d31cebe7..90af4761 100644 --- a/blockem/lang/en-gb/strings.php +++ b/blockem/lang/en-gb/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_en_gb")) { function string_plural_select_en_gb($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["\"Blockem\""] = "\"Blockem\""; diff --git a/blockem/lang/en-us/strings.php b/blockem/lang/en-us/strings.php index ed20379a..b7e92762 100644 --- a/blockem/lang/en-us/strings.php +++ b/blockem/lang/en-us/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_en_us")) { function string_plural_select_en_us($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["\"Blockem\""] = "Blockem"; diff --git a/blockem/lang/es/strings.php b/blockem/lang/es/strings.php index 77604fe5..a7f70b0b 100644 --- a/blockem/lang/es/strings.php +++ b/blockem/lang/es/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["\"Blockem\""] = "\"Bloquealos\""; diff --git a/blockem/lang/fi-fi/strings.php b/blockem/lang/fi-fi/strings.php index b2403e8a..4c866a72 100644 --- a/blockem/lang/fi-fi/strings.php +++ b/blockem/lang/fi-fi/strings.php @@ -2,11 +2,11 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["\"Blockem\""] = "\"Blockem\""; -$a->strings["Hides user's content by collapsing posts. Also replaces their avatar with generic image."] = ""; $a->strings["Comma separated profile URLS:"] = "Profiilien URL-osoitteet pilkulla erotettuina:"; $a->strings["Save Settings"] = "Tallenna asetukset"; $a->strings["BLOCKEM Settings saved."] = "Blockem -asetukset tallennettu"; diff --git a/blockem/lang/fr/strings.php b/blockem/lang/fr/strings.php index cc2d366f..00dccda6 100644 --- a/blockem/lang/fr/strings.php +++ b/blockem/lang/fr/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_fr")) { function string_plural_select_fr($n){ $n = intval($n); - return ($n > 1);; + return intval($n > 1); }} ; $a->strings["Blockem"] = "Bloquez-les"; diff --git a/blockem/lang/hu/strings.php b/blockem/lang/hu/strings.php index addba1fa..b0ad2a91 100644 --- a/blockem/lang/hu/strings.php +++ b/blockem/lang/hu/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_hu")) { function string_plural_select_hu($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Blockem"] = "Blockem"; diff --git a/blockem/lang/it/strings.php b/blockem/lang/it/strings.php index 59e4a0f7..6a82e821 100644 --- a/blockem/lang/it/strings.php +++ b/blockem/lang/it/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Blockem"] = "Blockem"; diff --git a/blockem/lang/nl/strings.php b/blockem/lang/nl/strings.php index b74cc140..d31cb87a 100644 --- a/blockem/lang/nl/strings.php +++ b/blockem/lang/nl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Blockem"] = "Blockem"; diff --git a/blockem/lang/pl/strings.php b/blockem/lang/pl/strings.php index 08e1cf4d..4569c0e3 100644 --- a/blockem/lang/pl/strings.php +++ b/blockem/lang/pl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ $n = intval($n); - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Blockem"] = "Zablokowanie"; diff --git a/blockem/lang/ro/strings.php b/blockem/lang/ro/strings.php index b842467d..c9af076e 100644 --- a/blockem/lang/ro/strings.php +++ b/blockem/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["\"Blockem\""] = "\"Blockem\""; diff --git a/blockem/lang/ru/strings.php b/blockem/lang/ru/strings.php index 9510f68e..2aaabe0a 100644 --- a/blockem/lang/ru/strings.php +++ b/blockem/lang/ru/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ru")) { function string_plural_select_ru($n){ $n = intval($n); - return ($n%10==1 && $n%100!=11 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14) ? 1 : $n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)? 2 : 3);; + if ($n%10==1 && $n%100!=11) { return 0; } else if ($n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14)) { return 1; } else if ($n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Blockem"] = "Blockem"; diff --git a/blockem/lang/sv/strings.php b/blockem/lang/sv/strings.php index 9685ad8b..b44614ff 100644 --- a/blockem/lang/sv/strings.php +++ b/blockem/lang/sv/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_sv")) { function string_plural_select_sv($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Blockem"] = "BLOCKEM"; diff --git a/blogger/lang/ca/strings.php b/blogger/lang/ca/strings.php index afac5d7f..e48bbfda 100644 --- a/blogger/lang/ca/strings.php +++ b/blogger/lang/ca/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ca")) { function string_plural_select_ca($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Post to blogger"] = "Publicar a blogger"; diff --git a/blogger/lang/cs/strings.php b/blogger/lang/cs/strings.php index 4ce612a7..8f2ecad2 100644 --- a/blogger/lang/cs/strings.php +++ b/blogger/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["Post to blogger"] = "Poslat na blogger"; diff --git a/blogger/lang/de/strings.php b/blogger/lang/de/strings.php index 549b6a2b..548d6a8c 100644 --- a/blogger/lang/de/strings.php +++ b/blogger/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Post to blogger"] = "Auf Blogger posten"; diff --git a/blogger/lang/en-gb/strings.php b/blogger/lang/en-gb/strings.php index 4a02842e..6a98ab6a 100644 --- a/blogger/lang/en-gb/strings.php +++ b/blogger/lang/en-gb/strings.php @@ -2,15 +2,14 @@ if(! function_exists("string_plural_select_en_gb")) { function string_plural_select_en_gb($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Post to blogger"] = "Post to Blogger"; -$a->strings["Blogger Export"] = ""; $a->strings["Enable Blogger Post Addon"] = "Enable Blogger Post Addon"; $a->strings["Blogger username"] = "Blogger username"; $a->strings["Blogger password"] = "Blogger password"; -$a->strings["Blogger API URL"] = ""; $a->strings["Post to Blogger by default"] = "Post to Blogger by default"; $a->strings["Save Settings"] = "Save Settings"; $a->strings["Post from Friendica"] = "Post from Friendica"; diff --git a/blogger/lang/es/strings.php b/blogger/lang/es/strings.php index 52b4f120..041a9933 100644 --- a/blogger/lang/es/strings.php +++ b/blogger/lang/es/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Post to blogger"] = "Entrada para blogger"; diff --git a/blogger/lang/fi-fi/strings.php b/blogger/lang/fi-fi/strings.php index 115518ad..bd31e23f 100644 --- a/blogger/lang/fi-fi/strings.php +++ b/blogger/lang/fi-fi/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Post to blogger"] = "Julkaise Bloggerissa"; diff --git a/blogger/lang/fr/strings.php b/blogger/lang/fr/strings.php index a1500c11..873ff88f 100644 --- a/blogger/lang/fr/strings.php +++ b/blogger/lang/fr/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_fr")) { function string_plural_select_fr($n){ $n = intval($n); - return ($n > 1);; + return intval($n > 1); }} ; $a->strings["Post to blogger"] = "Poster sur Blogger"; diff --git a/blogger/lang/hu/strings.php b/blogger/lang/hu/strings.php index 433f504c..a2e25311 100644 --- a/blogger/lang/hu/strings.php +++ b/blogger/lang/hu/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_hu")) { function string_plural_select_hu($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Post to blogger"] = "Beküldés a Bloggerre"; diff --git a/blogger/lang/is/strings.php b/blogger/lang/is/strings.php index 5e61af39..05cd517c 100644 --- a/blogger/lang/is/strings.php +++ b/blogger/lang/is/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_is")) { function string_plural_select_is($n){ $n = intval($n); - return ($n % 10 != 1 || $n % 100 == 11);; + return intval($n % 10 != 1 || $n % 100 == 11); }} ; $a->strings["Post to blogger"] = "Senda færslu á bloggara"; diff --git a/blogger/lang/it/strings.php b/blogger/lang/it/strings.php index 80b7b5fa..bd575047 100644 --- a/blogger/lang/it/strings.php +++ b/blogger/lang/it/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Post to blogger"] = "Invia a Blogger"; diff --git a/blogger/lang/nl/strings.php b/blogger/lang/nl/strings.php index dd1eeb77..5954ceae 100644 --- a/blogger/lang/nl/strings.php +++ b/blogger/lang/nl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Post to blogger"] = "Plaatsen op Blogger"; diff --git a/blogger/lang/pl/strings.php b/blogger/lang/pl/strings.php index a0445900..d6401676 100644 --- a/blogger/lang/pl/strings.php +++ b/blogger/lang/pl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ $n = intval($n); - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Post to blogger"] = "Opublikuj w bloggerze"; diff --git a/blogger/lang/pt-br/strings.php b/blogger/lang/pt-br/strings.php index 74a79aca..45c6ba1b 100644 --- a/blogger/lang/pt-br/strings.php +++ b/blogger/lang/pt-br/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pt_br")) { function string_plural_select_pt_br($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; $a->strings["Post to blogger"] = "Publicar no Blogger"; diff --git a/blogger/lang/ro/strings.php b/blogger/lang/ro/strings.php index f6aac95d..77dc8cf8 100644 --- a/blogger/lang/ro/strings.php +++ b/blogger/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["Post to blogger"] = "Postați pe Blogger"; diff --git a/blogger/lang/ru/strings.php b/blogger/lang/ru/strings.php index c90b73e5..d8743f03 100644 --- a/blogger/lang/ru/strings.php +++ b/blogger/lang/ru/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ru")) { function string_plural_select_ru($n){ $n = intval($n); - return ($n%10==1 && $n%100!=11 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14) ? 1 : $n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)? 2 : 3);; + if ($n%10==1 && $n%100!=11) { return 0; } else if ($n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14)) { return 1; } else if ($n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Post to blogger"] = "Написать в Blogger"; diff --git a/blogger/lang/sv/strings.php b/blogger/lang/sv/strings.php index 6bb652dd..c7bf4511 100644 --- a/blogger/lang/sv/strings.php +++ b/blogger/lang/sv/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_sv")) { function string_plural_select_sv($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Post to blogger"] = "Lägg in pÃ¥ Blogger"; diff --git a/buffer/lang/ca/strings.php b/buffer/lang/ca/strings.php index d0cdce88..26ae1f60 100644 --- a/buffer/lang/ca/strings.php +++ b/buffer/lang/ca/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ca")) { function string_plural_select_ca($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Permission denied."] = "Permís denegat."; diff --git a/buffer/lang/cs/strings.php b/buffer/lang/cs/strings.php index 971dbe9b..b8c9cd53 100644 --- a/buffer/lang/cs/strings.php +++ b/buffer/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["Permission denied."] = "Přístup odmítnut."; diff --git a/buffer/lang/de/strings.php b/buffer/lang/de/strings.php index bb55e28b..76c442ba 100644 --- a/buffer/lang/de/strings.php +++ b/buffer/lang/de/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Permission denied."] = "Zugriff verweigert."; diff --git a/buffer/lang/es/strings.php b/buffer/lang/es/strings.php index 0137d30a..7d33eb3e 100644 --- a/buffer/lang/es/strings.php +++ b/buffer/lang/es/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Permission denied."] = "Permiso denegado"; diff --git a/buffer/lang/fi-fi/strings.php b/buffer/lang/fi-fi/strings.php index 53be70e0..a34021d9 100644 --- a/buffer/lang/fi-fi/strings.php +++ b/buffer/lang/fi-fi/strings.php @@ -2,20 +2,16 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Permission denied."] = "Lupa kielletty."; $a->strings["Save Settings"] = "Tallenna asetukset"; -$a->strings["Client ID"] = ""; -$a->strings["Client Secret"] = ""; $a->strings["Error when registering buffer connection:"] = "Virhe Buffer-yhteyden rekisteröimisessä:"; $a->strings["You are now authenticated to buffer. "] = "Buffer-yhteydesi on todennettu."; -$a->strings["return to the connector page"] = ""; $a->strings["Post to Buffer"] = "Julkaise Bufferiin"; $a->strings["Buffer Export"] = "Buffer Export"; $a->strings["Authenticate your Buffer connection"] = "Todenna Buffer-yhteydesi"; $a->strings["Enable Buffer Post Addon"] = "Ota Buffer-viestilisäosa käyttöön"; $a->strings["Post to Buffer by default"] = "Julkaise Bufferiin oletuksena"; -$a->strings["Check to delete this preset"] = ""; -$a->strings["Posts are going to all accounts that are enabled by default:"] = ""; diff --git a/buffer/lang/fr/strings.php b/buffer/lang/fr/strings.php index f7d97493..171cd93e 100644 --- a/buffer/lang/fr/strings.php +++ b/buffer/lang/fr/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_fr")) { function string_plural_select_fr($n){ $n = intval($n); - return ($n > 1);; + return intval($n > 1); }} ; $a->strings["Permission denied."] = "Permission refusée."; diff --git a/buffer/lang/hu/strings.php b/buffer/lang/hu/strings.php index d08a4fd9..1b02392d 100644 --- a/buffer/lang/hu/strings.php +++ b/buffer/lang/hu/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_hu")) { function string_plural_select_hu($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Permission denied."] = "Hozzáférés megtagadva."; diff --git a/buffer/lang/is/strings.php b/buffer/lang/is/strings.php index 3584aad3..fbbca808 100644 --- a/buffer/lang/is/strings.php +++ b/buffer/lang/is/strings.php @@ -3,20 +3,7 @@ if(! function_exists("string_plural_select_is")) { function string_plural_select_is($n){ $n = intval($n); - return ($n % 10 != 1 || $n % 100 == 11);; + return intval($n % 10 != 1 || $n % 100 == 11); }} ; $a->strings["Permission denied."] = "Heimild ekki veitt."; -$a->strings["Save Settings"] = ""; -$a->strings["Client ID"] = ""; -$a->strings["Client Secret"] = ""; -$a->strings["Error when registering buffer connection:"] = ""; -$a->strings["You are now authenticated to buffer. "] = ""; -$a->strings["return to the connector page"] = ""; -$a->strings["Post to Buffer"] = ""; -$a->strings["Buffer Export"] = ""; -$a->strings["Authenticate your Buffer connection"] = ""; -$a->strings["Enable Buffer Post Addon"] = ""; -$a->strings["Post to Buffer by default"] = ""; -$a->strings["Check to delete this preset"] = ""; -$a->strings["Posts are going to all accounts that are enabled by default:"] = ""; diff --git a/buffer/lang/it/strings.php b/buffer/lang/it/strings.php index 02fa328b..199743eb 100644 --- a/buffer/lang/it/strings.php +++ b/buffer/lang/it/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Permission denied."] = "Permesso negato."; diff --git a/buffer/lang/nl/strings.php b/buffer/lang/nl/strings.php index 5d6d0151..418b6559 100644 --- a/buffer/lang/nl/strings.php +++ b/buffer/lang/nl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Permission denied."] = "Toegang geweigerd."; diff --git a/buffer/lang/pl/strings.php b/buffer/lang/pl/strings.php index cd1c1f5a..6c123f5c 100644 --- a/buffer/lang/pl/strings.php +++ b/buffer/lang/pl/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + $n = intval($n); + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Permission denied."] = "Odmowa uprawnień."; diff --git a/buffer/lang/pt-br/strings.php b/buffer/lang/pt-br/strings.php index 737a86eb..4fb36a9c 100644 --- a/buffer/lang/pt-br/strings.php +++ b/buffer/lang/pt-br/strings.php @@ -2,13 +2,12 @@ if(! function_exists("string_plural_select_pt_br")) { function string_plural_select_pt_br($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; $a->strings["Permission denied."] = "Permissão negada."; $a->strings["Save Settings"] = "Salvar configurações"; -$a->strings["Client ID"] = ""; -$a->strings["Client Secret"] = ""; $a->strings["Error when registering buffer connection:"] = "Erro ao registrar conexão de buffer:"; $a->strings["You are now authenticated to buffer. "] = "Você está autenticado no buffer."; $a->strings["return to the connector page"] = "Volte a página de conectores."; @@ -18,4 +17,3 @@ $a->strings["Authenticate your Buffer connection"] = "Autenticar sua conexão de $a->strings["Enable Buffer Post Addon"] = "Habilita addon para publicar no Buffer"; $a->strings["Post to Buffer by default"] = "Publica no Buffer por padrão"; $a->strings["Check to delete this preset"] = "Marque para excluir este perfil"; -$a->strings["Posts are going to all accounts that are enabled by default:"] = ""; diff --git a/buffer/lang/ro/strings.php b/buffer/lang/ro/strings.php index a6bda064..595f2021 100644 --- a/buffer/lang/ro/strings.php +++ b/buffer/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["Permission denied."] = "Permisiune refuzată."; diff --git a/buffer/lang/ru/strings.php b/buffer/lang/ru/strings.php index 92dfc507..cdd37823 100644 --- a/buffer/lang/ru/strings.php +++ b/buffer/lang/ru/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ru")) { function string_plural_select_ru($n){ $n = intval($n); - return ($n%10==1 && $n%100!=11 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14) ? 1 : $n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)? 2 : 3);; + if ($n%10==1 && $n%100!=11) { return 0; } else if ($n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14)) { return 1; } else if ($n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Permission denied."] = "Доступ запрещен."; diff --git a/buffer/lang/sv/strings.php b/buffer/lang/sv/strings.php index b48a1766..f31eaf10 100644 --- a/buffer/lang/sv/strings.php +++ b/buffer/lang/sv/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_sv")) { function string_plural_select_sv($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Permission denied."] = "Åtkomst nekad."; diff --git a/buglink/lang/ca/strings.php b/buglink/lang/ca/strings.php index a818f5df..be3776fe 100644 --- a/buglink/lang/ca/strings.php +++ b/buglink/lang/ca/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ca")) { function string_plural_select_ca($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Report Bug"] = "Informar d’error"; diff --git a/buglink/lang/cs/strings.php b/buglink/lang/cs/strings.php index 7a9f9204..9a3f878d 100644 --- a/buglink/lang/cs/strings.php +++ b/buglink/lang/cs/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ - return ($n==1) ? 0 : ($n>=2 && $n<=4) ? 1 : 2;; + $n = intval($n); + if (($n==1)) { return 0; } else if (($n>=2 && $n<=4)) { return 1; } else { return 2; } }} ; $a->strings["Report Bug"] = "Nahlásit chybu"; diff --git a/buglink/lang/de/strings.php b/buglink/lang/de/strings.php index 2de8583f..1df4d95c 100644 --- a/buglink/lang/de/strings.php +++ b/buglink/lang/de/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Report Bug"] = "Fehler melden"; diff --git a/buglink/lang/es/strings.php b/buglink/lang/es/strings.php index 27e45c1b..5f3c10b1 100644 --- a/buglink/lang/es/strings.php +++ b/buglink/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Report Bug"] = "Reportar error"; diff --git a/buglink/lang/fi-fi/strings.php b/buglink/lang/fi-fi/strings.php index 4222cfac..9674043d 100644 --- a/buglink/lang/fi-fi/strings.php +++ b/buglink/lang/fi-fi/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Report Bug"] = "Ilmoita virheestä"; diff --git a/buglink/lang/hu/strings.php b/buglink/lang/hu/strings.php index 16b9c06c..95d9759c 100644 --- a/buglink/lang/hu/strings.php +++ b/buglink/lang/hu/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_hu")) { function string_plural_select_hu($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Report Bug"] = "Hiba jelentése"; diff --git a/buglink/lang/is/strings.php b/buglink/lang/is/strings.php index 0458315a..335612f9 100644 --- a/buglink/lang/is/strings.php +++ b/buglink/lang/is/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_is")) { function string_plural_select_is($n){ $n = intval($n); - return ($n % 10 != 1 || $n % 100 == 11);; + return intval($n % 10 != 1 || $n % 100 == 11); }} ; $a->strings["Report Bug"] = "Tilkynna villu"; diff --git a/buglink/lang/it/strings.php b/buglink/lang/it/strings.php index 449e6b9f..5f9a9085 100644 --- a/buglink/lang/it/strings.php +++ b/buglink/lang/it/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Report Bug"] = "Segnala un Bug"; diff --git a/buglink/lang/nb-no/strings.php b/buglink/lang/nb-no/strings.php index 9de93361..88142390 100644 --- a/buglink/lang/nb-no/strings.php +++ b/buglink/lang/nb-no/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_nb_no")) { function string_plural_select_nb_no($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Report Bug"] = "Rapporter feil"; diff --git a/buglink/lang/nl/strings.php b/buglink/lang/nl/strings.php index a5db04bd..d44b3b2f 100644 --- a/buglink/lang/nl/strings.php +++ b/buglink/lang/nl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Report Bug"] = "Bug rapporteren"; diff --git a/buglink/lang/pl/strings.php b/buglink/lang/pl/strings.php index d2e835f9..7fed74fb 100644 --- a/buglink/lang/pl/strings.php +++ b/buglink/lang/pl/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + $n = intval($n); + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Report Bug"] = "Zgłoś błąd"; diff --git a/buglink/lang/ro/strings.php b/buglink/lang/ro/strings.php index 25a9c769..20a57ce7 100644 --- a/buglink/lang/ro/strings.php +++ b/buglink/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["Report Bug"] = "Raportează Problema"; diff --git a/buglink/lang/ru/strings.php b/buglink/lang/ru/strings.php index fe03f9eb..ace0053f 100644 --- a/buglink/lang/ru/strings.php +++ b/buglink/lang/ru/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ru")) { function string_plural_select_ru($n){ - return ($n%10==1 && $n%100!=11 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14) ? 1 : $n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)? 2 : 3);; + $n = intval($n); + if ($n%10==1 && $n%100!=11) { return 0; } else if ($n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14)) { return 1; } else if ($n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Report Bug"] = "Сообщить об ошибке"; diff --git a/buglink/lang/sv/strings.php b/buglink/lang/sv/strings.php index 513dd4f3..9166d602 100644 --- a/buglink/lang/sv/strings.php +++ b/buglink/lang/sv/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_sv")) { function string_plural_select_sv($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Report Bug"] = "Rapportera bugg"; diff --git a/buglink/lang/zh-cn/strings.php b/buglink/lang/zh-cn/strings.php index 520c0d09..e467d5c9 100644 --- a/buglink/lang/zh-cn/strings.php +++ b/buglink/lang/zh-cn/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_zh_cn")) { function string_plural_select_zh_cn($n){ $n = intval($n); - return 0;; + return intval(0); }} ; $a->strings["Report Bug"] = "报告错误"; diff --git a/calc/lang/C/messages.po b/calc/lang/C/messages.po deleted file mode 100644 index e69de29b..00000000 diff --git a/catavatar/lang/ca/strings.php b/catavatar/lang/ca/strings.php index cb62f492..3ab33c58 100644 --- a/catavatar/lang/ca/strings.php +++ b/catavatar/lang/ca/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ca")) { function string_plural_select_ca($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Use Cat as Avatar"] = "Utilitzeu Gat com a Avatar"; diff --git a/catavatar/lang/cs/strings.php b/catavatar/lang/cs/strings.php index 8aad1516..f0cf1fe3 100644 --- a/catavatar/lang/cs/strings.php +++ b/catavatar/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["Use Cat as Avatar"] = "Použít kočku jako avatar"; diff --git a/catavatar/lang/en-gb/strings.php b/catavatar/lang/en-gb/strings.php index f37ebd61..42e68470 100644 --- a/catavatar/lang/en-gb/strings.php +++ b/catavatar/lang/en-gb/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_en_gb")) { function string_plural_select_en_gb($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Use Cat as Avatar"] = "Use Cat as Avatar"; diff --git a/catavatar/lang/es/strings.php b/catavatar/lang/es/strings.php index 72ba6990..f7897bf6 100644 --- a/catavatar/lang/es/strings.php +++ b/catavatar/lang/es/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Use Cat as Avatar"] = "Usar Gato como Avatar"; diff --git a/catavatar/lang/fi-fi/strings.php b/catavatar/lang/fi-fi/strings.php index ebcd678c..009435e7 100644 --- a/catavatar/lang/fi-fi/strings.php +++ b/catavatar/lang/fi-fi/strings.php @@ -2,12 +2,12 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Use Cat as Avatar"] = "Ota kissa-avatari käyttöön"; $a->strings["More Random Cat!"] = "Lisää satunnaisia kissoja!"; -$a->strings["Reset to email Cat"] = ""; $a->strings["Cat Avatar Settings"] = "Cat Avatar -asetukset"; $a->strings["The cat hadn't found itself."] = "Tietokantavirhe, kissa on eksyksissä."; $a->strings["There was an error, the cat ran away."] = "Tapahtui virhe, kissa juoksi karkuun."; diff --git a/catavatar/lang/fr/strings.php b/catavatar/lang/fr/strings.php index 78976bf5..3ef02cd3 100644 --- a/catavatar/lang/fr/strings.php +++ b/catavatar/lang/fr/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_fr")) { function string_plural_select_fr($n){ $n = intval($n); - return ($n > 1);; + return intval($n > 1); }} ; $a->strings["Use Cat as Avatar"] = "Utiliser Chat comme avatar"; diff --git a/catavatar/lang/hu/strings.php b/catavatar/lang/hu/strings.php index c3d1564f..d45b3bf9 100644 --- a/catavatar/lang/hu/strings.php +++ b/catavatar/lang/hu/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_hu")) { function string_plural_select_hu($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Use Cat as Avatar"] = "Macska használata profilképként"; diff --git a/catavatar/lang/is/strings.php b/catavatar/lang/is/strings.php index a4266e21..a5d120b2 100644 --- a/catavatar/lang/is/strings.php +++ b/catavatar/lang/is/strings.php @@ -3,14 +3,8 @@ if(! function_exists("string_plural_select_is")) { function string_plural_select_is($n){ $n = intval($n); - return ($n % 10 != 1 || $n % 100 == 11);; + return intval($n % 10 != 1 || $n % 100 == 11); }} ; -$a->strings["Use Cat as Avatar"] = ""; -$a->strings["More Random Cat!"] = ""; -$a->strings["Reset to email Cat"] = ""; -$a->strings["Cat Avatar Settings"] = ""; -$a->strings["The cat hadn't found itself."] = ""; -$a->strings["There was an error, the cat ran away."] = ""; $a->strings["Profile Photos"] = "Forsíðumyndir"; $a->strings["Meow!"] = "Mjá!"; diff --git a/catavatar/lang/nl/strings.php b/catavatar/lang/nl/strings.php index f97a6ef5..67c9e9cf 100644 --- a/catavatar/lang/nl/strings.php +++ b/catavatar/lang/nl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Use Cat as Avatar"] = "Gebruik een kat als avatar"; diff --git a/catavatar/lang/pl/strings.php b/catavatar/lang/pl/strings.php index 203d1a97..da5bdc27 100644 --- a/catavatar/lang/pl/strings.php +++ b/catavatar/lang/pl/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + $n = intval($n); + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Use Cat as Avatar"] = "Użyj kota jako awatara"; diff --git a/catavatar/lang/ru/strings.php b/catavatar/lang/ru/strings.php index 2dd756ca..15b9dd8d 100644 --- a/catavatar/lang/ru/strings.php +++ b/catavatar/lang/ru/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ru")) { function string_plural_select_ru($n){ $n = intval($n); - return ($n%10==1 && $n%100!=11 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14) ? 1 : $n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)? 2 : 3);; + if ($n%10==1 && $n%100!=11) { return 0; } else if ($n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14)) { return 1; } else if ($n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Use Cat as Avatar"] = "Поставить кота на аватар"; diff --git a/convert/lang/C/messages.po b/convert/lang/C/messages.po deleted file mode 100644 index e69de29b..00000000 diff --git a/cookienotice/lang/ca/strings.php b/cookienotice/lang/ca/strings.php index fd662e21..ce12bccc 100644 --- a/cookienotice/lang/ca/strings.php +++ b/cookienotice/lang/ca/strings.php @@ -3,17 +3,14 @@ if(! function_exists("string_plural_select_ca")) { function string_plural_select_ca($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; -$a->strings["This website uses cookies. If you continue browsing this website, you agree to the usage of cookies."] = "Aquest lloc web utilitza cookies. Si continueu navegant per aquest lloc web, esteu d’acord amb l’ús de cookies."; $a->strings["OK"] = "D'acord"; $a->strings["\"cookienotice\" Settings"] = "Configuració 'cookienotice'"; -$a->strings["Configure your cookie usage notice. It should just be a notice, saying that the website uses cookies. It is shown as long as a user didnt confirm clicking the OK button."] = "Configureu l’avís d’ús de cookies. Només hauria de ser un avís, dient que el lloc web utilitza cookies. Es mostra sempre que un usuari no confirmi el seu clic al botó D'acord"; $a->strings["Cookie Usage Notice"] = "Avís d’ús de cookies"; $a->strings["The cookie usage notice"] = "L’avís d’ús de cookies"; $a->strings["OK Button Text"] = "Text del botó d’acord"; $a->strings["The OK Button text"] = "Text del botó D'acord"; $a->strings["Save Settings"] = "Desa la configuració"; $a->strings["cookienotice Settings saved."] = "Cookienotice S'ha desat la configuració."; -$a->strings["This website uses cookies to recognize revisiting and logged in users. You accept the usage of these cookies by continue browsing this website."] = "Aquest lloc web utilitza cookies per reconèixer la revisió i la sessió d’usuaris. Accepteu l’ús d’aquestes cookies continuant navegant per aquest lloc web."; diff --git a/cookienotice/lang/cs/strings.php b/cookienotice/lang/cs/strings.php index 3a759f02..90cfcf95 100644 --- a/cookienotice/lang/cs/strings.php +++ b/cookienotice/lang/cs/strings.php @@ -3,17 +3,14 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; -$a->strings["This website uses cookies. If you continue browsing this website, you agree to the usage of cookies."] = "Tato stránka používá cookies. Pokud budete pokračovat v používání této stránky, souhlasíte s používáním cookies."; $a->strings["OK"] = "OK"; $a->strings["\"cookienotice\" Settings"] = "Nastavení „cookienotice“"; -$a->strings["Configure your cookie usage notice. It should just be a notice, saying that the website uses cookies. It is shown as long as a user didnt confirm clicking the OK button."] = "Nastavte si vaÅ¡e oznámení o používání cookies. Mělo by to být pouze oznámení říkající, že stránka používá cookies. Zobrazí se, dokud uživatel neklikne na tlačítko OK."; $a->strings["Cookie Usage Notice"] = "Oznámení o používání cookies"; $a->strings["The cookie usage notice"] = "Oznámení o používání cookies"; $a->strings["OK Button Text"] = "Text tlačítka OK"; $a->strings["The OK Button text"] = "Text tlačítka OK"; $a->strings["Save Settings"] = "Uložit nastavení"; $a->strings["cookienotice Settings saved."] = "Nastavení cookienotice uložena."; -$a->strings["This website uses cookies to recognize revisiting and logged in users. You accept the usage of these cookies by continue browsing this website."] = "Tato stránka používá cookies pro rozpoznávání znovu navÅ¡těvujících a přihlášených uživatelů. Pokud budete pokračovat v používání této stránky, souhlasíte s používáním cookies."; diff --git a/cookienotice/lang/de/strings.php b/cookienotice/lang/de/strings.php index b4441c23..b35f4486 100644 --- a/cookienotice/lang/de/strings.php +++ b/cookienotice/lang/de/strings.php @@ -3,17 +3,14 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; -$a->strings["This website uses cookies. If you continue browsing this website, you agree to the usage of cookies."] = "Diese Webseite verwendet Cookies. Durch die weitere Benutzung der Webseite stimmen Sie dieser Verwendung zu."; $a->strings["OK"] = "OK"; $a->strings["\"cookienotice\" Settings"] = "\"cookienotice\"-Einstellungen"; -$a->strings["Configure your cookie usage notice. It should just be a notice, saying that the website uses cookies. It is shown as long as a user didnt confirm clicking the OK button."] = "Konfiguriere deinen Cookie-Nutzungshinweis. Es sollte ein Hinweis sein, der sagt, dass die Webseite Cookies benutzt. Er wird so lange angezeigt, bis der User den Hinweis durch Klicken des OK-Buttons bestätigt."; $a->strings["Cookie Usage Notice"] = "Cookie-Nutzungshinweis"; $a->strings["The cookie usage notice"] = "Der Hinweis zur Nutzung von Cookies"; $a->strings["OK Button Text"] = "OK-Button-Text"; $a->strings["The OK Button text"] = "Der für den OK-Button verwendete Text"; $a->strings["Save Settings"] = "Einstellungen speichern"; $a->strings["cookienotice Settings saved."] = "cookienotice-Einstellungen wurden gespeichert"; -$a->strings["This website uses cookies to recognize revisiting and logged in users. You accept the usage of these cookies by continue browsing this website."] = "Diese Webseite verwendet Cookies zur Erkennung von wiederkehrenden Besuchern und eingeloggten Nutzern. Durch die weitere Benutzung der Webseite akzeptieren Sie die Verwendung der Cookies."; diff --git a/cookienotice/lang/en-gb/strings.php b/cookienotice/lang/en-gb/strings.php index 0acb4196..abcef115 100644 --- a/cookienotice/lang/en-gb/strings.php +++ b/cookienotice/lang/en-gb/strings.php @@ -3,17 +3,14 @@ if(! function_exists("string_plural_select_en_gb")) { function string_plural_select_en_gb($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; -$a->strings["This website uses cookies. If you continue browsing this website, you agree to the usage of cookies."] = "This website uses cookies. If you continue browsing this website, you agree to the usage of cookies."; $a->strings["OK"] = "OK"; $a->strings["\"cookienotice\" Settings"] = "\"cookienotice\" settings"; -$a->strings["Configure your cookie usage notice. It should just be a notice, saying that the website uses cookies. It is shown as long as a user didnt confirm clicking the OK button."] = "Configure your cookie usage notice. It should just be a notice, saying that the website uses cookies. It is shown as long as a user didnt confirm clicking the OK button."; $a->strings["Cookie Usage Notice"] = "Cookie usage notice"; $a->strings["The cookie usage notice"] = "The cookie usage notice"; $a->strings["OK Button Text"] = "OK button text"; $a->strings["The OK Button text"] = "OK button text"; $a->strings["Save Settings"] = "Save settings"; $a->strings["cookienotice Settings saved."] = "Cookie notice settings saved."; -$a->strings["This website uses cookies to recognize revisiting and logged in users. You accept the usage of these cookies by continue browsing this website."] = "This website uses cookies to recognize revisiting and logged in users. You accept the usage of these cookies by continue browsing this website."; diff --git a/cookienotice/lang/fr/strings.php b/cookienotice/lang/fr/strings.php index f975f493..a42bcdb1 100644 --- a/cookienotice/lang/fr/strings.php +++ b/cookienotice/lang/fr/strings.php @@ -3,14 +3,7 @@ if(! function_exists("string_plural_select_fr")) { function string_plural_select_fr($n){ $n = intval($n); - return ($n > 1);; + return intval($n > 1); }} ; -$a->strings["\"cookienotice\" Settings"] = ""; -$a->strings["Configure your cookie usage notice. It should just be a notice, saying that the website uses cookies. It is shown as long as a user didnt confirm clicking the OK button."] = ""; -$a->strings["Cookie Usage Notice"] = ""; -$a->strings["The cookie usage notice"] = ""; $a->strings["OK Button Text"] = "Bouton OK Texte "; -$a->strings["The OK Button text"] = ""; -$a->strings["Save Settings"] = ""; -$a->strings["cookienotice Settings saved."] = ""; diff --git a/cookienotice/lang/hu/strings.php b/cookienotice/lang/hu/strings.php index ddb749c3..35dfa321 100644 --- a/cookienotice/lang/hu/strings.php +++ b/cookienotice/lang/hu/strings.php @@ -3,17 +3,14 @@ if(! function_exists("string_plural_select_hu")) { function string_plural_select_hu($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; -$a->strings["This website uses cookies. If you continue browsing this website, you agree to the usage of cookies."] = "Ez a weboldal sütiket használ. Ha folytatja a böngészést a weboldalon, akkor elfogadja a sütik használatát."; $a->strings["OK"] = "Rendben"; $a->strings["\"cookienotice\" Settings"] = "A sütifigyelmeztetés beállításai"; -$a->strings["Configure your cookie usage notice. It should just be a notice, saying that the website uses cookies. It is shown as long as a user didnt confirm clicking the OK button."] = "Állítsa be a sütihasználati figyelmeztetést. Ennek csak egy figyelmeztetésnek kell lennie, amely arra hívja fel a figyelmet, hogy a weboldal sütiket használ. Egészen addig lesz megjelenítve, amíg a felhasználó nem fogadja el a Rendben gombra kattintva."; $a->strings["Cookie Usage Notice"] = "Sütihasználati figyelmeztetés"; $a->strings["The cookie usage notice"] = "A sütihasználati figyelmeztetés"; $a->strings["OK Button Text"] = "Rendben gomb szövege"; $a->strings["The OK Button text"] = "A „Rendben” gomb szövege"; $a->strings["Save Settings"] = "Beállítások mentése"; $a->strings["cookienotice Settings saved."] = "A sütifigyelmeztetés beállításai elmentve."; -$a->strings["This website uses cookies to recognize revisiting and logged in users. You accept the usage of these cookies by continue browsing this website."] = "Ez a weboldal sütiket használ az újralátogatás felismeréséhez és a bejelentkezett felhasználókhoz. A weboldalon történő böngészés folytatásával Ön elfogadja ezen sütik használatát."; diff --git a/cookienotice/lang/it/strings.php b/cookienotice/lang/it/strings.php index b4d84be6..7b2caf58 100644 --- a/cookienotice/lang/it/strings.php +++ b/cookienotice/lang/it/strings.php @@ -3,17 +3,14 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; -$a->strings["This website uses cookies. If you continue browsing this website, you agree to the usage of cookies."] = "Questo sito web utilizza cookie. Proseguendo la navigazione su questo sito, accetti l'utilizzo dei cookie."; $a->strings["OK"] = "OK"; $a->strings["\"cookienotice\" Settings"] = "Impostazioni \"cookienotice\""; -$a->strings["Configure your cookie usage notice. It should just be a notice, saying that the website uses cookies. It is shown as long as a user didnt confirm clicking the OK button."] = "Configura la tua notifica di utilizzo dei cookie Dovrebbe essere semplicemente una nota che dice che il sito utilizza dei cookie. Viene mostrata fino a quanto l'utente conferma cliccando il bottone OK."; $a->strings["Cookie Usage Notice"] = "Nota Utilizzo Cookie"; $a->strings["The cookie usage notice"] = "La nota di utilizzo dei cookie"; $a->strings["OK Button Text"] = "Testo Bottone OK"; $a->strings["The OK Button text"] = "Il testo del bottone OK"; $a->strings["Save Settings"] = "Salva Impostazioni"; $a->strings["cookienotice Settings saved."] = "Impostazioni \"cookienotice\" salvate."; -$a->strings["This website uses cookies to recognize revisiting and logged in users. You accept the usage of these cookies by continue browsing this website."] = "Questo sito utilizza cookie per riconosce gli utenti loggati e quelli che tornano a visitare. Proseguendo la navigazione su questo sito, accetti l'utilizzo di questi cookie. "; diff --git a/cookienotice/lang/nl/strings.php b/cookienotice/lang/nl/strings.php index 4699657e..59ca77cb 100644 --- a/cookienotice/lang/nl/strings.php +++ b/cookienotice/lang/nl/strings.php @@ -3,17 +3,14 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; -$a->strings["This website uses cookies. If you continue browsing this website, you agree to the usage of cookies."] = "Deze website gebruikt cookies. Door het gebruik van deze website, je akkoord met het gebruik van deze cookies."; $a->strings["OK"] = "OK"; $a->strings["\"cookienotice\" Settings"] = "\"cookienotice\" instellingen"; -$a->strings["Configure your cookie usage notice. It should just be a notice, saying that the website uses cookies. It is shown as long as a user didnt confirm clicking the OK button."] = "Configureer je meldingen voor het gebruik van cookies. Het dient alleen een melding te zijn die zegt dat de website cookies gebruikt. Dit is te zien als de gebruiker niet heeft bevestigd door op de OK knop te drukken."; $a->strings["Cookie Usage Notice"] = "Cookiemelding"; $a->strings["The cookie usage notice"] = "De cookiemelding"; $a->strings["OK Button Text"] = "OK knop tekst"; $a->strings["The OK Button text"] = "De OK knop tekst"; $a->strings["Save Settings"] = "Instellingen Opslaan"; $a->strings["cookienotice Settings saved."] = "Cookienotice instellingen opgeslagen."; -$a->strings["This website uses cookies to recognize revisiting and logged in users. You accept the usage of these cookies by continue browsing this website."] = "Deze website gebruikt cookies om terugkerende en ingelogde gebruikers te herkennen. Door gebruik van deze website gaat u akkoord met het gebruik van deze cookies"; diff --git a/cookienotice/lang/pl/strings.php b/cookienotice/lang/pl/strings.php index 3643e5ad..78995c23 100644 --- a/cookienotice/lang/pl/strings.php +++ b/cookienotice/lang/pl/strings.php @@ -3,17 +3,14 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ $n = intval($n); - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; -$a->strings["This website uses cookies. If you continue browsing this website, you agree to the usage of cookies."] = "Ta strona używa plików cookie. Jeśli będziesz kontynuować przeglądanie tej strony, zgadzasz się na użycie plików cookie."; $a->strings["OK"] = "OK"; $a->strings["\"cookienotice\" Settings"] = "Ustawienia \"plików cookie\""; -$a->strings["Configure your cookie usage notice. It should just be a notice, saying that the website uses cookies. It is shown as long as a user didnt confirm clicking the OK button."] = "Skonfiguruj zawiadomienie o użyciu plików cookie. Powinien to być po prostu komunikat, że strona korzysta z plików cookie. Jest wyświetlany, o ile użytkownik nie potwierdził, klikając przycisk OK."; $a->strings["Cookie Usage Notice"] = "Użyciu plików cookie"; $a->strings["The cookie usage notice"] = "Powiadomienie o użyciu plików cookie"; $a->strings["OK Button Text"] = "Tekst przycisku OK"; $a->strings["The OK Button text"] = "Tekst przycisku OK"; $a->strings["Save Settings"] = "Zapisz ustawienia"; $a->strings["cookienotice Settings saved."] = "Zapisano stawienia plików cookie."; -$a->strings["This website uses cookies to recognize revisiting and logged in users. You accept the usage of these cookies by continue browsing this website."] = "Ta strona używa plików cookie do rozpoznawania ponownych odwiedzin i zalogowanych użytkowników. Akceptujesz użycie tych plików cookie, kontynuując przeglądanie tej witryny."; diff --git a/cookienotice/lang/zh-cn/strings.php b/cookienotice/lang/zh-cn/strings.php index 3036b5be..e0c5e586 100644 --- a/cookienotice/lang/zh-cn/strings.php +++ b/cookienotice/lang/zh-cn/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_zh_cn")) { function string_plural_select_zh_cn($n){ $n = intval($n); - return 0;; + return intval(0); }} ; $a->strings["This website uses cookies. If you continue browsing this website, you agree to the usage of cookies."] = "本网站将使用 cookies。如果您继续浏览本网站,即表示您同意使用 cookies。"; diff --git a/curweather/lang/ca/strings.php b/curweather/lang/ca/strings.php index 4fed6616..1b576c38 100644 --- a/curweather/lang/ca/strings.php +++ b/curweather/lang/ca/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ca")) { function string_plural_select_ca($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Error fetching weather data.\\nError was: "] = "S'ha produït un error en recuperar les dades meteorològiques. \\\\ NEror ha estat:"; diff --git a/curweather/lang/cs/strings.php b/curweather/lang/cs/strings.php index 565fe7d7..ea74d684 100644 --- a/curweather/lang/cs/strings.php +++ b/curweather/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["Error fetching weather data.\\nError was: "] = "Chyba při získávání dat o počasí.\\nChyba:"; diff --git a/curweather/lang/de/strings.php b/curweather/lang/de/strings.php index 2f1f0e3d..7947a44e 100644 --- a/curweather/lang/de/strings.php +++ b/curweather/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Error fetching weather data.\\nError was: "] = "Fehler beim abrufen der Wetterdaten.\\nDie Fehlermeldung lautet:"; diff --git a/curweather/lang/es/strings.php b/curweather/lang/es/strings.php index f968076a..bd6340ce 100644 --- a/curweather/lang/es/strings.php +++ b/curweather/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Error fetching weather data.\\nError was: "] = "Error al traer información del clima.\\nError era: "; diff --git a/curweather/lang/fi-fi/strings.php b/curweather/lang/fi-fi/strings.php index d942398d..4a47c6f2 100644 --- a/curweather/lang/fi-fi/strings.php +++ b/curweather/lang/fi-fi/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Error fetching weather data.\\nError was: "] = "Säätietojen noutamisessa tapahtui virhe.\\nLisätietoja: "; @@ -28,7 +28,6 @@ $a->strings["select if the temperature should be displayed in °C or °F"] $a->strings["Show weather data"] = "Näytä säätiedot"; $a->strings["Curweather settings saved."] = "Curweather -asetukset tallennettu."; $a->strings["Caching Interval"] = "Välimuistin aikaväli"; -$a->strings["For how long should the weather data be cached? Choose according your OpenWeatherMap account type."] = ""; $a->strings["no cache"] = "Ei välimuistia"; $a->strings["minutes"] = "minuuttia"; $a->strings["Your APPID"] = "Sinun APPID"; diff --git a/curweather/lang/fr/strings.php b/curweather/lang/fr/strings.php index 466a0508..8915dcf5 100644 --- a/curweather/lang/fr/strings.php +++ b/curweather/lang/fr/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_fr")) { function string_plural_select_fr($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; $a->strings["Error fetching weather data.\\nError was: "] = "Erreur durant la récupération de la météo.\\nL'erreur était : "; diff --git a/curweather/lang/hu/strings.php b/curweather/lang/hu/strings.php index f24c5562..bc9966f9 100644 --- a/curweather/lang/hu/strings.php +++ b/curweather/lang/hu/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_hu")) { function string_plural_select_hu($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Error fetching weather data.\\nError was: "] = "Hiba az időjárási adatok lekérésekor.\\nA hiba ez volt: "; diff --git a/curweather/lang/it/strings.php b/curweather/lang/it/strings.php index 99525cc1..32f244b4 100644 --- a/curweather/lang/it/strings.php +++ b/curweather/lang/it/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Error fetching weather data.\\nError was: "] = "Errore recuperando i dati meteo: "; diff --git a/curweather/lang/nl/strings.php b/curweather/lang/nl/strings.php index 9a4a4d29..f48939a9 100644 --- a/curweather/lang/nl/strings.php +++ b/curweather/lang/nl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Error fetching weather data.\\nError was: "] = "Fout bij het ophalen van de weer data:\\nFout was:"; diff --git a/curweather/lang/pl/strings.php b/curweather/lang/pl/strings.php index aa4df64f..580a72d5 100644 --- a/curweather/lang/pl/strings.php +++ b/curweather/lang/pl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ $n = intval($n); - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Error fetching weather data.\\nError was: "] = "Błąd podczas pobierania danych pogodowych. \\nError był:"; diff --git a/curweather/lang/pt-br/strings.php b/curweather/lang/pt-br/strings.php index f50bc4a0..7e1dbb0d 100644 --- a/curweather/lang/pt-br/strings.php +++ b/curweather/lang/pt-br/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pt_br")) { function string_plural_select_pt_br($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; $a->strings["Error fetching weather data.\\nError was: "] = "Houve um erro na obtenção de dados do clima\\nErro:"; diff --git a/curweather/lang/ro/strings.php b/curweather/lang/ro/strings.php index 0d0ac9e3..1dfe462b 100644 --- a/curweather/lang/ro/strings.php +++ b/curweather/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["Current Weather"] = "Starea Vremii"; diff --git a/diaspora/lang/ca/strings.php b/diaspora/lang/ca/strings.php index ce48df19..357973bf 100644 --- a/diaspora/lang/ca/strings.php +++ b/diaspora/lang/ca/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ca")) { function string_plural_select_ca($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Post to Diaspora"] = "Publicar a diàspora"; diff --git a/diaspora/lang/cs/strings.php b/diaspora/lang/cs/strings.php index 649b02c7..b9c0ab24 100644 --- a/diaspora/lang/cs/strings.php +++ b/diaspora/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["Post to Diaspora"] = "Odeslat na Diasporu"; diff --git a/diaspora/lang/de/strings.php b/diaspora/lang/de/strings.php index 6d0ab88e..db30c36d 100644 --- a/diaspora/lang/de/strings.php +++ b/diaspora/lang/de/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Post to Diaspora"] = "Auf Diaspora veröffentlichen"; diff --git a/diaspora/lang/en-gb/strings.php b/diaspora/lang/en-gb/strings.php index 7a84ef4c..a5ceb834 100644 --- a/diaspora/lang/en-gb/strings.php +++ b/diaspora/lang/en-gb/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_en_gb")) { function string_plural_select_en_gb($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Post to Diaspora"] = "Post to Diaspora"; diff --git a/diaspora/lang/en-us/strings.php b/diaspora/lang/en-us/strings.php index 237dfee5..ff57d04e 100644 --- a/diaspora/lang/en-us/strings.php +++ b/diaspora/lang/en-us/strings.php @@ -3,26 +3,12 @@ if(! function_exists("string_plural_select_en_us")) { function string_plural_select_en_us($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Post to Diaspora"] = "Post to Diaspora"; -$a->strings["Please remember: You can always be reached from Diaspora with your Friendica handle %s. "] = ""; -$a->strings["This connector is only meant if you still want to use your old Diaspora account for some time. "] = ""; -$a->strings["However, it is preferred that you tell your Diaspora contacts the new handle %s instead."] = ""; -$a->strings["All aspects"] = ""; -$a->strings["Public"] = ""; -$a->strings["Post to aspect:"] = ""; -$a->strings["Connected with your Diaspora account %s"] = ""; -$a->strings["Can't login to your Diaspora account. Please check handle (in the format user@domain.tld) and password."] = ""; $a->strings["Diaspora Export"] = "Diaspora Export"; -$a->strings["Information"] = ""; -$a->strings["Error"] = ""; $a->strings["Save Settings"] = "Save settings"; $a->strings["Enable Diaspora Post Addon"] = "Enable Diaspora export"; -$a->strings["Diaspora handle"] = ""; $a->strings["Diaspora password"] = "Diaspora password"; -$a->strings["Privacy notice: Your Diaspora password will be stored unencrypted to authenticate you with your Diaspora pod. This means your Friendica node administrator can have access to it."] = ""; $a->strings["Post to Diaspora by default"] = "Post to Diaspora by default"; -$a->strings["Diaspora settings updated."] = ""; -$a->strings["Diaspora connector disabled."] = ""; diff --git a/diaspora/lang/es/strings.php b/diaspora/lang/es/strings.php index e25594c3..21e0c604 100644 --- a/diaspora/lang/es/strings.php +++ b/diaspora/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Post to Diaspora"] = "Publicar hacia Diaspora*"; diff --git a/diaspora/lang/fi-fi/strings.php b/diaspora/lang/fi-fi/strings.php index 8d14a70b..167f2318 100644 --- a/diaspora/lang/fi-fi/strings.php +++ b/diaspora/lang/fi-fi/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Post to Diaspora"] = "Lähetä Diasporaan"; diff --git a/diaspora/lang/fr/strings.php b/diaspora/lang/fr/strings.php index c9037b6a..84a0e0c4 100644 --- a/diaspora/lang/fr/strings.php +++ b/diaspora/lang/fr/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_fr")) { function string_plural_select_fr($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; $a->strings["Post to Diaspora"] = "Publier sur Diaspora"; diff --git a/diaspora/lang/hu/strings.php b/diaspora/lang/hu/strings.php index 280686a5..36230bcb 100644 --- a/diaspora/lang/hu/strings.php +++ b/diaspora/lang/hu/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_hu")) { function string_plural_select_hu($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Post to Diaspora"] = "Beküldés a Diasporára"; diff --git a/diaspora/lang/is/strings.php b/diaspora/lang/is/strings.php index 6149a41b..b1337cb1 100644 --- a/diaspora/lang/is/strings.php +++ b/diaspora/lang/is/strings.php @@ -3,11 +3,10 @@ if(! function_exists("string_plural_select_is")) { function string_plural_select_is($n){ $n = intval($n); - return ($n % 10 != 1 || $n % 100 == 11);; + return intval($n % 10 != 1 || $n % 100 == 11); }} ; $a->strings["Post to Diaspora"] = "Senda færslu á Diaspora"; -$a->strings["Can't login to your Diaspora account. Please check username and password and ensure you used the complete address (including http...)"] = ""; $a->strings["Diaspora Export"] = "Diaspora útflutningur"; $a->strings["Enable Diaspora Post Addon"] = "Virkja sendiviðbót fyrir Diaspora"; $a->strings["Diaspora username"] = "Notandanafn á Diaspora"; diff --git a/diaspora/lang/it/strings.php b/diaspora/lang/it/strings.php index af97743f..d36fb0b8 100644 --- a/diaspora/lang/it/strings.php +++ b/diaspora/lang/it/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Post to Diaspora"] = "Invia a Diaspora"; diff --git a/diaspora/lang/nl/strings.php b/diaspora/lang/nl/strings.php index 2308dc86..3ea2a4b3 100644 --- a/diaspora/lang/nl/strings.php +++ b/diaspora/lang/nl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Post to Diaspora"] = "Plaatsen op Diaspora"; @@ -20,9 +20,6 @@ $a->strings["Information"] = "Informatie"; $a->strings["Error"] = "Fout"; $a->strings["Save Settings"] = "Instellingen opslaan"; $a->strings["Enable Diaspora Post Addon"] = "Diaspora Post Addon inschakelen"; -$a->strings["Diaspora handle"] = ""; $a->strings["Diaspora password"] = "Diaspora wachtwoord"; $a->strings["Privacy notice: Your Diaspora password will be stored unencrypted to authenticate you with your Diaspora pod. This means your Friendica node administrator can have access to it."] = "Privacyverklaring: uw diaspora-wachtwoord wordt onversleuteld opgeslagen om u te authenticeren met uw diaspora-pod. Dit betekent dat uw Friendica-knooppuntbeheerder er toegang toe heeft."; $a->strings["Post to Diaspora by default"] = "Plaatsen op Diaspora als standaard instellen "; -$a->strings["Diaspora settings updated."] = ""; -$a->strings["Diaspora connector disabled."] = ""; diff --git a/diaspora/lang/pl/strings.php b/diaspora/lang/pl/strings.php index fc026326..823fe35b 100644 --- a/diaspora/lang/pl/strings.php +++ b/diaspora/lang/pl/strings.php @@ -3,24 +3,19 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ $n = intval($n); - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Post to Diaspora"] = "Napisz do Diaspory"; -$a->strings["Please remember: You can always be reached from Diaspora with your Friendica handle %s. "] = ""; $a->strings["This connector is only meant if you still want to use your old Diaspora account for some time. "] = "Ten łącznik jest przeznaczony do tego, gdy nadal chcesz korzystać ze starego konta Diaspora przez jakiś czas."; -$a->strings["However, it is preferred that you tell your Diaspora contacts the new handle %s instead."] = ""; $a->strings["All aspects"] = "Wszystkie aspekty"; $a->strings["Public"] = "Publiczny"; -$a->strings["Post to aspect:"] = ""; $a->strings["Connected with your Diaspora account %s"] = "Połączony ze swoim kontem Diaspora %s"; -$a->strings["Can't login to your Diaspora account. Please check handle (in the format user@domain.tld) and password."] = ""; $a->strings["Diaspora Export"] = "Eksportuj do Diaspory"; $a->strings["Information"] = "Informacja"; $a->strings["Error"] = "Błąd"; $a->strings["Save Settings"] = "Zapisz ustawienia"; $a->strings["Enable Diaspora Post Addon"] = "Włącz dodatek Diaspora"; -$a->strings["Diaspora handle"] = ""; $a->strings["Diaspora password"] = "Hasło Diaspora"; $a->strings["Privacy notice: Your Diaspora password will be stored unencrypted to authenticate you with your Diaspora pod. This means your Friendica node administrator can have access to it."] = "Informacja o ochronie prywatności: Twoje hasło Diaspora będzie przechowywane w postaci niezaszyfrowanej w celu uwierzytelnienia użytkownika za pomocą Diaspora. Oznacza to, że administrator węzła Friendica może mieć do niego dostęp."; $a->strings["Post to Diaspora by default"] = "Wyślij domyślnie do Diaspory"; diff --git a/diaspora/lang/ro/strings.php b/diaspora/lang/ro/strings.php index 3173251c..021bf884 100644 --- a/diaspora/lang/ro/strings.php +++ b/diaspora/lang/ro/strings.php @@ -3,13 +3,12 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ $n = intval($n); - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["Post to Diaspora"] = "Postați pe Diaspora"; $a->strings["Can't login to your Diaspora account. Please check username and password and ensure you used the complete address (including http...)"] = "Nu se poate face autentificarea pe contul dvs. Diaspora. Verificați numele de utilizator şi parola şi asigurați-vă că ați folosit adresa completă (inclusiv http ... )"; $a->strings["Diaspora Export"] = "Exportare pe Diaspora "; -$a->strings["Enable Diaspora Post Addon"] = ""; $a->strings["Diaspora username"] = "Utilizator Diaspora"; $a->strings["Diaspora password"] = "Parola Diaspora"; $a->strings["Diaspora site URL"] = "URL site Diaspora"; diff --git a/diaspora/lang/ru/strings.php b/diaspora/lang/ru/strings.php index 1038ec21..61b47197 100644 --- a/diaspora/lang/ru/strings.php +++ b/diaspora/lang/ru/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ru")) { function string_plural_select_ru($n){ $n = intval($n); - return ($n%10==1 && $n%100!=11 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14) ? 1 : $n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)? 2 : 3);; + if ($n%10==1 && $n%100!=11) { return 0; } else if ($n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14)) { return 1; } else if ($n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Post to Diaspora"] = "Отправить в Diaspora"; diff --git a/diaspora/lang/zh-cn/strings.php b/diaspora/lang/zh-cn/strings.php index 307a634f..2da3664f 100644 --- a/diaspora/lang/zh-cn/strings.php +++ b/diaspora/lang/zh-cn/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_zh_cn")) { function string_plural_select_zh_cn($n){ - return 0;; + $n = intval($n); + return intval(0); }} ; $a->strings["Post to Diaspora"] = "发到 Diaspora"; diff --git a/dwpost/lang/ca/strings.php b/dwpost/lang/ca/strings.php index cd5c1e1a..2ec9f0c2 100644 --- a/dwpost/lang/ca/strings.php +++ b/dwpost/lang/ca/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ca")) { function string_plural_select_ca($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Post to Dreamwidth"] = "Publica a Dreamwidth"; diff --git a/dwpost/lang/cs/strings.php b/dwpost/lang/cs/strings.php index 0c1f68a4..87e4468c 100644 --- a/dwpost/lang/cs/strings.php +++ b/dwpost/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["Post to Dreamwidth"] = "Poslat na Dreamwidth"; diff --git a/dwpost/lang/de/strings.php b/dwpost/lang/de/strings.php index a810f79e..17cf2e36 100644 --- a/dwpost/lang/de/strings.php +++ b/dwpost/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Post to Dreamwidth"] = "In Dreamwidth veröffentlichen"; diff --git a/dwpost/lang/en-gb/strings.php b/dwpost/lang/en-gb/strings.php index 1f03e9b1..e2643cf4 100644 --- a/dwpost/lang/en-gb/strings.php +++ b/dwpost/lang/en-gb/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_en_gb")) { function string_plural_select_en_gb($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Post to Dreamwidth"] = "Post to Dreamwidth"; diff --git a/dwpost/lang/es/strings.php b/dwpost/lang/es/strings.php index 4c5c116f..c8c0399c 100644 --- a/dwpost/lang/es/strings.php +++ b/dwpost/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Post to Dreamwidth"] = "Publicar en Dreamwidth"; diff --git a/dwpost/lang/fi-fi/strings.php b/dwpost/lang/fi-fi/strings.php index 4c8de909..72392167 100644 --- a/dwpost/lang/fi-fi/strings.php +++ b/dwpost/lang/fi-fi/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Post to Dreamwidth"] = "Lähetä Dreamwidthiin"; diff --git a/dwpost/lang/fr/strings.php b/dwpost/lang/fr/strings.php index 5ecda471..578286e8 100644 --- a/dwpost/lang/fr/strings.php +++ b/dwpost/lang/fr/strings.php @@ -2,12 +2,12 @@ if(! function_exists("string_plural_select_fr")) { function string_plural_select_fr($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; $a->strings["Post to Dreamwidth"] = "Publier sur Dreamwidth"; $a->strings["Dreamwidth Post Settings"] = "Paramètres pour Dreamwidth"; -$a->strings["Enable dreamwidth Post Addon"] = ""; $a->strings["dreamwidth username"] = "Nom d'utilisateur Dreamwidth"; $a->strings["dreamwidth password"] = "Mot de passe dreamwidth"; $a->strings["Post to dreamwidth by default"] = "Poster sur Dreamwidth par défaut"; diff --git a/dwpost/lang/hu/strings.php b/dwpost/lang/hu/strings.php index 1e901957..7cedb797 100644 --- a/dwpost/lang/hu/strings.php +++ b/dwpost/lang/hu/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_hu")) { function string_plural_select_hu($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Post to Dreamwidth"] = "Beküldés a Dreamwidth-re"; diff --git a/dwpost/lang/it/strings.php b/dwpost/lang/it/strings.php index d906cc99..d6b25ff9 100644 --- a/dwpost/lang/it/strings.php +++ b/dwpost/lang/it/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Post to Dreamwidth"] = "Invia a Dreamwidth"; diff --git a/dwpost/lang/nl/strings.php b/dwpost/lang/nl/strings.php index ddf5083a..9295c05b 100644 --- a/dwpost/lang/nl/strings.php +++ b/dwpost/lang/nl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Post to Dreamwidth"] = "Plaatsen op Dreamwidth"; diff --git a/dwpost/lang/pl/strings.php b/dwpost/lang/pl/strings.php index 7ed9b44e..acddf562 100644 --- a/dwpost/lang/pl/strings.php +++ b/dwpost/lang/pl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ $n = intval($n); - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Post to Dreamwidth"] = "Opublikuj w Dreamwidth"; diff --git a/dwpost/lang/pt-br/strings.php b/dwpost/lang/pt-br/strings.php index 03dc7d2d..a96d7acf 100644 --- a/dwpost/lang/pt-br/strings.php +++ b/dwpost/lang/pt-br/strings.php @@ -1,9 +1,15 @@ -strings["Post to Dreamwidth"] = "Publicar no Dreamwidth"; -$a->strings["Dreamwidth Post Settings"] = "Configurações de publicação no Dreamwidth"; -$a->strings["Enable dreamwidth Post Addon"] = "Habilitar o addon de publicação no Dreamwidth"; -$a->strings["dreamwidth username"] = "Nome de usuário do Dreamwidth"; -$a->strings["dreamwidth password"] = "Senha do Dreamwidth"; -$a->strings["Post to dreamwidth by default"] = "Publicar no Dreamwidth por padrão"; -$a->strings["Submit"] = "Enviar"; + 1); +}} +; +$a->strings["Post to Dreamwidth"] = "Publicar no Dreamwidth"; +$a->strings["Dreamwidth Post Settings"] = "Configurações de publicação no Dreamwidth"; +$a->strings["Enable dreamwidth Post Addon"] = "Habilitar plug-in para publicar no Dreamwidth"; +$a->strings["dreamwidth username"] = "Nome de usuário no Dreamwidth"; +$a->strings["dreamwidth password"] = "Senha do Dreamwidth"; +$a->strings["Post to dreamwidth by default"] = "Publicar no Dreamwidth por padrão"; +$a->strings["Submit"] = "Enviar"; diff --git a/dwpost/lang/ro/strings.php b/dwpost/lang/ro/strings.php index ed3ece27..c900fcf1 100644 --- a/dwpost/lang/ro/strings.php +++ b/dwpost/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["Post to Dreamwidth"] = "Postați pe Dreamwidth"; diff --git a/dwpost/lang/ru/strings.php b/dwpost/lang/ru/strings.php index 5c351320..aded77b4 100644 --- a/dwpost/lang/ru/strings.php +++ b/dwpost/lang/ru/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ru")) { function string_plural_select_ru($n){ $n = intval($n); - return ($n%10==1 && $n%100!=11 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14) ? 1 : $n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)? 2 : 3);; + if ($n%10==1 && $n%100!=11) { return 0; } else if ($n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14)) { return 1; } else if ($n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Post to Dreamwidth"] = "Отправить в Dreamwidth"; diff --git a/forumdirectory/lang/ca/strings.php b/forumdirectory/lang/ca/strings.php index b8ba9d62..ece5068d 100644 --- a/forumdirectory/lang/ca/strings.php +++ b/forumdirectory/lang/ca/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ca")) { function string_plural_select_ca($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Forum Directory"] = "Directori de fòrums"; diff --git a/forumdirectory/lang/cs/strings.php b/forumdirectory/lang/cs/strings.php index f438ade9..42c96354 100644 --- a/forumdirectory/lang/cs/strings.php +++ b/forumdirectory/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["Forum Directory"] = "Adresář fór"; diff --git a/forumdirectory/lang/de/strings.php b/forumdirectory/lang/de/strings.php index dfacc62d..c0f701f2 100644 --- a/forumdirectory/lang/de/strings.php +++ b/forumdirectory/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Forum Directory"] = "Foren Verzeichnis"; diff --git a/forumdirectory/lang/es/strings.php b/forumdirectory/lang/es/strings.php index 03341780..f8e38d6f 100644 --- a/forumdirectory/lang/es/strings.php +++ b/forumdirectory/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Forum Directory"] = "Directorio de foro"; diff --git a/forumdirectory/lang/fi-fi/strings.php b/forumdirectory/lang/fi-fi/strings.php index dfe4a7ec..ec673aac 100644 --- a/forumdirectory/lang/fi-fi/strings.php +++ b/forumdirectory/lang/fi-fi/strings.php @@ -3,14 +3,13 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Forum Directory"] = "Foorumihakemisto"; $a->strings["Public access denied."] = "Julkinen käyttö estetty."; $a->strings["Global Directory"] = "Maailmanlaajuinen hakemisto"; $a->strings["Find on this site"] = "Sivustohaku"; -$a->strings["Finding: "] = ""; $a->strings["Site Directory"] = "Sivustoluettelo"; $a->strings["Find"] = "Etsi"; $a->strings["Age: "] = "Ikä:"; diff --git a/forumdirectory/lang/fr/strings.php b/forumdirectory/lang/fr/strings.php index 6c71b096..2ea94e0e 100644 --- a/forumdirectory/lang/fr/strings.php +++ b/forumdirectory/lang/fr/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_fr")) { function string_plural_select_fr($n){ $n = intval($n); - return ($n > 1);; + return intval($n > 1); }} ; $a->strings["Forum Directory"] = "Annuaire de Forums"; diff --git a/forumdirectory/lang/hu/strings.php b/forumdirectory/lang/hu/strings.php index d9e03adc..b053ab55 100644 --- a/forumdirectory/lang/hu/strings.php +++ b/forumdirectory/lang/hu/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_hu")) { function string_plural_select_hu($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Forum Directory"] = "Fórumkönyvtár"; diff --git a/forumdirectory/lang/it/strings.php b/forumdirectory/lang/it/strings.php index 48ad5f49..437318ab 100644 --- a/forumdirectory/lang/it/strings.php +++ b/forumdirectory/lang/it/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Forum Directory"] = "Elenco Forum"; diff --git a/forumdirectory/lang/nl/strings.php b/forumdirectory/lang/nl/strings.php index ca340c15..d01dc3ff 100644 --- a/forumdirectory/lang/nl/strings.php +++ b/forumdirectory/lang/nl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Forum Directory"] = "Forum index"; diff --git a/forumdirectory/lang/pl/strings.php b/forumdirectory/lang/pl/strings.php index 6b24f0b0..ae9112a5 100644 --- a/forumdirectory/lang/pl/strings.php +++ b/forumdirectory/lang/pl/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + $n = intval($n); + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Forum Directory"] = "Katalog forum"; diff --git a/forumdirectory/lang/pt-br/strings.php b/forumdirectory/lang/pt-br/strings.php index 622568b6..e0f7db36 100644 --- a/forumdirectory/lang/pt-br/strings.php +++ b/forumdirectory/lang/pt-br/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pt_br")) { function string_plural_select_pt_br($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; $a->strings["Forum Directory"] = "Diretório de Fóruns"; diff --git a/forumdirectory/lang/ro/strings.php b/forumdirectory/lang/ro/strings.php index 357904b2..558bbc53 100644 --- a/forumdirectory/lang/ro/strings.php +++ b/forumdirectory/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["Forum Directory"] = "Director Forum"; diff --git a/forumdirectory/lang/ru/strings.php b/forumdirectory/lang/ru/strings.php index 17e6b1f9..2499fd47 100644 --- a/forumdirectory/lang/ru/strings.php +++ b/forumdirectory/lang/ru/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ru")) { function string_plural_select_ru($n){ - return ($n%10==1 && $n%100!=11 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14) ? 1 : $n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)? 2 : 3);; + $n = intval($n); + if ($n%10==1 && $n%100!=11) { return 0; } else if ($n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14)) { return 1; } else if ($n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Forum Directory"] = "Каталог форумов"; diff --git a/fromapp/lang/ca/strings.php b/fromapp/lang/ca/strings.php index c24ff44d..d62a02c7 100644 --- a/fromapp/lang/ca/strings.php +++ b/fromapp/lang/ca/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ca")) { function string_plural_select_ca($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Fromapp settings updated."] = "S'ha actualitzat la configuració de Fromapp"; diff --git a/fromapp/lang/cs/strings.php b/fromapp/lang/cs/strings.php index a8024c13..f12fc7b9 100644 --- a/fromapp/lang/cs/strings.php +++ b/fromapp/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["Fromapp settings updated."] = "Nastavení FromApp aktualizována."; diff --git a/fromapp/lang/de/strings.php b/fromapp/lang/de/strings.php index abcf7bfb..006e7dbd 100644 --- a/fromapp/lang/de/strings.php +++ b/fromapp/lang/de/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Fromapp settings updated."] = "Fromapp-Einstellungen aktualisiert."; diff --git a/fromapp/lang/en-gb/strings.php b/fromapp/lang/en-gb/strings.php index b2be2285..779248ce 100644 --- a/fromapp/lang/en-gb/strings.php +++ b/fromapp/lang/en-gb/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_en_gb")) { function string_plural_select_en_gb($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Fromapp settings updated."] = "FromApp settings updated."; diff --git a/fromapp/lang/es/strings.php b/fromapp/lang/es/strings.php index 84e1dcf8..4e763acd 100644 --- a/fromapp/lang/es/strings.php +++ b/fromapp/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Fromapp settings updated."] = "Ajustes de Fromapp actualizados."; diff --git a/fromapp/lang/fi-fi/strings.php b/fromapp/lang/fi-fi/strings.php index a41ae8b8..4b436641 100644 --- a/fromapp/lang/fi-fi/strings.php +++ b/fromapp/lang/fi-fi/strings.php @@ -2,11 +2,10 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Fromapp settings updated."] = "FromApp -asetukset päivitettiin."; $a->strings["FromApp Settings"] = "FromApp -asetukset"; -$a->strings["The application name you would like to show your posts originating from."] = ""; -$a->strings["Use this application name even if another application was used."] = ""; $a->strings["Submit"] = "Lähetä"; diff --git a/fromapp/lang/it/strings.php b/fromapp/lang/it/strings.php index ffaa40cd..e746e1ac 100644 --- a/fromapp/lang/it/strings.php +++ b/fromapp/lang/it/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Fromapp settings updated."] = "Impostazioni \"FromApp\" aggiornato."; diff --git a/fromapp/lang/nl/strings.php b/fromapp/lang/nl/strings.php index 17852479..dc2ca18e 100644 --- a/fromapp/lang/nl/strings.php +++ b/fromapp/lang/nl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Fromapp settings updated."] = "Fromapp instellingen opgeslagen"; diff --git a/fromapp/lang/pl/strings.php b/fromapp/lang/pl/strings.php index e65f47d5..a5c4f6fe 100644 --- a/fromapp/lang/pl/strings.php +++ b/fromapp/lang/pl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ $n = intval($n); - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Fromapp settings updated."] = "Zaktualizowano ustawienia Fromapp."; diff --git a/fromapp/lang/ro/strings.php b/fromapp/lang/ro/strings.php index 075f881f..5d491162 100644 --- a/fromapp/lang/ro/strings.php +++ b/fromapp/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["Fromapp settings updated."] = "Configurările Fromapp au fost actualizate."; diff --git a/fromapp/lang/ru/strings.php b/fromapp/lang/ru/strings.php index c67a3e76..5012a133 100644 --- a/fromapp/lang/ru/strings.php +++ b/fromapp/lang/ru/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ru")) { function string_plural_select_ru($n){ - return ($n%10==1 && $n%100!=11 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14) ? 1 : $n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)? 2 : 3);; + $n = intval($n); + if ($n%10==1 && $n%100!=11) { return 0; } else if ($n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14)) { return 1; } else if ($n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Fromapp settings updated."] = "Настройки Fromapp обновлены."; diff --git a/geonames/lang/cs/strings.php b/geonames/lang/cs/strings.php index f8f41c1b..78a3221e 100644 --- a/geonames/lang/cs/strings.php +++ b/geonames/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["Geonames settings updated."] = "Nastavení Geonames aktualizována."; diff --git a/geonames/lang/de/strings.php b/geonames/lang/de/strings.php index 26f2246e..e469a214 100644 --- a/geonames/lang/de/strings.php +++ b/geonames/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Geonames settings updated."] = "Geonames Einstellungen aktualisiert"; diff --git a/geonames/lang/es/strings.php b/geonames/lang/es/strings.php index d2cb635d..d75774a0 100644 --- a/geonames/lang/es/strings.php +++ b/geonames/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Geonames settings updated."] = "Ajustes de geonombres actualizados."; diff --git a/geonames/lang/fi-fi/strings.php b/geonames/lang/fi-fi/strings.php index d3bb53b6..9e043c12 100644 --- a/geonames/lang/fi-fi/strings.php +++ b/geonames/lang/fi-fi/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Geonames settings updated."] = "Geonames -asetukset päivitetty."; diff --git a/geonames/lang/fr/strings.php b/geonames/lang/fr/strings.php index fac517e9..c5b4eb2c 100644 --- a/geonames/lang/fr/strings.php +++ b/geonames/lang/fr/strings.php @@ -3,10 +3,8 @@ if(! function_exists("string_plural_select_fr")) { function string_plural_select_fr($n){ $n = intval($n); - return ($n > 1);; + return intval($n > 1); }} ; $a->strings["Geonames settings updated."] = "Paramètres de Geonames mis à jour."; $a->strings["Geonames Settings"] = "Paramètres Geonames"; -$a->strings["Enable Geonames Addon"] = ""; -$a->strings["Submit"] = ""; diff --git a/geonames/lang/hu/strings.php b/geonames/lang/hu/strings.php index b8c4e53b..477dcc61 100644 --- a/geonames/lang/hu/strings.php +++ b/geonames/lang/hu/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_hu")) { function string_plural_select_hu($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Geonames settings updated."] = "A földrajzi nevek beállításai frissítve."; diff --git a/geonames/lang/is/strings.php b/geonames/lang/is/strings.php index 8462f4c3..95c6191c 100644 --- a/geonames/lang/is/strings.php +++ b/geonames/lang/is/strings.php @@ -3,10 +3,7 @@ if(! function_exists("string_plural_select_is")) { function string_plural_select_is($n){ $n = intval($n); - return ($n % 10 != 1 || $n % 100 == 11);; + return intval($n % 10 != 1 || $n % 100 == 11); }} ; -$a->strings["Geonames settings updated."] = ""; -$a->strings["Geonames Settings"] = ""; -$a->strings["Enable Geonames Addon"] = ""; $a->strings["Submit"] = "Senda inn"; diff --git a/geonames/lang/it/strings.php b/geonames/lang/it/strings.php index 33148f6b..06205cf4 100644 --- a/geonames/lang/it/strings.php +++ b/geonames/lang/it/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Geonames settings updated."] = "Impostazioni di Geonames aggiornate."; diff --git a/geonames/lang/nl/strings.php b/geonames/lang/nl/strings.php index baaf2e1e..16e4924c 100644 --- a/geonames/lang/nl/strings.php +++ b/geonames/lang/nl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Geonames settings updated."] = "Geonames instellingen opgeslagen"; diff --git a/geonames/lang/pl/strings.php b/geonames/lang/pl/strings.php index 4a04e148..f3d7dceb 100644 --- a/geonames/lang/pl/strings.php +++ b/geonames/lang/pl/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + $n = intval($n); + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Geonames settings updated."] = "Zaktualizowano ustawienia Geonames."; diff --git a/geonames/lang/ro/strings.php b/geonames/lang/ro/strings.php index b6258552..73975d49 100644 --- a/geonames/lang/ro/strings.php +++ b/geonames/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["Geonames settings updated."] = "Configurări Geonume actualizate."; diff --git a/geonames/lang/ru/strings.php b/geonames/lang/ru/strings.php index 282db750..5b675fb6 100644 --- a/geonames/lang/ru/strings.php +++ b/geonames/lang/ru/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ru")) { function string_plural_select_ru($n){ $n = intval($n); - return ($n%10==1 && $n%100!=11 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14) ? 1 : $n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)? 2 : 3);; + if ($n%10==1 && $n%100!=11) { return 0; } else if ($n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14)) { return 1; } else if ($n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Geonames settings updated."] = "Настройки Geonames обновлены."; diff --git a/gnot/lang/ca/strings.php b/gnot/lang/ca/strings.php index 4a4187cf..ad7b7b3b 100644 --- a/gnot/lang/ca/strings.php +++ b/gnot/lang/ca/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ca")) { function string_plural_select_ca($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Gnot settings updated."] = "S'ha actualitzat la configuració de Gnot."; diff --git a/gnot/lang/cs/strings.php b/gnot/lang/cs/strings.php index 633f0917..93b7233b 100644 --- a/gnot/lang/cs/strings.php +++ b/gnot/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["Gnot settings updated."] = "Nastavení Gnot aktualizováno."; diff --git a/gnot/lang/de/strings.php b/gnot/lang/de/strings.php index b798a21b..e9e4c8c2 100644 --- a/gnot/lang/de/strings.php +++ b/gnot/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Gnot settings updated."] = "Gnot Einstellungen aktualisiert."; diff --git a/gnot/lang/es/strings.php b/gnot/lang/es/strings.php index 2f9e7a8d..ac77d10e 100644 --- a/gnot/lang/es/strings.php +++ b/gnot/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Gnot settings updated."] = "Ajustes de Gnot actualizados."; diff --git a/gnot/lang/fi-fi/strings.php b/gnot/lang/fi-fi/strings.php index 284bd29f..9de95b72 100644 --- a/gnot/lang/fi-fi/strings.php +++ b/gnot/lang/fi-fi/strings.php @@ -2,12 +2,12 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Gnot settings updated."] = "Gnot -asetukset päivitetty."; $a->strings["Gnot Settings"] = "Gnot -asetukset"; -$a->strings["Allows threading of email comment notifications on Gmail and anonymising the subject line."] = ""; $a->strings["Enable this addon?"] = "Ota tämä lisäosa käyttöön?"; $a->strings["Submit"] = "Lähetä"; $a->strings["[Friendica:Notify] Comment to conversation #%d"] = "[Friendica:Notify] Kommentti keskustelussa #%d"; diff --git a/gnot/lang/fr/strings.php b/gnot/lang/fr/strings.php index 96130f0a..a8406b71 100644 --- a/gnot/lang/fr/strings.php +++ b/gnot/lang/fr/strings.php @@ -3,12 +3,8 @@ if(! function_exists("string_plural_select_fr")) { function string_plural_select_fr($n){ $n = intval($n); - return ($n > 1);; + return intval($n > 1); }} ; $a->strings["Gnot settings updated."] = "Paramètres de Gnot mis à jour."; $a->strings["Gnot Settings"] = "Paramètres Gnot"; -$a->strings["Allows threading of email comment notifications on Gmail and anonymising the subject line."] = ""; -$a->strings["Enable this addon?"] = ""; -$a->strings["Submit"] = ""; -$a->strings["[Friendica:Notify] Comment to conversation #%d"] = ""; diff --git a/gnot/lang/hu/strings.php b/gnot/lang/hu/strings.php index 905aa9f5..ef501d2a 100644 --- a/gnot/lang/hu/strings.php +++ b/gnot/lang/hu/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_hu")) { function string_plural_select_hu($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Gnot settings updated."] = "A Gnot beállításai frissítve."; diff --git a/gnot/lang/it/strings.php b/gnot/lang/it/strings.php index c38bac29..ffc791a5 100644 --- a/gnot/lang/it/strings.php +++ b/gnot/lang/it/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Gnot settings updated."] = "Impostazioni di \"Gnot\" aggiornate."; diff --git a/gnot/lang/nl/strings.php b/gnot/lang/nl/strings.php index 30902b4a..38b27be5 100644 --- a/gnot/lang/nl/strings.php +++ b/gnot/lang/nl/strings.php @@ -3,12 +3,9 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Gnot settings updated."] = "Gnot instellingen opgeslagen"; $a->strings["Gnot Settings"] = "Gnot instellingen"; -$a->strings["Allows threading of email comment notifications on Gmail and anonymising the subject line."] = ""; $a->strings["Enable this addon?"] = "Deze addon inschakelen?"; -$a->strings["Submit"] = ""; -$a->strings["[Friendica:Notify] Comment to conversation #%d"] = ""; diff --git a/gnot/lang/pl/strings.php b/gnot/lang/pl/strings.php index ccbe5dee..4a348c2c 100644 --- a/gnot/lang/pl/strings.php +++ b/gnot/lang/pl/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + $n = intval($n); + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Gnot settings updated."] = "Zaktualizowano ustawienia Gnot."; diff --git a/gnot/lang/ro/strings.php b/gnot/lang/ro/strings.php index a3641f4e..1a5bb0e8 100644 --- a/gnot/lang/ro/strings.php +++ b/gnot/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["Gnot settings updated."] = "Configurările Gnot au fost actualizate."; diff --git a/gnot/lang/ru/strings.php b/gnot/lang/ru/strings.php index d49d0219..c0288984 100644 --- a/gnot/lang/ru/strings.php +++ b/gnot/lang/ru/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ru")) { function string_plural_select_ru($n){ $n = intval($n); - return ($n%10==1 && $n%100!=11 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14) ? 1 : $n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)? 2 : 3);; + if ($n%10==1 && $n%100!=11) { return 0; } else if ($n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14)) { return 1; } else if ($n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Gnot settings updated."] = "Настройки Gnot обновлены."; diff --git a/gravatar/lang/ca/strings.php b/gravatar/lang/ca/strings.php index 2c950e4c..edb305ce 100644 --- a/gravatar/lang/ca/strings.php +++ b/gravatar/lang/ca/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ca")) { function string_plural_select_ca($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["generic profile image"] = "imatge de perfil genèrica"; diff --git a/gravatar/lang/cs/strings.php b/gravatar/lang/cs/strings.php index 5cec8194..60a0533b 100644 --- a/gravatar/lang/cs/strings.php +++ b/gravatar/lang/cs/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ - return ($n==1) ? 0 : ($n>=2 && $n<=4) ? 1 : 2;; + $n = intval($n); + if (($n==1)) { return 0; } else if (($n>=2 && $n<=4)) { return 1; } else { return 2; } }} ; $a->strings["generic profile image"] = "generický profilový obrázek"; diff --git a/gravatar/lang/de/strings.php b/gravatar/lang/de/strings.php index 4b5cd340..8183e42d 100644 --- a/gravatar/lang/de/strings.php +++ b/gravatar/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["generic profile image"] = "generisches Profilbild"; diff --git a/gravatar/lang/es/strings.php b/gravatar/lang/es/strings.php index a4a247c6..537652ac 100644 --- a/gravatar/lang/es/strings.php +++ b/gravatar/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["generic profile image"] = "imagen de perfir genético"; diff --git a/gravatar/lang/fi-fi/strings.php b/gravatar/lang/fi-fi/strings.php index 3dc04e08..6153e8f3 100644 --- a/gravatar/lang/fi-fi/strings.php +++ b/gravatar/lang/fi-fi/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["generic profile image"] = "Yleinen profiilikuva"; @@ -11,10 +12,6 @@ $a->strings["monster face"] = "hirviö"; $a->strings["computer generated face"] = "tietokoneella tuotettut kasvot"; $a->strings["retro arcade style face"] = "retro-videopeli kasvot"; $a->strings["Information"] = "Tietoja"; -$a->strings["Libravatar addon is installed, too. Please disable Libravatar addon or this Gravatar addon.
The Libravatar addon will fall back to Gravatar if nothing was found at Libravatar."] = ""; $a->strings["Submit"] = "Lähetä"; $a->strings["Default avatar image"] = "Avatarin oletuskuva"; -$a->strings["Select default avatar image if none was found at Gravatar. See README"] = ""; -$a->strings["Rating of images"] = ""; -$a->strings["Select the appropriate avatar rating for your site. See README"] = ""; $a->strings["Gravatar settings updated."] = "Gravatar -asetukset päivitetty."; diff --git a/gravatar/lang/fr/strings.php b/gravatar/lang/fr/strings.php index bc062845..a2ff7130 100644 --- a/gravatar/lang/fr/strings.php +++ b/gravatar/lang/fr/strings.php @@ -3,19 +3,13 @@ if(! function_exists("string_plural_select_fr")) { function string_plural_select_fr($n){ $n = intval($n); - return ($n > 1);; + return intval($n > 1); }} ; $a->strings["generic profile image"] = "image de profil générique"; $a->strings["random geometric pattern"] = "Schéma géométrique aléatoire "; -$a->strings["monster face"] = ""; $a->strings["computer generated face"] = "visage généré par ordinateur"; -$a->strings["retro arcade style face"] = ""; $a->strings["Information"] = "Information"; -$a->strings["Libravatar addon is installed, too. Please disable Libravatar addon or this Gravatar addon.
The Libravatar addon will fall back to Gravatar if nothing was found at Libravatar."] = ""; $a->strings["Submit"] = "Envoyer"; $a->strings["Default avatar image"] = "Image par défaut d'avatar"; -$a->strings["Select default avatar image if none was found at Gravatar. See README"] = ""; -$a->strings["Rating of images"] = ""; -$a->strings["Select the appropriate avatar rating for your site. See README"] = ""; $a->strings["Gravatar settings updated."] = "Paramètres de Gravatar mis à jour."; diff --git a/gravatar/lang/hu/strings.php b/gravatar/lang/hu/strings.php index 29d0bf79..0f75477f 100644 --- a/gravatar/lang/hu/strings.php +++ b/gravatar/lang/hu/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_hu")) { function string_plural_select_hu($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["generic profile image"] = "Általános profilkép"; diff --git a/gravatar/lang/it/strings.php b/gravatar/lang/it/strings.php index 5e55a761..770c5f07 100644 --- a/gravatar/lang/it/strings.php +++ b/gravatar/lang/it/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["generic profile image"] = "immagine generica del profilo"; diff --git a/gravatar/lang/nl/strings.php b/gravatar/lang/nl/strings.php index 9883c8c7..dd615902 100644 --- a/gravatar/lang/nl/strings.php +++ b/gravatar/lang/nl/strings.php @@ -3,19 +3,10 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["generic profile image"] = "Generieke profiel-foto"; $a->strings["random geometric pattern"] = "Willekeurige geometrische figuur"; -$a->strings["monster face"] = ""; -$a->strings["computer generated face"] = ""; -$a->strings["retro arcade style face"] = ""; $a->strings["Information"] = "Informatie"; -$a->strings["Libravatar addon is installed, too. Please disable Libravatar addon or this Gravatar addon.
The Libravatar addon will fall back to Gravatar if nothing was found at Libravatar."] = ""; -$a->strings["Submit"] = ""; -$a->strings["Default avatar image"] = ""; -$a->strings["Select default avatar image if none was found at Gravatar. See README"] = ""; -$a->strings["Rating of images"] = ""; -$a->strings["Select the appropriate avatar rating for your site. See README"] = ""; $a->strings["Gravatar settings updated."] = "Gravatar instellingen opgeslagen"; diff --git a/gravatar/lang/pl/strings.php b/gravatar/lang/pl/strings.php index 935fb7f1..af05adb5 100644 --- a/gravatar/lang/pl/strings.php +++ b/gravatar/lang/pl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ $n = intval($n); - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["generic profile image"] = "ogólny obraz profilu"; diff --git a/gravatar/lang/pt-br/strings.php b/gravatar/lang/pt-br/strings.php index c7b3754f..5b9381e9 100644 --- a/gravatar/lang/pt-br/strings.php +++ b/gravatar/lang/pt-br/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pt_br")) { function string_plural_select_pt_br($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; $a->strings["generic profile image"] = "imagem de perfil genérica"; diff --git a/gravatar/lang/ro/strings.php b/gravatar/lang/ro/strings.php index b962b1a2..355ec92b 100644 --- a/gravatar/lang/ro/strings.php +++ b/gravatar/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["generic profile image"] = "imagine generică de profil"; diff --git a/gravatar/lang/ru/strings.php b/gravatar/lang/ru/strings.php index ee284a15..c787e79b 100644 --- a/gravatar/lang/ru/strings.php +++ b/gravatar/lang/ru/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ru")) { function string_plural_select_ru($n){ - return ($n%10==1 && $n%100!=11 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14) ? 1 : $n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)? 2 : 3);; + $n = intval($n); + if ($n%10==1 && $n%100!=11) { return 0; } else if ($n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14)) { return 1; } else if ($n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["generic profile image"] = "общее изображение профиля"; diff --git a/group_text/lang/ca/strings.php b/group_text/lang/ca/strings.php index 8072b46f..c32779a5 100644 --- a/group_text/lang/ca/strings.php +++ b/group_text/lang/ca/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ca")) { function string_plural_select_ca($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Group Text settings updated."] = "La configuració del text del grup s'ha actualitzat."; diff --git a/group_text/lang/cs/strings.php b/group_text/lang/cs/strings.php index c5055a29..0181c595 100644 --- a/group_text/lang/cs/strings.php +++ b/group_text/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["Group Text settings updated."] = "Nastavení Group Text aktualizována."; diff --git a/group_text/lang/de/strings.php b/group_text/lang/de/strings.php index 87464fe8..3deb34eb 100644 --- a/group_text/lang/de/strings.php +++ b/group_text/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Group Text settings updated."] = "Gruppen Text Einstellungen aktualisiert"; diff --git a/group_text/lang/es/strings.php b/group_text/lang/es/strings.php index 9eccc680..d48bc7ff 100644 --- a/group_text/lang/es/strings.php +++ b/group_text/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Group Text settings updated."] = "Ajustes de Grupo de Texto actualizados"; diff --git a/group_text/lang/fi-fi/strings.php b/group_text/lang/fi-fi/strings.php index 7df538bb..d26aebc9 100644 --- a/group_text/lang/fi-fi/strings.php +++ b/group_text/lang/fi-fi/strings.php @@ -2,10 +2,10 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Group Text settings updated."] = "Group Text -asetukset päivitetty."; $a->strings["Group Text"] = "Group Text"; -$a->strings["Use a text only (non-image) group selector in the \"group edit\" menu"] = ""; $a->strings["Submit"] = "Lähetä"; diff --git a/group_text/lang/it/strings.php b/group_text/lang/it/strings.php index 36eb872b..85881bfe 100644 --- a/group_text/lang/it/strings.php +++ b/group_text/lang/it/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Group Text settings updated."] = "Impostazioni di \"Editor Gruppi Testuale\" aggiornate."; diff --git a/group_text/lang/nl/strings.php b/group_text/lang/nl/strings.php index 2a99dc8e..7fe23f7b 100644 --- a/group_text/lang/nl/strings.php +++ b/group_text/lang/nl/strings.php @@ -3,10 +3,8 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Group Text settings updated."] = "Groupsberichten instellingen opgeslagen"; $a->strings["Group Text"] = "Groepsbericht"; -$a->strings["Use a text only (non-image) group selector in the \"group edit\" menu"] = ""; -$a->strings["Submit"] = ""; diff --git a/group_text/lang/pl/strings.php b/group_text/lang/pl/strings.php index a2c95868..86bab60f 100644 --- a/group_text/lang/pl/strings.php +++ b/group_text/lang/pl/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + $n = intval($n); + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Group Text settings updated."] = "Zaktualizowano ustawienia tekstu grupowego."; diff --git a/group_text/lang/ro/strings.php b/group_text/lang/ro/strings.php index c4f68882..0b420334 100644 --- a/group_text/lang/ro/strings.php +++ b/group_text/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["Group Text settings updated."] = "Configurările Text Grup, au fost actualizate."; diff --git a/group_text/lang/ru/strings.php b/group_text/lang/ru/strings.php index 895ba662..a1b80f8f 100644 --- a/group_text/lang/ru/strings.php +++ b/group_text/lang/ru/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ru")) { function string_plural_select_ru($n){ - return ($n%10==1 && $n%100!=11 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14) ? 1 : $n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)? 2 : 3);; + $n = intval($n); + if ($n%10==1 && $n%100!=11) { return 0; } else if ($n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14)) { return 1; } else if ($n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Group Text settings updated."] = "Настройки Group Text обновлены."; diff --git a/ifttt/lang/cs/strings.php b/ifttt/lang/cs/strings.php index 45587f39..04a95b1c 100644 --- a/ifttt/lang/cs/strings.php +++ b/ifttt/lang/cs/strings.php @@ -3,11 +3,10 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["IFTTT Mirror"] = "Zrcadlení IFTTT"; -$a->strings["Create an account at IFTTT. Create three Facebook recipes that are connected with Maker (In the form \"if Facebook then Maker\") with the following parameters:"] = "Vytvořte si účet na IFTTT. Vytvořte si tři recepty na Facebooku, které jsou připojeny k Makeru (ve formě \"If Facebook then Maker\") s následujícími parametry:"; $a->strings["Body for \"new status message\""] = "Tělo pole \"nová statusová zpráva\""; $a->strings["Body for \"new photo upload\""] = "Tělo pole \"nová nahraná fotografie\""; $a->strings["Body for \"new link post\""] = "Tělo pole \"nový příspěvek\""; diff --git a/ifttt/lang/de/strings.php b/ifttt/lang/de/strings.php index a16db4e9..3485ba19 100644 --- a/ifttt/lang/de/strings.php +++ b/ifttt/lang/de/strings.php @@ -2,11 +2,11 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["IFTTT Mirror"] = "IFTTT Spiegel"; -$a->strings["Create an account at IFTTT. Create three Facebook recipes that are connected with Maker (In the form \"if Facebook then Maker\") with the following parameters:"] = "Lege ein Konto bei IFTTT an. Gebe drei Facebook Empfänger ein, die mit Maker verbunden sind (in der Form \"wenn Facebook dann Maker\"), mit den folgenden Parametern:"; $a->strings["Body for \"new status message\""] = "Body für \"Neue Status Meldung\""; $a->strings["Body for \"new photo upload\""] = "Body für \"Neues Foto hochgeladen\""; $a->strings["Body for \"new link post\""] = "Body für \"Neue Nachricht\""; diff --git a/ifttt/lang/en-gb/strings.php b/ifttt/lang/en-gb/strings.php index 0b5aaead..e0e7578f 100644 --- a/ifttt/lang/en-gb/strings.php +++ b/ifttt/lang/en-gb/strings.php @@ -3,11 +3,10 @@ if(! function_exists("string_plural_select_en_gb")) { function string_plural_select_en_gb($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["IFTTT Mirror"] = "IFTTT Mirror"; -$a->strings["Create an account at IFTTT. Create three Facebook recipes that are connected with Maker (In the form \"if Facebook then Maker\") with the following parameters:"] = "Create an account at IFTTT. Create three Facebook recipes that are connected with Maker (In the form \"if Facebook then Maker\") with the following parameters:"; $a->strings["Body for \"new status message\""] = "Body for \"new status message\""; $a->strings["Body for \"new photo upload\""] = "Body for \"new photo upload\""; $a->strings["Body for \"new link post\""] = "Body for \"new link post\""; diff --git a/ifttt/lang/fi-fi/strings.php b/ifttt/lang/fi-fi/strings.php index 3ca734cb..1d71a7c1 100644 --- a/ifttt/lang/fi-fi/strings.php +++ b/ifttt/lang/fi-fi/strings.php @@ -2,13 +2,9 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; -$a->strings["IFTTT Mirror"] = ""; -$a->strings["Create an account at IFTTT. Create three Facebook recipes that are connected with Maker (In the form \"if Facebook then Maker\") with the following parameters:"] = ""; -$a->strings["Body for \"new status message\""] = ""; -$a->strings["Body for \"new photo upload\""] = ""; -$a->strings["Body for \"new link post\""] = ""; $a->strings["Generate new key"] = "Luo uusi avain"; $a->strings["Save Settings"] = "Tallenna asetukset"; diff --git a/ifttt/lang/pl/strings.php b/ifttt/lang/pl/strings.php index eab45ef5..4b87d05b 100644 --- a/ifttt/lang/pl/strings.php +++ b/ifttt/lang/pl/strings.php @@ -2,11 +2,11 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + $n = intval($n); + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["IFTTT Mirror"] = "Lustro IFTTT"; -$a->strings["Create an account at IFTTT. Create three Facebook recipes that are connected with Maker (In the form \"if Facebook then Maker\") with the following parameters:"] = "Utwórz konto na IFTTT. Utwórz trzy przepisy na Facebooku, które są powiązane z Maker (W formie \"jeśli Facebook następnie Maker\") z następujących parametrów:"; $a->strings["Body for \"new status message\""] = "Treść dla \"nowy status wiadomości\""; $a->strings["Body for \"new photo upload\""] = "Treść dla \"nowe przesyłanie zdjęć\""; $a->strings["Body for \"new link post\""] = "Treść dla \"nowe łącza postu\""; diff --git a/ifttt/lang/zh-cn/strings.php b/ifttt/lang/zh-cn/strings.php index 61e3402e..ada75bca 100644 --- a/ifttt/lang/zh-cn/strings.php +++ b/ifttt/lang/zh-cn/strings.php @@ -3,13 +3,9 @@ if(! function_exists("string_plural_select_zh_cn")) { function string_plural_select_zh_cn($n){ $n = intval($n); - return 0;; + return intval(0); }} ; $a->strings["IFTTT Mirror"] = "IFTTT 镜像"; -$a->strings["Create an account at IFTTT. Create three Facebook recipes that are connected with Maker (In the form \"if Facebook then Maker\") with the following parameters:"] = "在IFTTT创建一个帐户。创建三个与Maker(表格为“ if Facebook then Maker”)相关的 Facebook 菜谱,参数如下:"; -$a->strings["Body for \"new status message\""] = ""; -$a->strings["Body for \"new photo upload\""] = ""; -$a->strings["Body for \"new link post\""] = ""; $a->strings["Generate new key"] = "生成新的密钥"; $a->strings["Save Settings"] = "保存设置"; diff --git a/ijpost/lang/ca/strings.php b/ijpost/lang/ca/strings.php index c0f8d9c0..5abf4a9e 100644 --- a/ijpost/lang/ca/strings.php +++ b/ijpost/lang/ca/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ca")) { function string_plural_select_ca($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Post to Insanejournal"] = "Enviar a Insanejournal"; diff --git a/ijpost/lang/cs/strings.php b/ijpost/lang/cs/strings.php index c9ef7978..4b2b3e38 100644 --- a/ijpost/lang/cs/strings.php +++ b/ijpost/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["Post to Insanejournal"] = "Posílat na InsaneJournal"; diff --git a/ijpost/lang/de/strings.php b/ijpost/lang/de/strings.php index 3b8dbb6d..acec3890 100644 --- a/ijpost/lang/de/strings.php +++ b/ijpost/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Post to Insanejournal"] = "Auf InsaneJournal posten."; diff --git a/ijpost/lang/es/strings.php b/ijpost/lang/es/strings.php index 76c9e5f9..f513d85b 100644 --- a/ijpost/lang/es/strings.php +++ b/ijpost/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Post to Insanejournal"] = "Publicar en Insanejournal"; diff --git a/ijpost/lang/fi-fi/strings.php b/ijpost/lang/fi-fi/strings.php index 9b4b280d..a6ec9cca 100644 --- a/ijpost/lang/fi-fi/strings.php +++ b/ijpost/lang/fi-fi/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Post to Insanejournal"] = "Lähetä InsaneJournaliin"; diff --git a/ijpost/lang/it/strings.php b/ijpost/lang/it/strings.php index d8bd49e9..b3d3da54 100644 --- a/ijpost/lang/it/strings.php +++ b/ijpost/lang/it/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Post to Insanejournal"] = "Invia a InsaneJournal"; diff --git a/ijpost/lang/nl/strings.php b/ijpost/lang/nl/strings.php index 4e0dbf3d..12981866 100644 --- a/ijpost/lang/nl/strings.php +++ b/ijpost/lang/nl/strings.php @@ -3,13 +3,10 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Post to Insanejournal"] = "Plaatsen op Insanejournal"; $a->strings["InsaneJournal Post Settings"] = "InsaneJournal Post instellingen"; $a->strings["Enable InsaneJournal Post Addon"] = "InsaneJournal Post Addon inschakelen"; -$a->strings["InsaneJournal username"] = ""; -$a->strings["InsaneJournal password"] = ""; $a->strings["Post to InsaneJournal by default"] = "Plaatsen op InsaneJournal als standaard instellen "; -$a->strings["Submit"] = ""; diff --git a/ijpost/lang/pl/strings.php b/ijpost/lang/pl/strings.php index eea5e0eb..266e7d27 100644 --- a/ijpost/lang/pl/strings.php +++ b/ijpost/lang/pl/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + $n = intval($n); + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Post to Insanejournal"] = "Opublikuj w Insanejournal"; diff --git a/ijpost/lang/pt-br/strings.php b/ijpost/lang/pt-br/strings.php index fbc1f284..ce901cb7 100644 --- a/ijpost/lang/pt-br/strings.php +++ b/ijpost/lang/pt-br/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pt_br")) { function string_plural_select_pt_br($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; $a->strings["Post to Insanejournal"] = "Publicar no Insanejournal"; diff --git a/ijpost/lang/ro/strings.php b/ijpost/lang/ro/strings.php index 35d64ea6..607d3da7 100644 --- a/ijpost/lang/ro/strings.php +++ b/ijpost/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["Post to Insanejournal"] = "Postare pe Insanejournal"; diff --git a/impressum/lang/ca/strings.php b/impressum/lang/ca/strings.php index 2f2e59e2..6db879a5 100644 --- a/impressum/lang/ca/strings.php +++ b/impressum/lang/ca/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ca")) { function string_plural_select_ca($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Impressum"] = "empremta"; diff --git a/impressum/lang/cs/strings.php b/impressum/lang/cs/strings.php index 9e49b43a..ad99cea1 100644 --- a/impressum/lang/cs/strings.php +++ b/impressum/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["Impressum"] = "Impressum"; diff --git a/impressum/lang/de/strings.php b/impressum/lang/de/strings.php index 0cf1a4ae..0e73d511 100644 --- a/impressum/lang/de/strings.php +++ b/impressum/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Impressum"] = "Impressum"; diff --git a/impressum/lang/en-gb/strings.php b/impressum/lang/en-gb/strings.php index 3d1a2ec1..58201397 100644 --- a/impressum/lang/en-gb/strings.php +++ b/impressum/lang/en-gb/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_en_gb")) { function string_plural_select_en_gb($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Impressum"] = "Impressum"; diff --git a/impressum/lang/es/strings.php b/impressum/lang/es/strings.php index fea759eb..ddbe6759 100644 --- a/impressum/lang/es/strings.php +++ b/impressum/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Impressum"] = "Impressum"; diff --git a/impressum/lang/fi-fi/strings.php b/impressum/lang/fi-fi/strings.php index 404f0f13..75eaedc2 100644 --- a/impressum/lang/fi-fi/strings.php +++ b/impressum/lang/fi-fi/strings.php @@ -3,22 +3,16 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Impressum"] = "Impressum"; $a->strings["Site Owner"] = "Sivuston omistaja"; $a->strings["Email Address"] = "Sähköpostiosoite"; $a->strings["Postal Address"] = "Postiosoite"; -$a->strings["The impressum addon needs to be configured!
Please add at least the owner variable to your config file. For other variables please refer to the README file of the addon."] = ""; $a->strings["Settings updated."] = "Asetukset tallennettu"; $a->strings["Submit"] = "Lähetä"; $a->strings["The page operators name."] = "Sivuston ylläpitäjän nimi."; $a->strings["Site Owners Profile"] = "Sivuston omistajan profiili"; $a->strings["Profile address of the operator."] = "Ylläpitäjän profiiliosoite."; -$a->strings["How to contact the operator via snail mail. You can use BBCode here."] = ""; $a->strings["Notes"] = "Muistiinpanot"; -$a->strings["Additional notes that are displayed beneath the contact information. You can use BBCode here."] = ""; -$a->strings["How to contact the operator via email. (will be displayed obfuscated)"] = ""; -$a->strings["Footer note"] = ""; -$a->strings["Text for the footer. You can use BBCode here."] = ""; diff --git a/impressum/lang/fr/strings.php b/impressum/lang/fr/strings.php index f0f15d8f..97ee443a 100644 --- a/impressum/lang/fr/strings.php +++ b/impressum/lang/fr/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_fr")) { function string_plural_select_fr($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; $a->strings["Impressum"] = "Mentions légales"; diff --git a/impressum/lang/it/strings.php b/impressum/lang/it/strings.php index 25f3b1be..62f5a416 100644 --- a/impressum/lang/it/strings.php +++ b/impressum/lang/it/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Impressum"] = "Colophon"; diff --git a/impressum/lang/nl/strings.php b/impressum/lang/nl/strings.php index bfc0f756..1720ae63 100644 --- a/impressum/lang/nl/strings.php +++ b/impressum/lang/nl/strings.php @@ -3,22 +3,9 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Impressum"] = "Colofon"; $a->strings["Site Owner"] = "Siteeigenaar"; -$a->strings["Email Address"] = ""; -$a->strings["Postal Address"] = ""; -$a->strings["The impressum addon needs to be configured!
Please add at least the owner variable to your config file. For other variables please refer to the README file of the addon."] = ""; $a->strings["Settings updated."] = "Instellingen opgeslagen"; -$a->strings["Submit"] = ""; -$a->strings["The page operators name."] = ""; -$a->strings["Site Owners Profile"] = ""; -$a->strings["Profile address of the operator."] = ""; -$a->strings["How to contact the operator via snail mail. You can use BBCode here."] = ""; -$a->strings["Notes"] = ""; -$a->strings["Additional notes that are displayed beneath the contact information. You can use BBCode here."] = ""; -$a->strings["How to contact the operator via email. (will be displayed obfuscated)"] = ""; -$a->strings["Footer note"] = ""; -$a->strings["Text for the footer. You can use BBCode here."] = ""; diff --git a/impressum/lang/pl/strings.php b/impressum/lang/pl/strings.php index fec7b84b..5a919ec2 100644 --- a/impressum/lang/pl/strings.php +++ b/impressum/lang/pl/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + $n = intval($n); + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Impressum"] = "Stopka redakcyjna"; diff --git a/impressum/lang/pt-br/strings.php b/impressum/lang/pt-br/strings.php index 90273f96..041ae732 100644 --- a/impressum/lang/pt-br/strings.php +++ b/impressum/lang/pt-br/strings.php @@ -2,22 +2,15 @@ if(! function_exists("string_plural_select_pt_br")) { function string_plural_select_pt_br($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; $a->strings["Impressum"] = "Impressum"; $a->strings["Site Owner"] = "Responsável pelo site"; $a->strings["Email Address"] = "Endereço de e-mail"; $a->strings["Postal Address"] = "Endereço postal"; -$a->strings["The impressum addon needs to be configured!
Please add at least the owner variable to your config file. For other variables please refer to the README file of the addon."] = ""; $a->strings["Settings updated."] = "As configurações foram atualizadas."; $a->strings["Submit"] = "Enviar"; -$a->strings["The page operators name."] = ""; $a->strings["Site Owners Profile"] = "Perfil do responsável pelo site"; -$a->strings["Profile address of the operator."] = ""; -$a->strings["How to contact the operator via snail mail. You can use BBCode here."] = ""; -$a->strings["Notes"] = ""; -$a->strings["Additional notes that are displayed beneath the contact information. You can use BBCode here."] = ""; -$a->strings["How to contact the operator via email. (will be displayed obfuscated)"] = ""; $a->strings["Footer note"] = "Nota de rodapé"; -$a->strings["Text for the footer. You can use BBCode here."] = ""; diff --git a/impressum/lang/ro/strings.php b/impressum/lang/ro/strings.php index 0b7d9ebb..dc66a7ab 100644 --- a/impressum/lang/ro/strings.php +++ b/impressum/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["Impressum"] = "Impressum"; diff --git a/infiniteimprobabilitydrive/lang/ca/strings.php b/infiniteimprobabilitydrive/lang/ca/strings.php index 9020ca59..43212f56 100644 --- a/infiniteimprobabilitydrive/lang/ca/strings.php +++ b/infiniteimprobabilitydrive/lang/ca/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ca")) { function string_plural_select_ca($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Infinite Improbability Drive"] = "Unitat de millora de la infinitat"; diff --git a/infiniteimprobabilitydrive/lang/cs/strings.php b/infiniteimprobabilitydrive/lang/cs/strings.php index 9dec8bcc..f3d70fc3 100644 --- a/infiniteimprobabilitydrive/lang/cs/strings.php +++ b/infiniteimprobabilitydrive/lang/cs/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ - return ($n==1) ? 0 : ($n>=2 && $n<=4) ? 1 : 2;; + $n = intval($n); + if (($n==1)) { return 0; } else if (($n>=2 && $n<=4)) { return 1; } else { return 2; } }} ; $a->strings["Infinite Improbability Drive"] = "Infinite Improbability Drive"; diff --git a/infiniteimprobabilitydrive/lang/de/strings.php b/infiniteimprobabilitydrive/lang/de/strings.php index d98dd403..c6a052b2 100644 --- a/infiniteimprobabilitydrive/lang/de/strings.php +++ b/infiniteimprobabilitydrive/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Infinite Improbability Drive"] = "Infinite Improbability Drive"; diff --git a/infiniteimprobabilitydrive/lang/es/strings.php b/infiniteimprobabilitydrive/lang/es/strings.php index 7387f4dd..957281b8 100644 --- a/infiniteimprobabilitydrive/lang/es/strings.php +++ b/infiniteimprobabilitydrive/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Infinite Improbability Drive"] = "Drive de improbabilidad infinita"; diff --git a/infiniteimprobabilitydrive/lang/it/strings.php b/infiniteimprobabilitydrive/lang/it/strings.php index 5909f754..44e9dbb4 100644 --- a/infiniteimprobabilitydrive/lang/it/strings.php +++ b/infiniteimprobabilitydrive/lang/it/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Infinite Improbability Drive"] = "Motore ad Improbabilità Infinita"; diff --git a/infiniteimprobabilitydrive/lang/nl/strings.php b/infiniteimprobabilitydrive/lang/nl/strings.php index 9da6a726..54aa4146 100644 --- a/infiniteimprobabilitydrive/lang/nl/strings.php +++ b/infiniteimprobabilitydrive/lang/nl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Infinite Improbability Drive"] = "Oneindige schijf voor onbetrouwbaarheid"; diff --git a/infiniteimprobabilitydrive/lang/pl/strings.php b/infiniteimprobabilitydrive/lang/pl/strings.php index 85356333..1201ef7a 100644 --- a/infiniteimprobabilitydrive/lang/pl/strings.php +++ b/infiniteimprobabilitydrive/lang/pl/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + $n = intval($n); + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Infinite Improbability Drive"] = "Wyświetl losowego użytkownika"; diff --git a/infiniteimprobabilitydrive/lang/pt-br/strings.php b/infiniteimprobabilitydrive/lang/pt-br/strings.php index 10c7f46e..ceffff1b 100644 --- a/infiniteimprobabilitydrive/lang/pt-br/strings.php +++ b/infiniteimprobabilitydrive/lang/pt-br/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pt_br")) { function string_plural_select_pt_br($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; $a->strings["Infinite Improbability Drive"] = "Gerador de improbabilidade infinita"; diff --git a/infiniteimprobabilitydrive/lang/ro/strings.php b/infiniteimprobabilitydrive/lang/ro/strings.php index b082c2e8..508ae206 100644 --- a/infiniteimprobabilitydrive/lang/ro/strings.php +++ b/infiniteimprobabilitydrive/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["Infinite Improbability Drive"] = "Unitate improbabil infinită"; diff --git a/infiniteimprobabilitydrive/lang/ru/strings.php b/infiniteimprobabilitydrive/lang/ru/strings.php index 2852e065..245943c9 100644 --- a/infiniteimprobabilitydrive/lang/ru/strings.php +++ b/infiniteimprobabilitydrive/lang/ru/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ru")) { function string_plural_select_ru($n){ $n = intval($n); - return ($n%10==1 && $n%100!=11 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14) ? 1 : $n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)? 2 : 3);; + if ($n%10==1 && $n%100!=11) { return 0; } else if ($n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14)) { return 1; } else if ($n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Infinite Improbability Drive"] = "Infinite Improbability Drive"; diff --git a/irc/lang/cs/strings.php b/irc/lang/cs/strings.php index f97b463e..17e8e218 100644 --- a/irc/lang/cs/strings.php +++ b/irc/lang/cs/strings.php @@ -3,11 +3,10 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["IRC Settings"] = "Nastavení IRC"; -$a->strings["Here you can change the system wide settings for the channels to automatically join and access via the side bar. Note the changes you do here, only effect the channel selection if you are logged in."] = ""; $a->strings["Save Settings"] = "Uložit nastavení"; $a->strings["Channel(s) to auto connect (comma separated)"] = "Kanál(y) pro automatické připojení (oddělené čárkami)"; $a->strings["List of channels that shall automatically connected to when the app is launched."] = "Seznam kanálů, které budou při spuštění aplikace automaticky připojeny."; diff --git a/irc/lang/de/strings.php b/irc/lang/de/strings.php index cb1ba7c4..11d57dd0 100644 --- a/irc/lang/de/strings.php +++ b/irc/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["IRC Settings"] = "IRC Einstellungen"; diff --git a/irc/lang/es/strings.php b/irc/lang/es/strings.php index 870c53f0..f26b77dc 100644 --- a/irc/lang/es/strings.php +++ b/irc/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["IRC Settings"] = "Ajustes de IRC"; diff --git a/irc/lang/fi-fi/strings.php b/irc/lang/fi-fi/strings.php index 4c1c3e33..3c3a0f8c 100644 --- a/irc/lang/fi-fi/strings.php +++ b/irc/lang/fi-fi/strings.php @@ -3,16 +3,14 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["IRC Settings"] = "IRC-asetukset"; -$a->strings["Here you can change the system wide settings for the channels to automatically join and access via the side bar. Note the changes you do here, only effect the channel selection if you are logged in."] = ""; $a->strings["Save Settings"] = "Tallenna asetukset"; $a->strings["Channel(s) to auto connect (comma separated)"] = "Kanavat jota yhdistetään automaattisesti (pilkuilla eroteltu luettelo)"; $a->strings["List of channels that shall automatically connected to when the app is launched."] = "Kanavat johon luodaan yhteys automaattisesti kun sovellus käynnistyy."; $a->strings["Popular Channels (comma separated)"] = "Suositut kanavat (pilkuilla eroteltu luettelo)"; -$a->strings["List of popular channels, will be displayed at the side and hotlinked for easy joining."] = ""; $a->strings["IRC settings saved."] = "IRC-asetukset tallennettu."; $a->strings["IRC Chatroom"] = "IRC-tsättihuone"; $a->strings["Popular Channels"] = "Suositut kanavat"; diff --git a/irc/lang/fr/strings.php b/irc/lang/fr/strings.php index a6244e25..fa88492a 100644 --- a/irc/lang/fr/strings.php +++ b/irc/lang/fr/strings.php @@ -3,16 +3,8 @@ if(! function_exists("string_plural_select_fr")) { function string_plural_select_fr($n){ $n = intval($n); - return ($n > 1);; + return intval($n > 1); }} ; $a->strings["IRC Settings"] = "Paramètres de l'IRC"; -$a->strings["Here you can change the system wide settings for the channels to automatically join and access via the side bar. Note the changes you do here, only effect the channel selection if you are logged in."] = ""; $a->strings["Save Settings"] = "Sauvegarder les paramètres"; -$a->strings["Channel(s) to auto connect (comma separated)"] = ""; -$a->strings["List of channels that shall automatically connected to when the app is launched."] = ""; -$a->strings["Popular Channels (comma separated)"] = ""; -$a->strings["List of popular channels, will be displayed at the side and hotlinked for easy joining."] = ""; -$a->strings["IRC settings saved."] = ""; -$a->strings["IRC Chatroom"] = ""; -$a->strings["Popular Channels"] = ""; diff --git a/irc/lang/it/strings.php b/irc/lang/it/strings.php index 0c970453..69f2163b 100644 --- a/irc/lang/it/strings.php +++ b/irc/lang/it/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["IRC Settings"] = "Impostazioni IRC"; diff --git a/irc/lang/nl/strings.php b/irc/lang/nl/strings.php index c834f69c..f6d06f46 100644 --- a/irc/lang/nl/strings.php +++ b/irc/lang/nl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["IRC Settings"] = "IRC instellingen"; diff --git a/irc/lang/pl/strings.php b/irc/lang/pl/strings.php index 25a825d7..b32c3a77 100644 --- a/irc/lang/pl/strings.php +++ b/irc/lang/pl/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + $n = intval($n); + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["IRC Settings"] = "Ustawienia IRC"; diff --git a/irc/lang/pt-br/strings.php b/irc/lang/pt-br/strings.php index 28a4e468..a6cf8298 100644 --- a/irc/lang/pt-br/strings.php +++ b/irc/lang/pt-br/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pt_br")) { function string_plural_select_pt_br($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; $a->strings["IRC Settings"] = "Configurações do IRC"; diff --git a/irc/lang/ro/strings.php b/irc/lang/ro/strings.php index bf70bbe6..f1e629ac 100644 --- a/irc/lang/ro/strings.php +++ b/irc/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["IRC Settings"] = "Configurări IRC"; diff --git a/irc/lang/zh-cn/strings.php b/irc/lang/zh-cn/strings.php index 4268cd1e..93b70cfc 100644 --- a/irc/lang/zh-cn/strings.php +++ b/irc/lang/zh-cn/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_zh_cn")) { function string_plural_select_zh_cn($n){ $n = intval($n); - return 0;; + return intval(0); }} ; $a->strings["IRC Settings"] = "IRC 设置"; diff --git a/jappixmini/lang/cs/strings.php b/jappixmini/lang/cs/strings.php index 4fe5d352..7079761e 100644 --- a/jappixmini/lang/cs/strings.php +++ b/jappixmini/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["Jappix Mini addon settings"] = "Nastavení rozšíření Jappix Mini"; diff --git a/jappixmini/lang/de/strings.php b/jappixmini/lang/de/strings.php index 5982ac1d..e38d1053 100644 --- a/jappixmini/lang/de/strings.php +++ b/jappixmini/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Jappix Mini addon settings"] = "Jappix Mini Addon Einstellungen"; diff --git a/jappixmini/lang/es/strings.php b/jappixmini/lang/es/strings.php index 440ccefd..ac2860ae 100644 --- a/jappixmini/lang/es/strings.php +++ b/jappixmini/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Jappix Mini addon settings"] = "Ajustes del addon de Jappix Mini"; diff --git a/jappixmini/lang/fi-fi/strings.php b/jappixmini/lang/fi-fi/strings.php index f86fbc3c..60b17be2 100644 --- a/jappixmini/lang/fi-fi/strings.php +++ b/jappixmini/lang/fi-fi/strings.php @@ -3,12 +3,11 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Jappix Mini addon settings"] = "Jappix Mini -lisäosan asetukset"; $a->strings["Activate addon"] = "Ota lisäosa käyttöön"; -$a->strings["Do not insert the Jappixmini Chat-Widget into the webinterface"] = ""; $a->strings["Jabber username"] = "Jabber -käyttäjätunnus"; $a->strings["Jabber server"] = "Jabber -palvelin"; $a->strings["Jabber BOSH host"] = "Jabber BOSH-palvelin"; @@ -16,7 +15,5 @@ $a->strings["Jabber password"] = "Jabber -salasana"; $a->strings["Encrypt Jabber password with Friendica password (recommended)"] = "Salaa Jabber -salasana Friendica -salasanalla (suositeltava)"; $a->strings["Friendica password"] = "Friendica -salasana"; $a->strings["Approve subscription requests from Friendica contacts automatically"] = "Hyväksy automaattisesti tilauspyynnöt Friendica -kontakteilta"; -$a->strings["Subscribe to Friendica contacts automatically"] = ""; -$a->strings["Purge internal list of jabber addresses of contacts"] = ""; $a->strings["Submit"] = "Lähetä"; $a->strings["Add contact"] = "Lisää kontakti"; diff --git a/jappixmini/lang/fr/strings.php b/jappixmini/lang/fr/strings.php index 35ceca65..86bbba47 100644 --- a/jappixmini/lang/fr/strings.php +++ b/jappixmini/lang/fr/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_fr")) { function string_plural_select_fr($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; $a->strings["Jappix Mini addon settings"] = "Paramètres de l'addon Jappix Mini"; diff --git a/jappixmini/lang/it/strings.php b/jappixmini/lang/it/strings.php index 51f6b794..f172f79d 100644 --- a/jappixmini/lang/it/strings.php +++ b/jappixmini/lang/it/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Jappix Mini addon settings"] = "Impostazioni plugin Jappix Mini"; diff --git a/jappixmini/lang/nl/strings.php b/jappixmini/lang/nl/strings.php index 7753199a..aacd530f 100644 --- a/jappixmini/lang/nl/strings.php +++ b/jappixmini/lang/nl/strings.php @@ -3,20 +3,8 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Jappix Mini addon settings"] = "Jappix Mini addon instellingen"; $a->strings["Activate addon"] = "Activatie addon"; -$a->strings["Do not insert the Jappixmini Chat-Widget into the webinterface"] = ""; -$a->strings["Jabber username"] = ""; -$a->strings["Jabber server"] = ""; -$a->strings["Jabber BOSH host"] = ""; -$a->strings["Jabber password"] = ""; -$a->strings["Encrypt Jabber password with Friendica password (recommended)"] = ""; -$a->strings["Friendica password"] = ""; -$a->strings["Approve subscription requests from Friendica contacts automatically"] = ""; -$a->strings["Subscribe to Friendica contacts automatically"] = ""; -$a->strings["Purge internal list of jabber addresses of contacts"] = ""; -$a->strings["Submit"] = ""; -$a->strings["Add contact"] = ""; diff --git a/jappixmini/lang/pl/strings.php b/jappixmini/lang/pl/strings.php index efc4a7c8..0f24c67b 100644 --- a/jappixmini/lang/pl/strings.php +++ b/jappixmini/lang/pl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ $n = intval($n); - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Jappix Mini addon settings"] = "Ustawienia dodatku Jappix Mini"; diff --git a/jappixmini/lang/pt-br/strings.php b/jappixmini/lang/pt-br/strings.php index 6d5b61bc..9b898ed6 100644 --- a/jappixmini/lang/pt-br/strings.php +++ b/jappixmini/lang/pt-br/strings.php @@ -2,20 +2,12 @@ if(! function_exists("string_plural_select_pt_br")) { function string_plural_select_pt_br($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; -$a->strings["Jappix Mini addon settings"] = ""; -$a->strings["Activate addon"] = ""; -$a->strings["Do not insert the Jappixmini Chat-Widget into the webinterface"] = ""; $a->strings["Jabber username"] = "Nome de usuário no Jabber"; -$a->strings["Jabber server"] = ""; -$a->strings["Jabber BOSH host"] = ""; $a->strings["Jabber password"] = "Senha do Jabber"; $a->strings["Encrypt Jabber password with Friendica password (recommended)"] = "Criptografar senha de Jabber com senha do Friendica (recomendado)"; $a->strings["Friendica password"] = "Senha do Friendica"; -$a->strings["Approve subscription requests from Friendica contacts automatically"] = ""; -$a->strings["Subscribe to Friendica contacts automatically"] = ""; -$a->strings["Purge internal list of jabber addresses of contacts"] = ""; $a->strings["Submit"] = "Enviar"; -$a->strings["Add contact"] = ""; diff --git a/jappixmini/lang/ro/strings.php b/jappixmini/lang/ro/strings.php index d88743cb..bd0ed973 100644 --- a/jappixmini/lang/ro/strings.php +++ b/jappixmini/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["Jappix Mini addon settings"] = "Configurare addon Mini Jappix"; diff --git a/js_upload/lang/cs/strings.php b/js_upload/lang/cs/strings.php index 6cb6b654..8cbcac7e 100644 --- a/js_upload/lang/cs/strings.php +++ b/js_upload/lang/cs/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ - return ($n==1) ? 0 : ($n>=2 && $n<=4) ? 1 : 2;; + $n = intval($n); + if (($n==1)) { return 0; } else if (($n>=2 && $n<=4)) { return 1; } else { return 2; } }} ; $a->strings["Upload a file"] = "Nahrát soubor"; diff --git a/js_upload/lang/de/strings.php b/js_upload/lang/de/strings.php index 5a680cb2..0ecead2c 100644 --- a/js_upload/lang/de/strings.php +++ b/js_upload/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Upload a file"] = "Datei hochladen"; diff --git a/js_upload/lang/es/strings.php b/js_upload/lang/es/strings.php index 63168e8c..b938efaa 100644 --- a/js_upload/lang/es/strings.php +++ b/js_upload/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Upload a file"] = "Subir un archivo"; diff --git a/js_upload/lang/fi-fi/strings.php b/js_upload/lang/fi-fi/strings.php index 25db34c5..2e636419 100644 --- a/js_upload/lang/fi-fi/strings.php +++ b/js_upload/lang/fi-fi/strings.php @@ -3,11 +3,10 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Upload a file"] = "Lähetä tiedosto"; -$a->strings["Drop files here to upload"] = ""; $a->strings["Cancel"] = "Peruuta"; $a->strings["Failed"] = "Epäonnistui"; $a->strings["No files were uploaded."] = "Tiedostoja ei lähetetty."; diff --git a/js_upload/lang/fr/strings.php b/js_upload/lang/fr/strings.php index eb0a4d66..9cea86ed 100644 --- a/js_upload/lang/fr/strings.php +++ b/js_upload/lang/fr/strings.php @@ -3,15 +3,9 @@ if(! function_exists("string_plural_select_fr")) { function string_plural_select_fr($n){ $n = intval($n); - return ($n > 1);; + return intval($n > 1); }} ; $a->strings["Upload a file"] = "Téléverser un fichier"; $a->strings["Drop files here to upload"] = "Glisser les fichiers ici pour uploader"; $a->strings["Cancel"] = "Annuler"; -$a->strings["Failed"] = ""; -$a->strings["No files were uploaded."] = ""; -$a->strings["Uploaded file is empty"] = ""; -$a->strings["Image exceeds size limit of "] = ""; -$a->strings["File has an invalid extension, it should be one of "] = ""; -$a->strings["Upload was cancelled, or server error encountered"] = ""; diff --git a/js_upload/lang/it/strings.php b/js_upload/lang/it/strings.php index dd51f385..74cefc16 100644 --- a/js_upload/lang/it/strings.php +++ b/js_upload/lang/it/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Upload a file"] = "Carica un file"; diff --git a/js_upload/lang/nl/strings.php b/js_upload/lang/nl/strings.php index 9289cc40..d63d5a85 100644 --- a/js_upload/lang/nl/strings.php +++ b/js_upload/lang/nl/strings.php @@ -3,15 +3,8 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Upload a file"] = "Upload een bestand"; $a->strings["Drop files here to upload"] = "Sleep uw bestanden hier om ze te uploaden"; -$a->strings["Cancel"] = ""; -$a->strings["Failed"] = ""; -$a->strings["No files were uploaded."] = ""; -$a->strings["Uploaded file is empty"] = ""; -$a->strings["Image exceeds size limit of "] = ""; -$a->strings["File has an invalid extension, it should be one of "] = ""; -$a->strings["Upload was cancelled, or server error encountered"] = ""; diff --git a/js_upload/lang/pl/strings.php b/js_upload/lang/pl/strings.php index 19140b92..b5cc9363 100644 --- a/js_upload/lang/pl/strings.php +++ b/js_upload/lang/pl/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + $n = intval($n); + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Upload a file"] = "Prześlij plik"; diff --git a/js_upload/lang/ro/strings.php b/js_upload/lang/ro/strings.php index 778210e7..0ebcb516 100644 --- a/js_upload/lang/ro/strings.php +++ b/js_upload/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["Upload a file"] = "Încărcați un fișier"; diff --git a/js_upload/lang/ru/strings.php b/js_upload/lang/ru/strings.php index c2071cf3..dbc761ed 100644 --- a/js_upload/lang/ru/strings.php +++ b/js_upload/lang/ru/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ru")) { function string_plural_select_ru($n){ $n = intval($n); - return ($n%10==1 && $n%100!=11 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14) ? 1 : $n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)? 2 : 3);; + if ($n%10==1 && $n%100!=11) { return 0; } else if ($n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14)) { return 1; } else if ($n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Upload a file"] = "Загрузить файл"; diff --git a/krynn/lang/cs/strings.php b/krynn/lang/cs/strings.php index 4e9d61c3..0e600b0b 100644 --- a/krynn/lang/cs/strings.php +++ b/krynn/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["Krynn Settings"] = "Nastavení Krynn"; diff --git a/krynn/lang/de/strings.php b/krynn/lang/de/strings.php index d8a54083..73d69b04 100644 --- a/krynn/lang/de/strings.php +++ b/krynn/lang/de/strings.php @@ -2,9 +2,10 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; -$a->strings["Krynn Settings"] = "Krynn Einstellungen"; -$a->strings["Enable Krynn Addon"] = "Krynn-Addon aktivieren"; +$a->strings["Krynn Settings"] = "Planeten Einstellungen"; +$a->strings["Enable Krynn Addon"] = "Planeten-Addon aktivieren"; $a->strings["Submit"] = "Senden"; diff --git a/krynn/lang/es/strings.php b/krynn/lang/es/strings.php index 6bb39518..416876c8 100644 --- a/krynn/lang/es/strings.php +++ b/krynn/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Krynn Settings"] = "Ajustes de Krynn"; diff --git a/krynn/lang/fi-fi/strings.php b/krynn/lang/fi-fi/strings.php index d6112ffa..22082beb 100644 --- a/krynn/lang/fi-fi/strings.php +++ b/krynn/lang/fi-fi/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Krynn Settings"] = "Krynn -asetukset"; diff --git a/krynn/lang/it/strings.php b/krynn/lang/it/strings.php index 9c6f59be..7378a55e 100644 --- a/krynn/lang/it/strings.php +++ b/krynn/lang/it/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Krynn Settings"] = "Impostazioni Krynn"; diff --git a/krynn/lang/nl/strings.php b/krynn/lang/nl/strings.php index bf323800..28be50f4 100644 --- a/krynn/lang/nl/strings.php +++ b/krynn/lang/nl/strings.php @@ -3,9 +3,8 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Krynn Settings"] = "Krynn instellingen"; $a->strings["Enable Krynn Addon"] = "Krynn Addon inschakelen"; -$a->strings["Submit"] = ""; diff --git a/krynn/lang/pl/strings.php b/krynn/lang/pl/strings.php index 26cda588..45dfcba5 100644 --- a/krynn/lang/pl/strings.php +++ b/krynn/lang/pl/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + $n = intval($n); + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Krynn Settings"] = "Ustawienia Krynn"; diff --git a/krynn/lang/ro/strings.php b/krynn/lang/ro/strings.php index f6c6f53d..be624dc4 100644 --- a/krynn/lang/ro/strings.php +++ b/krynn/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["Krynn Settings"] = "Configurări Krynn"; diff --git a/langfilter/lang/ca/strings.php b/langfilter/lang/ca/strings.php index e2bef03e..678fade3 100644 --- a/langfilter/lang/ca/strings.php +++ b/langfilter/lang/ca/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ca")) { function string_plural_select_ca($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Language Filter"] = "Filtre d'Idioma"; diff --git a/langfilter/lang/cs/strings.php b/langfilter/lang/cs/strings.php index 6f398879..dc367331 100644 --- a/langfilter/lang/cs/strings.php +++ b/langfilter/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["Language Filter"] = "Jazykový filtr"; diff --git a/langfilter/lang/en-gb/strings.php b/langfilter/lang/en-gb/strings.php index 20eb6d02..4ac43a93 100644 --- a/langfilter/lang/en-gb/strings.php +++ b/langfilter/lang/en-gb/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_en_gb")) { function string_plural_select_en_gb($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Language Filter"] = "Language Filter"; diff --git a/langfilter/lang/en-us/strings.php b/langfilter/lang/en-us/strings.php index 5f7f7e1d..fef18295 100644 --- a/langfilter/lang/en-us/strings.php +++ b/langfilter/lang/en-us/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_en_us")) { function string_plural_select_en_us($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Language Filter"] = "Language Filter"; diff --git a/langfilter/lang/es/strings.php b/langfilter/lang/es/strings.php index b3ff9333..97bd83d6 100644 --- a/langfilter/lang/es/strings.php +++ b/langfilter/lang/es/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Language Filter"] = "Filtro de Idioma"; diff --git a/langfilter/lang/et/strings.php b/langfilter/lang/et/strings.php index e8aa27fa..00b5bd51 100644 --- a/langfilter/lang/et/strings.php +++ b/langfilter/lang/et/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_et")) { function string_plural_select_et($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Language Filter"] = "Keelefilter"; diff --git a/langfilter/lang/fi-fi/strings.php b/langfilter/lang/fi-fi/strings.php index adfda3a1..85fb6e0f 100644 --- a/langfilter/lang/fi-fi/strings.php +++ b/langfilter/lang/fi-fi/strings.php @@ -2,18 +2,12 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Language Filter"] = "Kielisuodatin"; -$a->strings["This addon tries to identify the language posts are writen in. If it does not match any language specifed below, posts will be hidden by collapsing them."] = ""; $a->strings["Use the language filter"] = "Ota kielisuodatin käyttöön"; -$a->strings["Able to read"] = ""; -$a->strings["List of abbreviations (iso2 codes) for languages you speak, comma separated. For example \"de,it\"."] = ""; -$a->strings["Minimum confidence in language detection"] = ""; -$a->strings["Minimum confidence in language detection being correct, from 0 to 100. Posts will not be filtered when the confidence of language detection is below this percent value."] = ""; -$a->strings["Minimum length of message body"] = ""; -$a->strings["Minimum number of characters in message body for filter to be used. Posts shorter than this will not be filtered. Note: Language detection is unreliable for short content (<200 characters)."] = ""; $a->strings["Save Settings"] = "Tallenna asetukset"; $a->strings["Language Filter Settings saved."] = "Kielisuodatinasetukset tallennettu"; $a->strings["Filtered language: %s"] = "Suodatettu kieli: %s"; diff --git a/langfilter/lang/fr/strings.php b/langfilter/lang/fr/strings.php index c8dc633e..15a5d6ae 100644 --- a/langfilter/lang/fr/strings.php +++ b/langfilter/lang/fr/strings.php @@ -3,14 +3,18 @@ if(! function_exists("string_plural_select_fr")) { function string_plural_select_fr($n){ $n = intval($n); - return ($n > 1);; + return intval($n > 1); }} ; $a->strings["Language Filter"] = "Filtre de langues"; -$a->strings["This addon tries to identify the language of a postings. If it does not match any language spoken by you (see below) the posting will be collapsed. Remember detecting the language is not perfect, especially with short postings."] = ""; +$a->strings["This addon tries to identify the language posts are writen in. If it does not match any language specifed below, posts will be hidden by collapsing them."] = "Cette extension essaie de reconnaître la langue dans laquelle les publications sont écrites. Si elle ne correspond à aucune de la liste donnée plus bas, les publications seront réduites."; $a->strings["Use the language filter"] = "Utiliser le filtre de langues"; -$a->strings["I speak"] = "Je parle"; -$a->strings["List of abbreviations for languages you speak, comma seperated. For excample \"de,it\"."] = "Liste d’abréviation des langues que vous maîtrisez, séparés par des virgules. Par exemple \"en,fr\"."; +$a->strings["Able to read"] = "Peut lire"; +$a->strings["List of abbreviations (iso2 codes) for languages you speak, comma separated. For example \"de,it\"."] = "Liste d'abréviations (codes iso2) pour les langues que vous parlez, séparées par des virgules. Par exemple, \"fr,it\"."; +$a->strings["Minimum confidence in language detection"] = "Confiance minimale dans la détection de langues"; +$a->strings["Minimum confidence in language detection being correct, from 0 to 100. Posts will not be filtered when the confidence of language detection is below this percent value."] = "Seuil de confiance minimal pour la détection des langues, de 0 à 100. Une publication ne sera pas filtrée si elle est détectée avec une confiance moindre."; +$a->strings["Minimum length of message body"] = "Longueur minimale du corps de message."; +$a->strings["Minimum number of characters in message body for filter to be used. Posts shorter than this will not be filtered. Note: Language detection is unreliable for short content (<200 characters)."] = "Nombre minimal de signes dans le corps de message pour déclencher le filtre. Une publication plus courte ne sera pas filtrée. Remarque: la détection de langue n'est pas fiable pour du contenu court (<200 signes)."; $a->strings["Save Settings"] = "Sauvegarder les paramètres"; $a->strings["Language Filter Settings saved."] = "Paramètres du filtre de langues sauvegardés."; -$a->strings["unspoken language %s - Click to open/close"] = "Langue %s non parlé - Cliquez pour ouvrir/fermer"; +$a->strings["Filtered language: %s"] = "Langues filtrées: %s"; diff --git a/langfilter/lang/it/strings.php b/langfilter/lang/it/strings.php index 3f3ca93e..49b6cd76 100644 --- a/langfilter/lang/it/strings.php +++ b/langfilter/lang/it/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Language Filter"] = "Filtro Lingua"; diff --git a/langfilter/lang/nb-no/strings.php b/langfilter/lang/nb-no/strings.php index 995e6899..091e3f3b 100644 --- a/langfilter/lang/nb-no/strings.php +++ b/langfilter/lang/nb-no/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_nb_no")) { function string_plural_select_nb_no($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Language Filter"] = "Språkfilter"; diff --git a/langfilter/lang/nl/strings.php b/langfilter/lang/nl/strings.php index 97ab88e2..62febd5e 100644 --- a/langfilter/lang/nl/strings.php +++ b/langfilter/lang/nl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Language Filter"] = "Taalfilter"; diff --git a/langfilter/lang/pl/strings.php b/langfilter/lang/pl/strings.php index 37e45659..92165f30 100644 --- a/langfilter/lang/pl/strings.php +++ b/langfilter/lang/pl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ $n = intval($n); - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Language Filter"] = "Filtr językowy"; diff --git a/langfilter/lang/pt-br/strings.php b/langfilter/lang/pt-br/strings.php index bddcc210..080ea658 100644 --- a/langfilter/lang/pt-br/strings.php +++ b/langfilter/lang/pt-br/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_pt_br")) { function string_plural_select_pt_br($n){ $n = intval($n); - return ($n > 1);; + return intval($n > 1); }} ; $a->strings["Language Filter"] = "Filtro de Idiomas"; diff --git a/langfilter/lang/ru/strings.php b/langfilter/lang/ru/strings.php index 1b3a1581..e4a111ad 100644 --- a/langfilter/lang/ru/strings.php +++ b/langfilter/lang/ru/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ru")) { function string_plural_select_ru($n){ $n = intval($n); - return ($n%10==1 && $n%100!=11 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14) ? 1 : $n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)? 2 : 3);; + if ($n%10==1 && $n%100!=11) { return 0; } else if ($n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14)) { return 1; } else if ($n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Language Filter"] = "Языковой фильтр"; diff --git a/langfilter/lang/sv/strings.php b/langfilter/lang/sv/strings.php index 3274e98b..b6688301 100644 --- a/langfilter/lang/sv/strings.php +++ b/langfilter/lang/sv/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_sv")) { function string_plural_select_sv($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Language Filter"] = "Språkfilter"; diff --git a/langfilter/lang/zh-cn/strings.php b/langfilter/lang/zh-cn/strings.php index bbeedf3e..bcb0b723 100644 --- a/langfilter/lang/zh-cn/strings.php +++ b/langfilter/lang/zh-cn/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_zh_cn")) { function string_plural_select_zh_cn($n){ $n = intval($n); - return 0;; + return intval(0); }} ; $a->strings["Language Filter"] = "语言过滤器"; diff --git a/ldapauth/lang/C/messages.po b/ldapauth/lang/C/messages.po deleted file mode 100644 index e69de29b..00000000 diff --git a/libertree/lang/cs/strings.php b/libertree/lang/cs/strings.php index 57ad0ff1..5d2fa411 100644 --- a/libertree/lang/cs/strings.php +++ b/libertree/lang/cs/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ - return ($n==1) ? 0 : ($n>=2 && $n<=4) ? 1 : 2;; + $n = intval($n); + if (($n==1)) { return 0; } else if (($n>=2 && $n<=4)) { return 1; } else { return 2; } }} ; $a->strings["Post to libertree"] = "Poslat na libertree"; diff --git a/libertree/lang/de/strings.php b/libertree/lang/de/strings.php index c6867705..33fdd74a 100644 --- a/libertree/lang/de/strings.php +++ b/libertree/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Post to libertree"] = "bei libertree veröffentlichen"; diff --git a/libertree/lang/es/strings.php b/libertree/lang/es/strings.php index 8a8dbf1f..c5833cff 100644 --- a/libertree/lang/es/strings.php +++ b/libertree/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Post to libertree"] = "Publicar en Libertree"; diff --git a/libertree/lang/fi-fi/strings.php b/libertree/lang/fi-fi/strings.php index b24fde82..a887a4f8 100644 --- a/libertree/lang/fi-fi/strings.php +++ b/libertree/lang/fi-fi/strings.php @@ -2,13 +2,13 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Post to libertree"] = "Lähetä Libertreehin"; $a->strings["libertree Post Settings"] = "Libertree -viestin asetukset"; $a->strings["Enable Libertree Post Addon"] = "Ota Libertree -viestilisäosa käyttöön"; -$a->strings["Libertree API token"] = ""; $a->strings["Libertree site URL"] = "Libertree -sivuston URL-osoite"; $a->strings["Post to Libertree by default"] = "Lähetä Libertreehin oletuksena"; $a->strings["Submit"] = "Lähetä"; diff --git a/libertree/lang/fr/strings.php b/libertree/lang/fr/strings.php index e3e9ff7e..a86d5461 100644 --- a/libertree/lang/fr/strings.php +++ b/libertree/lang/fr/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_fr")) { function string_plural_select_fr($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; $a->strings["Post to libertree"] = "Publier sur libertree"; diff --git a/libertree/lang/it/strings.php b/libertree/lang/it/strings.php index 91984f9d..0db76fab 100644 --- a/libertree/lang/it/strings.php +++ b/libertree/lang/it/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Post to libertree"] = "Invia a Libertree"; diff --git a/libertree/lang/nl/strings.php b/libertree/lang/nl/strings.php index 1b8524f2..a01e03b3 100644 --- a/libertree/lang/nl/strings.php +++ b/libertree/lang/nl/strings.php @@ -3,13 +3,10 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Post to libertree"] = "Plaatsen op Libertree"; $a->strings["libertree Post Settings"] = "Libertree Post instellingen"; $a->strings["Enable Libertree Post Addon"] = "Libertree Post Addon inschakelen"; -$a->strings["Libertree API token"] = ""; -$a->strings["Libertree site URL"] = ""; $a->strings["Post to Libertree by default"] = "Plaatsen op Libertree als standaard instellen "; -$a->strings["Submit"] = ""; diff --git a/libertree/lang/pl/strings.php b/libertree/lang/pl/strings.php index 1c535c33..ca3b9799 100644 --- a/libertree/lang/pl/strings.php +++ b/libertree/lang/pl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ $n = intval($n); - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Post to libertree"] = "Opublikuj na libertree"; diff --git a/libertree/lang/pt-br/strings.php b/libertree/lang/pt-br/strings.php index d55aee61..9a4170a7 100644 --- a/libertree/lang/pt-br/strings.php +++ b/libertree/lang/pt-br/strings.php @@ -2,13 +2,12 @@ if(! function_exists("string_plural_select_pt_br")) { function string_plural_select_pt_br($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; $a->strings["Post to libertree"] = "Publicar no Libertree"; $a->strings["libertree Post Settings"] = "Configurações de publicação do Libertree"; $a->strings["Enable Libertree Post Addon"] = "Habilitar plug-in para publicar no Libertree"; -$a->strings["Libertree API token"] = ""; -$a->strings["Libertree site URL"] = ""; $a->strings["Post to Libertree by default"] = "Publicar no Libertree por padrão"; $a->strings["Submit"] = "Enviar"; diff --git a/libertree/lang/ro/strings.php b/libertree/lang/ro/strings.php index efa612ed..de3a95ea 100644 --- a/libertree/lang/ro/strings.php +++ b/libertree/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["Post to libertree"] = "Postați pe libertree"; diff --git a/libertree/lang/zh-cn/strings.php b/libertree/lang/zh-cn/strings.php index 212f5146..540f35a7 100644 --- a/libertree/lang/zh-cn/strings.php +++ b/libertree/lang/zh-cn/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_zh_cn")) { function string_plural_select_zh_cn($n){ $n = intval($n); - return 0;; + return intval(0); }} ; $a->strings["Post to libertree"] = "发布到 libertree"; diff --git a/libravatar/lang/cs/strings.php b/libravatar/lang/cs/strings.php index 9d47c544..5be74591 100644 --- a/libravatar/lang/cs/strings.php +++ b/libravatar/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["Could NOT install Libravatar successfully.
It requires PHP >= 5.3"] = "Libravatar NENÍ možné úspěšně nainstalovat.
Vyžaduje PHP >= 5.3"; diff --git a/libravatar/lang/es/strings.php b/libravatar/lang/es/strings.php index 1ab20cf1..33ce363f 100644 --- a/libravatar/lang/es/strings.php +++ b/libravatar/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Could NOT install Libravatar successfully.
It requires PHP >= 5.3"] = "Podría NO instalar Libravatar con éxito.
Requiere PHP >= 5.3"; diff --git a/libravatar/lang/fi-fi/strings.php b/libravatar/lang/fi-fi/strings.php index 6be2f23f..8c4b3a69 100644 --- a/libravatar/lang/fi-fi/strings.php +++ b/libravatar/lang/fi-fi/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Could NOT install Libravatar successfully.
It requires PHP >= 5.3"] = "Libravataria ei voitu asentaa.
Vaatii PHP-version >=5.3"; @@ -16,7 +16,6 @@ $a->strings["Warning"] = "Varoitus"; $a->strings["Your PHP version %s is lower than the required PHP >= 5.3."] = "PHP-versiosi on %s. Friendica vaatii PHP >= 5.3."; $a->strings["This addon is not functional on your server."] = "Tämä lisäosa ei toimi palvelimellasi."; $a->strings["Information"] = "Tietoja"; -$a->strings["Gravatar addon is installed. Please disable the Gravatar addon.
The Libravatar addon will fall back to Gravatar if nothing was found at Libravatar."] = ""; $a->strings["Submit"] = "Lähetä"; $a->strings["Default avatar image"] = "Avatarin oletuskuva"; $a->strings["Select default avatar image if none was found. See README"] = "Valitse oletusavatarikuva jos avatari puuttuu. Katso lisätietoja README:stä."; diff --git a/libravatar/lang/fr/strings.php b/libravatar/lang/fr/strings.php index 48f8cf62..52bdf1c4 100644 --- a/libravatar/lang/fr/strings.php +++ b/libravatar/lang/fr/strings.php @@ -2,21 +2,15 @@ if(! function_exists("string_plural_select_fr")) { function string_plural_select_fr($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; -$a->strings["Could NOT install Libravatar successfully.
It requires PHP >= 5.3"] = ""; $a->strings["generic profile image"] = "image de profil générique"; -$a->strings["random geometric pattern"] = ""; -$a->strings["monster face"] = ""; $a->strings["computer generated face"] = "visage généré par ordinateur"; -$a->strings["retro arcade style face"] = ""; $a->strings["Warning"] = "Attention"; $a->strings["Your PHP version %s is lower than the required PHP >= 5.3."] = "Votre version de PHP %s est inférieure à la minimum requise (5.3)."; -$a->strings["This addon is not functional on your server."] = ""; $a->strings["Information"] = "Information"; -$a->strings["Gravatar addon is installed. Please disable the Gravatar addon.
The Libravatar addon will fall back to Gravatar if nothing was found at Libravatar."] = ""; $a->strings["Submit"] = "Envoyer"; $a->strings["Default avatar image"] = "Avatar par défaut"; -$a->strings["Select default avatar image if none was found. See README"] = ""; $a->strings["Libravatar settings updated."] = "Paramètres de Libravatar mis à jour."; diff --git a/libravatar/lang/nl/strings.php b/libravatar/lang/nl/strings.php index 1cb30e74..371315f9 100644 --- a/libravatar/lang/nl/strings.php +++ b/libravatar/lang/nl/strings.php @@ -3,21 +3,9 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Could NOT install Libravatar successfully.
It requires PHP >= 5.3"] = "Kon Libravater NIET succesvol installeren.
PHP 5.3 of meer is vereist"; $a->strings["generic profile image"] = "Generieke profiel-foto"; -$a->strings["random geometric pattern"] = ""; -$a->strings["monster face"] = ""; -$a->strings["computer generated face"] = ""; -$a->strings["retro arcade style face"] = ""; -$a->strings["Warning"] = ""; -$a->strings["Your PHP version %s is lower than the required PHP >= 5.3."] = ""; -$a->strings["This addon is not functional on your server."] = ""; -$a->strings["Information"] = ""; -$a->strings["Gravatar addon is installed. Please disable the Gravatar addon.
The Libravatar addon will fall back to Gravatar if nothing was found at Libravatar."] = ""; -$a->strings["Submit"] = ""; -$a->strings["Default avatar image"] = ""; -$a->strings["Select default avatar image if none was found. See README"] = ""; $a->strings["Libravatar settings updated."] = "Libravatar instellingen opgeslagen"; diff --git a/libravatar/lang/pl/strings.php b/libravatar/lang/pl/strings.php index 4607670f..2aa11809 100644 --- a/libravatar/lang/pl/strings.php +++ b/libravatar/lang/pl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ $n = intval($n); - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Could NOT install Libravatar successfully.
It requires PHP >= 5.3"] = "Nie można zainstalować dodatku Libravatar.
Wymaga PHP> = 5.3"; diff --git a/libravatar/lang/pt-br/strings.php b/libravatar/lang/pt-br/strings.php index 9688c2ae..fc7591cb 100644 --- a/libravatar/lang/pt-br/strings.php +++ b/libravatar/lang/pt-br/strings.php @@ -2,21 +2,11 @@ if(! function_exists("string_plural_select_pt_br")) { function string_plural_select_pt_br($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; $a->strings["Could NOT install Libravatar successfully.
It requires PHP >= 5.3"] = "Não foi possível instalar o Libravatar.
Ele requer PHP >= 5.3"; -$a->strings["generic profile image"] = ""; -$a->strings["random geometric pattern"] = ""; $a->strings["monster face"] = "careta"; -$a->strings["computer generated face"] = ""; $a->strings["retro arcade style face"] = "rosto de personagem de fliperama"; -$a->strings["Warning"] = ""; -$a->strings["Your PHP version %s is lower than the required PHP >= 5.3."] = ""; -$a->strings["This addon is not functional on your server."] = ""; -$a->strings["Information"] = ""; -$a->strings["Gravatar addon is installed. Please disable the Gravatar addon.
The Libravatar addon will fall back to Gravatar if nothing was found at Libravatar."] = ""; $a->strings["Submit"] = "Enviar"; -$a->strings["Default avatar image"] = ""; -$a->strings["Select default avatar image if none was found. See README"] = ""; -$a->strings["Libravatar settings updated."] = ""; diff --git a/libravatar/lang/ro/strings.php b/libravatar/lang/ro/strings.php index 61764cb3..e552914f 100644 --- a/libravatar/lang/ro/strings.php +++ b/libravatar/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["Could NOT install Libravatar successfully.
It requires PHP >= 5.3"] = "NU s-a putut instala Libravatar cu succes.
Acesta necesită PHP >= 5.3"; diff --git a/ljpost/lang/cs/strings.php b/ljpost/lang/cs/strings.php index d2c833d9..74bacf1e 100644 --- a/ljpost/lang/cs/strings.php +++ b/ljpost/lang/cs/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ - return ($n==1) ? 0 : ($n>=2 && $n<=4) ? 1 : 2;; + $n = intval($n); + if (($n==1)) { return 0; } else if (($n>=2 && $n<=4)) { return 1; } else { return 2; } }} ; $a->strings["Post to LiveJournal"] = "Poslat na LiveJournal"; diff --git a/ljpost/lang/de/strings.php b/ljpost/lang/de/strings.php index e6b9c848..a6145fe5 100644 --- a/ljpost/lang/de/strings.php +++ b/ljpost/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Post to LiveJournal"] = "In LiveJournal veröffentlichen."; diff --git a/ljpost/lang/es/strings.php b/ljpost/lang/es/strings.php index 10092765..225dfd10 100644 --- a/ljpost/lang/es/strings.php +++ b/ljpost/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Post to LiveJournal"] = "Publicar en LiveJournal"; diff --git a/ljpost/lang/fi-fi/strings.php b/ljpost/lang/fi-fi/strings.php index e03e6ba3..6279bd97 100644 --- a/ljpost/lang/fi-fi/strings.php +++ b/ljpost/lang/fi-fi/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Post to LiveJournal"] = "Lähetä LiveJournaliin"; diff --git a/ljpost/lang/it/strings.php b/ljpost/lang/it/strings.php index 54f5fac5..aadebe8a 100644 --- a/ljpost/lang/it/strings.php +++ b/ljpost/lang/it/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Post to LiveJournal"] = "Invia a LiveJournal"; diff --git a/ljpost/lang/nl/strings.php b/ljpost/lang/nl/strings.php index d9ed2360..5ae4bbed 100644 --- a/ljpost/lang/nl/strings.php +++ b/ljpost/lang/nl/strings.php @@ -3,13 +3,10 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Post to LiveJournal"] = "Plaatsen op LiveJournal"; $a->strings["LiveJournal Post Settings"] = "LiveJournal Post instellingen"; $a->strings["Enable LiveJournal Post Addon"] = "LiveJournal Post inschakelen"; -$a->strings["LiveJournal username"] = ""; -$a->strings["LiveJournal password"] = ""; $a->strings["Post to LiveJournal by default"] = "Plaatsen op Livejournal als standaard instellen "; -$a->strings["Submit"] = ""; diff --git a/ljpost/lang/pl/strings.php b/ljpost/lang/pl/strings.php index 85c6e3a1..efb97fcd 100644 --- a/ljpost/lang/pl/strings.php +++ b/ljpost/lang/pl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ $n = intval($n); - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Post to Insanejournal"] = "Opublikuj w Insanejournal"; diff --git a/ljpost/lang/pt-br/strings.php b/ljpost/lang/pt-br/strings.php index ddc091a4..542d2854 100644 --- a/ljpost/lang/pt-br/strings.php +++ b/ljpost/lang/pt-br/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pt_br")) { function string_plural_select_pt_br($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; $a->strings["Post to LiveJournal"] = "Publicar no LiveJournal"; diff --git a/ljpost/lang/ro/strings.php b/ljpost/lang/ro/strings.php index b65c7754..d44dbcaf 100644 --- a/ljpost/lang/ro/strings.php +++ b/ljpost/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["Post to LiveJournal"] = "Postați pe LiveJournal"; diff --git a/mahjongg/lang/C/messages.po b/mahjongg/lang/C/messages.po deleted file mode 100644 index e69de29b..00000000 diff --git a/mailstream/lang/cs/strings.php b/mailstream/lang/cs/strings.php index fd36cca4..1525bfb6 100644 --- a/mailstream/lang/cs/strings.php +++ b/mailstream/lang/cs/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ - return ($n==1) ? 0 : ($n>=2 && $n<=4) ? 1 : 2;; + $n = intval($n); + if (($n==1)) { return 0; } else if (($n>=2 && $n<=4)) { return 1; } else { return 2; } }} ; $a->strings["From Address"] = "Adresa odesílatele"; diff --git a/mailstream/lang/de/strings.php b/mailstream/lang/de/strings.php index 3f946a48..53620d18 100644 --- a/mailstream/lang/de/strings.php +++ b/mailstream/lang/de/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["From Address"] = "Absender"; diff --git a/mailstream/lang/en-gb/strings.php b/mailstream/lang/en-gb/strings.php index b42a42a1..6b3c74b4 100644 --- a/mailstream/lang/en-gb/strings.php +++ b/mailstream/lang/en-gb/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_en_gb")) { function string_plural_select_en_gb($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["From Address"] = "From address"; diff --git a/mailstream/lang/es/strings.php b/mailstream/lang/es/strings.php index 8a2a4faf..507f32d6 100644 --- a/mailstream/lang/es/strings.php +++ b/mailstream/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["From Address"] = "Desde Dirección"; diff --git a/mailstream/lang/fi-fi/strings.php b/mailstream/lang/fi-fi/strings.php index 641fd3d4..167e7341 100644 --- a/mailstream/lang/fi-fi/strings.php +++ b/mailstream/lang/fi-fi/strings.php @@ -2,25 +2,19 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["From Address"] = "Lähettäjä"; -$a->strings["Email address that stream items will appear to be from."] = ""; $a->strings["Save Settings"] = "Tallenna asetukset"; $a->strings["Re:"] = "Koskien"; $a->strings["Friendica post"] = "Friendica -julkaisu"; $a->strings["Diaspora post"] = "Diaspora -julkaisu"; -$a->strings["Feed item"] = ""; $a->strings["Email"] = "Sähköposti"; $a->strings["Friendica Item"] = "Friendica -kohde"; -$a->strings["Upstream"] = ""; $a->strings["Local"] = "Paikallinen"; $a->strings["Enabled"] = "Käytössä"; $a->strings["Email Address"] = "Sähköpostiosoite"; -$a->strings["Leave blank to use your account email address"] = ""; -$a->strings["Exclude Likes"] = ""; -$a->strings["Check this to omit mailing \"Like\" notifications"] = ""; $a->strings["Attach Images"] = "Liitä kuvia"; -$a->strings["Download images in posts and attach them to the email. Useful for reading email while offline."] = ""; $a->strings["Mail Stream Settings"] = "Mail Stream -asetukset"; diff --git a/mailstream/lang/fr/strings.php b/mailstream/lang/fr/strings.php index 13892f61..471b3b19 100644 --- a/mailstream/lang/fr/strings.php +++ b/mailstream/lang/fr/strings.php @@ -2,21 +2,18 @@ if(! function_exists("string_plural_select_fr")) { function string_plural_select_fr($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; $a->strings["From Address"] = "Depuis l'adresse"; -$a->strings["Email address that stream items will appear to be from."] = ""; $a->strings["Save Settings"] = "Sauvegarder les paramètres"; $a->strings["Re:"] = "Re :"; $a->strings["Friendica post"] = "Message Friendica"; $a->strings["Diaspora post"] = "Message Diaspora"; -$a->strings["Feed item"] = ""; $a->strings["Email"] = "Courriel"; $a->strings["Friendica Item"] = "Élément de Friendica"; -$a->strings["Upstream"] = ""; $a->strings["Local"] = "Local"; $a->strings["Email Address"] = "Adresse de courriel"; -$a->strings["Leave blank to use your account email address"] = ""; $a->strings["Enabled"] = "Activer"; $a->strings["Mail Stream Settings"] = "Paramètres de Mail Stream"; diff --git a/mailstream/lang/it/strings.php b/mailstream/lang/it/strings.php index a6a48287..e402a8aa 100644 --- a/mailstream/lang/it/strings.php +++ b/mailstream/lang/it/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["From Address"] = "Indirizzo di invio"; diff --git a/mailstream/lang/nl/strings.php b/mailstream/lang/nl/strings.php index 2a675073..31832dd5 100644 --- a/mailstream/lang/nl/strings.php +++ b/mailstream/lang/nl/strings.php @@ -3,25 +3,10 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["From Address"] = "Van Adres"; $a->strings["Email address that stream items will appear to be from."] = "E-mail adres waarvan stream items komen "; $a->strings["Save Settings"] = "Instellingen opslaan"; -$a->strings["Re:"] = ""; -$a->strings["Friendica post"] = ""; -$a->strings["Diaspora post"] = ""; -$a->strings["Feed item"] = ""; -$a->strings["Email"] = ""; -$a->strings["Friendica Item"] = ""; -$a->strings["Upstream"] = ""; -$a->strings["Local"] = ""; $a->strings["Enabled"] = "Ingeschakeld"; -$a->strings["Email Address"] = ""; -$a->strings["Leave blank to use your account email address"] = ""; -$a->strings["Exclude Likes"] = ""; -$a->strings["Check this to omit mailing \"Like\" notifications"] = ""; -$a->strings["Attach Images"] = ""; -$a->strings["Download images in posts and attach them to the email. Useful for reading email while offline."] = ""; -$a->strings["Mail Stream Settings"] = ""; diff --git a/mailstream/lang/pl/strings.php b/mailstream/lang/pl/strings.php index 88b0006e..2e7565a1 100644 --- a/mailstream/lang/pl/strings.php +++ b/mailstream/lang/pl/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + $n = intval($n); + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["From Address"] = "Z adresu"; diff --git a/mailstream/lang/ro/strings.php b/mailstream/lang/ro/strings.php index 6a02d65f..092d16c2 100644 --- a/mailstream/lang/ro/strings.php +++ b/mailstream/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["From Address"] = "Adresa sursă"; diff --git a/markdown/lang/cs/strings.php b/markdown/lang/cs/strings.php index b9340b9a..ecabc3fe 100644 --- a/markdown/lang/cs/strings.php +++ b/markdown/lang/cs/strings.php @@ -3,10 +3,8 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["Markdown"] = "Markdown"; -$a->strings["Enable Markdown parsing"] = ""; -$a->strings["If enabled, self created items will additionally be parsed via Markdown."] = ""; $a->strings["Save Settings"] = "Uložit nastavení"; diff --git a/markdown/lang/de/strings.php b/markdown/lang/de/strings.php index d3d08fe0..ddc1ab2b 100644 --- a/markdown/lang/de/strings.php +++ b/markdown/lang/de/strings.php @@ -3,10 +3,9 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Markdown"] = "Markdown"; $a->strings["Enable Markdown parsing"] = "Verwende Markdown Formatierung"; -$a->strings["If enabled, self created items will additionally be parsed via Markdown."] = "Wenn diese Option aktiviert ist, werden alle deine neu erstellten Beiträge beim Senden zusätzlich zu BBCode auch Markdown Formatierungen angewandt."; $a->strings["Save Settings"] = "Einstellungen speichern"; diff --git a/markdown/lang/en-gb/strings.php b/markdown/lang/en-gb/strings.php index 1834ba01..dd272982 100644 --- a/markdown/lang/en-gb/strings.php +++ b/markdown/lang/en-gb/strings.php @@ -3,10 +3,9 @@ if(! function_exists("string_plural_select_en_gb")) { function string_plural_select_en_gb($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Markdown"] = "Markdown"; $a->strings["Enable Markdown parsing"] = "Enable Markdown parsing"; -$a->strings["If enabled, self created items will additionally be parsed via Markdown."] = "If enabled, self created items will additionally be parsed via Markdown."; $a->strings["Save Settings"] = "Save Settings"; diff --git a/markdown/lang/it/strings.php b/markdown/lang/it/strings.php index ebb93a45..dd906d9d 100644 --- a/markdown/lang/it/strings.php +++ b/markdown/lang/it/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Markdown"] = "Markdown"; diff --git a/markdown/lang/pl/strings.php b/markdown/lang/pl/strings.php index bbfa44b6..6063d2b3 100644 --- a/markdown/lang/pl/strings.php +++ b/markdown/lang/pl/strings.php @@ -3,10 +3,9 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ $n = intval($n); - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Markdown"] = "Markdown"; $a->strings["Enable Markdown parsing"] = "Włącz analizę Markdown"; -$a->strings["If enabled, self created items will additionally be parsed via Markdown."] = "Jeśli ta opcja jest włączona, utworzone przez ciebie elementy zostaną dodatkowo przeanalizowane poprzez Markdown."; $a->strings["Save Settings"] = "Zapisz Ustawienia"; diff --git a/markdown/lang/ru/strings.php b/markdown/lang/ru/strings.php index 95c6c82e..ebc7ea1a 100644 --- a/markdown/lang/ru/strings.php +++ b/markdown/lang/ru/strings.php @@ -3,10 +3,9 @@ if(! function_exists("string_plural_select_ru")) { function string_plural_select_ru($n){ $n = intval($n); - return ($n%10==1 && $n%100!=11 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14) ? 1 : $n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)? 2 : 3);; + if ($n%10==1 && $n%100!=11) { return 0; } else if ($n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14)) { return 1; } else if ($n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Markdown"] = "Markdown"; $a->strings["Enable Markdown parsing"] = "Включить форматирование Markdown"; -$a->strings["If enabled, self created items will additionally be parsed via Markdown."] = "Если включено, то созданные вами записи будут дополнительно форматироваться в соответствии с разметкой Markdown."; $a->strings["Save Settings"] = "Сохранить настройки"; diff --git a/mathjax/lang/cs/strings.php b/mathjax/lang/cs/strings.php index e2d95b45..8b94e656 100644 --- a/mathjax/lang/cs/strings.php +++ b/mathjax/lang/cs/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ - return ($n==1) ? 0 : ($n>=2 && $n<=4) ? 1 : 2;; + $n = intval($n); + if (($n==1)) { return 0; } else if (($n>=2 && $n<=4)) { return 1; } else { return 2; } }} ; $a->strings["Settings"] = "Nastavení"; diff --git a/mathjax/lang/de/strings.php b/mathjax/lang/de/strings.php index a1ac6f45..fbfd3397 100644 --- a/mathjax/lang/de/strings.php +++ b/mathjax/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Settings"] = "Einstellungen"; diff --git a/mathjax/lang/es/strings.php b/mathjax/lang/es/strings.php index c2edd566..78b5e679 100644 --- a/mathjax/lang/es/strings.php +++ b/mathjax/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Settings"] = "Ajustes"; diff --git a/mathjax/lang/fi-fi/strings.php b/mathjax/lang/fi-fi/strings.php index 4a4759b6..e2c9593e 100644 --- a/mathjax/lang/fi-fi/strings.php +++ b/mathjax/lang/fi-fi/strings.php @@ -2,13 +2,10 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Settings"] = "Asetukset"; -$a->strings["The MathJax addon renders mathematical formulae written using the LaTeX syntax surrounded by the usual $$ or an eqnarray block in the postings of your wall,network tab and private mail."] = ""; -$a->strings["Use the MathJax renderer"] = ""; $a->strings["Submit"] = "Lähetä"; $a->strings["Settings updated."] = "Asetukset päivitetty."; -$a->strings["MathJax Base URL"] = ""; -$a->strings["The URL for the javascript file that should be included to use MathJax. Can be either the MathJax CDN or another installation of MathJax."] = ""; diff --git a/mathjax/lang/it/strings.php b/mathjax/lang/it/strings.php index 17439338..c612dfb7 100644 --- a/mathjax/lang/it/strings.php +++ b/mathjax/lang/it/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Settings"] = "Impostazioni"; diff --git a/mathjax/lang/nl/strings.php b/mathjax/lang/nl/strings.php index b7506ec8..8873e0fa 100644 --- a/mathjax/lang/nl/strings.php +++ b/mathjax/lang/nl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Settings"] = "Instellingen"; diff --git a/mathjax/lang/pl/strings.php b/mathjax/lang/pl/strings.php index e41e98c0..8a9d4020 100644 --- a/mathjax/lang/pl/strings.php +++ b/mathjax/lang/pl/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + $n = intval($n); + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Settings"] = "Ustawienia"; diff --git a/mathjax/lang/ro/strings.php b/mathjax/lang/ro/strings.php index 98b38cf0..401c8685 100644 --- a/mathjax/lang/ro/strings.php +++ b/mathjax/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["Settings"] = "Configurări"; diff --git a/mathjax/lang/zh-cn/strings.php b/mathjax/lang/zh-cn/strings.php index 05103a5d..f60e9fc2 100644 --- a/mathjax/lang/zh-cn/strings.php +++ b/mathjax/lang/zh-cn/strings.php @@ -2,13 +2,11 @@ if(! function_exists("string_plural_select_zh_cn")) { function string_plural_select_zh_cn($n){ - return 0;; + $n = intval($n); + return intval(0); }} ; $a->strings["Settings"] = "设置"; -$a->strings["The MathJax addon renders mathematical formulae written using the LaTeX syntax surrounded by the usual $$ or an eqnarray block in the postings of your wall,network tab and private mail."] = ""; $a->strings["Use the MathJax renderer"] = "使用 MathJax 渲染"; $a->strings["Submit"] = "提交"; $a->strings["Settings updated."] = "设置已更新"; -$a->strings["MathJax Base URL"] = ""; -$a->strings["The URL for the javascript file that should be included to use MathJax. Can be either the MathJax CDN or another installation of MathJax."] = ""; diff --git a/morechoice/lang/cs/strings.php b/morechoice/lang/cs/strings.php index 55bcbd4d..55921be8 100644 --- a/morechoice/lang/cs/strings.php +++ b/morechoice/lang/cs/strings.php @@ -3,30 +3,21 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["Androgyne"] = "Androgyn"; $a->strings["Bear"] = "Medvěd"; $a->strings["Bigender"] = "Bigender"; $a->strings["Cross dresser"] = "Crossdresser"; -$a->strings["Drag queen"] = ""; $a->strings["Eunuch"] = "Eunuch"; -$a->strings["Faux queen"] = ""; -$a->strings["Gender fluid"] = ""; -$a->strings["Kathoey"] = ""; $a->strings["Lady"] = "Dáma"; -$a->strings["Lipstick lesbian"] = ""; $a->strings["Metrosexual"] = "Metrosexuál"; $a->strings["Monk"] = "Mnich"; $a->strings["Nun"] = "Jeptiška"; -$a->strings["Soft butch"] = ""; -$a->strings["Stone femme"] = ""; -$a->strings["Tomboy"] = ""; $a->strings["Transman"] = "Transmuž"; $a->strings["Transwoman"] = "Transžena"; $a->strings["Transvesti"] = "Transvestita"; -$a->strings["Trigender"] = ""; $a->strings["Can't remember"] = "Nepamatuju si"; $a->strings["Hard to tell these days"] = "Těžké říct touhle dobou"; $a->strings["Girls with big tits"] = "Holky s velkýma kozama"; @@ -39,13 +30,10 @@ $a->strings["Statues, mannequins and immobility"] = "Sochy, figuríny a nepohybl $a->strings["Pain"] = "Bolest"; $a->strings["Trans men"] = "Transmuži"; $a->strings["Older women"] = "Starší ženy"; -$a->strings["Asphyxiation"] = ""; $a->strings["In public"] = "Na veřejnosti"; $a->strings["In danger"] = "V nebezpečí"; $a->strings["Pretending to be male"] = "Předstírají, že jsou muži"; $a->strings["Pretending to be female"] = "Předstírají, že jsou ženy"; -$a->strings["Breats"] = ""; -$a->strings["Scat"] = ""; $a->strings["Crying"] = "Pláčí"; $a->strings["Nappies/Diapers"] = "Plenky"; $a->strings["Trees"] = "Stromy"; @@ -59,30 +47,22 @@ $a->strings["Elderly people"] = "Postarší lidé"; $a->strings["Transgender people"] = "Transgenderoví lidé"; $a->strings["Criminals"] = "Zločinci"; $a->strings["Stealing"] = "Kradou"; -$a->strings["Breast milk"] = ""; -$a->strings["Immersing genitals in liquids"] = ""; $a->strings["Giants"] = "Obři"; $a->strings["Masochism"] = "Masochismus"; $a->strings["Cars"] = "Auto"; $a->strings["Menstruation"] = "Menstruace"; -$a->strings["Mucus"] = ""; $a->strings["Obscene language"] = "Sprostý jazyk"; $a->strings["Noses"] = "Nosy"; $a->strings["Navels"] = "Pupky"; $a->strings["Corpses"] = "Mrtvoly"; $a->strings["Smells"] = "Pachy"; -$a->strings["Buttocks"] = ""; $a->strings["Nonliving objects"] = "Neživoucí předměty"; $a->strings["Sleeping people"] = "Spící lidé"; $a->strings["Urination"] = "Močení"; $a->strings["Eating people"] = "Žerou lidi"; -$a->strings["Being eaten"] = ""; $a->strings["Animals"] = "Zvířata"; $a->strings["I'd rather just have some chocolate"] = "Radši bych si prostě dal čokoládu"; -$a->strings["Married to my job"] = ""; $a->strings["Polygamist"] = "Polygamist(k)a"; $a->strings["Half married"] = "Napůl ženatý/vdaná"; $a->strings["Living in the past"] = "Žiju v minulosti"; -$a->strings["Pretending to be over my ex"] = ""; $a->strings["Hurt in the past"] = "Ublížen v minulosti"; -$a->strings["Wallowing in self-pity"] = ""; diff --git a/morechoice/lang/de/strings.php b/morechoice/lang/de/strings.php index cf64f1f9..5cb82912 100644 --- a/morechoice/lang/de/strings.php +++ b/morechoice/lang/de/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Androgyne"] = "Androgyn"; diff --git a/morechoice/lang/en-gb/strings.php b/morechoice/lang/en-gb/strings.php index 18b50b60..69b06aa8 100644 --- a/morechoice/lang/en-gb/strings.php +++ b/morechoice/lang/en-gb/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_en_gb")) { function string_plural_select_en_gb($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Androgyne"] = "Androgyne"; diff --git a/morechoice/lang/fr/strings.php b/morechoice/lang/fr/strings.php index 7d57e3be..41e95514 100644 --- a/morechoice/lang/fr/strings.php +++ b/morechoice/lang/fr/strings.php @@ -3,26 +3,18 @@ if(! function_exists("string_plural_select_fr")) { function string_plural_select_fr($n){ $n = intval($n); - return ($n > 1);; + return intval($n > 1); }} ; $a->strings["Androgyne"] = "Androgyne"; $a->strings["Bear"] = "Ours"; $a->strings["Bigender"] = "Bigenre"; -$a->strings["Cross dresser"] = ""; $a->strings["Drag queen"] = "drag queen"; $a->strings["Eunuch"] = "eunuque"; -$a->strings["Faux queen"] = ""; $a->strings["Gender fluid"] = "genre fluide"; -$a->strings["Kathoey"] = ""; -$a->strings["Lady"] = ""; -$a->strings["Lipstick lesbian"] = ""; $a->strings["Metrosexual"] = "métrosexuel"; $a->strings["Monk"] = "moine"; $a->strings["Nun"] = "religieuse"; -$a->strings["Soft butch"] = ""; -$a->strings["Stone femme"] = ""; -$a->strings["Tomboy"] = ""; $a->strings["Transman"] = "homme trans"; $a->strings["Transwoman"] = "femme trans"; $a->strings["Transvesti"] = "travesti"; @@ -31,58 +23,8 @@ $a->strings["Can't remember"] = "Ne se rappelle pas"; $a->strings["Hard to tell these days"] = "Difficile à dire en ce moment"; $a->strings["Girls with big tits"] = "Filles à gros seins"; $a->strings["Millionaires"] = "Millionnaires"; -$a->strings["Guys with big schlongs"] = ""; $a->strings["Easy women"] = "Femmes faciles"; $a->strings["People with impaired mobility"] = "Personnes à mobilité réduite"; $a->strings["Amputees"] = "Amputés"; -$a->strings["Statues, mannequins and immobility"] = ""; $a->strings["Pain"] = "Douleur"; $a->strings["Trans men"] = "Hommes trans"; -$a->strings["Older women"] = ""; -$a->strings["Asphyxiation"] = ""; -$a->strings["In public"] = ""; -$a->strings["In danger"] = ""; -$a->strings["Pretending to be male"] = ""; -$a->strings["Pretending to be female"] = ""; -$a->strings["Breats"] = ""; -$a->strings["Scat"] = ""; -$a->strings["Crying"] = ""; -$a->strings["Nappies/Diapers"] = ""; -$a->strings["Trees"] = ""; -$a->strings["Vomit"] = ""; -$a->strings["Murder"] = ""; -$a->strings["Fat people"] = ""; -$a->strings["Feet"] = ""; -$a->strings["Covered in insects"] = ""; -$a->strings["Turning a human being into furniture"] = ""; -$a->strings["Elderly people"] = ""; -$a->strings["Transgender people"] = ""; -$a->strings["Criminals"] = ""; -$a->strings["Stealing"] = ""; -$a->strings["Breast milk"] = ""; -$a->strings["Immersing genitals in liquids"] = ""; -$a->strings["Giants"] = ""; -$a->strings["Masochism"] = ""; -$a->strings["Cars"] = ""; -$a->strings["Menstruation"] = ""; -$a->strings["Mucus"] = ""; -$a->strings["Obscene language"] = ""; -$a->strings["Noses"] = ""; -$a->strings["Navels"] = ""; -$a->strings["Corpses"] = ""; -$a->strings["Smells"] = ""; -$a->strings["Buttocks"] = ""; -$a->strings["Nonliving objects"] = ""; -$a->strings["Sleeping people"] = ""; -$a->strings["Urination"] = ""; -$a->strings["Eating people"] = ""; -$a->strings["Being eaten"] = ""; -$a->strings["Animals"] = ""; -$a->strings["I'd rather just have some chocolate"] = ""; -$a->strings["Married to my job"] = ""; -$a->strings["Polygamist"] = ""; -$a->strings["Half married"] = ""; -$a->strings["Living in the past"] = ""; -$a->strings["Pretending to be over my ex"] = ""; -$a->strings["Hurt in the past"] = ""; -$a->strings["Wallowing in self-pity"] = ""; diff --git a/morechoice/lang/it/strings.php b/morechoice/lang/it/strings.php index 470ade1f..0f175988 100644 --- a/morechoice/lang/it/strings.php +++ b/morechoice/lang/it/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Androgyne"] = "Androgino"; diff --git a/morechoice/lang/nl/strings.php b/morechoice/lang/nl/strings.php index fd9e160f..507381da 100644 --- a/morechoice/lang/nl/strings.php +++ b/morechoice/lang/nl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Androgyne"] = "Dubbel geslacht"; @@ -13,7 +13,6 @@ $a->strings["Cross dresser"] = "Gekleed als het ander"; $a->strings["Drag queen"] = "Travestiet"; $a->strings["Eunuch"] = "Castraat"; $a->strings["Faux queen"] = "Fout"; -$a->strings["Gender fluid"] = ""; $a->strings["Kathoey"] = "Tussen man en vrouw"; $a->strings["Lady"] = "Trotse vrouw"; $a->strings["Lipstick lesbian"] = "Lesbienne-vrouw"; @@ -25,7 +24,6 @@ $a->strings["Stone femme"] = "Butch en femme"; $a->strings["Tomboy"] = "Tomboy"; $a->strings["Transman"] = "Transman"; $a->strings["Transwoman"] = "Transvrouw"; -$a->strings["Transvesti"] = ""; $a->strings["Trigender"] = "Drieslacht"; $a->strings["Can't remember"] = "Kan ik mij niet meer herinneren"; $a->strings["Hard to tell these days"] = "Moeilijk te zeggen vandaag"; diff --git a/morechoice/lang/pl/strings.php b/morechoice/lang/pl/strings.php index 1c6eeb81..fe7a28e8 100644 --- a/morechoice/lang/pl/strings.php +++ b/morechoice/lang/pl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ $n = intval($n); - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Androgyne"] = "Androgyniczny"; diff --git a/morepokes/lang/cs/strings.php b/morepokes/lang/cs/strings.php index 86114ca6..8428e39e 100644 --- a/morepokes/lang/cs/strings.php +++ b/morepokes/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["bitchslap"] = "dát facku"; diff --git a/morepokes/lang/de/strings.php b/morepokes/lang/de/strings.php index 1aa17032..aafd47f6 100644 --- a/morepokes/lang/de/strings.php +++ b/morepokes/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["bitchslap"] = "ohrfeigen"; diff --git a/morepokes/lang/en-gb/strings.php b/morepokes/lang/en-gb/strings.php index d4724ee1..b2fd1efc 100644 --- a/morepokes/lang/en-gb/strings.php +++ b/morepokes/lang/en-gb/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_en_gb")) { function string_plural_select_en_gb($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["bitchslap"] = "bitch-slap"; diff --git a/morepokes/lang/es/strings.php b/morepokes/lang/es/strings.php index 345427f6..c4943665 100644 --- a/morepokes/lang/es/strings.php +++ b/morepokes/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["bitchslap"] = "bofetada"; diff --git a/morepokes/lang/fi-fi/strings.php b/morepokes/lang/fi-fi/strings.php index 8ba1a443..49b72f0a 100644 --- a/morepokes/lang/fi-fi/strings.php +++ b/morepokes/lang/fi-fi/strings.php @@ -2,31 +2,20 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; -$a->strings["bitchslap"] = ""; -$a->strings["bitchslapped"] = ""; $a->strings["shag"] = "pane"; $a->strings["shagged"] = "pani"; -$a->strings["do something obscenely biological to"] = ""; -$a->strings["did something obscenely biological to"] = ""; -$a->strings["point out the poke feature to"] = ""; -$a->strings["pointed out the poke feature to"] = ""; -$a->strings["declare undying love for"] = ""; -$a->strings["declared undying love for"] = ""; $a->strings["patent"] = "patentoi"; $a->strings["patented"] = "patentoi"; $a->strings["stroke beard"] = "silitä partaa"; $a->strings["stroked their beard at"] = "silitti partaa"; -$a->strings["bemoan the declining standards of modern secondary and tertiary education to"] = ""; -$a->strings["bemoans the declining standards of modern secondary and tertiary education to"] = ""; $a->strings["hug"] = "halaa"; $a->strings["hugged"] = "halasi"; $a->strings["kiss"] = "suutele"; $a->strings["kissed"] = "pussasi"; -$a->strings["raise eyebrows at"] = ""; -$a->strings["raised their eyebrows at"] = ""; $a->strings["insult"] = "loukkaa"; $a->strings["insulted"] = "loukkasi"; $a->strings["praise"] = "kehu"; @@ -35,8 +24,6 @@ $a->strings["be dubious of"] = "epäile"; $a->strings["was dubious of"] = "epäili"; $a->strings["eat"] = "syö"; $a->strings["ate"] = "söi"; -$a->strings["giggle and fawn at"] = ""; -$a->strings["giggled and fawned at"] = ""; $a->strings["doubt"] = "epäile"; $a->strings["doubted"] = "epäili"; $a->strings["glare"] = "mulkoile"; diff --git a/morepokes/lang/it/strings.php b/morepokes/lang/it/strings.php index 0ba63a0a..992259bc 100644 --- a/morepokes/lang/it/strings.php +++ b/morepokes/lang/it/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["bitchslap"] = "schiaffeggia"; diff --git a/morepokes/lang/nl/strings.php b/morepokes/lang/nl/strings.php index 55c582cb..b560b9d7 100644 --- a/morepokes/lang/nl/strings.php +++ b/morepokes/lang/nl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["bitchslap"] = "Kaakslag"; diff --git a/morepokes/lang/pl/strings.php b/morepokes/lang/pl/strings.php index 0edb6560..cfd98be0 100644 --- a/morepokes/lang/pl/strings.php +++ b/morepokes/lang/pl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ $n = intval($n); - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["bitchslap"] = "spoliczkować"; diff --git a/morepokes/lang/ro/strings.php b/morepokes/lang/ro/strings.php index 3af70529..90546428 100644 --- a/morepokes/lang/ro/strings.php +++ b/morepokes/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["bitchslap"] = "palmuire-javră"; diff --git a/namethingy/lang/C/messages.po b/namethingy/lang/C/messages.po deleted file mode 100644 index e69de29b..00000000 diff --git a/newmemberwidget/lang/cs/strings.php b/newmemberwidget/lang/cs/strings.php index 30fed02c..fe120bb3 100644 --- a/newmemberwidget/lang/cs/strings.php +++ b/newmemberwidget/lang/cs/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ - return ($n==1) ? 0 : ($n>=2 && $n<=4) ? 1 : 2;; + $n = intval($n); + if (($n==1)) { return 0; } else if (($n>=2 && $n<=4)) { return 1; } else { return 2; } }} ; $a->strings["New Member"] = "Nový člen"; diff --git a/newmemberwidget/lang/de/strings.php b/newmemberwidget/lang/de/strings.php index 77f5ad62..425cf30e 100644 --- a/newmemberwidget/lang/de/strings.php +++ b/newmemberwidget/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["New Member"] = "Neue Nutzer"; diff --git a/newmemberwidget/lang/es/strings.php b/newmemberwidget/lang/es/strings.php index de5df04f..97686bae 100644 --- a/newmemberwidget/lang/es/strings.php +++ b/newmemberwidget/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["New Member"] = "Nuevo Miembro"; diff --git a/newmemberwidget/lang/et/strings.php b/newmemberwidget/lang/et/strings.php index e0563766..f6184964 100644 --- a/newmemberwidget/lang/et/strings.php +++ b/newmemberwidget/lang/et/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_et")) { function string_plural_select_et($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["New Member"] = "Uus liige"; @@ -12,10 +12,3 @@ $a->strings["Global Support Forum"] = "Globaalne tugifoorum"; $a->strings["Local Support Forum"] = "Lokaalne tugifoorum"; $a->strings["Save Settings"] = "Salvesta sätted"; $a->strings["Message"] = "Sõnum"; -$a->strings["Your message for new members. You can use bbcode here."] = ""; -$a->strings["Add a link to global support forum"] = ""; -$a->strings["Should a link to the global support forum be displayed?"] = ""; -$a->strings["Add a link to the local support forum"] = ""; -$a->strings["If you have a local support forum and wand to have a link displayed in the widget, check this box."] = ""; -$a->strings["Name of the local support group"] = ""; -$a->strings["If you checked the above, specify the nickname of the local support group here (i.e. helpers)"] = ""; diff --git a/newmemberwidget/lang/fi-fi/strings.php b/newmemberwidget/lang/fi-fi/strings.php index 02e8ce30..71ece029 100644 --- a/newmemberwidget/lang/fi-fi/strings.php +++ b/newmemberwidget/lang/fi-fi/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["New Member"] = "Uusi jäsen"; @@ -11,10 +12,6 @@ $a->strings["Global Support Forum"] = "Maailmanlaajuinen tukifoorumi"; $a->strings["Local Support Forum"] = "Paikallinen tukifoorumi"; $a->strings["Save Settings"] = "Tallenna asetukset"; $a->strings["Message"] = "Viesti"; -$a->strings["Your message for new members. You can use bbcode here."] = ""; $a->strings["Add a link to global support forum"] = "Lisää linkki maailmanlaajuiseen tukifoorumiin"; -$a->strings["Should a link to the global support forum be displayed?"] = ""; $a->strings["Add a link to the local support forum"] = "Lisää linkki paikalliseen tukifoorumiin"; -$a->strings["If you have a local support forum and wand to have a link displayed in the widget, check this box."] = ""; $a->strings["Name of the local support group"] = "Paikallisen tukifoorumin nimi"; -$a->strings["If you checked the above, specify the nickname of the local support group here (i.e. helpers)"] = ""; diff --git a/newmemberwidget/lang/it/strings.php b/newmemberwidget/lang/it/strings.php index 6138ea6a..3fc6e5cc 100644 --- a/newmemberwidget/lang/it/strings.php +++ b/newmemberwidget/lang/it/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["New Member"] = "Nuovi Utenti"; diff --git a/newmemberwidget/lang/nl/strings.php b/newmemberwidget/lang/nl/strings.php index 90e69ce3..9b38bf0f 100644 --- a/newmemberwidget/lang/nl/strings.php +++ b/newmemberwidget/lang/nl/strings.php @@ -3,19 +3,9 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["New Member"] = "Nieuw lid"; $a->strings["Tips for New Members"] = "Tips voor nieuwe leden"; -$a->strings["Global Support Forum"] = ""; -$a->strings["Local Support Forum"] = ""; $a->strings["Save Settings"] = "Instellingen opslaan"; -$a->strings["Message"] = ""; -$a->strings["Your message for new members. You can use bbcode here."] = ""; -$a->strings["Add a link to global support forum"] = ""; -$a->strings["Should a link to the global support forum be displayed?"] = ""; -$a->strings["Add a link to the local support forum"] = ""; -$a->strings["If you have a local support forum and wand to have a link displayed in the widget, check this box."] = ""; -$a->strings["Name of the local support group"] = ""; -$a->strings["If you checked the above, specify the nickname of the local support group here (i.e. helpers)"] = ""; diff --git a/newmemberwidget/lang/pl/strings.php b/newmemberwidget/lang/pl/strings.php index a58f34ef..8405d789 100644 --- a/newmemberwidget/lang/pl/strings.php +++ b/newmemberwidget/lang/pl/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + $n = intval($n); + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["New Member"] = "Nowy Użytkownik"; diff --git a/newmemberwidget/lang/pt-br/strings.php b/newmemberwidget/lang/pt-br/strings.php index a6fb624c..e873efe6 100644 --- a/newmemberwidget/lang/pt-br/strings.php +++ b/newmemberwidget/lang/pt-br/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pt_br")) { function string_plural_select_pt_br($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; $a->strings["New Member"] = "Novo Membro"; diff --git a/newmemberwidget/lang/ro/strings.php b/newmemberwidget/lang/ro/strings.php index 0a00d1a6..b3cf874b 100644 --- a/newmemberwidget/lang/ro/strings.php +++ b/newmemberwidget/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["New Member"] = "Membru Nou"; diff --git a/newmemberwidget/lang/ru/strings.php b/newmemberwidget/lang/ru/strings.php index 6ef20852..fe80f37e 100644 --- a/newmemberwidget/lang/ru/strings.php +++ b/newmemberwidget/lang/ru/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ru")) { function string_plural_select_ru($n){ $n = intval($n); - return ($n%10==1 && $n%100!=11 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14) ? 1 : $n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)? 2 : 3);; + if ($n%10==1 && $n%100!=11) { return 0; } else if ($n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14)) { return 1; } else if ($n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["New Member"] = "Новичок"; diff --git a/notifyall/lang/cs/strings.php b/notifyall/lang/cs/strings.php index e01528ce..387aa29a 100644 --- a/notifyall/lang/cs/strings.php +++ b/notifyall/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["Send email to all members"] = "Odeslat e-mail všem členům"; diff --git a/notifyall/lang/de/strings.php b/notifyall/lang/de/strings.php index 9c92b42e..b46e127a 100644 --- a/notifyall/lang/de/strings.php +++ b/notifyall/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Send email to all members"] = "Sende eine E-Mail an alle Nutzer der Seite"; diff --git a/notifyall/lang/es/strings.php b/notifyall/lang/es/strings.php index 312a6acd..0aee142d 100644 --- a/notifyall/lang/es/strings.php +++ b/notifyall/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Send email to all members"] = "Enviar email a todos los miembros"; diff --git a/notifyall/lang/fi-fi/strings.php b/notifyall/lang/fi-fi/strings.php index 1c467153..7292d09f 100644 --- a/notifyall/lang/fi-fi/strings.php +++ b/notifyall/lang/fi-fi/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Send email to all members"] = "Lähetä sähköposti kaikille jäsenille"; @@ -11,7 +11,5 @@ $a->strings["%s Administrator"] = "%s-ylläpitäjä"; $a->strings["%1\$s, %2\$s Administrator"] = "%1\$s, %2\$s-ylläpitäjä"; $a->strings["No recipients found."] = "Vastaanottajaa ei löytynyt."; $a->strings["Emails sent"] = "Sähköpostit lähetetty"; -$a->strings["Send email to all members of this Friendica instance."] = ""; $a->strings["Message subject"] = "Viestin aihe"; -$a->strings["Test mode (only send to administrator)"] = ""; $a->strings["Submit"] = "Lähetä"; diff --git a/notifyall/lang/fr/strings.php b/notifyall/lang/fr/strings.php index b0fbefa3..6b78241c 100644 --- a/notifyall/lang/fr/strings.php +++ b/notifyall/lang/fr/strings.php @@ -2,12 +2,11 @@ if(! function_exists("string_plural_select_fr")) { function string_plural_select_fr($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; $a->strings["Send email to all members"] = "Envoyer un courriel à tous les membres"; -$a->strings["%s Administrator"] = ""; -$a->strings["%1\$s, %2\$s Administrator"] = ""; $a->strings["No recipients found."] = "Aucun destinataire trouvé."; $a->strings["Emails sent"] = "Courriels envoyés"; $a->strings["Send email to all members of this Friendica instance."] = "Envoyer un courriel à tous les membres de cet instance Friendica."; diff --git a/notifyall/lang/it/strings.php b/notifyall/lang/it/strings.php index c47067b6..e43291a3 100644 --- a/notifyall/lang/it/strings.php +++ b/notifyall/lang/it/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Send email to all members"] = "Invia email a tutti i membri"; diff --git a/notifyall/lang/nl/strings.php b/notifyall/lang/nl/strings.php index 78c6488d..4aabe231 100644 --- a/notifyall/lang/nl/strings.php +++ b/notifyall/lang/nl/strings.php @@ -3,15 +3,9 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Send email to all members"] = "Stuur e-mail naar alle leden"; $a->strings["%s Administrator"] = "%s Beheerder"; $a->strings["%1\$s, %2\$s Administrator"] = "%1\$s%2\$s Beheerder"; -$a->strings["No recipients found."] = ""; -$a->strings["Emails sent"] = ""; -$a->strings["Send email to all members of this Friendica instance."] = ""; -$a->strings["Message subject"] = ""; -$a->strings["Test mode (only send to administrator)"] = ""; -$a->strings["Submit"] = ""; diff --git a/notifyall/lang/pl/strings.php b/notifyall/lang/pl/strings.php index 38a91bb0..8b3ed887 100644 --- a/notifyall/lang/pl/strings.php +++ b/notifyall/lang/pl/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + $n = intval($n); + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Send email to all members"] = "Wyślij e-mail do wszystkich członków"; @@ -10,7 +11,6 @@ $a->strings["%s Administrator"] = "%s Administrator"; $a->strings["%1\$s, %2\$s Administrator"] = "%1\$s, %2\$s Administrator"; $a->strings["No recipients found."] = "Nie znaleziono adresatów."; $a->strings["Emails sent"] = "Wysłane wiadomości e-mail"; -$a->strings["Send email to all members of this Friendica instance."] = "Wyślij wiadomość e-mail do wszystkich członków tej instancji Friendica."; $a->strings["Message subject"] = "Temat wiadomości"; $a->strings["Test mode (only send to administrator)"] = "Tryb testowy (wysyłany tylko do administratora)"; $a->strings["Submit"] = "Zatwierdź"; diff --git a/notifyall/lang/pt-br/strings.php b/notifyall/lang/pt-br/strings.php index 7df5beec..4ea5dd39 100644 --- a/notifyall/lang/pt-br/strings.php +++ b/notifyall/lang/pt-br/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pt_br")) { function string_plural_select_pt_br($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; $a->strings["Send email to all members"] = "Enviar e-mail para todos os membros"; diff --git a/notifyall/lang/ru/strings.php b/notifyall/lang/ru/strings.php index 4d394dae..ef92ce08 100644 --- a/notifyall/lang/ru/strings.php +++ b/notifyall/lang/ru/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ru")) { function string_plural_select_ru($n){ $n = intval($n); - return ($n%10==1 && $n%100!=11 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14) ? 1 : $n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)? 2 : 3);; + if ($n%10==1 && $n%100!=11) { return 0; } else if ($n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14)) { return 1; } else if ($n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Send email to all members"] = "Послать почту всем пользователям"; diff --git a/notimeline/lang/cs/strings.php b/notimeline/lang/cs/strings.php index c3b6c081..f0dfbe21 100644 --- a/notimeline/lang/cs/strings.php +++ b/notimeline/lang/cs/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ - return ($n==1) ? 0 : ($n>=2 && $n<=4) ? 1 : 2;; + $n = intval($n); + if (($n==1)) { return 0; } else if (($n>=2 && $n<=4)) { return 1; } else { return 2; } }} ; $a->strings["No Timeline settings updated."] = "Nastavení No Timeline aktualizováno."; diff --git a/notimeline/lang/de/strings.php b/notimeline/lang/de/strings.php index 85459dac..44aff163 100644 --- a/notimeline/lang/de/strings.php +++ b/notimeline/lang/de/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["No Timeline settings updated."] = "Keine Timeline-Einstellungen aktualisiert."; diff --git a/notimeline/lang/es/strings.php b/notimeline/lang/es/strings.php index ec69f6ff..c51e1431 100644 --- a/notimeline/lang/es/strings.php +++ b/notimeline/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["No Timeline settings updated."] = "Ningún ajuste de Línea de Tiempo actualizado"; diff --git a/notimeline/lang/fi-fi/strings.php b/notimeline/lang/fi-fi/strings.php index 22688493..9148c2d0 100644 --- a/notimeline/lang/fi-fi/strings.php +++ b/notimeline/lang/fi-fi/strings.php @@ -2,10 +2,10 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["No Timeline settings updated."] = "No Timeline -asetukset päivitetty"; $a->strings["No Timeline Settings"] = "No Timeline -asetukset"; -$a->strings["Disable Archive selector on profile wall"] = ""; $a->strings["Submit"] = "Lähetä"; diff --git a/notimeline/lang/it/strings.php b/notimeline/lang/it/strings.php index cb5be511..5297c6de 100644 --- a/notimeline/lang/it/strings.php +++ b/notimeline/lang/it/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["No Timeline settings updated."] = "Impostazioni \"No Timeline\" aggiornate."; diff --git a/notimeline/lang/nl/strings.php b/notimeline/lang/nl/strings.php index 4e113f31..76ad2b9c 100644 --- a/notimeline/lang/nl/strings.php +++ b/notimeline/lang/nl/strings.php @@ -3,10 +3,8 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["No Timeline settings updated."] = "Geen tijdlijn instellingen opgeslagen"; $a->strings["No Timeline Settings"] = "No Timeline instellingen"; -$a->strings["Disable Archive selector on profile wall"] = ""; -$a->strings["Submit"] = ""; diff --git a/notimeline/lang/pl/strings.php b/notimeline/lang/pl/strings.php index 8e7aa6bf..d98731f0 100644 --- a/notimeline/lang/pl/strings.php +++ b/notimeline/lang/pl/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + $n = intval($n); + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["No Timeline settings updated."] = "Nie zaktualizowano ustawień osi czasu."; diff --git a/notimeline/lang/ro/strings.php b/notimeline/lang/ro/strings.php index ea995674..971fb04c 100644 --- a/notimeline/lang/ro/strings.php +++ b/notimeline/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["No Timeline settings updated."] = "Configurările pentru Lipsă Cronologie, au fost actualizate."; diff --git a/notimeline/lang/zh-cn/strings.php b/notimeline/lang/zh-cn/strings.php index c4b2a794..70f0e214 100644 --- a/notimeline/lang/zh-cn/strings.php +++ b/notimeline/lang/zh-cn/strings.php @@ -3,10 +3,9 @@ if(! function_exists("string_plural_select_zh_cn")) { function string_plural_select_zh_cn($n){ $n = intval($n); - return 0;; + return intval(0); }} ; $a->strings["No Timeline settings updated."] = "时间轴设置未更新。"; $a->strings["No Timeline Settings"] = "无时间轴设置"; -$a->strings["Disable Archive selector on profile wall"] = ""; $a->strings["Submit"] = "提交"; diff --git a/nsfw/lang/cs/strings.php b/nsfw/lang/cs/strings.php index a783951f..42f941c4 100644 --- a/nsfw/lang/cs/strings.php +++ b/nsfw/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["Content Filter (NSFW and more)"] = "Filtr obsahu (citlivý obsah a další)"; diff --git a/nsfw/lang/de/strings.php b/nsfw/lang/de/strings.php index e1d04ad1..dde95d3f 100644 --- a/nsfw/lang/de/strings.php +++ b/nsfw/lang/de/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Content Filter (NSFW and more)"] = "Inhaltsfilter (NSFW und mehr)"; diff --git a/nsfw/lang/en-gb/strings.php b/nsfw/lang/en-gb/strings.php index a7ace525..5745bd52 100644 --- a/nsfw/lang/en-gb/strings.php +++ b/nsfw/lang/en-gb/strings.php @@ -2,14 +2,12 @@ if(! function_exists("string_plural_select_en_gb")) { function string_plural_select_en_gb($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; -$a->strings["Content Filter (NSFW and more)"] = ""; -$a->strings["This addon searches for specified words/text in posts and collapses them. It can be used to filter content tagged with for instance #NSFW that may be deemed inappropriate at certain times or places, such as being at work. It is also useful for hiding irrelevant or annoying content from direct view."] = ""; $a->strings["Enable Content filter"] = "Enable content filter"; $a->strings["Comma separated list of keywords to hide"] = "Comma separated list of keywords"; -$a->strings["Save Settings"] = ""; $a->strings["Use /expression/ to provide regular expressions"] = "Use /expression/ for regular expressions."; $a->strings["NSFW Settings saved."] = "NSFW settings saved."; $a->strings["%s - Click to open/close"] = "%s - Reveal/hide"; diff --git a/nsfw/lang/en-us/strings.php b/nsfw/lang/en-us/strings.php index 294cbbd6..b9c47bc3 100644 --- a/nsfw/lang/en-us/strings.php +++ b/nsfw/lang/en-us/strings.php @@ -2,14 +2,12 @@ if(! function_exists("string_plural_select_en_us")) { function string_plural_select_en_us($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; -$a->strings["Content Filter (NSFW and more)"] = ""; -$a->strings["This addon searches for specified words/text in posts and collapses them. It can be used to filter content tagged with for instance #NSFW that may be deemed inappropriate at certain times or places, such as being at work. It is also useful for hiding irrelevant or annoying content from direct view."] = ""; $a->strings["Enable Content filter"] = "Enable content filter"; $a->strings["Comma separated list of keywords to hide"] = "Comma separated list of keywords"; -$a->strings["Save Settings"] = ""; $a->strings["Use /expression/ to provide regular expressions"] = "Use /expression/ for regular expressions."; $a->strings["NSFW Settings saved."] = "NSFW settings saved."; $a->strings["%s - Click to open/close"] = "%s - Reveal/hide"; diff --git a/nsfw/lang/es/strings.php b/nsfw/lang/es/strings.php index 75d3211d..c85f227b 100644 --- a/nsfw/lang/es/strings.php +++ b/nsfw/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Not Safe For Work (General Purpose Content Filter) settings"] = "Configuración \"No apto para trabajar\" (Filtro genérico de contenido)"; diff --git a/nsfw/lang/fi-fi/strings.php b/nsfw/lang/fi-fi/strings.php index 2afd44f4..a6a3ea59 100644 --- a/nsfw/lang/fi-fi/strings.php +++ b/nsfw/lang/fi-fi/strings.php @@ -3,15 +3,12 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Content Filter (NSFW and more)"] = "Sisällönsuodatin (NSFW yms.)"; -$a->strings["This addon searches for specified words/text in posts and collapses them. It can be used to filter content tagged with for instance #NSFW that may be deemed inappropriate at certain times or places, such as being at work. It is also useful for hiding irrelevant or annoying content from direct view."] = ""; $a->strings["Enable Content filter"] = "Ota sisällönsuodatin käyttöön"; -$a->strings["Comma separated list of keywords to hide"] = ""; $a->strings["Save Settings"] = "Tallenna asetukset"; -$a->strings["Use /expression/ to provide regular expressions"] = ""; $a->strings["NSFW Settings saved."] = "NSFW-asetukset tallennettu."; $a->strings["Filtered tag: %s"] = "Suodatettu tunniste: %s"; $a->strings["Filtered word: %s"] = "Suodatettu sana: %s"; diff --git a/nsfw/lang/it/strings.php b/nsfw/lang/it/strings.php index 69d9e287..b926b32a 100644 --- a/nsfw/lang/it/strings.php +++ b/nsfw/lang/it/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Content Filter (NSFW and more)"] = "Filtro Contenuto (NSFW e altro)"; diff --git a/nsfw/lang/nl/strings.php b/nsfw/lang/nl/strings.php index 83dc7241..7ae93a14 100644 --- a/nsfw/lang/nl/strings.php +++ b/nsfw/lang/nl/strings.php @@ -3,15 +3,11 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Content Filter (NSFW and more)"] = "Inhoud filter (NSFW en meer)"; $a->strings["This addon searches for specified words/text in posts and collapses them. It can be used to filter content tagged with for instance #NSFW that may be deemed inappropriate at certain times or places, such as being at work. It is also useful for hiding irrelevant or annoying content from direct view."] = "Deze add-on zoekt naar gespecificeerde woorden / tekst in berichten en vouwt ze samen. Het kan worden gebruikt om inhoud te filteren die is getagd met bijvoorbeeld #NSFW die op bepaalde tijden of plaatsen als ongepast kan worden beschouwd, zoals op het werk. Het is ook handig om irrelevante of irritante inhoud voor direct zicht te verbergen."; $a->strings["Enable Content filter"] = "Content filter inschakelen"; -$a->strings["Comma separated list of keywords to hide"] = ""; $a->strings["Save Settings"] = "Instellingen opslaan"; -$a->strings["Use /expression/ to provide regular expressions"] = ""; $a->strings["NSFW Settings saved."] = "NSFW instellingen opgeslagen"; -$a->strings["Filtered tag: %s"] = ""; -$a->strings["Filtered word: %s"] = ""; diff --git a/nsfw/lang/pl/strings.php b/nsfw/lang/pl/strings.php index e749b72d..b678db64 100644 --- a/nsfw/lang/pl/strings.php +++ b/nsfw/lang/pl/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + $n = intval($n); + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Content Filter (NSFW and more)"] = "Filtr zawartości (NSFW i więcej)"; diff --git a/nsfw/lang/pt-br/strings.php b/nsfw/lang/pt-br/strings.php index 21a81492..267c8275 100644 --- a/nsfw/lang/pt-br/strings.php +++ b/nsfw/lang/pt-br/strings.php @@ -2,14 +2,9 @@ if(! function_exists("string_plural_select_pt_br")) { function string_plural_select_pt_br($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; -$a->strings["Not Safe For Work (General Purpose Content Filter) settings"] = ""; -$a->strings["This addon looks in posts for the words/text you specify below, and collapses any content containing those keywords so it is not displayed at inappropriate times, such as sexual innuendo that may be improper in a work setting. It is polite and recommended to tag any content containing nudity with #NSFW. This filter can also match any other word/text you specify, and can thereby be used as a general purpose content filter."] = ""; $a->strings["Enable Content filter"] = "Habilitar filtro de conteúdo"; -$a->strings["Comma separated list of keywords to hide"] = ""; $a->strings["Submit"] = "Enviar"; -$a->strings["Use /expression/ to provide regular expressions"] = ""; -$a->strings["NSFW Settings saved."] = ""; -$a->strings["%s - Click to open/close"] = ""; diff --git a/nsfw/lang/ro/strings.php b/nsfw/lang/ro/strings.php index f03f490f..b7316c72 100644 --- a/nsfw/lang/ro/strings.php +++ b/nsfw/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["Not Safe For Work (General Purpose Content Filter) settings"] = "Nesigur Pentru Lucru (Filtrare de Conținut pentru Uz General )"; diff --git a/nsfw/lang/ru/strings.php b/nsfw/lang/ru/strings.php index d16d1195..e3f6e64b 100644 --- a/nsfw/lang/ru/strings.php +++ b/nsfw/lang/ru/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ru")) { function string_plural_select_ru($n){ $n = intval($n); - return ($n%10==1 && $n%100!=11 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14) ? 1 : $n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)? 2 : 3);; + if ($n%10==1 && $n%100!=11) { return 0; } else if ($n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14)) { return 1; } else if ($n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Content Filter (NSFW and more)"] = "Фильтр контента (NSFW и прочее)"; diff --git a/nsfw/lang/zh-cn/strings.php b/nsfw/lang/zh-cn/strings.php index 4aaae05b..fe684f48 100644 --- a/nsfw/lang/zh-cn/strings.php +++ b/nsfw/lang/zh-cn/strings.php @@ -3,11 +3,10 @@ if(! function_exists("string_plural_select_zh_cn")) { function string_plural_select_zh_cn($n){ $n = intval($n); - return 0;; + return intval(0); }} ; $a->strings["Content Filter (NSFW and more)"] = "内容过滤 ( NSFW 及其他更多)"; -$a->strings["This addon searches for specified words/text in posts and collapses them. It can be used to filter content tagged with for instance #NSFW that may be deemed inappropriate at certain times or places, such as being at work. It is also useful for hiding irrelevant or annoying content from direct view."] = ""; $a->strings["Enable Content filter"] = "启用内容过滤"; $a->strings["Comma separated list of keywords to hide"] = "以逗号分隔需隐藏关键字列表"; $a->strings["Save Settings"] = "保存设置"; diff --git a/numfriends/lang/cs/strings.php b/numfriends/lang/cs/strings.php index e8565071..54d9d0ed 100644 --- a/numfriends/lang/cs/strings.php +++ b/numfriends/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["Numfriends settings updated."] = "Nastavení Numfriends aktualizováno"; diff --git a/numfriends/lang/de/strings.php b/numfriends/lang/de/strings.php index c77ab53e..64462bf6 100644 --- a/numfriends/lang/de/strings.php +++ b/numfriends/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Numfriends settings updated."] = "Numfriends Einstellungen aktualisiert"; diff --git a/numfriends/lang/es/strings.php b/numfriends/lang/es/strings.php index a06fbcf3..27a0c24a 100644 --- a/numfriends/lang/es/strings.php +++ b/numfriends/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Numfriends settings updated."] = "Ajustes de Numfriends actualizados."; diff --git a/numfriends/lang/fi-fi/strings.php b/numfriends/lang/fi-fi/strings.php index 029928a0..4472733d 100644 --- a/numfriends/lang/fi-fi/strings.php +++ b/numfriends/lang/fi-fi/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Numfriends settings updated."] = "Numfriends -asetukset päivitetty."; diff --git a/numfriends/lang/fr/strings.php b/numfriends/lang/fr/strings.php index 84ec8c8d..00b35f1f 100644 --- a/numfriends/lang/fr/strings.php +++ b/numfriends/lang/fr/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_fr")) { function string_plural_select_fr($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; $a->strings["Numfriends settings updated."] = "Configuration de Numfriends mise à jour."; diff --git a/numfriends/lang/it/strings.php b/numfriends/lang/it/strings.php index c1ab0ada..1b850f58 100644 --- a/numfriends/lang/it/strings.php +++ b/numfriends/lang/it/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Numfriends settings updated."] = "Impostazioni \"Numfriends' aggiornate."; diff --git a/numfriends/lang/nl/strings.php b/numfriends/lang/nl/strings.php index 7ad90c3f..fcbe4f77 100644 --- a/numfriends/lang/nl/strings.php +++ b/numfriends/lang/nl/strings.php @@ -3,10 +3,8 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Numfriends settings updated."] = "Numfriends instellingen opgeslagen"; $a->strings["Numfriends Settings"] = "Numfriends instellingen"; -$a->strings["How many contacts to display on profile sidebar"] = ""; -$a->strings["Submit"] = ""; diff --git a/numfriends/lang/pl/strings.php b/numfriends/lang/pl/strings.php index 949fbc5b..824809b5 100644 --- a/numfriends/lang/pl/strings.php +++ b/numfriends/lang/pl/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + $n = intval($n); + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Numfriends settings updated."] = "Zaktualizowano ustawienia Numfriends."; diff --git a/numfriends/lang/ro/strings.php b/numfriends/lang/ro/strings.php index 7ee199fe..1b8aff79 100644 --- a/numfriends/lang/ro/strings.php +++ b/numfriends/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["Numfriends settings updated."] = "Configurările NumFriends au fost actualizate."; diff --git a/numfriends/lang/ru/strings.php b/numfriends/lang/ru/strings.php index 0b92ac93..e896f999 100644 --- a/numfriends/lang/ru/strings.php +++ b/numfriends/lang/ru/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ru")) { function string_plural_select_ru($n){ $n = intval($n); - return ($n%10==1 && $n%100!=11 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14) ? 1 : $n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)? 2 : 3);; + if ($n%10==1 && $n%100!=11) { return 0; } else if ($n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14)) { return 1; } else if ($n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Numfriends settings updated."] = "Настройки Numfriends обновлены."; diff --git a/openstreetmap/lang/cs/strings.php b/openstreetmap/lang/cs/strings.php index fbfec194..2ebdccab 100644 --- a/openstreetmap/lang/cs/strings.php +++ b/openstreetmap/lang/cs/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ - return ($n==1) ? 0 : ($n>=2 && $n<=4) ? 1 : 2;; + $n = intval($n); + if (($n==1)) { return 0; } else if (($n>=2 && $n<=4)) { return 1; } else { return 2; } }} ; $a->strings["Submit"] = "Odeslat"; diff --git a/openstreetmap/lang/de/strings.php b/openstreetmap/lang/de/strings.php index b3bbbb22..d1ac9919 100644 --- a/openstreetmap/lang/de/strings.php +++ b/openstreetmap/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Submit"] = "Senden"; diff --git a/openstreetmap/lang/es/strings.php b/openstreetmap/lang/es/strings.php index d8a59d0e..24ff8660 100644 --- a/openstreetmap/lang/es/strings.php +++ b/openstreetmap/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Submit"] = "Enviar"; diff --git a/openstreetmap/lang/fi-fi/strings.php b/openstreetmap/lang/fi-fi/strings.php index 62c6e54c..b6a71231 100644 --- a/openstreetmap/lang/fi-fi/strings.php +++ b/openstreetmap/lang/fi-fi/strings.php @@ -3,12 +3,10 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Submit"] = "Lähetä"; -$a->strings["Tile Server URL"] = ""; -$a->strings["A list of public tile servers"] = ""; $a->strings["Default zoom"] = "Oletuszoomaus"; $a->strings["The default zoom level. (1:world, 18:highest)"] = "Oletuszoomaustaso (1: kaukaisin, 18: läheisin)"; $a->strings["Settings updated."] = "Asetukset päivitetty"; diff --git a/openstreetmap/lang/fr/strings.php b/openstreetmap/lang/fr/strings.php index cdd98efc..badde35c 100644 --- a/openstreetmap/lang/fr/strings.php +++ b/openstreetmap/lang/fr/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_fr")) { function string_plural_select_fr($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; $a->strings["Submit"] = "Envoyer"; diff --git a/openstreetmap/lang/is/strings.php b/openstreetmap/lang/is/strings.php index d14a7713..464c4531 100644 --- a/openstreetmap/lang/is/strings.php +++ b/openstreetmap/lang/is/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_is")) { function string_plural_select_is($n){ $n = intval($n); - return ($n % 10 != 1 || $n % 100 == 11);; + return intval($n % 10 != 1 || $n % 100 == 11); }} ; $a->strings["Submit"] = "Senda inn"; diff --git a/openstreetmap/lang/it/strings.php b/openstreetmap/lang/it/strings.php index f85b520b..efe652c6 100644 --- a/openstreetmap/lang/it/strings.php +++ b/openstreetmap/lang/it/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Submit"] = "Invia"; diff --git a/openstreetmap/lang/nl/strings.php b/openstreetmap/lang/nl/strings.php index 6d3e5b23..2a7255ab 100644 --- a/openstreetmap/lang/nl/strings.php +++ b/openstreetmap/lang/nl/strings.php @@ -3,12 +3,9 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Submit"] = "Opslaan"; $a->strings["Tile Server URL"] = "URL met kaarttegels"; -$a->strings["A list of public tile servers"] = ""; -$a->strings["Default zoom"] = ""; -$a->strings["The default zoom level. (1:world, 18:highest)"] = ""; $a->strings["Settings updated."] = "Instellingen opgeslagen"; diff --git a/openstreetmap/lang/pl/strings.php b/openstreetmap/lang/pl/strings.php index 630cb92c..97d5a0cb 100644 --- a/openstreetmap/lang/pl/strings.php +++ b/openstreetmap/lang/pl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ $n = intval($n); - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Submit"] = "Zatwierdź"; diff --git a/openstreetmap/lang/pt-br/strings.php b/openstreetmap/lang/pt-br/strings.php index ac18fd0d..ced07ab6 100644 --- a/openstreetmap/lang/pt-br/strings.php +++ b/openstreetmap/lang/pt-br/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pt_br")) { function string_plural_select_pt_br($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; $a->strings["Submit"] = "Enviar"; diff --git a/openstreetmap/lang/ro/strings.php b/openstreetmap/lang/ro/strings.php index 83700eed..7152ac9a 100644 --- a/openstreetmap/lang/ro/strings.php +++ b/openstreetmap/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["Submit"] = "Trimite"; diff --git a/pageheader/lang/cs/strings.php b/pageheader/lang/cs/strings.php index a32e5ed7..107e27a4 100644 --- a/pageheader/lang/cs/strings.php +++ b/pageheader/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["\"pageheader\" Settings"] = "Nastavení záhlaví stránky"; diff --git a/pageheader/lang/de/strings.php b/pageheader/lang/de/strings.php index c0bfeee4..8364c278 100644 --- a/pageheader/lang/de/strings.php +++ b/pageheader/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["\"pageheader\" Settings"] = "\"pageheader\"-Einstellungen"; diff --git a/pageheader/lang/en-gb/strings.php b/pageheader/lang/en-gb/strings.php index d81a110f..bd2a18e3 100644 --- a/pageheader/lang/en-gb/strings.php +++ b/pageheader/lang/en-gb/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_en_gb")) { function string_plural_select_en_gb($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["\"pageheader\" Settings"] = "Pageheader settings"; diff --git a/pageheader/lang/es/strings.php b/pageheader/lang/es/strings.php index 254c0f6a..65efe2ba 100644 --- a/pageheader/lang/es/strings.php +++ b/pageheader/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["\"pageheader\" Settings"] = "Ajustes de \"pageheader\""; diff --git a/pageheader/lang/fi-fi/strings.php b/pageheader/lang/fi-fi/strings.php index cef521e2..48b75df0 100644 --- a/pageheader/lang/fi-fi/strings.php +++ b/pageheader/lang/fi-fi/strings.php @@ -2,11 +2,11 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["\"pageheader\" Settings"] = "\"pageheader\" -asetukset"; $a->strings["Message"] = "Viesti"; -$a->strings["Message to display on every page on this server (or put a pageheader.html file in your docroot)"] = ""; $a->strings["Save Settings"] = "Tallenna asetukset"; $a->strings["pageheader Settings saved."] = "pageheader -asetukset tallennettu."; diff --git a/pageheader/lang/fr/strings.php b/pageheader/lang/fr/strings.php index 01d90072..122c833b 100644 --- a/pageheader/lang/fr/strings.php +++ b/pageheader/lang/fr/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_fr")) { function string_plural_select_fr($n){ $n = intval($n); - return ($n > 1);; + return intval($n > 1); }} ; $a->strings["\"pageheader\" Settings"] = "Paramètres de la page d'en-tête"; diff --git a/pageheader/lang/it/strings.php b/pageheader/lang/it/strings.php index e81ef80d..c743cd1d 100644 --- a/pageheader/lang/it/strings.php +++ b/pageheader/lang/it/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["\"pageheader\" Settings"] = "Impostazioni \"Intestazione pagina\""; diff --git a/pageheader/lang/nl/strings.php b/pageheader/lang/nl/strings.php index 3d6e2df7..b0576d9c 100644 --- a/pageheader/lang/nl/strings.php +++ b/pageheader/lang/nl/strings.php @@ -3,11 +3,9 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["\"pageheader\" Settings"] = "\"pageheader\" instellingen"; -$a->strings["Message"] = ""; -$a->strings["Message to display on every page on this server (or put a pageheader.html file in your docroot)"] = ""; $a->strings["Save Settings"] = "Instellingen opslaan"; $a->strings["pageheader Settings saved."] = "Pageheader instellingen opgeslagen."; diff --git a/pageheader/lang/pl/strings.php b/pageheader/lang/pl/strings.php index db2737b2..7b283804 100644 --- a/pageheader/lang/pl/strings.php +++ b/pageheader/lang/pl/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + $n = intval($n); + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["\"pageheader\" Settings"] = "Ustawienia \"nagłówek strony\""; diff --git a/pageheader/lang/ro/strings.php b/pageheader/lang/ro/strings.php index cdcce616..97c55e43 100644 --- a/pageheader/lang/ro/strings.php +++ b/pageheader/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["\"pageheader\" Settings"] = "Configurări \"Pageheader\""; diff --git a/pageheader/lang/ru/strings.php b/pageheader/lang/ru/strings.php index 39e28e21..a3dfd070 100644 --- a/pageheader/lang/ru/strings.php +++ b/pageheader/lang/ru/strings.php @@ -3,10 +3,9 @@ if(! function_exists("string_plural_select_ru")) { function string_plural_select_ru($n){ $n = intval($n); - return ($n%10==1 && $n%100!=11 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14) ? 1 : $n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)? 2 : 3);; + if ($n%10==1 && $n%100!=11) { return 0; } else if ($n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14)) { return 1; } else if ($n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)) { return 2; } else { return 3; } }} ; -$a->strings["\"pageheader\" Settings"] = ""; $a->strings["Message"] = "Сообщение"; $a->strings["Message to display on every page on this server (or put a pageheader.html file in your docroot)"] = "Сообщение для отображения на каждой странице этого сервера (или поместите файл pageheader.html в корневую папку веб-сервера)"; $a->strings["Save Settings"] = "Сохранить настройки"; diff --git a/piwik/lang/cs/strings.php b/piwik/lang/cs/strings.php index 6c46466d..d987ce21 100644 --- a/piwik/lang/cs/strings.php +++ b/piwik/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["This website is tracked using the Matomo analytics tool."] = "Tato webová stránka je sledována pomocí nástroje pro analýzu Matomo."; diff --git a/piwik/lang/de/strings.php b/piwik/lang/de/strings.php index 32e2e6cf..212ecb1b 100644 --- a/piwik/lang/de/strings.php +++ b/piwik/lang/de/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["This website is tracked using the Matomo analytics tool."] = "Diese Website benutzt Matomo, eine Open Source-Software zur statistischen Auswertung der Besucherzugriffe."; diff --git a/piwik/lang/en-gb/strings.php b/piwik/lang/en-gb/strings.php index 667d9218..4d698f94 100644 --- a/piwik/lang/en-gb/strings.php +++ b/piwik/lang/en-gb/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_en_gb")) { function string_plural_select_en_gb($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["This website is tracked using the Matomo analytics tool."] = "This website is tracking, using the Matomo analytics tool."; diff --git a/piwik/lang/es/strings.php b/piwik/lang/es/strings.php index 96a61a4a..dcbebfb2 100644 --- a/piwik/lang/es/strings.php +++ b/piwik/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["This website is tracked using the Piwik analytics tool."] = "Esta página es rastreada usando la herramienta analítica Piwik."; diff --git a/piwik/lang/fi-fi/strings.php b/piwik/lang/fi-fi/strings.php index 8e5278c3..27262e20 100644 --- a/piwik/lang/fi-fi/strings.php +++ b/piwik/lang/fi-fi/strings.php @@ -2,15 +2,10 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; -$a->strings["This website is tracked using the Piwik analytics tool."] = ""; -$a->strings["If you do not want that your visits are logged in this way you can set a cookie to prevent Piwik from tracking further visits of the site (opt-out)."] = ""; $a->strings["Save Settings"] = "Tallenna asetukset"; -$a->strings["Piwik Base URL"] = ""; -$a->strings["Absolute path to your Piwik installation. (without protocol (http/s), with trailing slash)"] = ""; -$a->strings["Site ID"] = ""; -$a->strings["Show opt-out cookie link?"] = ""; $a->strings["Asynchronous tracking"] = "Asynkroninen seuranta"; $a->strings["Settings updated."] = "Asetukset päivitetty."; diff --git a/piwik/lang/fr/strings.php b/piwik/lang/fr/strings.php index a62c77ea..6e249838 100644 --- a/piwik/lang/fr/strings.php +++ b/piwik/lang/fr/strings.php @@ -2,14 +2,13 @@ if(! function_exists("string_plural_select_fr")) { function string_plural_select_fr($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; $a->strings["This website is tracked using the Piwik analytics tool."] = "Ce site web utilise Piwik en tant qu'outil d'analyses."; -$a->strings["If you do not want that your visits are logged in this way you can set a cookie to prevent Piwik from tracking further visits of the site (opt-out)."] = ""; $a->strings["Save Settings"] = "Sauvegarder les paramètres"; $a->strings["Piwik Base URL"] = "URL de base de Piwik"; -$a->strings["Absolute path to your Piwik installation. (without protocol (http/s), with trailing slash)"] = ""; $a->strings["Site ID"] = "ID du site"; $a->strings["Show opt-out cookie link?"] = "Montrer le lien d'opt-out pour les cookies ?"; $a->strings["Asynchronous tracking"] = "Suivi asynchrone"; diff --git a/piwik/lang/it/strings.php b/piwik/lang/it/strings.php index e523a69d..94395d70 100644 --- a/piwik/lang/it/strings.php +++ b/piwik/lang/it/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["This website is tracked using the Matomo analytics tool."] = "Questo sito è monitorato con lo strumento di analisi Matomo."; diff --git a/piwik/lang/nl/strings.php b/piwik/lang/nl/strings.php index c0a7cecc..3122d040 100644 --- a/piwik/lang/nl/strings.php +++ b/piwik/lang/nl/strings.php @@ -3,15 +3,9 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["This website is tracked using the Piwik analytics tool."] = "Deze website word gevolgd door Piwik analytics"; -$a->strings["If you do not want that your visits are logged in this way you can set a cookie to prevent Piwik from tracking further visits of the site (opt-out)."] = ""; $a->strings["Save Settings"] = "Instellingen opslaan"; -$a->strings["Piwik Base URL"] = ""; -$a->strings["Absolute path to your Piwik installation. (without protocol (http/s), with trailing slash)"] = ""; -$a->strings["Site ID"] = ""; -$a->strings["Show opt-out cookie link?"] = ""; -$a->strings["Asynchronous tracking"] = ""; $a->strings["Settings updated."] = "Instellingen opgeslagen"; diff --git a/piwik/lang/pl/strings.php b/piwik/lang/pl/strings.php index 0a05fc1c..b8e918b2 100644 --- a/piwik/lang/pl/strings.php +++ b/piwik/lang/pl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ $n = intval($n); - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["This website is tracked using the Matomo analytics tool."] = "Ta strona internetowa jest śledzona za pomocą narzędzia analitycznego Matomo."; diff --git a/piwik/lang/ro/strings.php b/piwik/lang/ro/strings.php index 7b3f04b1..0b9f4580 100644 --- a/piwik/lang/ro/strings.php +++ b/piwik/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["This website is tracked using the Piwik analytics tool."] = "Acest site web este contorizat folosind instrumentul analitic Piwik."; diff --git a/piwik/lang/zh-cn/strings.php b/piwik/lang/zh-cn/strings.php index ad99b364..544703dc 100644 --- a/piwik/lang/zh-cn/strings.php +++ b/piwik/lang/zh-cn/strings.php @@ -2,15 +2,11 @@ if(! function_exists("string_plural_select_zh_cn")) { function string_plural_select_zh_cn($n){ - return 0;; + $n = intval($n); + return intval(0); }} ; $a->strings["This website is tracked using the Piwik analytics tool."] = "此网站用 Piwik 追踪分析工具。"; -$a->strings["If you do not want that your visits are logged in this way you can set a cookie to prevent Piwik from tracking further visits of the site (opt-out)."] = ""; $a->strings["Save Settings"] = "保存设置"; -$a->strings["Piwik Base URL"] = ""; -$a->strings["Absolute path to your Piwik installation. (without protocol (http/s), with trailing slash)"] = ""; -$a->strings["Site ID"] = ""; -$a->strings["Show opt-out cookie link?"] = ""; $a->strings["Asynchronous tracking"] = "异步追踪"; $a->strings["Settings updated."] = "设置已更新。"; diff --git a/planets/lang/cs/strings.php b/planets/lang/cs/strings.php index d0b883d2..c63b3112 100644 --- a/planets/lang/cs/strings.php +++ b/planets/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["Planets Settings"] = "Nastavení Planets"; diff --git a/planets/lang/de/strings.php b/planets/lang/de/strings.php index 653d025b..3104631a 100644 --- a/planets/lang/de/strings.php +++ b/planets/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Planets Settings"] = "Planeten Einstellungen"; diff --git a/planets/lang/es/strings.php b/planets/lang/es/strings.php index 2fd5ed90..bf83956b 100644 --- a/planets/lang/es/strings.php +++ b/planets/lang/es/strings.php @@ -2,9 +2,10 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Planets Settings"] = "Ajustes de Planets"; -$a->strings["Enable Planets Addon"] = "Habilite el addon Planets"; +$a->strings["Enable Planets Addon"] = "Habilite eladdonPlanets"; $a->strings["Submit"] = "Enviar"; diff --git a/planets/lang/fi-fi/strings.php b/planets/lang/fi-fi/strings.php index c33c09ee..572283f7 100644 --- a/planets/lang/fi-fi/strings.php +++ b/planets/lang/fi-fi/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Planets Settings"] = "Planets -asetukset"; diff --git a/planets/lang/it/strings.php b/planets/lang/it/strings.php index 1b5aaa91..87136528 100644 --- a/planets/lang/it/strings.php +++ b/planets/lang/it/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Planets Settings"] = "Impostazioni \"Pianeti\""; diff --git a/planets/lang/nl/strings.php b/planets/lang/nl/strings.php index 0c681407..7651f195 100644 --- a/planets/lang/nl/strings.php +++ b/planets/lang/nl/strings.php @@ -3,9 +3,8 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Planets Settings"] = "Planets instellingen"; $a->strings["Enable Planets Addon"] = "Planets Addon inschakelen"; -$a->strings["Submit"] = ""; diff --git a/planets/lang/pl/strings.php b/planets/lang/pl/strings.php index 61b08753..e9d7c3e6 100644 --- a/planets/lang/pl/strings.php +++ b/planets/lang/pl/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + $n = intval($n); + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Planets Settings"] = "Ustawienia Planet"; diff --git a/planets/lang/ro/strings.php b/planets/lang/ro/strings.php index 19a2e3de..cf237857 100644 --- a/planets/lang/ro/strings.php +++ b/planets/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["Planets Settings"] = "Configurări Planets"; diff --git a/public_server/lang/cs/strings.php b/public_server/lang/cs/strings.php index 0d6c5118..aab14c34 100644 --- a/public_server/lang/cs/strings.php +++ b/public_server/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["Administrator"] = "Administrátor"; diff --git a/public_server/lang/de/strings.php b/public_server/lang/de/strings.php index 09b3f2a1..f2fb0fd0 100644 --- a/public_server/lang/de/strings.php +++ b/public_server/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Administrator"] = "Administrator"; diff --git a/public_server/lang/es/strings.php b/public_server/lang/es/strings.php index fa1db55a..dc561073 100644 --- a/public_server/lang/es/strings.php +++ b/public_server/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Administrator"] = "Administrador"; diff --git a/public_server/lang/fi-fi/strings.php b/public_server/lang/fi-fi/strings.php index 2d81c883..9d26813f 100644 --- a/public_server/lang/fi-fi/strings.php +++ b/public_server/lang/fi-fi/strings.php @@ -3,10 +3,9 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Administrator"] = "Ylläpitäjä"; $a->strings["Your account on %s will expire in a few days."] = "%s -tilisi vanhenee muutaman päivän kuluttua."; $a->strings["Your Friendica account is about to expire."] = "Friendica-tilisi umpeutuu kohta."; -$a->strings["Hi %1\$s,\n\nYour account on %2\$s will expire in less than five days. You may keep your account by logging in at least once every 30 days"] = ""; diff --git a/public_server/lang/it/strings.php b/public_server/lang/it/strings.php index 9fa926d6..a20c4389 100644 --- a/public_server/lang/it/strings.php +++ b/public_server/lang/it/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Administrator"] = "Amministratore"; diff --git a/public_server/lang/nl/strings.php b/public_server/lang/nl/strings.php index e7ec4742..acfd9a18 100644 --- a/public_server/lang/nl/strings.php +++ b/public_server/lang/nl/strings.php @@ -3,10 +3,8 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Administrator"] = "Beheerder"; $a->strings["Your account on %s will expire in a few days."] = "Uw account op %s zal over enkele dagen vervallen"; -$a->strings["Your Friendica account is about to expire."] = ""; -$a->strings["Hi %1\$s,\n\nYour account on %2\$s will expire in less than five days. You may keep your account by logging in at least once every 30 days"] = ""; diff --git a/public_server/lang/pl/strings.php b/public_server/lang/pl/strings.php index 489f356f..86f60efe 100644 --- a/public_server/lang/pl/strings.php +++ b/public_server/lang/pl/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + $n = intval($n); + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Administrator"] = "Administrator"; diff --git a/public_server/lang/pt-br/strings.php b/public_server/lang/pt-br/strings.php index 86bd24ad..a51db42b 100644 --- a/public_server/lang/pt-br/strings.php +++ b/public_server/lang/pt-br/strings.php @@ -2,10 +2,10 @@ if(! function_exists("string_plural_select_pt_br")) { function string_plural_select_pt_br($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; -$a->strings["Administrator"] = ""; $a->strings["Your account on %s will expire in a few days."] = "Sua conta do %s vai expirar em alguns dias."; $a->strings["Your Friendica account is about to expire."] = "Sua conta no Friendica está prestes a expirar."; $a->strings["Hi %1\$s,\n\nYour account on %2\$s will expire in less than five days. You may keep your account by logging in at least once every 30 days"] = "Olá, %1\$s,\n\nSua conta no %2\$s vai expirar em menos de cinco dias. Para manter sua conta, lembre-se de entrar pelo menos uma vez a cada 30 dias."; diff --git a/public_server/lang/ro/strings.php b/public_server/lang/ro/strings.php index 3ab2356a..d90425c8 100644 --- a/public_server/lang/ro/strings.php +++ b/public_server/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["Administrator"] = "Administrator"; diff --git a/public_server/lang/zh-cn/strings.php b/public_server/lang/zh-cn/strings.php index f50a5834..62b2bd31 100644 --- a/public_server/lang/zh-cn/strings.php +++ b/public_server/lang/zh-cn/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_zh_cn")) { function string_plural_select_zh_cn($n){ $n = intval($n); - return 0;; + return intval(0); }} ; $a->strings["Administrator"] = "管理员"; diff --git a/pumpio/lang/cs/strings.php b/pumpio/lang/cs/strings.php index 1462bf5f..ee143241 100644 --- a/pumpio/lang/cs/strings.php +++ b/pumpio/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["Permission denied."] = "Přístup odmítnut."; diff --git a/pumpio/lang/de/strings.php b/pumpio/lang/de/strings.php index 4f2c8c88..15da3116 100644 --- a/pumpio/lang/de/strings.php +++ b/pumpio/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Permission denied."] = "Zugriff verweigert."; diff --git a/pumpio/lang/es/strings.php b/pumpio/lang/es/strings.php index df9630b2..b251a779 100644 --- a/pumpio/lang/es/strings.php +++ b/pumpio/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Permission denied."] = "Permiso denegado."; diff --git a/pumpio/lang/fi-fi/strings.php b/pumpio/lang/fi-fi/strings.php index cd409e19..baee12a8 100644 --- a/pumpio/lang/fi-fi/strings.php +++ b/pumpio/lang/fi-fi/strings.php @@ -3,26 +3,18 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Permission denied."] = "Lupa kielletty."; -$a->strings["Unable to register the client at the pump.io server '%s'."] = ""; -$a->strings["You are now authenticated to pumpio."] = ""; -$a->strings["return to the connector page"] = ""; $a->strings["Post to pumpio"] = "Lähetä pump.ioon"; -$a->strings["Pump.io Import/Export/Mirror"] = ""; $a->strings["pump.io username (without the servername)"] = "pump.io käyttäjätunnus (ilman palvelinnimeä)"; $a->strings["pump.io servername (without \"http://\" or \"https://\" )"] = "pump.io palvelinnimi (ilman \"http://\" tai \"https://\" )"; -$a->strings["Authenticate your pump.io connection"] = ""; $a->strings["Import the remote timeline"] = "Tuo etäaikajana"; $a->strings["Enable pump.io Post Addon"] = "Ota pump.io -viestilisäosa käyttöön"; $a->strings["Post to pump.io by default"] = "Lähetä pump.iohon oletuksena"; -$a->strings["Should posts be public?"] = ""; $a->strings["Mirror all public posts"] = "Peilaa kaikki julkiset julkaisut"; -$a->strings["Check to delete this preset"] = ""; $a->strings["Save Settings"] = "Tallenna asetukset"; $a->strings["Pump.io post failed. Queued for retry."] = "Pump.io -julkaisu epäonnistui. Jonossa uudelleenyritykseen."; $a->strings["Pump.io like failed. Queued for retry."] = "Pump.io -tykkäys epäonnistui. Jonossa uudelleenyritykseen."; $a->strings["status"] = "tila"; -$a->strings["%1\$s likes %2\$s's %3\$s"] = ""; diff --git a/pumpio/lang/fr/strings.php b/pumpio/lang/fr/strings.php index 3e69c272..0540808c 100644 --- a/pumpio/lang/fr/strings.php +++ b/pumpio/lang/fr/strings.php @@ -2,26 +2,17 @@ if(! function_exists("string_plural_select_fr")) { function string_plural_select_fr($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; $a->strings["Permission denied."] = "Permission refusée."; -$a->strings["Unable to register the client at the pump.io server '%s'."] = ""; $a->strings["You are now authenticated to pumpio."] = "Vous êtes maintenant authentifié sur pump.io."; $a->strings["return to the connector page"] = "Retourner à la page du connecteur"; $a->strings["Post to pumpio"] = "Publier sur pump.io"; -$a->strings["Pump.io Import/Export/Mirror"] = ""; $a->strings["pump.io username (without the servername)"] = "Nom d'utilisateur pump.io (sans le nom du serveur)"; -$a->strings["pump.io servername (without \"http://\" or \"https://\" )"] = ""; -$a->strings["Authenticate your pump.io connection"] = ""; $a->strings["Import the remote timeline"] = "Importer la timeline distante"; -$a->strings["Enable pump.io Post Addon"] = ""; $a->strings["Post to pump.io by default"] = "Publier sur pump.io par défaut"; $a->strings["Should posts be public?"] = "Les messages devraient être publiques ?"; -$a->strings["Mirror all public posts"] = ""; -$a->strings["Check to delete this preset"] = ""; $a->strings["Save Settings"] = "Sauvegarder les paramètres"; -$a->strings["Pump.io post failed. Queued for retry."] = ""; -$a->strings["Pump.io like failed. Queued for retry."] = ""; $a->strings["status"] = "statut"; -$a->strings["%1\$s likes %2\$s's %3\$s"] = ""; diff --git a/pumpio/lang/it/strings.php b/pumpio/lang/it/strings.php index 86b7ed29..1948862b 100644 --- a/pumpio/lang/it/strings.php +++ b/pumpio/lang/it/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Permission denied."] = "Permesso negato."; diff --git a/pumpio/lang/nl/strings.php b/pumpio/lang/nl/strings.php index 61297c4f..1e50700b 100644 --- a/pumpio/lang/nl/strings.php +++ b/pumpio/lang/nl/strings.php @@ -3,26 +3,12 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Permission denied."] = "Toegang geweigerd."; $a->strings["Unable to register the client at the pump.io server '%s'."] = "Niet mogelijk om uw client te registreren op pump.io server '%s'"; -$a->strings["You are now authenticated to pumpio."] = ""; -$a->strings["return to the connector page"] = ""; -$a->strings["Post to pumpio"] = ""; $a->strings["Pump.io Import/Export/Mirror"] = "Pump.io Import/Exporteren/Spiegelen"; -$a->strings["pump.io username (without the servername)"] = ""; -$a->strings["pump.io servername (without \"http://\" or \"https://\" )"] = ""; -$a->strings["Authenticate your pump.io connection"] = ""; -$a->strings["Import the remote timeline"] = ""; $a->strings["Enable pump.io Post Addon"] = "Pump.io Post Addon inschakelen"; $a->strings["Post to pump.io by default"] = "Plaatsen op pump.io als standaard instellen "; -$a->strings["Should posts be public?"] = ""; -$a->strings["Mirror all public posts"] = ""; -$a->strings["Check to delete this preset"] = ""; $a->strings["Save Settings"] = "Instellingen opslaan"; -$a->strings["Pump.io post failed. Queued for retry."] = ""; -$a->strings["Pump.io like failed. Queued for retry."] = ""; -$a->strings["status"] = ""; -$a->strings["%1\$s likes %2\$s's %3\$s"] = ""; diff --git a/pumpio/lang/pl/strings.php b/pumpio/lang/pl/strings.php index a7868f06..0cb696d2 100644 --- a/pumpio/lang/pl/strings.php +++ b/pumpio/lang/pl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ $n = intval($n); - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Permission denied."] = "Odmowa dostępu."; diff --git a/pumpio/lang/pt-br/strings.php b/pumpio/lang/pt-br/strings.php index e93516b4..b9ab2d76 100644 --- a/pumpio/lang/pt-br/strings.php +++ b/pumpio/lang/pt-br/strings.php @@ -2,26 +2,19 @@ if(! function_exists("string_plural_select_pt_br")) { function string_plural_select_pt_br($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; $a->strings["Permission denied."] = "Permissão negada."; -$a->strings["Unable to register the client at the pump.io server '%s'."] = ""; $a->strings["You are now authenticated to pumpio."] = "Você se autenticou no Pump.io."; $a->strings["return to the connector page"] = "voltar à página de conectores"; $a->strings["Post to pumpio"] = "Publicar no Pump.io"; -$a->strings["Pump.io Import/Export/Mirror"] = ""; $a->strings["pump.io username (without the servername)"] = "Nome de usuário no pump.io (sem o nome do servidor)"; -$a->strings["pump.io servername (without \"http://\" or \"https://\" )"] = ""; -$a->strings["Authenticate your pump.io connection"] = ""; $a->strings["Import the remote timeline"] = "Importar a linha do tempo remota"; $a->strings["Enable pump.io Post Addon"] = "Habilitar plug-in para publicar no Pump.io"; $a->strings["Post to pump.io by default"] = "Publicar no Pump.io por padrão"; -$a->strings["Should posts be public?"] = ""; -$a->strings["Mirror all public posts"] = ""; -$a->strings["Check to delete this preset"] = ""; $a->strings["Save Settings"] = "Salvar Configurações"; $a->strings["Pump.io post failed. Queued for retry."] = "Falha ao publicar no Pump.io. Na fila para tentar novamente."; $a->strings["Pump.io like failed. Queued for retry."] = "Falha ao curtir no Pump.io. Na fila para tentar novamente."; -$a->strings["status"] = ""; $a->strings["%1\$s likes %2\$s's %3\$s"] = "%1\$s curtiu o %3\$s de %2\$s"; diff --git a/pumpio/lang/ro/strings.php b/pumpio/lang/ro/strings.php index b0ee9a25..22e4b882 100644 --- a/pumpio/lang/ro/strings.php +++ b/pumpio/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["Permission denied."] = "Permisiune refuzată."; diff --git a/qcomment/lang/cs/strings.php b/qcomment/lang/cs/strings.php index b37a8d2b..ffc3ac4c 100644 --- a/qcomment/lang/cs/strings.php +++ b/qcomment/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings[":-)"] = ":-)"; diff --git a/qcomment/lang/de/strings.php b/qcomment/lang/de/strings.php index 09356851..3fa229cf 100644 --- a/qcomment/lang/de/strings.php +++ b/qcomment/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings[":-)"] = ":-)"; diff --git a/qcomment/lang/es/strings.php b/qcomment/lang/es/strings.php index ce1e3bf1..71df6bcc 100644 --- a/qcomment/lang/es/strings.php +++ b/qcomment/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings[":-)"] = ":-)"; diff --git a/qcomment/lang/fi-fi/strings.php b/qcomment/lang/fi-fi/strings.php index 99c218b0..c0565acf 100644 --- a/qcomment/lang/fi-fi/strings.php +++ b/qcomment/lang/fi-fi/strings.php @@ -2,14 +2,14 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings[":-)"] = ":-)"; $a->strings[":-("] = ":-("; $a->strings["lol"] = "lol"; $a->strings["Quick Comment Settings"] = "Quick Comment -asetukset"; -$a->strings["Quick comments are found near comment boxes, sometimes hidden. Click them to provide simple replies."] = ""; $a->strings["Enter quick comments, one per line"] = "Syötä kommentit, yksi riviä kohden:"; $a->strings["Submit"] = "Lähetä"; $a->strings["Quick Comment settings saved."] = "Quick Comment -asetukset tallennettu."; diff --git a/qcomment/lang/it/strings.php b/qcomment/lang/it/strings.php index 059cb098..07843d44 100644 --- a/qcomment/lang/it/strings.php +++ b/qcomment/lang/it/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings[":-)"] = ":-)"; diff --git a/qcomment/lang/nl/strings.php b/qcomment/lang/nl/strings.php index 647aae18..4582a082 100644 --- a/qcomment/lang/nl/strings.php +++ b/qcomment/lang/nl/strings.php @@ -3,14 +3,10 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings[":-)"] = ":-)"; $a->strings[":-("] = ":-("; -$a->strings["lol"] = ""; $a->strings["Quick Comment Settings"] = "Snelle reactie instellingen"; -$a->strings["Quick comments are found near comment boxes, sometimes hidden. Click them to provide simple replies."] = ""; -$a->strings["Enter quick comments, one per line"] = ""; -$a->strings["Submit"] = ""; $a->strings["Quick Comment settings saved."] = "Snelle Reactie instellingen opgeslagen"; diff --git a/qcomment/lang/pl/strings.php b/qcomment/lang/pl/strings.php index 20742b16..377e7df6 100644 --- a/qcomment/lang/pl/strings.php +++ b/qcomment/lang/pl/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + $n = intval($n); + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings[":-)"] = ":-)"; @@ -10,6 +11,5 @@ $a->strings[":-("] = ":-("; $a->strings["lol"] = "lol"; $a->strings["Quick Comment Settings"] = "Ustawienia szybkiego komentowania"; $a->strings["Quick comments are found near comment boxes, sometimes hidden. Click them to provide simple replies."] = "Szybkie komentarze znajdują się w pobliżu pól komentarza, czasami są ukryte. Kliknij je, aby zapewnić proste odpowiedzi."; -$a->strings["Enter quick comments, one per line"] = ""; $a->strings["Submit"] = "Wyślij"; $a->strings["Quick Comment settings saved."] = "Zapisano szybkie ustawienia komentarzy."; diff --git a/qcomment/lang/pt-br/strings.php b/qcomment/lang/pt-br/strings.php index 87f7a76e..72bf63b0 100644 --- a/qcomment/lang/pt-br/strings.php +++ b/qcomment/lang/pt-br/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pt_br")) { function string_plural_select_pt_br($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; $a->strings[":-)"] = ":-)"; diff --git a/qcomment/lang/ro/strings.php b/qcomment/lang/ro/strings.php index 65b9a5d4..1ad8018f 100644 --- a/qcomment/lang/ro/strings.php +++ b/qcomment/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings[":-)"] = ":-)"; diff --git a/qcomment/lang/ru/strings.php b/qcomment/lang/ru/strings.php index 5bc45e55..262250fa 100644 --- a/qcomment/lang/ru/strings.php +++ b/qcomment/lang/ru/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ru")) { function string_plural_select_ru($n){ $n = intval($n); - return ($n%10==1 && $n%100!=11 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14) ? 1 : $n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)? 2 : 3);; + if ($n%10==1 && $n%100!=11) { return 0; } else if ($n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14)) { return 1; } else if ($n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings[":-)"] = ":-)"; diff --git a/randplace/lang/cs/strings.php b/randplace/lang/cs/strings.php index 1095d55f..cc9768b3 100644 --- a/randplace/lang/cs/strings.php +++ b/randplace/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["Randplace Settings"] = "Randplace Nastavení"; diff --git a/randplace/lang/de/strings.php b/randplace/lang/de/strings.php index 5a5b69f3..63ca2ef6 100644 --- a/randplace/lang/de/strings.php +++ b/randplace/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Randplace Settings"] = "Randplace-Einstellungen"; diff --git a/randplace/lang/es/strings.php b/randplace/lang/es/strings.php index b196c6b8..bca4bca5 100644 --- a/randplace/lang/es/strings.php +++ b/randplace/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Randplace Settings"] = "Ajustes de Randplace"; diff --git a/randplace/lang/fi-fi/strings.php b/randplace/lang/fi-fi/strings.php index 188f9915..6f96f0d9 100644 --- a/randplace/lang/fi-fi/strings.php +++ b/randplace/lang/fi-fi/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Randplace Settings"] = "Randplace -asetukset"; diff --git a/randplace/lang/it/strings.php b/randplace/lang/it/strings.php index 1a26d777..1a38cd29 100644 --- a/randplace/lang/it/strings.php +++ b/randplace/lang/it/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Randplace Settings"] = "Impostazioni \"Posizione casuale\""; diff --git a/randplace/lang/nl/strings.php b/randplace/lang/nl/strings.php index 392e25b8..f0b1e68d 100644 --- a/randplace/lang/nl/strings.php +++ b/randplace/lang/nl/strings.php @@ -3,9 +3,8 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Randplace Settings"] = "Randplace instellingen"; $a->strings["Enable Randplace Addon"] = "Randplace Addon inschakelen"; -$a->strings["Submit"] = ""; diff --git a/randplace/lang/pl/strings.php b/randplace/lang/pl/strings.php index 582d0a10..fb3ae809 100644 --- a/randplace/lang/pl/strings.php +++ b/randplace/lang/pl/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + $n = intval($n); + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Randplace Settings"] = "Ustawienia Randplace"; diff --git a/randplace/lang/ro/strings.php b/randplace/lang/ro/strings.php index 81607079..2ee58b6b 100644 --- a/randplace/lang/ro/strings.php +++ b/randplace/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["Randplace Settings"] = "Configurări Randplace"; diff --git a/randplace/lang/zh-cn/strings.php b/randplace/lang/zh-cn/strings.php index 1a756fc4..0ba637f8 100644 --- a/randplace/lang/zh-cn/strings.php +++ b/randplace/lang/zh-cn/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_zh_cn")) { function string_plural_select_zh_cn($n){ $n = intval($n); - return 0;; + return intval(0); }} ; $a->strings["Randplace Settings"] = "随机站点设置"; diff --git a/remote_permissions/lang/cs/strings.php b/remote_permissions/lang/cs/strings.php index 5ca17b28..978873da 100644 --- a/remote_permissions/lang/cs/strings.php +++ b/remote_permissions/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["Remote Permissions Settings"] = "Nastavení Vzdálených oprávnění"; diff --git a/remote_permissions/lang/de/strings.php b/remote_permissions/lang/de/strings.php index 141dd6ce..6b054e9f 100644 --- a/remote_permissions/lang/de/strings.php +++ b/remote_permissions/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Remote Permissions Settings"] = "Entfernte Privatsphäreneinstellungen"; diff --git a/remote_permissions/lang/es/strings.php b/remote_permissions/lang/es/strings.php index 6a3d42f0..1168b107 100644 --- a/remote_permissions/lang/es/strings.php +++ b/remote_permissions/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Remote Permissions Settings"] = "Ajustes de Permisos Remotos"; diff --git a/remote_permissions/lang/fi-fi/strings.php b/remote_permissions/lang/fi-fi/strings.php index 05f18162..1bafb773 100644 --- a/remote_permissions/lang/fi-fi/strings.php +++ b/remote_permissions/lang/fi-fi/strings.php @@ -2,18 +2,12 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Remote Permissions Settings"] = "Remote Permissions -asetukset"; -$a->strings["Allow recipients of your private posts to see the other recipients of the posts"] = ""; $a->strings["Submit"] = "Lähetä"; $a->strings["Remote Permissions settings updated."] = "Remote Pemissions -asetukset päivitetty."; $a->strings["Visible to:"] = "Näkyvyys:"; -$a->strings["Visible to"] = ""; -$a->strings["may only be a partial list"] = ""; -$a->strings["Global"] = ""; -$a->strings["The posts of every user on this server show the post recipients"] = ""; -$a->strings["Individual"] = ""; -$a->strings["Each user chooses whether his/her posts show the post recipients"] = ""; $a->strings["Settings updated."] = "Asetukset päivitetty."; diff --git a/remote_permissions/lang/it/strings.php b/remote_permissions/lang/it/strings.php index a872e779..a7f64c4a 100644 --- a/remote_permissions/lang/it/strings.php +++ b/remote_permissions/lang/it/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Remote Permissions Settings"] = "Impostazioni Permissi Remoti"; diff --git a/remote_permissions/lang/nl/strings.php b/remote_permissions/lang/nl/strings.php index cb29d66e..2cb76c0d 100644 --- a/remote_permissions/lang/nl/strings.php +++ b/remote_permissions/lang/nl/strings.php @@ -3,18 +3,10 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Remote Permissions Settings"] = "Instellingen voor toegang op afstand"; $a->strings["Allow recipients of your private posts to see the other recipients of the posts"] = "Ontvangers van private berichten toestaan andere ontvangers te bekijken"; -$a->strings["Submit"] = ""; $a->strings["Remote Permissions settings updated."] = "Toegang op afstand instellingen opgeslagen"; -$a->strings["Visible to:"] = ""; -$a->strings["Visible to"] = ""; -$a->strings["may only be a partial list"] = ""; -$a->strings["Global"] = ""; -$a->strings["The posts of every user on this server show the post recipients"] = ""; -$a->strings["Individual"] = ""; -$a->strings["Each user chooses whether his/her posts show the post recipients"] = ""; $a->strings["Settings updated."] = "Instellingen opgeslagen"; diff --git a/remote_permissions/lang/pl/strings.php b/remote_permissions/lang/pl/strings.php index 7af64153..cd18169e 100644 --- a/remote_permissions/lang/pl/strings.php +++ b/remote_permissions/lang/pl/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + $n = intval($n); + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Remote Permissions Settings"] = "Ustawienia uprawnień zdalnych"; diff --git a/remote_permissions/lang/ro/strings.php b/remote_permissions/lang/ro/strings.php index 9a68662a..bb5ac0e4 100644 --- a/remote_permissions/lang/ro/strings.php +++ b/remote_permissions/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["Remote Permissions Settings"] = "Configurări Permisiuni la Distanță"; diff --git a/rendertime/lang/cs/strings.php b/rendertime/lang/cs/strings.php index 151316c1..9b45e439 100644 --- a/rendertime/lang/cs/strings.php +++ b/rendertime/lang/cs/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ - return ($n==1) ? 0 : ($n>=2 && $n<=4) ? 1 : 2;; + $n = intval($n); + if (($n==1)) { return 0; } else if (($n>=2 && $n<=4)) { return 1; } else { return 2; } }} ; $a->strings["Performance: Database: %s, Network: %s, Rendering: %s, Parser: %s, I/O: %s, Other: %s, Total: %s"] = "Výkonnost: Databáze: %s, Síť: %s, Rendering: %s, Parser: %s, I/O: %s, Ostatní: %s, Celkem: %s"; diff --git a/rendertime/lang/de/strings.php b/rendertime/lang/de/strings.php index f591a702..68c13420 100644 --- a/rendertime/lang/de/strings.php +++ b/rendertime/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Performance: Database: %s, Network: %s, Rendering: %s, Parser: %s, I/O: %s, Other: %s, Total: %s"] = "Performance: Datenbank: %s, Netzwerk: %s, Rendering: %s, Parser: %s, I/O: %s, Anderes: %s, Gesamt: %s"; diff --git a/rendertime/lang/es/strings.php b/rendertime/lang/es/strings.php index 1cd57a0b..0efb7ba9 100644 --- a/rendertime/lang/es/strings.php +++ b/rendertime/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Performance: Database: %s, Network: %s, Rendering: %s, Parser: %s, I/O: %s, Other: %s, Total: %s"] = "Cumplimiento: Base de datos: %s, Red: %s, Renderizado: %s, Analizador: %s, I/O: %s, Otro: %s, Total: %s"; diff --git a/rendertime/lang/fi-fi/strings.php b/rendertime/lang/fi-fi/strings.php index 47c2a91b..b6394158 100644 --- a/rendertime/lang/fi-fi/strings.php +++ b/rendertime/lang/fi-fi/strings.php @@ -2,7 +2,7 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; -$a->strings["Performance: Database: %s, Network: %s, Rendering: %s, Parser: %s, I/O: %s, Other: %s, Total: %s"] = ""; diff --git a/rendertime/lang/fr/strings.php b/rendertime/lang/fr/strings.php index b806c8f3..f8ecf19c 100644 --- a/rendertime/lang/fr/strings.php +++ b/rendertime/lang/fr/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_fr")) { function string_plural_select_fr($n){ - return ($n > 1);; + $n = intval($n); + return intval($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"; diff --git a/rendertime/lang/it/strings.php b/rendertime/lang/it/strings.php index ad0c22d4..1b1987ec 100644 --- a/rendertime/lang/it/strings.php +++ b/rendertime/lang/it/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Performance: Database: %s, Network: %s, Rendering: %s, Parser: %s, I/O: %s, Other: %s, Total: %s"] = "Performance: Database: %s, Network: %s, Rendering: %s, Parser: %s, I/O: %s, Other: %s, Total: %s"; diff --git a/rendertime/lang/nl/strings.php b/rendertime/lang/nl/strings.php index 55e9f35f..36200568 100644 --- a/rendertime/lang/nl/strings.php +++ b/rendertime/lang/nl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Performance: Database: %s, Network: %s, Rendering: %s, Parser: %s, I/O: %s, Other: %s, Total: %s"] = "Prestaties: Database: %s, Netwerk: %s, Weergave: %s, Verwerken: %s, Input/Output: %s, Andere: %s, Totaal: %s"; diff --git a/rendertime/lang/pl/strings.php b/rendertime/lang/pl/strings.php index fed1242e..4f96e463 100644 --- a/rendertime/lang/pl/strings.php +++ b/rendertime/lang/pl/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + $n = intval($n); + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Performance: Database: %s, Network: %s, Rendering: %s, Parser: %s, I/O: %s, Other: %s, Total: %s"] = "Wydajność: Baza danych: %s, Sieć: %s, Renderowanie: %s, Analizator składni: %s, I/O: %s, Inne: %s, Razem: %s"; diff --git a/rendertime/lang/ro/strings.php b/rendertime/lang/ro/strings.php index 2d3fd76a..6088e92a 100644 --- a/rendertime/lang/ro/strings.php +++ b/rendertime/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["Performance: Database: %s, Network: %s, Rendering: %s, Parser: %s, I/O: %s, Other: %s, Total: %s"] = "Performantă: Baza de Date: %s, Rețea: %s, Procesare: %s, Analizator: %s, I/O: %s Altele: %s, Total: %s"; diff --git a/rendertime/lang/zh-cn/strings.php b/rendertime/lang/zh-cn/strings.php index 639560cb..2b47f701 100644 --- a/rendertime/lang/zh-cn/strings.php +++ b/rendertime/lang/zh-cn/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_zh_cn")) { function string_plural_select_zh_cn($n){ $n = intval($n); - return 0;; + return intval(0); }} ; $a->strings["Performance: Database: %s, Network: %s, Rendering: %s, Parser: %s, I/O: %s, Other: %s, Total: %s"] = "性能:数据库:%s ,网络:%s ,渲染:%s ,分析器:%s ,I/O:%s ,其他:%s ,总计:%s"; diff --git a/securemail/lang/cs/strings.php b/securemail/lang/cs/strings.php index 36d7313d..992c8321 100644 --- a/securemail/lang/cs/strings.php +++ b/securemail/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["\"Secure Mail\" Settings"] = "Nastavení \"Secure Mail\""; diff --git a/securemail/lang/de/strings.php b/securemail/lang/de/strings.php index 65767eff..0a315d48 100644 --- a/securemail/lang/de/strings.php +++ b/securemail/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["\"Secure Mail\" Settings"] = "\"Secure Mail\" Einstellungen"; diff --git a/securemail/lang/et/strings.php b/securemail/lang/et/strings.php index d2547c40..964897cd 100644 --- a/securemail/lang/et/strings.php +++ b/securemail/lang/et/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_et")) { function string_plural_select_et($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["\"Secure Mail\" Settings"] = "\"Turvaline Meil\" sätted"; @@ -11,7 +11,6 @@ $a->strings["Save Settings"] = "Salvesta sätted"; $a->strings["Save and send test"] = "Salvesta ja saada testmeil"; $a->strings["Enable Secure Mail"] = "Aktiveeri Turvaline meil"; $a->strings["Public key"] = "Avalik võti"; -$a->strings["Your public PGP key, ascii armored format"] = ""; $a->strings["Secure Mail Settings saved."] = "Turvalise Meili sätted salvestatud."; $a->strings["Test email sent"] = "Testmeil saadetud"; $a->strings["There was an error sending the test email"] = "Testmeili saatmisel ilmnes viga"; diff --git a/securemail/lang/fi-fi/strings.php b/securemail/lang/fi-fi/strings.php index 182cb173..d7e3e4fb 100644 --- a/securemail/lang/fi-fi/strings.php +++ b/securemail/lang/fi-fi/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["\"Secure Mail\" Settings"] = "Secure Mail -asetukset"; @@ -10,7 +11,6 @@ $a->strings["Save Settings"] = "Tallenna asetukset"; $a->strings["Save and send test"] = "Tallenna ja lähetä koeviesti"; $a->strings["Enable Secure Mail"] = "Ota Secure Mail käyttöön"; $a->strings["Public key"] = "Julkinen avain"; -$a->strings["Your public PGP key, ascii armored format"] = ""; $a->strings["Secure Mail Settings saved."] = "Secure Mail -asetukset tallennettu."; $a->strings["Test email sent"] = "Koeviesti lähetetty"; $a->strings["There was an error sending the test email"] = "Testisähköpostin lähetyksessä tapahtui virhe"; diff --git a/securemail/lang/it/strings.php b/securemail/lang/it/strings.php index 2435bfba..2536894b 100644 --- a/securemail/lang/it/strings.php +++ b/securemail/lang/it/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["\"Secure Mail\" Settings"] = "Impostazioni Secure Mail"; diff --git a/securemail/lang/nl/strings.php b/securemail/lang/nl/strings.php index 6ba0a76f..a56afeec 100644 --- a/securemail/lang/nl/strings.php +++ b/securemail/lang/nl/strings.php @@ -3,15 +3,10 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["\"Secure Mail\" Settings"] = "\"Secure Mail\" instellingen"; $a->strings["Save Settings"] = "Instellingen opslaan"; -$a->strings["Save and send test"] = ""; $a->strings["Enable Secure Mail"] = "Secure Mail inschakelen"; -$a->strings["Public key"] = ""; -$a->strings["Your public PGP key, ascii armored format"] = ""; $a->strings["Secure Mail Settings saved."] = "Secure Mail instellingen opgeslagen"; -$a->strings["Test email sent"] = ""; -$a->strings["There was an error sending the test email"] = ""; diff --git a/securemail/lang/pl/strings.php b/securemail/lang/pl/strings.php index 7b66d591..ea72b870 100644 --- a/securemail/lang/pl/strings.php +++ b/securemail/lang/pl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ $n = intval($n); - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["\"Secure Mail\" Settings"] = "Ustawienia \"Bezpieczna poczta\""; diff --git a/securemail/lang/zh-cn/strings.php b/securemail/lang/zh-cn/strings.php index 7e5d3b6d..71046389 100644 --- a/securemail/lang/zh-cn/strings.php +++ b/securemail/lang/zh-cn/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_zh_cn")) { function string_plural_select_zh_cn($n){ - return 0;; + $n = intval($n); + return intval(0); }} ; $a->strings["\"Secure Mail\" Settings"] = "“加密邮件”设置"; diff --git a/showmore/lang/cs/strings.php b/showmore/lang/cs/strings.php index 1b82b570..45b89630 100644 --- a/showmore/lang/cs/strings.php +++ b/showmore/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["\"Show more\" Settings"] = "Nastavení \"Show more\""; diff --git a/showmore/lang/de/strings.php b/showmore/lang/de/strings.php index f4df3488..f37131c0 100644 --- a/showmore/lang/de/strings.php +++ b/showmore/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["\"Show more\" Settings"] = "\"Mehr zeigen\" Einstellungen"; diff --git a/showmore/lang/en-gb/strings.php b/showmore/lang/en-gb/strings.php index 87f88ef5..c2c11174 100644 --- a/showmore/lang/en-gb/strings.php +++ b/showmore/lang/en-gb/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_en_gb")) { function string_plural_select_en_gb($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["\"Show more\" Settings"] = "Show More"; diff --git a/showmore/lang/es/strings.php b/showmore/lang/es/strings.php index 16ceaf56..ee001824 100644 --- a/showmore/lang/es/strings.php +++ b/showmore/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["\"Show more\" Settings"] = "Ajustes de \"Mostrar más\""; diff --git a/showmore/lang/et/strings.php b/showmore/lang/et/strings.php index 1b14dd96..c612865a 100644 --- a/showmore/lang/et/strings.php +++ b/showmore/lang/et/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_et")) { function string_plural_select_et($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["\"Show more\" Settings"] = "Näita rohkem sätteid"; diff --git a/showmore/lang/fi-fi/strings.php b/showmore/lang/fi-fi/strings.php index b6c771b8..5cb55768 100644 --- a/showmore/lang/fi-fi/strings.php +++ b/showmore/lang/fi-fi/strings.php @@ -2,12 +2,12 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["\"Show more\" Settings"] = "Show more -asetukset"; $a->strings["Enable Show More"] = "Ota Show More käyttöön"; -$a->strings["Cutting posts after how much characters"] = ""; $a->strings["Save Settings"] = "Tallenna asetukset"; $a->strings["Show More Settings saved."] = "Show More -asetukset tallennettu"; $a->strings["show more"] = "näytä lisää"; diff --git a/showmore/lang/it/strings.php b/showmore/lang/it/strings.php index c6ed91bf..4d709051 100644 --- a/showmore/lang/it/strings.php +++ b/showmore/lang/it/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["\"Show more\" Settings"] = "Impostazioni \"Mostra altro\""; diff --git a/showmore/lang/nl/strings.php b/showmore/lang/nl/strings.php index f65d2a0e..ed55863c 100644 --- a/showmore/lang/nl/strings.php +++ b/showmore/lang/nl/strings.php @@ -3,12 +3,10 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["\"Show more\" Settings"] = "\"Toon meer\" instellingen"; $a->strings["Enable Show More"] = "Toon meer inschakelen"; -$a->strings["Cutting posts after how much characters"] = ""; $a->strings["Save Settings"] = "Instellingen opslaan"; $a->strings["Show More Settings saved."] = "Toon meer instellingen opgeslagen."; -$a->strings["show more"] = ""; diff --git a/showmore/lang/pl/strings.php b/showmore/lang/pl/strings.php index eca7dd85..30bf34d7 100644 --- a/showmore/lang/pl/strings.php +++ b/showmore/lang/pl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ $n = intval($n); - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["\"Show more\" Settings"] = "Ustawienia \"Pokaż więcej\""; diff --git a/showmore/lang/pt-br/strings.php b/showmore/lang/pt-br/strings.php index 05f2b070..1203cbe9 100644 --- a/showmore/lang/pt-br/strings.php +++ b/showmore/lang/pt-br/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pt_br")) { function string_plural_select_pt_br($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; $a->strings["\"Show more\" Settings"] = "Configurações de \"Mostrar mais\""; diff --git a/showmore/lang/ro/strings.php b/showmore/lang/ro/strings.php index a7c11992..989cb501 100644 --- a/showmore/lang/ro/strings.php +++ b/showmore/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["\"Show more\" Settings"] = "Configurări \"Afișează mai mult\""; diff --git a/showmore/lang/ru/strings.php b/showmore/lang/ru/strings.php index a643b028..2ef98b18 100644 --- a/showmore/lang/ru/strings.php +++ b/showmore/lang/ru/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ru")) { function string_plural_select_ru($n){ $n = intval($n); - return ($n%10==1 && $n%100!=11 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14) ? 1 : $n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)? 2 : 3);; + if ($n%10==1 && $n%100!=11) { return 0; } else if ($n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14)) { return 1; } else if ($n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["\"Show more\" Settings"] = "Настройки \"показать ещё\""; diff --git a/showmore/lang/zh-cn/strings.php b/showmore/lang/zh-cn/strings.php index dc840894..ca2349e6 100644 --- a/showmore/lang/zh-cn/strings.php +++ b/showmore/lang/zh-cn/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_zh_cn")) { function string_plural_select_zh_cn($n){ $n = intval($n); - return 0;; + return intval(0); }} ; $a->strings["\"Show more\" Settings"] = "“显示更多”设置"; diff --git a/smiley_pack/lang/C/messages.po b/smiley_pack/lang/C/messages.po deleted file mode 100644 index e69de29b..00000000 diff --git a/smileybutton/lang/C/messages.po b/smileybutton/lang/C/messages.po deleted file mode 100644 index 7c32045e..00000000 --- a/smileybutton/lang/C/messages.po +++ /dev/null @@ -1,34 +0,0 @@ -# ADDON smileybutton -# Copyright (C) -# This file is distributed under the same license as the Friendica smileybutton addon package. -# -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: \n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-06-23 14:45+0200\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"Language: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: smileybutton.php:269 -msgid "Smileybutton settings" -msgstr "" - -#: smileybutton.php:272 -msgid "You can hide the button and show the smilies directly." -msgstr "" - -#: smileybutton.php:274 -msgid "Hide the button" -msgstr "" - -#: smileybutton.php:281 -msgid "Save Settings" -msgstr "" diff --git a/smileybutton/lang/cs/strings.php b/smileybutton/lang/cs/strings.php index e66f3401..04699815 100644 --- a/smileybutton/lang/cs/strings.php +++ b/smileybutton/lang/cs/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ - return ($n==1) ? 0 : ($n>=2 && $n<=4) ? 1 : 2;; + $n = intval($n); + if (($n==1)) { return 0; } else if (($n>=2 && $n<=4)) { return 1; } else { return 2; } }} ; $a->strings["Smileybutton settings"] = "Smileybutton nastavení"; diff --git a/smileybutton/lang/de/strings.php b/smileybutton/lang/de/strings.php index 8abea8e5..0c1bf308 100644 --- a/smileybutton/lang/de/strings.php +++ b/smileybutton/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Smileybutton settings"] = "Smileybutton Einstellungen"; diff --git a/smileybutton/lang/es/strings.php b/smileybutton/lang/es/strings.php index 96a6cc10..b294fd0d 100644 --- a/smileybutton/lang/es/strings.php +++ b/smileybutton/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Smileybutton settings"] = "Ajustes de Smileybutton"; diff --git a/smileybutton/lang/et/strings.php b/smileybutton/lang/et/strings.php index fe8cdb9f..b39400ca 100644 --- a/smileybutton/lang/et/strings.php +++ b/smileybutton/lang/et/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_et")) { function string_plural_select_et($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Smileybutton settings"] = "SmileyNupu sätted"; diff --git a/smileybutton/lang/fi-fi/strings.php b/smileybutton/lang/fi-fi/strings.php index f131c9cf..16480ffa 100644 --- a/smileybutton/lang/fi-fi/strings.php +++ b/smileybutton/lang/fi-fi/strings.php @@ -2,10 +2,10 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Smileybutton settings"] = "Smileybutton -asetukset"; -$a->strings["You can hide the button and show the smilies directly."] = ""; $a->strings["Hide the button"] = "Piilota nappi"; $a->strings["Save Settings"] = "Tallenna asetukset"; diff --git a/smileybutton/lang/fr/strings.php b/smileybutton/lang/fr/strings.php index 92033bec..81f71a1a 100644 --- a/smileybutton/lang/fr/strings.php +++ b/smileybutton/lang/fr/strings.php @@ -3,10 +3,8 @@ if(! function_exists("string_plural_select_fr")) { function string_plural_select_fr($n){ $n = intval($n); - return ($n > 1);; + return intval($n > 1); }} ; $a->strings["Smileybutton settings"] = "Paramètres du bouton des Smileys"; -$a->strings["You can hide the button and show the smilies directly."] = ""; $a->strings["Hide the button"] = "Cacher le bouton"; -$a->strings["Save Settings"] = ""; diff --git a/smileybutton/lang/nl/strings.php b/smileybutton/lang/nl/strings.php index 19a76fd4..ac3cc666 100644 --- a/smileybutton/lang/nl/strings.php +++ b/smileybutton/lang/nl/strings.php @@ -3,10 +3,8 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Smileybutton settings"] = "Smileybutton instellingen"; -$a->strings["You can hide the button and show the smilies directly."] = ""; -$a->strings["Hide the button"] = ""; $a->strings["Save Settings"] = "Instellingen opslaan"; diff --git a/smileybutton/lang/pl/strings.php b/smileybutton/lang/pl/strings.php index 9741c36f..f0294120 100644 --- a/smileybutton/lang/pl/strings.php +++ b/smileybutton/lang/pl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ $n = intval($n); - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Smileybutton settings"] = "Ustawienia Przycisku Buźka"; diff --git a/smileybutton/lang/ro/strings.php b/smileybutton/lang/ro/strings.php index 2a330a47..eb8fbbdb 100644 --- a/smileybutton/lang/ro/strings.php +++ b/smileybutton/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["Smileybutton settings"] = "Configurări Smileybutton"; diff --git a/smileybutton/lang/zh-cn/strings.php b/smileybutton/lang/zh-cn/strings.php index 1fd0c133..86a9d758 100644 --- a/smileybutton/lang/zh-cn/strings.php +++ b/smileybutton/lang/zh-cn/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_zh_cn")) { function string_plural_select_zh_cn($n){ $n = intval($n); - return 0;; + return intval(0); }} ; $a->strings["Smileybutton settings"] = "表情按钮设置"; diff --git a/smilies_adult/lang/C/messages.po b/smilies_adult/lang/C/messages.po deleted file mode 100644 index e69de29b..00000000 diff --git a/sniper/lang/C/messages.po b/sniper/lang/C/messages.po deleted file mode 100644 index e69de29b..00000000 diff --git a/startpage/lang/cs/strings.php b/startpage/lang/cs/strings.php index c0f19438..b68be94c 100644 --- a/startpage/lang/cs/strings.php +++ b/startpage/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["Startpage Settings"] = "Nastavení startovní stránky"; diff --git a/startpage/lang/de/strings.php b/startpage/lang/de/strings.php index 326b58ce..d7d26e64 100644 --- a/startpage/lang/de/strings.php +++ b/startpage/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Startpage Settings"] = "Startseiten-Einstellungen"; diff --git a/startpage/lang/es/strings.php b/startpage/lang/es/strings.php index bbd8aedd..24485e72 100644 --- a/startpage/lang/es/strings.php +++ b/startpage/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Startpage Settings"] = "Ajustes de Startpage"; diff --git a/startpage/lang/fi-fi/strings.php b/startpage/lang/fi-fi/strings.php index 53c954ab..9ef23e90 100644 --- a/startpage/lang/fi-fi/strings.php +++ b/startpage/lang/fi-fi/strings.php @@ -2,10 +2,9 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Startpage Settings"] = "Startpage -asetukset"; -$a->strings["Home page to load after login - leave blank for profile wall"] = ""; -$a->strings["Examples: "network" or "notifications/system""] = ""; $a->strings["Submit"] = "Lähetä"; diff --git a/startpage/lang/fr/strings.php b/startpage/lang/fr/strings.php index d3d3f9b9..995cdd6c 100644 --- a/startpage/lang/fr/strings.php +++ b/startpage/lang/fr/strings.php @@ -2,10 +2,9 @@ if(! function_exists("string_plural_select_fr")) { function string_plural_select_fr($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; $a->strings["Startpage Settings"] = "Paramètres de Startpage"; -$a->strings["Home page to load after login - leave blank for profile wall"] = ""; -$a->strings["Examples: "network" or "notifications/system""] = ""; $a->strings["Submit"] = "Envoyer"; diff --git a/startpage/lang/is/strings.php b/startpage/lang/is/strings.php index afd3d84a..703fc6e2 100644 --- a/startpage/lang/is/strings.php +++ b/startpage/lang/is/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_is")) { function string_plural_select_is($n){ $n = intval($n); - return ($n % 10 != 1 || $n % 100 == 11);; + return intval($n % 10 != 1 || $n % 100 == 11); }} ; $a->strings["Startpage Settings"] = "Stillingar upphafssíðu"; diff --git a/startpage/lang/it/strings.php b/startpage/lang/it/strings.php index 0226f923..92183531 100644 --- a/startpage/lang/it/strings.php +++ b/startpage/lang/it/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Startpage Settings"] = "Impostazioni Startpage"; diff --git a/startpage/lang/nl/strings.php b/startpage/lang/nl/strings.php index 6521128b..19d78596 100644 --- a/startpage/lang/nl/strings.php +++ b/startpage/lang/nl/strings.php @@ -3,10 +3,7 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Startpage Settings"] = "Startpagina instellingen"; -$a->strings["Home page to load after login - leave blank for profile wall"] = ""; -$a->strings["Examples: "network" or "notifications/system""] = ""; -$a->strings["Submit"] = ""; diff --git a/startpage/lang/pl/strings.php b/startpage/lang/pl/strings.php index e0b868ba..4c7ba5eb 100644 --- a/startpage/lang/pl/strings.php +++ b/startpage/lang/pl/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + $n = intval($n); + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Startpage Settings"] = "Ustawienia strony startowej"; diff --git a/startpage/lang/ro/strings.php b/startpage/lang/ro/strings.php index 701b5f9a..a25abea9 100644 --- a/startpage/lang/ro/strings.php +++ b/startpage/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["Startpage"] = "Startpage"; diff --git a/startpage/lang/zh-cn/strings.php b/startpage/lang/zh-cn/strings.php index 45d71c36..71b26d7a 100644 --- a/startpage/lang/zh-cn/strings.php +++ b/startpage/lang/zh-cn/strings.php @@ -3,10 +3,8 @@ if(! function_exists("string_plural_select_zh_cn")) { function string_plural_select_zh_cn($n){ $n = intval($n); - return 0;; + return intval(0); }} ; $a->strings["Startpage Settings"] = "首页设置"; -$a->strings["Home page to load after login - leave blank for profile wall"] = ""; -$a->strings["Examples: "network" or "notifications/system""] = ""; $a->strings["Submit"] = "提交"; diff --git a/statusnet/lang/cs/strings.php b/statusnet/lang/cs/strings.php index 3bf9180d..a4f08259 100644 --- a/statusnet/lang/cs/strings.php +++ b/statusnet/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["Post to GNU Social"] = "Poslat na GNU social"; diff --git a/statusnet/lang/de/strings.php b/statusnet/lang/de/strings.php index 2c2873fa..be7f8fd4 100644 --- a/statusnet/lang/de/strings.php +++ b/statusnet/lang/de/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Post to GNU Social"] = "Auf GNU Social veröffentlichen"; diff --git a/statusnet/lang/es/strings.php b/statusnet/lang/es/strings.php index d33fa0fd..557b7cc7 100644 --- a/statusnet/lang/es/strings.php +++ b/statusnet/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Post to GNU Social"] = "Publicar en GNU Social"; diff --git a/statusnet/lang/fi-fi/strings.php b/statusnet/lang/fi-fi/strings.php index 2dc699ea..cc88ad83 100644 --- a/statusnet/lang/fi-fi/strings.php +++ b/statusnet/lang/fi-fi/strings.php @@ -3,39 +3,23 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Post to GNU Social"] = "Lähetä GNU Socialiin"; $a->strings["Please contact your site administrator.
The provided API URL is not valid."] = "Ota yhteyttä sivuston ylläpitäjään.
API URL-osoite on virheellinen."; -$a->strings["We could not contact the GNU Social API with the Path you entered."] = ""; $a->strings["GNU Social settings updated."] = "GNU Social -asetukset päivitetty."; $a->strings["GNU Social Import/Export/Mirror"] = "GNU social tuonti/vienti/peili"; -$a->strings["Globally Available GNU Social OAuthKeys"] = ""; -$a->strings["There are preconfigured OAuth key pairs for some GNU Social servers available. If you are using one of them, please use these credentials. If not feel free to connect to any other GNU Social instance (see below)."] = ""; $a->strings["Save Settings"] = "Tallenna asetukset"; -$a->strings["Provide your own OAuth Credentials"] = ""; -$a->strings["No consumer key pair for GNU Social found. Register your Friendica Account as an desktop client on your GNU Social account, copy the consumer key pair here and enter the API base root.
Before you register your own OAuth key pair ask the administrator if there is already a key pair for this Friendica installation at your favorited GNU Social installation."] = ""; $a->strings["OAuth Consumer Key"] = "OAuth kuluttajan avain"; $a->strings["OAuth Consumer Secret"] = "OAuth kuluttajasalaisuus"; -$a->strings["Base API Path (remember the trailing /)"] = ""; -$a->strings["To connect to your GNU Social account click the button below to get a security code from GNU Social which you have to copy into the input box below and submit the form. Only your public posts will be posted to GNU Social."] = ""; $a->strings["Log in with GNU Social"] = "Kirjaudu sisään GNU socialilla"; -$a->strings["Copy the security code from GNU Social here"] = ""; -$a->strings["Cancel Connection Process"] = ""; -$a->strings["Current GNU Social API is"] = ""; -$a->strings["Cancel GNU Social Connection"] = ""; -$a->strings["Currently connected to: "] = ""; -$a->strings["If enabled all your public postings can be posted to the associated GNU Social account. You can choose to do so by default (here) or for every posting separately in the posting options when writing the entry."] = ""; -$a->strings["Note: Due your privacy settings (Hide your profile details from unknown viewers?) the link potentially included in public postings relayed to GNU Social will lead the visitor to a blank page informing the visitor that the access to your profile has been restricted."] = ""; $a->strings["Allow posting to GNU Social"] = "Salli julkaisut GNU socialiin"; $a->strings["Send public postings to GNU Social by default"] = "Lähetä oletuksena kaikki julkiset julkaisut GNU socialiin"; $a->strings["Mirror all posts from GNU Social that are no replies or repeated messages"] = "Peilaa kaikki julkaisut GNU socialista jotka eivät ole vastauksia tai toistettuja viestejä"; $a->strings["Import the remote timeline"] = "Tuo etäaikajana"; $a->strings["Disabled"] = "Poistettu käytöstä"; $a->strings["Full Timeline"] = "Koko aikajana"; -$a->strings["Only Mentions"] = ""; -$a->strings["Clear OAuth configuration"] = ""; $a->strings["Site name"] = "Sivuston nimi"; $a->strings["Consumer Secret"] = "Kuluttajasalaisuus"; $a->strings["Consumer Key"] = "Kuluttajan avain"; diff --git a/statusnet/lang/fr/strings.php b/statusnet/lang/fr/strings.php index c70d012c..44afea01 100644 --- a/statusnet/lang/fr/strings.php +++ b/statusnet/lang/fr/strings.php @@ -2,39 +2,19 @@ if(! function_exists("string_plural_select_fr")) { function string_plural_select_fr($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; $a->strings["Post to GNU Social"] = "Publier sur GNU Social"; $a->strings["Please contact your site administrator.
The provided API URL is not valid."] = "Merci de contacter l'administrateur du site.
L'URL d'API fournie est invalide."; -$a->strings["We could not contact the GNU Social API with the Path you entered."] = ""; $a->strings["GNU Social settings updated."] = "Paramètres du GNU Social mis à jour."; -$a->strings["GNU Social Import/Export/Mirror"] = ""; -$a->strings["Globally Available GNU Social OAuthKeys"] = ""; -$a->strings["There are preconfigured OAuth key pairs for some GNU Social servers available. If you are using one of them, please use these credentials. If not feel free to connect to any other GNU Social instance (see below)."] = ""; $a->strings["Save Settings"] = "Sauvegarder les paramètres"; -$a->strings["Provide your own OAuth Credentials"] = ""; -$a->strings["No consumer key pair for GNU Social found. Register your Friendica Account as an desktop client on your GNU Social account, copy the consumer key pair here and enter the API base root.
Before you register your own OAuth key pair ask the administrator if there is already a key pair for this Friendica installation at your favorited GNU Social installation."] = ""; -$a->strings["OAuth Consumer Key"] = ""; -$a->strings["OAuth Consumer Secret"] = ""; -$a->strings["Base API Path (remember the trailing /)"] = ""; -$a->strings["To connect to your GNU Social account click the button below to get a security code from GNU Social which you have to copy into the input box below and submit the form. Only your public posts will be posted to GNU Social."] = ""; $a->strings["Log in with GNU Social"] = "Se connecter avec GNU Social"; $a->strings["Copy the security code from GNU Social here"] = "Coller le code de sécurité de GNU Social ici"; -$a->strings["Cancel Connection Process"] = ""; $a->strings["Current GNU Social API is"] = "L'API actuelle de GNU Social est"; -$a->strings["Cancel GNU Social Connection"] = ""; $a->strings["Currently connected to: "] = "Actuellement connecté à :"; -$a->strings["If enabled all your public postings can be posted to the associated GNU Social account. You can choose to do so by default (here) or for every posting separately in the posting options when writing the entry."] = ""; -$a->strings["Note: Due your privacy settings (Hide your profile details from unknown viewers?) the link potentially included in public postings relayed to GNU Social will lead the visitor to a blank page informing the visitor that the access to your profile has been restricted."] = ""; $a->strings["Allow posting to GNU Social"] = "Autoriser la publication sur GNU Social"; -$a->strings["Send public postings to GNU Social by default"] = ""; -$a->strings["Mirror all posts from GNU Social that are no replies or repeated messages"] = ""; -$a->strings["Import the remote timeline"] = ""; $a->strings["Disabled"] = "Désactiver"; $a->strings["Full Timeline"] = "Timeline complète"; -$a->strings["Only Mentions"] = ""; -$a->strings["Clear OAuth configuration"] = ""; $a->strings["Site name"] = "Nom du site"; -$a->strings["Consumer Secret"] = ""; -$a->strings["Consumer Key"] = ""; diff --git a/statusnet/lang/is/strings.php b/statusnet/lang/is/strings.php index 367b40bb..87a72de1 100644 --- a/statusnet/lang/is/strings.php +++ b/statusnet/lang/is/strings.php @@ -3,19 +3,17 @@ if(! function_exists("string_plural_select_is")) { function string_plural_select_is($n){ $n = intval($n); - return ($n % 10 != 1 || $n % 100 == 11);; + return intval($n % 10 != 1 || $n % 100 == 11); }} ; $a->strings["Post to GNU Social"] = "Senda á GNU Social"; $a->strings["Please contact your site administrator.
The provided API URL is not valid."] = "Hafðu samband við kerfisstjóra.
Uppgefin API-slóð er ógild."; $a->strings["We could not contact the GNU Social API with the Path you entered."] = "Ekki náðist í GNU Social API með slóðinni sem þú gafst upp."; $a->strings["GNU Social settings updated."] = "Stillingar GNU Social uppfærðar."; -$a->strings["GNU Social Import/Export/Mirror"] = ""; $a->strings["Globally Available GNU Social OAuthKeys"] = "Víðværir OAuth-lyklar GNU Social eru til taks"; $a->strings["There are preconfigured OAuth key pairs for some GNU Social servers available. If you are using one of them, please use these credentials. If not feel free to connect to any other GNU Social instance (see below)."] = "Það eru forstillt OAuth-lyklapör í sumum GNU Social þjónum. Ef þú ert að nota slíkt par, notaðu þá þau auðkenni. Ef ekki þá er þér frjálst að tengjast hvaða öðrum GNU Social þjónum (sjá fyrir neðan)."; $a->strings["Save Settings"] = "Vista stillingar"; $a->strings["Provide your own OAuth Credentials"] = "Gefðu upp eigin OAuth auðkenni"; -$a->strings["No consumer key pair for GNU Social found. Register your Friendica Account as an desktop client on your GNU Social account, copy the consumer key pair here and enter the API base root.
Before you register your own OAuth key pair ask the administrator if there is already a key pair for this Friendica installation at your favorited GNU Social installation."] = ""; $a->strings["OAuth Consumer Key"] = "OAuth-lykill notanda"; $a->strings["OAuth Consumer Secret"] = "OAuth-leyniorð notanda"; $a->strings["Base API Path (remember the trailing /)"] = "Grunn API-slóð (muna eftir / í endann)"; @@ -27,14 +25,11 @@ $a->strings["Current GNU Social API is"] = "Núverandi GNU Social API er"; $a->strings["Cancel GNU Social Connection"] = "Hætta við GNU Social tengingu"; $a->strings["Currently connected to: "] = "Núna tengdur við:"; $a->strings["If enabled all your public postings can be posted to the associated GNU Social account. You can choose to do so by default (here) or for every posting separately in the posting options when writing the entry."] = "Ef virkt þá geta allar opinberu stöðu meldingarnar þínar verið birtar á tengdri GNU Social síðu. Þú getur valið að gera þetta sjálfvirkt (hér) eða fyrir hvern póst í senn þegar hann er skrifaður."; -$a->strings["Note: Due your privacy settings (Hide your profile details from unknown viewers?) the link potentially included in public postings relayed to GNU Social will lead the visitor to a blank page informing the visitor that the access to your profile has been restricted."] = ""; $a->strings["Allow posting to GNU Social"] = "Leyfa sendingu færslna til GNU Social"; $a->strings["Send public postings to GNU Social by default"] = "Sjálfgefið senda opinberar færslur á GNU Social"; -$a->strings["Mirror all posts from GNU Social that are no replies or repeated messages"] = ""; $a->strings["Import the remote timeline"] = "Flytja inn fjartengdu tímalínuna"; $a->strings["Disabled"] = "Slökkt"; $a->strings["Full Timeline"] = "Öll tímalínan"; -$a->strings["Only Mentions"] = ""; $a->strings["Clear OAuth configuration"] = "Hreinsa OAuth stillingar"; $a->strings["Site name"] = "Heiti vefsvæðis"; $a->strings["Consumer Secret"] = "Leyniorð notanda"; diff --git a/statusnet/lang/it/strings.php b/statusnet/lang/it/strings.php index 8f44cf77..f1f103da 100644 --- a/statusnet/lang/it/strings.php +++ b/statusnet/lang/it/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Post to GNU Social"] = "Invia a GNU Social"; diff --git a/statusnet/lang/nl/strings.php b/statusnet/lang/nl/strings.php index b8c05579..43b82c6a 100644 --- a/statusnet/lang/nl/strings.php +++ b/statusnet/lang/nl/strings.php @@ -3,39 +3,13 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Post to GNU Social"] = "Post naar GNU Social"; -$a->strings["Please contact your site administrator.
The provided API URL is not valid."] = ""; -$a->strings["We could not contact the GNU Social API with the Path you entered."] = ""; $a->strings["GNU Social settings updated."] = "GNU Social instellingen opgeslagen"; $a->strings["GNU Social Import/Export/Mirror"] = "GNU Social Import/Exporteren/Spiegelen"; -$a->strings["Globally Available GNU Social OAuthKeys"] = ""; -$a->strings["There are preconfigured OAuth key pairs for some GNU Social servers available. If you are using one of them, please use these credentials. If not feel free to connect to any other GNU Social instance (see below)."] = ""; $a->strings["Save Settings"] = "Instellingen opslaan"; -$a->strings["Provide your own OAuth Credentials"] = ""; -$a->strings["No consumer key pair for GNU Social found. Register your Friendica Account as an desktop client on your GNU Social account, copy the consumer key pair here and enter the API base root.
Before you register your own OAuth key pair ask the administrator if there is already a key pair for this Friendica installation at your favorited GNU Social installation."] = ""; -$a->strings["OAuth Consumer Key"] = ""; -$a->strings["OAuth Consumer Secret"] = ""; -$a->strings["Base API Path (remember the trailing /)"] = ""; -$a->strings["To connect to your GNU Social account click the button below to get a security code from GNU Social which you have to copy into the input box below and submit the form. Only your public posts will be posted to GNU Social."] = ""; -$a->strings["Log in with GNU Social"] = ""; -$a->strings["Copy the security code from GNU Social here"] = ""; -$a->strings["Cancel Connection Process"] = ""; -$a->strings["Current GNU Social API is"] = ""; -$a->strings["Cancel GNU Social Connection"] = ""; -$a->strings["Currently connected to: "] = ""; -$a->strings["If enabled all your public postings can be posted to the associated GNU Social account. You can choose to do so by default (here) or for every posting separately in the posting options when writing the entry."] = ""; -$a->strings["Note: Due your privacy settings (Hide your profile details from unknown viewers?) the link potentially included in public postings relayed to GNU Social will lead the visitor to a blank page informing the visitor that the access to your profile has been restricted."] = ""; $a->strings["Allow posting to GNU Social"] = "Plaatsen op GNU Social toestaan"; $a->strings["Send public postings to GNU Social by default"] = "Verzend publieke berichten naar GNU Social als standaard instellen"; -$a->strings["Mirror all posts from GNU Social that are no replies or repeated messages"] = ""; -$a->strings["Import the remote timeline"] = ""; $a->strings["Disabled"] = "Uitgeschakeld"; -$a->strings["Full Timeline"] = ""; -$a->strings["Only Mentions"] = ""; -$a->strings["Clear OAuth configuration"] = ""; -$a->strings["Site name"] = ""; -$a->strings["Consumer Secret"] = ""; -$a->strings["Consumer Key"] = ""; diff --git a/statusnet/lang/pl/strings.php b/statusnet/lang/pl/strings.php index c8d2513b..2d8f7ed3 100644 --- a/statusnet/lang/pl/strings.php +++ b/statusnet/lang/pl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ $n = intval($n); - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Post to GNU Social"] = "Opublikuj w GNU Social"; diff --git a/statusnet/lang/pt-br/strings.php b/statusnet/lang/pt-br/strings.php index 951322a0..65e26e26 100644 --- a/statusnet/lang/pt-br/strings.php +++ b/statusnet/lang/pt-br/strings.php @@ -2,39 +2,14 @@ if(! function_exists("string_plural_select_pt_br")) { function string_plural_select_pt_br($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; $a->strings["Post to GNU Social"] = "Publicar no GNU Social"; -$a->strings["Please contact your site administrator.
The provided API URL is not valid."] = ""; -$a->strings["We could not contact the GNU Social API with the Path you entered."] = ""; $a->strings["GNU Social settings updated."] = "As configurações do GNU Social foram atualizadas."; -$a->strings["GNU Social Import/Export/Mirror"] = ""; -$a->strings["Globally Available GNU Social OAuthKeys"] = ""; -$a->strings["There are preconfigured OAuth key pairs for some GNU Social servers available. If you are using one of them, please use these credentials. If not feel free to connect to any other GNU Social instance (see below)."] = ""; $a->strings["Save Settings"] = "Salvar Configurações"; -$a->strings["Provide your own OAuth Credentials"] = ""; -$a->strings["No consumer key pair for GNU Social found. Register your Friendica Account as an desktop client on your GNU Social account, copy the consumer key pair here and enter the API base root.
Before you register your own OAuth key pair ask the administrator if there is already a key pair for this Friendica installation at your favorited GNU Social installation."] = ""; -$a->strings["OAuth Consumer Key"] = ""; -$a->strings["OAuth Consumer Secret"] = ""; -$a->strings["Base API Path (remember the trailing /)"] = ""; -$a->strings["To connect to your GNU Social account click the button below to get a security code from GNU Social which you have to copy into the input box below and submit the form. Only your public posts will be posted to GNU Social."] = ""; $a->strings["Log in with GNU Social"] = "Entrar com o GNU Social"; -$a->strings["Copy the security code from GNU Social here"] = ""; -$a->strings["Cancel Connection Process"] = ""; -$a->strings["Current GNU Social API is"] = ""; -$a->strings["Cancel GNU Social Connection"] = ""; -$a->strings["Currently connected to: "] = ""; -$a->strings["If enabled all your public postings can be posted to the associated GNU Social account. You can choose to do so by default (here) or for every posting separately in the posting options when writing the entry."] = ""; -$a->strings["Note: Due your privacy settings (Hide your profile details from unknown viewers?) the link potentially included in public postings relayed to GNU Social will lead the visitor to a blank page informing the visitor that the access to your profile has been restricted."] = ""; $a->strings["Allow posting to GNU Social"] = "Permitir a publicação no GNU Social"; $a->strings["Send public postings to GNU Social by default"] = "Publicar posts públicos no GNU Social por padrão"; -$a->strings["Mirror all posts from GNU Social that are no replies or repeated messages"] = ""; $a->strings["Import the remote timeline"] = "Importar a linha do tempo remota"; -$a->strings["Disabled"] = ""; -$a->strings["Full Timeline"] = ""; -$a->strings["Only Mentions"] = ""; -$a->strings["Clear OAuth configuration"] = ""; -$a->strings["Site name"] = ""; -$a->strings["Consumer Secret"] = ""; -$a->strings["Consumer Key"] = ""; diff --git a/statusnet/lang/ro/strings.php b/statusnet/lang/ro/strings.php index c5a8fff8..bf3b8fc9 100644 --- a/statusnet/lang/ro/strings.php +++ b/statusnet/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["Post to StatusNet"] = "Postați pe StatusNet"; diff --git a/superblock/lang/cs/strings.php b/superblock/lang/cs/strings.php index 32acaf8b..b7a3ec8f 100644 --- a/superblock/lang/cs/strings.php +++ b/superblock/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["Superblock"] = "Superblock"; diff --git a/superblock/lang/de/strings.php b/superblock/lang/de/strings.php index 5fb3cb2c..4d88a547 100644 --- a/superblock/lang/de/strings.php +++ b/superblock/lang/de/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Superblock"] = "Superblock"; diff --git a/superblock/lang/en-gb/strings.php b/superblock/lang/en-gb/strings.php index e269b37d..e5d54902 100644 --- a/superblock/lang/en-gb/strings.php +++ b/superblock/lang/en-gb/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_en_gb")) { function string_plural_select_en_gb($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Superblock"] = "Superblock"; diff --git a/superblock/lang/en-us/strings.php b/superblock/lang/en-us/strings.php index 31906bb6..133456b3 100644 --- a/superblock/lang/en-us/strings.php +++ b/superblock/lang/en-us/strings.php @@ -3,12 +3,7 @@ if(! function_exists("string_plural_select_en_us")) { function string_plural_select_en_us($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; -$a->strings["\"Superblock\""] = ""; $a->strings["Comma separated profile URLS to block"] = "Comma-separated profile URLs to block"; -$a->strings["Save Settings"] = ""; -$a->strings["SUPERBLOCK Settings saved."] = ""; -$a->strings["Block Completely"] = ""; -$a->strings["superblock settings updated"] = ""; diff --git a/superblock/lang/es/strings.php b/superblock/lang/es/strings.php index 1b40975f..65373bab 100644 --- a/superblock/lang/es/strings.php +++ b/superblock/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["\"Superblock\""] = "«Superbloque»"; diff --git a/superblock/lang/fi-fi/strings.php b/superblock/lang/fi-fi/strings.php index f96ee65b..b2aeb042 100644 --- a/superblock/lang/fi-fi/strings.php +++ b/superblock/lang/fi-fi/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["\"Superblock\""] = "\"Superblock\""; diff --git a/superblock/lang/fr/strings.php b/superblock/lang/fr/strings.php index ea8228a5..02efe8d1 100644 --- a/superblock/lang/fr/strings.php +++ b/superblock/lang/fr/strings.php @@ -3,12 +3,7 @@ if(! function_exists("string_plural_select_fr")) { function string_plural_select_fr($n){ $n = intval($n); - return ($n > 1);; + return intval($n > 1); }} ; -$a->strings["Superblock"] = ""; -$a->strings["Comma separated profile URLS to block"] = ""; $a->strings["Save Settings"] = "Sauvegarder les paramètres"; -$a->strings["SUPERBLOCK Settings saved."] = ""; -$a->strings["Block Completely"] = ""; -$a->strings["superblock settings updated"] = ""; diff --git a/superblock/lang/it/strings.php b/superblock/lang/it/strings.php index 97274895..d49a5772 100644 --- a/superblock/lang/it/strings.php +++ b/superblock/lang/it/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Superblock"] = "Superblock"; diff --git a/superblock/lang/nl/strings.php b/superblock/lang/nl/strings.php index d66e7b9e..7f5f2532 100644 --- a/superblock/lang/nl/strings.php +++ b/superblock/lang/nl/strings.php @@ -3,12 +3,10 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Superblock"] = "Superblock"; -$a->strings["Comma separated profile URLS to block"] = ""; $a->strings["Save Settings"] = "Instellingen opslaan"; $a->strings["SUPERBLOCK Settings saved."] = "SUPERBLOCK instellingen opgeslagen"; -$a->strings["Block Completely"] = ""; $a->strings["superblock settings updated"] = "Superblock instellingen opgeslagen"; diff --git a/superblock/lang/pl/strings.php b/superblock/lang/pl/strings.php index e06891e0..3fe02066 100644 --- a/superblock/lang/pl/strings.php +++ b/superblock/lang/pl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ $n = intval($n); - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Superblock"] = "Superblock"; diff --git a/superblock/lang/pt-br/strings.php b/superblock/lang/pt-br/strings.php index 34c9f2e0..0a23c473 100644 --- a/superblock/lang/pt-br/strings.php +++ b/superblock/lang/pt-br/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pt_br")) { function string_plural_select_pt_br($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; $a->strings["\"Blockem\" Settings"] = "Configurações do \"Blockem\""; diff --git a/superblock/lang/ro/strings.php b/superblock/lang/ro/strings.php index ee0dfee0..f3298a23 100644 --- a/superblock/lang/ro/strings.php +++ b/superblock/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["\"Superblock\" Settings"] = "Configurări \"Superblock\""; diff --git a/superblock/lang/ru/strings.php b/superblock/lang/ru/strings.php index 4e3b9079..acae21d3 100644 --- a/superblock/lang/ru/strings.php +++ b/superblock/lang/ru/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ru")) { function string_plural_select_ru($n){ $n = intval($n); - return ($n%10==1 && $n%100!=11 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14) ? 1 : $n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)? 2 : 3);; + if ($n%10==1 && $n%100!=11) { return 0; } else if ($n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14)) { return 1; } else if ($n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Superblock"] = "Superblock"; diff --git a/testdrive/lang/cs/strings.php b/testdrive/lang/cs/strings.php index d2d36aab..abdc9e85 100644 --- a/testdrive/lang/cs/strings.php +++ b/testdrive/lang/cs/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ - return ($n==1) ? 0 : ($n>=2 && $n<=4) ? 1 : 2;; + $n = intval($n); + if (($n==1)) { return 0; } else if (($n>=2 && $n<=4)) { return 1; } else { return 2; } }} ; $a->strings["Administrator"] = "Administrátor"; diff --git a/testdrive/lang/de/strings.php b/testdrive/lang/de/strings.php index 0ba2b035..4f7d822b 100644 --- a/testdrive/lang/de/strings.php +++ b/testdrive/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Administrator"] = "Administrator"; diff --git a/testdrive/lang/es/strings.php b/testdrive/lang/es/strings.php index 2292d3fd..f91f26a8 100644 --- a/testdrive/lang/es/strings.php +++ b/testdrive/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Administrator"] = "Administrador"; diff --git a/testdrive/lang/fi-fi/strings.php b/testdrive/lang/fi-fi/strings.php index f2942692..87c536a1 100644 --- a/testdrive/lang/fi-fi/strings.php +++ b/testdrive/lang/fi-fi/strings.php @@ -3,10 +3,9 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Administrator"] = "Ylläpitäjä"; $a->strings["Your account on %s will expire in a few days."] = "%s -tilisi vanhenee muutaman päivän kuluttua."; $a->strings["Your Friendica test account is about to expire."] = "Koetilisi Friendicassa umpeutuu kohta."; -$a->strings["Hi %1\$s,\n\nYour test account on %2\$s will expire in less than five days. We hope you enjoyed this test drive and use this opportunity to find a permanent Friendica website for your integrated social communications. A list of public sites is available at %s/siteinfo - and for more information on setting up your own Friendica server please see the Friendica project website at http://friendica.com."] = ""; diff --git a/testdrive/lang/it/strings.php b/testdrive/lang/it/strings.php index 517702bf..43e18bf2 100644 --- a/testdrive/lang/it/strings.php +++ b/testdrive/lang/it/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Administrator"] = "Amministratore"; diff --git a/testdrive/lang/nl/strings.php b/testdrive/lang/nl/strings.php index 9c61900d..6db69a1b 100644 --- a/testdrive/lang/nl/strings.php +++ b/testdrive/lang/nl/strings.php @@ -3,10 +3,7 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Administrator"] = "Beheerder"; -$a->strings["Your account on %s will expire in a few days."] = ""; -$a->strings["Your Friendica test account is about to expire."] = ""; -$a->strings["Hi %1\$s,\n\nYour test account on %2\$s will expire in less than five days. We hope you enjoyed this test drive and use this opportunity to find a permanent Friendica website for your integrated social communications. A list of public sites is available at %s/siteinfo - and for more information on setting up your own Friendica server please see the Friendica project website at http://friendica.com."] = ""; diff --git a/testdrive/lang/pl/strings.php b/testdrive/lang/pl/strings.php index f93293fc..47900eab 100644 --- a/testdrive/lang/pl/strings.php +++ b/testdrive/lang/pl/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + $n = intval($n); + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Administrator"] = "Administrator"; diff --git a/testdrive/lang/ro/strings.php b/testdrive/lang/ro/strings.php index c647c3c7..f64d845d 100644 --- a/testdrive/lang/ro/strings.php +++ b/testdrive/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["Administrator"] = "Administrator"; diff --git a/testdrive/lang/zh-cn/strings.php b/testdrive/lang/zh-cn/strings.php index 87dce218..92f74ba8 100644 --- a/testdrive/lang/zh-cn/strings.php +++ b/testdrive/lang/zh-cn/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_zh_cn")) { function string_plural_select_zh_cn($n){ $n = intval($n); - return 0;; + return intval(0); }} ; $a->strings["Administrator"] = "管理员"; diff --git a/tictac/lang/cs/strings.php b/tictac/lang/cs/strings.php index 3913f06d..d971cd9f 100644 --- a/tictac/lang/cs/strings.php +++ b/tictac/lang/cs/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ - return ($n==1) ? 0 : ($n>=2 && $n<=4) ? 1 : 2;; + $n = intval($n); + if (($n==1)) { return 0; } else if (($n>=2 && $n<=4)) { return 1; } else { return 2; } }} ; $a->strings["Three Dimensional Tic-Tac-Toe"] = "Trojrozměrné Tic-Tac-Toe"; diff --git a/tictac/lang/de/strings.php b/tictac/lang/de/strings.php index dd85990b..313eb3c0 100644 --- a/tictac/lang/de/strings.php +++ b/tictac/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Three Dimensional Tic-Tac-Toe"] = "Dreidimensionales Tic-Tac-Toe"; diff --git a/tictac/lang/es/strings.php b/tictac/lang/es/strings.php index 600c84cf..1afba694 100644 --- a/tictac/lang/es/strings.php +++ b/tictac/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Three Dimensional Tic-Tac-Toe"] = "Tic-Tac-Toe tridimensional"; diff --git a/tictac/lang/fi-fi/strings.php b/tictac/lang/fi-fi/strings.php index 2cb1f7d7..2da919d7 100644 --- a/tictac/lang/fi-fi/strings.php +++ b/tictac/lang/fi-fi/strings.php @@ -2,18 +2,15 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Three Dimensional Tic-Tac-Toe"] = "Kolmiulotteinen ristinolla"; $a->strings["3D Tic-Tac-Toe"] = "3D ristinolla"; $a->strings["New game"] = "Uusi peli"; $a->strings["New game with handicap"] = "Uusi peli haitalla"; -$a->strings["Three dimensional tic-tac-toe is just like the traditional game except that it is played on multiple levels simultaneously. "] = ""; -$a->strings["In this case there are three levels. You win by getting three in a row on any level, as well as up, down, and diagonally across the different levels."] = ""; -$a->strings["The handicap game disables the center position on the middle level because the player claiming this square often has an unfair advantage."] = ""; $a->strings["You go first..."] = "Aloita sinä..."; $a->strings["I'm going first this time..."] = "Minä aloitan..."; $a->strings["You won!"] = "Sinä voitit!"; -$a->strings["\"Cat\" game!"] = ""; $a->strings["I won!"] = "Minä voitin!"; diff --git a/tictac/lang/fr/strings.php b/tictac/lang/fr/strings.php index a5b2a1b8..d0f96bb1 100644 --- a/tictac/lang/fr/strings.php +++ b/tictac/lang/fr/strings.php @@ -3,18 +3,8 @@ if(! function_exists("string_plural_select_fr")) { function string_plural_select_fr($n){ $n = intval($n); - return ($n > 1);; + return intval($n > 1); }} ; -$a->strings["Three Dimensional Tic-Tac-Toe"] = ""; -$a->strings["3D Tic-Tac-Toe"] = ""; -$a->strings["New game"] = ""; -$a->strings["New game with handicap"] = ""; -$a->strings["Three dimensional tic-tac-toe is just like the traditional game except that it is played on multiple levels simultaneously. "] = ""; -$a->strings["In this case there are three levels. You win by getting three in a row on any level, as well as up, down, and diagonally across the different levels."] = ""; -$a->strings["The handicap game disables the center position on the middle level because the player claiming this square often has an unfair advantage."] = ""; -$a->strings["You go first..."] = ""; -$a->strings["I'm going first this time..."] = ""; $a->strings["You won!"] = "Vous avez gagné !"; -$a->strings["\"Cat\" game!"] = ""; $a->strings["I won!"] = "J’ai gagné !"; diff --git a/tictac/lang/it/strings.php b/tictac/lang/it/strings.php index 14506636..37c34082 100644 --- a/tictac/lang/it/strings.php +++ b/tictac/lang/it/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Three Dimensional Tic-Tac-Toe"] = "Tic-Tac-Toe tridimensionale"; diff --git a/tictac/lang/nl/strings.php b/tictac/lang/nl/strings.php index ad0d122e..1e763807 100644 --- a/tictac/lang/nl/strings.php +++ b/tictac/lang/nl/strings.php @@ -3,18 +3,8 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Three Dimensional Tic-Tac-Toe"] = "3D Tic-Tac-Toe"; $a->strings["3D Tic-Tac-Toe"] = "3D Tic-Tac-Toe "; -$a->strings["New game"] = ""; -$a->strings["New game with handicap"] = ""; -$a->strings["Three dimensional tic-tac-toe is just like the traditional game except that it is played on multiple levels simultaneously. "] = ""; -$a->strings["In this case there are three levels. You win by getting three in a row on any level, as well as up, down, and diagonally across the different levels."] = ""; -$a->strings["The handicap game disables the center position on the middle level because the player claiming this square often has an unfair advantage."] = ""; -$a->strings["You go first..."] = ""; -$a->strings["I'm going first this time..."] = ""; -$a->strings["You won!"] = ""; -$a->strings["\"Cat\" game!"] = ""; -$a->strings["I won!"] = ""; diff --git a/tictac/lang/pl/strings.php b/tictac/lang/pl/strings.php index de3646ac..53911b79 100644 --- a/tictac/lang/pl/strings.php +++ b/tictac/lang/pl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ $n = intval($n); - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Three Dimensional Tic-Tac-Toe"] = "Trójwymiarowe Kółko i Krzyżyk"; diff --git a/tictac/lang/pt-br/strings.php b/tictac/lang/pt-br/strings.php index 55d91195..20f9211b 100644 --- a/tictac/lang/pt-br/strings.php +++ b/tictac/lang/pt-br/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pt_br")) { function string_plural_select_pt_br($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; $a->strings["Three Dimensional Tic-Tac-Toe"] = "Jogo da Velha Tridimensional"; diff --git a/tictac/lang/ro/strings.php b/tictac/lang/ro/strings.php index 5b0c79e6..52f03c4f 100644 --- a/tictac/lang/ro/strings.php +++ b/tictac/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["Three Dimensional Tic-Tac-Toe"] = "Tic-Tac-Toe Tridimensional"; diff --git a/tumblr/lang/cs/strings.php b/tumblr/lang/cs/strings.php index 75f8eab1..7d05b900 100644 --- a/tumblr/lang/cs/strings.php +++ b/tumblr/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["Permission denied."] = "Přístup odmítnut."; diff --git a/tumblr/lang/de/strings.php b/tumblr/lang/de/strings.php index 87fd5c50..8cedc6a7 100644 --- a/tumblr/lang/de/strings.php +++ b/tumblr/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Permission denied."] = "Zugriff verweigert."; diff --git a/tumblr/lang/es/strings.php b/tumblr/lang/es/strings.php index 12d3d2d2..43c69a99 100644 --- a/tumblr/lang/es/strings.php +++ b/tumblr/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Permission denied."] = "Permiso denegado."; diff --git a/tumblr/lang/fi-fi/strings.php b/tumblr/lang/fi-fi/strings.php index fe80c095..48ee87c5 100644 --- a/tumblr/lang/fi-fi/strings.php +++ b/tumblr/lang/fi-fi/strings.php @@ -2,17 +2,14 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Permission denied."] = "Lupa kielletty."; -$a->strings["You are now authenticated to tumblr."] = ""; -$a->strings["return to the connector page"] = ""; $a->strings["Post to Tumblr"] = "Lähetä Tumblriin"; $a->strings["Tumblr Post Settings"] = "Tumblr -viestin asetukset"; -$a->strings["(Re-)Authenticate your tumblr page"] = ""; $a->strings["Enable Tumblr Post Addon"] = "Ota Tumblr -viestilisäosa käyttöön"; $a->strings["Post to Tumblr by default"] = "Lähetä Tumblriin oletuksena"; $a->strings["Post to page:"] = "Julkaise sivulle:"; -$a->strings["You are not authenticated to tumblr"] = ""; $a->strings["Submit"] = "Lähetä"; diff --git a/tumblr/lang/it/strings.php b/tumblr/lang/it/strings.php index 3cf0c951..797494b8 100644 --- a/tumblr/lang/it/strings.php +++ b/tumblr/lang/it/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Permission denied."] = "Permesso negato."; diff --git a/tumblr/lang/nl/strings.php b/tumblr/lang/nl/strings.php index c3661dff..42e62e12 100644 --- a/tumblr/lang/nl/strings.php +++ b/tumblr/lang/nl/strings.php @@ -3,17 +3,11 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Permission denied."] = "Toegang geweigerd."; $a->strings["You are now authenticated to tumblr."] = "Je bent nu aangemeld bij tumblr"; -$a->strings["return to the connector page"] = ""; -$a->strings["Post to Tumblr"] = ""; -$a->strings["Tumblr Post Settings"] = ""; -$a->strings["(Re-)Authenticate your tumblr page"] = ""; $a->strings["Enable Tumblr Post Addon"] = "Tumblr Post Addon inschakelen"; $a->strings["Post to Tumblr by default"] = "Plaatsen op Tumblr als standaard instellen "; $a->strings["Post to page:"] = "Plaats op pagina:"; -$a->strings["You are not authenticated to tumblr"] = ""; -$a->strings["Submit"] = ""; diff --git a/tumblr/lang/pl/strings.php b/tumblr/lang/pl/strings.php index 127d8d81..a4e2baaa 100644 --- a/tumblr/lang/pl/strings.php +++ b/tumblr/lang/pl/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + $n = intval($n); + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Permission denied."] = "Odmowa dostępu."; diff --git a/tumblr/lang/pt-br/strings.php b/tumblr/lang/pt-br/strings.php index f77c85f2..35ab991f 100644 --- a/tumblr/lang/pt-br/strings.php +++ b/tumblr/lang/pt-br/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pt_br")) { function string_plural_select_pt_br($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; $a->strings["Permission denied."] = "Permissão negada."; diff --git a/tumblr/lang/ro/strings.php b/tumblr/lang/ro/strings.php index 60f96432..5fe3a95a 100644 --- a/tumblr/lang/ro/strings.php +++ b/tumblr/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["Permission denied."] = "Permisiune refuzată."; diff --git a/twitter/lang/cs/strings.php b/twitter/lang/cs/strings.php index e6aeedfd..a4eb4566 100644 --- a/twitter/lang/cs/strings.php +++ b/twitter/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["Post to Twitter"] = "Poslat příspěvek na Twitter"; diff --git a/twitter/lang/de/strings.php b/twitter/lang/de/strings.php index aa6b0e7d..26304e72 100644 --- a/twitter/lang/de/strings.php +++ b/twitter/lang/de/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Post to Twitter"] = "Auf Twitter veröffentlichen"; diff --git a/twitter/lang/en-gb/strings.php b/twitter/lang/en-gb/strings.php index b03fbe8e..c2a00300 100644 --- a/twitter/lang/en-gb/strings.php +++ b/twitter/lang/en-gb/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_en_gb")) { function string_plural_select_en_gb($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Post to Twitter"] = "Post to Twitter"; diff --git a/twitter/lang/es/strings.php b/twitter/lang/es/strings.php index 812e646b..07c93a18 100644 --- a/twitter/lang/es/strings.php +++ b/twitter/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Post to Twitter"] = "Entrada para Twitter"; diff --git a/twitter/lang/fi-fi/strings.php b/twitter/lang/fi-fi/strings.php index d8b9fab2..4ae9a852 100644 --- a/twitter/lang/fi-fi/strings.php +++ b/twitter/lang/fi-fi/strings.php @@ -3,23 +3,17 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Post to Twitter"] = "Lähetä Twitteriin"; -$a->strings["You submitted an empty PIN, please Sign In with Twitter again to get a new one."] = ""; $a->strings["Twitter settings updated."] = "Twitter -asetukset päivitetty."; $a->strings["Twitter Import/Export/Mirror"] = "Twitter tuonti/vienti/peili"; $a->strings["No consumer key pair for Twitter found. Please contact your site administrator."] = "Twitter -kuluttajan avainparia ei löytynyt. Ota yhteyttä sivuston ylläpitäjään."; -$a->strings["At this Friendica instance the Twitter addon was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter."] = ""; $a->strings["Log in with Twitter"] = "Kirjaudu sisään Twitterillä"; -$a->strings["Copy the PIN from Twitter here"] = ""; $a->strings["Save Settings"] = "Tallenna asetukset"; -$a->strings["Currently connected to: "] = ""; $a->strings["Disconnect"] = "Katkaise yhteys"; $a->strings["Allow posting to Twitter"] = "Salli julkaisu Twitteriin"; -$a->strings["If enabled all your public postings can be posted to the associated Twitter account. You can choose to do so by default (here) or for every posting separately in the posting options when writing the entry."] = ""; -$a->strings["Note: Due to your privacy settings (Hide your profile details from unknown viewers?) the link potentially included in public postings relayed to Twitter will lead the visitor to a blank page informing the visitor that the access to your profile has been restricted."] = ""; $a->strings["Send public postings to Twitter by default"] = "Lähetä oletuksena kaikki julkiset julkaisut Twitteriin"; $a->strings["Mirror all posts from twitter that are no replies"] = "Peilaa kaikki julkaisut Twitteristä jotka eivät ole vastauksia"; $a->strings["Import the remote timeline"] = "Tuo etäaikajana"; diff --git a/twitter/lang/fr/strings.php b/twitter/lang/fr/strings.php index d79c5cf9..28f11263 100644 --- a/twitter/lang/fr/strings.php +++ b/twitter/lang/fr/strings.php @@ -2,28 +2,18 @@ if(! function_exists("string_plural_select_fr")) { function string_plural_select_fr($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; $a->strings["Post to Twitter"] = "Publier sur Twitter"; $a->strings["Twitter settings updated."] = "Paramètres Twitter mis à jour."; $a->strings["Twitter Posting Settings"] = "Paramètres Twitter de publication"; -$a->strings["No consumer key pair for Twitter found. Please contact your site administrator."] = ""; -$a->strings["At this Friendica instance the Twitter addon was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter."] = ""; $a->strings["Log in with Twitter"] = "Se connecter avec Twitter"; $a->strings["Copy the PIN from Twitter here"] = "Copier le PIN de Twitter ici"; $a->strings["Submit"] = "Soumettre"; $a->strings["Currently connected to: "] = "Actuellement connecté à :"; -$a->strings["If enabled all your public postings can be posted to the associated Twitter account. You can choose to do so by default (here) or for every posting separately in the posting options when writing the entry."] = ""; -$a->strings["Note: Due your privacy settings (Hide your profile details from unknown viewers?) the link potentially included in public postings relayed to Twitter will lead the visitor to a blank page informing the visitor that the access to your profile has been restricted."] = ""; $a->strings["Allow posting to Twitter"] = "Autoriser la publication sur Twitter"; $a->strings["Send public postings to Twitter by default"] = "Envoyer par défaut les messages publics sur Twitter"; -$a->strings["Mirror all posts from twitter that are no replies or retweets"] = ""; -$a->strings["Shortening method that optimizes the tweet"] = ""; -$a->strings["Send linked #-tags and @-names to Twitter"] = ""; -$a->strings["Clear OAuth configuration"] = ""; $a->strings["Settings updated."] = "Paramètres mis à jour."; -$a->strings["Consumer key"] = ""; -$a->strings["Consumer secret"] = ""; $a->strings["Name of the Twitter Application"] = "Nom de l'application Twitter"; -$a->strings["set this to avoid mirroring postings from ~friendica back to ~friendica"] = ""; diff --git a/twitter/lang/it/strings.php b/twitter/lang/it/strings.php index 29a45b1f..998578f6 100644 --- a/twitter/lang/it/strings.php +++ b/twitter/lang/it/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Post to Twitter"] = "Invia a Twitter"; diff --git a/twitter/lang/ja/strings.php b/twitter/lang/ja/strings.php index f30a36fa..db9ef932 100644 --- a/twitter/lang/ja/strings.php +++ b/twitter/lang/ja/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ja")) { function string_plural_select_ja($n){ $n = intval($n); - return 0;; + return intval(0); }} ; $a->strings["Post to Twitter"] = "Twitterに投稿"; diff --git a/twitter/lang/nl/strings.php b/twitter/lang/nl/strings.php index 94257ca9..77cd8406 100644 --- a/twitter/lang/nl/strings.php +++ b/twitter/lang/nl/strings.php @@ -3,29 +3,13 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Post to Twitter"] = "Plaatsen op Twitter"; -$a->strings["You submitted an empty PIN, please Sign In with Twitter again to get a new one."] = ""; $a->strings["Twitter settings updated."] = "Twitter instellingen opgeslagen"; $a->strings["Twitter Import/Export/Mirror"] = "Twitter Import/Exporteren/Spiegelen"; -$a->strings["No consumer key pair for Twitter found. Please contact your site administrator."] = ""; -$a->strings["At this Friendica instance the Twitter addon was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter."] = ""; -$a->strings["Log in with Twitter"] = ""; -$a->strings["Copy the PIN from Twitter here"] = ""; $a->strings["Save Settings"] = "Instellingen opslaan"; -$a->strings["Currently connected to: "] = ""; -$a->strings["Disconnect"] = ""; $a->strings["Allow posting to Twitter"] = "Plaatsen op Twitter toestaan"; -$a->strings["If enabled all your public postings can be posted to the associated Twitter account. You can choose to do so by default (here) or for every posting separately in the posting options when writing the entry."] = ""; -$a->strings["Note: Due to your privacy settings (Hide your profile details from unknown viewers?) the link potentially included in public postings relayed to Twitter will lead the visitor to a blank page informing the visitor that the access to your profile has been restricted."] = ""; $a->strings["Send public postings to Twitter by default"] = "Verzend publieke berichten naar Twitter als standaard instellen "; -$a->strings["Mirror all posts from twitter that are no replies"] = ""; -$a->strings["Import the remote timeline"] = ""; -$a->strings["Automatically create contacts"] = ""; -$a->strings["This will automatically create a contact in Friendica as soon as you receive a message from an existing contact via the Twitter network. If you do not enable this, you need to manually add those Twitter contacts in Friendica from whom you would like to see posts here. However if enabled, you cannot merely remove a twitter contact from the Friendica contact list, as it will recreate this contact when they post again."] = ""; -$a->strings["Twitter post failed. Queued for retry."] = ""; $a->strings["Settings updated."] = "Instellingen opgeslagen"; -$a->strings["Consumer key"] = ""; -$a->strings["Consumer secret"] = ""; diff --git a/twitter/lang/pl/strings.php b/twitter/lang/pl/strings.php index c8a2fcc2..3aacaa05 100644 --- a/twitter/lang/pl/strings.php +++ b/twitter/lang/pl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ $n = intval($n); - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Post to Twitter"] = "Opublikuj na Twitterze"; diff --git a/twitter/lang/pt-br/strings.php b/twitter/lang/pt-br/strings.php index 698b761e..4347b4d2 100644 --- a/twitter/lang/pt-br/strings.php +++ b/twitter/lang/pt-br/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pt_br")) { function string_plural_select_pt_br($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; $a->strings["Post to Twitter"] = "Publicar no Twitter"; @@ -15,15 +16,6 @@ $a->strings["Copy the PIN from Twitter here"] = "Cole o código de verificação $a->strings["Submit"] = "Enviar"; $a->strings["Currently connected to: "] = "Atualmente conectado a:"; $a->strings["If enabled all your public postings can be posted to the associated Twitter account. You can choose to do so by default (here) or for every posting separately in the posting options when writing the entry."] = "Se habilitado, todos os seus posts públicos poderão ser replicados na conta do Twitter associada. Você pode escolher entre fazer isso por padrão (aqui) ou separadamente, quando escrever cada mensagem, nas opções de publicação."; -$a->strings["Note: Due your privacy settings (Hide your profile details from unknown viewers?) the link potentially included in public postings relayed to Twitter will lead the visitor to a blank page informing the visitor that the access to your profile has been restricted."] = ""; $a->strings["Allow posting to Twitter"] = "Permitir a publicação no Twitter"; $a->strings["Send public postings to Twitter by default"] = "Publicar posts públicos no Twitter por padrão"; -$a->strings["Mirror all posts from twitter that are no replies or retweets"] = ""; -$a->strings["Shortening method that optimizes the tweet"] = ""; -$a->strings["Send linked #-tags and @-names to Twitter"] = ""; -$a->strings["Clear OAuth configuration"] = ""; $a->strings["Settings updated."] = "As configurações foram atualizadas."; -$a->strings["Consumer key"] = ""; -$a->strings["Consumer secret"] = ""; -$a->strings["Name of the Twitter Application"] = ""; -$a->strings["set this to avoid mirroring postings from ~friendica back to ~friendica"] = ""; diff --git a/twitter/lang/ro/strings.php b/twitter/lang/ro/strings.php index 36a36e8c..d01f37be 100644 --- a/twitter/lang/ro/strings.php +++ b/twitter/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["Post to Twitter"] = "Postați pe Twitter"; diff --git a/twitter/lang/ru/strings.php b/twitter/lang/ru/strings.php index 39e61e4e..f5ebe11f 100644 --- a/twitter/lang/ru/strings.php +++ b/twitter/lang/ru/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ru")) { function string_plural_select_ru($n){ - return ($n%10==1 && $n%100!=11 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14) ? 1 : $n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)? 2 : 3);; + $n = intval($n); + if ($n%10==1 && $n%100!=11) { return 0; } else if ($n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14)) { return 1; } else if ($n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Post to Twitter"] = "Отправить в Twitter"; diff --git a/twitter/lang/zh-cn/strings.php b/twitter/lang/zh-cn/strings.php index 14267952..629d615f 100644 --- a/twitter/lang/zh-cn/strings.php +++ b/twitter/lang/zh-cn/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_zh_cn")) { function string_plural_select_zh_cn($n){ $n = intval($n); - return 0;; + return intval(0); }} ; $a->strings["Post to Twitter"] = "发帖到Twitter"; diff --git a/viewsrc/lang/cs/strings.php b/viewsrc/lang/cs/strings.php index 6ac28bcf..f8fd3ed8 100644 --- a/viewsrc/lang/cs/strings.php +++ b/viewsrc/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["View Source"] = "Zobrazit zdroj"; diff --git a/viewsrc/lang/fi-fi/strings.php b/viewsrc/lang/fi-fi/strings.php index 67f25b18..558f8da4 100644 --- a/viewsrc/lang/fi-fi/strings.php +++ b/viewsrc/lang/fi-fi/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["View Source"] = "Näytä lähde"; diff --git a/viewsrc/lang/fr/strings.php b/viewsrc/lang/fr/strings.php index a4abe2da..2661631c 100644 --- a/viewsrc/lang/fr/strings.php +++ b/viewsrc/lang/fr/strings.php @@ -1,2 +1,9 @@ 1); +}} +; +$a->strings["View Source"] = "Voir source"; diff --git a/viewsrc/lang/hu/strings.php b/viewsrc/lang/hu/strings.php index 171dfeee..07d5edb5 100644 --- a/viewsrc/lang/hu/strings.php +++ b/viewsrc/lang/hu/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_hu")) { function string_plural_select_hu($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["View Source"] = "Forrás megtekintése"; diff --git a/viewsrc/lang/is/strings.php b/viewsrc/lang/is/strings.php index d67368df..f84f269b 100644 --- a/viewsrc/lang/is/strings.php +++ b/viewsrc/lang/is/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_is")) { function string_plural_select_is($n){ $n = intval($n); - return ($n % 10 != 1 || $n % 100 == 11);; + return intval($n % 10 != 1 || $n % 100 == 11); }} ; $a->strings["View Source"] = "Skoða uppruna"; diff --git a/viewsrc/lang/it/strings.php b/viewsrc/lang/it/strings.php index 09b93909..d4c3b79a 100644 --- a/viewsrc/lang/it/strings.php +++ b/viewsrc/lang/it/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["View Source"] = "Vedi Sorgente"; diff --git a/viewsrc/lang/nb-no/strings.php b/viewsrc/lang/nb-no/strings.php index 4528985f..a747b57d 100644 --- a/viewsrc/lang/nb-no/strings.php +++ b/viewsrc/lang/nb-no/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_nb_no")) { function string_plural_select_nb_no($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["View Source"] = "Se kilde"; diff --git a/viewsrc/lang/nl/strings.php b/viewsrc/lang/nl/strings.php index c64e24c0..bcc24053 100644 --- a/viewsrc/lang/nl/strings.php +++ b/viewsrc/lang/nl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["View Source"] = "Bekijk Bron"; diff --git a/viewsrc/lang/pl/strings.php b/viewsrc/lang/pl/strings.php index 3b8f56ab..0349e2b2 100644 --- a/viewsrc/lang/pl/strings.php +++ b/viewsrc/lang/pl/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + $n = intval($n); + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["View Source"] = "Pokaż źródło"; diff --git a/viewsrc/lang/ru/strings.php b/viewsrc/lang/ru/strings.php index 345462c4..89e75e21 100644 --- a/viewsrc/lang/ru/strings.php +++ b/viewsrc/lang/ru/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ru")) { function string_plural_select_ru($n){ $n = intval($n); - return ($n%10==1 && $n%100!=11 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14) ? 1 : $n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)? 2 : 3);; + if ($n%10==1 && $n%100!=11) { return 0; } else if ($n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14)) { return 1; } else if ($n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["View Source"] = "Показать исходник"; diff --git a/viewsrc/lang/zh-cn/strings.php b/viewsrc/lang/zh-cn/strings.php index 33fc8222..6e986992 100644 --- a/viewsrc/lang/zh-cn/strings.php +++ b/viewsrc/lang/zh-cn/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_zh_cn")) { function string_plural_select_zh_cn($n){ $n = intval($n); - return 0;; + return intval(0); }} ; $a->strings["View Source"] = "查看源码"; diff --git a/webrtc/lang/cs/strings.php b/webrtc/lang/cs/strings.php index e8a97315..b417c6ca 100644 --- a/webrtc/lang/cs/strings.php +++ b/webrtc/lang/cs/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ - return ($n==1) ? 0 : ($n>=2 && $n<=4) ? 1 : 2;; + $n = intval($n); + if (($n==1)) { return 0; } else if (($n>=2 && $n<=4)) { return 1; } else { return 2; } }} ; $a->strings["WebRTC Videochat"] = "WebRTC Videochat"; diff --git a/webrtc/lang/de/strings.php b/webrtc/lang/de/strings.php index c94de480..5d0c409e 100644 --- a/webrtc/lang/de/strings.php +++ b/webrtc/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["WebRTC Videochat"] = "WebRTC Videochat"; diff --git a/webrtc/lang/es/strings.php b/webrtc/lang/es/strings.php index 7c79f35d..8ef6cde6 100644 --- a/webrtc/lang/es/strings.php +++ b/webrtc/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["WebRTC Videochat"] = "WebRTC Videochat"; diff --git a/webrtc/lang/fi-fi/strings.php b/webrtc/lang/fi-fi/strings.php index edf6f18a..9c533727 100644 --- a/webrtc/lang/fi-fi/strings.php +++ b/webrtc/lang/fi-fi/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["WebRTC Videochat"] = "WebRTC videokeskustelu"; @@ -12,5 +12,4 @@ $a->strings["WebRTC Base URL"] = "WebRTC perus-URL-osoite"; $a->strings["Page your users will create a WebRTC chat room on. For example you could use https://live.mayfirst.org ."] = "Sivusto jolla käyttäjäsi luo WebRTC -chattihuoneen. Esim. https://live.mayfirst.org"; $a->strings["Settings updated."] = "Asetukset päivitetty."; $a->strings["Video Chat"] = "Videokeskustelu"; -$a->strings["WebRTC is a video and audio conferencing tool that works with Firefox (version 21 and above) and Chrome/Chromium (version 25 and above). Just create a new chat room and send the link to someone you want to chat with."] = ""; $a->strings["Please contact your friendica admin and send a reminder to configure the WebRTC addon."] = "Ota yhteyttä Friendica -ylläpitäjääsi ja pyydä heitä asentamaan WebRTC -lisäosan."; diff --git a/webrtc/lang/it/strings.php b/webrtc/lang/it/strings.php index 4783ad85..6b227dc3 100644 --- a/webrtc/lang/it/strings.php +++ b/webrtc/lang/it/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["WebRTC Videochat"] = "Chat video WebRTC"; diff --git a/webrtc/lang/nl/strings.php b/webrtc/lang/nl/strings.php index 943551be..5f7b0297 100644 --- a/webrtc/lang/nl/strings.php +++ b/webrtc/lang/nl/strings.php @@ -3,14 +3,9 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["WebRTC Videochat"] = "WebRTC Videochat"; $a->strings["Save Settings"] = "Instellingen opslaan"; -$a->strings["WebRTC Base URL"] = ""; -$a->strings["Page your users will create a WebRTC chat room on. For example you could use https://live.mayfirst.org ."] = ""; $a->strings["Settings updated."] = "Instellingen opgeslagen"; -$a->strings["Video Chat"] = ""; -$a->strings["WebRTC is a video and audio conferencing tool that works with Firefox (version 21 and above) and Chrome/Chromium (version 25 and above). Just create a new chat room and send the link to someone you want to chat with."] = ""; -$a->strings["Please contact your friendica admin and send a reminder to configure the WebRTC addon."] = ""; diff --git a/webrtc/lang/pl/strings.php b/webrtc/lang/pl/strings.php index d9fdc635..5b39ed95 100644 --- a/webrtc/lang/pl/strings.php +++ b/webrtc/lang/pl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ $n = intval($n); - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["WebRTC Videochat"] = "Videochat WebRTC"; diff --git a/webrtc/lang/ro/strings.php b/webrtc/lang/ro/strings.php index 6afbbc93..ed39a26b 100644 --- a/webrtc/lang/ro/strings.php +++ b/webrtc/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["WebRTC Videochat"] = "Videochat WebRTC "; diff --git a/webrtc/lang/zh-cn/strings.php b/webrtc/lang/zh-cn/strings.php index 1d41cd16..587ffecb 100644 --- a/webrtc/lang/zh-cn/strings.php +++ b/webrtc/lang/zh-cn/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_zh_cn")) { function string_plural_select_zh_cn($n){ $n = intval($n); - return 0;; + return intval(0); }} ; $a->strings["WebRTC Videochat"] = "WebRTC 视频通话"; diff --git a/windowsphonepush/lang/cs/strings.php b/windowsphonepush/lang/cs/strings.php index 1afd57ff..37333f14 100644 --- a/windowsphonepush/lang/cs/strings.php +++ b/windowsphonepush/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["WindowsPhonePush settings updated."] = "Nastavení WindowsPhonePush aktualizována"; diff --git a/windowsphonepush/lang/de/strings.php b/windowsphonepush/lang/de/strings.php index e03a0bd7..4c1524b5 100644 --- a/windowsphonepush/lang/de/strings.php +++ b/windowsphonepush/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["WindowsPhonePush settings updated."] = "WindowsPhonePush Einstellungen aktualisiert."; diff --git a/windowsphonepush/lang/es/strings.php b/windowsphonepush/lang/es/strings.php index b1a1bd37..d05076f4 100644 --- a/windowsphonepush/lang/es/strings.php +++ b/windowsphonepush/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["WindowsPhonePush settings updated."] = "Ajustes de WindowsPhonePush actualizados."; diff --git a/windowsphonepush/lang/fi-fi/strings.php b/windowsphonepush/lang/fi-fi/strings.php index 3383a021..f4fa90d7 100644 --- a/windowsphonepush/lang/fi-fi/strings.php +++ b/windowsphonepush/lang/fi-fi/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["WindowsPhonePush settings updated."] = "WindowsPhonePush -asetuket päivitetty."; diff --git a/windowsphonepush/lang/fr/strings.php b/windowsphonepush/lang/fr/strings.php index a23fabb1..17298ad1 100644 --- a/windowsphonepush/lang/fr/strings.php +++ b/windowsphonepush/lang/fr/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_fr")) { function string_plural_select_fr($n){ $n = intval($n); - return ($n > 1);; + return intval($n > 1); }} ; $a->strings["WindowsPhonePush settings updated."] = "Paramètres WindowsPhonePush mis à jour"; diff --git a/windowsphonepush/lang/hu/strings.php b/windowsphonepush/lang/hu/strings.php index 6fff2879..16868424 100644 --- a/windowsphonepush/lang/hu/strings.php +++ b/windowsphonepush/lang/hu/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_hu")) { function string_plural_select_hu($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["WindowsPhonePush settings updated."] = "A WindowsPhonePush beállításai frissítve."; diff --git a/windowsphonepush/lang/it/strings.php b/windowsphonepush/lang/it/strings.php index a45c2c7f..733ed9c3 100644 --- a/windowsphonepush/lang/it/strings.php +++ b/windowsphonepush/lang/it/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["WindowsPhonePush settings updated."] = "Impostazioni WindowsPhonePush aggiornate."; diff --git a/windowsphonepush/lang/nl/strings.php b/windowsphonepush/lang/nl/strings.php index 1ac1b717..ea334b64 100644 --- a/windowsphonepush/lang/nl/strings.php +++ b/windowsphonepush/lang/nl/strings.php @@ -3,11 +3,10 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["WindowsPhonePush settings updated."] = "WindowsPhonePush instellingen opgeslagen"; $a->strings["WindowsPhonePush Settings"] = "WindowsPhonePush instellingen"; $a->strings["Enable WindowsPhonePush Addon"] = "WindowsPhonePush Addon inschakelen"; -$a->strings["Push text of new item"] = ""; $a->strings["Save Settings"] = "Instellingen opslaan"; diff --git a/windowsphonepush/lang/ro/strings.php b/windowsphonepush/lang/ro/strings.php index 819ef6fe..5dc60c2d 100644 --- a/windowsphonepush/lang/ro/strings.php +++ b/windowsphonepush/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["WindowsPhonePush settings updated."] = "Configurări WindowsPhonePush actualizate."; diff --git a/windowsphonepush/lang/zh-cn/strings.php b/windowsphonepush/lang/zh-cn/strings.php index 3782a314..ad6e43d2 100644 --- a/windowsphonepush/lang/zh-cn/strings.php +++ b/windowsphonepush/lang/zh-cn/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_zh_cn")) { function string_plural_select_zh_cn($n){ $n = intval($n); - return 0;; + return intval(0); }} ; $a->strings["WindowsPhonePush settings updated."] = "WindowsPhonePush 设置已更新。"; diff --git a/wppost/lang/cs/strings.php b/wppost/lang/cs/strings.php index 6ed8f6c4..b56616fa 100644 --- a/wppost/lang/cs/strings.php +++ b/wppost/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["Post to Wordpress"] = "Odesílat na WordPress"; diff --git a/wppost/lang/de/strings.php b/wppost/lang/de/strings.php index 57ae6afe..9591b02d 100644 --- a/wppost/lang/de/strings.php +++ b/wppost/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Post to Wordpress"] = "Bei WordPress veröffentlichen"; diff --git a/wppost/lang/es/strings.php b/wppost/lang/es/strings.php index fab68021..499e422e 100644 --- a/wppost/lang/es/strings.php +++ b/wppost/lang/es/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_es")) { function string_plural_select_es($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["Post to Wordpress"] = "Publicar en Wordpress"; diff --git a/wppost/lang/fi-fi/strings.php b/wppost/lang/fi-fi/strings.php index 0d1353d8..0beef11b 100644 --- a/wppost/lang/fi-fi/strings.php +++ b/wppost/lang/fi-fi/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Post to Wordpress"] = "Lähetä WordPressiin"; diff --git a/wppost/lang/it/strings.php b/wppost/lang/it/strings.php index 0b9674a0..a23788f0 100644 --- a/wppost/lang/it/strings.php +++ b/wppost/lang/it/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Post to Wordpress"] = "Invia a Wordpress"; diff --git a/wppost/lang/nl/strings.php b/wppost/lang/nl/strings.php index d838cccd..315326c0 100644 --- a/wppost/lang/nl/strings.php +++ b/wppost/lang/nl/strings.php @@ -3,19 +3,13 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["Post to Wordpress"] = "Plaatsen op Wordpress"; $a->strings["Wordpress Export"] = "Wordpress Exporteren"; $a->strings["Enable WordPress Post Addon"] = "Wordpress Post Addon Inschakelen"; -$a->strings["WordPress username"] = ""; -$a->strings["WordPress password"] = ""; -$a->strings["WordPress API URL"] = ""; $a->strings["Post to WordPress by default"] = "Plaatsen op Wordpress als standaard instellen "; $a->strings["Provide a backlink to the Friendica post"] = "Geef een terugkoppeling naar get Friendica bericht"; -$a->strings["Text for the backlink, e.g. Read the original post and comment stream on Friendica."] = ""; $a->strings["Don't post messages that are too short"] = "Plaats geen berichten die te kort zijn"; $a->strings["Save Settings"] = "Instellingen opslaan"; -$a->strings["Read the orig­i­nal post and com­ment stream on Friendica"] = ""; -$a->strings["Post from Friendica"] = ""; diff --git a/wppost/lang/pl/strings.php b/wppost/lang/pl/strings.php index 3c152f48..d87397c7 100644 --- a/wppost/lang/pl/strings.php +++ b/wppost/lang/pl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ $n = intval($n); - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["Post to Wordpress"] = "Opublikuj w Wordpress"; diff --git a/wppost/lang/pt-br/strings.php b/wppost/lang/pt-br/strings.php index fc59fcb3..b332bc1d 100644 --- a/wppost/lang/pt-br/strings.php +++ b/wppost/lang/pt-br/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pt_br")) { function string_plural_select_pt_br($n){ - return ($n > 1);; + $n = intval($n); + return intval($n > 1); }} ; $a->strings["Post to Wordpress"] = "Publicar no Wordpress"; @@ -10,9 +11,5 @@ $a->strings["WordPress Post Settings"] = "Configurações de publicação no Wor $a->strings["Enable WordPress Post Addon"] = "Habilitar plug-in para publicar no WordPress"; $a->strings["WordPress username"] = "Nome de usuário no WordPress"; $a->strings["WordPress password"] = "Senha do WordPress"; -$a->strings["WordPress API URL"] = ""; $a->strings["Post to WordPress by default"] = "Publicar no WordPress por padrão"; -$a->strings["Provide a backlink to the Friendica post"] = ""; $a->strings["Submit"] = "Enviar"; -$a->strings["Post from Friendica"] = ""; -$a->strings["Read the original post and comment stream on Friendica"] = ""; diff --git a/wppost/lang/ro/strings.php b/wppost/lang/ro/strings.php index fcd0efa4..aa734f72 100644 --- a/wppost/lang/ro/strings.php +++ b/wppost/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["Post to Wordpress"] = "Postați pe Wordpress"; diff --git a/wppost/lang/zh-cn/strings.php b/wppost/lang/zh-cn/strings.php index e74c598b..fe8467dd 100644 --- a/wppost/lang/zh-cn/strings.php +++ b/wppost/lang/zh-cn/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_zh_cn")) { function string_plural_select_zh_cn($n){ $n = intval($n); - return 0;; + return intval(0); }} ; $a->strings["Post to Wordpress"] = "发布到 Wordpress"; diff --git a/xmpp/lang/cs/strings.php b/xmpp/lang/cs/strings.php index 4601f890..8574773e 100644 --- a/xmpp/lang/cs/strings.php +++ b/xmpp/lang/cs/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ $n = intval($n); - return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; + if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } }} ; $a->strings["XMPP settings updated."] = "Nastavení XMPP aktualizována"; @@ -13,5 +13,4 @@ $a->strings["Individual Credentials"] = "Jednotlivé kredenciály"; $a->strings["Jabber BOSH host"] = "BOSH host Jabber"; $a->strings["Save Settings"] = "Uložit nastavení"; $a->strings["Use central userbase"] = "Použít centrální uživatelskou základnu"; -$a->strings["If enabled, users will automatically login to an ejabberd server that has to be installed on this machine with synchronized credentials via the \"auth_ejabberd.php\" script."] = "Pokud tuto funkci povolíte, uživatelé budou automaticky přihlášeni na server ejabberd, který musí být nainstalovaný na tomto serveru se synchronizovanými kredenciálami přes skript \"auth_ejabberd.php\"."; $a->strings["Settings updated."] = "Nastavení aktualizována"; diff --git a/xmpp/lang/de/strings.php b/xmpp/lang/de/strings.php index a8785024..920628dc 100644 --- a/xmpp/lang/de/strings.php +++ b/xmpp/lang/de/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["XMPP settings updated."] = "XMPP Einstellungen aktualisiert."; @@ -12,5 +13,4 @@ $a->strings["Individual Credentials"] = "Individuelle Anmeldedaten"; $a->strings["Jabber BOSH host"] = "Jabber BOSH Host"; $a->strings["Save Settings"] = "Speichere Einstellungen"; $a->strings["Use central userbase"] = "Nutze zentrale Nutzerbasis"; -$a->strings["If enabled, users will automatically login to an ejabberd server that has to be installed on this machine with synchronized credentials via the \"auth_ejabberd.php\" script."] = "Wenn aktiviert, werden die Nutzer automatisch auf dem EJabber Server, der auf dieser Maschine installiert ist, angemeldet und die Zugangsdaten werden über das \"auth_ejabberd.php\"-Script synchronisiert."; $a->strings["Settings updated."] = "Einstellungen aktualisiert."; diff --git a/xmpp/lang/en-us/strings.php b/xmpp/lang/en-us/strings.php index 1112c27b..bf50f067 100644 --- a/xmpp/lang/en-us/strings.php +++ b/xmpp/lang/en-us/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_en_us")) { function string_plural_select_en_us($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["XMPP settings updated."] = "XMPP settings updated."; @@ -12,5 +13,4 @@ $a->strings["Individual Credentials"] = "Individual Credentials"; $a->strings["Jabber BOSH host"] = "Jabber BOSH host"; $a->strings["Save Settings"] = "Save Settings"; $a->strings["Use central userbase"] = "Use central userbase"; -$a->strings["If enabled, users will automatically login to an ejabberd server that has to be installed on this machine with synchronized credentials via the \"auth_ejabberd.php\" script."] = "If enabled, users will automatically login to an ejabberd server that has to be installed on this machine with synchronized credentials via the \"auth_ejabberd.php\" script."; $a->strings["Settings updated."] = "Settings updated."; diff --git a/xmpp/lang/fi-fi/strings.php b/xmpp/lang/fi-fi/strings.php index fa9aaf29..d00f98c0 100644 --- a/xmpp/lang/fi-fi/strings.php +++ b/xmpp/lang/fi-fi/strings.php @@ -2,15 +2,12 @@ if(! function_exists("string_plural_select_fi_fi")) { function string_plural_select_fi_fi($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["XMPP settings updated."] = "XMPP-asetukset päivitetty"; $a->strings["XMPP-Chat (Jabber)"] = "XMPP-Chat (Jabber)"; $a->strings["Enable Webchat"] = "Ota Webchat käyttöön"; -$a->strings["Individual Credentials"] = ""; -$a->strings["Jabber BOSH host"] = ""; $a->strings["Save Settings"] = "Tallenna asetukset"; -$a->strings["Use central userbase"] = ""; -$a->strings["If enabled, users will automatically login to an ejabberd server that has to be installed on this machine with synchronized credentials via the \"auth_ejabberd.php\" script."] = ""; $a->strings["Settings updated."] = "Asetukset päivitetty."; diff --git a/xmpp/lang/it/strings.php b/xmpp/lang/it/strings.php index d0bebb7e..fe43d8fb 100644 --- a/xmpp/lang/it/strings.php +++ b/xmpp/lang/it/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_it")) { function string_plural_select_it($n){ - return ($n != 1);; + $n = intval($n); + return intval($n != 1); }} ; $a->strings["XMPP settings updated."] = "Impostazioni XMPP aggiornate."; @@ -12,5 +13,4 @@ $a->strings["Individual Credentials"] = "Credenziali Individuali"; $a->strings["Jabber BOSH host"] = "Server Jabber BOSH"; $a->strings["Save Settings"] = "Salva Impostazioni"; $a->strings["Use central userbase"] = "Usa base utenti centrale"; -$a->strings["If enabled, users will automatically login to an ejabberd server that has to be installed on this machine with synchronized credentials via the \"auth_ejabberd.php\" script."] = "Se abilitato, gli utenti verranno automaticamente autenticati con un server ejabber che deve essere installato su questa macchina, con le credenziali sincronizzate attraverso lo script \"auth_ejabberd.php\""; $a->strings["Settings updated."] = "Impostazioni aggiornate."; diff --git a/xmpp/lang/nl/strings.php b/xmpp/lang/nl/strings.php index 7b470759..97b78226 100644 --- a/xmpp/lang/nl/strings.php +++ b/xmpp/lang/nl/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_nl")) { function string_plural_select_nl($n){ $n = intval($n); - return ($n != 1);; + return intval($n != 1); }} ; $a->strings["XMPP settings updated."] = "XMPP-instellingen opgeslagen"; @@ -13,5 +13,4 @@ $a->strings["Individual Credentials"] = "Individuele inloggegevens"; $a->strings["Jabber BOSH host"] = "Jabber BOSH Server"; $a->strings["Save Settings"] = "Instellingen opslaan"; $a->strings["Use central userbase"] = "Gebruik centrale gebruikersbank"; -$a->strings["If enabled, users will automatically login to an ejabberd server that has to be installed on this machine with synchronized credentials via the \"auth_ejabberd.php\" script."] = "Wanneer ingeschakeld zullen gebruikers automatisch inloggen op een ejabberd-server die op deze server moet geïnstalleerd staan, met dezelfde gebruikersnaam en wachtwoord, via het \"auth_ejabberd.php\" script."; $a->strings["Settings updated."] = "Instellingen opgeslagen"; diff --git a/xmpp/lang/pl/strings.php b/xmpp/lang/pl/strings.php index a247b7e1..cca96781 100644 --- a/xmpp/lang/pl/strings.php +++ b/xmpp/lang/pl/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ - return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; + $n = intval($n); + if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["XMPP settings updated."] = "zaktualizowano ustawienia XMPP."; @@ -12,5 +13,4 @@ $a->strings["Individual Credentials"] = "Indywidualne poświadczenia"; $a->strings["Jabber BOSH host"] = "Jabber BOSH host"; $a->strings["Save Settings"] = "Zapisz ustawienia"; $a->strings["Use central userbase"] = "Użyj centralnej bazy użytkowników"; -$a->strings["If enabled, users will automatically login to an ejabberd server that has to be installed on this machine with synchronized credentials via the \"auth_ejabberd.php\" script."] = "Jeśli jest włączona, użytkownicy automatycznie logują się do serwera ejabberd, który musi być zainstalowany na tym komputerze z synchronizowanymi danymi uwierzytelniającymi za pomocą skryptu \"auth_ejabberd.php\"."; $a->strings["Settings updated."] = "Ustawienia zaktualizowane."; diff --git a/xmpp/lang/pt-br/strings.php b/xmpp/lang/pt-br/strings.php index c3bd9bb1..eab89d0e 100644 --- a/xmpp/lang/pt-br/strings.php +++ b/xmpp/lang/pt-br/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_pt_br")) { function string_plural_select_pt_br($n){ $n = intval($n); - return ($n > 1);; + return intval($n > 1); }} ; $a->strings["XMPP settings updated."] = "Configurações de XMPP atualizadas."; @@ -13,5 +13,4 @@ $a->strings["Individual Credentials"] = "Credenciais individuais"; $a->strings["Jabber BOSH host"] = "Host BOSH de Jabber"; $a->strings["Save Settings"] = "Salvar configurações"; $a->strings["Use central userbase"] = "Usar base de usuários central"; -$a->strings["If enabled, users will automatically login to an ejabberd server that has to be installed on this machine with synchronized credentials via the \"auth_ejabberd.php\" script."] = "Se habilitado, a autenticação será feita automaticamente em um servidor ejabberd, que precisa ser instalado neste computador com credenciais sincronizadas por meio do script \"auth_ejabberd.php\"."; $a->strings["Settings updated."] = "Configurações atualizadas."; diff --git a/xmpp/lang/ru/strings.php b/xmpp/lang/ru/strings.php index 499cb981..a76acca7 100644 --- a/xmpp/lang/ru/strings.php +++ b/xmpp/lang/ru/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_ru")) { function string_plural_select_ru($n){ $n = intval($n); - return ($n%10==1 && $n%100!=11 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14) ? 1 : $n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)? 2 : 3);; + if ($n%10==1 && $n%100!=11) { return 0; } else if ($n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14)) { return 1; } else if ($n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)) { return 2; } else { return 3; } }} ; $a->strings["XMPP settings updated."] = "Настройки XMPP обновлены."; @@ -13,5 +13,4 @@ $a->strings["Individual Credentials"] = "Ваши данные для входа $a->strings["Jabber BOSH host"] = "BOSH хост"; $a->strings["Save Settings"] = "Сохранить настройки"; $a->strings["Use central userbase"] = "Использовать централизованную БД пользователей"; -$a->strings["If enabled, users will automatically login to an ejabberd server that has to be installed on this machine with synchronized credentials via the \"auth_ejabberd.php\" script."] = "Если включено, то пользователи будут автоматически входить в учетную запись на ejabberd сервере, который должен быть установлен на этом сервере. Учетные данные должны быть синхронизированы с помощью скрипта \"auth_ejabberd.php\"."; $a->strings["Settings updated."] = "Настройки обновлены."; diff --git a/xmpp/lang/zh-cn/strings.php b/xmpp/lang/zh-cn/strings.php index 6f5aace2..95144787 100644 --- a/xmpp/lang/zh-cn/strings.php +++ b/xmpp/lang/zh-cn/strings.php @@ -3,7 +3,7 @@ if(! function_exists("string_plural_select_zh_cn")) { function string_plural_select_zh_cn($n){ $n = intval($n); - return 0;; + return intval(0); }} ; $a->strings["XMPP settings updated."] = "XMPP 设置已更新。";