Verified Commit 1bb050ca authored by Dave Long's avatar Dave Long
Browse files

Issue #3219475 by quietone, adeshsharma, ravi.shankar, lucienchalom, Akram...

Issue #3219475 by quietone, adeshsharma, ravi.shankar, lucienchalom, Akram Khan, Prem Suthar, Ratan Priya, andregp, murilohp, karishmaamin, longwave, smustgrave, xjm: Fix spelling for words used once, beginning with 'j' -> 'm', inclusive
parent fc54da11
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -291,12 +291,12 @@ public static function ucwords($text) {
   *   adding an ellipsis, if $add_ellipsis is TRUE). Has no effect if $wordsafe
   *   is FALSE. This can be used to prevent having a very short resulting string
   *   that will not be understandable. For instance, if you are truncating the
   *   string "See myverylongurlexample.com for more information" to a word-safe
   *   string "See MyVeryLongURLExample.com for more information" to a word-safe
   *   return length of 20, the only available word boundary within 20 characters
   *   is after the word "See", which wouldn't leave a very informative string. If
   *   you had set $min_wordsafe_length to 10, though, the function would realise
   *   that "See" alone is too short, and would then just truncate ignoring word
   *   boundaries, giving you "See myverylongurl..." (assuming you had set
   *   boundaries, giving you "See MyVeryLongURL..." (assuming you had set
   *   $add_ellipsis to TRUE).
   *
   * @return string
+1 −1
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@ public function __construct($cid, CacheBackendInterface $cache, LockBackendInter
    $this->tags = $tags;
    $this->persistable = $modules_loaded && \Drupal::hasRequest() && \Drupal::request()->isMethod('GET');

    // @todo: Implement lazyload.
    // @todo: Implement lazy-loading.
    $this->cacheLoaded = TRUE;

    if ($this->persistable && $cached = $this->cache->get($this->cid)) {
+0 −12
Original line number Diff line number Diff line
@@ -603,9 +603,7 @@ langcode
langcodes
langname
languageswitcher
layouted
lazybuilder
lazyload
lcode
leftjoin
libc
@@ -640,11 +638,6 @@ longblob
longerthan
longtext
loquesea
loreming
loremingipsum
loremipsum
loremipsumloremipsum
lowlevel
lowline
lrdd
lstitle
@@ -662,7 +655,6 @@ mainpage
makealternatemessage
makedefaultmessage
makewarningmessage
mame
mank
maryjane
marz
@@ -698,13 +690,11 @@ mimetypes
minifyzombies
minimise
minipager
minky
minusthick
missingkey
missingkeys
mlfr
mlid
mlids
moby
mocktail
mocktails
@@ -716,11 +706,9 @@ mojito
montag
monthnames
mooooh
mosie
mostrar
moutons
moyenne
mple
msgctxt
msgid
msgstr
+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ public function bookTreeAllData($bid, $link = NULL, $max_depth = NULL);
   *   A fully loaded menu link.
   *
   * @return array
   *   An array containing the active trail: a list of mlids.
   *   An array containing the active trail: a list of menu link IDs.
   */
  public function getActiveTrailIds($bid, $link);

+4 −4
Original line number Diff line number Diff line
@@ -236,15 +236,15 @@ public function testAutoFilledSubject() {
    $this->drupalGet('node/' . $this->node->id());

    // Break when there is a word boundary before 29 characters.
    $body_text = 'Lorem ipsum Lorem ipsum Loreming ipsum Lorem ipsum';
    $body_text = 'A quick brown fox jumped over the lazy dog';
    $comment1 = $this->postComment(NULL, $body_text, '', TRUE);
    $this->assertTrue($this->commentExists($comment1), 'Form comment found.');
    $this->assertEquals('Lorem ipsum Lorem ipsum…', $comment1->getSubject());
    $this->assertEquals('A quick brown fox jumped…', $comment1->getSubject());

    // Break at 29 characters where there's no boundary before that.
    $body_text2 = 'LoremipsumloremipsumLoremingipsumLoremipsum';
    $body_text2 = 'AQuickBrownFoxJumpedOverTheLazyDog';
    $comment2 = $this->postComment(NULL, $body_text2, '', TRUE);
    $this->assertEquals('LoremipsumloremipsumLoreming…', $comment2->getSubject());
    $this->assertEquals('AQuickBrownFoxJumpedOverTheL…', $comment2->getSubject());
  }

  /**
Loading