From c8e3735dd6ba0db56d406c7e1a93c7f974e14305 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Sat, 13 Jun 2020 18:25:05 +0200 Subject: [PATCH] Fix typos --- .../java/com/android/datetimepicker/time/TimePickerDialog.java | 2 +- android/tools/coverage-badge/badge.py | 2 +- android/uhabits-android/src/main/res/values/constants.xml | 2 +- .../main/java/org/isoron/uhabits/core/database/Repository.java | 2 +- .../main/java/org/isoron/uhabits/core/models/StreakList.java | 2 +- docs/BUILD.md | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/android/android-pickers/src/main/java/com/android/datetimepicker/time/TimePickerDialog.java b/android/android-pickers/src/main/java/com/android/datetimepicker/time/TimePickerDialog.java index b5e021a23..8863f7207 100644 --- a/android/android-pickers/src/main/java/com/android/datetimepicker/time/TimePickerDialog.java +++ b/android/android-pickers/src/main/java/com/android/datetimepicker/time/TimePickerDialog.java @@ -878,7 +878,7 @@ public class TimePickerDialog extends AppCompatDialogFragment implements OnValue // When the first digit is 2, the second digit may be 4-5. secondDigit = new Node(k4, k5); firstDigit.addChild(secondDigit); - // We must now be followd by the last minute digit. E.g. 2:40, 2:53. + // We must now be followed by the last minute digit. E.g. 2:40, 2:53. secondDigit.addChild(minuteSecondDigit); // The first digit may be 3-9. diff --git a/android/tools/coverage-badge/badge.py b/android/tools/coverage-badge/badge.py index 0e1ffe421..3e6bae8bb 100644 --- a/android/tools/coverage-badge/badge.py +++ b/android/tools/coverage-badge/badge.py @@ -55,7 +55,7 @@ def get_total(report): def get_color(total): """ - Return color for current coverage precent + Return color for current coverage percent """ try: xtotal = int(total) diff --git a/android/uhabits-android/src/main/res/values/constants.xml b/android/uhabits-android/src/main/res/values/constants.xml index ebb658dac..0bf396697 100644 --- a/android/uhabits-android/src/main/res/values/constants.xml +++ b/android/uhabits-android/src/main/res/values/constants.xml @@ -123,7 +123,7 @@ daily weekly - montly + monthly 15 diff --git a/android/uhabits-core/src/main/java/org/isoron/uhabits/core/database/Repository.java b/android/uhabits-core/src/main/java/org/isoron/uhabits/core/database/Repository.java index a550c6a54..a61b86ffa 100644 --- a/android/uhabits-core/src/main/java/org/isoron/uhabits/core/database/Repository.java +++ b/android/uhabits-core/src/main/java/org/isoron/uhabits/core/database/Repository.java @@ -57,7 +57,7 @@ public class Repository * Returns all records matching the given SQL query. *

* The query should only contain the "where" part of the SQL query, and - * optinally the "order by" part. "Group by" is not allowed. If no matching + * optionally the "order by" part. "Group by" is not allowed. If no matching * records are found, returns an empty list. */ @NonNull diff --git a/android/uhabits-core/src/main/java/org/isoron/uhabits/core/models/StreakList.java b/android/uhabits-core/src/main/java/org/isoron/uhabits/core/models/StreakList.java index a624324c7..542ed9962 100644 --- a/android/uhabits-core/src/main/java/org/isoron/uhabits/core/models/StreakList.java +++ b/android/uhabits-core/src/main/java/org/isoron/uhabits/core/models/StreakList.java @@ -123,7 +123,7 @@ public abstract class StreakList * habit to not performing a habit, and vice-versa. * * @param beginning the timestamp for the first checkmark - * @param checks the checkmarks, ordered by decresing timestamp + * @param checks the checkmarks, ordered by decreasing timestamp * @return the list of transitions */ @NonNull diff --git a/docs/BUILD.md b/docs/BUILD.md index effec48f2..29b6546a3 100644 --- a/docs/BUILD.md +++ b/docs/BUILD.md @@ -32,7 +32,7 @@ The repository will be downloaded to the directory `uhabits`. The Android files 1. Launch Android Studio and select "Open an existing Android Studio project". 2. When the IDE asks you for the project location, select `uhabits/android` and click "Ok". 3. Android Studio will spend some time indexing the project. When this is complete, click the toolbar icon "Sync Project with Gradle File", located near the right corner of the top toolbar. -4. The operation will likely fail several times due to missing Android SDK components. Each time it fails, click the link "Install missing platforms", "Instal build tools", etc, and try again. +4. The operation will likely fail several times due to missing Android SDK components. Each time it fails, click the link "Install missing platforms", "Install build tools", etc, and try again. 5. To test the application, create a virtual Android device using the menu "Tools" and "AVD Manager". The default options should work fine, but free to customize the device. 6. Click the menu "Run" and "uhabits-android". The application should launch.