diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | devlet_l10n.features.inc | 11 | ||||
-rw-r--r-- | devlet_l10n.info | 32 | ||||
-rw-r--r-- | devlet_l10n.module | 3 | ||||
-rw-r--r-- | devlet_l10n.strongarm.inc | 91 |
5 files changed, 138 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1377554 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.swp diff --git a/devlet_l10n.features.inc b/devlet_l10n.features.inc new file mode 100644 index 0000000..22507a1 --- /dev/null +++ b/devlet_l10n.features.inc @@ -0,0 +1,11 @@ +<?php + +/** + * Implementation of hook_ctools_plugin_api(). + */ +function devlet_l10n_ctools_plugin_api() { + list($module, $api) = func_get_args(); + if ($module == "strongarm" && $api == "strongarm") { + return array("version" => 1); + } +} diff --git a/devlet_l10n.info b/devlet_l10n.info new file mode 100644 index 0000000..563cbf9 --- /dev/null +++ b/devlet_l10n.info @@ -0,0 +1,32 @@ +core = "6.x" +dependencies[] = "i18n" +dependencies[] = "i18nblocks" +dependencies[] = "i18ncck" +dependencies[] = "i18ncontent" +dependencies[] = "i18nmenu" +dependencies[] = "i18nprofile" +dependencies[] = "i18nstrings" +dependencies[] = "i18nsync" +dependencies[] = "i18ntaxonomy" +dependencies[] = "i18nviews" +dependencies[] = "l10n_update" +dependencies[] = "locale" +dependencies[] = "strongarm" +dependencies[] = "tcontact" +dependencies[] = "translation" +description = "AloArtista Localization Feature" +features[ctools][] = "strongarm:strongarm:1" +features[variable][] = "i18n_lock_node_page" +features[variable][] = "i18n_newnode_current_page" +features[variable][] = "i18n_node_page" +features[variable][] = "i18n_required_node_page" +features[variable][] = "i18nsync_nodeapi_page" +features[variable][] = "l10n_update_rebuild_projects" +features[variable][] = "language_content_type_page" +features[variable][] = "language_count" +features[variable][] = "language_default" +features[variable][] = "language_negotiation" +name = "AloArtista L10N" +package = "AloArtista" +project = "devlet_l10n" +version = "6.x-0.1" diff --git a/devlet_l10n.module b/devlet_l10n.module new file mode 100644 index 0000000..7195412 --- /dev/null +++ b/devlet_l10n.module @@ -0,0 +1,3 @@ +<?php + +include_once('devlet_l10n.features.inc'); diff --git a/devlet_l10n.strongarm.inc b/devlet_l10n.strongarm.inc new file mode 100644 index 0000000..9edf611 --- /dev/null +++ b/devlet_l10n.strongarm.inc @@ -0,0 +1,91 @@ +<?php + +/** + * Implementation of hook_strongarm(). + */ +function devlet_l10n_strongarm() { + $export = array(); + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'i18n_lock_node_page'; + $strongarm->value = 0; + + $export['i18n_lock_node_page'] = $strongarm; + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'i18n_newnode_current_page'; + $strongarm->value = 0; + + $export['i18n_newnode_current_page'] = $strongarm; + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'i18n_node_page'; + $strongarm->value = 1; + + $export['i18n_node_page'] = $strongarm; + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'i18n_required_node_page'; + $strongarm->value = 0; + + $export['i18n_required_node_page'] = $strongarm; + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'i18nsync_nodeapi_page'; + $strongarm->value = array(); + + $export['i18nsync_nodeapi_page'] = $strongarm; + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'l10n_update_rebuild_projects'; + $strongarm->value = 1; + + $export['l10n_update_rebuild_projects'] = $strongarm; + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'language_content_type_page'; + $strongarm->value = '2'; + + $export['language_content_type_page'] = $strongarm; + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'language_count'; + $strongarm->value = 3; + + $export['language_count'] = $strongarm; + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'language_default'; + $strongarm->value = (object) array( + 'language' => 'en', + 'name' => 'English', + 'native' => 'English', + 'direction' => '0', + 'enabled' => 1, + 'plurals' => '0', + 'formula' => '', + 'domain' => '', + 'prefix' => 'en', + 'weight' => '0', + 'javascript' => '', +); + + $export['language_default'] = $strongarm; + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'language_negotiation'; + $strongarm->value = '2'; + + $export['language_negotiation'] = $strongarm; + return $export; +} |