/[projects]/android/TrainInfo/src/dk/thoerup/traininfo/TimetableList.java
ViewVC logotype

Diff of /android/TrainInfo/src/dk/thoerup/traininfo/TimetableList.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1260 by torben, Mon Apr 4 18:33:27 2011 UTC revision 1265 by torben, Tue Apr 5 13:00:34 2011 UTC
# Line 73  public class TimetableList extends ListA Line 73  public class TimetableList extends ListA
73                  note = note.replace("Eksterne forhold", this.getString(R.string.timetablelist_externalconditions) );                  note = note.replace("Eksterne forhold", this.getString(R.string.timetablelist_externalconditions) );
74                  note = note.replace("Teknisk fejl på et signal", this.getString(R.string.timetablelist_technicalerroronsignal) );                  note = note.replace("Teknisk fejl på et signal", this.getString(R.string.timetablelist_technicalerroronsignal) );
75                  note = note.replace("Materielforhold", this.getString(R.string.timetablelist_equipmentcircumstances) );                  note = note.replace("Materielforhold", this.getString(R.string.timetablelist_equipmentcircumstances) );
76                                                    
77                    // TODO: missing translations:
78                    // * Forventet rettidig afgang fra <station>
79                    // * Forventet rettidig afgang.
80                                    
81                  ((TextView)findViewById(R.id.Status)).setText(status);                  ((TextView)findViewById(R.id.Status)).setText(status);
82                  ((TextView)findViewById(R.id.Note)).setText(note);                  ((TextView)findViewById(R.id.Note)).setText(note);
# Line 183  public class TimetableList extends ListA Line 186  public class TimetableList extends ListA
186                          super.onPostExecute(result);                          super.onPostExecute(result);
187                          dismissDialog(DLG_PROGRESS);                          dismissDialog(DLG_PROGRESS);
188                    
189                                                    //TODO: differentiate between a communication error and a downed bane.dk site  
190                          if (timetables != null) {                          if (timetables != null) {
191                                  commFailCounter = 0;                                  commFailCounter = 0;
192                                  TimetableList.this.getListView().invalidateViews();                                  TimetableList.this.getListView().invalidateViews();

Legend:
Removed from v.1260  
changed lines
  Added in v.1265

  ViewVC Help
Powered by ViewVC 1.1.20