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!

oliverraduneroliverraduner ✭✭
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:

default.php
  • 36: $ActivityHeadline = $UserName . T(" has started a new discussion");
dashboard.php
  • 14: echo $this->Form->Button(T('Subscribe ALL users to ALL Categories they are allowed to view'),
settings.php
  • 11: echo $this->Form->Label(T('General Settings'));
  • 12: echo $this->Form->CheckBox('Plugin.EMailSubscribe.All', T('Subscribe to all discussions'));
  • 20: echo $this->Form->CheckBox('Plugin.EMailSubscribe.Categ'.$Category[0], T('Subscribe to category ').$Category[1]);
  • 27: echo $this->Form->Close(T('Save'));
Would really appreciate that, thanks :-)

Comments

Sign In or Register to comment.