Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

Categories

In this Discussion

Who's Online 14

CurtisOdenKogalniceanucandymanericgillette +10 guests

Please add T() to allow locale translations!

This discussion is related to the EMailSubscribe addon.
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.