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

Commit

Permalink
Option to negate filter on restrictions
Browse files Browse the repository at this point in the history
Fixes #754
  • Loading branch information
M66B committed Nov 14, 2013
1 parent 20ed908 commit 93bf8e0
Show file tree
Hide file tree
Showing 39 changed files with 90 additions and 36 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ Changelog

**Next release**

* Option to negate filter on restrictions ([issue](https://github.com/M66B/XPrivacy/issues/754))
* Option to make XPrivacy device administrator (to prevent unwanted uninstall)
* Updated Chinese translation
* Updated Lithuanian translation

**Version 1.10.12 BETA**
Expand Down
9 changes: 9 additions & 0 deletions res/layout/mainlist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,15 @@
android:saveEnabled="false"
android:text="@string/title_frestricted"
android:textAppearance="?android:attr/textAppearanceSmall" />

<CheckBox
android:id="@+id/cbFRestrictionNot"
android:layout_width="wrap_content"
android:layout_height="24dp"
android:layout_marginLeft="4dp"
android:saveEnabled="false"
android:text="@string/title_fnot"
android:textAppearance="?android:attr/textAppearanceSmall" />
</LinearLayout>

<LinearLayout
Expand Down
1 change: 1 addition & 0 deletions res/values-ar/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
<string name="title_frestricted">التصفية حسب التقييد</string>
<string name="title_fuser">تصفية برامج المستخدم</string>
<string name="title_fsystem">تصفية برامج النظام</string>
<string name="title_fnot">Negate</string>
<string name="settings_serial">السيريال#</string>
<string name="settings_lat">خط العرض</string>
<string name="settings_lon">خط الطول</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-bg/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
<string name="title_frestricted">Filter on restricted</string>
<string name="title_fuser">Filter on user applications</string>
<string name="title_fsystem">Filter on system applications</string>
<string name="title_fnot">Negate</string>
<string name="settings_serial">Serial#</string>
<string name="settings_lat">Геогр. ширина</string>
<string name="settings_lon">Геогр. дължина</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-ca/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
<string name="title_frestricted">Filtra per restringit</string>
<string name="title_fuser">Filtra per aplicacions d\'usuari</string>
<string name="title_fsystem">Filtra per aplicacions de sistema</string>
<string name="title_fnot">Negate</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
1 change: 1 addition & 0 deletions res/values-cs/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ nicméně je nemožné zaručit bezchybnou funkčnost na všech zařízeních a
<string name="title_frestricted">Filter on restricted</string>
<string name="title_fsystem">Filter on system applications</string>
<string name="title_fuser">Filter on user applications</string>
<string name="title_fnot">Negate</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
1 change: 1 addition & 0 deletions res/values-da/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
<string name="title_frestricted">Filter on restricted</string>
<string name="title_fsystem">Filter on system applications</string>
<string name="title_fuser">Filter on user applications</string>
<string name="title_fnot">Negate</string>
<string name="settings_serial">Serienummer</string>
<string name="settings_lat">Breddegrad</string>
<string name="settings_lon">Længdegrad</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-de/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
<string name="title_frestricted">Nach Beschränkungen filtern</string>
<string name="title_fuser">Nach Benutzer-Apps filtern</string>
<string name="title_fsystem">Nach System-Apps filtern</string>
<string name="title_fnot">Negate</string>
<string name="settings_serial">Seriennummer</string>
<string name="settings_lat">Breitengrad</string>
<string name="settings_lon">Längengrad</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-ee/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ kuid on võimatu garanteerida, et see töötab igal seadmel ja iga rakendusega.
<string name="title_frestricted">Filter on restricted</string>
<string name="title_fuser">Filter on user applications</string>
<string name="title_fsystem">Filter on system applications</string>
<string name="title_fnot">Negate</string>
<string name="settings_serial">Seeria#</string>
<string name="settings_lat">Laiuskraad</string>
<string name="settings_lon">Pikkuskraad</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-el/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
<string name="title_frestricted">Filter on restricted</string>
<string name="title_fuser">Filter on user applications</string>
<string name="title_fsystem">Filter on system applications</string>
<string name="title_fnot">Negate</string>
<string name="settings_serial">Σειριακός αριθμός</string>
<string name="settings_lat">Γεωγρ. πλάτος</string>
<string name="settings_lon">Γεωγρ. μήκος</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-es/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ sin embargo es imposible garantizar que funcione impecable en todos y cada uno d
<string name="title_frestricted">Filtro en restringido</string>
<string name="title_fuser">Filtro en aplicaciones de usuario</string>
<string name="title_fsystem">Filtro en aplicaciones de sistema</string>
<string name="title_fnot">Negate</string>
<string name="settings_serial"># de serie</string>
<string name="settings_lat">Latitud</string>
<string name="settings_lon">Longitud</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-fa/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
<string name="title_frestricted">Filter on restricted</string>
<string name="title_fuser">Filter on user applications</string>
<string name="title_fsystem">Filter on system applications</string>
<string name="title_fnot">Negate</string>
<string name="settings_serial">شماره سریال</string>
<string name="settings_lat">عرض جغرافیایی</string>
<string name="settings_lon">طول جغرافیایی</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-fr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ il est impossible de garantir un fonctionnement parfait sur chaque appareil et p
<string name="title_frestricted">Filtrer restreintes</string>
<string name="title_fuser">Filtrer les applis utilisateur</string>
<string name="title_fsystem">Filtrer les applis système</string>
<string name="title_fnot">Negate</string>
<string name="settings_serial">N° de série</string>
<string name="settings_lat">Latitude</string>
<string name="settings_lon">Longitude</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-he/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ however it is impossible to guarantee it will work flawless on each and every de
<string name="title_frestricted">Filter on restricted</string>
<string name="title_fuser">Filter on user applications</string>
<string name="title_fsystem">Filter on system applications</string>
<string name="title_fnot">Negate</string>
<string name="settings_serial">Serial#</string>
<string name="settings_lat">קו אורך</string>
<string name="settings_lon">קו רוחב</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-hi/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
<string name="title_frestricted">प्रतिबंध पर फिल्टर करे</string>
<string name="title_fuser">उपयोगकर्ता की Applications पर फिल्टर करे</string>
<string name="title_fsystem">सिस्टम की Applications पर फिल्टर करे</string>
<string name="title_fnot">Negate</string>
<string name="settings_serial">क्रमांक#</string>
<string name="settings_lat">अक्षांश</string>
<string name="settings_lon">रेखांश</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-hu/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ de lehetetlen garantálni hogy tökéletesen működjön az összes eszközön
<string name="title_frestricted">Filter on restricted</string>
<string name="title_fuser">Filter on user applications</string>
<string name="title_fsystem">Filter on system applications</string>
<string name="title_fnot">Negate</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
1 change: 1 addition & 0 deletions res/values-it/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
<string name="title_frestricted">Filtra per restrizione</string>
<string name="title_fuser">Filtra per app utente</string>
<string name="title_fsystem">Filtra per app di sistema</string>
<string name="title_fnot">Negate</string>
<string name="settings_serial">Numero di serie#</string>
<string name="settings_lat">Latitudine</string>
<string name="settings_lon">Longitudine</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-iw/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ however it is impossible to guarantee it will work flawless on each and every de
<string name="title_frestricted">Filter on restricted</string>
<string name="title_fuser">Filter on user applications</string>
<string name="title_fsystem">Filter on system applications</string>
<string name="title_fnot">Negate</string>
<string name="settings_serial">Serial#</string>
<string name="settings_lat">קו אורך</string>
<string name="settings_lon">קו רוחב</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-ja/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
<string name="title_frestricted">制限済みを表示</string>
<string name="title_fuser">ユーザーアプリを表示</string>
<string name="title_fsystem">システムアプリを表示</string>
<string name="title_fnot">Negate</string>
<string name="settings_serial">シリアル番号</string>
<string name="settings_lat">緯度</string>
<string name="settings_lon">経度</string>
Expand Down
11 changes: 3 additions & 8 deletions res/values-lt/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<string name="app_version" formatted="false">XPrivacy versija: %s (%d)</string>
<string name="app_xversion" formatted="false">Xposed sistemos versija: %d</string>
<string name="app_copyright">Copyright \u00A9 2013 by M. Bokhorst (M66B)</string>

<string name="menu_usage">Leidimų naudojimas</string>
<string name="menu_refresh">Atnaujinti</string>
<string name="menu_settings">Parametrai</string>
Expand All @@ -28,7 +27,6 @@
<string name="menu_app_store">Play Store parduotuvė</string>
<string name="menu_accounts">Leisti pažymėtas paskyras</string>
<string name="menu_contacts">Leisti pažymėtus kontaktus</string>

<string name="msg_new">Naujas</string>
<string name="msg_update">Atnaujinta</string>
<string name="msg_licensed" formatted="false">licencija: %s</string>
Expand All @@ -42,7 +40,6 @@
<string name="msg_first"><b>Puiku, kad sutikote išbandyti XPrivacy.
Tačiau neįmanoma garantuoti, kad dirbs nepriekaištingai su kiekvienu prietaisu.
\n\nTodėl naudokite visiškai savo pačių rizika.</b>\n\nTaip pat žiūrėkite licenciją:</string>

<string name="restrict_accounts">Paskyra (Google, Facebook, kita)</string>
<string name="restrict_browser">Naršyklė (žymės/istorija)</string>
<string name="restrict_calendar">Kalendorius</string>
Expand All @@ -64,12 +61,11 @@ Tačiau neįmanoma garantuoti, kad dirbs nepriekaištingai su kiekvienu prietais
<string name="restrict_shell">Vykdymas (komandos, superuser)</string>
<string name="restrict_system">Sistema (įdiegtos programos)</string>
<string name="restrict_view">Peržiūra (Naršyklė)</string>

<string name="title_category">Kategorija:</string>
<string name="title_restrict">Žiūrėti leidimus:</string>
<string name="title_nofilter">Nėra aktyvių filtrų</string>

<plurals name="title_filters">

<item quantity="one">1 aktyvus filtras</item>
<item quantity="other">%d aktyvūs filtrai</item>
</plurals>
Expand All @@ -80,7 +76,7 @@ Tačiau neįmanoma garantuoti, kad dirbs nepriekaištingai su kiekvienu prietais
<string name="title_frestricted">Apriboti leidimai</string>
<string name="title_fuser">Vartotojo programos</string>
<string name="title_fsystem">Sistemos programos</string>

<string name="title_fnot">Negate</string>
<string name="settings_serial">Serial#</string>
<string name="settings_lat">Platuma</string>
<string name="settings_lon">Ilguma</string>
Expand All @@ -96,12 +92,11 @@ Tačiau neįmanoma garantuoti, kad dirbs nepriekaištingai su kiekvienu prietais
<string name="settings_notify">Atnaujinimų Pranesimas</string>
<string name="settings_usage">Android naudojimo duomenys (reikia paleisti iš naujo)</string>
<string name="settings_log">DEBUG žurnalas (reikia paleisti iš naujo)</string>

<string name="help_application">Programa</string>
<string name="help_internet">Interneto leidimai</string>
<string name="help_granted">Android leidimai</string>
<string name="help_used">Privačių duomenų leidimai</string>
<string name="help_frozen">Išjungtų programų leidimai</string>
<string name="help_dangerous">Pavojingi leidimai</string>

</resources>
</resources>
1 change: 1 addition & 0 deletions res/values-nb-rNO/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
<string name="title_frestricted">Filtrer etter restriksjon</string>
<string name="title_fuser">Filtrer etter vanlige apper</string>
<string name="title_fsystem">Filtrer etter system apper</string>
<string name="title_fnot">Negate</string>
<string name="settings_serial">Serienummer</string>
<string name="settings_lat">Breddegrad</string>
<string name="settings_lon">Lengdegrad</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-nl/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ maar het is onmogelijk om te garanderen dat het op elk apparaat en voor elke app
<string name="title_frestricted">Filter op beperkingen</string>
<string name="title_fuser">Filter op gebruikersapplicaties</string>
<string name="title_fsystem">Filter op systeemapplicaties</string>
<string name="title_fnot">Ontken</string>
<string name="settings_serial">Serienummer</string>
<string name="settings_lat">Breedtegraad</string>
<string name="settings_lon">Lengtegraad</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-nn-rNO/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
<string name="title_frestricted">Filtrer etter restriksjon</string>
<string name="title_fuser">Filtrer etter vanlige apper</string>
<string name="title_fsystem">Filtrer etter system apper</string>
<string name="title_fnot">Negate</string>
<string name="settings_serial">Serienummer</string>
<string name="settings_lat">Breddegrad</string>
<string name="settings_lon">Lengdegrad</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-no-rNO/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
<string name="title_frestricted">Filtrer etter restriksjon</string>
<string name="title_fuser">Filtrer etter vanlige apper</string>
<string name="title_fsystem">Filtrer etter system apper</string>
<string name="title_fnot">Negate</string>
<string name="settings_serial">Serienummer</string>
<string name="settings_lat">Breddegrad</string>
<string name="settings_lon">Lengdegrad</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-pl/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
<string name="title_frestricted">Filter on restricted</string>
<string name="title_fuser">Filter on user applications</string>
<string name="title_fsystem">Filter on system applications</string>
<string name="title_fnot">Negate</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
1 change: 1 addition & 0 deletions res/values-pt/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ porém é impossível garantir que irá funcionar sem problemas em todos os disp
<string name="title_frestricted">Filter on restricted</string>
<string name="title_fuser">Filter on user applications</string>
<string name="title_fsystem">Filter on system applications</string>
<string name="title_fnot">Negate</string>
<string name="settings_serial">Serial#</string>
<string name="settings_lat">Latitude</string>
<string name="settings_lon">Longitude</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-ro/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ however it is impossible to guarantee it will work flawless on each and every de
<string name="title_frestricted">Filter on restricted</string>
<string name="title_fuser">Filter on user applications</string>
<string name="title_fsystem">Filter on system applications</string>
<string name="title_fnot">Negate</string>
<string name="settings_serial">Serial#</string>
<string name="settings_lat">Latitudine</string>
<string name="settings_lon">Longitudine</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-ru/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
<string name="title_frestricted">Filter on restricted</string>
<string name="title_fuser">Filter on user applications</string>
<string name="title_fsystem">Filter on system applications</string>
<string name="title_fnot">Negate</string>
<string name="settings_serial">Серийный номер</string>
<string name="settings_lat">Широта</string>
<string name="settings_lon">Долгота</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-sk/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ avšak nie je nemožné zaručiť, že bude fungovať bezchybne na každom zaria
<string name="title_frestricted">Filter na obmedzené</string>
<string name="title_fuser">Filter na užívateľské aplikácie</string>
<string name="title_fsystem">Filter na systémové aplikácie</string>
<string name="title_fnot">Negate</string>
<string name="settings_serial">Sériové číslo</string>
<string name="settings_lat">Zemepisná šírka</string>
<string name="settings_lon">Zemepisná dĺžka</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-sl/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
<string name="title_frestricted">Filtriraj po omejitvah</string>
<string name="title_fuser">Filtriraj uporabniške programe</string>
<string name="title_fsystem">Filtriraj sistemske programe</string>
<string name="title_fnot">Negate</string>
<string name="settings_serial">Serijska št.</string>
<string name="settings_lat">Geografska širina</string>
<string name="settings_lon">Geografska dolžina</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-sr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ however it is impossible to guarantee it will work flawless on each and every de
<string name="title_frestricted">Filter on restricted</string>
<string name="title_fuser">Filter on user applications</string>
<string name="title_fsystem">Filter on system applications</string>
<string name="title_fnot">Negate</string>
<string name="settings_serial">Serial#</string>
<string name="settings_lat">Ширина</string>
<string name="settings_lon">Дужина</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-sv/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ Det är emellertid omöjligt att garantera att appen fungerar på alla enheter o
<string name="title_frestricted">Filtrera efter begränsad</string>
<string name="title_fuser">Filtrera efter vanliga appar</string>
<string name="title_fsystem">Filtrera efter systemappar</string>
<string name="title_fnot">Negate</string>
<string name="settings_serial">Serial#</string>
<string name="settings_lat">Latitud</string>
<string name="settings_lon">Longitud</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-tr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
<string name="title_frestricted">Filter on restricted</string>
<string name="title_fuser">Filter on user applications</string>
<string name="title_fsystem">Filter on system applications</string>
<string name="title_fnot">Negate</string>
<string name="settings_serial">Seri no</string>
<string name="settings_lat">Enlem</string>
<string name="settings_lon">Boylam</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-vi/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
<string name="title_frestricted">Lọc các ứng dụng đã thiết lập hạn chế</string>
<string name="title_fuser">Lọc các ứng dụng người dùng</string>
<string name="title_fsystem">Lọc các ứng dụng hệ thống</string>
<string name="title_fnot">Negate</string>
<string name="settings_serial">Serial#</string>
<string name="settings_lat">Vĩ độ</string>
<string name="settings_lon">Kinh độ</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-zh-rCN/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
<string name="title_frestricted">仅显示已限制权限的应用</string>
<string name="title_fuser">仅显示用户应用</string>
<string name="title_fsystem">仅显示系统应用</string>
<string name="title_fnot">Negate</string>
<string name="settings_serial">设备序列号</string>
<string name="settings_lat">纬度</string>
<string name="settings_lon">经度</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-zh-rTW/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
<string name="title_frestricted">已被限制程式</string>
<string name="title_fuser">顯示使用者app</string>
<string name="title_fsystem">顯示系統app</string>
<string name="title_fnot">Negate</string>
<string name="settings_serial">序號</string>
<string name="settings_lat">緯度</string>
<string name="settings_lon">經度</string>
Expand Down
Loading

0 comments on commit 93bf8e0

Please sign in to comment.