AntonLV 8 лет назад
Родитель
Сommit
08f6960126

+ 2 - 0
modules/boonex/google_tagmanager/install/langs/en.xml

@@ -1,5 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <resources name="en" flag="gb" title="English">
 	<string name="_bx_googletagman"><![CDATA[Google Tag Manager]]></string>
+
+        <string name="_bx_googletagman_adm_stg_cpt_type"><![CDATA[Google Tag Manager]]></string>
 	<string name="_bx_googletagman_option_container_id"><![CDATA[Google Tag Manager Container ID]]></string>
 </resources>

+ 1 - 1
modules/boonex/google_tagmanager/install/sql/enable.sql

@@ -2,7 +2,7 @@
 -- OPTIONS
 SET @iTypeOrder = (SELECT MAX(`order`) FROM `sys_options_types` WHERE `group` = 'modules');
 INSERT INTO `sys_options_types` (`group`, `name`, `caption`, `icon`, `order`) VALUES 
-('modules', 'bx_googletagman', '_bx_unacon_adm_stg_cpt_type', 'bx_googletagman@modules/boonex/google_tagmanager/|std-icon.svg', IF(NOT ISNULL(@iTypeOrder), @iTypeOrder + 1, 1));
+('modules', 'bx_googletagman', '_bx_googletagman_adm_stg_cpt_type', 'bx_googletagman@modules/boonex/google_tagmanager/|std-icon.svg', IF(NOT ISNULL(@iTypeOrder), @iTypeOrder + 1, 1));
 SET @iTypeId = LAST_INSERT_ID();
 
 INSERT INTO `sys_options_categories` (`type_id`, `name`, `caption`, `order` )  

+ 2 - 0
modules/boonex/russian/data/langs/bx_googletagman/ru.xml

@@ -1,5 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <resources name="ru" flag="ru" title="Russian">
 	<string name="_bx_googletagman"><![CDATA[Диспетчер тегов Google]]></string>
+
+        <string name="_bx_googletagman_adm_stg_cpt_type"><![CDATA[Диспетчер тегов Google]]></string>
 	<string name="_bx_googletagman_option_container_id"><![CDATA[Идентификатор контейнера]]></string>
 </resources>