summaryrefslogtreecommitdiff
path: root/i18n-diff-auditor
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2018-10-01 02:40:20 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2018-10-01 02:42:15 +0100
commit87f6b9fcc58b478597e728fc41d4c2b56fa99951 (patch)
tree280811e4f27e793cbeb8980ba0c7c91e29ac463a /i18n-diff-auditor
parent59ca351b460f4d512134e56540addc7e84b6bc2b (diff)
i18n: i18n-diff-auditor: Print deleted text
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'i18n-diff-auditor')
-rwxr-xr-xi18n-diff-auditor3
1 files changed, 2 insertions, 1 deletions
diff --git a/i18n-diff-auditor b/i18n-diff-auditor
index 5630d7e..beb3a9a 100755
--- a/i18n-diff-auditor
+++ b/i18n-diff-auditor
@@ -285,7 +285,8 @@ sub analyse_chunk_core () {
if ($fmt !~ m{\%[^\%]}) {
$exactly->($fmt, '(tail)');
$fmt = '';
- die "text deleted from end of string\n" if length $xs;
+ die "text deleted from end of string: ".qp($xs)."\n"
+ if length $xs;
last;
}
$exactly->($`, '(literal)');