From d170223b2c1d92771a6bb6dcd2eac07bb2ad777c Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Mon, 14 Jan 2013 18:35:59 -0800 Subject: BUGIFX: added some set_language functions, fixed some strings for translation, fixed typo --- digest.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'digest.php') diff --git a/digest.php b/digest.php index 08d3a0f..284f61b 100644 --- a/digest.php +++ b/digest.php @@ -116,14 +116,14 @@ foreach($users as $uid) // add header, footer, sent out $name = DB_get_name('userid',$uid); - $header = "Hello $name\n\nHere is a digest of the latest emails:\n\n"; + $header = _("Hello")." $name\n\n"._("Here is a digest of the latest emails:")."\n\n"; - $footer = "\nHave a nice day\n". - " your E-Doko digester\n\n". + $footer = "\n"._('Have a nice day')."\n". + " ".('your E-Doko digester')."\n\n". "-- \n". - "You can change your mail delivery mode in the preference menu.\n". - 'web: http://doko.nubati.net '. - "help, bugs, etc.: $WIKI"; + _('You can change your mail delivery mode in the preference menu.')."\n". + _('web').': http://doko.nubati.net '. + _('help, bugs, etc.').": $WIKI"; $subject = "$EmailName Digest"; -- cgit v1.2.3-18-g5258