Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

solves ticket 3306

  • Loading branch information...
commit f3bbe89ede696cf91f534aa07aa61f002095ff32 1 parent 83d307e
@dereuromark dereuromark authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Cake/Console/Command/Task/ExtractTask.php
View
2  lib/Cake/Console/Command/Task/ExtractTask.php
@@ -523,7 +523,7 @@ protected function _buildFiles() {
$occurrences[] = $file . ':' . implode(';', $lines);
}
$occurrences = implode("\n#: ", $occurrences);
- $header = '#: ' . str_replace($paths, '', $occurrences) . "\n";
+ $header = '#: ' . str_replace(DS, '/', str_replace($paths, '', $occurrences)) . "\n";
if ($plural === false) {
$sentence = "msgid \"{$msgid}\"\n";
Please sign in to comment.
Something went wrong with that request. Please try again.