Update to Drupal 8.0.0-beta15. For more information, see: https://www.drupal.org/node/2563023
This commit is contained in:
parent
2720a9ec4b
commit
f3791f1da3
1898 changed files with 54300 additions and 11481 deletions
|
@ -11,6 +11,11 @@
|
|||
* Marks changes of translations.
|
||||
*
|
||||
* @type {Drupal~behavior}
|
||||
*
|
||||
* @prop {Drupal~behaviorAttach} attach
|
||||
* Attaches behavior to show the user if translations has changed.
|
||||
* @prop {Drupal~behaviorDetach} detach
|
||||
* Detach behavior to show the user if translations has changed.
|
||||
*/
|
||||
Drupal.behaviors.localeTranslateDirty = {
|
||||
attach: function () {
|
||||
|
@ -50,6 +55,9 @@
|
|||
* Show/hide the description details on Available translation updates page.
|
||||
*
|
||||
* @type {Drupal~behavior}
|
||||
*
|
||||
* @prop {Drupal~behaviorAttach} attach
|
||||
* Attaches behavior for toggling details on the translation update page.
|
||||
*/
|
||||
Drupal.behaviors.hideUpdateInformation = {
|
||||
attach: function (context, settings) {
|
||||
|
@ -85,16 +93,20 @@
|
|||
$.extend(Drupal.theme, /** @lends Drupal.theme */{
|
||||
|
||||
/**
|
||||
* Creates markup for a changed translation marker.
|
||||
*
|
||||
* @return {string}
|
||||
* Markup for the marker.
|
||||
*/
|
||||
localeTranslateChangedMarker: function () {
|
||||
return '<abbr class="warning ajax-changed" title="' + Drupal.t('Changed') + '">*</abbr>';
|
||||
},
|
||||
|
||||
/**
|
||||
* Creates markup for the translation changed warning.
|
||||
*
|
||||
* @return {string}
|
||||
* Markup for the warning.
|
||||
*/
|
||||
localeTranslateChangedWarning: function () {
|
||||
return '<div class="clearfix messages messages--warning">' + Drupal.theme('localeTranslateChangedMarker') + ' ' + Drupal.t('Changes made in this table will not be saved until the form is submitted.') + '</div>';
|
||||
|
|
Reference in a new issue