summaryrefslogtreecommitdiff
path: root/sysui
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-07-16 15:55:19 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-07-17 08:10:00 +0200
commit47a774fbef8c224e4853de3fdd0230b9442bb716 (patch)
tree9f3bd8fddb5062bb9916f34f74d50f5c3fee7441 /sysui
parentcabadfc288e5e7324723c62f36b918a80db90323 (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>
Diffstat (limited to 'sysui')
-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: