diff --git a/languages/de_DE.json b/languages/de_DE.json index c01f23b..1a27cba 100644 --- a/languages/de_DE.json +++ b/languages/de_DE.json @@ -4,18 +4,19 @@ "name": "Isso Client", "description": "Isso Kommentare für deinen bludit blog. (Das hier ist nur der Client für Isso. Du benötigst immer noch einen Isso Server! Besuche posativ.org/isso für mehr Infos.) " }, - "enableOnPage": "Isso-Kommentare auf Seiten aktivieren", - "enableOnPost": "Isso-Kommentare für Beiträge aktivieren", - "enableOnDefaultPage": "Isso auf der Basisseite verwenden", - "pathToData": "Pfad zu den Isso-Daten (z.B. dein fcgi Skript)", - "pathToScript": "Pfad zur Skriptquelle für Isso (z.B. embed.js)", - "pathToCss": "Pfad zu einer eigenen CSS Datei", - "settingsRequired": "Benötigte Einstellungen", - "settingsOptional": "Optionale Einstellungen", - "isTrue": "wahr", - "isFalse": "falsch", - "colorCode": "Farbcode", - "languageCode": "Sprachcode", - "numeric": "Zahl", - "noscriptMsg": "Das Kommentarfeld, betrieben mit Isso, kann ohne javascript nicht angezeigt werden!" + "intro-header": "-- Besuch die Projektseite für mehr Infos über Isso: https://posativ.org/isso/ --", + "enable-on-page": "Isso-Kommentare auf Seiten aktivieren", + "enable-on-post": "Isso-Kommentare für Beiträge aktivieren", + "enable-on-default-page": "Isso auf der Basisseite verwenden", + "path-to-data": "Pfad zu den Isso-Daten (z.B. dein fcgi Skript)", + "path-to-script": "Pfad zur Skriptquelle für Isso (z.B. embed.js)", + "path-to-css": "Pfad zu einer eigenen CSS Datei", + "required-settings": "Benötigte Einstellungen", + "optional-settings": "Optionale Einstellungen", + "true": "wahr", + "false": "falsch", + "color-code": "Farbcode (z.B. \"#2277aa\")", + "language-code": "Sprachcode (z.B. \"de\")", + "number": "Anzahl", + "no-script-msg": "Das Kommentarfeld, betrieben mit Isso, kann ohne javascript nicht angezeigt werden!" } diff --git a/languages/en_US.json b/languages/en_US.json index 8f309ad..7b12ebb 100644 --- a/languages/en_US.json +++ b/languages/en_US.json @@ -4,18 +4,19 @@ "name": "Isso client", "description": "Use Isso comments in your bludit blog. (This is only a client implementation. You still need an Isso server! Visit posativ.org/isso for more info.) " }, - "enableOnPage": "Enable Isso on pages", - "enableOnPost": "Enable Isso on posts", - "enableOnDefaultPage": "Enable Isso on default home page", - "pathToData": "Path to Isso data (e.g. your fcgi script)", - "pathToScript": "Path to script source for Isso (e.g. embed.js)", - "pathToCss": "Path to custom CSS file", - "settingsRequired": "Required settings", - "settingsOptional": "Optional settings", - "isTrue": "true", - "isFalse": "false", - "colorCode": "colorcode", - "languageCode": "language code", - "numeric": "number", - "noscriptMsg": "The comment section powered by Isso can not be shown without javascript!" + "intro-header": "-- See the project page for more info about Isso: https://posativ.org/isso/ --", + "enable-on-page": "Enable Isso on pages", + "enable-on-post": "Enable Isso on posts", + "enable-on-default-page": "Enable Isso on default home page", + "path-to-data": "Path to Isso data (e.g. your fcgi script)", + "path-to-script": "Path to script source for Isso (e.g. embed.js)", + "path-to-css": "Path to custom CSS file", + "required-settings": "Required settings", + "optional-settings": "Optional settings", + "true": "true", + "false": "false", + "color-code": "colorcode (e.g. \"#2277aa\")", + "language-code": "language code (e.g. \"en\")", + "number": "number", + "no-script-msg": "The comment section powered by Isso can not be shown without javascript!" } diff --git a/plugin.php b/plugin.php index 3be30e0..0989224 100644 --- a/plugin.php +++ b/plugin.php @@ -49,39 +49,43 @@ class pluginIsso extends Plugin { public function form() { global $Language; + + $html = '
'; + $html .= ''.$Language->get('intro-header').''; + $html .= '
'; - $html = '
'; + $html .= '
'; $html .= ''; $html .= 'getDbField('enablePages')?'checked':'').'>'; - $html .= ''; + $html .= ''; $html .= '
'; $html .= '
'; $html .= ''; $html .= 'getDbField('enablePosts')?'checked':'').'>'; - $html .= ''; + $html .= ''; $html .= '
'; $html .= '
'; $html .= ''; $html .= 'getDbField('enableDefaultHomePage')?'checked':'').'>'; - $html .= ''; + $html .= ''; $html .= '
'; - $html .= '

'.$Language->get('Required settings').':

'; + $html .= '

'.$Language->get('required-settings').':

'; $html .= '
'; - $html .= ''; + $html .= ''; $html .= ''; $html .= '
'; $html .= '
'; - $html .= ''; + $html .= ''; $html .= ''; $html .= '
'; - $html .= '

'.$Language->get('Optional settings').':

'; + $html .= '

'.$Language->get('optional-settings').':

'; $html .= '
'; $html .= ''; @@ -124,17 +128,17 @@ class pluginIsso extends Plugin { $html .= '
'; $html .= '
'; - $html .= ''; + $html .= ''; $html .= ''; $html .= '
'; $html .= '
'; - $html .= ''; + $html .= ''; $html .= ''; $html .= '
'; $html .= '
'; - $html .= ''; + $html .= ''; $html .= ''; $html .= '
'; @@ -154,7 +158,7 @@ class pluginIsso extends Plugin { $html .= '
'; $html .= '
'; - $html .= ''; + $html .= ''; $html .= ''; $html .= '
'; @@ -167,7 +171,7 @@ class pluginIsso extends Plugin { if( $this->enable ) { $html = '
'; - $html .= '