From 1831e1b690f02d7f551d38ef88a0ba200f786497 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 11 Aug 2004 11:26:20 +0000 Subject: - 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. --- update.php | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'update.php') 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 ""; print "Notes:"; print "
    "; - print "
  1. If you upgrade from Drupal 4.4.x, you will need to create the users_roles table manually before upgrading. To create the users_roles table, issue the following SQL commands: + print "
  2. If you upgrade from Drupal 4.4.x, you will need to create the users_roles and locales_meta tables manually before upgrading. To create these tables, issue the following SQL commands:

    MySQL specific example:

    @@ -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)
    +  );
       

    @@ -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) + );

  3. "; -- cgit v1.2.3