aboutsummaryrefslogtreecommitdiffstats
path: root/stattrans.pl
diff options
context:
space:
mode:
authorSteve McIntyre <steve@einval.com>2018-05-31 10:07:09 +0100
committerSteve McIntyre <steve@einval.com>2018-05-31 10:07:09 +0100
commit4f0b0a121c47544abfbb0966e98163bf45cddfd7 (patch)
tree65627d2e74ff554ad9814130717cf89fb9fd9aa7 /stattrans.pl
parent2c43b29254dd338a75116c207b5f1dbfb7cbf8ea (diff)
Fix ordering of count_changes() properly
Diffstat (limited to 'stattrans.pl')
-rwxr-xr-xstattrans.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/stattrans.pl b/stattrans.pl
index de43989822f..7f70175bcbe 100755
--- a/stattrans.pl
+++ b/stattrans.pl
@@ -261,7 +261,7 @@ sub check_translation
# Here we compare the original version with the translated one and print
# a note for the user if their first or last numbers are too far apart
# From translation-check.wml
- my $version_diff = $VCS->count_changes($orig_file, $version, $translation);
+ my $version_diff = $VCS->count_changes($orig_file, $translation, $version);
if (!defined $version_diff) {
print "check_translation: error from count_changes for orig_file $orig_file, file $file\n";
} else {

© 2014-2024 Faster IT GmbH | imprint | privacy policy