aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-05-09 14:41:12 +0200
committerMax Kostikov <max@kostikov.co>2019-05-09 14:41:12 +0200
commit1545c78d05cee05de18d191169fd577a3fd9842d (patch)
tree56c8b4f6540904ae2f68acef8cd9bbd10c78dce8
parent9efd484e277578bc27f18baac64c0067852044de (diff)
parent62336127e311bcbe0ad1a8852d9e63101759e649 (diff)
downloadvolse-hubzilla-1545c78d05cee05de18d191169fd577a3fd9842d.tar.gz
volse-hubzilla-1545c78d05cee05de18d191169fd577a3fd9842d.tar.bz2
volse-hubzilla-1545c78d05cee05de18d191169fd577a3fd9842d.zip
Merge branch 'dev' into 'dev'
Add 'Create' button translation in CalDAV See merge request hubzilla/core!1642
-rw-r--r--Zotlabs/Module/Cdav.php1
-rw-r--r--view/tpl/cdav_calendar.tpl2
2 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Module/Cdav.php b/Zotlabs/Module/Cdav.php
index 9e6997c05..5888356d7 100644
--- a/Zotlabs/Module/Cdav.php
+++ b/Zotlabs/Module/Cdav.php
@@ -1039,6 +1039,7 @@ class Cdav extends Controller {
'$delete' => t('Delete'),
'$delete_all' => t('Delete all'),
'$cancel' => t('Cancel'),
+ '$create' => t('Create'),
'$recurrence_warning' => t('Sorry! Editing of recurrent events is not yet implemented.'),
'$channel_hash' => $channel['channel_hash'],
diff --git a/view/tpl/cdav_calendar.tpl b/view/tpl/cdav_calendar.tpl
index 7ec56a56b..22579227a 100644
--- a/view/tpl/cdav_calendar.tpl
+++ b/view/tpl/cdav_calendar.tpl
@@ -73,7 +73,7 @@ $(document).ready(function() {
$('#id_dtend').val(dtend ? dtend.toUTCString() : '');
$('#id_description').val('');
$('#id_location').val('');
- $('#event_submit').val('create_event').html('Create');
+ $('#event_submit').val('create_event').html('{{$create}}');
$('#event_delete').hide();
new_event = { id: new_event_id, title : 'New event', start: $('#id_dtstart').val(), end: $('#id_dtend').val(), editable: true, color: '#bbb' };