aboutsummaryrefslogtreecommitdiffstats
path: root/tools/extract2gettext.php
diff options
context:
space:
mode:
authorFilip Komar <filip@mageia.org>2014-03-13 21:28:06 +0000
committerFilip Komar <filip@mageia.org>2014-03-13 21:28:06 +0000
commit981aa2995e5c7f2d271a4a680568ff22a396fd2d (patch)
tree9fe5196548ed178949b8c1f193b86bf5c5a047be /tools/extract2gettext.php
parent709b49c6c3d017c47765a5304b4aa59d49a50698 (diff)
downloadwww-981aa2995e5c7f2d271a4a680568ff22a396fd2d.tar
www-981aa2995e5c7f2d271a4a680568ff22a396fd2d.tar.gz
www-981aa2995e5c7f2d271a4a680568ff22a396fd2d.tar.bz2
www-981aa2995e5c7f2d271a4a680568ff22a396fd2d.tar.xz
www-981aa2995e5c7f2d271a4a680568ff22a396fd2d.zip
page community converted to gettext + bug fix (sorry for nonatomic commit)
Diffstat (limited to 'tools/extract2gettext.php')
-rw-r--r--tools/extract2gettext.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/extract2gettext.php b/tools/extract2gettext.php
index 1cbdb3a17..55f841a0f 100644
--- a/tools/extract2gettext.php
+++ b/tools/extract2gettext.php
@@ -113,7 +113,7 @@ foreach ($strings as $domain => $strs) {
foreach ($strs as $str => $info) {
$str = str_replace(array("\'", '"'), array("'", '\"'), $str);
- $f[] = sprintf('msgctxt "%s"', $info[0]);
+ $f[] = sprintf('#: "%s"', $info[0]); // location of string in the source (#: reference...)
$f[] = 'msgid "' . $str . '"';
$f[] = 'msgstr ""';
$f[] = '';