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

Commit

Permalink
Added option to rename templates
Browse files Browse the repository at this point in the history
Fixes #1723
  • Loading branch information
M66B committed Sep 19, 2014
1 parent 5769931 commit f8fa19d
Show file tree
Hide file tree
Showing 50 changed files with 135 additions and 15 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ See for more information about XPrivacy 3 [this FAQ](https://github.com/M66B/XPr

**Next release**

* Added option to rename templates ([issue](/../../issues/1723))
* Updated Dutch translation

[Open issues](https://github.com/M66B/XPrivacy/issues?state=open)

**Version 3.2.1 BETA**
Expand Down
21 changes: 17 additions & 4 deletions res/layout/template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,23 @@
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin" >

<Spinner
android:id="@+id/spTemplate"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >

<Spinner
android:id="@+id/spTemplate"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />

<Button
android:id="@+id/btnRename"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="6dip"
android:text="@string/title_rename" />
</LinearLayout>

<TextView
android:layout_width="wrap_content"
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 @@ -179,6 +179,7 @@
<string name="title_ondemand_reset">إعادة تعيين</string>
<string name="title_default">الافتراضي</string>
<string name="title_alternate">البديل</string>
<string name="title_rename">Rename</string>
<string name="title_usage_header">الاستخدام</string>
<string name="title_usage_text_1">1. أعثر على التطبيق في قائمة التطبيقات الرئيسية لتقييده</string>
<string name="title_usage_text_2">2. اضغط على أيقونة التطبيق</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 @@ -179,6 +179,7 @@
<string name="title_ondemand_reset">Reset</string>
<string name="title_default">Default</string>
<string name="title_alternate">Alternate</string>
<string name="title_rename">Rename</string>
<string name="title_usage_header">Usage</string>
<string name="title_usage_text_1">1. Find the application to restrict in the main application list</string>
<string name="title_usage_text_2">2. Tap on the application icon</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 @@ -177,6 +177,7 @@
<string name="title_ondemand_reset">Reset</string>
<string name="title_default">Default</string>
<string name="title_alternate">Alternate</string>
<string name="title_rename">Rename</string>
<string name="title_usage_header">Usage</string>
<string name="title_usage_text_1">1. Find the application to restrict in the main application list</string>
<string name="title_usage_text_2">2. Tap on the application icon</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 @@ -179,6 +179,7 @@ nicméně je nemožné zaručit bezchybnou funkčnost na všech zařízeních a
<string name="title_ondemand_reset">Reset</string>
<string name="title_default">Default</string>
<string name="title_alternate">Alternate</string>
<string name="title_rename">Rename</string>
<string name="title_usage_header">Usage</string>
<string name="title_usage_text_1">1. Find the application to restrict in the main application list</string>
<string name="title_usage_text_2">2. Tap on the application icon</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 @@ -177,6 +177,7 @@
<string name="title_ondemand_reset">Reset</string>
<string name="title_default">Default</string>
<string name="title_alternate">Alternativ</string>
<string name="title_rename">Rename</string>
<string name="title_usage_header">Anvendelse</string>
<string name="title_usage_text_1">1. Find applikationen du vil begrænse i applikationslisten</string>
<string name="title_usage_text_2">2. Tryk på applikations ikonet</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 @@ -179,6 +179,7 @@ dass es einwandfrei auf wirklich JEDEM einzelnen Gerät und für JEDE einzelne A
<string name="title_ondemand_reset">Zurücksetzen</string>
<string name="title_default">Standard</string>
<string name="title_alternate">Alternativ</string>
<string name="title_rename">Rename</string>
<string name="title_usage_header">Anleitung</string>
<string name="title_usage_text_1">1. Suchen Sie in der Liste die App, die Sie beschränken möchten</string>
<string name="title_usage_text_2">2. Tippen Sie auf das App Icon</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 @@ -179,6 +179,7 @@ kuid on võimatu garanteerida, et see töötab igal seadmel ja iga rakendusega.
<string name="title_ondemand_reset">Reset</string>
<string name="title_default">Default</string>
<string name="title_alternate">Alternate</string>
<string name="title_rename">Rename</string>
<string name="title_usage_header">Usage</string>
<string name="title_usage_text_1">1. Find the application to restrict in the main application list</string>
<string name="title_usage_text_2">2. Tap on the application icon</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 @@ -179,6 +179,7 @@
<string name="title_ondemand_reset">Reset</string>
<string name="title_default">Default</string>
<string name="title_alternate">Alternate</string>
<string name="title_rename">Rename</string>
<string name="title_usage_header">Usage</string>
<string name="title_usage_text_1">1. Find the application to restrict in the main application list</string>
<string name="title_usage_text_2">2. Tap on the application icon</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 @@ -179,6 +179,7 @@ sin embargo no puedo garantizar que funcione sin ningún fallo para cada disposi
<string name="title_ondemand_reset">Reiniciará</string>
<string name="title_default">Restablecerá por defecto</string>
<string name="title_alternate">Alternará</string>
<string name="title_rename">Rename</string>
<string name="title_usage_header">Uso</string>
<string name="title_usage_text_1">1. Busca la aplicación a restringir en la lista principal de aplicaciones</string>
<string name="title_usage_text_2">2. Pulsa en el icono de la aplicación</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 @@ -181,6 +181,7 @@
<string name="title_ondemand_reset">Reset</string>
<string name="title_default">Default</string>
<string name="title_alternate">Alternate</string>
<string name="title_rename">Rename</string>
<string name="title_usage_header">Usage</string>
<string name="title_usage_text_1">1. Find the application to restrict in the main application list</string>
<string name="title_usage_text_2">2. Tap on the application icon</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-fi/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@
<string name="title_ondemand_reset">Reset</string>
<string name="title_default">Default</string>
<string name="title_alternate">Alternate</string>
<string name="title_rename">Rename</string>
<string name="title_usage_header">Usage</string>
<string name="title_usage_text_1">1. Find the application to restrict in the main application list</string>
<string name="title_usage_text_2">2. Tap on the application icon</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 @@ -179,6 +179,7 @@ il est impossible de garantir un fonctionnement parfait sur chaque appareil et p
<string name="title_ondemand_reset">Remettre</string>
<string name="title_default">Défaut</string>
<string name="title_alternate">Alternative</string>
<string name="title_rename">Rename</string>
<string name="title_usage_header">Usage</string>
<string name="title_usage_text_1">1. Trouvez l\'appli à restreindre dans la liste principale des applis</string>
<string name="title_usage_text_2">2. Appuyez sur l\'icône de l\'appli</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-ga/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@
<string name="title_ondemand_reset">Reset</string>
<string name="title_default">Default</string>
<string name="title_alternate">Alternate</string>
<string name="title_rename">Rename</string>
<string name="title_usage_header">Usage</string>
<string name="title_usage_text_1">1. Find the application to restrict in the main application list</string>
<string name="title_usage_text_2">2. Tap on the application icon</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 @@ -179,6 +179,7 @@ however it is impossible to guarantee it will work flawless on each and every de
<string name="title_ondemand_reset">Reset</string>
<string name="title_default">Default</string>
<string name="title_alternate">Alternate</string>
<string name="title_rename">Rename</string>
<string name="title_usage_header">Usage</string>
<string name="title_usage_text_1">1. Find the application to restrict in the main application list</string>
<string name="title_usage_text_2">2. Tap on the application icon</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 @@ -179,6 +179,7 @@
<string name="title_ondemand_reset">Reset</string>
<string name="title_default">Default</string>
<string name="title_alternate">Alternate</string>
<string name="title_rename">Rename</string>
<string name="title_usage_header">Usage</string>
<string name="title_usage_text_1">1. Find the application to restrict in the main application list</string>
<string name="title_usage_text_2">2. Tap on the application icon</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-hr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@
<string name="title_ondemand_reset">Reset</string>
<string name="title_default">Početne vrijednosti</string>
<string name="title_alternate">Izmjeni</string>
<string name="title_rename">Rename</string>
<string name="title_usage_header">Korištenje</string>
<string name="title_usage_text_1">1. Nađite aplikaciju koju želite ograničiti u listi aplikacija</string>
<string name="title_usage_text_2">2. Dodirnite ikonu aplikacije</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 @@ -179,6 +179,7 @@ de lehetetlen garantálni hogy tökéletesen működjön az összes eszközön
<string name="title_ondemand_reset">Reset</string>
<string name="title_default">Default</string>
<string name="title_alternate">Alternate</string>
<string name="title_rename">Rename</string>
<string name="title_usage_header">Usage</string>
<string name="title_usage_text_1">1. Find the application to restrict in the main application list</string>
<string name="title_usage_text_2">2. Tap on the application icon</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-in/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ Namun mustahil untuk menjamin akan berjalan lancar pada setiap perangkat dan unt
<string name="title_ondemand_reset">Set ulang</string>
<string name="title_default">Standar</string>
<string name="title_alternate">Alternatif</string>
<string name="title_rename">Rename</string>
<string name="title_usage_header">Penggunaan</string>
<string name="title_usage_text_1">1. Cari aplikasi yang akan dibatasi dalam daftar aplikasi utama</string>
<string name="title_usage_text_2">2. Sentuh pada ikon aplikasi atau pada nama aplikasi</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 @@ -179,6 +179,7 @@ tuttavia non è possibile garantire che funzioni perfettamente su qualunque disp
<string name="title_ondemand_reset">Resetta</string>
<string name="title_default">Default</string>
<string name="title_alternate">Opzione</string>
<string name="title_rename">Rename</string>
<string name="title_usage_header">Utilizzo</string>
<string name="title_usage_text_1">1. Cerca l\'applicazione da restringere nella lista principale</string>
<string name="title_usage_text_2">2. Tocca l\'icona dell\'applicazione</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 @@ -179,6 +179,7 @@ however it is impossible to guarantee it will work flawless on each and every de
<string name="title_ondemand_reset">Reset</string>
<string name="title_default">Default</string>
<string name="title_alternate">Alternate</string>
<string name="title_rename">Rename</string>
<string name="title_usage_header">Usage</string>
<string name="title_usage_text_1">1. Find the application to restrict in the main application list</string>
<string name="title_usage_text_2">2. Tap on the application icon</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 @@ -179,6 +179,7 @@
<string name="title_ondemand_reset">リセット</string>
<string name="title_default">既定</string>
<string name="title_alternate">代替</string>
<string name="title_rename">Rename</string>
<string name="title_usage_header">使い方</string>
<string name="title_usage_text_1">1. 制限を設定したいアプリをアプリリストで見つけます</string>
<string name="title_usage_text_2">2. アプリアイコンまたはアプリ名をタップします</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-ku-rIQ/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@
<string name="title_ondemand_reset">Reset</string>
<string name="title_default">Default</string>
<string name="title_alternate">Alternate</string>
<string name="title_rename">Rename</string>
<string name="title_usage_header">Usage</string>
<string name="title_usage_text_1">1. Find the application to restrict in the main application list</string>
<string name="title_usage_text_2">2. Tap on the application icon</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-ku-rIR/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@
<string name="title_ondemand_reset">Reset</string>
<string name="title_default">Default</string>
<string name="title_alternate">Alternate</string>
<string name="title_rename">Rename</string>
<string name="title_usage_header">Usage</string>
<string name="title_usage_text_1">1. Find the application to restrict in the main application list</string>
<string name="title_usage_text_2">2. Tap on the application icon</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-lt/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ Tačiau neįmanoma garantuoti, kad dirbs nepriekaištingai su kiekvienu prietais
<string name="title_ondemand_reset">Atstatyti</string>
<string name="title_default">Numatytasis</string>
<string name="title_alternate">Atsarginis</string>
<string name="title_rename">Rename</string>
<string name="title_usage_header">Naudojimas</string>
<string name="title_usage_text_1">1. Rastite norimą riboti programą pagrindiniame sąraše</string>
<string name="title_usage_text_2">2. Bakstelėkite programos piktogramą</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-ms/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ namun ia adalah mustahil untuk menjaminkan penggunaan sempurna untuk setiap pera
<string name="title_ondemand_reset">Reset</string>
<string name="title_default">Default</string>
<string name="title_alternate">Alternate</string>
<string name="title_rename">Rename</string>
<string name="title_usage_header">Usage</string>
<string name="title_usage_text_1">1. Find the application to restrict in the main application list</string>
<string name="title_usage_text_2">2. Tap on the application icon</string>
Expand Down
1 change: 1 addition & 0 deletions res/values-nb-rNO/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@
<string name="title_ondemand_reset">Nullstille</string>
<string name="title_default">Standard</string>
<string name="title_alternate">Alternere</string>
<string name="title_rename">Rename</string>
<string name="title_usage_header">Veiledning</string>
<string name="title_usage_text_1">1. Finn appen som skal blokkeres i app-hovedlisten</string>
<string name="title_usage_text_2">2. Trykk på ikonen til appen</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 @@ -179,6 +179,7 @@ maar het is onmogelijk om te garanderen dat het op elk apparaat en voor elke app
<string name="title_ondemand_reset">Reset</string>
<string name="title_default">Standaard</string>
<string name="title_alternate">Alternatief</string>
<string name="title_rename">Hernoemen</string>
<string name="title_usage_header">Gebruik</string>
<string name="title_usage_text_1">1. Zoek de te beperken applicatie op in de lijst met applicaties</string>
<string name="title_usage_text_2">2. Klik op het icoon of de naam van de applicatie</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 @@ -177,6 +177,7 @@
<string name="title_ondemand_reset">Nullstille</string>
<string name="title_default">Standard</string>
<string name="title_alternate">Alternere</string>
<string name="title_rename">Rename</string>
<string name="title_usage_header">Veiledning</string>
<string name="title_usage_text_1">1. Finn appen som skal blokkeres i app-hovedlisten</string>
<string name="title_usage_text_2">2. Trykk på ikonen til appen</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 @@ -177,6 +177,7 @@
<string name="title_ondemand_reset">Nullstille</string>
<string name="title_default">Standard</string>
<string name="title_alternate">Alternere</string>
<string name="title_rename">Rename</string>
<string name="title_usage_header">Veiledning</string>
<string name="title_usage_text_1">1. Finn appen som skal blokkeres i app-hovedlisten</string>
<string name="title_usage_text_2">2. Trykk på ikonen til appen</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 @@ -179,6 +179,7 @@
<string name="title_ondemand_reset">Reset</string>
<string name="title_default">Domyślnie</string>
<string name="title_alternate">Alternate</string>
<string name="title_rename">Rename</string>
<string name="title_usage_header">Użycie</string>
<string name="title_usage_text_1">1. Znajdź aplikację którą chcesz ograniczyć na głównej liście aplikacji</string>
<string name="title_usage_text_2">2. Tapnij na ikonie aplikacji</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 @@ -179,6 +179,7 @@ porém é impossível garantir que irá funcionar sem problemas em todos os disp
<string name="title_ondemand_reset">Reset</string>
<string name="title_default">Default</string>
<string name="title_alternate">Alternate</string>
<string name="title_rename">Rename</string>
<string name="title_usage_header">Usage</string>
<string name="title_usage_text_1">1. Find the application to restrict in the main application list</string>
<string name="title_usage_text_2">2. Tap on the application icon</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 @@ -179,6 +179,7 @@ however it is impossible to guarantee it will work flawless on each and every de
<string name="title_ondemand_reset">Reset</string>
<string name="title_default">Default</string>
<string name="title_alternate">Alternate</string>
<string name="title_rename">Rename</string>
<string name="title_usage_header">Usage</string>
<string name="title_usage_text_1">1. Find the application to restrict in the main application list</string>
<string name="title_usage_text_2">2. Tap on the application icon</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 @@ -179,6 +179,7 @@
<string name="title_ondemand_reset">Сбросить</string>
<string name="title_default">По умолчанию</string>
<string name="title_alternate">Альтернативный</string>
<string name="title_rename">Rename</string>
<string name="title_usage_header">Использование</string>
<string name="title_usage_text_1">1. Найдите приложение для запрета в главном списке приложений</string>
<string name="title_usage_text_2">2. Тапните по иконке приложения</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 @@ -179,6 +179,7 @@ avšak nie je nemožné zaručiť, že bude fungovať bezchybne na každom zaria
<string name="title_ondemand_reset">Obnoviť</string>
<string name="title_default">Predvolená</string>
<string name="title_alternate">Alternatívna</string>
<string name="title_rename">Rename</string>
<string name="title_usage_header">Použitie</string>
<string name="title_usage_text_1">1. Nájdite aplikáciu na obmedzenie v hlavnom zozname aplikácií</string>
<string name="title_usage_text_2">2. Kliknite na ikonu aplikácie</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 @@ -179,6 +179,7 @@
<string name="title_ondemand_reset">Ponastavi</string>
<string name="title_default">Privzeto</string>
<string name="title_alternate">Nadomestno</string>
<string name="title_rename">Rename</string>
<string name="title_usage_header">Uporaba</string>
<string name="title_usage_text_1">1. Na seznamu programov poiščite program, ki mu želite pravice omejiti</string>
<string name="title_usage_text_2">2. Dotaknite se njegove ikone</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 @@ -179,6 +179,7 @@ however it is impossible to guarantee it will work flawless on each and every de
<string name="title_ondemand_reset">Reset</string>
<string name="title_default">Default</string>
<string name="title_alternate">Alternate</string>
<string name="title_rename">Rename</string>
<string name="title_usage_header">Usage</string>
<string name="title_usage_text_1">1. Find the application to restrict in the main application list</string>
<string name="title_usage_text_2">2. Tap on the application icon</string>
Expand Down
Loading

0 comments on commit f8fa19d

Please sign in to comment.