diff --git a/core/modules/locale/locale.bulk.js b/core/modules/locale/locale.bulk.js index a549f7f..03d4d3a 100644 --- a/core/modules/locale/locale.bulk.js +++ b/core/modules/locale/locale.bulk.js @@ -5,9 +5,9 @@ /** * Select the language code of an imported file based on its filename. * - * This only works if the file is named something.locale-code.po. + * This only works if the file name ends with "LANGCODE.po". */ -Drupal.behaviors.importLocaleCodeSelector = { +Drupal.behaviors.importLanguageCodeSelector = { attach: function (context, settings) { var $form = $('#locale-translate-import-form').once('autodetect-lang'); if ($form.length) {