]> git.mxchange.org Git - friendica-addons.git/blobdiff - tictac/lang/pl/strings.php
Merge pull request #591 from MrPetovan/task/4867-guess-language-from-plaintext
[friendica-addons.git] / tictac / lang / pl / strings.php
index 2f114f4187aa115ae8f4368841d6c4a9d3c9b868..f904e06a38d935a821cb8a2fd01debff9f6bac06 100644 (file)
@@ -1,14 +1,19 @@
-<?php\r
-\r
-$a->strings["Three Dimensional Tic-Tac-Toe"] = "Trójwymiarowy Kółko i krzyżyk";\r
-$a->strings["3D Tic-Tac-Toe"] = "Kółko i krzyżyk 3D";\r
-$a->strings["New game"] = "Nowa gra";\r
-$a->strings["New game with handicap"] = "Nowa gra z utrudnieniem";\r
-$a->strings["Three dimensional tic-tac-toe is just like the traditional game except that it is played on multiple levels simultaneously. "] = "Trójwymiarowy tic-tac-toe jest taki sam jak tradycyjna gra, nie licząc tego, że jest grana na kilku poziomach jednocześnie.";\r
-$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."] = "W tym przypadku są trzy poziomy. Wygrywasz poprzez zdobycie trójki w szeregu na którymkolwiek z poziomów zarówno u góry, na dole, jak i na ukos poprzez kilka różnych poziomów.";\r
-$a->strings["The handicap game disables the center position on the middle level because the player claiming this square often has an unfair advantage."] = "";\r
-$a->strings["You go first..."] = "Ty pierwszy...";\r
-$a->strings["I'm going first this time..."] = "Zaczynam...";\r
-$a->strings["You won!"] = "Wygrałeś!";\r
-$a->strings["__DQ__Cat__DQ__ game!"] = "Gra \"Kot\"!";\r
-$a->strings["I won!"] = "Wygrałem!";\r
+<?php
+
+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);;
+}}
+;
+$a->strings["Three Dimensional Tic-Tac-Toe"] = "Trójwymiarowe Kółko i Krzyżyk";
+$a->strings["3D Tic-Tac-Toe"] = "3D Kółko i krzyżyk";
+$a->strings["New game"] = "Nowa gra";
+$a->strings["New game with handicap"] = "Nowa gra z handicapem";
+$a->strings["Three dimensional tic-tac-toe is just like the traditional game except that it is played on multiple levels simultaneously. "] = "Zasady gry w Trójwymiarowe Kółko i Krzyżyk są takie same jak w tradycyjnej grze, z tym wyjątkiem, że gra się na wielu poziomach jednocześnie.";
+$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."] = "W tym przypadku istnieją trzy poziomy. Wygrywasz, jeśli ustawisz trzy znaki w rzędzie na dowolnym poziomie, a także w górę, w dół i po przekątnej na różnych poziomach.";
+$a->strings["The handicap game disables the center position on the middle level because the player claiming this square often has an unfair advantage."] = "Gra z handicapem wyłącza środkową pozycję na środkowym poziomie, ponieważ gracz zdobywający ten kwadrat często ma nieuczciwą przewagę.";
+$a->strings["You go first..."] = "Rozpocznij pierwszy...";
+$a->strings["I'm going first this time..."] = "Tym razem rozpoczynam pierwszy...";
+$a->strings["You won!"] = "Wygrałeś!";
+$a->strings["\"Cat\" game!"] = "Gra \"Kot\"!";
+$a->strings["I won!"] = "Wygrałem!";