Skip to content

Conversation

fago
Copy link
Owner

@fago fago commented Mar 7, 2016

No description provided.

Conflicts:
	src/Engine/RulesComponent.php
	src/Form/ReactionRuleEditForm.php
…RUL-44

Conflicts:
	src/Entity/ReactionRuleStorage.php
Conflicts:
	src/Entity/ReactionRuleStorage.php
	src/EventHandler/ConfigurableEventHandlerEntityBundle.php
	src/Form/ReactionRuleEditForm.php
	tests/src/Kernel/ConfigurableEventHandlerTest.php
	tests/src/Kernel/EventIntegrationTest.php
Conflicts:
	src/Entity/ReactionRuleStorage.php
	src/Form/ReactionRuleEditForm.php
	tests/src/Kernel/EventIntegrationTest.php
// Nothing to do by default.
$bundle = $this->configuration['bundle'];
$bundle_label = isset($this->bundlesInfo[$bundle]['label']) ? $this->bundlesInfo[$bundle]['label'] : $bundle;
$suffix = isset($bundle) ? ' ' . t('of @bundle-key %name', array('@bundle-key' => $this->entityInfo->getBundleLabel(), '%name' => $bundle_label)) : '';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

never split up translatable messages like this. Use 2 distinct t() calls instead.

Oh, and don't use t(), us $this->t() instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants