On 27 Apr 2016, at 10:27, Pau Deluca <pau...@alamier.com> wrote:
SOLVED:
I finally found a way to add ThemeTweaks to the list of available parameters of the macro <<.controlpanel-tab ....>>:This keeps the tab ThemeTweaks in the control panel whilst allowing the usage of <<.controlpanel-tab ThemeTweaks>>, while $:/themes/tiddlywiki/vanilla/themetweaks remains untouched and available for future updates with -as long as I can test- no further problem.
- I created a tiddler named $:/core/ui/ControlPanel/ThemeTweaks, tagged as $:/tags/ControlPanel,
- text body transcludes the tiddler $:/themes/tiddlywiki/vanilla/themetweaks,
- field caption receives the value of the translated tab's name. In this case "Ajustes del tema"
Using the name $:/_core/ui/ControlPanel/ThemeTweaks makes the tab to appear in the control panel, but doesn't solve the macro issue.
With your permission, I will prepare a ThemeTweaks tab-patch, as well as the corresponding update of the parameter list in the documentation.
P.-)
El miércoles, 27 de abril de 2016, 8:17:43 (UTC+2), Pau Deluca escribió:Hi!
I'd need some advise to add the ControlPanel tab "Theme Tweaks" to the documentation macro <<.controlpanel-tab [parameter]>> or to define a new equivalent macro.
The difficulty I find there is that "Theme Tweaks" tab is not defined like $:/core/ui/ControlPanel/Info or $:/core/ui/ControlPanel/Appearance, but (logically enough) as $:/themes/tiddlywiki/[theme]/themetweaks, as its contents should vary depending on the chosen theme -even if it doesn't-, which also makes that the translatable lines of that tab cannot be included in the translators plugin, but must be directly translated in the tiddler theme by theme.
My attempts to fiddle in the macro definition are by now sterile.
Thanks for all help.
P.-)
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f86408f3-1d41-4124-85ac-4bd7462fedea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0afa4d00-5711-4fec-8bfa-b081296af969%40googlegroups.com.