Skip to content
Snippets Groups Projects

Issue #3238915: Refactor (if feasible) uses of the jQuery ready function to use VanillaJS

Closed Issue #3238915: Refactor (if feasible) uses of the jQuery ready function to use VanillaJS
Closed Harumi Jang requested to merge issue/drupal-3238915:3238915-refactor-if-feasible into 9.3.x
2 files
+ 67
0
Compare changes
  • Side-by-side
  • Inline
Files
2
  • c274b2b8
    Issue #3255250 by murilohp, daffie, longwave, Gábor Hojtsy: [Symfony 5]... · c274b2b8
    Alex Pott authored
    Issue #3255250 by murilohp, daffie, longwave, Gábor Hojtsy: [Symfony 5] TranslatorInterface::transChoice() is deprecated
@@ -42,8 +42,14 @@ public function trans($id, array $parameters = [], $domain = NULL, $locale = NUL
/**
* {@inheritdoc}
*
* @deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. Use
* \Drupal\Core\Validation\DrupalTranslator::trans() instead.
*
* @see https://www.drupal.org/node/3255250
*/
public function transChoice($id, $number, array $parameters = [], $domain = NULL, $locale = NULL) {
@trigger_error(__NAMESPACE__ . '\DrupalTranslator::transChoice() is deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. Use DrupalTranslator::trans() instead. See https://www.drupal.org/node/3255250', E_USER_DEPRECATED);
// Violation messages can separated singular and plural versions by "|".
$ids = explode('|', $id);
Loading