diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-10-02 21:42:08 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-10-03 15:36:15 +0200 |
commit | cb517e21f6e3728199e3ecbaf9a31fdf5316bd46 (patch) | |
tree | dac75a49bbe51e3b22d5dd6a32c1e67d3b4dcb9a /solenv | |
parent | e69d4963c3a7b71b4dc42e2f30b5cbdc4155d594 (diff) |
TODO: remove missing .po support when writerfilter .po files exist
Change-Id: I8f20845fcb1fbd598cf1c1c8c8ff20b3e9c37bfc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123012
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/bin/dummy.po | 18 | ||||
-rw-r--r-- | solenv/gbuild/AllLangMoTarget.mk | 8 |
2 files changed, 1 insertions, 25 deletions
diff --git a/solenv/bin/dummy.po b/solenv/bin/dummy.po deleted file mode 100644 index a05e526b8b98..000000000000 --- a/solenv/bin/dummy.po +++ /dev/null @@ -1,18 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-14 15:54+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <LL@li.org>\n" -"Language: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" diff --git a/solenv/gbuild/AllLangMoTarget.mk b/solenv/gbuild/AllLangMoTarget.mk index e1fbdc732f7c..f48bbca85364 100644 --- a/solenv/gbuild/AllLangMoTarget.mk +++ b/solenv/gbuild/AllLangMoTarget.mk @@ -32,7 +32,6 @@ $(call gb_MoTarget_get_clean_target,%) : $(call gb_MoTarget_get_target,$*) \ $(call gb_MoTarget_get_install_target,$*)) -#to-do, remove missing .po support when writerfilter .po files exist $(call gb_MoTarget_get_target,%) : \ $(gb_Helper_MISCDUMMY) \ $(call gb_ExternalExecutable_get_dependencies,python) @@ -40,12 +39,7 @@ $(call gb_MoTarget_get_target,%) : \ $(call gb_Trace_StartRange,$*,MO ) $(call gb_Helper_abbreviate_dirs,\ mkdir -p $(dir $@) && \ - if test -e $(gb_POLOCATION)/$(LANGUAGE)/$(POLOCATION)/messages.po; then \ - $(MSGUNIQ) --force-po $(gb_POLOCATION)/$(LANGUAGE)/$(POLOCATION)/messages.po | $(MSGFMT) - -o $@; \ - else \ - echo missing $(gb_POLOCATION)/$(LANGUAGE)/$(POLOCATION)/messages.po && \ - $(MSGUNIQ) --force-po $(SRCDIR)/solenv/bin/dummy.po | $(MSGFMT) - -o $@; \ - fi) + $(MSGUNIQ) --force-po $(gb_POLOCATION)/$(LANGUAGE)/$(POLOCATION)/messages.po | $(MSGFMT) - -o $@; \ $(call gb_Trace_EndRange,$*,MO ) #$(info $(call gb_MoTarget_get_target,$(1))) |