From dcee0c7d392d862cfe5abffce253fa9a0d617703 Mon Sep 17 00:00:00 2001 From: EmilKra <13189757+EmilKra@users.noreply.github.com> Date: Sun, 16 Sep 2018 14:43:44 +0200 Subject: [PATCH 1/4] Update pl.json --- i18n/pl.json | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/i18n/pl.json b/i18n/pl.json index 7440cf05..f1ff9ded 100644 --- a/i18n/pl.json +++ b/i18n/pl.json @@ -133,7 +133,7 @@ "The cloned file '%s' was attached to this paste.": "The cloned file '%s' was attached to this paste.", "Attach a file": "Załącz plik", "alternatively drag & drop a file or paste an image from the clipboard": "alternatively drag & drop a file or paste an image from the clipboard", - "File too large, to display a preview. Please download the attachment.": "File too large, to display a preview. Please download the attachment.", + "File too large, to display a preview. Please download the attachment.": "Plik zbyt duży aby wyświetlić podgląd. Proszę pobrać załącznik.", "Remove attachment": "Usuń załącznik", "Your browser does not support uploading encrypted files. Please use a newer browser.": "Twoja przeglądarka nie wspiera wysyłania zaszyfrowanych plików. Użyj nowszej przeglądarki.", @@ -145,15 +145,16 @@ "%s requires the PATH to end in a \"%s\". Please update the PATH in your index.php.": "%s requires the PATH to end in a \"%s\". Please update the PATH in your index.php.", "Decrypt": - "Decrypt", + "Odszyfruj", "Enter password": "Wpisz hasło", - "Loading…": "Loading…", - "Decrypting paste…": "Decrypting paste…", - "Preparing new paste…": "Preparing new paste…", + "Loading…": + "Wczytywanie…", + "Decrypting paste…": "Odszyfrowywanie wklejki…", + "Preparing new paste…": "Przygotowywanie nowej wklejki…", "In case this message never disappears please have a look at this FAQ for information to troubleshoot.": "In case this message never disappears please have a look at this FAQ for information to troubleshoot (in English).", "+++ no paste text +++": "+++ no paste text +++", "Could not get paste data: %s": "Could not get paste data: %s" -} \ No newline at end of file +} From 256a5b24500b5a83a621eb53ceaa0466d9c4ed7d Mon Sep 17 00:00:00 2001 From: EmilKra <13189757+EmilKra@users.noreply.github.com> Date: Sun, 16 Sep 2018 16:50:44 +0200 Subject: [PATCH 2/4] Update pl.json --- i18n/pl.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/i18n/pl.json b/i18n/pl.json index f1ff9ded..0c06f95f 100644 --- a/i18n/pl.json +++ b/i18n/pl.json @@ -8,7 +8,7 @@ "Paste does not exist, has expired or has been deleted.": "Wklejka nie istnieje, wygasła albo została usunięta.", "%s requires php %s or above to work. Sorry.": - "%s wymaga PHP w wersji %s lub nowszej, sorry.", + "%s wymaga PHP w wersji %s lub nowszej. Przykro mi.", "%s requires configuration section [%s] to be present in configuration file.": "%s wymaga obecności sekcji [%s] w pliku konfiguracyjnym.", "Please wait %d seconds between each post.": @@ -130,9 +130,9 @@ "Markdown": "Markdown", "Download attachment": "Pobierz załącznik", "Cloned: '%s'": "Sklonowano: '%s'", - "The cloned file '%s' was attached to this paste.": "The cloned file '%s' was attached to this paste.", + "The cloned file '%s' was attached to this paste.": "Sklonowany plik '%s' był dołączony do tej wklejki.", "Attach a file": "Załącz plik", - "alternatively drag & drop a file or paste an image from the clipboard": "alternatively drag & drop a file or paste an image from the clipboard", + "alternatively drag & drop a file or paste an image from the clipboard": "Alternatywnie przeciągnij i upuść plik albo wklej obraz ze schowka", "File too large, to display a preview. Please download the attachment.": "Plik zbyt duży aby wyświetlić podgląd. Proszę pobrać załącznik.", "Remove attachment": "Usuń załącznik", "Your browser does not support uploading encrypted files. Please use a newer browser.": @@ -153,7 +153,7 @@ "Decrypting paste…": "Odszyfrowywanie wklejki…", "Preparing new paste…": "Przygotowywanie nowej wklejki…", "In case this message never disappears please have a look at this FAQ for information to troubleshoot.": - "In case this message never disappears please have a look at this FAQ for information to troubleshoot (in English).", + "W przypadku gdy ten komunikat nigdy nie znika, proszę spójrz na to FAQ aby rozwiązać problem (po angielsku).", "+++ no paste text +++": "+++ no paste text +++", "Could not get paste data: %s": "Could not get paste data: %s" From 538462f1343249ce2db06193d084c1de8fbe36c6 Mon Sep 17 00:00:00 2001 From: Benjamin Neff Date: Tue, 2 Oct 2018 02:06:44 +0200 Subject: [PATCH 3/4] Fix download-link color in dark boostrap themes This makes the "Download attachment" link white in bootstrap-dark and boostrap-dark-page. This is an upstream bug of darkstrap, but it's not maintained anymore. --- css/bootstrap/privatebin.css | 4 ++++ tpl/bootstrap.php | 3 +++ 2 files changed, 7 insertions(+) diff --git a/css/bootstrap/privatebin.css b/css/bootstrap/privatebin.css index 6c4b1028..8355ac38 100644 --- a/css/bootstrap/privatebin.css +++ b/css/bootstrap/privatebin.css @@ -144,3 +144,7 @@ footer h4 { li.L0, li.L1, li.L2, li.L3, li.L5, li.L6, li.L7, li.L8 { list-style-type: decimal !important; } + +.dark-theme .alert-info .alert-link { + color: #fff; +} diff --git a/tpl/bootstrap.php b/tpl/bootstrap.php index 272c4cb6..91fb815c 100644 --- a/tpl/bootstrap.php +++ b/tpl/bootstrap.php @@ -92,6 +92,9 @@ endif; if ($isCpct): ?> class="navbar-spacing" class="dark-theme">