From 11df5f29559f788b431879de6300ff973d1287e1 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 29 Jun 2019 12:54:02 +0100 Subject: i18n: Add translator notes about ASCII art changes display Signed-off-by: Ian Jackson --- dgit | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/dgit b/dgit index 02cf97d..af26f19 100755 --- a/dgit +++ b/dgit @@ -6192,6 +6192,10 @@ END if ($quilt_mode =~ m/baredebian/) { $uheadref = $quilt_upstream_commitish; + # TRANSLATORS: this translation must fit in the ASCII art + # quilt differences display. The untranslated display + # says %9.9s, so with that display it must be at most 9 + # characters. $uhead_whatshort = __ 'upstream'; } @@ -6218,6 +6222,12 @@ END progress f_ "%s: base trees orig=%.20s o+d/p=%.20s", $us, $unapplied, $oldtiptree; + # TRANSLATORS: Try to keep this ascii-art layout right. The 0s in + # %9.00009s will be ignored and are there to make the format the + # same length (9 characters) as the output it generates. If you + # change the value 9, your translation of "upstream" must fit into + # the new length, and you should change the number of 0s. Do + # not reduce it below 4 as HEAD has to fit too. progress f_ "%s: quilt differences: src: %s orig %s gitignores: %s orig %s\n". "%s: quilt differences: %9.00009s %s o+d/p %9.00009s %s o+d/p", -- cgit v1.2.3