
START TRANSACTION;

SET @id := (SELECT `id` FROM `fields` WHERE `key` = "front_date_off_msg");
UPDATE `multi_lang` SET `content` = 'The selected date is a day off. Please select another date.' WHERE `foreign_id` = @id AND `model` = "pjField" AND `field` = "title";

SET @id := (SELECT `id` FROM `fields` WHERE `key` = "front_date_off_in_range");
UPDATE `multi_lang` SET `content` = 'There is a day off in the selected range.' WHERE `foreign_id` = @id AND `model` = "pjField" AND `field` = "title";

COMMIT;