summaryrefslogtreecommitdiffstats
path: root/template/standard
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2017-02-26 01:19:21 +0100
committerThomas Lange <code@nerdmind.de>2017-02-26 01:19:21 +0100
commitec5f33704af1ec27304824046ba0c34212e721d1 (patch)
treea4352c0e01ed3375296756989746c79e88e072da /template/standard
parent9df553a02d193c99f3b9f18ff36875a11a52f8cb (diff)
downloadblog-ec5f33704af1ec27304824046ba0c34212e721d1.tar.gz
blog-ec5f33704af1ec27304824046ba0c34212e721d1.tar.xz
blog-ec5f33704af1ec27304824046ba0c34212e721d1.zip
Spelling mistakes corrected, comments added and unnecessary language variables removed.
Diffstat (limited to 'template/standard')
-rw-r--r--template/standard/html/page/list.php2
-rw-r--r--template/standard/html/page/main.php2
-rw-r--r--template/standard/html/post/list.php2
-rw-r--r--template/standard/html/post/main.php2
-rw-r--r--template/standard/html/user/list.php2
-rw-r--r--template/standard/html/user/main.php4
-rw-r--r--template/standard/lang/de.php63
-rw-r--r--template/standard/lang/en.php63
8 files changed, 97 insertions, 43 deletions
diff --git a/template/standard/html/page/list.php b/template/standard/html/page/list.php
index b6a112d..6e70e42 100644
--- a/template/standard/html/page/list.php
+++ b/template/standard/html/page/list.php
@@ -8,7 +8,7 @@
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
?>
<h1><i class="fa fa-file-text-o"></i><?=$Language->text('page_overview')?><span class="head-link brackets"><i class="fa fa-rss"></i><a href="<?=Application::getURL('feed/page/')?>" title="Nur Seiten">Feed</a></span></h1>
-<p><?=$Language->template('page_base_heading_desc', $PAGINATION['THIS'])?></p>
+<p><?=$Language->template('page_overview_heading_desc', $PAGINATION['THIS'])?></p>
<ul class="item-list page">
<?php foreach($LIST['PAGES'] as $page): ?>
diff --git a/template/standard/html/page/main.php b/template/standard/html/page/main.php
index b5e6a6d..8ac7977 100644
--- a/template/standard/html/page/main.php
+++ b/template/standard/html/page/main.php
@@ -10,7 +10,7 @@
$user = "<a href=\"{$USER['URL']}\" title=\"alias »{$USER['ATTR']['USERNAME']}«\">{$USER['ATTR']['FULLNAME']}</a>";
$time = "<time datetime=\"{$PAGE['ATTR']['TIME_INSERT']}\" title=\"".parseDatetime($PAGE['ATTR']['TIME_INSERT'], '[W]')."\">".parseDatetime($PAGE['ATTR']['TIME_INSERT'], $Language->template('date_format'))."</time>";
?>
-<h1><i class="fa fa-file-text-o"></i><?=escapeHTML($Language->template('page_main_heading_text', $PAGE['ATTR']['NAME']))?></h1>
+<h1><i class="fa fa-file-text-o"></i><?=escapeHTML($PAGE['ATTR']['NAME'])?></h1>
<p><?=$Language->template('page_main_heading_desc', [$user, $time])?></p>
<section id="content" class="page">
diff --git a/template/standard/html/post/list.php b/template/standard/html/post/list.php
index 457c1df..ede8ef9 100644
--- a/template/standard/html/post/list.php
+++ b/template/standard/html/post/list.php
@@ -8,7 +8,7 @@
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
?>
<h1><i class="fa fa-newspaper-o"></i><?=$Language->text('post_overview')?><span class="head-link brackets"><i class="fa fa-rss"></i><a href="<?=Application::getURL('feed/post/')?>" title="Nur Beiträge">Feed</a></span></h1>
-<p><?=$Language->template('post_base_heading_desc', $PAGINATION['THIS'])?></p>
+<p><?=$Language->template('post_overview_heading_desc', $PAGINATION['THIS'])?></p>
<ul class="item-list post">
<?php foreach($LIST['POSTS'] as $post): ?>
diff --git a/template/standard/html/post/main.php b/template/standard/html/post/main.php
index 31d7102..3f50c76 100644
--- a/template/standard/html/post/main.php
+++ b/template/standard/html/post/main.php
@@ -10,7 +10,7 @@
$user = "<a href=\"{$USER['URL']}\" title=\"alias »{$USER['ATTR']['USERNAME']}«\">{$USER['ATTR']['FULLNAME']}</a>";
$time = "<time datetime=\"{$POST['ATTR']['TIME_INSERT']}\" title=\"".parseDatetime($POST['ATTR']['TIME_INSERT'], '[W]')."\">".parseDatetime($POST['ATTR']['TIME_INSERT'], $Language->template('date_format'))."</time>";
?>
-<h1><i class="fa fa-newspaper-o"></i><?=escapeHTML($Language->template('post_main_heading_text', $POST['ATTR']['NAME']))?></h1>
+<h1><i class="fa fa-newspaper-o"></i><?=escapeHTML($POST['ATTR']['NAME'])?></h1>
<p><?=$Language->template('post_main_heading_desc', [$user, $time])?></p>
<section id="content" class="post">
diff --git a/template/standard/html/user/list.php b/template/standard/html/user/list.php
index 922a3a4..5c8f6a6 100644
--- a/template/standard/html/user/list.php
+++ b/template/standard/html/user/list.php
@@ -8,7 +8,7 @@
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
?>
<h1><i class="fa fa-user"></i><?=$Language->text('user_overview')?></h1>
-<p><?=$Language->template('user_base_heading_desc', $PAGINATION['THIS'])?></p>
+<p><?=$Language->template('user_overview_heading_desc', $PAGINATION['THIS'])?></p>
<ul class="item-list user">
<?php foreach($LIST['USERS'] as $user): ?>
diff --git a/template/standard/html/user/main.php b/template/standard/html/user/main.php
index adc0534..d3766dc 100644
--- a/template/standard/html/user/main.php
+++ b/template/standard/html/user/main.php
@@ -7,8 +7,8 @@
# #
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
?>
-<h1><i class="fa fa-user"></i><?=$Language->template('user_heading_text', [escapeHTML($USER['ATTR']['FULLNAME']), $USER['ATTR']['USERNAME']])?></h1>
-<p><em><?=$Language->template('user_heading_desc', [escapeHTML($USER['ATTR']['FULLNAME']), $COUNT['POST'], $COUNT['PAGE']])?></em></p>
+<h1><i class="fa fa-user"></i><?=escapeHTML($USER['ATTR']['FULLNAME'])?></h1>
+<p><em><?=$Language->template('user_main_heading_desc', [escapeHTML($USER['ATTR']['USERNAME']), $COUNT['POST'], $COUNT['PAGE']])?></em></p>
<section id="content" class="user">
<?=$USER['BODY']['HTML']?>
diff --git a/template/standard/lang/de.php b/template/standard/lang/de.php
index 333aab2..9a59847 100644
--- a/template/standard/lang/de.php
+++ b/template/standard/lang/de.php
@@ -1,51 +1,78 @@
<?php
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-# Nerdmind: Internationalization [DE] Thomas Lange <code@nerdmind.de>] #
+# Standard: Internationalization [DE] Thomas Lange <code@nerdmind.de>] #
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
# #
# This file contains template internationalization strings for the DE language #
-# and is completely independend from the core internationalization strings. #
+# and is completely independent from the core internationalization strings. #
# #
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
+#===============================================================================
+# Date format
+#===============================================================================
$LANGUAGE['date_format'] = '[D].[M].[Y] [H]:[I]';
+#===============================================================================
+# Specific item only feed
+#===============================================================================
$LANGUAGE['feed_only_posts'] = 'nur Beiträge';
$LANGUAGE['feed_only_pages'] = 'nur Seiten';
+#===============================================================================
+# Main navigation strings
+#===============================================================================
$LANGUAGE['navigation_home_text'] = 'Home';
$LANGUAGE['navigation_home_desc'] = '%s';
-
$LANGUAGE['navigation_search_text'] = 'Suche';
$LANGUAGE['navigation_search_desc'] = 'Volltextsuche';
+#===============================================================================
+# Start page title and description
+#===============================================================================
$LANGUAGE['home_heading_text'] = 'Willkommen bei %s';
$LANGUAGE['home_heading_desc'] = 'Hallo! Hier siehst du erst einmal die letzten %d veröffentlichten Beiträge. Viel Spaß!';
-$LANGUAGE['user_heading_text'] = '%s <code>[<a href="">%s</a>]</code>';
-$LANGUAGE['user_heading_desc'] = 'Bisher wurden von %s insgesamt <b>%d</b> Beiträge und <b>%d</b> Seiten veröffentlicht.';
-
-$LANGUAGE['post_base_heading_desc'] = '[Seite: <b>%d</b>] Hier siehst du alle veröffentlichten <strong>Beiträge</strong> nach dem Zeitpunkt der Veröffentlchung sortiert.';
-$LANGUAGE['page_base_heading_desc'] = '[Seite: <b>%d</b>] Hier siehst du alle veröffentlichten <strong>Seiten</strong> nach dem Zeitpunkt der Veröffentlchung sortiert.';
-$LANGUAGE['user_base_heading_desc'] = '[Seite: <b>%d</b>] Hier siehst du alle vorhandenen <strong>Benutzer</strong> nach dem Zeitpunkt der Erstellung sortiert.';
+#===============================================================================
+# Item overview description
+#===============================================================================
+$LANGUAGE['post_overview_heading_desc'] = '[Seite: <b>%d</b>] Hier siehst du alle veröffentlichten <strong>Beiträge</strong> nach dem Zeitpunkt der Veröffentlchung sortiert.';
+$LANGUAGE['page_overview_heading_desc'] = '[Seite: <b>%d</b>] Hier siehst du alle veröffentlichten <strong>Seiten</strong> nach dem Zeitpunkt der Veröffentlchung sortiert.';
+$LANGUAGE['user_overview_heading_desc'] = '[Seite: <b>%d</b>] Hier siehst du alle vorhandenen <strong>Benutzer</strong> nach dem Zeitpunkt der Erstellung sortiert.';
-$LANGUAGE['post_main_heading_text'] = '%s';
+#===============================================================================
+# Item main description
+#===============================================================================
$LANGUAGE['post_main_heading_desc'] = 'Von: %s (veröffentlicht am: <em>%s</em>)';
-
-$LANGUAGE['page_main_heading_text'] = '%s';
$LANGUAGE['page_main_heading_desc'] = 'Von: %s (veröffentlicht am: <em>%s</em>)';
+$LANGUAGE['user_main_heading_desc'] = 'Bisher wurden von »%s« insgesamt <b>%d</b> Beiträge und <b>%d</b> Seiten veröffentlicht.';
-$LANGUAGE['403_heading_text'] = 'Zugriff verweigert';
-$LANGUAGE['403_heading_desc'] = 'Der Zugriff auf diese Ressource des Servers wurde dir verweigert, da du die dafür notwendigen Berechtigungen nicht besitzt.';
-
-$LANGUAGE['404_heading_text'] = 'Nicht gefunden';
-$LANGUAGE['404_heading_desc'] = 'Die angeforderte Ressource konnte auf diesem Server nicht gefunden werden.';
-
+#===============================================================================
+# Search request title and description
+#===============================================================================
$LANGUAGE['search_base_heading_text'] = 'Volltextsuche';
$LANGUAGE['search_base_heading_desc'] = 'Wenn du einen bestimmten <strong>Beitrag</strong> suchst, dann kann dir die <a href="https://dev.mysql.com/doc/refman/5.5/en/fulltext-boolean.html" target="_blank">Volltext-Suchfunktion</a> der MySQL-Datenbank bestimmt weiterhelfen.';
+#===============================================================================
+# Search result title and description
+#===============================================================================
$LANGUAGE['search_result_heading_text'] = 'Suchergebnisse für <code>%s</code>';
$LANGUAGE['search_result_heading_desc'] = 'Herzlichen Glückwunsch, deine Suchanfrage scheint erfolgreich gewesen zu sein!';
+#===============================================================================
+# Search form placeholder text
+#===============================================================================
$LANGUAGE['search_form_placeholder'] = 'Suchbegriff eingeben …';
+
+#===============================================================================
+# Error 403
+#===============================================================================
+$LANGUAGE['403_heading_text'] = 'Zugriff verweigert';
+$LANGUAGE['403_heading_desc'] = 'Der Zugriff auf diese Ressource des Servers wurde dir verweigert, da du die dafür notwendigen Berechtigungen nicht besitzt.';
+
+#===============================================================================
+# Error 404
+#===============================================================================
+$LANGUAGE['404_heading_text'] = 'Nicht gefunden';
+$LANGUAGE['404_heading_desc'] = 'Die angeforderte Ressource konnte auf diesem Server nicht gefunden werden.';
?> \ No newline at end of file
diff --git a/template/standard/lang/en.php b/template/standard/lang/en.php
index 66e2a67..416574f 100644
--- a/template/standard/lang/en.php
+++ b/template/standard/lang/en.php
@@ -1,51 +1,78 @@
<?php
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-# Nerdmind: Internationalization [EN] Thomas Lange <code@nerdmind.de>] #
+# Standard: Internationalization [EN] Thomas Lange <code@nerdmind.de>] #
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
# #
# This file contains template internationalization strings for the EN language #
-# and is completely independend from the core internationalization strings. #
+# and is completely independent from the core internationalization strings. #
# #
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
+#===============================================================================
+# Date format
+#===============================================================================
$LANGUAGE['date_format'] = '[Y]-[M]-[D] [H]:[I]';
+#===============================================================================
+# Specific item only feed
+#===============================================================================
$LANGUAGE['feed_only_posts'] = 'only posts';
$LANGUAGE['feed_only_pages'] = 'only pages';
+#===============================================================================
+# Main navigation strings
+#===============================================================================
$LANGUAGE['navigation_home_text'] = 'Home';
$LANGUAGE['navigation_home_desc'] = '%s';
-
$LANGUAGE['navigation_search_text'] = 'Search';
$LANGUAGE['navigation_search_desc'] = 'Fulltext search';
+#===============================================================================
+# Start page title and description
+#===============================================================================
$LANGUAGE['home_heading_text'] = 'Welcome to %s';
$LANGUAGE['home_heading_desc'] = 'Here you can see the last 10 published posts. Have fun!';
-$LANGUAGE['user_heading_text'] = '%s <code>[<a href="">%s</a>]</code>';
-$LANGUAGE['user_heading_desc'] = '%s has published a total count of <b>%d</b> posts and <b>%d</b> pages.';
-
-$LANGUAGE['post_base_heading_desc'] = '[Page: <b>%d</b>] Here you can see all published <strong>posts</strong> ordered by the date of publication.';
-$LANGUAGE['page_base_heading_desc'] = '[Page: <b>%d</b>] Here you can see all published <strong>pages</strong> ordered by the date of publication.';
-$LANGUAGE['user_base_heading_desc'] = '[Page: <b>%d</b>] Here you can see all existing <strong>users</strong> ordered by the date of creation.';
+#===============================================================================
+# Item overview description
+#===============================================================================
+$LANGUAGE['post_overview_heading_desc'] = '[Page: <b>%d</b>] Here you can see all published <strong>posts</strong> ordered by the date of publication.';
+$LANGUAGE['page_overview_heading_desc'] = '[Page: <b>%d</b>] Here you can see all published <strong>pages</strong> ordered by the date of publication.';
+$LANGUAGE['user_overview_heading_desc'] = '[Page: <b>%d</b>] Here you can see all existing <strong>users</strong> ordered by the date of creation.';
-$LANGUAGE['post_main_heading_text'] = '%s';
+#===============================================================================
+# Item main description
+#===============================================================================
$LANGUAGE['post_main_heading_desc'] = 'By: %s (published on: <em>%s</em>)';
-
-$LANGUAGE['page_main_heading_text'] = '%s';
$LANGUAGE['page_main_heading_desc'] = 'By: %s (published on: <em>%s</em>)';
+$LANGUAGE['user_main_heading_desc'] = '»%s« has published a total count of <b>%d</b> posts and <b>%d</b> pages.';
-$LANGUAGE['403_heading_text'] = 'Access denied';
-$LANGUAGE['403_heading_desc'] = 'You are denied to access this resource because you do not have the necessary permissions.';
-
-$LANGUAGE['404_heading_text'] = 'Not found';
-$LANGUAGE['404_heading_desc'] = 'The requested resource could not be found on this server.';
-
+#===============================================================================
+# Search request title and description
+#===============================================================================
$LANGUAGE['search_base_heading_text'] = 'Fulltext search';
$LANGUAGE['search_base_heading_desc'] = 'If you are looking for a specific <strong>post</strong>, then the <a href="https://dev.mysql.com/doc/refman/5.5/en/fulltext-boolean.html" target="_blank">full-text search function</a> of the MySQL database could help you.';
+#===============================================================================
+# Search result title and description
+#===============================================================================
$LANGUAGE['search_result_heading_text'] = 'Search results for <code>%s</code>';
$LANGUAGE['search_result_heading_desc'] = 'Congratulations, your search request seems to have been successful!';
+#===============================================================================
+# Search form placeholder text
+#===============================================================================
$LANGUAGE['search_form_placeholder'] = 'Enter search term …';
+
+#===============================================================================
+# Error 403
+#===============================================================================
+$LANGUAGE['403_heading_text'] = 'Access denied';
+$LANGUAGE['403_heading_desc'] = 'You are denied to access this resource because you do not have the necessary permissions.';
+
+#===============================================================================
+# Error 404
+#===============================================================================
+$LANGUAGE['404_heading_text'] = 'Not found';
+$LANGUAGE['404_heading_desc'] = 'The requested resource could not be found on this server.';
?> \ No newline at end of file