From b554c49ba646b53548d3d43d4e7e6aeb5db87bc6 Mon Sep 17 00:00:00 2001 From: Michael Webster Date: Mon, 4 Mar 2024 10:25:59 -0500 Subject: [PATCH] Add a makepot script. Mainly for gnome-wall-clock.c time formats. The inherited translation msgids still match up, but if we have to change anything they'll need to be re-done. These changes result in there being too much space between some elements in certain cases (like single digit date): https://gitlab.gnome.org/GNOME/glib/-/commit/7169f6e1e58a53e4b69e5d40f3fd192dd9cd8ed4 https://gitlab.gnome.org/GNOME/glib/-/commit/7074122f308b7b3402fba250f2010778fdad6eff We may want to adjust these standard formats to use %-e instead of %e, etc... --- makepot | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 makepot diff --git a/makepot b/makepot new file mode 100755 index 0000000..f2816dc --- /dev/null +++ b/makepot @@ -0,0 +1,4 @@ +#!/bin/bash +xgettext -c --from-code=UTF-8 --keyword=_ --keyword=N_ --output=cinnamon-desktop.pot \ + libcinnamon-desktop/gnome-wall-clock.c libcvc/*.c +