diff --git a/public_html/lang/generate_lang_file.php b/public_html/lang/generate_lang_file.php index 97084121..f055491d 100755 --- a/public_html/lang/generate_lang_file.php +++ b/public_html/lang/generate_lang_file.php @@ -169,6 +169,8 @@ function add($msg, $context=null) { $translation = _($msg); } elseif ($interactive && $format != 'pot') { + if ($context) + fwrite(STDERR, "\n# $context\n"); if ($copyoriginalvalue) { fwrite(STDERR, "\"$msg\"\n\n => Please enter translated string (or leave empty to copy original string) : "); $in = trim(fgets(STDIN));