diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-08-11 11:26:20 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-08-11 11:26:20 +0000 |
commit | 1831e1b690f02d7f551d38ef88a0ba200f786497 (patch) | |
tree | cc3805acedb24888afbd7cd76129e690c0c81d0e /update.php | |
parent | 8517e17e70db3d80410a9020d378587f93e74d14 (diff) | |
download | brdo-1831e1b690f02d7f551d38ef88a0ba200f786497.tar.gz brdo-1831e1b690f02d7f551d38ef88a0ba200f786497.tar.bz2 |
- New locale module thanks to Gerhard, Goba, Marco, Kristjan and others.
The new locale module provides every functionality on the web interface, so you don't need to edit the configuration files or add columns, when you add a new language. This module is an integration of the old locale and localegettext modules, plus a bunch of logic to parse Gettext Portable Object files (opposed to Machine Object files, as supported by localegettext).
Note: I made some minor changes to the context-sensitive help texts and to some of the status messages.
Diffstat (limited to 'update.php')
-rw-r--r-- | update.php | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/update.php b/update.php index 39cbe5c7a..f021cea84 100644 --- a/update.php +++ b/update.php @@ -109,7 +109,7 @@ function update_info() { print "</ol>"; print "Notes:"; print "<ol>"; - print " <li>If you <strong>upgrade from Drupal 4.4.x</strong>, you will need to create the <code>users_roles</code> table manually before upgrading. To create the <code>users_roles</code> table, issue the following SQL commands: + print " <li>If you <strong>upgrade from Drupal 4.4.x</strong>, you will need to create the <code>users_roles</code> and <code>locales_meta</code> tables manually before upgrading. To create these tables, issue the following SQL commands: <p>MySQL specific example: <pre> @@ -118,6 +118,15 @@ function update_info() { rid int(10) unsigned NOT NULL default '0', PRIMARY KEY (uid, rid) ); + CREATE TABLE locales_meta ( + locale varchar(12) NOT NULL default '', + name varchar(64) NOT NULL default '', + enabled int(2) NOT NULL default '0', + isdefault int(2) NOT NULL default '0', + plurals int(1) NOT NULL default '0', + formula varchar(128) NOT NULL default '', + PRIMARY KEY (locale) + ); </pre> </p> @@ -128,6 +137,15 @@ function update_info() { rid integer NOT NULL default '0', PRIMARY KEY (uid, rid) ); + CREATE TABLE locales_meta ( + locale varchar(12) NOT NULL default '', + name varchar(64) NOT NULL default '', + enabled int4 NOT NULL default '0', + isdefault int4 NOT NULL default '0', + plurals int4 NOT NULL default '0', + formula varchar(128) NOT NULL default '', + PRIMARY KEY (locale) + ); </pre> </p> </li>"; |