Skip to content

Commit

Permalink
Fix variables in translation with quites
Browse files Browse the repository at this point in the history
  • Loading branch information
Iandenh committed Oct 11, 2018
1 parent 7672bb9 commit d5e6295
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Controller/MailPreviewController.php
Expand Up @@ -150,7 +150,7 @@ protected function respondWithPart($email, $partType)
$part = $this->findPart($email, $partType);

if ($part === false) {
throw new NotFoundException(__d('debug_kit', "Email part '{0}' not found in email", $partType));
throw new NotFoundException(__d('debug_kit', "Email part ''{0}'' not found in email", $partType));
}

$response = $this->response->withType($partType);
Expand Down
2 changes: 1 addition & 1 deletion src/Panel/PanelRegistry.php
Expand Up @@ -60,7 +60,7 @@ protected function _resolveClassName($class)
*/
protected function _throwMissingClassError($class, $plugin)
{
throw new \RuntimeException(__d('debug_kit', "Unable to find '{0}' panel.", $class));
throw new \RuntimeException(__d('debug_kit', "Unable to find ''{0}'' panel.", $class));
}

/**
Expand Down

0 comments on commit d5e6295

Please sign in to comment.