Subversion Repository Public Repository

Nextrek

Diff Revisions 10 vs 11 for /Android/Minstrek/MinstrekLib/src/nextrek/minstrek/core/PageModel.java

Diff revisions: vs.
  @@ -19,6 +19,12 @@
19 19 this.topImage = jsonData.optString("topImage");
20 20 if (this.topImage != null) {
21 21 this.topImage = this.topImage.toLowerCase(Locale.ENGLISH);
22 + this.topImage = this.topImage.replaceAll("à", "a");
23 + this.topImage = this.topImage.replaceAll("è", "e");
24 + this.topImage = this.topImage.replaceAll("é", "e");
25 + this.topImage = this.topImage.replaceAll("ì", "i");
26 + this.topImage = this.topImage.replaceAll("ò", "o");
27 + this.topImage = this.topImage.replaceAll("ù", "u");
22 28 }
23 29
24 30 int buttonCount = jsonData.optInt("buttons");
  @@ -26,7 +32,6 @@
26 32 try {
27 33 buttons.add(new ButtonModel(jsonData.getJSONObject("button" + i)));
28 34 } catch (JSONException e) {
29 - // TODO Auto-generated catch block
30 35 e.printStackTrace();
31 36 }
32 37 }