Signed-off-by: Patrick Baber <patrick@p-squared.de>
location.reload();
},
fail: function() {
- OC.Notification.showTemporary(t('settings', 'An error occured while changing your language. Please reload the page and try again.'));
+ OC.Notification.showTemporary(t('settings', 'An error occurred while changing your language. Please reload the page and try again.'));
}
});
};
moment.locale(selectedLocale);
},
fail: function() {
- OC.Notification.showTemporary(t('settings', 'An error occured while changing your locale. Please reload the page and try again.'));
+ OC.Notification.showTemporary(t('settings', 'An error occurred while changing your locale. Please reload the page and try again.'));
}
});
};