Update to drupal-org-drupal 8.0.0-rc2. For more information, see https://www.drupal.org/node/2598668
This commit is contained in:
parent
f32e58e4b1
commit
8e18df8c36
3062 changed files with 15044 additions and 172506 deletions
|
@ -5,7 +5,7 @@
|
|||
|
||||
(function ($, Drupal) {
|
||||
|
||||
"use strict";
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Marks changes of translations.
|
||||
|
@ -19,7 +19,7 @@
|
|||
*/
|
||||
Drupal.behaviors.localeTranslateDirty = {
|
||||
attach: function () {
|
||||
var $form = $("#locale-translate-edit-form").once('localetranslatedirty');
|
||||
var $form = $('#locale-translate-edit-form').once('localetranslatedirty');
|
||||
if ($form.length) {
|
||||
// Display a notice if any row changed.
|
||||
$form.one('formUpdated.localeTranslateDirty', 'table', function () {
|
||||
|
@ -43,7 +43,7 @@
|
|||
},
|
||||
detach: function (context, settings, trigger) {
|
||||
if (trigger === 'unload') {
|
||||
var $form = $("#locale-translate-edit-form").removeOnce('localetranslatedirty');
|
||||
var $form = $('#locale-translate-edit-form').removeOnce('localetranslatedirty');
|
||||
if ($form.length) {
|
||||
$form.off('formUpdated.localeTranslateDirty');
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
(function ($, Drupal) {
|
||||
|
||||
"use strict";
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Select the language code of an imported file based on its filename.
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
(function ($, Drupal, drupalSettings) {
|
||||
|
||||
"use strict";
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Attaches language support to the jQuery UI datepicker component.
|
||||
|
@ -23,18 +23,18 @@
|
|||
nextText: Drupal.t('Next'),
|
||||
currentText: Drupal.t('Today'),
|
||||
monthNames: [
|
||||
Drupal.t('January', {}, {context: "Long month name"}),
|
||||
Drupal.t('February', {}, {context: "Long month name"}),
|
||||
Drupal.t('March', {}, {context: "Long month name"}),
|
||||
Drupal.t('April', {}, {context: "Long month name"}),
|
||||
Drupal.t('May', {}, {context: "Long month name"}),
|
||||
Drupal.t('June', {}, {context: "Long month name"}),
|
||||
Drupal.t('July', {}, {context: "Long month name"}),
|
||||
Drupal.t('August', {}, {context: "Long month name"}),
|
||||
Drupal.t('September', {}, {context: "Long month name"}),
|
||||
Drupal.t('October', {}, {context: "Long month name"}),
|
||||
Drupal.t('November', {}, {context: "Long month name"}),
|
||||
Drupal.t('December', {}, {context: "Long month name"})
|
||||
Drupal.t('January', {}, {context: 'Long month name'}),
|
||||
Drupal.t('February', {}, {context: 'Long month name'}),
|
||||
Drupal.t('March', {}, {context: 'Long month name'}),
|
||||
Drupal.t('April', {}, {context: 'Long month name'}),
|
||||
Drupal.t('May', {}, {context: 'Long month name'}),
|
||||
Drupal.t('June', {}, {context: 'Long month name'}),
|
||||
Drupal.t('July', {}, {context: 'Long month name'}),
|
||||
Drupal.t('August', {}, {context: 'Long month name'}),
|
||||
Drupal.t('September', {}, {context: 'Long month name'}),
|
||||
Drupal.t('October', {}, {context: 'Long month name'}),
|
||||
Drupal.t('November', {}, {context: 'Long month name'}),
|
||||
Drupal.t('December', {}, {context: 'Long month name'})
|
||||
],
|
||||
monthNamesShort: [
|
||||
Drupal.t('Jan'),
|
||||
|
|
|
@ -6,8 +6,6 @@
|
|||
*/
|
||||
|
||||
use Drupal\Core\Url;
|
||||
use Drupal\Core\Language\Language;
|
||||
use Drupal\language\Plugin\LanguageNegotiation\LanguageNegotiationSelected;
|
||||
|
||||
/**
|
||||
* Implements hook_install().
|
||||
|
|
|
@ -16,11 +16,8 @@ use Drupal\Component\Utility\UrlHelper;
|
|||
use Drupal\Component\Utility\Xss;
|
||||
use Drupal\Core\Url;
|
||||
use Drupal\Core\Asset\AttachedAssetsInterface;
|
||||
use Drupal\Core\Cache\Cache;
|
||||
use Drupal\Core\Form\FormStateInterface;
|
||||
use Drupal\Core\Language\Language;
|
||||
use Drupal\Core\Routing\RouteMatchInterface;
|
||||
use Drupal\Core\StringTranslation\TranslatableMarkup;
|
||||
use Drupal\Core\Language\LanguageInterface;
|
||||
use Drupal\language\ConfigurableLanguageInterface;
|
||||
use Drupal\Component\Utility\Crypt;
|
||||
|
|
|
@ -5,13 +5,9 @@
|
|||
* Interface translation summary, editing and deletion user interfaces.
|
||||
*/
|
||||
|
||||
use Drupal\Component\Utility\SafeMarkup;
|
||||
use Drupal\Core\Url;
|
||||
use Drupal\Core\Render\Element;
|
||||
use Drupal\locale\SourceString;
|
||||
use Drupal\locale\TranslationString;
|
||||
use Symfony\Component\HttpFoundation\RedirectResponse;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
/**
|
||||
* Page callback: Checks for translation updates and displays the status.
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
namespace Drupal\locale\Controller;
|
||||
|
||||
use Drupal\Core\Controller\ControllerBase;
|
||||
use Symfony\Component\HttpFoundation\RedirectResponse;
|
||||
|
||||
/**
|
||||
* Return response for manual check translations.
|
||||
|
|
|
@ -8,8 +8,6 @@
|
|||
namespace Drupal\locale;
|
||||
|
||||
use Drupal\Component\Gettext\PoStreamReader;
|
||||
use Drupal\Component\Gettext\PoMemoryWriter;
|
||||
use Drupal\locale\PoDatabaseWriter;
|
||||
|
||||
/**
|
||||
* Static class providing Drupal specific Gettext functionality.
|
||||
|
|
|
@ -9,7 +9,6 @@ namespace Drupal\locale;
|
|||
|
||||
use Drupal\Component\Utility\NestedArray;
|
||||
use Drupal\Core\Config\ConfigFactoryInterface;
|
||||
use Drupal\Core\Config\InstallStorage;
|
||||
use Drupal\Core\Config\StorageInterface;
|
||||
use Drupal\Core\Config\TypedConfigManagerInterface;
|
||||
use Drupal\Core\StringTranslation\TranslatableMarkup;
|
||||
|
|
|
@ -10,7 +10,6 @@ namespace Drupal\locale;
|
|||
use Drupal\Component\Gettext\PoHeader;
|
||||
use Drupal\Component\Gettext\PoItem;
|
||||
use Drupal\Component\Gettext\PoReaderInterface;
|
||||
use Drupal\locale\TranslationString;
|
||||
|
||||
/**
|
||||
* Gettext PO reader working with the locale module database.
|
||||
|
|
|
@ -11,8 +11,6 @@ use Drupal\Component\Gettext\PoHeader;
|
|||
use Drupal\Component\Gettext\PoItem;
|
||||
use Drupal\Component\Gettext\PoReaderInterface;
|
||||
use Drupal\Component\Gettext\PoWriterInterface;
|
||||
use Drupal\locale\SourceString;
|
||||
use Drupal\locale\TranslationString;
|
||||
|
||||
/**
|
||||
* Gettext PO writer working with the locale module database.
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
namespace Drupal\locale\StreamWrapper;
|
||||
|
||||
use Drupal\Core\Annotation\StreamWrapper;
|
||||
use Drupal\Core\Annotation\Translation;
|
||||
use Drupal\Core\StreamWrapper\LocalStream;
|
||||
use Drupal\Core\StreamWrapper\StreamWrapperInterface;
|
||||
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
|
||||
namespace Drupal\locale;
|
||||
|
||||
use Drupal\Component\Utility\SafeMarkup;
|
||||
|
||||
/**
|
||||
* Defines the locale string base class.
|
||||
*
|
||||
|
|
|
@ -10,7 +10,6 @@ namespace Drupal\locale\Tests;
|
|||
use Drupal\locale\Locale;
|
||||
use Drupal\simpletest\WebTestBase;
|
||||
use Drupal\language\Entity\ConfigurableLanguage;
|
||||
use Drupal\Core\Url;
|
||||
|
||||
/**
|
||||
* Tests translation update's effects on configuration translations.
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
|
||||
namespace Drupal\locale\Tests;
|
||||
|
||||
use Drupal\Component\Utility\SafeMarkup;
|
||||
use Drupal\simpletest\WebTestBase;
|
||||
use Drupal\core\language\languageInterface;
|
||||
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
namespace Drupal\locale\Tests;
|
||||
|
||||
use Drupal\Core\StreamWrapper\PublicStream;
|
||||
use Drupal\Core\Url;
|
||||
use Drupal\simpletest\WebTestBase;
|
||||
use Drupal\Component\Utility\SafeMarkup;
|
||||
|
||||
|
|
Reference in a new issue