Skip to content

Commit

Permalink
Update Translator.php
Browse files Browse the repository at this point in the history
  • Loading branch information
aleswita committed Jul 22, 2021
1 parent 59aaf19 commit ba19bec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Translator.php
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ public function translate(

$originalMessage = $message;

if (Strings::startsWith($message, '//')) {
if (Helpers::isAbsoluteMessage($message)) {
$message = Strings::substring($message, 2);

} elseif (count($this->prefix) > 0) {
Expand Down

0 comments on commit ba19bec

Please sign in to comment.