From 90875067f521566b49fa3b7d807bc93006023241 Mon Sep 17 00:00:00 2001
From: Tobias Diekershoff <tobias.diekershoff@gmx.net>
Date: Sun, 1 Apr 2018 18:31:05 +0200
Subject: [PATCH] ljpost PL translation

---
 ljpost/lang/pl/messages.po | 48 ++++++++++++++++++++++++++++++++++++++
 ljpost/lang/pl/strings.php | 23 +++++++++++-------
 2 files changed, 62 insertions(+), 9 deletions(-)
 create mode 100644 ljpost/lang/pl/messages.po

diff --git a/ljpost/lang/pl/messages.po b/ljpost/lang/pl/messages.po
new file mode 100644
index 00000000..3e7f778c
--- /dev/null
+++ b/ljpost/lang/pl/messages.po
@@ -0,0 +1,48 @@
+# ADDON ljpost
+# Copyright (C)
+# This file is distributed under the same license as the Friendica ljpost addon package.
+# 
+# 
+# Translators:
+# Waldemar Stoczkowski <waldemar.stoczkowski@gmail.com>, 2018
+msgid ""
+msgstr ""
+"Project-Id-Version: friendica\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2013-02-27 05:01-0500\n"
+"PO-Revision-Date: 2018-04-01 14:39+0000\n"
+"Last-Translator: Waldemar Stoczkowski <waldemar.stoczkowski@gmail.com>\n"
+"Language-Team: Polish (http://www.transifex.com/Friendica/friendica/language/pl/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Language: pl\n"
+"Plural-Forms: nplurals=4; plural=(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"
+
+#: ljpost.php:39
+msgid "Post to LiveJournal"
+msgstr "Opublikuj w LiveJournal"
+
+#: ljpost.php:70
+msgid "LiveJournal Post Settings"
+msgstr "Ustawienia Postów LiveJournal"
+
+#: ljpost.php:72
+msgid "Enable LiveJournal Post Addon"
+msgstr "Włącz dodatek LiveJournal"
+
+#: ljpost.php:77
+msgid "LiveJournal username"
+msgstr "Nazwa użytkownika LiveJournal"
+
+#: ljpost.php:82
+msgid "LiveJournal password"
+msgstr "Hasło LiveJournal"
+
+#: ljpost.php:87
+msgid "Post to LiveJournal by default"
+msgstr "Opublikuj domyślnie w LiveJournal"
+
+#: ljpost.php:93
+msgid "Submit"
+msgstr "Wyślij"
diff --git a/ljpost/lang/pl/strings.php b/ljpost/lang/pl/strings.php
index a96826ee..0ece87ca 100644
--- a/ljpost/lang/pl/strings.php
+++ b/ljpost/lang/pl/strings.php
@@ -1,9 +1,14 @@
-<?php
-
-$a->strings["Post to LiveJournal"] = "Post do LiveJournal";
-$a->strings["LiveJournal Post Settings"] = "Ustawienia postów do LiveJournal";
-$a->strings["Enable LiveJournal Post Addon"] = "";
-$a->strings["LiveJournal username"] = "Nazwa użytkownika do LiveJournal";
-$a->strings["LiveJournal password"] = "Hasło do LiveJournal";
-$a->strings["Post to LiveJournal by default"] = "automatycznie publikuj na LiveJournal";
-$a->strings["Submit"] = "Potwierdź";
+<?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["Post to LiveJournal"] = "Opublikuj w LiveJournal";
+$a->strings["LiveJournal Post Settings"] = "Ustawienia Postów LiveJournal";
+$a->strings["Enable LiveJournal Post Addon"] = "Włącz dodatek LiveJournal";
+$a->strings["LiveJournal username"] = "Nazwa użytkownika LiveJournal";
+$a->strings["LiveJournal password"] = "Hasło LiveJournal";
+$a->strings["Post to LiveJournal by default"] = "Opublikuj domyślnie w LiveJournal";
+$a->strings["Submit"] = "Wyślij";
-- 
2.39.5