WIP: 4774-translationsVn #3138

Draft
carlossa wants to merge 7 commits from 4774-translationsVn into dev
3 changed files with 53 additions and 6 deletions
Showing only changes of commit 417305bf82 - Show all commits

View File

@ -229,7 +229,7 @@
"TagI18n": { "TagI18n": {
"dataSource": "vn" "dataSource": "vn"
}, },
"itemCategoryI18n": { "ItemCategoryI18n": {
"dataSource": "vn" "dataSource": "vn"
} }
} }

View File

@ -3943,9 +3943,9 @@ INSERT INTO vn.medicalReview
(id, workerFk, centerFk, `date`, `time`, isFit, amount, invoice, remark) (id, workerFk, centerFk, `date`, `time`, isFit, amount, invoice, remark)
VALUES(3, 9, 2, '2000-01-01', '8:00', 1, 150.0, NULL, NULL); VALUES(3, 9, 2, '2000-01-01', '8:00', 1, 150.0, NULL, NULL);
INSERT INTO vn.stockBought (workerFk, bought, reserve, dated) INSERT INTO vn.stockBought (workerFk, bought, reserve, dated)
VALUES(35, 1.00, 1.00, '2001-01-01'); VALUES(35, 1.00, 1.00, '2001-01-01');
INSERT INTO vn.auctionConfig (id,conversionCoefficient,warehouseFk) INSERT INTO vn.auctionConfig (id,conversionCoefficient,warehouseFk)
VALUES (1,0.6,6); VALUES (1,0.6,6);
INSERT INTO vn.payrollComponent INSERT INTO vn.payrollComponent
@ -4010,4 +4010,41 @@ INSERT IGNORE INTO pbx.queueMember
UPDATE vn.department SET pbxQueue = '1000' WHERE name = "CAMARA"; UPDATE vn.department SET pbxQueue = '1000' WHERE name = "CAMARA";
UPDATE vn.department SET pbxQueue = '2000' WHERE name = "VENTAS"; UPDATE vn.department SET pbxQueue = '2000' WHERE name = "VENTAS";
INSERT INTO vn.itemTypeI18n (typeFk, lang, name)
VALUES
(1, 'ca', 'Alstroemeria'),
(1, 'en', 'Alstroemeria'),
(1, 'fr', 'Alstroemeria'),
(1, 'pt', 'Alstroemeria'),
(2, 'ca', 'Anthurium'),
(2, 'en', 'Anthurium'),
(2, 'fr', 'Anthurium'),
(2, 'pt', 'Antúrios'),
(3, 'ca', 'Bulbs'),
(3, 'en', 'Bulbs'),
(3, 'fr', 'Bulbes'),
(3, 'pt', 'Bulbos'),
(4, 'ca', 'Cales'),
(4, 'en', 'Calla Lilies'),
(4, 'fr', 'Calas'),
(4, 'pt', 'Jarros (callas)'),
(5, 'ca', 'Clavell'),
(5, 'en', 'Carnation'),
(5, 'fr', 'Oeillet'),
(5, 'pt', 'Cravo'),
(6, 'ca', 'Crisantem'),
(6, 'en', 'Chrysanthemum'),
(6, 'fr', 'Chrysanthème'),
(6, 'pt', 'Margaridas'),
(7, 'ca', 'Rams Variats'),
(7, 'en', 'Mixed Bouquets'),
(7, 'fr', 'Bouquets divers'),
(7, 'pt', 'Bouquet Variados'),
(8, 'ca', 'Flor Variada'),
(8, 'en', 'Assorted Flowers'),
(8, 'fr', 'Fleurs varié'),
(8, 'pt', 'Flores Variadas'),
(9, 'ca', 'Crisantem Santa Dorotea'),
(9, 'en', 'Santa Dorotea Chrysanthemum'),
(9, 'fr', 'Chrysanthème Santa Dorotea'),
(9, 'pt', 'Crisântemo Santa Dorotea');

View File

@ -1,3 +1,13 @@
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId) INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
VALUES ('CompanyI18n','*','*','ALLOW','ROLE','employee'); VALUES
('CompanyI18n','*','*','ALLOW','ROLE','employee'),
('ItemTypeI18n','*','*','ALLOW','ROLE','employee'),
('InkI18n','*','*','ALLOW','ROLE','employee'),
('OriginI18n','*','*','ALLOW','ROLE','employee'),
('StateI18n','*','*','ALLOW','ROLE','employee'),
('TagI18n','*','*','ALLOW','ROLE','employee'),
('itemCategoryI18n','*','*','ALLOW','ROLE','employee');