aboutsummaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorpelzflorian (Florian Pelz) <pelzflorian@pelzflorian.de>2022-11-19 23:49:37 +0100
committerFlorian Pelz <pelzflorian@pelzflorian.de>2022-11-20 16:01:08 +0100
commitda6c6763fa72585a1df3021781f8d33c3b64dcc8 (patch)
tree31145788ee58e797260048e86f24f29cd03638ed /po
parent44f087fcc7b6ab48ff1381651ef3ea5e560f5216 (diff)
downloadguix-da6c6763fa72585a1df3021781f8d33c3b64dcc8.tar
guix-da6c6763fa72585a1df3021781f8d33c3b64dcc8.tar.gz
scripts: Use translations for guix.pot for service descriptions.
Previously, service descriptions appeared in both guix.pot and packages.pot, but only translations of packages.pot were used. Now, translations are only done with guix.pot. This is better, because translators are more likely to translate guix.pot, and is also easier, because files in gnu/{home/,}services need to be in po/guix/POTFILES.in anyway and po/guix/Makevars already acts on the 'description' keyword because of lint checkers. * guix/scripts/home.scm (service-type-description-string): Use translations from guix.pot. * guix/scripts/system/search.scm (service-type-description-string) (service-type->recutils): Likewise. * po/packages/POTFILES.in: Move files in gnu/services to ... * po/guix/POTFILES.in: ... here.
Diffstat (limited to 'po')
-rw-r--r--po/guix/POTFILES.in4
-rw-r--r--po/packages/POTFILES.in5
2 files changed, 4 insertions, 5 deletions
diff --git a/po/guix/POTFILES.in b/po/guix/POTFILES.in
index 228ce04240..7009fc756c 100644
--- a/po/guix/POTFILES.in
+++ b/po/guix/POTFILES.in
@@ -4,10 +4,14 @@ gnu.scm
gnu/packages.scm
gnu/services.scm
gnu/system.scm
+gnu/services/base.scm
+gnu/services/certbot.scm
gnu/services/configuration.scm
+gnu/services/file-sharing.scm
gnu/services/networking.scm
gnu/services/shepherd.scm
gnu/services/samba.scm
+gnu/services/version-control.scm
gnu/home/services.scm
gnu/home/services/ssh.scm
gnu/home/services/symlink-manager.scm
diff --git a/po/packages/POTFILES.in b/po/packages/POTFILES.in
index 398f9adfdf..32d34d6456 100644
--- a/po/packages/POTFILES.in
+++ b/po/packages/POTFILES.in
@@ -57,8 +57,3 @@ gnu/packages/webkit.scm
gnu/packages/web.scm
gnu/packages/wordnet.scm
gnu/packages/xiph.scm
-gnu/services/base.scm
-gnu/services/certbot.scm
-gnu/services/file-sharing.scm
-gnu/services/networking.scm
-gnu/services/version-control.scm