summaryrefslogtreecommitdiff
path: root/extras
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 /extras
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 'extras')
-rw-r--r--extras/CustomTarget_gallsystem.mk2
-rw-r--r--extras/source/gallery/share/gallery_names.ulf20
2 files changed, 11 insertions, 11 deletions
diff --git a/extras/CustomTarget_gallsystem.mk b/extras/CustomTarget_gallsystem.mk
index 271c7332ac6c..434cbb6e17dd 100644
--- a/extras/CustomTarget_gallsystem.mk
+++ b/extras/CustomTarget_gallsystem.mk
@@ -30,7 +30,7 @@ $(call gb_CustomTarget_get_workdir,extras/gallsysstr)/%.str : \
$(SRCDIR)/solenv/bin/desktop-translate.py
mkdir -p $(@D)/$* && cp $(SRCDIR)/extras/source/gallery/gallery_system/dummy.str $(@D)/$*/$*.str && \
$(call gb_ExternalExecutable_get_command,python) $(SRCDIR)/solenv/bin/desktop-translate.py \
- --ext "str" --key "name" -d $(@D)/$*/ $(@D)/extras_gallsystem.ulf && \
+ --ext "str" -d $(@D)/$*/ $(@D)/extras_gallsystem.ulf && \
mv $(@D)/$*/$*.str $@
# vim: set noet sw=4 ts=4:
diff --git a/extras/source/gallery/share/gallery_names.ulf b/extras/source/gallery/share/gallery_names.ulf
index 706b23817d04..cd22cf88f368 100644
--- a/extras/source/gallery/share/gallery_names.ulf
+++ b/extras/source/gallery/share/gallery_names.ulf
@@ -7,34 +7,34 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-[arrows]
+[arrows_name]
en-US = "Arrows"
-[backgrounds]
+[backgrounds_name]
en-US = "Backgrounds"
-[bullets]
+[bullets_name]
en-US= "Bullets"
-[bpmn]
+[bpmn_name]
en-US = "BPMN"
-[diagrams]
+[diagrams_name]
en-US = "Diagrams"
-[flowchart]
+[flowchart_name]
en-US = "Flow chart"
-[icons]
+[icons_name]
en-US = "Icons"
-[network]
+[network_name]
en-US = "Network"
-[shapes]
+[shapes_name]
en-US = "Shapes"
-[sounds]
+[sounds_name]
en-US = "Sounds"
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */