Fixed things in alert-messages

Two parameters for OC.dialogs.alert, otherwise one will be "undefined".

Also fixed missing translation.
Translate 'Error' in core
Merge pull request #2738 from Kondou-ger/fix_alert_issues

Fixed things in alert-messages