Files: Add missing "Saving..." label

This commit is contained in:
Aleksander Machniak 2019-06-21 10:13:39 +00:00
parent 8f8c6ab5ae
commit b87333e0e2
3 changed files with 4 additions and 3 deletions

View file

@ -245,7 +245,7 @@ function kolab_files_init()
$.extend(editor_config, {
// notifications/alerts
gettext: function(label) { return rcmail.get_label('kolab_files.' + label); },
gettext: function(label) { return rcmail.get_label(label, 'kolab_files'); },
set_busy: function(state, message) { return rcmail.set_busy(state, message ? 'kolab_files.' + message : ''); },
hide_message: function(id) { return rcmail.hide_message(id); },
display_message: function(label, type, is_txt, timeout) {

View file

@ -106,7 +106,7 @@ class kolab_files_engine
$this->get_external_storage_drivers();
// these labels may be needed even if fetching ext sources failed
$this->plugin->add_label('folderauthtitle', 'authenticating', 'foldershare');
$this->plugin->add_label('folderauthtitle', 'authenticating', 'foldershare', 'saving');
}
if ($list_widget) {
@ -149,7 +149,7 @@ class kolab_files_engine
'more', 'accept', 'decline', 'join', 'status', 'when', 'file', 'comment',
'statusaccepted', 'statusinvited', 'statusdeclined', 'statusrequested',
'invitationaccepting', 'invitationdeclining', 'invitationrequesting',
'close', 'invitationtitle', 'sessions');
'close', 'invitationtitle', 'sessions', 'saving');
}
if (!empty($templates)) {

View file

@ -61,6 +61,7 @@ $labels['docedit'] = 'Document editing';
$labels['submit'] = 'Submit';
$labels['confirmpassword'] = 'Confirm password';
$labels['passwordconflict'] = 'Passwords do not match';
$labels['saving'] = 'Saving...';
$labels['collection_audio'] = 'Audio';
$labels['collection_video'] = 'Video';