Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Milkovsky feature/rul 44 #430

Open
wants to merge 39 commits into
base: 8.x-3.x
Choose a base branch
from
Open

Milkovsky feature/rul 44 #430

wants to merge 39 commits into from

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