Correct bad encoding of fr-FR data loaded by web installer
Some informations imported into MySQL DB by web installer were wrongly encoded. It was the case for example with opac_news table. Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
parent
a3430082bd
commit
daa0c79642
5 changed files with 7 additions and 0 deletions
2
installer/data/mysql/fr-FR/1-Obligatoire/userflags.sql
Normal file → Executable file
2
installer/data/mysql/fr-FR/1-Obligatoire/userflags.sql
Normal file → Executable file
|
@ -1,3 +1,5 @@
|
|||
SET NAMES utf8;
|
||||
|
||||
INSERT INTO `userflags` VALUES(0,'superlibrarian','Accès à toutes les fonctions bibliothécaires, sans limite',0);
|
||||
INSERT INTO `userflags` VALUES(1,'circulate','Circulation',0);
|
||||
INSERT INTO `userflags` VALUES(2,'catalogue','Consultation du catalogue (interface professionnelle)',0);
|
||||
|
|
1
installer/data/mysql/fr-FR/2-Optionel/patron_categories.sql
Normal file → Executable file
1
installer/data/mysql/fr-FR/2-Optionel/patron_categories.sql
Normal file → Executable file
|
@ -1,3 +1,4 @@
|
|||
SET NAMES utf8;
|
||||
INSERT INTO `categories` (`categorycode`, `description`, `enrolmentperiod`, `upperagelimit`, `dateofbirthrequired`, `finetype`, `bulk`, `enrolmentfee`, `overduenoticerequired`, `issuelimit`, `reservefee`, `category_type`) VALUES
|
||||
('ADULT','Adulte',99,999,18,NULL,NULL,'0.000000',1,NULL,'0.000000','A'),
|
||||
('ETUD','Etudiant',99,999,18,NULL,NULL,'0.000000',1,NULL,'0.000000','A'),
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
SET NAMES utf8;
|
||||
INSERT INTO `opac_news` VALUES (1,'Bienvenue dans Koha !','Bienvenue dans Koha 3, la toute nouvelle version du système intégré de gestion de bibliothèque (SIGB) open source de référence. Développé initialement en Nouvelle Zélande et déployé pour la première fois en janvier 2000, Koha est un projet international soutenu par des sociétés de services en logiciels libres et par des bibliothécaires du monde entier.','koha','2008-01-14 03:25:58','2099-01-10',1),(2,'Et maintenant ?','Félicitations ! vous avez désormais une version opérationnelle de Koha. Et maintenant, que faire ?\r\n<ul>\r\n<li><a href=\"http://kohadocs.org\">lisez la documentation de Koha ;</a></li>\r\n<li><a href=\"http://wiki.koha.org\">lisez et participez au Wiki de Koha ;</a></li>\r\n<li><a href=\"http://koha.org/community/mailing-lists.html\">abonnez-vous aux listes de discussion ;</a></li>\r\n<li><a href=\"http://bugs.koha.org\">signalez des bugs ;</a></li>\r\n<li><a href=\"http://wiki.koha.org/doku.php?id=en:development:git_usage\">proposez des correctifs et des améliorations ;</a></li>\r\n<li><a href=\"http://koha.org/community/irc.html\">discutez avec les utilisateurs et les développeurs de Koha.</a></li>\r\n</ul>\r\n','koha','2008-01-14 03:34:45','2099-01-10',2);
|
||||
|
|
1
installer/data/mysql/fr-FR/3-LecturePub/sample_itemtypes.sql
Normal file → Executable file
1
installer/data/mysql/fr-FR/3-LecturePub/sample_itemtypes.sql
Normal file → Executable file
|
@ -2,6 +2,7 @@
|
|||
--
|
||||
-- Contenu de la table `itemtypes`
|
||||
--
|
||||
SET NAMES utf8;
|
||||
|
||||
INSERT INTO `itemtypes` (`itemtype`, `description`, `renewalsallowed`, `rentalcharge`, `notforloan`, `imageurl`, `summary`) VALUES ('LIVR', ' Livre', 1, 0.0000, 0, 'Fiction.gif', '');
|
||||
INSERT INTO `itemtypes` (`itemtype`, `description`, `renewalsallowed`, `rentalcharge`, `notforloan`, `imageurl`, `summary`) VALUES ('BD', 'BD', 1, 0.0000, 0, 'MZ.gif', '');
|
||||
|
|
2
installer/data/mysql/fr-FR/4-Conservation/sample_itemtypes.sql
Normal file → Executable file
2
installer/data/mysql/fr-FR/4-Conservation/sample_itemtypes.sql
Normal file → Executable file
|
@ -2,6 +2,8 @@
|
|||
-- Contenu de la table `itemtypes`
|
||||
--
|
||||
|
||||
SET NAMES utf8;
|
||||
|
||||
INSERT INTO `itemtypes` (`itemtype`, `description`, `renewalsallowed`, `rentalcharge`, `notforloan`, `imageurl`, `summary`) VALUES ('ARTI', 'Article', 0, 0.0000, 0, 'Pamphlet.gif', '');
|
||||
INSERT INTO `itemtypes` (`itemtype`, `description`, `renewalsallowed`, `rentalcharge`, `notforloan`, `imageurl`, `summary`) VALUES ('MEM', 'Mémoire', 0, 0.0000, 0, 'Faculty Course Materials.gif', '');
|
||||
INSERT INTO `itemtypes` (`itemtype`, `description`, `renewalsallowed`, `rentalcharge`, `notforloan`, `imageurl`, `summary`) VALUES ('MICR', 'Microfiche', 0, 0.0000, 0, 'Microfiche.gif', '');
|
||||
|
|
Loading…
Reference in a new issue