ui: Fix i18n for diagnostic messages.
commit32813e8440ff15c9389b84b1d7450fe1d3d25bb2
authorLudovic Courtès <ludo@gnu.org>
Tue, 9 Apr 2019 21:06:38 +0000 (9 23:06 +0200)
committerLudovic Courtès <ludo@gnu.org>
Wed, 10 Apr 2019 10:40:59 +0000 (10 12:40 +0200)
treed6e644203ecf41ecc66e4206be155b58341be0bb
parent5d9f9ad63191646a22dc80624227aa413a4894f0
ui: Fix i18n for diagnostic messages.

Until now, we'd pass 'gettext' the "augmented" format string, which
'gettext' would not find in message catalogs.  Now we pass it FMT as is,
which is what catalogs contain.

* guix/ui.scm (define-diagnostic)[augmented-format-string]: Remove.
Emit one 'format' call to print the prefix, and a second one to print
the actual message.
guix/ui.scm