Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Please add T() to allow locale translations!
This discussion is related to the EMailSubscribe addon.
oliverraduner Contributing to Vanilla since 2010Switzerland ✭✭
edited February 2011 in Vanilla 2.0 - 2.8
I had to adjust the following lines in the plugin's documents, in order to translate the text strings to my language:
$ActivityHeadline = $UserName . T(" has started a new discussion");
echo $this->Form->Button(T('Subscribe ALL users to ALL Categories they are allowed to view'),
echo $this->Form->Label(T('General Settings'));
echo $this->Form->CheckBox('Plugin.EMailSubscribe.All', T('Subscribe to all discussions'));
echo $this->Form->CheckBox('Plugin.EMailSubscribe.Categ'.$Category, T('Subscribe to category ').$Category);