Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/juliushaertl/theming_customcss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2021-11-04 11:53:01 +0300
committerGitHub <noreply@github.com>2021-11-04 11:53:01 +0300
commit16f934264019b2e617f7791aa97034248b88608a (patch)
tree1cfeffa618f895ca1df50c9d91ebf8de3b33cc56
parent8bfaf9509d9fa74ac49413c5963866e26f15641e (diff)
parent61092169045f90451ce020fd9012dbe78bb1d4a9 (diff)
Merge pull request #25 from Valdnet/master
-rw-r--r--l10n/pl.js11
-rw-r--r--l10n/pl.json9
-rw-r--r--templates/settings-admin.php68
3 files changed, 54 insertions, 34 deletions
diff --git a/l10n/pl.js b/l10n/pl.js
new file mode 100644
index 0000000..af5d829
--- /dev/null
+++ b/l10n/pl.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "theming_customcss",
+ {
+ "Custom CSS" : "Niestandardowe CSS",
+ "You can specify your own CSS here. Be aware that this might break something after upgrade." : "Tutaj możesz określić swój własny CSS. Pamiętaj, że po aktualizacji może to coś zepsuć.",
+ "Insert your custom CSS here …" : "Wstaw tutaj swój niestandardowy kod CSS…",
+ "Save" : "Zapisz",
+ "Saved" : "Zapisano",
+ "Error" : "Błąd"
+},
+"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);");
diff --git a/l10n/pl.json b/l10n/pl.json
new file mode 100644
index 0000000..eee282b
--- /dev/null
+++ b/l10n/pl.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Custom CSS" : "Niestandardowe CSS",
+ "You can specify your own CSS here. Be aware that this might break something after upgrade." : "Tutaj możesz określić swój własny CSS. Pamiętaj, że po aktualizacji może to coś zepsuć.",
+ "Insert your custom CSS here …" : "Wstaw tutaj swój niestandardowy kod CSS…",
+ "Save" : "Zapisz",
+ "Saved" : "Zapisano",
+ "Error" : "Błąd"
+},"pluralForm" :"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);"
+}
diff --git a/templates/settings-admin.php b/templates/settings-admin.php
index 272c610..7742d6b 100644
--- a/templates/settings-admin.php
+++ b/templates/settings-admin.php
@@ -1,34 +1,34 @@
-<?php
-/**
- * @copyright Copyright (c) 2017 Julius Härtl <jus@bitgrid.net>
- *
- * @author Julius Härtl <jus@bitgrid.net>
- *
- * @license GNU AGPL version 3 or any later version
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-script('theming_customcss', 'settings-admin');
-style('theming_customcss', 'settings-admin');
-?>
-<div id="theming-customcss" class="section">
- <h2 class="inlineblock"><?php p($l->t('Custom CSS')); ?></h2>
- <p class="settings-hint"><?php p($l->t('You can specify your own CSS here. Be aware that this might break something after upgrade.')); ?></p>
- <div id="theming-customcss_settings_msg" class="msg success inlineblock" style="display: none;">Saved</div>
- <div>
- <textarea id="theming-customcss-input" placeholder="<?php p($l->t('Insert your custom CSS here…')); ?>"><?php p($_['customcss']) ?></textarea>
- <button class="primary">Save</button>
- </div>
-</div>
+<?php
+/**
+ * @copyright Copyright (c) 2017 Julius Härtl <jus@bitgrid.net>
+ *
+ * @author Julius Härtl <jus@bitgrid.net>
+ *
+ * @license GNU AGPL version 3 or any later version
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+script('theming_customcss', 'settings-admin');
+style('theming_customcss', 'settings-admin');
+?>
+<div id="theming-customcss" class="section">
+ <h2 class="inlineblock"><?php p($l->t('Custom CSS')); ?></h2>
+ <p class="settings-hint"><?php p($l->t('You can specify your own CSS here. Be aware that this might break something after upgrade.')); ?></p>
+ <div id="theming-customcss_settings_msg" class="msg success inlineblock" style="display: none;">Saved</div>
+ <div>
+ <textarea id="theming-customcss-input" placeholder="<?php p($l->t('Insert your custom CSS here …')); ?>"><?php p($_['customcss']) ?></textarea>
+ <button class="primary"><?php p($l->t('Save')); ?></button>
+ </div>
+</div>