Skip to content

Commit d5e6295

Browse files
committed
Fix variables in translation with quites
1 parent 7672bb9 commit d5e6295

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Controller/MailPreviewController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ protected function respondWithPart($email, $partType)
150150
$part = $this->findPart($email, $partType);
151151

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

156156
$response = $this->response->withType($partType);

src/Panel/PanelRegistry.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ protected function _resolveClassName($class)
6060
*/
6161
protected function _throwMissingClassError($class, $plugin)
6262
{
63-
throw new \RuntimeException(__d('debug_kit', "Unable to find '{0}' panel.", $class));
63+
throw new \RuntimeException(__d('debug_kit', "Unable to find ''{0}'' panel.", $class));
6464
}
6565

6666
/**

0 commit comments

Comments
 (0)