Found more strings to translate
This commit is contained in:
parent
d770138159
commit
ff079abb9c
include
@ -43,12 +43,12 @@ class UserPage extends Page {
|
||||
|
||||
private function build_user_details() {
|
||||
$active_loans = $this->user->get_loans('active');
|
||||
$table_active = 'Inga aktuella lån.';
|
||||
$table_active = i18n('No active loans.');
|
||||
if($active_loans) {
|
||||
$table_active = $this->build_user_loan_table($active_loans);
|
||||
}
|
||||
$inactive_loans = $this->user->get_loans('inactive');
|
||||
$table_inactive = 'Inga gamla lån.';
|
||||
$table_inactive = i18n('No past loans');
|
||||
if($inactive_loans) {
|
||||
$table_inactive = $this->build_user_loan_table($inactive_loans);
|
||||
}
|
||||
|
@ -269,6 +269,10 @@ $i18n = array(
|
||||
"en" => function() { return "No active loans."; },
|
||||
"sv" => function() { return "Inga pågående lån."; },
|
||||
),
|
||||
"No past loans." => array(
|
||||
"en" => function() { return "No past loans."; },
|
||||
"sv" => function() { return "Inga gamla lån."; },
|
||||
),
|
||||
"Borrowed products" => array(
|
||||
"en" => function() { return "Borrowed products"; },
|
||||
"sv" => function() { return "Lånade artiklar"; },
|
||||
|
Loading…
x
Reference in New Issue
Block a user