Fix lang calls

This commit is contained in:
Miles Lott 2003-10-19 07:21:51 +00:00
parent 3ec480e3c5
commit 454c0c12c2
3 changed files with 10 additions and 3 deletions

View File

@ -16,6 +16,9 @@
Also start with a '#' symbol and a comma separated list will be Also start with a '#' symbol and a comma separated list will be
turned into a number of the same entries. turned into a number of the same entries.
*/ */
/* $Id$ */
class import_conv class import_conv
{ {
var $currentrecord = array(); /* used for buffering to allow uid lines to go first */ var $currentrecord = array(); /* used for buffering to allow uid lines to go first */
@ -104,7 +107,7 @@
$contacts->add($GLOBALS['phpgw_info']['user']['account_id'],$entry[$i],$access,$cat_id); $contacts->add($GLOBALS['phpgw_info']['user']['account_id'],$entry[$i],$access,$cat_id);
} }
$num = $i - 1; $num = $i - 1;
return lang('Successfully imported x records into your addressbook.',$num); return lang('Successfully imported %1 records into your addressbook.',$num);
} }
} }
?> ?>

View File

@ -23,6 +23,8 @@
// Also start with a '#' symbol and a comma separated list will be // Also start with a '#' symbol and a comma separated list will be
// turned into a number of the same entries. // turned into a number of the same entries.
/* $Id$ */
class import_conv class import_conv
{ {
var $currentrecord = array(); //used for buffering to allow uid lines to go first var $currentrecord = array(); //used for buffering to allow uid lines to go first
@ -173,7 +175,7 @@
$contacts->add($GLOBALS['phpgw_info']['user']['account_id'],$entry[$i],$access,$cat_id); $contacts->add($GLOBALS['phpgw_info']['user']['account_id'],$entry[$i],$access,$cat_id);
} }
$num = $i - 1; $num = $i - 1;
return lang('Successfully imported x records into your addressbook.',$num); return lang('Successfully imported %1 records into your addressbook.',$num);
} }
} }
?> ?>

View File

@ -23,6 +23,8 @@
// Also start with a '#' symbol and a comma separated list will be // Also start with a '#' symbol and a comma separated list will be
// turned into a number of the same entries. // turned into a number of the same entries.
/* $Id$ */
class import_conv class import_conv
{ {
var $currentrecord = array(); //used for buffering to allow uid lines to go first var $currentrecord = array(); //used for buffering to allow uid lines to go first
@ -169,7 +171,7 @@
$contacts->add($GLOBALS['phpgw_info']['user']['account_id'],$entry[$i],$access,$cat_id); $contacts->add($GLOBALS['phpgw_info']['user']['account_id'],$entry[$i],$access,$cat_id);
} }
$num = $i - 1; $num = $i - 1;
return lang('Successfully imported x records into your addressbook.',$num); return lang('Successfully imported %1 records into your addressbook.',$num);
} }
} }
?> ?>