72 |
note = note.replace("Erstattet af", this.getString(R.string.timetablelist_replacedby) ); |
note = note.replace("Erstattet af", this.getString(R.string.timetablelist_replacedby) ); |
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) ); |
76 |
|
|
77 |
// tilføj: |
// TODO: missing translations: |
78 |
// * teknisk fejl på et signal |
// * 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); |
83 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
|
|
85 |
ProviderFactory.purgeOldEntries(); //cleanup before fetching more data |
ProviderFactory.purgeOldEntries(); //cleanup before fetching more data |
86 |
|
|
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(); |