$connection = Database::getConnection();
-$connection->schema()->createTable('i18n_block_language', array(
- 'fields' => array(
- 'module' => array(
- 'type' => 'varchar',
- 'not null' => TRUE,
- 'length' => '64',
- ),
- 'delta' => array(
- 'type' => 'varchar',
- 'not null' => TRUE,
- 'length' => '32',
- ),
- 'language' => array(
- 'type' => 'varchar',
- 'not null' => TRUE,
- 'length' => '12',
- 'default' => '',
- ),
- ),
- 'primary key' => array(
- 'module',
- 'delta',
- 'language',
- ),
- 'indexes' => array(
- 'language' => array(
- 'language',
- ),
- ),
- 'mysql_character_set' => 'utf8',
-));
-
-$connection->schema()->createTable('i18n_string', array(
- 'fields' => array(
- 'lid' => array(
- 'type' => 'int',
- 'not null' => TRUE,
- 'size' => 'normal',
- 'default' => '0',
- ),
- 'textgroup' => array(
- 'type' => 'varchar',
- 'not null' => TRUE,
- 'length' => '50',
- 'default' => 'default',
- ),
- 'context' => array(
- 'type' => 'varchar',
- 'not null' => TRUE,
- 'length' => '255',
- 'default' => '',
- ),
- 'objectid' => array(
- 'type' => 'varchar',
- 'not null' => TRUE,
- 'length' => '255',
- 'default' => '',
- ),
- 'type' => array(
- 'type' => 'varchar',
- 'not null' => TRUE,
- 'length' => '255',
- 'default' => '',
- ),
- 'property' => array(
- 'type' => 'varchar',
- 'not null' => TRUE,
- 'length' => '255',
- 'default' => '',
- ),
- 'objectindex' => array(
- 'type' => 'int',
- 'not null' => TRUE,
- 'size' => 'big',
- 'default' => '0',
- ),
- 'format' => array(
- 'type' => 'varchar',
- 'not null' => FALSE,
- 'length' => '255',
- ),
- ),
- 'primary key' => array(
- 'lid',
- ),
- 'indexes' => array(
- 'group_context' => array(
- 'textgroup',
- array(
- 'context',
- '50',
- ),
- ),
- ),
- 'mysql_character_set' => 'utf8',
-));
-
-$connection->insert('i18n_string')
-->fields(array(
- 'lid',
- 'textgroup',
- 'context',
- 'objectid',
- 'type',
- 'property',
- 'objectindex',
- 'format',
-))
-->values(array(
- 'lid' => '57',
- 'textgroup' => 'blocks',
- 'context' => 'block:1:title',
- 'objectid' => '1',
- 'type' => 'block',
- 'property' => 'title',
- 'objectindex' => '1',
- 'format' => '',
-))
-->values(array(
- 'lid' => '60',
- 'textgroup' => 'blocks',
- 'context' => 'block:1:body',
- 'objectid' => '1',
- 'type' => 'block',
- 'property' => 'body',
- 'objectindex' => '1',
- 'format' => 'filtered_html',
-))
-->values(array(
- 'lid' => '61',
- 'textgroup' => 'node',
- 'context' => 'type:article:name',
- 'objectid' => 'article',
- 'type' => 'type',
- 'property' => 'name',
- 'objectindex' => '0',
- 'format' => '',
-))
-->values(array(
- 'lid' => '62',
- 'textgroup' => 'node',
- 'context' => 'type:article:title_label',
- 'objectid' => 'article',
- 'type' => 'type',
- 'property' => 'title_label',
- 'objectindex' => '0',
- 'format' => '',
-))
-->values(array(
- 'lid' => '63',
- 'textgroup' => 'node',
- 'context' => 'type:article:description',
- 'objectid' => 'article',
- 'type' => 'type',
- 'property' => 'description',
- 'objectindex' => '0',
- 'format' => '',
-))
-->values(array(
- 'lid' => '64',
- 'textgroup' => 'node',
- 'context' => 'type:article:help',
- 'objectid' => 'article',
- 'type' => 'type',
- 'property' => 'help',
- 'objectindex' => '0',
- 'format' => '',
-))
-->values(array(
- 'lid' => '65',
- 'textgroup' => 'node',
- 'context' => 'type:book:name',
- 'objectid' => 'book',
- 'type' => 'type',
- 'property' => 'name',
- 'objectindex' => '0',
- 'format' => '',
-))
-->values(array(
- 'lid' => '66',
- 'textgroup' => 'node',
- 'context' => 'type:book:title_label',
- 'objectid' => 'book',
- 'type' => 'type',
- 'property' => 'title_label',
- 'objectindex' => '0',
- 'format' => '',
-))
-->values(array(
- 'lid' => '67',
- 'textgroup' => 'node',
- 'context' => 'type:book:description',
- 'objectid' => 'book',
- 'type' => 'type',
- 'property' => 'description',
- 'objectindex' => '0',
- 'format' => '',
-))
-->values(array(
- 'lid' => '68',
- 'textgroup' => 'node',
- 'context' => 'type:page:name',
- 'objectid' => 'page',
- 'type' => 'type',
- 'property' => 'name',
- 'objectindex' => '0',
- 'format' => '',
-))
-->values(array(
- 'lid' => '69',
- 'textgroup' => 'node',
- 'context' => 'type:page:title_label',
- 'objectid' => 'page',
- 'type' => 'type',
- 'property' => 'title_label',
- 'objectindex' => '0',
- 'format' => '',
-))
-->values(array(
- 'lid' => '70',
- 'textgroup' => 'node',
- 'context' => 'type:page:description',
- 'objectid' => 'page',
- 'type' => 'type',
- 'property' => 'description',
- 'objectindex' => '0',
- 'format' => '',
-))
-->values(array(
- 'lid' => '71',
- 'textgroup' => 'node',
- 'context' => 'type:page:help',
- 'objectid' => 'page',
- 'type' => 'type',
- 'property' => 'help',
- 'objectindex' => '0',
- 'format' => '',
-))
-->values(array(
- 'lid' => '72',
- 'textgroup' => 'node',
- 'context' => 'type:test_content_type:name',
- 'objectid' => 'test_content_type',
- 'type' => 'type',
- 'property' => 'name',
- 'objectindex' => '0',
- 'format' => '',
-))
-->values(array(
- 'lid' => '73',
- 'textgroup' => 'node',
- 'context' => 'type:test_content_type:title_label',
- 'objectid' => 'test_content_type',
- 'type' => 'type',
- 'property' => 'title_label',
- 'objectindex' => '0',
- 'format' => '',
-))
-->values(array(
- 'lid' => '74',
- 'textgroup' => 'node',
- 'context' => 'type:test_content_type:description',
- 'objectid' => 'test_content_type',
- 'type' => 'type',
- 'property' => 'description',
- 'objectindex' => '0',
- 'format' => '',
-))
-->values(array(
- 'lid' => '75',
- 'textgroup' => 'node',
- 'context' => 'type:test_content_type:help',
- 'objectid' => 'test_content_type',
- 'type' => 'type',
- 'property' => 'help',
- 'objectindex' => '0',
- 'format' => '',
-))
-->execute();
-
$connection->schema()->createTable('accesslog', array(
'fields' => array(
'aid' => array(
'size' => 'normal',
'default' => '1',
),
+ 'i18n_mode' => array(
+ 'type' => 'int',
+ 'not null' => TRUE,
+ 'size' => 'normal',
+ 'default' => '0',
+ ),
),
'primary key' => array(
'bid',
'pages',
'title',
'cache',
+ 'i18n_mode',
))
->values(array(
'bid' => '1',
'pages' => '',
'title' => '',
'cache' => '-1',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '2',
'pages' => '',
'title' => '',
'cache' => '-1',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '3',
'pages' => '',
'title' => '',
'cache' => '-1',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '4',
'custom' => '0',
'visibility' => '0',
'pages' => '',
- 'title' => '',
+ 'title' => 'User login title',
'cache' => '-1',
+ 'i18n_mode' => '1',
))
->values(array(
'bid' => '5',
'pages' => '',
'title' => '',
'cache' => '-1',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '6',
'pages' => '',
'title' => '',
'cache' => '-1',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '7',
'pages' => '',
'title' => '',
'cache' => '-1',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '8',
'pages' => '',
'title' => '',
'cache' => '-1',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '9',
'pages' => '',
'title' => '',
'cache' => '-1',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '10',
'custom' => '0',
'visibility' => '0',
'pages' => '',
- 'title' => '',
+ 'title' => 'User login title',
'cache' => '-1',
+ 'i18n_mode' => '1',
))
->values(array(
'bid' => '11',
'pages' => '',
'title' => '',
'cache' => '-1',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '12',
'pages' => '',
'title' => '',
'cache' => '-1',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '13',
'pages' => '',
'title' => '',
'cache' => '1',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '14',
'pages' => '',
'title' => '',
'cache' => '-1',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '15',
'pages' => '',
'title' => '',
'cache' => '1',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '16',
'pages' => '',
'title' => '',
'cache' => '-1',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '17',
'pages' => '',
'title' => '',
'cache' => '-1',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '18',
'pages' => '',
'title' => '',
'cache' => '-1',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '19',
'pages' => '',
'title' => '',
'cache' => '-1',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '20',
'pages' => '',
'title' => '',
'cache' => '1',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '21',
'pages' => '',
'title' => '',
'cache' => '-1',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '22',
'pages' => '',
'title' => '',
'cache' => '1',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '23',
'pages' => '',
'title' => '',
'cache' => '-1',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '24',
'pages' => '',
'title' => '',
'cache' => '-1',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '25',
'pages' => '',
'title' => '',
'cache' => '-1',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '26',
'pages' => '',
'title' => '',
'cache' => '-1',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '27',
'pages' => '',
'title' => '',
'cache' => '-1',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '28',
'pages' => '',
'title' => '',
'cache' => '-1',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '29',
'pages' => '',
'title' => '',
'cache' => '-1',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '30',
'pages' => '',
'title' => '',
'cache' => '-1',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '31',
'pages' => '',
'title' => '',
'cache' => '1',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '32',
'pages' => '',
'title' => '',
'cache' => '5',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '33',
'pages' => '',
'title' => '',
'cache' => '-1',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '34',
'pages' => '',
'title' => '',
'cache' => '-2',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '35',
'pages' => '',
'title' => '',
'cache' => '-2',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '36',
'pages' => '',
'title' => '',
'cache' => '1',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '37',
'pages' => '',
'title' => '',
'cache' => '5',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '38',
'pages' => '',
'title' => '',
'cache' => '-1',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '39',
'pages' => '',
'title' => '',
'cache' => '-2',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '40',
'pages' => '',
'title' => '',
'cache' => '-2',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '41',
'pages' => '',
'title' => '',
'cache' => '-1',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '42',
'pages' => '',
'title' => '',
'cache' => '-1',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '43',
'pages' => '',
'title' => '',
'cache' => '-1',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '44',
'pages' => '',
'title' => '',
'cache' => '-1',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '45',
'pages' => '',
'title' => 'Mildly amusing limerick of the day',
'cache' => '-1',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '46',
'pages' => '',
'title' => 'Mildly amusing limerick of the day',
'cache' => '-1',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '47',
'pages' => '',
'title' => '',
'cache' => '1',
+ 'i18n_mode' => '0',
))
->values(array(
'bid' => '48',
'pages' => '',
'title' => '',
'cache' => '1',
+ 'i18n_mode' => '0',
+))
+->values(array(
+ 'bid' => '49',
+ 'module' => 'locale',
+ 'delta' => 'language_content',
+ 'theme' => 'bartik',
+ 'status' => '0',
+ 'weight' => '0',
+ 'region' => '-1',
+ 'custom' => '0',
+ 'visibility' => '0',
+ 'pages' => '',
+ 'title' => '',
+ 'cache' => '-1',
+ 'i18n_mode' => '0',
+))
+->values(array(
+ 'bid' => '50',
+ 'module' => 'locale',
+ 'delta' => 'language_content',
+ 'theme' => 'seven',
+ 'status' => '0',
+ 'weight' => '0',
+ 'region' => '-1',
+ 'custom' => '0',
+ 'visibility' => '0',
+ 'pages' => '',
+ 'title' => '',
+ 'cache' => '-1',
+ 'i18n_mode' => '0',
))
->execute();
'mysql_character_set' => 'utf8',
));
+$connection->schema()->createTable('cache_variable', array(
+ 'fields' => array(
+ 'cid' => array(
+ 'type' => 'varchar',
+ 'not null' => TRUE,
+ 'length' => '255',
+ 'default' => '',
+ ),
+ 'data' => array(
+ 'type' => 'blob',
+ 'not null' => FALSE,
+ 'size' => 'big',
+ ),
+ 'expire' => array(
+ 'type' => 'int',
+ 'not null' => TRUE,
+ 'size' => 'normal',
+ 'default' => '0',
+ ),
+ 'created' => array(
+ 'type' => 'int',
+ 'not null' => TRUE,
+ 'size' => 'normal',
+ 'default' => '0',
+ ),
+ 'serialized' => array(
+ 'type' => 'int',
+ 'not null' => TRUE,
+ 'size' => 'small',
+ 'default' => '0',
+ ),
+ ),
+ 'primary key' => array(
+ 'cid',
+ ),
+ 'indexes' => array(
+ 'expire' => array(
+ 'expire',
+ ),
+ ),
+ 'mysql_character_set' => 'utf8',
+));
+
$connection->schema()->createTable('cache_views', array(
'fields' => array(
'cid' => array(
'mysql_character_set' => 'utf8',
));
+$connection->schema()->createTable('i18n_block_language', array(
+ 'fields' => array(
+ 'module' => array(
+ 'type' => 'varchar',
+ 'not null' => TRUE,
+ 'length' => '64',
+ ),
+ 'delta' => array(
+ 'type' => 'varchar',
+ 'not null' => TRUE,
+ 'length' => '32',
+ ),
+ 'language' => array(
+ 'type' => 'varchar',
+ 'not null' => TRUE,
+ 'length' => '12',
+ 'default' => '',
+ ),
+ ),
+ 'primary key' => array(
+ 'module',
+ 'delta',
+ 'language',
+ ),
+ 'indexes' => array(
+ 'language' => array(
+ 'language',
+ ),
+ ),
+ 'mysql_character_set' => 'utf8',
+));
+
+$connection->schema()->createTable('i18n_string', array(
+ 'fields' => array(
+ 'lid' => array(
+ 'type' => 'int',
+ 'not null' => TRUE,
+ 'size' => 'normal',
+ 'default' => '0',
+ ),
+ 'textgroup' => array(
+ 'type' => 'varchar',
+ 'not null' => TRUE,
+ 'length' => '50',
+ 'default' => 'default',
+ ),
+ 'context' => array(
+ 'type' => 'varchar',
+ 'not null' => TRUE,
+ 'length' => '255',
+ 'default' => '',
+ ),
+ 'objectid' => array(
+ 'type' => 'varchar',
+ 'not null' => TRUE,
+ 'length' => '255',
+ 'default' => '',
+ ),
+ 'type' => array(
+ 'type' => 'varchar',
+ 'not null' => TRUE,
+ 'length' => '255',
+ 'default' => '',
+ ),
+ 'property' => array(
+ 'type' => 'varchar',
+ 'not null' => TRUE,
+ 'length' => '255',
+ 'default' => '',
+ ),
+ 'objectindex' => array(
+ 'type' => 'int',
+ 'not null' => TRUE,
+ 'size' => 'big',
+ 'default' => '0',
+ ),
+ 'format' => array(
+ 'type' => 'varchar',
+ 'not null' => FALSE,
+ 'length' => '255',
+ ),
+ ),
+ 'primary key' => array(
+ 'lid',
+ ),
+ 'indexes' => array(
+ 'group_context' => array(
+ 'textgroup',
+ array(
+ 'context',
+ '50',
+ ),
+ ),
+ ),
+ 'mysql_character_set' => 'utf8',
+));
+
+$connection->insert('i18n_string')
+->fields(array(
+ 'lid',
+ 'textgroup',
+ 'context',
+ 'objectid',
+ 'type',
+ 'property',
+ 'objectindex',
+ 'format',
+))
+->values(array(
+ 'lid' => '57',
+ 'textgroup' => 'blocks',
+ 'context' => 'block:1:title',
+ 'objectid' => '1',
+ 'type' => 'block',
+ 'property' => 'title',
+ 'objectindex' => '1',
+ 'format' => '',
+))
+->values(array(
+ 'lid' => '60',
+ 'textgroup' => 'blocks',
+ 'context' => 'block:1:body',
+ 'objectid' => '1',
+ 'type' => 'block',
+ 'property' => 'body',
+ 'objectindex' => '1',
+ 'format' => 'filtered_html',
+))
+->values(array(
+ 'lid' => '61',
+ 'textgroup' => 'node',
+ 'context' => 'type:article:name',
+ 'objectid' => 'article',
+ 'type' => 'type',
+ 'property' => 'name',
+ 'objectindex' => '0',
+ 'format' => '',
+))
+->values(array(
+ 'lid' => '62',
+ 'textgroup' => 'node',
+ 'context' => 'type:article:title_label',
+ 'objectid' => 'article',
+ 'type' => 'type',
+ 'property' => 'title_label',
+ 'objectindex' => '0',
+ 'format' => '',
+))
+->values(array(
+ 'lid' => '63',
+ 'textgroup' => 'node',
+ 'context' => 'type:article:description',
+ 'objectid' => 'article',
+ 'type' => 'type',
+ 'property' => 'description',
+ 'objectindex' => '0',
+ 'format' => '',
+))
+->values(array(
+ 'lid' => '64',
+ 'textgroup' => 'node',
+ 'context' => 'type:article:help',
+ 'objectid' => 'article',
+ 'type' => 'type',
+ 'property' => 'help',
+ 'objectindex' => '0',
+ 'format' => '',
+))
+->values(array(
+ 'lid' => '65',
+ 'textgroup' => 'node',
+ 'context' => 'type:book:name',
+ 'objectid' => 'book',
+ 'type' => 'type',
+ 'property' => 'name',
+ 'objectindex' => '0',
+ 'format' => '',
+))
+->values(array(
+ 'lid' => '66',
+ 'textgroup' => 'node',
+ 'context' => 'type:book:title_label',
+ 'objectid' => 'book',
+ 'type' => 'type',
+ 'property' => 'title_label',
+ 'objectindex' => '0',
+ 'format' => '',
+))
+->values(array(
+ 'lid' => '67',
+ 'textgroup' => 'node',
+ 'context' => 'type:book:description',
+ 'objectid' => 'book',
+ 'type' => 'type',
+ 'property' => 'description',
+ 'objectindex' => '0',
+ 'format' => '',
+))
+->values(array(
+ 'lid' => '68',
+ 'textgroup' => 'node',
+ 'context' => 'type:page:name',
+ 'objectid' => 'page',
+ 'type' => 'type',
+ 'property' => 'name',
+ 'objectindex' => '0',
+ 'format' => '',
+))
+->values(array(
+ 'lid' => '69',
+ 'textgroup' => 'node',
+ 'context' => 'type:page:title_label',
+ 'objectid' => 'page',
+ 'type' => 'type',
+ 'property' => 'title_label',
+ 'objectindex' => '0',
+ 'format' => '',
+))
+->values(array(
+ 'lid' => '70',
+ 'textgroup' => 'node',
+ 'context' => 'type:page:description',
+ 'objectid' => 'page',
+ 'type' => 'type',
+ 'property' => 'description',
+ 'objectindex' => '0',
+ 'format' => '',
+))
+->values(array(
+ 'lid' => '71',
+ 'textgroup' => 'node',
+ 'context' => 'type:page:help',
+ 'objectid' => 'page',
+ 'type' => 'type',
+ 'property' => 'help',
+ 'objectindex' => '0',
+ 'format' => '',
+))
+->values(array(
+ 'lid' => '72',
+ 'textgroup' => 'node',
+ 'context' => 'type:test_content_type:name',
+ 'objectid' => 'test_content_type',
+ 'type' => 'type',
+ 'property' => 'name',
+ 'objectindex' => '0',
+ 'format' => '',
+))
+->values(array(
+ 'lid' => '73',
+ 'textgroup' => 'node',
+ 'context' => 'type:test_content_type:title_label',
+ 'objectid' => 'test_content_type',
+ 'type' => 'type',
+ 'property' => 'title_label',
+ 'objectindex' => '0',
+ 'format' => '',
+))
+->values(array(
+ 'lid' => '74',
+ 'textgroup' => 'node',
+ 'context' => 'type:test_content_type:description',
+ 'objectid' => 'test_content_type',
+ 'type' => 'type',
+ 'property' => 'description',
+ 'objectindex' => '0',
+ 'format' => '',
+))
+->values(array(
+ 'lid' => '75',
+ 'textgroup' => 'node',
+ 'context' => 'type:test_content_type:help',
+ 'objectid' => 'test_content_type',
+ 'type' => 'type',
+ 'property' => 'help',
+ 'objectindex' => '0',
+ 'format' => '',
+))
+->values(array(
+ 'lid' => '76',
+ 'textgroup' => 'blocks',
+ 'context' => 'user:login:title',
+ 'objectid' => 'login',
+ 'type' => 'user',
+ 'property' => 'title',
+ 'objectindex' => '0',
+ 'format' => '',
+))
+->execute();
+
$connection->schema()->createTable('image_effects', array(
'fields' => array(
'ieid' => array(
'primary key' => array(
'lid',
),
+ 'indexes' => array(
+ 'textgroup_context' => array(
+ 'textgroup',
+ array(
+ 'context',
+ '50',
+ ),
+ ),
+ ),
'mysql_character_set' => 'utf8',
));
'context' => 'type:test_content_type:help',
'version' => '1',
))
+->values(array(
+ 'lid' => '76',
+ 'location' => 'blocks:user:login:title',
+ 'textgroup' => 'blocks',
+ 'source' => 'User login title',
+ 'context' => 'user:login:title',
+ 'version' => '1',
+))
->execute();
$connection->schema()->createTable('locales_target', array(
'plural' => '0',
'i18n_status' => '0',
))
-->values(array(
+ ->values(array(
'lid' => '57',
'translation' => 'is - Mildly amusing limerick of the day',
'language' => 'is',
'plural' => '0',
'i18n_status' => '0',
))
+->values(array(
+ 'lid' => '76',
+ 'translation' => 'fr - User login title',
+ 'language' => 'fr',
+ 'plid' => '0',
+ 'plural' => '0',
+ 'i18n_status' => '0',
+))
->execute();
$connection->schema()->createTable('menu_custom', array(
'permission' => 'switch shortcut sets',
'module' => 'shortcut',
))
+->values(array(
+ 'rid' => '3',
+ 'permission' => 'translate admin strings',
+ 'module' => 'i18n_string',
+))
+->values(array(
+ 'rid' => '3',
+ 'permission' => 'translate blocks',
+ 'module' => 'i18n_block',
+))
->values(array(
'rid' => '3',
'permission' => 'translate content',
'permission' => 'translate interface',
'module' => 'locale',
))
+->values(array(
+ 'rid' => '3',
+ 'permission' => 'translate user-defined strings',
+ 'module' => 'i18n_string',
+))
->values(array(
'rid' => '3',
'permission' => 'use advanced search',
'name' => 'i18n_block',
'type' => 'module',
'owner' => '',
- 'status' => '0',
+ 'status' => '1',
'bootstrap' => '0',
- 'schema_version' => '-1',
- 'weight' => '0',
- 'info' => 'a:12:{s:4:"name";s:15:"Block languages";s:11:"description";s:68:"Enables language selector for blocks and optional block translation.";s:12:"dependencies";a:2:{i:0;s:5:"block";i:1;s:11:"i18n_string";}s:7:"package";s:35:"Multilingual - Internationalization";s:4:"core";s:3:"7.x";s:5:"files";a:2:{i:0;s:14:"i18n_block.inc";i:1;s:15:"i18n_block.test";}s:7:"version";s:8:"7.x-1.26";s:7:"project";s:4:"i18n";s:9:"datestamp";s:10:"1534531985";s:5:"mtime";i:1534531985;s:3:"php";s:5:"5.2.4";s:9:"bootstrap";i:0;}',
+ 'schema_version' => '7001',
+ 'weight' => '100',
+ 'info' => 'a:12:{s:4:"name";s:15:"Block languages";s:11:"description";s:68:"Enables language selector for blocks and optional block translation.";s:12:"dependencies";a:2:{i:0;s:5:"block";i:1;s:11:"i18n_string";}s:7:"package";s:35:"Multilingual - Internationalization";s:4:"core";s:3:"7.x";s:5:"files";a:2:{i:0;s:14:"i18n_block.inc";i:1;s:15:"i18n_block.test";}s:7:"version";s:8:"7.x-1.25";s:7:"project";s:4:"i18n";s:9:"datestamp";s:10:"1531342125";s:5:"mtime";i:1537747250;s:3:"php";s:5:"5.2.4";s:9:"bootstrap";i:0;}',
))
->values(array(
'filename' => 'sites/all/modules/i18n/i18n_contact/i18n_contact.module',