per #2018411: Figure out a nice DX when working with injected translation the doxygen on the t() method should be just:

  /**
   * Translates a string to the current language or to a given language.
   *
   * See the t() documentation for details.
   */
  protected function t($string, array $args = array(), array $options = array()) {
    return $this->stringTranslation->translate($string, $args, $options);
  }
Files: 
CommentFileSizeAuthor
#1 2079095-1.patch1.41 KBpwolanin
PASSED: [[SimpleTest]]: [MySQL] 58,103 pass(es).
[ View ]

Comments

Priority:Normal» Minor
Status:Active» Needs review
StatusFileSize
new1.41 KB
PASSED: [[SimpleTest]]: [MySQL] 58,103 pass(es).
[ View ]

Status:Needs review» Reviewed & tested by the community

oh yes

Issue tags:+Quick fix

tag

Status:Reviewed & tested by the community» Fixed

Thanks, sorry for missing that.

Committed and pushed to 8.x.

Automatically closed -- issue fixed for 2 weeks with no activity.