summaryrefslogtreecommitdiff
path: root/sysui/CustomTarget_share.mk
diff options
context:
space:
mode:
authorIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2022-08-17 22:02:01 +0300
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2022-12-21 16:45:08 +0000
commitfe8eb2c01e6f4c30eb593eb526892829dbba1804 (patch)
treeccbb379d27a36f96f04a484911ff06d2cd59e18e /sysui/CustomTarget_share.mk
parent87e7a2f60ec823aed6738fb081ad358b5d0536e6 (diff)
tdf#140215 Simplify the handling of .ulf files
Now the headings in the ulf files for .desktop files are in the form [filename_Key] Gallery names are also adjusted to fit the new scheme, where there is no longer a need to pass a --key argument to desktop-translate.py Sync comments with .desktop files and the remaining .ulf and remove obsolete Mandriva Linux meta data while at it. Script to mass-replace relevant names in translations will be provided to infra. Change-Id: I87e8028aa5b66f5f5560efa62ddd9b1e5b61c49c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138455 Tested-by: Jenkins Reviewed-by: Sophie Gautier <sophi@libreoffice.org> Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'sysui/CustomTarget_share.mk')
-rw-r--r--sysui/CustomTarget_share.mk10
1 files changed, 2 insertions, 8 deletions
diff --git a/sysui/CustomTarget_share.mk b/sysui/CustomTarget_share.mk
index 1f578f5ffcf5..b86521a3a80f 100644
--- a/sysui/CustomTarget_share.mk
+++ b/sysui/CustomTarget_share.mk
@@ -110,9 +110,7 @@ share_ICONS := $(foreach size,16x16 32x32 48x48,\
MIMEDESKTOPS := $(foreach mime,$(MIMELIST),$(share_SRCDIR)/mimetypes/$(mime).desktop)
ULFS := documents.ulf \
- launcher_comment.ulf \
- launcher_genericname.ulf \
- launcher_unityquicklist.ulf
+ launcher.ulf
$(eval $(call gb_CustomTarget_CustomTarget,sysui/share))
@@ -211,11 +209,7 @@ $(share_WORKDIR)/%/build.flag: $(share_SRCDIR)/share/brand.pl $(LAUNCHERS) \
$(brand_URIPARAM) \
--iconprefix '$${UNIXBASISROOTNAME}-' $(LAUNCHERS) $(share_WORKDIR)/$*
$(call gb_ExternalExecutable_get_command,python) $(share_TRANSLATE) -p $(PRODUCTNAME.$*)$(PRODUCTVERSION) -d $(share_WORKDIR)/$* \
- --ext "desktop" --key "Comment" $(share_WORKDIR)/launcher_comment.ulf
- $(call gb_ExternalExecutable_get_command,python) $(share_TRANSLATE) -p $(PRODUCTNAME.$*)$(PRODUCTVERSION) -d $(share_WORKDIR)/$* \
- --ext "desktop" --key "GenericName" $(share_WORKDIR)/launcher_genericname.ulf
- $(call gb_ExternalExecutable_get_command,python) $(share_TRANSLATE) -p $(PRODUCTNAME.$*)$(PRODUCTVERSION) -d $(share_WORKDIR)/$* \
- --ext "desktop" --key "UnityQuickList" $(share_WORKDIR)/launcher_unityquicklist.ulf
+ --ext "desktop" $(share_WORKDIR)/launcher.ulf
touch $@
$(call gb_Trace_EndRange,$(subst $(WORKDIR)/,,$@),PRL)