diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-07-21 11:54:29 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-07-21 12:30:17 +0100 |
commit | b51973398deb8c9b4661ad0df54328d64e1fc79a (patch) | |
tree | e008513fe7d63cc55632f79e750eb90bb8105507 /solenv/gbuild | |
parent | 8b11c3e8443ab7d0ba5f4fdc754dcdc8c2ca07be (diff) |
use old translations for interim period
Change-Id: I81af71041d8d9d0074c9585ced510d7daab07c20
Diffstat (limited to 'solenv/gbuild')
-rw-r--r-- | solenv/gbuild/AllLangMoTarget.mk | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/solenv/gbuild/AllLangMoTarget.mk b/solenv/gbuild/AllLangMoTarget.mk index c5cf2cf1005d..d3953b1163ae 100644 --- a/solenv/gbuild/AllLangMoTarget.mk +++ b/solenv/gbuild/AllLangMoTarget.mk @@ -32,15 +32,15 @@ $(call gb_MoTarget_get_clean_target,%) : $(call gb_MoTarget_get_target,$*) \ $(call gb_MoTarget_get_install_target,$*)) -#for the moment merge existing source and ui translations into a single .po, -#and minimize msgctxt -#eventually instead can do something like -#msgfmt $(gb_POLOCATION)/$(LANGUAGE)/$(LIBRARY)/messages.po -o $@) $(call gb_MoTarget_get_target,%) : $(gb_Helper_MISCDUMMY) $(call gb_Output_announce,$*,$(true),MO,2) +# after translate should look like this +# $(call gb_Helper_abbreviate_dirs,\ +# mkdir -p $(dir $@) && \ +# $(MSGUNIQ) $(gb_POLOCATION)/$(LANGUAGE)/$(POLOCATION)/messages.po | $(MSGFMT) - -o $@) $(call gb_Helper_abbreviate_dirs,\ - mkdir -p $(dir $@) && \ - if test -e $(gb_POLOCATION)/$(LANGUAGE)/$(POLOCATION)/messages.po; then $(MSGUNIQ) $(gb_POLOCATION)/$(LANGUAGE)/$(POLOCATION)/messages.po | $(MSGFMT) - -o $@; else touch $@; fi) + mkdir -p $(dir $@) && $(SRCDIR)/solenv/bin/interim-update-module-for-gettext $(gb_POLOCATION)/$(LANGUAGE)/$(POLOCATION) $@.po && \ + $(MSGUNIQ) --force-po $@.po | $(MSGFMT) - -o $@) #$(info $(call gb_MoTarget_get_target,$(1))) define gb_MoTarget_MoTarget |