From 2586db7a6fea3b93d923b89ecbe7aff5e79b2aeb Mon Sep 17 00:00:00 2001 From: mmk2410 Date: Mon, 21 Dec 2015 15:56:18 +0100 Subject: [PATCH] Localization of Pagination --- lang/de.php | 19 +++++-------------- lang/en.php | 17 ++++------------- res/php/Pagination.php | 10 ++++++---- themes/background-img.css | 1 + themes/material-dark.css | 1 + themes/material-light.css | 1 + 6 files changed, 18 insertions(+), 31 deletions(-) diff --git a/lang/de.php b/lang/de.php index 3d959b6..fb82593 100644 --- a/lang/de.php +++ b/lang/de.php @@ -1,20 +1,11 @@ - * @license MIT License - * @link http://marcel-kapfer.de/rangitaki - */ +// Rangitaki Project +// LANGUAGE: GERMAN $BLOGLANG = [ "Blogs on" => "Blogs auf", "Check out this blog" => "Schau dir diesen Blog an:", - "Check out" => "Schau dir das an:" + "Check out" => "Schau dir das an:", + "Next Page" => "Nächste Seite", + "Previous Page" => "Vorherige Seite", ]; diff --git a/lang/en.php b/lang/en.php index a4213f9..0ae409a 100644 --- a/lang/en.php +++ b/lang/en.php @@ -1,20 +1,11 @@ - * @license MIT License - * @link http://marcel-kapfer.de/rangitaki - */ +// Rangitaki Project +// LANGUAGE: ENGLISH $BLOGLANG = [ "Blogs on" => "Blogs on", "Check out this blog" => "Check out this blog:", "Check out" => "Check out:", + "Next Page" => "Next Page", + "Previous Page" => "Previous Page", ]; diff --git a/res/php/Pagination.php b/res/php/Pagination.php index c97678d..04fc34a 100644 --- a/res/php/Pagination.php +++ b/res/php/Pagination.php @@ -11,6 +11,8 @@ * @link http://marcel-kapfer.de/rangitaki */ require_once "BlogListGenerator.php"; +require_once "config.php"; +require_once "lang/" . $language . ".php"; if ($pagination) { ?> @@ -21,13 +23,13 @@ if ($pagination) { ?> PREVIOUS PAGE + ?>" class="pag_prev button"> PREVIOUS PAGE + ?>" class="pag_prev button"> NEXT PAGE + ?>" class="pag_next button"> NEXT PAGE + ?>" class="pag_next button">