summaryrefslogtreecommitdiff
path: root/sfx2/inc
diff options
context:
space:
mode:
authorRafael Lima <rafael.palma.lima@gmail.com>2022-09-25 21:12:08 +0200
committerRafael Lima <rafael.palma.lima@gmail.com>2022-09-28 18:51:32 +0200
commit03809a4338f4a1e9e5ad5088fdeedc4c3fe0f7b5 (patch)
treea99beab4ebd7e1c76e21e6b290083fd3110bcbae /sfx2/inc
parent124d786e68dd5838b814ec8a453769ff7ba76f23 (diff)
Related tdf#132576 Fix "draw" string in Template Manager and make it translatable
The Templates Manager has a category name "draw" which cannot be translated. It also looks weird because all other categories have full names whereas this one is a lowercase string. The reason the word "draw" is used is because it is the name of the folder where the template is located. This patch maps a string "Drawings" to give a proper translatable name for this category. For this patch to take effect, the user needs to be on a fresh profile (or at least reset the user UI modifications). Change-Id: I2223dfe8761a5687b02e843957ebf7fb07f4a626 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140506 Tested-by: Jenkins Reviewed-by: Laurent Balland <laurent.balland@mailo.fr>
Diffstat (limited to 'sfx2/inc')
-rw-r--r--sfx2/inc/doctempl.hrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/inc/doctempl.hrc b/sfx2/inc/doctempl.hrc
index d6b98a0e2a6b..10a10d0de0c6 100644
--- a/sfx2/inc/doctempl.hrc
+++ b/sfx2/inc/doctempl.hrc
@@ -37,7 +37,8 @@ const TranslateId TEMPLATE_LONG_NAMES_ARY[] =
NC_("TEMPLATE_LONG_NAMES_ARY", "Presentation Backgrounds"),
NC_("TEMPLATE_LONG_NAMES_ARY", "Presentations"),
NC_("TEMPLATE_LONG_NAMES_ARY", "Miscellaneous"),
- NC_("TEMPLATE_LONG_NAMES_ARY", "Labels")
+ NC_("TEMPLATE_LONG_NAMES_ARY", "Labels"),
+ NC_("TEMPLATE_LONG_NAMES_ARY", "Drawings")
};
#endif