summaryrefslogtreecommitdiff
path: root/i18n-diff-auditor
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2018-10-01 00:47:53 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2018-10-01 00:54:38 +0100
commit14074b0d336fcf80dc229ada4727345ec642222f (patch)
tree2dde31750089e2c3f180db1f9e79a639bb7295b0 /i18n-diff-auditor
parentff167d2d9dc9076a8553771f43e28a5a96e412c6 (diff)
i18n: i18n-diff-auditor: fix `on was non-string' message
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'i18n-diff-auditor')
-rwxr-xr-xi18n-diff-auditor2
1 files changed, 1 insertions, 1 deletions
diff --git a/i18n-diff-auditor b/i18n-diff-auditor
index b85b853..ce2034f 100755
--- a/i18n-diff-auditor
+++ b/i18n-diff-auditor
@@ -225,7 +225,7 @@ sub analyse_chunk_core () {
if (is_trans($y)) {
$next_y->();
die "__ on non-string $y->{P}\n" unless is_string($y);
- die "__ on was non-string $y->{P}\n" unless is_string($x);
+ die "__ on was non-string $x->{P}\n" unless is_string($x);
if ($y->{Q} ne "'") {
die "var subst in new string\n"
if $y->{V} =~ m{(?<!\\) [\$\@]};