Skip to content
Browse files

Switch installer from obsolete locale_string to language config option

  • Loading branch information...
1 parent 3aeb5b0 commit 522007bdb26b737cb4a7066618a2e877211be9d0 @thomascube thomascube committed Aug 12, 2008
Showing with 5 additions and 5 deletions.
  1. +1 −1 config/main.inc.php.dist
  2. +4 −4 installer/config.php
View
2 config/main.inc.php.dist
@@ -119,7 +119,7 @@ $rcmail_config['double_auth'] = false;
$rcmail_config['des_key'] = 'rcmail-!24ByteDESkey*Str';
// the default locale setting
-$rcmail_config['language'] = 'en';
+$rcmail_config['language'] = 'en_US';
// use this format for short date display
$rcmail_config['date_short'] = 'D H:i';
View
8 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>

0 comments on commit 522007b

Please sign in to comment.
Something went wrong with that request. Please try again.