Trad: Ajout champ lang sur les tables du dictionnaire qui doivent etre multi-langue.

This commit is contained in:
Laurent Destailleur 2004-08-08 19:37:44 +00:00
parent 148cd5e555
commit 297c1d754b
8 changed files with 20 additions and 4 deletions

View File

@ -24,8 +24,9 @@
create table llx_c_actioncomm create table llx_c_actioncomm
( (
id integer PRIMARY KEY, id integer PRIMARY KEY,
type varchar(10) default 'system' not null,
lang varchar(8) default 'all' not null, lang varchar(8) default 'all' not null,
type varchar(10) default 'system' not null,
libelle varchar(30) not null, libelle varchar(30) not null,
active tinyint default 1,
todo tinyint todo tinyint
)type=innodb; )type=innodb;

View File

@ -1,5 +1,6 @@
-- ======================================================================== -- ========================================================================
-- Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be> -- Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
-- --
-- This program is free software; you can redistribute it and/or modify -- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by -- it under the terms of the GNU General Public License as published by
@ -22,8 +23,10 @@
create table llx_c_civilite create table llx_c_civilite
( (
rowid integer PRIMARY KEY, rowid integer PRIMARY KEY,
fk_pays integer default 1, lang varchar(8) default 'all' not null,
civilite varchar(50), code varchar(6),
fk_pays integer default 0,
civilite varchar(50),
active tinyint default 1 active tinyint default 1
)type=innodb; )type=innodb;

View File

@ -1,5 +1,6 @@
-- ======================================================================== -- ========================================================================
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org> -- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
-- --
-- $Id$ -- $Id$
-- $Source$ -- $Source$
@ -23,6 +24,7 @@
create table llx_c_effectif create table llx_c_effectif
( (
id integer PRIMARY KEY, id integer PRIMARY KEY,
lang varchar(8) default 'all' not null,
libelle varchar(30) libelle varchar(30)
)type=innodb; )type=innodb;

View File

@ -1,5 +1,6 @@
-- ======================================================================== -- ========================================================================
-- Copyright (C) 2001-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org> -- Copyright (C) 2001-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
-- --
-- This program is free software; you can redistribute it and/or modify -- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by -- it under the terms of the GNU General Public License as published by
@ -29,6 +30,7 @@
create table llx_c_paiement create table llx_c_paiement
( (
id integer PRIMARY KEY, id integer PRIMARY KEY,
lang varchar(8) default 'all' not null,
code varchar(6), code varchar(6),
libelle varchar(30), libelle varchar(30),
type smallint type smallint

View File

@ -1,5 +1,6 @@
-- ======================================================================== -- ========================================================================
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org> -- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
-- --
-- $Id$ -- $Id$
-- $Source$ -- $Source$
@ -23,9 +24,10 @@
create table llx_c_pays create table llx_c_pays
( (
rowid integer PRIMARY KEY, rowid integer PRIMARY KEY,
lang varchar(8) default 'all' not null,
libelle varchar(25) NOT NULL, libelle varchar(25) NOT NULL,
code char(2) NOT NULL, code char(2) NOT NULL,
active tinyint default 1 NOT NULL active tinyint default 1 NOT NULL
)type=innodb; )type=innodb;

View File

@ -1,5 +1,6 @@
-- =================================================================== -- ===================================================================
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org> -- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
-- --
-- $Id$ -- $Id$
-- $Source$ -- $Source$
@ -23,6 +24,7 @@
create table llx_c_propalst create table llx_c_propalst
( (
id smallint PRIMARY KEY, id smallint PRIMARY KEY,
lang varchar(8) default 'all' not null,
label varchar(30) label varchar(30)
)type=innodb; )type=innodb;

View File

@ -1,5 +1,6 @@
-- ======================================================================== -- ========================================================================
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org> -- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
-- --
-- $Id$ -- $Id$
-- $Source$ -- $Source$
@ -23,6 +24,7 @@
create table llx_c_stcomm create table llx_c_stcomm
( (
id integer PRIMARY KEY, id integer PRIMARY KEY,
lang varchar(8) default 'all' not null,
libelle varchar(30) libelle varchar(30)
)type=innodb; )type=innodb;

View File

@ -1,5 +1,6 @@
-- ======================================================================== -- ========================================================================
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org> -- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
-- --
-- $Id$ -- $Id$
-- $Source$ -- $Source$
@ -23,5 +24,6 @@
create table llx_c_typent create table llx_c_typent
( (
id integer PRIMARY KEY, id integer PRIMARY KEY,
lang varchar(8) default 'all' not null,
libelle varchar(30) libelle varchar(30)
)type=innodb; )type=innodb;