cpupower second update for Linux 6.13-rc1
Shuah Khan
maintainerHi Rafael,
Please pull the following cpupower second update for Linux 6.13-rc1.
cpupower second update for Linux 6.13-rc1
- add Chinese Simplified translation for cpufrequtils package
- add checks for dependencies, xgettext and msgfmt before attempting to generate GNU gettext Language Translations.
diff is attached.
thanks,
-- Shuah
----------------------------------------------------------------
The following changes since commit b6a2dbf88aa793a288f77e0eddb395f79594908f:
pm: cpupower: bindings: Add test to confirm cpu state is disabled (2024-10-02 14:50:23 -0600)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux tags/linux-cpupower-6.13-rc1-update2
for you to fetch changes up to 47d7650b9cb10381e5472840cf180a803f61fb0e:
cpupower: add checks for xgettext and msgfmt (2024-10-21 16:10:43 -0600)
----------------------------------------------------------------
linux-cpupower-6.13-rc1-update2
cpupower second update for Linux 6.13-rc1
- add Chinese Simplified translation for cpufrequtils package
- add checks for dependencies, xgettext and msgfmt before attempting to generate GNU gettext Language Translations.
----------------------------------------------------------------
Kieran Moy (1):
cpupower: Add Chinese Simplified translation
Siddharth Menon (1):
cpupower: add checks for xgettext and msgfmt
tools/power/cpupower/Makefile | 14 +- tools/power/cpupower/po/zh_CN.po | 942 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 955 insertions(+), 1 deletion(-) create mode 100644 tools/power/cpupower/po/zh_CN.po
----------------------------------------------------------------
tools/power/cpupower/Makefile +13 -1
@@ -57,7 +57,7 @@ LIB_MIN= 1 PACKAGE = cpupower PACKAGE_BUGREPORT = [email protected] -LANGUAGES = de fr it cs pt ka +LANGUAGES = de fr it cs pt ka zh_CN # Directory definitions. These are default and most probably
@@ -218,17 +218,28 @@ else endif $(QUIET) $(STRIPCMD) $@ +ifeq (, $(shell which xgettext)) +$(warning "Install xgettext to extract translatable strings.") +else $(OUTPUT)po/$(PACKAGE).pot: $(UTIL_SRC) $(ECHO) " GETTEXT " $@ $(QUIET) xgettext --default-domain=$(PACKAGE) --add-comments \ --keyword=_ --keyword=N_ $(UTIL_SRC) -p $(@D) -o $(@F) +endif +ifeq (, $(shell which msgfmt)) +$(warning "Install msgfmt to generate binary message catalogs.") +else $(OUTPUT)po/%.gmo: po/%.po $(ECHO) " MSGFMT " $@ $(QUIET) msgfmt -o $@ po/$*.po +endif create-gmo: ${GMO_FILES} +ifeq (, $(shell which msgmerge)) +$(warning "Install msgmerge to merge translations.") +else update-po: $(OUTPUT)po/$(PACKAGE).pot $(ECHO) " MSGMRG " $@ $(QUIET) @for HLANG in $(LANGUAGES); do \
@@ -241,6 +252,7 @@ update-po: $(OUTPUT)po/$(PACKAGE).pot rm -f $(OUTPUT)po/$$HLANG.new.po; \ fi; \ done; +endif compile-bench: $(OUTPUT)libcpupower.so.$(LIB_MAJ) @V=$(V) confdir=$(confdir) $(MAKE) -C bench O=$(OUTPUT)
tools/power/cpupower/po/zh_CN.po new file +942 -0
942 lines not on this page · raw message
Hi Shuah,
Quoted 42 lines · Shuah Khan
Hi Rafael,
Please pull the following cpupower second update for Linux 6.13-rc1.
cpupower second update for Linux 6.13-rc1
- add Chinese Simplified translation for cpufrequtils package
- add checks for dependencies, xgettext and msgfmt before attempting to generate GNU gettext Language Translations.diff is attached.
thanks,
-- Shuah----------------------------------------------------------------
The following changes since commitb6a2dbf88aa793a288f77e0eddb395f79594908f:pm: cpupower: bindings: Add test to confirm cpu state is disabled (2024-10-02 14:50:23 -0600)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linuxtags/linux-cpupower-6.13-rc1-update2for you to fetch changes up to
47d7650b9cb10381e5472840cf180a803f61fb0e:cpupower: add checks for xgettext and msgfmt (2024-10-21 16:10:43 -0600)
----------------------------------------------------------------
linux-cpupower-6.13-rc1-update2cpupower second update for Linux 6.13-rc1
- add Chinese Simplified translation for cpufrequtils package
- add checks for dependencies, xgettext and msgfmt before attempting to generate GNU gettext Language Translations.----------------------------------------------------------------
Kieran Moy (1):
cpupower: Add Chinese Simplified translation
Quoted 8 lines
Siddharth Menon (1):
cpupower: add checks for xgettext and msgfmttools/power/cpupower/Makefile | 14 +- tools/power/cpupower/po/zh_CN.po | 942 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 955 insertions(+), 1 deletion(-)create mode 100644
tools/power/cpupower/po/zh_CN.po
----------------------------------------------------------------
Pulled and added to linux-pm.git/linux-next, thanks!