Skip to content

Commit

Permalink
Merge branch 'master' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
ruleant committed Jan 2, 2021
2 parents 7805181 + 076f409 commit 9da30b7
Show file tree
Hide file tree
Showing 85 changed files with 1,493 additions and 396 deletions.
2 changes: 1 addition & 1 deletion .utility/copy-javadoc-to-gh-pages.sh
Expand Up @@ -11,7 +11,7 @@
#
# Copyright (C) 2013 Xiaohao Ma
# Copyright (C) 2013 Ben Limmer
# Copyright (C) 2014-2019 Dieter Adriaenssens
# Copyright (C) 2014-2021 Dieter Adriaenssens
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion .utility/crop_scale_screenshot.sh
Expand Up @@ -6,7 +6,7 @@
#
# Dependency : ImageMagick
#
# Copyright (C) 2014-2019 Dieter Adriaenssens
# Copyright (C) 2014-2021 Dieter Adriaenssens
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion .utility/remove-incomplete-translations
Expand Up @@ -9,7 +9,7 @@ set -e
#
# How many percent needs to be translated
#
THRESHOLD=75
THRESHOLD=85

BASE_FILE="res/values/strings.xml"

Expand Down
4 changes: 2 additions & 2 deletions AndroidManifest.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.github.ruleant.getback_gps"
android:versionCode="60"
android:versionName="0.6" >
android:versionCode="70"
android:versionName="0.7" >

<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

Expand Down
11 changes: 11 additions & 0 deletions ChangeLog
@@ -1,3 +1,14 @@
v0.7 (released on 02Jan2021)
- issue #73 : add form to manually enter a location, thanks to Timotheos Constambeys
- translated to Ukrainian, thanks to Oleksiy
- translated to Turkish, thanks to Mesut Akcan
- increase required translated strings for a language to 85%
- translated to Hungarian, thanks to Balázs Úr
- translated to Persian, thanks to AbbasBHF
- translated to Portuguese, thanks to Silvério Santos
- translated to Hebrew, thanks to Yaron Shahrabani
- translated to Kabyle, thanks to MozillaKab

v0.6 (released on 03Mar2019)
- build against Android SDK 8.0 (API 26)
- improved German translation, thanks to Silvério Santos
Expand Down
9 changes: 5 additions & 4 deletions README.md
@@ -1,13 +1,13 @@
GetBack GPS for Android
=======================

[![GetBack GPS](https://img.shields.io/badge/release-v0.6-blue.svg)](https://f-droid.org/repository/browse/?fdid=com.github.ruleant.getback_gps)
[![GetBack GPS](https://img.shields.io/badge/release-v0.7-blue.svg)](https://f-droid.org/repository/browse/?fdid=com.github.ruleant.getback_gps)
[![Build Status](https://travis-ci.org/ruleant/getback_gps.svg?branch=master)](https://travis-ci.org/ruleant/getback_gps)
[![Codacy Badge](https://api.codacy.com/project/badge/0040e146618e41ac9c39d04c7b1a3fef)](https://www.codacy.com/app/ruleant/getback_gps)
[![Coverity Scan Build Status](https://scan.coverity.com/projects/2277/badge.svg)](https://scan.coverity.com/projects/2277)
[![Coverage Status](https://coveralls.io/repos/ruleant/getback_gps/badge.png?branch=master)](https://coveralls.io/r/ruleant/getback_gps?branch=master)

[![Translation status](https://hosted.weblate.org/widgets/getback_gps-shields-badge.png)](https://hosted.weblate.org/engage/getback_gps/?utm_source=widget)
[![Translation status](https://hosted.weblate.org/widgets/getback_gps/-/svg-badge.svg)](https://hosted.weblate.org/engage/getback_gps/)
[![todofy badge](https://todofy.org/b/ruleant/getback_gps)](https://todofy.org/r/ruleant/getback_gps)
[![Stack Share](https://img.shields.io/badge/tech-stack-0690fa.svg?style=flat)](https://stackshare.io/ruleant/getback-gps)

Expand All @@ -25,7 +25,8 @@ Features
- use best/most accurate location provider
- get location updates automatically (based on a time interval or change of location) or
- get location on demand (by manually refreshing)
- save a location and give it a name
- save current location as destination
- add a destination with manual coordinates
- ‘get back’ mode : indicator pointing to a stored location (showing distance and direction)
- indicate current speed and current bearing
- use built-in sensors to get more accurate and quicker updated bearing
Expand Down Expand Up @@ -97,7 +98,7 @@ Getback GPS for Android was made possible by many contributers and sponsors, see
License
-------

Copyright (C) 2012-2019 Dieter Adriaenssens <ruleant@users.sourceforge.net>
Copyright (C) 2012-2021 Dieter Adriaenssens <ruleant@users.sourceforge.net>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
1 change: 1 addition & 0 deletions Vagrantfile
Expand Up @@ -23,6 +23,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
v.customize ['usbfilter', 'add', '0', '--target', :id, '--name', 'Motorola Moto X4', '--vendorid', '0x22b8', '--productid', '0x2e76']
v.customize ['usbfilter', 'add', '0', '--target', :id, '--name', 'Motorola PCS', '--vendorid', '0x22b8', '--productid', '0x2e81']
v.customize ['usbfilter', 'add', '0', '--target', :id, '--name', 'Motorola PCS', '--vendorid', '0x22b8', '--productid', '0x2e84']
v.customize ['usbfilter', 'add', '0', '--target', :id, '--name', 'Huawei Technologies Co., Ltd.', '--vendorid', '0x12d1', '--productid', '0x107e']
end

# Disable automatic box update checking. If you disable this, then
Expand Down
1 change: 1 addition & 0 deletions provisioning/files/51-android.rules
Expand Up @@ -4,3 +4,4 @@ SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="4ee6", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", MODE="2e76", GROUP="plugdev", ENV{adb_adbfast}="yes"
SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", MODE="2e81", GROUP="plugdev", ENV{adb_adbfast}="yes"
SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", MODE="2e84", GROUP="plugdev", ENV{adb_adbfast}="yes"
SUBSYSTEM=="usb", ATTR{idVendor}=="12d1", MODE="107e", GROUP="plugdev", ENV{adb_adbfast}="yes"
54 changes: 54 additions & 0 deletions res/layout/dialog_location_enter.xml
@@ -0,0 +1,54 @@
<?xml version="1.0" encoding="utf-8"?>

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:id="@+id/location_message"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:layout_marginLeft="12dp"
android:layout_marginStart="12dp"
android:layout_marginRight="4dp"
android:layout_marginEnd="4dp"
android:layout_marginBottom="4dp"
android:textSize="20sp"
android:text="@string/dialog_enter_location"/>
<EditText
android:id="@+id/location_name"
android:inputType="text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:layout_marginLeft="4dp"
android:layout_marginRight="4dp"
android:layout_marginBottom="16dp"
android:importantForAutofill="no"
android:hint="@string/location_name" />

<EditText
android:id="@+id/location_latitude"
android:inputType="numberDecimal|numberSigned"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:layout_marginLeft="4dp"
android:layout_marginRight="4dp"
android:layout_marginBottom="16dp"
android:importantForAutofill="no"
android:hint="@string/location_latitude" />

<EditText
android:id="@+id/location_longtitude"
android:inputType="numberDecimal|numberSigned"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:layout_marginLeft="4dp"
android:layout_marginRight="4dp"
android:layout_marginBottom="16dp"
android:importantForAutofill="no"
android:hint="@string/location_longitude" />
</LinearLayout>
5 changes: 5 additions & 0 deletions res/menu/common.xml
Expand Up @@ -10,6 +10,11 @@
android:orderInCategory="40"
android:showAsAction="ifRoom"
android:title="@string/store_location"/>
<item
android:id="@+id/menu_enterlocation"
android:orderInCategory="40"
android:showAsAction="ifRoom"
android:title="@string/enter_location"/>
<item
android:id="@+id/menu_renamedestination"
android:orderInCategory="41"
Expand Down
2 changes: 2 additions & 0 deletions res/values-ae/strings.xml
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<resources></resources>
43 changes: 22 additions & 21 deletions res/values-be/strings.xml
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources><string name="current_speed">Хуткасьць</string>
<resources>
<string name="current_speed">Хуткасьць</string>
<string name="speed_kph">км/г</string>
<string name="current_bearing">Азімут</string>
<string name="distance">Адлегласьць</string>
Expand Down Expand Up @@ -70,28 +71,28 @@
<string name="name">Імя</string>
<string name="direction_relative">адносна цяперашнага напрамку</string>
<string name="license">Гэна — бяс­плат­ная пра­ґра­ма: яе льга раз­да­ваць ці зьмя­няць па­вод­ле <EM>Агуль­нае гра­мадз­кае лі­цэн­зыї «GNU»</EM>, якую апуб­лі­ка­ваў Фонд бяс­плат­на­га пра­ґрам­на­га за­бесь­пя­чэння <SMALL>(Free Soft­ware Foun­dation)</SMALL>. Паводле альбо трэ­цяе вэр­сыї <EM>гэ­тай лі­цэн­зыї</EM>, альбо лю­бой пазь­ней­шай.

Пашыраючы гэную пра­ґра­му спа­дзя­ем­ся, што яна бу­дзе ка­рыс­наю, але <STRONG>ні­чо­га не га­ран­ту­ем</STRONG> — нават не ча­кай­це га­ран­тый <STRONG>іспраў­на­га ста­ну</STRONG> ці <STRONG>пры­год­нась­ці да пэў­най мэ­ты</STRONG>. Падрабязнасьці гля­дзе­це ў <EM>Агуль­най гра­мадз­кай лі­цэн­зыї «GNU»</EM>.

Вы павінны былі атры­маць ко­пію <EM>гэ­тай лі­цэн­зыї</EM> ра­зам з гэ­наю пра­ґра­маю. Калі ж не, то гляньце <A href="http://www.GNU.org/licenses/">www.GNU.org/licenses</A>.</string>
<plurals name="distance_meter">
<item quantity="one">%d метр</item>
<item quantity="few">%d метра</item>
<item quantity="many">%d метраў</item>
<item quantity="other"/>
</plurals>
\n
\nПашыраючы гэную пра­ґра­му спа­дзя­ем­ся, што яна бу­дзе ка­рыс­наю, але <STRONG>ні­чо­га не га­ран­ту­ем</STRONG> — нават не ча­кай­це га­ран­тый <STRONG>іспраў­на­га ста­ну</STRONG> ці <STRONG>пры­год­нась­ці да пэў­най мэ­ты</STRONG>. Падрабязнасьці гля­дзе­це ў <EM>Агуль­най гра­мадз­кай лі­цэн­зыї «GNU»</EM>.
\n
\nВы павінны былі атры­маць ко­пію <EM>гэ­тай лі­цэн­зыї</EM> ра­зам з гэ­наю пра­ґра­маю. Калі ж не, то гляньце <A href="http://www.GNU.org/licenses/">www.GNU.org/licenses</A>.</string>
<plurals name="distance_meter">
<item quantity="one">%d метр</item>
<item quantity="few">%d метра</item>
<item quantity="many">%d метраў</item>
<item quantity="other"/>
</plurals>
<plurals name="time_seconds">
<item quantity="one">%d сякунда</item>
<item quantity="few">%d сякунды</item>
<item quantity="many">%d сякундаў</item>
<item quantity="other"/>
</plurals>
<item quantity="one">%d сякунда</item>
<item quantity="few">%d сякунды</item>
<item quantity="many">%d сякундаў</item>
<item quantity="other"/>
</plurals>
<plurals name="time_minutes">
<item quantity="one">%d хвіліна</item>
<item quantity="few">%d хвіліны</item>
<item quantity="many">%d хвілін</item>
<item quantity="other"/>
</plurals>
<item quantity="one">%d хвіліна</item>
<item quantity="few">%d хвіліны</item>
<item quantity="many">%d хвілін</item>
<item quantity="other"/>
</plurals>
<string name="dialog_store_location_name">Калі ласка, увядзіце назву для вашага бягучага месцазнаходжання:</string>
<string name="location_name">Назва месцазнаходжання</string>
<string name="cancel">Скасаваць</string>
Expand Down
33 changes: 17 additions & 16 deletions res/values-ca/strings.xml
@@ -1,5 +1,6 @@
<?xml version='1.0' encoding='utf-8'?>
<resources><string name="app_desc">Trobeu el camí de tornada a un lloc ja visitat utilitzant coordenades GPS.</string>
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_desc">Trobeu el camí de tornada a un lloc ja visitat utilitzant coordenades GPS.</string>
<string name="inaccurate_location">La vostra posició actual és aproximada</string>
<string name="notice_no_dest">Deseu la vostra posició per fixar un destí</string>
<string name="inaccurate_direction">Comenceu-vos a moure per obtenir la direcció ajustada del vostre destí</string>
Expand Down Expand Up @@ -27,7 +28,7 @@
<string name="location_provider">Proveïdor de posició</string>
<string name="name">Nom</string>
<string name="provider">Proveïdor</string>
<string name="loc_provider_network">xarxa (telèfon mòbil/WiFi)</string>
<string name="loc_provider_network">Xarxa (telèfon mòbil/WiFi)</string>
<string name="loc_provider_gps">GPS</string>
<string name="provider_no_support">Aquest proveïdor no té suport.</string>
<string name="curr_location">Posició actual (darrera coneguda)</string>
Expand Down Expand Up @@ -61,8 +62,8 @@
<string name="pref_loc_update_time">Actualitzacions segons el temps</string>
<string name="pref_enable_sensors">Utilitza els sensor disponibles</string>
<string name="pref_geo_orientation_sensor">Sensor d\'orientació predefinit</string>
<string name="sensors_enabled">Activat: orientació més precisa i refresc més ràpid</string>
<string name="sensors_disabled">Desactivat: estalvi d\'energia</string>
<string name="sensors_enabled">Activat: Orientació més precisa i refresc més ràpid</string>
<string name="sensors_disabled">Desactivat: Estalvi d\'energia</string>
<string name="disabled">Desactivat</string>
<string name="about">Pel que fa a</string>
<string name="version">Versió</string>
Expand All @@ -74,18 +75,18 @@
Aquest programari es distribueix amb la voluntat que sigui d\'utilitat, però SENSE CAP GARANTIA; fins i tot sense la garantia implícita MERCANTILISTA o DEFINIDA PER UN PROPÒSIT DETERMINAT. Veieu la llicència pública general GNU per més detalls.\n
\n
Haurieu de rebre una còpia de la llicència pública general GNU junt amb aquest programari. Si no és així, veieu <a href="http://www.gnu.org/licenses/">www.gnu.org/licenses</a>.</string>
<plurals name="distance_meter">
<item quantity="one">%d metre</item>
<item quantity="other">%d metres</item>
</plurals>
<plurals name="distance_meter">
<item quantity="one">%d metre</item>
<item quantity="other">%d metres</item>
</plurals>
<plurals name="time_seconds">
<item quantity="one">%d segon</item>
<item quantity="other">%d segons</item>
</plurals>
<item quantity="one">%d segon</item>
<item quantity="other">%d segons</item>
</plurals>
<plurals name="time_minutes">
<item quantity="one">%d minut</item>
<item quantity="other">%d minuts</item>
</plurals>
<item quantity="one">%d minut</item>
<item quantity="other">%d minuts</item>
</plurals>
<string name="dialog_store_location_name">Introduïu un nom per la posició actual:</string>
<string name="location_name">Nom de la posició</string>
<string name="cancel">Cancel·la</string>
Expand All @@ -95,4 +96,4 @@ Haurieu de rebre una còpia de la llicència pública general GNU junt amb aques
<string name="rename_destination">Canvia el nom del destí</string>
<string name="rename_destination_disabled">No es pot canviar el nom del destí, primer cal desar una posició</string>
<string name="destination_renamed">Canviat el nom de la destinació</string>
</resources>
</resources>
31 changes: 15 additions & 16 deletions res/values-cs/strings.xml
@@ -1,6 +1,5 @@
<?xml version='1.0' encoding='UTF-8'?>
<?xml version="1.0" encoding="utf-8"?>
<resources>

<string name="app_desc">Najděte svoji cestu zpět k dříve navštíveným místům pomocí GPS souřadnic.</string>
<string name="none">Žádný</string>
<string name="unknown">Neznámý</string>
Expand Down Expand Up @@ -35,7 +34,7 @@
Tento program je rozšiřován v naději, že bude užitečný, avšak BEZ JAKÉKOLIV ZÁRUKY. Neposkytují se ani odvozené záruky PRODEJNOSTI anebo VHODNOSTI PRO URČITÝ ÚČEL. Další podrobnosti hledejte v Obecné veřejné licenci GNU.\n
\n
Kopii Obecné veřejné licence GNU jste měli obdržet spolu s tímto programem. Pokud se tak nestalo, najdete ji zde: <a href="http://www.gnu.org/licenses/">www.gnu.org/licenses/</a>.</string>
<string name="loc_provider_network">síť (mobilní/WiFi)</string>
<string name="loc_provider_network">Síť (mobilní/WiFi)</string>
<string name="loc_provider_gps">GPS</string>
<string name="pref_header_general">Obecné</string>
<string name="copyright">Copyright</string>
Expand Down Expand Up @@ -82,25 +81,25 @@ Kopii Obecné veřejné licence GNU jste měli obdržet spolu s tímto programem
<string name="travel_direction_forward">Dopředu</string>
<string name="travel_direction_backwards">Zpět</string>
<plurals name="distance_meter">
<item quantity="one">%d metr</item>
<item quantity="few">%d metry</item>
<item quantity="other">%d metrů</item>
</plurals>
<item quantity="one">%d metr</item>
<item quantity="few">%d metry</item>
<item quantity="other">%d metrů</item>
</plurals>
<plurals name="time_seconds">
<item quantity="one">%d sekunda</item>
<item quantity="few">%d sekundy</item>
<item quantity="other">%d sekund</item>
</plurals>
<item quantity="one">%d sekunda</item>
<item quantity="few">%d sekundy</item>
<item quantity="other">%d sekund</item>
</plurals>
<plurals name="time_minutes">
<item quantity="one">%d minuta</item>
<item quantity="few">%d minuty</item>
<item quantity="other">%d minut</item>
</plurals>
<item quantity="one">%d minuta</item>
<item quantity="few">%d minuty</item>
<item quantity="other">%d minut</item>
</plurals>
<string name="dialog_rename_destination">Zadejte nový název pro cíl:</string>
<string name="rename_destination">Přejmenovat cíl</string>
<string name="rename_destination_disabled">Nelze přejmenovat cíl, nejprve umístění uložte</string>
<string name="destination_renamed">Cíl byl přejmenován</string>
<string name="distance_m">m</string>
<string name="distance_km">km</string>
<string name="height_difference">Výškový rozdíl</string>
</resources>
</resources>
6 changes: 6 additions & 0 deletions res/values-da/strings.xml
Expand Up @@ -102,4 +102,10 @@
<string name="notice_location_permission_required">Tillad adgang til enhedens placering for at aktivere placeringsopdateringer</string>
<string name="notice_location_no_permission">Placeringsopdateringer er slået fra: tilladelse nægtet</string>
<string name="notice_location_permission_granted">Tilladelse til placeringsopdateringer</string>
<string name="dialog_enter_location">Angiv et navn og GPS-koordinater for placering:</string>
<string name="location_latitude">Breddegrad for lokalitet</string>
<string name="location_longitude">Længdegrad for lokalition</string>
<string name="enter_location">Indtast destination manuelt</string>
<string name="enter_location_invalid_latitude">Breddegrad er uden for det gyldige interval [-90°,90°]</string>
<string name="enter_location_invalid_longitude">Længdegrad er uden for det gyldige interval [-180 °, 180 °]</string>
</resources>

0 comments on commit 9da30b7

Please sign in to comment.