mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:42 +01:00
Calendar: Fix 'None' category option was not translated
This commit is contained in:
parent
74504cf5b0
commit
822507d341
@ -560,13 +560,21 @@ class calendar_ui
|
||||
array('value' => 'no-enum-groups', 'label' => lang('only group-events'),'title' => lang('Do not include events of group members')),
|
||||
array('value' => 'not-unknown', 'label' => lang('No meeting requests'),'title' => lang('Show all status, but unknown')),
|
||||
);
|
||||
$sel_options['status_filter'][] = array('value' => 'deleted', 'label' => lang('Deleted'), 'title' => lang('Show events that have been deleted'));
|
||||
$sel_options['status_filter'][] = array(
|
||||
'value' => 'deleted', 'label' => lang('Deleted'),
|
||||
'title' => lang('Show events that have been deleted')
|
||||
);
|
||||
|
||||
$sel_options['cat_id'] = array(
|
||||
['value' => '0', 'label' => lang('None')]
|
||||
);
|
||||
|
||||
// Merge print
|
||||
try {
|
||||
if (class_exists('EGroupware\\collabora\\Bo') &&
|
||||
$GLOBALS['egw_info']['user']['apps']['collabora'] &&
|
||||
$discovery = \EGroupware\collabora\Bo::discover()
|
||||
try
|
||||
{
|
||||
if(class_exists('EGroupware\\collabora\\Bo') &&
|
||||
$GLOBALS['egw_info']['user']['apps']['collabora'] &&
|
||||
$discovery = \EGroupware\collabora\Bo::discover()
|
||||
)
|
||||
{
|
||||
$cont['collabora_enabled'] = true;
|
||||
|
@ -18,9 +18,7 @@ Egroupware
|
||||
<et2-textbox type="hidden" id="first"></et2-textbox>
|
||||
<et2-textbox type="hidden" id="last"></et2-textbox>
|
||||
<hrule/>
|
||||
<et2-select-cat id="cat_id" placeholder="All categories" onchange="app.calendar.update_state({cat_id: widget.getValue()});" emptyLabel="All categories" multiple="true">
|
||||
<option value="0">None</option>
|
||||
</et2-select-cat>
|
||||
<et2-select-cat id="cat_id" placeholder="All categories" onchange="app.calendar.update_state({cat_id: widget.getValue()});" emptyLabel="All categories" multiple="true"></et2-select-cat>
|
||||
<et2-select id="status_filter" onchange="app.calendar.update_state({status_filter: widget.getValue()});" noLang="true"></et2-select>
|
||||
<hrule/>
|
||||
<et2-calendar-owner id="owner" onchange="app.calendar.update_state({owner: widget.getValue()}); return false;" multiple="true" allowFreeEntries="false" autocompleteParams="{"checkgrants": true}"/>
|
||||
|
Loading…
Reference in New Issue
Block a user