From 9dcdb3172c69c97466bd0e1d1a81486c44b37aa6 Mon Sep 17 00:00:00 2001 From: El RIDO Date: Sun, 13 Nov 2016 12:27:09 +0100 Subject: [PATCH] added translation string to JSON files, removed unneccessary class (already covered by bootstrap CSS) and moved noscript CSS load into head (allowed when not using XHTML) --- css/bootstrap/privatebin.css | 4 ---- i18n/de.json | 3 ++- i18n/fr.json | 3 ++- i18n/it.json | 3 ++- i18n/pl.json | 3 ++- i18n/sl.json | 3 ++- i18n/zh.json | 3 ++- tpl/bootstrap-dark.php | 7 +++++++ tpl/bootstrap.php | 14 +++++++------- 9 files changed, 26 insertions(+), 17 deletions(-) diff --git a/css/bootstrap/privatebin.css b/css/bootstrap/privatebin.css index e63e63fe..b26421b4 100644 --- a/css/bootstrap/privatebin.css +++ b/css/bootstrap/privatebin.css @@ -98,10 +98,6 @@ body.navbar-spacing { margin-bottom: 10px; } -.smallErrorText { - font-size: 80%; -} - .comment { border-left: 1px solid #ccc; padding: 5px 0 5px 10px; diff --git a/i18n/de.json b/i18n/de.json index d99672c0..fb6c7839 100644 --- a/i18n/de.json +++ b/i18n/de.json @@ -140,5 +140,6 @@ "Editor": "Bearbeiten", "Preview": "Vorschau", "PrivateBin requires the PATH to end in a \"%s\". Please update the PATH in your index.php.": - "Der PATH muss bei PrivateBin mit einem \"%s\" enden. Bitte passe Deinen PATH in Deiner index.php an." + "Der PATH muss bei PrivateBin mit einem \"%s\" enden. Bitte passe Deinen PATH in Deiner index.php an.", + "Loading…": "Lädt…" } diff --git a/i18n/fr.json b/i18n/fr.json index 3fe3baac..2b649c32 100644 --- a/i18n/fr.json +++ b/i18n/fr.json @@ -149,5 +149,6 @@ "Editor": "Éditer", "Preview": "Prévisualiser", "PrivateBin requires the PATH to end in a \"%s\". Please update the PATH in your index.php.": - "PrivateBin requires the PATH to end in a \"%s\". Please update the PATH in your index.php." + "PrivateBin requires the PATH to end in a \"%s\". Please update the PATH in your index.php.", + "Loading…": "Loading…" } diff --git a/i18n/it.json b/i18n/it.json index 45cf68a3..7d0ecafe 100644 --- a/i18n/it.json +++ b/i18n/it.json @@ -140,5 +140,6 @@ "Editor": "Editor", "Preview": "Preview", "PrivateBin requires the PATH to end in a \"%s\". Please update the PATH in your index.php.": - "PrivateBin necessita che PATH termini con \"%s\". Aggiorna la variabile PATH nel tuo index.php." + "PrivateBin necessita che PATH termini con \"%s\". Aggiorna la variabile PATH nel tuo index.php.", + "Loading…": "Loading…" } diff --git a/i18n/pl.json b/i18n/pl.json index 26771ffb..656ba024 100644 --- a/i18n/pl.json +++ b/i18n/pl.json @@ -140,5 +140,6 @@ "Editor": "Edytować", "Preview": "Zapowiedź", "PrivateBin requires the PATH to end in a \"%s\". Please update the PATH in your index.php.": - "PrivateBin requires the PATH to end in a \"%s\". Please update the PATH in your index.php." + "PrivateBin requires the PATH to end in a \"%s\". Please update the PATH in your index.php.", + "Loading…": "Loading…" } diff --git a/i18n/sl.json b/i18n/sl.json index 625fb897..9c9c3440 100644 --- a/i18n/sl.json +++ b/i18n/sl.json @@ -149,5 +149,6 @@ "Editor": "Uredi", "Preview": "Predogled", "PrivateBin requires the PATH to end in a \"%s\". Please update the PATH in your index.php.": - "PrivateBin requires the PATH to end in a \"%s\". Please update the PATH in your index.php." + "PrivateBin requires the PATH to end in a \"%s\". Please update the PATH in your index.php.", + "Loading…": "Loading…" } diff --git a/i18n/zh.json b/i18n/zh.json index e79add03..1666c74b 100644 --- a/i18n/zh.json +++ b/i18n/zh.json @@ -140,5 +140,6 @@ "Editor": "編輯", "Preview": "預習", "PrivateBin requires the PATH to end in a \"%s\". Please update the PATH in your index.php.": - "PrivateBin requires the PATH to end in a \"%s\". Please update the PATH in your index.php." + "PrivateBin requires the PATH to end in a \"%s\". Please update the PATH in your index.php.", + "Loading…": "Loading…" } diff --git a/tpl/bootstrap-dark.php b/tpl/bootstrap-dark.php index 831b7c86..6cc8626b 100644 --- a/tpl/bootstrap-dark.php +++ b/tpl/bootstrap-dark.php @@ -24,6 +24,7 @@ if ($SYNTAXHIGHLIGHTING): endif; endif; ?> + +
+ +