Skip to content
This repository has been archived by the owner on Oct 29, 2020. It is now read-only.

Commit

Permalink
Merge pull request #2852 from sergii-tkachenko/install-l10n_update-mo…
Browse files Browse the repository at this point in the history
…dule

Add internationalization tools.
  • Loading branch information
Sergii Tkachenko committed Jul 18, 2014
2 parents eb14939 + d1d5b8b commit eb81a19
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ dependencies[] = ctools
dependencies[] = features
dependencies[] = file_entity
dependencies[] = filter
dependencies[] = l10n_update
dependencies[] = markdown
dependencies[] = services
dependencies[] = strongarm
Expand All @@ -20,5 +21,6 @@ features[user_permission][] = administer files
features[user_permission][] = create files
features[user_permission][] = edit any image files
features[user_permission][] = use text format markdown
features[variable][] = l10n_update_import_mode
features[variable][] = pathauto_file_pattern
features[variable][] = pathauto_node_pattern
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@
function dosomething_settings_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 = 'l10n_update_import_mode';
$strongarm->value = '2';
$export['l10n_update_import_mode'] = $strongarm;

$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
Expand Down
3 changes: 2 additions & 1 deletion lib/profiles/dosomething/dosomething.info
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ dependencies[] = field_ui
dependencies[] = file
dependencies[] = image
dependencies[] = list
dependencies[] = locale
dependencies[] = number
dependencies[] = options
dependencies[] = path
Expand Down Expand Up @@ -39,8 +40,8 @@ dependencies[] = file_entity
dependencies[] = flag
dependencies[] = i18n
dependencies[] = libraries
dependencies[] = l10n_update
dependencies[] = link
dependencies[] = locale
dependencies[] = markdown
dependencies[] = message_broker_producer
dependencies[] = metatag
Expand Down
4 changes: 4 additions & 0 deletions lib/profiles/dosomething/drupal-org.make
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ projects[google_analytics][subdir] = "contrib"
projects[i18n][version] = "1.11"
projects[i18n][subdir] = "contrib"

; Localization update
projects[l10n_update][version] = "1.0"
projects[l10n_update][subdir] = "contrib"

; Libraries
projects[libraries][version] = "2.2"
projects[libraries][subdir] = "contrib"
Expand Down
11 changes: 10 additions & 1 deletion provision/salt/roots/salt/drush.sls
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ drush-user-config-folder:
- require:
- cmd: drush

drush-make-local:
drush-module-make-local:
cmd.run:
- name: 'drush -y dl make_local-6.x-1.0'
- user: vagrant
Expand All @@ -35,6 +35,15 @@ drush-make-local:
- require:
- cmd: drush

drush-module-language:
cmd.run:
- name: 'drush dl drush_language'
- user: vagrant
- group: vagrant
- unless: test -f /home/vagrant/.drush/drush_language/language.drush.inc
- require:
- cmd: drush

drush-module-terminus:
git.latest:
- name: https://github.com/pantheon-systems/terminus
Expand Down

0 comments on commit eb81a19

Please sign in to comment.