summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-07-16 15:55:19 +0200
committerXisco FaulĂ­ <xiscofauli@libreoffice.org>2019-07-17 10:33:47 +0200
commit069f218729fd4853e6c608abf5abd43a1224cdf8 (patch)
tree6c530558f751d1b8c66d5e41d765f049219b5966
parentfa8c9012e518cfed0cf6f5b6707fd6324c0bb981 (diff)
tdf#125693: On macOS, create empty LibreOffice.app/Contents/Resources/en.lproj
...as otherwise languages like Slovenian (which do not have a full system integration) fall back to other LibreOffice.app/Contents/Resource/*.lproj localizations instead of to English (whose Info.plist is stored as LibreOffice.app/Contents/Info.plist, not as some LibreOffice.app/Contents/Resources/en.lproj/InfoPlist.strings as is done for other languages). Change-Id: Ic69907a066e9afe1d66045016ad6bf9d997c67d0 Reviewed-on: https://gerrit.libreoffice.org/75728 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com> (cherry picked from commit 47a774fbef8c224e4853de3fdd0230b9442bb716) Reviewed-on: https://gerrit.libreoffice.org/75745 Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
-rw-r--r--sysui/Package_infoplist.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysui/Package_infoplist.mk b/sysui/Package_infoplist.mk
index 7712b3e77e4e..de53ba5ba769 100644
--- a/sysui/Package_infoplist.mk
+++ b/sysui/Package_infoplist.mk
@@ -17,9 +17,11 @@ $(eval $(call gb_Package_add_files,infoplist,$(PRODUCTNAME_WITHOUT_SPACES).app/C
Info.plist \
))
-$(foreach lang,$(filter ca cs da de el en es fi fr hr hu id it ja ko ms nl no pl pt pt_PT ro ru sk sv th tr uk vi zh_CN zh_TW,$(gb_WITH_LANG)),\
+$(foreach lang,$(filter ca cs da de el es fi fr hr hu id it ja ko ms nl no pl pt pt_PT ro ru sk sv th tr uk vi zh_CN zh_TW,$(gb_WITH_LANG)),\
$(eval $(call gb_Package_add_files,infoplist,$(PRODUCTNAME_WITHOUT_SPACES).app/Contents/Resources/$(lang).lproj,\
InfoPlist_$(lang)/InfoPlist.strings \
)))
+$(eval $(call gb_Package_add_empty_directory,infoplist,$(PRODUCTNAME_WITHOUT_SPACES).app/Contents/Resources/en.lproj))
+
# vim: set noet sw=4 ts=4: