From 791d341d8d0fc50ad075a0ac8a2587cd7bc5818c Mon Sep 17 00:00:00 2001
From: =?utf8?q?Roland=20H=C3=A4der?= <roland@mxchange.org>
Date: Fri, 23 Jul 2010 02:37:04 +0000
Subject: [PATCH] Even more renamed/fixed, internal TODO about FOO_1/FOO_2
 merge continued

---
 DOCS/TODOs.txt                                         | 8 ++++----
 inc/config-functions.php                               | 2 +-
 inc/language/de.php                                    | 5 ++---
 inc/language/primera_de.php                            | 2 +-
 inc/language/wernis_de.php                             | 2 +-
 templates/de/html/admin/admin_list_sponsor_pay_404.tpl | 4 ++--
 templates/de/html/admin/admin_menu_404_row.tpl         | 2 +-
 7 files changed, 12 insertions(+), 13 deletions(-)

diff --git a/DOCS/TODOs.txt b/DOCS/TODOs.txt
index cc6ff6d87e..14ca982ac5 100644
--- a/DOCS/TODOs.txt
+++ b/DOCS/TODOs.txt
@@ -49,10 +49,10 @@
 ./inc/functions.php:2251:	// @TODO This is still very static, rewrite it somehow
 ./inc/gen_sql_patches.php:96:// @TODO Rewrite this to a filter
 ./inc/install-functions.php:59:	// @TODO DEACTIVATED: changeDataInFile(getCachePath() . 'config-local.php', 'OUTPUT-MODE', "setConfigEntry('OUTPUT_MODE', '", "');", postRequestParameter('omode'), 0);
-./inc/language/de.php:1119:// @TODO Rewrite these two constants
-./inc/language/de.php:1134:// @TODO Rewrite these three constants
-./inc/language/de.php:301:	// @TODO Following two are unused?
-./inc/language/de.php:811:// @TODO Are these constants longer used?
+./inc/language/de.php:1118:// @TODO Rewrite these two constants
+./inc/language/de.php:1133:// @TODO Rewrite these three constants
+./inc/language/de.php:300:	// @TODO Following two are unused?
+./inc/language/de.php:810:// @TODO Are these constants longer used?
 ./inc/language-functions.php:234:	// @TODO These are all valid languages, again hard-coded
 ./inc/language-functions.php:46:// @TODO Rewrite all language constants to this function.
 ./inc/language/rallye_de.php:13: * @TODO Naming convention not applied for language strings             *
diff --git a/inc/config-functions.php b/inc/config-functions.php
index db003aaf9e..d2cd10c46f 100644
--- a/inc/config-functions.php
+++ b/inc/config-functions.php
@@ -79,7 +79,7 @@ function getConfig ($configEntry) {
 	// Is the entry there?
 	if (!isConfigEntrySet($configEntry)) {
 		// Raise an error of missing entries
-		debug_report_bug(__FUNCTION__, __LINE__, sprintf("Configuration entry <em>%s</em> is missing.", $configEntry));
+		debug_report_bug(__FUNCTION__, __LINE__, sprintf("Configuration entry <span class=\"data\">%s</span> is missing.", $configEntry));
 	} // END - if
 
 	// Return it
diff --git a/inc/language/de.php b/inc/language/de.php
index 6455d1786f..8009cd2560 100644
--- a/inc/language/de.php
+++ b/inc/language/de.php
@@ -135,10 +135,9 @@ addMessages(array(
 	'ADMIN_DELETE_MENUS' => "Men&uuml;s l&ouml;schen",
 	'ADMIN_EDIT_ADMIN_MENU' => "Admin-Men&uuml;eintr&auml;ge &auml;ndern",
 	'ADMIN_EDIT_MENU' => "Es soll/sollen <span class=\"data\">%s</span> Men&uuml;eintrag/-eintr&auml;ge ge&auml;ndert werden:",
-	'ENTRY_MODIFY' => "Eintrag",
+	'ADMIN_ENTRY_MODIFY' => "Eintrag",
 	'SUBMIT_CHANGES' => "&Auml;nderungen durchf&uuml;hren",
-	'ENTRY_404_1' => "Eintrag <em>",
-	'ENTRY_404_2' => "</em> wurde nicht gefunden.",
+	'ADMIN_ENTRY_404' => "Eintrag <span class=\"data\">%s</span> wurde nicht gefunden.",
 	'ADMIN_UNKNOWN_OKAY' => "Es wurde eine unbekannte Aktion <span class=\"data\">%s</span> durchgef&uuml;hrt.",
 	'ADMIN_DELETE_ADMIN_MENU' => "Admin-Men&uuml;eintr&auml;ge l&ouml;schen",
 	'ADMIN_DELETE_MENU_1' => "Es soll/sollen <strong>",
diff --git a/inc/language/primera_de.php b/inc/language/primera_de.php
index 6d82d0a7fe..a114a02c24 100644
--- a/inc/language/primera_de.php
+++ b/inc/language/primera_de.php
@@ -113,7 +113,7 @@ addMessages(array(
 	'MEMBER_PRIMERA_INVALID_USERNAME' => "Bitte nur Zahlen f&uuml;r den Primus-Usernamen eingeben.",
 	'MEMBER_PRIMERA_INVALID_AMOUNT' => "Bitte nur Zahlen f&uuml;r den zu &uuml;berweisenden Betrag eingeben.",
 	'MEMBER_PRIMERA_AMOUNT_SMALLER_MIN' => "Bitte geben Sie mindestens <span class=\"data\">{%config,translateComma=primera_min_payout%}</span> Primera an.",
-	'MEMBER_PRIMERA_WITHDRAW_FAILED' => "Die Einzahlung hat nicht geklappt! R&uuml;ckmeldung f&uuml;r den Support: <em>%s</em>.",
+	'MEMBER_PRIMERA_WITHDRAW_FAILED' => "Die Einzahlung hat nicht geklappt! R&uuml;ckmeldung f&uuml;r den Support: <span class=\"data\">%s</span>.",
 	'MEMBER_PRIMERA_WITHDRAW_DONE' => "Einzahlung auf Ihr {?MAIN_TITLE?} Konto erfolgreich abgeschlossen. :-)",
 	'MEMBER_PRIMERA_PAYOUT_DONE' => "Auszahlung auf Primus-Portal erfolgreich abgeschlossen. :-)",
 	'MEMBER_PRIMERA_PAYOUT_POINTS_DEPLETED' => "Sie k&ouml;nnen nicht <span class=\"data\">%s</span> Primera auszahlen, da Sie nur <span class=\"data\">%s</span> &uuml;brig haben.",
diff --git a/inc/language/wernis_de.php b/inc/language/wernis_de.php
index e6ad6366e5..4024c78792 100644
--- a/inc/language/wernis_de.php
+++ b/inc/language/wernis_de.php
@@ -129,7 +129,7 @@ addMessages(array(
 	'MEMBER_WERNIS_INVALID_AMOUNT' => "Bitte nur Zahlen f&uuml;r den zu &uuml;berweisenden Betrag eingeben.",
 	'MEMBER_WERNIS_WITHDRAW_AMOUNT_SMALLER_MIN' => "Bitte geben Sie mindestens <span class=\"data\">{%config,translateComma=wernis_min_withdraw%}</span> Wernis f&uuml;r die Einzahlung an.",
 	'MEMBER_WERNIS_PAYOUT_AMOUNT_SMALLER_MIN' => "Bitte geben Sie mindestens <span class=\"data\">{%config,translateComma=wernis_min_payout%}</span> Wernis f&uuml;r die Auszahlung an.",
-	'MEMBER_WERNIS_WITHDRAW_FAILED' => "Die Einzahlung hat nicht geklappt! R&uuml;ckmeldung f&uuml;r den Support: <em>%s</em>.",
+	'MEMBER_WERNIS_WITHDRAW_FAILED' => "Die Einzahlung hat nicht geklappt! R&uuml;ckmeldung f&uuml;r den Support: <span class=\"data\">%s</span>.",
 	'MEMBER_WERNIS_WITHDRAW_DONE' => "Einzahlung auf Ihr {?MAIN_TITLE?} Konto erfolgreich abgeschlossen. :-)",
 	'MEMBER_WERNIS_PAYOUT_DONE' => "Auszahlung auf WDS66-Hauptaccount erfolgreich abgeschlossen. :-)",
 	'MEMBER_WERNIS_PAYOUT_POINTS_DEPLETED' => "Sie k&ouml;nnen nicht <span class=\"data\">%s</span> Wernis auszahlen, da Sie nur <span class=\"data\">%s</span> &uuml;brig haben.",
diff --git a/templates/de/html/admin/admin_list_sponsor_pay_404.tpl b/templates/de/html/admin/admin_list_sponsor_pay_404.tpl
index be56254d60..4a6dfbb60a 100644
--- a/templates/de/html/admin/admin_list_sponsor_pay_404.tpl
+++ b/templates/de/html/admin/admin_list_sponsor_pay_404.tpl
@@ -1,5 +1,5 @@
 <tr>
   <td colspan="5" align="center" class="{%template,ColorSwitch%} bottom">
-    <strong>{--ENTRY_404_1--}$content{--ENTRY_404_2--}</strong>
+    <strong>{%message,ADMIN_ENTRY_404=$content%}</strong>
   </td>
-</tr>
\ No newline at end of file
+</tr>
diff --git a/templates/de/html/admin/admin_menu_404_row.tpl b/templates/de/html/admin/admin_menu_404_row.tpl
index 0ee46b49bd..195f7347a8 100644
--- a/templates/de/html/admin/admin_menu_404_row.tpl
+++ b/templates/de/html/admin/admin_menu_404_row.tpl
@@ -1,5 +1,5 @@
 <tr>
 	<td colspan="2" align="center" class="error fatal {%template,ColorSwitch%}">
-		<strong>{--ENTRY_404_1--}$content[sel]{--ENTRY_404_2--}</strong>
+		<strong>{%message,ADMIN_ENTRY_404=$content[sel]%}</strong>
 	</td>
 </tr>
-- 
2.39.5