Portfolio strings changed to reflect the heading of the next page

Plus fixed some typos in the portfolio library
This commit is contained in:
David Mudrak 2010-11-11 18:04:27 +00:00
parent a9efae50e3
commit 0ce579fe89
2 changed files with 4 additions and 4 deletions

View file

@ -25,9 +25,9 @@
$string['activeexport'] = 'Resolve active export';
$string['activeportfolios'] = 'Available portfolios';
$string['addalltoportfolio'] = 'Save all...';
$string['addalltoportfolio'] = 'Export all to portfolio';
$string['addnewportfolio'] = 'Add a new portfolio';
$string['addtoportfolio'] = 'Save...';
$string['addtoportfolio'] = 'Export to portfolio';
$string['alreadyalt'] = 'Already exporting - please click here to resolve this transfer';
$string['alreadyexporting'] = 'You already have an active portfolio export in this session. Before continuing, you must either complete this export, or cancel it. Would you like to continue it? (No will cancel it)';
$string['availableformats'] = 'Available export formats';

View file

@ -237,9 +237,9 @@ class portfolio_add_button {
*
* @param int $format format to display the button or form or icon or link.
* See constants PORTFOLIO_ADD_XXX for more info.
* optional, defaults to PORTFOLI_ADD_FULL_FORM
* optional, defaults to PORTFOLIO_ADD_FULL_FORM
* @param str $addstr string to use for the button or icon alt text or link text.
* this is whole string, not key. optional, defaults to 'Add to portfolio';
* this is whole string, not key. optional, defaults to 'Export to portfolio';
*/
public function render($format=null, $addstr=null) {
echo $this->to_html($format, $addstr);