Stop e-mail notifications by default
-
Hi, thanks for your great work!!!!
Just a question…. there is a way to stop e-mail notifications by default (both for announcements and messages)?In my case, would be great if users can chose later if receive or not e-mail notifications… This is useful also for test your plug-in without send many test mail to my users…
I check inside your code but I’m a bit confused about that. Can you point me in the right direction?I’ve not found your e-mail address, so yesterday I sent you a message via contact form asking your e-mail address… this just because I have the Italian translation for the plug-in. Let me know if you are interested.
By the way, there is also a little issue translating your plug-in. The issue is about singular and plural words as for message/messages, announcement/announcements.
In italian language when you use 0 (zero number) you must use a plural words
0 messaggi (messages)
0 comunicati (announcements)1 messaggio (message) <– only in this case we use singular
1 comunicato (announcement) <– only in this case we use singular2 messaggi (messages)
2 comunicati (announcements)The problem is that in your code you have put this:
$sm = ( $numNew > 1 ) ? __('new messages', 'fep'): __('new message', 'fep');and
$sa = ( $New_ann > 1 ) ? __('new announcements', 'fep'): __('new announcement', 'fep');For italian translation, this solve the issue
$sm = ( $numNew != 1 ) ? __('new messages', 'fep'): __('new message', 'fep');and
$sa = ( $New_ann != 1 ) ? __('new announcements', 'fep'): __('new announcement', 'fep');
The topic ‘Stop e-mail notifications by default’ is closed to new replies.