Skip to content

Commit a784183

Browse files
Fixed search for translation strings
1 parent a8a938a commit a784183

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Services/Packages/Parser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ protected function parse(string $content): void
7878
continue;
7979
}
8080

81-
if (Str::endsWith((string) $value, ['\',', '\', ', '",', '", '])) {
81+
if (Str::of((string) $value)->trim()->endsWith(["', '", '", "'])) {
8282
continue;
8383
}
8484

0 commit comments

Comments
 (0)