Note: There's no layout.module component, so choosing base system.

layout.module does t('@name @type'), where @type can be module and theme. It then does t('module') or t('theme') separately. It seems cleaner and more flexible in terms of translation to simply do t('@name module') and t('@name theme') conditionally.

Patch attached.

CommentFileSizeAuthor
layout-t.patch1.33 KBtstoeckler
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

swentel’s picture

Status: Needs review » Closed (won't fix)

The layout module is gone.

tstoeckler’s picture

Project: Drupal core » Layout
Version: 8.x-dev » 8.x-1.x-dev
Component: base system » Code

Moving this to the contrib queue.

tstoeckler’s picture

Status: Closed (won't fix) » Needs review