guix/po/guix
Ludovic Courtès fb7e6ccba7
services: configuration: Report the location of field type errors.
Previously field type errors would be reported in a non-standard way,
and without any source location information.  This fixes it.

* gnu/services/configuration.scm (configuration-field-error): Add a
'loc' parameter and honor it.  Use 'formatted-message' instead of plain
'format'.
(define-configuration-helper)[field-sanitizer]: New procedure.
Use it.  Use STEM as the identifier of the syntactic constructor of the
record type.  Add a 'sanitize' property to each field.  Remove now
useless STEM macro that would call 'validate-configuration'.
* gnu/services/mail.scm (serialize-listener-configuration): Adjust to
new 'configuration-field-error' prototype.
* tests/services/configuration.scm ("wrong type for a field"): New test.
* po/guix/POTFILES.in: Add gnu/services/configuration.scm.
2022-06-24 23:18:20 +02:00
..
LINGUAS nls: Update translations. 2022-05-01 18:07:34 +02:00
Makevars nls: Do not update po files on first make invocation. 2021-05-03 09:29:44 -04:00
POTFILES.in services: configuration: Report the location of field type errors. 2022-06-24 23:18:20 +02:00
cs.po nls: Update translations. 2022-06-04 17:42:54 +02:00
da.po nls: Update translations. 2022-06-04 17:42:54 +02:00
de.po nls: Update translations. 2022-06-04 17:42:54 +02:00
eo.po nls: Update translations. 2022-06-04 17:42:54 +02:00
es.po nls: Update translations. 2022-06-04 17:42:54 +02:00
fa.po nls: Update translations. 2022-06-04 17:42:54 +02:00
fi.po nls: Update translations. 2022-06-04 17:42:54 +02:00
fr.po nls: Update translations. 2022-06-04 17:42:54 +02:00
hu.po nls: Update translations. 2022-06-04 17:42:54 +02:00
it.po nls: Update translations. 2022-06-04 17:42:54 +02:00
ja.po nls: Update translations. 2022-06-04 17:42:54 +02:00
ko.po nls: Update translations. 2022-06-04 17:42:54 +02:00
nl.po nls: Update translations. 2022-06-04 17:42:54 +02:00
oc.po nls: Update translations. 2022-06-04 17:42:54 +02:00
pl.po nls: Update translations. 2022-06-04 17:42:54 +02:00
pt_BR.po nls: Update translations. 2022-06-04 17:42:54 +02:00
ru.po nls: Update translations. 2022-06-04 17:42:54 +02:00
si.po nls: Update translations. 2022-06-04 17:42:54 +02:00
sk.po nls: Update translations. 2022-06-04 17:42:54 +02:00
sr.po nls: Update translations. 2022-06-04 17:42:54 +02:00
sv.po nls: Update translations. 2022-06-04 17:42:54 +02:00
ta.po nls: Update translations. 2022-06-04 17:42:54 +02:00
uk.po nls: Update translations. 2022-06-04 17:42:54 +02:00
vi.po nls: Update translations. 2022-06-04 17:42:54 +02:00
zh_CN.po nls: Update translations. 2022-05-01 18:07:34 +02:00