From 75dd860292f663963b2dd79498200ec323139886 Mon Sep 17 00:00:00 2001 From: AlfredSK Date: Tue, 17 Jun 2014 14:20:23 +0200 Subject: [PATCH 1/2] Fixed two typos in strings.php and BBCode.md --- doc/de/BBCode.md | 2 +- view/de/strings.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/de/BBCode.md b/doc/de/BBCode.md index db22fb8144..5c0518ce8d 100644 --- a/doc/de/BBCode.md +++ b/doc/de/BBCode.md @@ -96,7 +96,7 @@ Block Tags [/ol] -Für weitere Optionen von sortierten Listen kann man den Stiel der Numerierung der Liste definieren: +Für weitere Optionen von sortierten Listen kann man den Stil der Numerierung der Liste definieren:
[list=1]
: dezimal
[list=i]
: römisch, Kleinbuchstaben diff --git a/view/de/strings.php b/view/de/strings.php index 25d012d492..69b0c3ba55 100644 --- a/view/de/strings.php +++ b/view/de/strings.php @@ -1234,7 +1234,7 @@ $a->strings["Set line-height for posts and comments"] = "Liniengröße für Beit $a->strings["Set resolution for middle column"] = "Auflösung für die Mittelspalte setzen"; $a->strings["Set color scheme"] = "Wähle Farbschema"; $a->strings["Set zoomfactor for Earth Layer"] = "Zoomfaktor der Earth Layer"; -$a->strings["Set style"] = "Stiel auswählen"; +$a->strings["Set style"] = "Stil auswählen"; $a->strings["Set colour scheme"] = "Farbschema wählen"; $a->strings["Alignment"] = "Ausrichtung"; $a->strings["Left"] = "Links"; From 8bfd506051ac31c8cebf9ab8d675db16d587818f Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Wed, 18 Jun 2014 21:18:50 +0200 Subject: [PATCH 2/2] make translation of addons work again --- include/pgettext.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pgettext.php b/include/pgettext.php index 23430fc77d..4f8db43d47 100644 --- a/include/pgettext.php +++ b/include/pgettext.php @@ -100,6 +100,7 @@ if(! function_exists('load_translation_table')) { function load_translation_table($lang) { global $a; + $a->strings = array(); // load enabled plugins strings $plugins = q("SELECT name FROM addon WHERE installed=1;"); if ($plugins!==false) { @@ -111,7 +112,6 @@ function load_translation_table($lang) { } } - $a->strings = array(); if(file_exists("view/$lang/strings.php")) { include("view/$lang/strings.php"); }