forked from pH7Software/pH7-Internationalization
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pH7CMSLangs.sql
40 lines (32 loc) · 2.83 KB
/
pH7CMSLangs.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
--
--
-- Title: SQL Internationalization package
--
-- Author: Pierre-Henry Soria <[email protected]>
-- Copyright: (c) 2016-2018, Pierre-Henry Soria. All Rights Reserved.
-- License: GNU General Public License; See PH7.LICENSE.txt and PH7.COPYRIGHT.txt in the root directory.
-- Package: PH7 / Internationalize / Sql
--
--
-----
-- Replace "ph7_" by your prefix set in "~/_protected/app/configs/config.ini" [database] prefix variable
-----
-- Increase length of "metaCopyright" column for French copyright (since it is longer)
ALTER TABLE ph7_meta_main MODIFY metaCopyright varchar(55);
INSERT INTO ph7_languages_info (langId, name, charset, active, direction, author, website, email) VALUES
('fr_FR', 'Français', 'UTF-8', '1', 'ltr', 'Pierre-Henry Soria', 'http://ph7.me', '[email protected]'),
('ln_NL', 'English', 'UTF-8', '1', 'ltr', 'Pierre-Henry Soria', 'http://ph7.me', '[email protected]');
INSERT INTO ph7_meta_main (langId, pageTitle, metaDescription, metaKeywords, headline, slogan, promoText, metaRobots, metaAuthor, metaCopyright, metaRating, metaDistribution, metaCategory) VALUES
('fr_FR', 'Accueil', 'Le CMS pour la création de site de rencontre en ligne', 'script, CMS, clone rencontre, PHP, script rencontre, logiciel rencontre site, reseau social, cms communautaire', 'Le meilleur endroit pour rencontrer', 'Le meilleur endroit pour rencontrer des gens sympa !', 'Ce <a href="http://ph7cms.com">logiciel de rencontre</a> est le premier CMS spécialisé dans la création de sites de rencontre en ligne !', 'index, follow, all', 'Pierre-Henry Soria', 'Copyright Pierre-Henry Soria. Tous droits réservés.', 'general', 'global', 'rencontre'),
('ln_NL', 'Welkom', 'Het CMS voor het creëren van online dating', 'script, CMS, PHP, dating script, dating software, social networking software, social networking script, social network script, free, open source, match clone, friend finder clone, adult friend finder clone', 'Be on the best e-place!', 'The Best place to Meet Nice People', 'You''re on the best place for meeting new people nearby! Chat, Flirt, Socialize and have Fun!<br />Create any Dating Sites like this one with the <a href="http://ph7cms.com">Dating Site Builder</a>. It is Professional, modern, Free, Open Source, and gives you the best way to create a dating business...', 'index, follow, all', 'Pierre-Henry Soria', 'Copyright Pierre-Henry Soria. All Rights Reserved.', 'general', 'global', 'dating');
CREATE TABLE IF NOT EXISTS ph7_languages_phrases (
phraseId int(10) unsigned NOT NULL AUTO_INCREMENT,
langId varchar(5) NOT NULL,
moduleName varchar(40) NOT NULL,
vendorName varchar(40) NOT NULL,
token varchar(120) NOT NULL,
text mediumtext,
added int(10) unsigned DEFAULT NULL,
PRIMARY KEY (phraseId),
FOREIGN KEY (langId) REFERENCES ph7_languages_info(langId)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;