diff options
Diffstat (limited to 'tools/extract2gettext.php')
-rw-r--r-- | tools/extract2gettext.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/extract2gettext.php b/tools/extract2gettext.php index a140195c3..ba2c927e9 100644 --- a/tools/extract2gettext.php +++ b/tools/extract2gettext.php @@ -119,7 +119,11 @@ foreach ($strings as $domain => $strs) { $f[] = ''; } $f = implode("\n", $f); - $dest = sprintf('%s/langs/en/%s.pot', APP_ROOT, $domain); + if ($domain == 'mognase') { + $dest = sprintf('%s/_nav/langs/en.pot', APP_ROOT); + } else { + $dest = sprintf('%s/langs/en/%s.pot', APP_ROOT, $domain); + } $dir = dirname($dest); if (!is_dir($dir)) { |