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

Add internationalization tools. #2852

Merged
merged 2 commits into from
Jul 18, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this intentional? Off the top head I can't think of anything we're using this module for...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Already pushed a quickfix for that.

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