Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Commit

Permalink
Batch disabled on demand restricting
Browse files Browse the repository at this point in the history
Fixes #1467
  • Loading branch information
M66B committed Feb 27, 2014
1 parent 1e83c60 commit 5395306
Show file tree
Hide file tree
Showing 46 changed files with 101 additions and 6 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Changelog

**Next release**

* Added option to batch disable on demand restricting ([issue](/../../issues/1467))
* Updated Dutch translation
* Updated Lithuanian translation

[Open issues](https://github.com/M66B/XPrivacy/issues?state=open)
Expand Down
13 changes: 10 additions & 3 deletions res/layout/sharelist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,21 @@
android:id="@+id/rbTemplate"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/menu_template"
android:text="@string/menu_apply"
android:textAppearance="?android:attr/textAppearanceSmall" />

<RadioButton
android:id="@+id/rbOndemand"
android:id="@+id/rbEnableOndemand"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/settings_ondemand"
android:text="@string/title_enable_ondemand"
android:textAppearance="?android:attr/textAppearanceSmall" />

<RadioButton
android:id="@+id/rbDisableOndemand"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/title_disable_ondemand"
android:textAppearance="?android:attr/textAppearanceSmall" />
</RadioGroup>
</LinearLayout>
Expand Down
2 changes: 2 additions & 0 deletions res/values-ar/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@
<string name="title_pleasesubmit">الرجاء إرسال القيود لمساعدة الآخرين</string>
<string name="title_permissions">Permissions</string>
<string name="title_set_restrict">Restrict</string>
<string name="title_enable_ondemand">Enable on demand restricting</string>
<string name="title_disable_ondemand">Disable on demand restricting</string>
<string name="settings_serial">السيريال#</string>
<string name="settings_lat">خط العرض</string>
<string name="settings_lon">خط الطول</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-bg/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@
<string name="title_pleasesubmit">Please submit your restrictions to help others</string>
<string name="title_permissions">Permissions</string>
<string name="title_set_restrict">Restrict</string>
<string name="title_enable_ondemand">Enable on demand restricting</string>
<string name="title_disable_ondemand">Disable on demand restricting</string>
<string name="settings_serial">Serial#</string>
<string name="settings_lat">Геогр. ширина</string>
<string name="settings_lon">Геогр. дължина</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-ca/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@
<string name="title_pleasesubmit">Please submit your restrictions to help others</string>
<string name="title_permissions">Permissions</string>
<string name="title_set_restrict">Restrict</string>
<string name="title_enable_ondemand">Enable on demand restricting</string>
<string name="title_disable_ondemand">Disable on demand restricting</string>
<string name="settings_serial">Número de sèrie</string>
<string name="settings_lat">Latitud</string>
<string name="settings_lon">Longitud</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-cs/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ nicméně je nemožné zaručit bezchybnou funkčnost na všech zařízeních a
<string name="title_pleasesubmit">Please submit your restrictions to help others</string>
<string name="title_permissions">Permissions</string>
<string name="title_set_restrict">Restrict</string>
<string name="title_enable_ondemand">Enable on demand restricting</string>
<string name="title_disable_ondemand">Disable on demand restricting</string>
<string name="settings_serial">Sériové číslo</string>
<string name="settings_lat">Zeměpisná šířka</string>
<string name="settings_lon">Zeměpisná délka</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-da/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@
<string name="title_pleasesubmit">Please submit your restrictions to help others</string>
<string name="title_permissions">Permissions</string>
<string name="title_set_restrict">Restrict</string>
<string name="title_enable_ondemand">Enable on demand restricting</string>
<string name="title_disable_ondemand">Disable on demand restricting</string>
<string name="settings_serial">Serienummer</string>
<string name="settings_lat">Breddegrad</string>
<string name="settings_lon">Længdegrad</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-de/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@
<string name="title_pleasesubmit">Bitte geben Sie Ihre Einstellungen der Beschränkungen weiter um anderen zu helfen</string>
<string name="title_permissions">Berechtigungen</string>
<string name="title_set_restrict">Restrict</string>
<string name="title_enable_ondemand">Enable on demand restricting</string>
<string name="title_disable_ondemand">Disable on demand restricting</string>
<string name="settings_serial">Seriennummer</string>
<string name="settings_lat">Breitengrad</string>
<string name="settings_lon">Längengrad</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-ee/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ kuid on võimatu garanteerida, et see töötab igal seadmel ja iga rakendusega.
<string name="title_pleasesubmit">Please submit your restrictions to help others</string>
<string name="title_permissions">Permissions</string>
<string name="title_set_restrict">Restrict</string>
<string name="title_enable_ondemand">Enable on demand restricting</string>
<string name="title_disable_ondemand">Disable on demand restricting</string>
<string name="settings_serial">Seeria#</string>
<string name="settings_lat">Laiuskraad</string>
<string name="settings_lon">Pikkuskraad</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-el/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@
<string name="title_pleasesubmit">Please submit your restrictions to help others</string>
<string name="title_permissions">Permissions</string>
<string name="title_set_restrict">Restrict</string>
<string name="title_enable_ondemand">Enable on demand restricting</string>
<string name="title_disable_ondemand">Disable on demand restricting</string>
<string name="settings_serial">Σειριακός αριθμός</string>
<string name="settings_lat">Γεωγρ. πλάτος</string>
<string name="settings_lon">Γεωγρ. μήκος</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-es/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ sin embargo no puedo garantizar que funcione sin ningún fallo para cada disposi
<string name="title_pleasesubmit">Por favor suba sus restricciones para ayudar a otros usuarios</string>
<string name="title_permissions">Permissions</string>
<string name="title_set_restrict">Restrict</string>
<string name="title_enable_ondemand">Enable on demand restricting</string>
<string name="title_disable_ondemand">Disable on demand restricting</string>
<string name="settings_serial"># de serie</string>
<string name="settings_lat">Latitud</string>
<string name="settings_lon">Longitud</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-fa/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@
<string name="title_pleasesubmit">Please submit your restrictions to help others</string>
<string name="title_permissions">Permissions</string>
<string name="title_set_restrict">Restrict</string>
<string name="title_enable_ondemand">Enable on demand restricting</string>
<string name="title_disable_ondemand">Disable on demand restricting</string>
<string name="settings_serial">شماره سریال</string>
<string name="settings_lat">عرض جغرافیایی</string>
<string name="settings_lon">طول جغرافیایی</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-fi/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@
<string name="title_pleasesubmit">Please submit your restrictions to help others</string>
<string name="title_permissions">Permissions</string>
<string name="title_set_restrict">Restrict</string>
<string name="title_enable_ondemand">Enable on demand restricting</string>
<string name="title_disable_ondemand">Disable on demand restricting</string>
<string name="settings_serial">sarjanumero#</string>
<string name="settings_lat">Latituudi</string>
<string name="settings_lon">Longituudi</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-fr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ il est impossible de garantir un fonctionnement parfait sur chaque appareil et p
<string name="title_pleasesubmit">Veuillez envoyer vos restrictions pour aider les autres</string>
<string name="title_permissions">Permissions</string>
<string name="title_set_restrict">Restrict</string>
<string name="title_enable_ondemand">Enable on demand restricting</string>
<string name="title_disable_ondemand">Disable on demand restricting</string>
<string name="settings_serial">N° de série</string>
<string name="settings_lat">Latitude</string>
<string name="settings_lon">Longitude</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-ga/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@
<string name="title_pleasesubmit">Please submit your restrictions to help others</string>
<string name="title_permissions">Permissions</string>
<string name="title_set_restrict">Restrict</string>
<string name="title_enable_ondemand">Enable on demand restricting</string>
<string name="title_disable_ondemand">Disable on demand restricting</string>
<string name="settings_serial">Sraithuimhir#</string>
<string name="settings_lat">TX</string>
<string name="settings_lon">Domhanfhad</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-he/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ however it is impossible to guarantee it will work flawless on each and every de
<string name="title_pleasesubmit">Please submit your restrictions to help others</string>
<string name="title_permissions">Permissions</string>
<string name="title_set_restrict">Restrict</string>
<string name="title_enable_ondemand">Enable on demand restricting</string>
<string name="title_disable_ondemand">Disable on demand restricting</string>
<string name="settings_serial">Serial#</string>
<string name="settings_lat">קו אורך</string>
<string name="settings_lon">קו רוחב</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-hi/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@
<string name="title_pleasesubmit">Please submit your restrictions to help others</string>
<string name="title_permissions">Permissions</string>
<string name="title_set_restrict">Restrict</string>
<string name="title_enable_ondemand">Enable on demand restricting</string>
<string name="title_disable_ondemand">Disable on demand restricting</string>
<string name="settings_serial">क्रमांक#</string>
<string name="settings_lat">अक्षांश</string>
<string name="settings_lon">रेखांश</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-hu/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ de lehetetlen garantálni hogy tökéletesen működjön az összes eszközön
<string name="title_pleasesubmit">Please submit your restrictions to help others</string>
<string name="title_permissions">Permissions</string>
<string name="title_set_restrict">Restrict</string>
<string name="title_enable_ondemand">Enable on demand restricting</string>
<string name="title_disable_ondemand">Disable on demand restricting</string>
<string name="settings_serial">Sorozatszám#</string>
<string name="settings_lat">Szélesség</string>
<string name="settings_lon">Hosszúság</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-it/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ tuttavia non è possibile garantire che funzioni perfettamente su qualunque disp
<string name="title_pleasesubmit">Per favore sottoponi le tue restrizioni per aiutare gli altri</string>
<string name="title_permissions">Permessi</string>
<string name="title_set_restrict">Restringi</string>
<string name="title_enable_ondemand">Enable on demand restricting</string>
<string name="title_disable_ondemand">Disable on demand restricting</string>
<string name="settings_serial">Seriale#</string>
<string name="settings_lat">Latitudine</string>
<string name="settings_lon">Longitudine</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-iw/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ however it is impossible to guarantee it will work flawless on each and every de
<string name="title_pleasesubmit">Please submit your restrictions to help others</string>
<string name="title_permissions">Permissions</string>
<string name="title_set_restrict">Restrict</string>
<string name="title_enable_ondemand">Enable on demand restricting</string>
<string name="title_disable_ondemand">Disable on demand restricting</string>
<string name="settings_serial">Serial#</string>
<string name="settings_lat">קו אורך</string>
<string name="settings_lon">קו רוחב</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-ja/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@
<string name="title_pleasesubmit">Please submit your restrictions to help others</string>
<string name="title_permissions">Permissions</string>
<string name="title_set_restrict">Restrict</string>
<string name="title_enable_ondemand">Enable on demand restricting</string>
<string name="title_disable_ondemand">Disable on demand restricting</string>
<string name="settings_serial">シリアル番号</string>
<string name="settings_lat">緯度</string>
<string name="settings_lon">経度</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-ku-rIQ/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@
<string name="title_pleasesubmit">ته کایه بو یارمه تی دانی که سانی تریش ئه و شتانه ى سنوردارتكردوون به لاو بكه </string>
<string name="title_permissions">Permissions</string>
<string name="title_set_restrict">Restrict</string>
<string name="title_enable_ondemand">Enable on demand restricting</string>
<string name="title_disable_ondemand">Disable on demand restricting</string>
<string name="settings_serial">سريال نه مبرى موبايل</string>
<string name="settings_lat">هیلی پانی</string>
<string name="settings_lon">هیلی دریژی</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-ku-rIR/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@
<string name="title_pleasesubmit">ته کایه بو یارمه تی دانی که سانی تریش ئه و شتانه ى سنوردارتكردوون به لاو بكه </string>
<string name="title_permissions">Permissions</string>
<string name="title_set_restrict">Restrict</string>
<string name="title_enable_ondemand">Enable on demand restricting</string>
<string name="title_disable_ondemand">Disable on demand restricting</string>
<string name="settings_serial">سريال نه مبرى موبايل</string>
<string name="settings_lat">هیلی پانی</string>
<string name="settings_lon">هیلی دریژی</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-lt/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ Tačiau neįmanoma garantuoti, kad dirbs nepriekaištingai su kiekvienu prietais
<string name="title_pleasesubmit">Prašome pateikti savo leidimą</string>
<string name="title_permissions">Leidimai</string>
<string name="title_set_restrict">Riboti</string>
<string name="title_enable_ondemand">Enable on demand restricting</string>
<string name="title_disable_ondemand">Disable on demand restricting</string>
<string name="settings_serial">Serial#</string>
<string name="settings_lat">Platuma</string>
<string name="settings_lon">Ilguma</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-ms/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ namun ia adalah mustahil untuk menjaminkan penggunaan sempurna untuk setiap pera
<string name="title_pleasesubmit">Sila kemukakan sekatan anda untuk menolong orang lain</string>
<string name="title_permissions">Kebenaran</string>
<string name="title_set_restrict">Restrict</string>
<string name="title_enable_ondemand">Enable on demand restricting</string>
<string name="title_disable_ondemand">Disable on demand restricting</string>
<string name="settings_serial">Siri#</string>
<string name="settings_lat">Latitud</string>
<string name="settings_lon">Longitud</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-nb-rNO/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@
<string name="title_pleasesubmit">Vennligst last opp restriksjonene dine for å hjelpe andre</string>
<string name="title_permissions">Permissions</string>
<string name="title_set_restrict">Restrict</string>
<string name="title_enable_ondemand">Enable on demand restricting</string>
<string name="title_disable_ondemand">Disable on demand restricting</string>
<string name="settings_serial">Serienummer</string>
<string name="settings_lat">Breddegrad</string>
<string name="settings_lon">Lengdegrad</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-nl/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ maar het is onmogelijk om te garanderen dat het op elk apparaat en voor elke app
<string name="title_pleasesubmit">Stuur a.u.b. uw beperkingen op om anderen te helpen</string>
<string name="title_permissions">Rechten</string>
<string name="title_set_restrict">Beperk</string>
<string name="title_enable_ondemand">Zet op verzoek beperken aan</string>
<string name="title_disable_ondemand">Zet op verzoek beperken uit</string>
<string name="settings_serial">Serienummer</string>
<string name="settings_lat">Breedtegraad</string>
<string name="settings_lon">Lengtegraad</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-nn-rNO/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@
<string name="title_pleasesubmit">Vennligst last opp restriksjonene dine for å hjelpe andre</string>
<string name="title_permissions">Permissions</string>
<string name="title_set_restrict">Restrict</string>
<string name="title_enable_ondemand">Enable on demand restricting</string>
<string name="title_disable_ondemand">Disable on demand restricting</string>
<string name="settings_serial">Serienummer</string>
<string name="settings_lat">Breddegrad</string>
<string name="settings_lon">Lengdegrad</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-no-rNO/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@
<string name="title_pleasesubmit">Vennligst last opp restriksjonene dine for å hjelpe andre</string>
<string name="title_permissions">Permissions</string>
<string name="title_set_restrict">Restrict</string>
<string name="title_enable_ondemand">Enable on demand restricting</string>
<string name="title_disable_ondemand">Disable on demand restricting</string>
<string name="settings_serial">Serienummer</string>
<string name="settings_lat">Breddegrad</string>
<string name="settings_lon">Lengdegrad</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-pl/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@
<string name="title_pleasesubmit">Proszę wyślij twoje ograniczenia aby pomóc innym</string>
<string name="title_permissions">Uprawnienia</string>
<string name="title_set_restrict">Ogranicz</string>
<string name="title_enable_ondemand">Enable on demand restricting</string>
<string name="title_disable_ondemand">Disable on demand restricting</string>
<string name="settings_serial">Numer seryjny</string>
<string name="settings_lat">Szerokość geograficzna</string>
<string name="settings_lon">Długość geograficzna</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-pt/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ porém é impossível garantir que irá funcionar sem problemas em todos os disp
<string name="title_pleasesubmit">Please submit your restrictions to help others</string>
<string name="title_permissions">Permissions</string>
<string name="title_set_restrict">Restrict</string>
<string name="title_enable_ondemand">Enable on demand restricting</string>
<string name="title_disable_ondemand">Disable on demand restricting</string>
<string name="settings_serial">Serial#</string>
<string name="settings_lat">Latitude</string>
<string name="settings_lon">Longitude</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-ro/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ however it is impossible to guarantee it will work flawless on each and every de
<string name="title_pleasesubmit">Please submit your restrictions to help others</string>
<string name="title_permissions">Permissions</string>
<string name="title_set_restrict">Restrict</string>
<string name="title_enable_ondemand">Enable on demand restricting</string>
<string name="title_disable_ondemand">Disable on demand restricting</string>
<string name="settings_serial">Serial#</string>
<string name="settings_lat">Latitudine</string>
<string name="settings_lon">Longitudine</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-ru/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@
<string name="title_pleasesubmit">Пожалуйста, отправьте ваши разрешения, чтобы помочь остальным</string>
<string name="title_permissions">Разрешения</string>
<string name="title_set_restrict">Restrict</string>
<string name="title_enable_ondemand">Enable on demand restricting</string>
<string name="title_disable_ondemand">Disable on demand restricting</string>
<string name="settings_serial">Серийный номер</string>
<string name="settings_lat">Широта</string>
<string name="settings_lon">Долгота</string>
Expand Down
Loading

0 comments on commit 5395306

Please sign in to comment.