From 522007bdb26b737cb4a7066618a2e877211be9d0 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Tue, 12 Aug 2008 05:05:07 -0400
Subject: [PATCH] Switch installer from obsolete locale_string to language config option

---
 installer/config.php |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/installer/config.php b/installer/config.php
index d75b023..f1829b4 100644
--- a/installer/config.php
+++ b/installer/config.php
@@ -434,16 +434,16 @@
 <legend>Display settings &amp; user prefs</legend>
 <dl class="configblock" id="cgfblockdisplay">
 
-<dt class="propname">locale_string</dt>
+<dt class="propname">language</dt>
 <dd>
 <?php
 
-$input_locale = new html_inputfield(array('name' => '_locale_string', 'size' => 6, 'id' => "cfglocale"));
-echo $input_locale->show($RCI->getprop('locale_string'));
+$input_locale = new html_inputfield(array('name' => '_language', 'size' => 6, 'id' => "cfglocale"));
+echo $input_locale->show($RCI->getprop('language'));
 
 ?>
 <div>The default locale setting. This also defines the language of the login screen.</div>
-<p class="hint">Enter a <a href="http://www.faqs.org/rfcs/rfc1766">RFC1766</a> formatted locale name. Examples: en_US, de, de_CH, fr, pt_BR</p>
+<p class="hint">Enter a <a href="http://www.faqs.org/rfcs/rfc1766">RFC1766</a> formatted language name. Examples: en_US, de_DE, de_CH, fr_FR, pt_BR</p>
 </dd>
 
 <dt class="propname">pagesize <span class="userconf">*</span></dt>

--
Gitblit v1.9.1