Skip to content

Commit

Permalink
Fixed a crash when opening the preferences in Android 2.
Browse files Browse the repository at this point in the history
Updated French translation.
  • Loading branch information
arnowelzel committed Aug 27, 2014
1 parent b93cfa8 commit 97419af
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 11 deletions.
4 changes: 2 additions & 2 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="de.arnowelzel.android.periodical"
android:versionCode="15"
android:versionName="0.15"
android:versionCode="16"
android:versionName="0.16"
android:installLocation="auto">

<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="17" />
Expand Down
6 changes: 6 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
0.16

Fixed a crash when opening the preferences in Android 2.

Updated French translation.

0.15

Changed from Eclipse to IntelliJ IDEA.
Expand Down
2 changes: 1 addition & 1 deletion res/raw-de/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Über</title>
</head>
<body>
<h1>Periodical 0.15</h1>
<h1>Periodical 0.16</h1>
<h2>Berechnung der Fruchtbarkeit nach Knaus-Ogino<br />
Copyright © 2012-2014 Arno Welzel</h2>

Expand Down
2 changes: 1 addition & 1 deletion res/raw-fr/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>À propos</title>
</head>
<body>
<h1>Periodical 0.15</h1>
<h1>Periodical 0.16</h1>
<h2>Calcul de la fertilité selon la méthode Knaus-Ogino<br />
Copyright © 2012-2014 Arno Welzel</h2>

Expand Down
2 changes: 1 addition & 1 deletion res/raw/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>About</title>
</head>
<body>
<h1>Periodical 0.15</h1>
<h1>Periodical 0.16</h1>
<h2>Calculation of fertility according to Knaus&#8211;Ogino<br />
Copyright © 2012&#8211;2014 Arno Welzel</h2>

Expand Down
4 changes: 2 additions & 2 deletions res/values-fr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<string name="menuitem_list">Tableau</string>
<string name="menuitem_copy">Sauvegarder</string>
<string name="menuitem_restore">Restaurer</string>
<string name="menuitem_options">Préférences</string>
<string name="menuitem_options">Paramètre</string>
<string name="menuitem_exit">Terminer</string>
<string name="main_button_prev">&lt;</string>
<string name="main_button_next">&gt;</string>
Expand Down Expand Up @@ -42,7 +42,7 @@
<string name="calendaraction_remove">Retirer la marque \"Début des règles\" pour ce jour ?</string>
<string name="calendaraction_ok">Oui</string>
<string name="calendaraction_cancel">Non</string>
<string name="options_title">Préférences</string>
<string name="options_title">Paramètre</string>
<string name="pref_periodlength">Longueur par défaut de la règles (journées)</string>
<string name="invalid_period_length">La longueur standard de la période doit être 1-14!</string>
</resources>
4 changes: 0 additions & 4 deletions src/de/arnowelzel/android/periodical/OptionsActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,6 @@ private void updatePrefSummary(Preference p) {
p.setSummary(editTextPref.getText());
}
}
if (p instanceof MultiSelectListPreference) {
EditTextPreference editTextPref = (EditTextPreference) p;
p.setSummary(editTextPref.getText());
}
}

/* Handler for ICS "home" button */
Expand Down

0 comments on commit 97419af

Please sign in to comment.