https://bugs.documentfoundation.org/show_bug.cgi?id=151154

--- Comment #4 from Rafael Lima <rafael.palma.l...@gmail.com> ---
Created attachment 182669
  --> https://bugs.documentfoundation.org/attachment.cgi?id=182669&action=edit
Template Manager categories after patch

(In reply to Laurent BP from comment #3)
> I tried to deep in this bug but I was not able to find a solution.
> 
> Categories name are defined in TEMPLATE_LONG_NAMES_ARY[]:
> https://opengrok.libreoffice.org/xref/core/sfx2/inc/doctempl.
> hrc?r=144057a5#27
> I added a line
> +    NC_("TEMPLATE_LONG_NAMES_ARY", "Draw"),
> 
> as well as in TEMPLATE_SHORT_NAMES_ARY[]:
> https://opengrok.libreoffice.org/xref/core/sfx2/source/doc/doctemplates.
> cxx?r=91ba9654#483
> I added a line at the same position
> +    "draw",

This is exactly what I did. However, for it to take effect you need to be on a
clear user profile. You need to either be on safe mode or apply the "Reset
settings and user interface modifications" option to see the new category name.

Here's a screenshot I took after applying the patch and resetting the user
profile.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to