From d9f9613fdaba65f16c4e9c4116ea107cf4889504 Mon Sep 17 00:00:00 2001 From: Filip Komar Date: Tue, 11 Mar 2014 22:00:55 +0000 Subject: do not regenerate pot and po files if there are no changes in the source --- tools/extract2gettext.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/extract2gettext.php') diff --git a/tools/extract2gettext.php b/tools/extract2gettext.php index 8eff15de0..1cbdb3a17 100644 --- a/tools/extract2gettext.php +++ b/tools/extract2gettext.php @@ -87,7 +87,8 @@ foreach ($strings as $domain => $strs) { $f[] = '# This file is distributed under the same license as'; $f[] = '# the content of the corresponding web page(s).'; $f[] = '#'; - $f[] = sprintf('# Generated by extract2gettext.php on %s', $cur_date = date('Y-m-d H:i:sO')); + $cur_date = date('Y-m-d H:i:sO'); + $f[] = '# Generated by extract2gettext.php'; $f[] = sprintf('# Domain: %s', $domain); $f[] = '#'; $f[] = '# include translation strings from:'; -- cgit v1.2.1