FlatTurtle / InfoScreen

FlatTurtle InfoScreen repository v1 (deprecated)
http://flatturtle.com
4 stars 3 forks source link

No results #12

Closed Tuinslak closed 12 years ago

Tuinslak commented 12 years ago

Display error message when no results could be fetched (e.g. no planes planned to leave from BRU, or time out somewhere)

pietercolpaert commented 12 years ago

make a clear distinction between an error (HTTP response code > 400) and an empty list ([])

jenssegers commented 12 years ago

I have added the following messages:

pietercolpaert commented 12 years ago

Why isn't this added in i18n yet? Shall I create a new issue for i18n? How will we handel the i18n of turtles? I suppose we need to do this differently as a turtle can be on another server as well.

jenssegers commented 12 years ago

Did not found a nice & easy way to provide i18n in javascript yet.

pietercolpaert commented 12 years ago

In javascript? This is a serverside PHP issue. We didn't create the i18n folder for nothing ;)

jenssegers commented 12 years ago

Why server side? Turtles are javascript + html, the creator of the turtle should be responsible for i18n, not the server in my opinion.

pietercolpaert commented 12 years ago

Done