guix/po
Ludovic Courtès f43ffee908
gexp: 'local-file' warns when passed a non-literal relative file name.
Fixes <https://bugs.gnu.org/43736>.
Reported by Vitaliy Shatrov <guix.vits@disroot.org>.

* guix/gexp.scm (%local-file): Add #:literal? and #:location.
Emit a warning when LITERAL? is false and FILE is not absolute.
(local-file): In the non-literal case, pass #:location and #:literal?.
* po/guix/POTFILES.in: Add guix/gexp.scm.
* tests/guix-system.sh: Add test for the warning.
2020-10-02 08:11:38 +02:00
..
doc nls: Fix documentation pot generation. 2020-09-29 15:33:20 +02:00
guix gexp: 'local-file' warns when passed a non-literal relative file name. 2020-10-02 08:11:38 +02:00
packages nls: Fix copyright and bug address in pot files. 2020-09-29 15:40:25 +02:00