first import

This commit is contained in:
Bachir Soussi Chiadmi
2015-04-08 11:40:19 +02:00
commit 1bc61b12ad
8435 changed files with 1582817 additions and 0 deletions
@@ -0,0 +1,30 @@
(function ($) {
/**
* Provide the summary information for the block settings vertical tab.
*/
Drupal.behaviors.i18nSettingsSummary = {
attach: function (context) {
$('fieldset#edit-languages', context).drupalSetSummary(function (context) {
var summary = '';
if ($('.form-item-i18n-mode input[type=checkbox]:checked', context).val()) {
summary += Drupal.t('Translatable');
}
else {
summary += Drupal.t('Not translatable');
}
summary += ', ';
if ($('.form-item-languages input[type=checkbox]:checked', context).val()) {
summary += Drupal.t('Restricted to certain languages');
}
else {
summary += Drupal.t('Not restricted');
}
return summary;
});
}
};
})(jQuery);