remove flags since they do not belong to language selection
This commit is contained in:
parent
b60ad7ccfb
commit
567ed9ebd2
|
@ -123,7 +123,7 @@ function shift_entry_add_controller()
|
|||
'SELECT `id` FROM `ShiftEntry` WHERE `SID`= ? AND `UID` = ?',
|
||||
[$shift['SID'], $user_id]))
|
||||
) {
|
||||
return error('This angel does already have an entry for this shift.', true);
|
||||
return error(_('This angel does already have an entry for this shift.'), true);
|
||||
}
|
||||
|
||||
$freeloaded = isset($shift['freeloaded']) ? $shift['freeloaded'] : false;
|
||||
|
|
|
@ -72,11 +72,8 @@ function make_langselect()
|
|||
$items[] = toolbar_item_link(
|
||||
htmlspecialchars($url),
|
||||
'',
|
||||
sprintf(
|
||||
'<img src="%s" alt="%s" title="%2$s"> %2$s',
|
||||
url('pic/flag/' . $locale . '.png'),
|
||||
$name
|
||||
)
|
||||
$name,
|
||||
$locale == locale()
|
||||
);
|
||||
}
|
||||
return $items;
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 545 B |
Binary file not shown.
Before Width: | Height: | Size: 599 B |
Loading…
Reference in New Issue