diff options
author | Georg Ehrke <georg.stefan.germany@googlemail.com> | 2011-10-22 13:14:54 +0200 |
---|---|---|
committer | Georg Ehrke <georg.stefan.germany@googlemail.com> | 2011-10-22 13:14:54 +0200 |
commit | 9761a1de3e92297244a7ff5f0e164dc860d80507 (patch) | |
tree | a5c5062e875c14678dfff5c52b368ce1b6460571 /apps/calendar/js | |
parent | 0011c42669078b37ded670f2ff30e69e26df3282 (diff) | |
download | nextcloud-server-9761a1de3e92297244a7ff5f0e164dc860d80507.tar.gz nextcloud-server-9761a1de3e92297244a7ff5f0e164dc860d80507.zip |
translatable error messages
Diffstat (limited to 'apps/calendar/js')
-rw-r--r-- | apps/calendar/js/calendar.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/apps/calendar/js/calendar.js b/apps/calendar/js/calendar.js index a29d6672858..afbb1b28586 100644 --- a/apps/calendar/js/calendar.js +++ b/apps/calendar/js/calendar.js @@ -91,27 +91,27 @@ Calendar={ $.post(url, post, function(data){ if(data.status == "error"){ - var output = "Missing fields: <br />"; + var output = missing_field + ": <br />"; if(data.title == "true"){ - output = output + "Title<br />"; + output = output + missing_field_title + "<br />"; } if(data.cal == "true"){ - output = output + "Calendar<br />"; + output = output + missing_field_calendar + "<br />"; } if(data.from == "true"){ - output = output + "From Date<br />"; + output = output + missing_field_fromdate + "<br />"; } if(data.fromtime == "true"){ - output = output + "From Time<br />"; + output = output + missing_field_fromtime + "<br />"; } if(data.to == "true"){ - output = output + "To Date<br />"; + output = output + missing_field_todate + "<br />"; } if(data.totime == "true"){ - output = output + "To Time<br />"; + output = output + missing_field_totime + "<br />"; } if(data.endbeforestart == "true"){ - output = "The event ends before it starts!"; + output = output + missing_field_startsbeforeends + "!<br/>"; } if(data.dberror == "true"){ output = "There was a database fail!"; |