Lollipop required

This commit is contained in:
M66B 2015-11-29 09:01:24 +01:00
parent 5efb3e18ba
commit 59d887a739
44 changed files with 121 additions and 20 deletions

View File

@ -31,6 +31,7 @@ import android.graphics.Color;
import android.net.Uri;
import android.net.VpnService;
import android.os.AsyncTask;
import android.os.Build;
import android.preference.PreferenceManager;
import android.support.v4.content.LocalBroadcastManager;
import android.support.v4.view.MenuItemCompat;
@ -71,12 +72,20 @@ public class ActivityMain extends AppCompatActivity implements SharedPreferences
private static final int REQUEST_INVITE = 3;
private static final int REQUEST_LOGCAT = 4;
private static final int MIN_SDK = Build.VERSION_CODES.LOLLIPOP;
public static final String ACTION_RULES_CHANGED = "eu.faircode.netguard.ACTION_RULES_CHANGED";
@Override
protected void onCreate(Bundle savedInstanceState) {
Log.i(TAG, "Create");
if (Build.VERSION.SDK_INT < MIN_SDK) {
super.onCreate(savedInstanceState);
setContentView(R.layout.android);
return;
}
final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
setTheme(prefs.getBoolean("dark_theme", false) ? R.style.AppThemeDark : R.style.AppTheme);
@ -240,6 +249,12 @@ public class ActivityMain extends AppCompatActivity implements SharedPreferences
@Override
public void onDestroy() {
Log.i(TAG, "Destroy");
if (Build.VERSION.SDK_INT < MIN_SDK) {
super.onDestroy();
return;
}
running = false;
PreferenceManager.getDefaultSharedPreferences(this).unregisterOnSharedPreferenceChangeListener(this);
@ -390,6 +405,9 @@ public class ActivityMain extends AppCompatActivity implements SharedPreferences
@Override
public boolean onCreateOptionsMenu(Menu menu) {
if (Build.VERSION.SDK_INT < MIN_SDK)
return false;
MenuInflater inflater = getMenuInflater();
inflater.inflate(R.menu.main, menu);

View File

@ -4,9 +4,9 @@
android:layout_height="match_parent"
android:orientation="vertical"
android:paddingBottom="40dp"
android:paddingEnd="20dp"
android:paddingStart="20dp"
android:paddingTop="20dp">
android:paddingEnd="16dp"
android:paddingStart="16dp"
android:paddingTop="16dp">
<LinearLayout
android:layout_width="match_parent"

View File

@ -0,0 +1,50 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:paddingBottom="16dp"
android:paddingEnd="16dp"
android:paddingStart="16dp"
android:paddingTop="16dp"
tools:context=".ActivityMain">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:src="@mipmap/ic_launcher" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginStart="8dp"
android:text="@string/app_name"
android:textAppearance="@android:style/TextAppearance.Material.Large"
android:textStyle="bold" />
</LinearLayout>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text="@string/app_copyright"
android:textAppearance="@android:style/TextAppearance.Material.Small" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:text="@string/app_android"
android:textAppearance="@android:style/TextAppearance.Material.Medium"
android:textColor="@color/colorAccent"
android:textStyle="bold" />
</LinearLayout>

View File

@ -3,10 +3,10 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:paddingBottom="20dp"
android:paddingEnd="20dp"
android:paddingStart="20dp"
android:paddingTop="20dp">
android:paddingBottom="16dp"
android:paddingEnd="16dp"
android:paddingStart="16dp"
android:paddingTop="16dp">
<LinearLayout
android:layout_width="match_parent"

View File

@ -3,10 +3,10 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:paddingBottom="20dp"
android:paddingEnd="20dp"
android:paddingStart="20dp"
android:paddingTop="20dp">
android:paddingBottom="16dp"
android:paddingEnd="16dp"
android:paddingStart="16dp"
android:paddingTop="16dp">
<LinearLayout
android:layout_width="match_parent"

View File

@ -2,6 +2,7 @@
<!--Generated by crowdin.com-->
<resources>
<string name="app_copyright">Copyright \u00A9 2015 by M. Bokhorst (M66B)</string>
<string name="app_android">NetGuard requires Android 5.0 or later</string>
<string name="app_license">By using NetGuard, you agree to the <a href="http://www.gnu.org/licenses/gpl.txt">GNU General Public License version 3</a></string>
<string name="app_first">Great care has been taken to develop and test NetGuard,
however it is impossible to guarantee it will work correctly on every device.

View File

@ -2,6 +2,7 @@
<!--Generated by crowdin.com-->
<resources>
<string name="app_copyright">الحقوق /u00A9 2015 بواسطة M. Bokhorst (M66B)</string>
<string name="app_android">NetGuard requires Android 5.0 or later</string>
<string name="app_license">By using NetGuard, you agree to the <a href="http://www.gnu.org/licenses/gpl.txt">GNU General Public License version 3</a></string>
<string name="app_first">Great care has been taken to develop and test NetGuard,
however it is impossible to guarantee it will work correctly on every device.

View File

@ -2,6 +2,7 @@
<!--Generated by crowdin.com-->
<resources>
<string name="app_copyright">Copyright \u00A9 2015 by M. Bokhorst (M66B)</string>
<string name="app_android">NetGuard requires Android 5.0 or later</string>
<string name="app_license">By using NetGuard, you agree to the <a href="http://www.gnu.org/licenses/gpl.txt">GNU General Public License version 3</a></string>
<string name="app_first">Great care has been taken to develop and test NetGuard,
however it is impossible to guarantee it will work correctly on every device.

View File

@ -2,6 +2,7 @@
<!--Generated by crowdin.com-->
<resources>
<string name="app_copyright">Copyright \u00A9 2015 by M. Bokhorst (M66B)</string>
<string name="app_android">NetGuard requires Android 5.0 or later</string>
<string name="app_license">By using NetGuard, you agree to the <a href="http://www.gnu.org/licenses/gpl.txt">GNU General Public License version 3</a></string>
<string name="app_first">Great care has been taken to develop and test NetGuard,
however it is impossible to guarantee it will work correctly on every device.

View File

@ -2,6 +2,7 @@
<!--Generated by crowdin.com-->
<resources>
<string name="app_copyright">Copyright \u00A9 2015 by M. Bokhorst (M66B)</string>
<string name="app_android">NetGuard requires Android 5.0 or later</string>
<string name="app_license">By using NetGuard, you agree to the <a href="http://www.gnu.org/licenses/gpl.txt">GNU General Public License version 3</a></string>
<string name="app_first">Great care has been taken to develop and test NetGuard,
however it is impossible to guarantee it will work correctly on every device.

View File

@ -2,6 +2,7 @@
<!--Generated by crowdin.com-->
<resources>
<string name="app_copyright">Copyright \u00A9 2015 by M. Bokhorst (M66B)</string>
<string name="app_android">NetGuard requires Android 5.0 or later</string>
<string name="app_license">By using NetGuard, you agree to the <a href="http://www.gnu.org/licenses/gpl.txt">GNU General Public License version 3</a></string>
<string name="app_first">Great care has been taken to develop and test NetGuard,
however it is impossible to guarantee it will work correctly on every device.

View File

@ -2,6 +2,7 @@
<!--Generated by crowdin.com-->
<resources>
<string name="app_copyright">Copyright \u00A9 2015 von M. Bokhorst (M66B)</string>
<string name="app_android">NetGuard requires Android 5.0 or later</string>
<string name="app_license">Mit der Verwendung von NetGuard, akzeptieren Sie die <a href="http://www.gnu.org/licenses/gpl.txt">GNU General Public License version 3</a></string>
<string name="app_first">Netguard wurde mit großer Sorgfalt entwickelt, jedoch ist es unmöglich zu garantieren, dass es auf jedem Gerät korrekt arbeitet.
Es ist bekannt, dass Netguard zu Abstürzen führen kann und, dass auf manchen Geräten sämtlicher Netzwerkverkehr blockiert wird.

View File

@ -2,6 +2,7 @@
<!--Generated by crowdin.com-->
<resources>
<string name="app_copyright">Copyright \u00A9 2015 by M. Bokhorst (M66B)</string>
<string name="app_android">NetGuard requires Android 5.0 or later</string>
<string name="app_license">By using NetGuard, you agree to the <a href="http://www.gnu.org/licenses/gpl.txt">GNU General Public License version 3</a></string>
<string name="app_first">Great care has been taken to develop and test NetGuard,
however it is impossible to guarantee it will work correctly on every device.

View File

@ -2,6 +2,7 @@
<!--Generated by crowdin.com-->
<resources>
<string name="app_copyright">Copyright \u00A9 2015 by M. Bokhorst (M66B)</string>
<string name="app_android">NetGuard requires Android 5.0 or later</string>
<string name="app_license">By using NetGuard, you agree to the <a href="http://www.gnu.org/licenses/gpl.txt">GNU General Public License version 3</a></string>
<string name="app_first">Great care has been taken to develop and test NetGuard,
however it is impossible to guarantee it will work correctly on every device.

View File

@ -2,6 +2,7 @@
<!--Generated by crowdin.com-->
<resources>
<string name="app_copyright">Copyright \u00A9 2015 por M. Bokhorst (M66B)</string>
<string name="app_android">NetGuard requires Android 5.0 or later</string>
<string name="app_license">Al utilizar NetGuard, estás aceptando la <a href="http://www.gnu.org/licenses/gpl.txt">Licencia Pública GNU General Public versión 3</a></string>
<string name="app_first">Mucho cuidado ha sido tomado para desarrollar y probar NetGuard.
Sin embargo es imposible garantizar que vaya a funcionar correctamente en cada dispositivo.

View File

@ -2,6 +2,7 @@
<!--Generated by crowdin.com-->
<resources>
<string name="app_copyright">Copyright \u00A9 2015 by M. Bokhorst (M66B)</string>
<string name="app_android">NetGuard requires Android 5.0 or later</string>
<string name="app_license">By using NetGuard, you agree to the <a href="http://www.gnu.org/licenses/gpl.txt">GNU General Public License version 3</a></string>
<string name="app_first">Great care has been taken to develop and test NetGuard,
however it is impossible to guarantee it will work correctly on every device.

View File

@ -2,6 +2,7 @@
<!--Generated by crowdin.com-->
<resources>
<string name="app_copyright">Copyright \u00A9 2015 by M. Bokhorst (M66B)</string>
<string name="app_android">NetGuard requires Android 5.0 or later</string>
<string name="app_license">By using NetGuard, you agree to the <a href="http://www.gnu.org/licenses/gpl.txt">GNU General Public License version 3</a></string>
<string name="app_first">Great care has been taken to develop and test NetGuard,
however it is impossible to guarantee it will work correctly on every device.

View File

@ -2,6 +2,7 @@
<!--Generated by crowdin.com-->
<resources>
<string name="app_copyright">Copyright \u00A9 2015 par M. Bokhorst (M66B)</string>
<string name="app_android">NetGuard requires Android 5.0 or later</string>
<string name="app_license">En utilisant NetGuard, vous acceptez la <a href="http://www.gnu.org/licenses/gpl.txt">GNU General Public License version 3</a></string>
<string name="app_first">Une grande précaution a été prise pour développer et tester NetGuard,
cependant il est impossible de garantir qu\'elle fonctionnera sur chaque appareil.

View File

@ -2,6 +2,7 @@
<!--Generated by crowdin.com-->
<resources>
<string name="app_copyright">Copyright \u00A9 2015 by M. Bokhorst (M66B)</string>
<string name="app_android">NetGuard requires Android 5.0 or later</string>
<string name="app_license">By using NetGuard, you agree to the <a href="http://www.gnu.org/licenses/gpl.txt">GNU General Public License version 3</a></string>
<string name="app_first">Great care has been taken to develop and test NetGuard,
however it is impossible to guarantee it will work correctly on every device.

View File

@ -2,6 +2,7 @@
<!--Generated by crowdin.com-->
<resources>
<string name="app_copyright">Copyright \u00A9 2015 by M. Bokhorst (M66B)</string>
<string name="app_android">NetGuard requires Android 5.0 or later</string>
<string name="app_license">By using NetGuard, you agree to the <a href="http://www.gnu.org/licenses/gpl.txt">GNU General Public License version 3</a></string>
<string name="app_first">Great care has been taken to develop and test NetGuard,
however it is impossible to guarantee it will work correctly on every device.

View File

@ -2,6 +2,7 @@
<!--Generated by crowdin.com-->
<resources>
<string name="app_copyright">Copyright \u00A9 2015 by M. Bokhorst (M66B)</string>
<string name="app_android">NetGuard requires Android 5.0 or later</string>
<string name="app_license">By using NetGuard, you agree to the <a href="http://www.gnu.org/licenses/gpl.txt">GNU General Public License version 3</a></string>
<string name="app_first">Great care has been taken to develop and test NetGuard,
however it is impossible to guarantee it will work correctly on every device.

View File

@ -2,6 +2,7 @@
<!--Generated by crowdin.com-->
<resources>
<string name="app_copyright">Copyright \u00A9 2015 by M. Bokhorst (M66B)</string>
<string name="app_android">NetGuard requires Android 5.0 or later</string>
<string name="app_license">Utilizzando NetGuard, acconsenti a quanto contenuto nella seguente licenza: <a href="http://www.gnu.org/licenses/gpl.txt">GNU General Public License version 3</a></string>
<string name="app_first">Nonostante NetGuard sia stata sviluppata attentamente,
è impossibile garantirne il corretto funzionamento su ciascun dispositivo.

View File

@ -2,6 +2,7 @@
<!--Generated by crowdin.com-->
<resources>
<string name="app_copyright">Copyright \u00A9 2015 by M. Bokhorst (M66B)</string>
<string name="app_android">NetGuard requires Android 5.0 or later</string>
<string name="app_license">NetGuard を使用すると <a href="http://www.gnu.org/licenses/gpl.txt">GNU 一般公衆利用許諾書バージョン 3</a> に同意したことになります</string>
<string name="app_first">細心の注意で NetGuard を開発およびテストしていますが、
すべてのデバイス上で正しく動作することを保証することは不可能です。

View File

@ -2,6 +2,7 @@
<!--Generated by crowdin.com-->
<resources>
<string name="app_copyright">Copyright \u00A9 2015 by M. Bokhorst (M66B)</string>
<string name="app_android">NetGuard requires Android 5.0 or later</string>
<string name="app_license">By using NetGuard, you agree to the <a href="http://www.gnu.org/licenses/gpl.txt">GNU General Public License version 3</a></string>
<string name="app_first">Great care has been taken to develop and test NetGuard,
however it is impossible to guarantee it will work correctly on every device.

View File

@ -2,6 +2,7 @@
<!--Generated by crowdin.com-->
<resources>
<string name="app_copyright">Copyright \u00A9 2015 by M. Bokhorst (M66B)</string>
<string name="app_android">NetGuard requires Android 5.0 or later</string>
<string name="app_license">By using NetGuard, you agree to the <a href="http://www.gnu.org/licenses/gpl.txt">GNU General Public License version 3</a></string>
<string name="app_first">Great care has been taken to develop and test NetGuard,
however it is impossible to guarantee it will work correctly on every device.

View File

@ -2,6 +2,7 @@
<!--Generated by crowdin.com-->
<resources>
<string name="app_copyright">Copyright \u00A9 2015 by M. Bokhorst (M66B)</string>
<string name="app_android">NetGuard requires Android 5.0 or later</string>
<string name="app_license">By using NetGuard, you agree to the <a href="http://www.gnu.org/licenses/gpl.txt">GNU General Public License version 3</a></string>
<string name="app_first">Great care has been taken to develop and test NetGuard,
however it is impossible to guarantee it will work correctly on every device.

View File

@ -2,6 +2,7 @@
<!--Generated by crowdin.com-->
<resources>
<string name="app_copyright">Copyright \u00A9 2015 by M. Bokhorst (M66B)</string>
<string name="app_android">NetGuard requires Android 5.0 or later</string>
<string name="app_license">Door NetGuard te gebruiken, gaat u akkoord met de <a href="http://www.gnu.org/licenses/gpl.txt">GNU General Public License version 3</a></string>
<string name="app_first">Great care has been taken to develop and test NetGuard,
however it is impossible to guarantee it will work correctly on every device.

View File

@ -2,6 +2,7 @@
<!--Generated by crowdin.com-->
<resources>
<string name="app_copyright">Copyright \u00A9 2015 by M. Bokhorst (M66B)</string>
<string name="app_android">NetGuard requires Android 5.0 or later</string>
<string name="app_license">By using NetGuard, you agree to the <a href="http://www.gnu.org/licenses/gpl.txt">GNU General Public License version 3</a></string>
<string name="app_first">Great care has been taken to develop and test NetGuard,
however it is impossible to guarantee it will work correctly on every device.

View File

@ -2,6 +2,7 @@
<!--Generated by crowdin.com-->
<resources>
<string name="app_copyright">Prawa autorskie \u00A9 2015 by M. Bokhorst (M66B)</string>
<string name="app_android">NetGuard requires Android 5.0 or later</string>
<string name="app_license">Używając NetGuard, zgadzasz się z <a href="//www.gnu.org/licenses/gpl.txt">GNU General Public License version 3</a></string>
<string name="app_first">Wiele pracy zostało włożone w stworzenie i testy NetGuard,
niemniej jednak, niemożliwe jest zagwarantowanie, iż aplikacja będzie działać poprawnie na wszystkich urządzeniach.

View File

@ -2,6 +2,7 @@
<!--Generated by crowdin.com-->
<resources>
<string name="app_copyright">Copyright \u00A9 2015 por M. Bokhorst (M66B)</string>
<string name="app_android">NetGuard requires Android 5.0 or later</string>
<string name="app_license">Ao usar o NetGuard, você concorda com <a href="http://www.gnu.org/licenses/gpl.txt">GNU General Public License version 3</a></string>
<string name="app_first">Houve um grande cuidado ao desenvolver e testar o NetGuard,
no entanto, é impossível garantir que funcionará corretamente em todos os dispositivos.

View File

@ -2,6 +2,7 @@
<!--Generated by crowdin.com-->
<resources>
<string name="app_copyright">Copyright \u00A9 2015 por M. Bokhorst (M66B)</string>
<string name="app_android">NetGuard requires Android 5.0 or later</string>
<string name="app_license">Ao usar o NetGuard, você concorda com <a href="http://www.gnu.org/licenses/gpl.txt">GNU General Public License version 3</a></string>
<string name="app_first">Houve um grande cuidado ao desenvolver e testar o NetGuard,
no entanto, é impossível garantir que funcionará corretamente em todos os dispositivos.

View File

@ -2,6 +2,7 @@
<!--Generated by crowdin.com-->
<resources>
<string name="app_copyright">Copyright \u00A9 2015 by M. Bokhorst (M66B)</string>
<string name="app_android">NetGuard requires Android 5.0 or later</string>
<string name="app_license">Folosind NetGuard, sunteti de acord cu <a href="http://www.gnu.org/licenses/gpl.txt">GNU General Public License version 3</a></string>
<string name="app_first">NetGuard este dezvoltat si testat cu mare atentie si grija,
cu toate acestea este imposibil sa se garanteze ca va functiona corect pe toate dispozitivele.

View File

@ -2,6 +2,7 @@
<!--Generated by crowdin.com-->
<resources>
<string name="app_copyright">Авторское право © 2015 М. Bokhorst (M66B)</string>
<string name="app_android">NetGuard requires Android 5.0 or later</string>
<string name="app_license">Используя NetGuard, вы принимаете <a href="http://www.gnu.org/licenses/gpl.txt">Открытое лицензионное соглашение GNU версии 3</a></string>
<string name="app_first">Были приложены большие усилия для разработки и тестирования NetGuard, однако невозможно гарантировать, что оно будет корректно работать на любом устройстве. NetGuard известен сбой при активации на некоторых устройствах. Известно также, что блокируется весь трафик на некоторых устройствах. Эти проблемы вызваны ошибками в Android, или в программном обеспечении, поставляемом изготовителем, поэтому, пожалуйста, не вините NetGuard.
\n\nИспользуя NetGuard, вы принимаете <a href="http://www.gnu.org/licenses/gpl.txt">Открытое лицензионное соглашение GNU версии 3</a></string>

View File

@ -2,6 +2,7 @@
<!--Generated by crowdin.com-->
<resources>
<string name="app_copyright">Autorské práva \u00A9 2015 od M. Bokhorst (M66B)</string>
<string name="app_android">NetGuard requires Android 5.0 or later</string>
<string name="app_license">Používaním aplikácie NetGuard súhlasíte so <a href="http://www.gnu.org/licenses/gpl.txt">Všeobecnou verejnou licenciou GNU, verzia 3</a></string>
<string name="app_first">Značné úsilie bolo venované vývoju a testovaniu NetGuard,
avšak nie je možné zaručiť správne fungovanie na každom zariadení.

View File

@ -2,6 +2,7 @@
<!--Generated by crowdin.com-->
<resources>
<string name="app_copyright">Copyright \u00A9 2015 by M. Bokhorst (M66B)</string>
<string name="app_android">NetGuard requires Android 5.0 or later</string>
<string name="app_license">By using NetGuard, you agree to the <a href="http://www.gnu.org/licenses/gpl.txt">GNU General Public License version 3</a></string>
<string name="app_first">Great care has been taken to develop and test NetGuard,
however it is impossible to guarantee it will work correctly on every device.

View File

@ -2,6 +2,7 @@
<!--Generated by crowdin.com-->
<resources>
<string name="app_copyright">Copyright \u00A9 2015 by M. Bokhorst (M66B)</string>
<string name="app_android">NetGuard requires Android 5.0 or later</string>
<string name="app_license">By using NetGuard, you agree to the <a href="http://www.gnu.org/licenses/gpl.txt">GNU General Public License version 3</a></string>
<string name="app_first">Great care has been taken to develop and test NetGuard,
however it is impossible to guarantee it will work correctly on every device.

View File

@ -2,6 +2,7 @@
<!--Generated by crowdin.com-->
<resources>
<string name="app_copyright">Copyright \u00A9 2015 by M. Bokhorst (M66B)</string>
<string name="app_android">NetGuard requires Android 5.0 or later</string>
<string name="app_license">By using NetGuard, you agree to the <a href="http://www.gnu.org/licenses/gpl.txt">GNU General Public License version 3</a></string>
<string name="app_first">Great care has been taken to develop and test NetGuard,
however it is impossible to guarantee it will work correctly on every device.

View File

@ -2,6 +2,7 @@
<!--Generated by crowdin.com-->
<resources>
<string name="app_copyright">Telif Hakkı \u00A9 2015 by M. Bokhorst (M66B)</string>
<string name="app_android">NetGuard requires Android 5.0 or later</string>
<string name="app_license">NetGuard kullanarak, <a href="http://www.gnu.org/licenses/gpl.txt"> GNU Genel Kamu Lisansını sürüm 3</a> için kabul ediyorum</string>
<string name="app_first">Great care has been taken to develop and test NetGuard,
however it is impossible to guarantee it will work correctly on every device.

View File

@ -2,6 +2,7 @@
<!--Generated by crowdin.com-->
<resources>
<string name="app_copyright">Авторське право \u00A9 2015 M. Bokhorst (M66B)</string>
<string name="app_android">NetGuard requires Android 5.0 or later</string>
<string name="app_license">Використовуючи NetGuard, ви погоджуєтесь із <a href="http://www.gnu.org/licenses/gpl.txt">GNU General Public License version 3</a></string>
<string name="app_first">Було докладено великі зусилля під час розробки та тестування NetGuard, проте, неможливо гарантувати, що воно буде коректно працювати на будь-якому пристрої. NetGuard відомо про збій, під час активації на деяких пристроях. Відомо також, що на деяких пристроях блокується весь трафік. Ці помилки викликані вадами в системі Android, чи програмному забезпеченні від постачальника, тому, будь ласка, не звинувачуйте в цьому NetGuard. \n\nВикористовуючи NetGuard, ви погоджуєтесь із <a href="http://www.gnu.org/licenses/gpl.txt">GNU General Public License version 3</a></string>
<string name="menu_search">Пошук додатку</string>

View File

@ -2,6 +2,7 @@
<!--Generated by crowdin.com-->
<resources>
<string name="app_copyright">Copyright \u00A9 2015 by M. Bokhorst (M66B)</string>
<string name="app_android">NetGuard requires Android 5.0 or later</string>
<string name="app_license">By using NetGuard, you agree to the <a href="http://www.gnu.org/licenses/gpl.txt">GNU General Public License version 3</a></string>
<string name="app_first">Great care has been taken to develop and test NetGuard,
however it is impossible to guarantee it will work correctly on every device.

View File

@ -2,6 +2,7 @@
<!--Generated by crowdin.com-->
<resources>
<string name="app_copyright">版权所有 \u00A9 2015 by M. Bokhorst (M66B)</string>
<string name="app_android">NetGuard requires Android 5.0 or later</string>
<string name="app_license">使用NetGuard即表明您接受 <a href="http://www.gnu.org/licenses/gpl.txt">GNU通用公共许可协议第三版</a></string>
<string name="app_first">开发者在开发和测试NetGuard过程中已悉心尽力,
但开发者无法确保本软件在所有设备上均可正常运行.

View File

@ -2,6 +2,7 @@
<!--Generated by crowdin.com-->
<resources>
<string name="app_copyright">Copyright \u00A9 2015 by M. Bokhorst (M66B)</string>
<string name="app_android">NetGuard requires Android 5.0 or later</string>
<string name="app_license">By using NetGuard, you agree to the <a href="http://www.gnu.org/licenses/gpl.txt">GNU General Public License version 3</a></string>
<string name="app_first">Great care has been taken to develop and test NetGuard,
however it is impossible to guarantee it will work correctly on every device.

View File

@ -1,6 +1,7 @@
<resources>
<string name="app_name" translatable="false">NetGuard</string>
<string name="app_copyright">Copyright \u00A9 2015 by M. Bokhorst (M66B)</string>
<string name="app_android">NetGuard requires Android 5.0 or later</string>
<string name="app_license">By using NetGuard, you agree to the <a href="http://www.gnu.org/licenses/gpl.txt">GNU General Public License version 3</a></string>
<string name="app_first">Great care has been taken to develop and test NetGuard,
however it is impossible to guarantee it will work correctly on every device.

View File

@ -1,12 +1,7 @@
#!/bin/bash
grep -RIl "\<string name=\"msg_bug" app/src/main/res | xargs sed -i -e '/msg_bug/d'
grep -RIl "\<string name=\"app_copyright" app/src/main/res | xargs sed -i -e '/app_copyright/a\
\ \ <string name="app_android">NetGuard requires Android 5.0 or later</string>'
#grep -RIl "\<string name=\"setting_unused" app/src/main/res | xargs sed -i -e '/setting_unused/a\
#\ \ \ \ <string name="setting_screen_other">Default allow mobile when screen is on</string>'
#grep -RIl "\<string name=\"setting_unused" app/src/main/res | xargs sed -i -e '/setting_unused/a\
#\ \ \ \ <string name="setting_screen_wifi">Default allow Wi-Fi when screen is on</string>'
#grep -RIl "\<string name=\"setting_unused" app/src/main/res | xargs sed -i -e '/setting_unused/d'
#grep -RIl "\<string name=\"setting_screen_wifi" app/src/main/res | xargs sed -i -e 's/Default allow Wi-Fi when screen is on/Default allow Wi-Fi when screen on/g'
#grep -RIl "\<string name=\"setting_screen_other" app/src/main/res | xargs sed -i -e 's/Default allow mobile when screen is on/Default allow mobile when screen on/g'
#grep -RIl "\<string name=\"msg_bug" app/src/main/res | xargs sed -i -e '/aaa/d'
#grep -RIl "\<string name=\"setting_screen_wifi" app/src/main/res | xargs sed -i -e 's/xxx/yyy/g'