From 14074b0d336fcf80dc229ada4727345ec642222f Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 1 Oct 2018 00:47:53 +0100 Subject: i18n: i18n-diff-auditor: fix `on was non-string' message Signed-off-by: Ian Jackson --- i18n-diff-auditor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'i18n-diff-auditor') 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{(?