diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-04-07 22:12:29 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-04-07 22:12:29 +0200 |
commit | e377df7b305514d721510fe1f15921647ebc7552 (patch) | |
tree | 35dd17aaf5e29c44c0f13401b6cb86e4d7df5acd /module/datetime/instance.scm | |
parent | Rename filename-extension{ => ?}. (diff) | |
parent | Fix translation for (vcomponent datetime output). (diff) | |
download | calp-e377df7b305514d721510fe1f15921647ebc7552.tar.gz calp-e377df7b305514d721510fe1f15921647ebc7552.tar.xz |
Merge branch 'translation'
Diffstat (limited to 'module/datetime/instance.scm')
-rw-r--r-- | module/datetime/instance.scm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/module/datetime/instance.scm b/module/datetime/instance.scm index 5ce312f2..2b060204 100644 --- a/module/datetime/instance.scm +++ b/module/datetime/instance.scm @@ -5,10 +5,11 @@ :use-module ((hnh util path) :select (path-append)) :use-module (datetime zic) :use-module ((xdg basedir) :prefix xdg-) + :use-module (calp translation) :export (zoneinfo)) (define-config tz-list '() - description: "List of default zoneinfo files to be parsed") + description: (_ "List of default zoneinfo files to be parsed")) ;; TODO see (vcomponent uil instance), this has a similar problem with early load ;; Takes a list of zoneinfo files relative @@ -24,7 +25,7 @@ (() (define tz-list (get-config 'tz-list)) (if (null? tz-list) - (warning "Default zoneinfo only available when tz-dir and tz-list are configured") + (warning (_ "Default zoneinfo only available when tz-dir and tz-list are configured")) (self tz-list))) ((file-list) (provide 'zoneinfo) |