Skip to content

Commit

Permalink
label should be localized
Browse files Browse the repository at this point in the history
  • Loading branch information
aydun committed Mar 9, 2017
1 parent 99815da commit 14845ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CRM/Upgrade/Incremental/sql/4.7.18.mysql.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ UPDATE `civicrm_country` SET `name`='Virgin Islands, British' WHERE `name` = 'Vi
SELECT @option_group_id_adOpt := max(id) from civicrm_option_group where name = 'address_options';
UPDATE civicrm_option_value SET value = value + 1, weight = weight + 1 WHERE option_group_id = @option_group_id_adOpt AND value > 3;
INSERT INTO
`civicrm_option_value` (`option_group_id`, `label`, `value`, `name`, `grouping`, `filter`, `is_default`, `weight`, `description`, `is_optgroup`, `is_reserved`, `is_active`, `component_id`, `visibility_id`, `icon`)
`civicrm_option_value` (`option_group_id`, {localize field='label'}label{/localize}, `value`, `name`, `grouping`, `filter`, `is_default`, `weight`, `description`, `is_optgroup`, `is_reserved`, `is_active`, `component_id`, `visibility_id`, `icon`)
VALUES
(@option_group_id_adOpt, '{ts escape="sql"}Supplemental Address 3{/ts}', 4, 'supplemental_address_3', NULL, 0, NULL, 4, NULL, 0, 0, 1, NULL, NULL, NULL);
(@option_group_id_adOpt, {localize}'{ts escape="sql"}Supplemental Address 3{/ts}'{/localize}, 4, 'supplemental_address_3', NULL, 0, NULL, 4, NULL, 0, 0, 1, NULL, NULL, NULL);

0 comments on commit 14845ca

Please sign in to comment.