summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2020-07-08 15:12:54 -0400
committerRay Strode <rstrode@redhat.com>2020-07-08 15:12:54 -0400
commit6114e484045320534594ac643768e0a90ed78414 (patch)
tree649a8ccc5d9b91d0786dfe473a0bf199e958baca /themes
parent1e36e303e08ba425fecbcff4dde22c8ee936638c (diff)
po: drop intltool usage
gettext can do most everything intltool can do anyway, so just drop intltool.
Diffstat (limited to 'themes')
-rw-r--r--themes/bgrt/Makefile.am8
-rw-r--r--themes/bgrt/bgrt.plymouth.desktop (renamed from themes/bgrt/bgrt.plymouth.in)12
-rw-r--r--themes/spinner/Makefile.am9
-rw-r--r--themes/spinner/spinner.plymouth.desktop (renamed from themes/spinner/spinner.plymouth.in)12
4 files changed, 23 insertions, 18 deletions
diff --git a/themes/bgrt/Makefile.am b/themes/bgrt/Makefile.am
index 5fd40dde..770c36fe 100644
--- a/themes/bgrt/Makefile.am
+++ b/themes/bgrt/Makefile.am
@@ -4,8 +4,10 @@ nodist_theme_DATA = bgrt.plymouth
MAINTAINERCLEANFILES = Makefile.in bgrt.plymouth
CLEANFILES = bgrt.plymouth
-bgrt.plymouth: $(srcdir)/bgrt.plymouth.in
+bgrt.plymouth: $(srcdir)/bgrt.plymouth.desktop
+ $(AM_V_GEN) \
sed -e 's,[@]PLYMOUTH_THEME_PATH[@],$(PLYMOUTH_THEME_PATH),g' \
- $(srcdir)/bgrt.plymouth.in > bgrt.plymouth
+ $(srcdir)/bgrt.plymouth.desktop | \
+ $(MSGFMT) --desktop --template /dev/stdin -d $(top_srcdir)/po -o $@
-EXTRA_DIST = bgrt.plymouth.in
+EXTRA_DIST = bgrt.plymouth.desktop
diff --git a/themes/bgrt/bgrt.plymouth.in b/themes/bgrt/bgrt.plymouth.desktop
index 5455eb7c..eed71626 100644
--- a/themes/bgrt/bgrt.plymouth.in
+++ b/themes/bgrt/bgrt.plymouth.desktop
@@ -40,19 +40,19 @@ UseFirmwareBackground=true
SuppressMessages=true
ProgressBarShowPercentComplete=true
UseProgressBar=true
-_Title=Installing Updates...
-_SubTitle=Do not turn off your computer
+Title=Installing Updates...
+SubTitle=Do not turn off your computer
[system-upgrade]
SuppressMessages=true
ProgressBarShowPercentComplete=true
UseProgressBar=true
-_Title=Upgrading System...
-_SubTitle=Do not turn off your computer
+Title=Upgrading System...
+SubTitle=Do not turn off your computer
[firmware-upgrade]
SuppressMessages=true
ProgressBarShowPercentComplete=true
UseProgressBar=true
-_Title=Upgrading Firmware...
-_SubTitle=Do not turn off your computer
+Title=Upgrading Firmware...
+SubTitle=Do not turn off your computer
diff --git a/themes/spinner/Makefile.am b/themes/spinner/Makefile.am
index ea283363..bb0e9919 100644
--- a/themes/spinner/Makefile.am
+++ b/themes/spinner/Makefile.am
@@ -78,8 +78,11 @@ dist_theme_DATA = \
MAINTAINERCLEANFILES = Makefile.in spinner.plymouth
CLEANFILES = spinner.plymouth
-spinner.plymouth: $(srcdir)/spinner.plymouth.in
+spinner.plymouth: $(srcdir)/spinner.plymouth.desktop
+ $(AM_V_GEN) \
sed -e 's,[@]PLYMOUTH_THEME_PATH[@],$(PLYMOUTH_THEME_PATH),g' \
- $(srcdir)/spinner.plymouth.in > spinner.plymouth
+ $(srcdir)/spinner.plymouth.desktop | \
+ $(MSGFMT) --desktop --template /dev/stdin -d $(top_srcdir)/po -o $@
-EXTRA_DIST = spinner.plymouth.in
+
+EXTRA_DIST = spinner.plymouth.desktop
diff --git a/themes/spinner/spinner.plymouth.in b/themes/spinner/spinner.plymouth.desktop
index 0687d125..ac3485dd 100644
--- a/themes/spinner/spinner.plymouth.in
+++ b/themes/spinner/spinner.plymouth.desktop
@@ -36,19 +36,19 @@ UseEndAnimation=false
SuppressMessages=true
ProgressBarShowPercentComplete=true
UseProgressBar=true
-_Title=Installing Updates...
-_SubTitle=Do not turn off your computer
+Title=Installing Updates...
+SubTitle=Do not turn off your computer
[system-upgrade]
SuppressMessages=true
ProgressBarShowPercentComplete=true
UseProgressBar=true
-_Title=Upgrading System...
-_SubTitle=Do not turn off your computer
+Title=Upgrading System...
+SubTitle=Do not turn off your computer
[firmware-upgrade]
SuppressMessages=true
ProgressBarShowPercentComplete=true
UseProgressBar=true
-_Title=Upgrading Firmware...
-_SubTitle=Do not turn off your computer
+Title=Upgrading Firmware...
+SubTitle=Do not turn off your computer