This commit is contained in:
Marco 2015-11-13 10:37:10 +01:00
commit da1f05bb03
26 changed files with 250 additions and 90 deletions

View File

@ -3,7 +3,7 @@ Play store
Title
-----
NetGuard
NetGuard - firewall fara root
Short description
@ -44,6 +44,10 @@ Caracteristici:
Majoritatea functiilor sunt rezultatul trimiterii traficului selectat intr-o "gaura neagra", in loc sa fie filtrat tot traficul de internet.
Acest lucru presupune ca functii avansate, cum ar fi filtrarea adreselor (necesara pentru blocarea unor gazde), urmarirea traficului si detectarea aplicatiilor la acces, nu sunt posibile.
Cum NetGuard efectiv nu are permisiunea de a accesa internetul, esti sigur ca traficul tau de internet nu este redirectionat nicaieri.
Pentru informatii la zi despre compatibilitatea dispozitivelor, intrebari si raspunsuri va rugam sa cititi mai multe aici: http://forum.xda-developers.com/showthread.php?t=3233012
Daca doriti sa testati caracteristile in dezvoltare ale aplicatiei, va puteti alatura programului de testare: https://play.google.com/apps/testing/eu.faircode.netguard
Codul sursa este disponibil aici: https://github.com/M66B/NetGuard

View File

@ -3,7 +3,7 @@ Play store
Title
-----
NetGuard
NetGuard - no-root firewall
Short description

View File

@ -3,7 +3,7 @@ Play store
Title
-----
NetGuard
NetGuard - no-root firewall
Short description
@ -44,6 +44,10 @@ Features:
Most of these features are the result of sending selected traffic to a VPN sinkhole, instead of filtering all internet traffic.
This means that advanced features, like address-based filtering (needed for hosts blocking), traffic logging, and on-demand configuration, are not possible.
Since NetGuard has no internet permission, you know your internet traffic is not being sent anywhere.
For up to date info on device compatibility, questions and answers please read more here: http://forum.xda-developers.com/showthread.php?t=3233012
If you like to test new features, you can participate in the test program: https://play.google.com/apps/testing/eu.faircode.netguard
The source code is available here: https://github.com/M66B/NetGuard

View File

@ -66,8 +66,9 @@ Compatibility
Devices / ROMs with a broken VPN implementation:
* [Samsung Galaxy A5 / Android 5.02](https://github.com/M66B/NetGuard/issues/20) (all traffic blocked)
* Asus ZenFone 2 / Android 5.0.2/5.1.1, reported on XDA (all traffic blocked)
* Samsung Galaxy A5 / Android 5.0.2, [reported on Github](https://github.com/M66B/NetGuard/issues/20) (all traffic blocked)
* Asus ZenFone 2 / Android 5.0.2/5.1.1, [reported on XDA](http://forum.xda-developers.com/showpost.php?p=63619542&postcount=121) (all traffic blocked)
* Lenovo YOGA Tablet Pro-1380L/Yoga Tablet 2 Pro 5.0.1, [reported on XDA](http://forum.xda-developers.com/showpost.php?p=63784102&postcount=278) (all traffic blocked)
NetGuard will crash when the package *com.android.vpndialogs* has been removed or otherwise is unavailable.
@ -185,6 +186,12 @@ Note that, whether or not you get a dialog warning to agree upon, this operation
Please read [here](https://community.f-secure.com/t5/F-Secure/Android-Lollipop-Cannot-select/td-p/64502).
<a name="FAQ15"></a>
**(15) Why don't you support F-Droid?**
Because F-Droid doesn't support reproducible builds.
Read [here](https://blog.torproject.org/blog/deterministic-builds-part-one-cyberwar-and-global-compromise) why this is important.
Support
-------
@ -203,6 +210,7 @@ Translations:
* Copy [this file](https://github.com/M66B/NetGuard/blob/master/app/src/main/res/values/strings.xml) to the [correct locale folder](https://github.com/M66B/NetGuard/blob/master/app/src/main/res/)
* Translate the strings in the copied file and omit all lines with **translatable="false"**
* Create a [pull request on GitHub](https://help.github.com/articles/using-pull-requests) for the new/updated translation
* If you don't feel comfortable using GitHub, you can sent the translation to *marcel(plus)netguard(at)faircode.eu*
Current translations:

View File

@ -8,8 +8,8 @@ android {
applicationId "eu.faircode.netguard"
minSdkVersion 21
targetSdkVersion 23
versionCode 28
versionName "0.28"
versionCode 29
versionName "0.29"
}
buildTypes {
release {
@ -34,8 +34,7 @@ def setOutputFile(variant, defaultConfig) {
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.1.0'
compile 'com.android.support:recyclerview-v7:23.1.0'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.android.support:appcompat-v7:23.1.+'
compile 'com.android.support:recyclerview-v7:23.1.+'
compile 'com.squareup.picasso:picasso:2.5.+'
}

View File

@ -128,6 +128,8 @@ public class ActivityMain extends AppCompatActivity implements SharedPreferences
swEnabled.setChecked(enabled);
swEnabled.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
prefs.edit().putBoolean("enabled", isChecked).apply();
if (isChecked) {
Log.i(TAG, "Switch on");
final Intent prepare = VpnService.prepare(ActivityMain.this);
@ -388,7 +390,7 @@ public class ActivityMain extends AppCompatActivity implements SharedPreferences
ivNetwork.setVisibility(View.VISIBLE);
ivMetered.setVisibility(View.VISIBLE);
if (Util.isWifiActive(context))
if (Util.isLocalNetwork(context))
ivNetwork.setImageLevel(1);
else {
if (Util.isRoaming(context))
@ -396,7 +398,7 @@ public class ActivityMain extends AppCompatActivity implements SharedPreferences
else
ivNetwork.setImageLevel(2);
}
ivMetered.setImageLevel(Util.isMetered(context) ? 1 : 0);
ivMetered.setImageLevel(Util.isMeteredNetwork(context) ? 1 : 0);
actionView.postInvalidate();
}

View File

@ -141,10 +141,10 @@ public class SinkholeService extends VpnService {
Log.i(TAG, "Starting");
// Check state
boolean wifi = Util.isWifiActive(this);
boolean metered = Util.isMetered(this);
boolean local = Util.isLocalNetwork(this);
boolean metered = Util.isMeteredNetwork(this);
boolean interactive = Util.isInteractive(this);
Log.i(TAG, "wifi=" + wifi +
Log.i(TAG, "local=" + local +
" metered=" + metered +
" roaming=" + last_roaming +
" interactive=" + interactive);
@ -304,8 +304,9 @@ public class SinkholeService extends VpnService {
Log.i(TAG, "New state roaming=" + last_roaming);
reload(null, SinkholeService.this);
} else if (networkType == ConnectivityManager.TYPE_WIFI) {
// Wifi connected/disconnected
} else if (networkType == ConnectivityManager.TYPE_WIFI ||
networkType == ConnectivityManager.TYPE_ETHERNET) {
// Local network connected/disconnected
reload(null, SinkholeService.this);
}
}
@ -454,7 +455,7 @@ public class SinkholeService extends VpnService {
public static void reload(String network, Context context) {
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
if (prefs.getBoolean("enabled", false))
if (network == null || ("wifi".equals(network) ? !Util.isMetered(context) : Util.isMetered(context))) {
if (network == null || ("wifi".equals(network) ? !Util.isMeteredNetwork(context) : Util.isMeteredNetwork(context))) {
getLock(context).acquire();
Intent intent = new Intent(context, SinkholeService.class);
intent.putExtra(EXTRA_COMMAND, Command.reload);

View File

@ -60,14 +60,14 @@ public class Util {
return tm.isNetworkRoaming();
}
public static boolean isWifiActive(Context context) {
public static boolean isLocalNetwork(Context context) {
ConnectivityManager cm = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);
NetworkInfo ni = cm.getActiveNetworkInfo();
return (ni != null && ni.getType() == ConnectivityManager.TYPE_WIFI);
return (ni != null && (ni.getType() == ConnectivityManager.TYPE_WIFI || ni.getType() == ConnectivityManager.TYPE_ETHERNET));
}
public static boolean isMetered(Context context) {
public static boolean isMeteredNetwork(Context context) {
ConnectivityManager cm = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);
return cm.isActiveNetworkMetered();
}

View File

@ -45,46 +45,66 @@
android:text="@string/app_copyright"
android:textAppearance="@android:style/TextAppearance.Material.Small" />
<LinearLayout
android:layout_width="wrap_content"
<ScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:orientation="horizontal">
android:orientation="vertical">
<Button
android:id="@+id/btnDonate"
android:layout_width="wrap_content"
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:text="@string/title_donate"
android:visibility="gone" />
android:orientation="vertical">
<Button
android:id="@+id/btnRate"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:text="@string/title_rate"
android:visibility="gone" />
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:orientation="horizontal">
<TextView
android:id="@+id/tvThanks"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="16dp"
android:text="@string/title_thanks"
android:textAppearance="@android:style/TextAppearance.Material.Medium"
android:visibility="gone" />
<Button
android:id="@+id/btnDonate"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:text="@string/title_donate"
android:visibility="gone" />
<TextView
android:id="@+id/tvLicense"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:text="@string/app_license"
android:textAppearance="@android:style/TextAppearance.Material.Small"
android:textSize="12sp" />
<Button
android:id="@+id/btnRate"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:text="@string/title_rate"
android:visibility="gone" />
</LinearLayout>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="16dp"
android:text="@string/msg_voluntary"
android:textAppearance="@android:style/TextAppearance.Material.Small"
android:textStyle="italic" />
<TextView
android:id="@+id/tvThanks"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="16dp"
android:text="@string/title_thanks"
android:textAppearance="@android:style/TextAppearance.Material.Medium"
android:visibility="gone" />
<TextView
android:id="@+id/tvLicense"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:text="@string/app_license"
android:textAppearance="@android:style/TextAppearance.Material.Small"
android:textSize="12sp" />
</LinearLayout>
</ScrollView>
</LinearLayout>

View File

@ -29,9 +29,30 @@
android:textStyle="bold" />
</LinearLayout>
<TextView
android:layout_width="wrap_content"
<ScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/msg_vpn"
android:textAppearance="@android:style/TextAppearance.Material.Medium" />
android:layout_marginTop="8dp"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/msg_vpn"
android:textAppearance="@android:style/TextAppearance.Material.Medium" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text="@string/msg_dimming"
android:textAppearance="@android:style/TextAppearance.Material.Small"
android:textStyle="italic" />
</LinearLayout>
</ScrollView>
</LinearLayout>

View File

@ -29,8 +29,12 @@ These issues are caused by bugs in Android, or in the software provided by the m
<string name="msg_disabled">التطبيق غير مُفعّل, قم بتفعيل التطبيق من الخيار أعلاه.</string>
<string name="msg_revoked">NetGuard has been disabled</string>
<string name="msg_completed">Action completed</string>
<string name="msg_vpn">NetGuard uses a local VPN as a sinkhole to block internet traffic. For this reason, please allow a VPN connection in the next dialog</string>
<string name="msg_vpn">NetGuard uses a local VPN as a sinkhole to block internet traffic.
For this reason, please allow a VPN connection in the next dialog.
Since NetGuard has no internet permission, you know your internet traffic is not being sent anywhere.</string>
<string name="msg_try">Try NetGuard</string>
<string name="msg_voluntary">Donations are completely voluntary and do not unlock any feature. Donations are meant as a way to show your appreciation for the work done.</string>
<string name="msg_dimming">If you cannot press OK in the next dialog, another (screen dimming) application is likely manipulating the screen.</string>
<string name="title_using">Allow when screen is on</string>
<string name="title_roaming">Block when roaming</string>

View File

@ -28,8 +28,12 @@ Das wird von Fehlern in Android oder in Software vom Hersteller verursacht. Bitt
<string name="msg_disabled">NetGuard ist deaktiviert, verwende den Schalter um NetGuard zu aktivieren</string>
<string name="msg_revoked">NetGuard wurde deaktiviert</string>
<string name="msg_completed">Aktion abgeschlossen</string>
<string name="msg_vpn">Netguard verwendet ein lokales VPN als Senkgrube für blockierten Netzwerkverkehr, daher muss im nächsten Dialog die VPN Verbindung bestätigt werden.</string>
<string name="msg_vpn">NetGuard uses a local VPN as a sinkhole to block internet traffic.
For this reason, please allow a VPN connection in the next dialog.
Since NetGuard has no internet permission, you know your internet traffic is not being sent anywhere.</string>
<string name="msg_try">Probier NetGuard</string>
<string name="msg_voluntary">Donations are completely voluntary and do not unlock any feature. Donations are meant as a way to show your appreciation for the work done.</string>
<string name="msg_dimming">If you cannot press OK in the next dialog, another (screen dimming) application is likely manipulating the screen.</string>
<string name="title_using">Erlauben wenn Bildschirm an</string>
<string name="title_roaming">Blockiere bei Roaming</string>

View File

@ -9,7 +9,7 @@ Esto es causado por errores en Android, o por el software proporcionado por el f
<string name="menu_search">Buscar aplicación</string>
<string name="menu_settings">Configuración</string>
<string name="menu_invite">Invite</string>
<string name="menu_invite">Invitar</string>
<string name="menu_support">Soporte</string>
<string name="menu_about">Acerca de</string>
@ -22,20 +22,24 @@ Esto es causado por errores en Android, o por el software proporcionado por el f
<string name="setting_import">Importar configuración</string>
<string name="setting_vpn">Abrir configuración VPN de Android</string>
<string name="summary_system">Define rules for system applications (for experts)</string>
<string name="summary_system">Definir reglas para aplicaciones de sistema (para expertos)</string>
<string name="msg_sure">¿Estás seguro?</string>
<string name="msg_started">Enforcing rules</string>
<string name="msg_started">Aplicando reglas</string>
<string name="msg_disabled">NetGuard está deshabilitado, utiliza el interruptor de arriba para habilitar a NetGuard</string>
<string name="msg_revoked">NetGuard ha sido deshabilitado</string>
<string name="msg_completed">Acción completada</string>
<string name="msg_vpn">NetGuard utiliza un VPN local como un "sumidero" para conexiones de internet bloqueadas, por esta razón debes permitir la conexión VPN en el siguiente diálogo</string>
<string name="msg_try">Try NetGuard</string>
<string name="msg_vpn">NetGuard utiliza un VPN local como sumidero para bloquear el acceso a internet.
Por esta razón, por favor permite la conexión VPN en el próximo diálogo.
Puesto que NetGuard no tiene permisos de internet, ya sabes que tu tráfico de internet no está siendo enviado a ninguna parte.</string>
<string name="msg_try">Prueba NetGuard</string>
<string name="msg_voluntary">Las donaciones son completamente voluntarias y no desbloquean ninguna funcionalidad. Las donaciones son una forma de mostrar tu apreciación por el trabajo hecho.</string>
<string name="msg_dimming">If you cannot press OK in the next dialog, another (screen dimming) application is likely manipulating the screen.</string>
<string name="title_using">Allow when screen is on</string>
<string name="title_using">Permitir cuando la pantalla esté encendida</string>
<string name="title_roaming">Bloquear cuando se esté en roaming</string>
<string name="title_launch">Iniciar aplicación</string>
<string name="title_donate">Donar</string>
<string name="title_rate">Rate</string>
<string name="title_rate">Calificar</string>
<string name="title_thanks">¡Gracias por tu donación!</string>
</resources>

View File

@ -9,7 +9,7 @@ Ceci est causé par des bugs dans Android, ou dans le logiciel fourni par le con
<string name="menu_search">Recherche application</string>
<string name="menu_settings">Paramètres</string>
<string name="menu_invite">Invite</string>
<string name="menu_invite">Invité</string>
<string name="menu_support">Support</string>
<string name="menu_about">À propos</string>
@ -22,17 +22,23 @@ Ceci est causé par des bugs dans Android, ou dans le logiciel fourni par le con
<string name="setting_import">Importer paramètres</string>
<string name="setting_vpn">Ouvrir les paramètres VPN</string>
<string name="summary_system">Define rules for system applications (for experts)</string>
<string name="summary_system">Definisé les regeles pour les applications du système (Pour experts)</string>
<string name="msg_sure">Etes-vous sûr ?</string>
<string name="msg_started">Enforcing rules</string>
<string name="msg_disabled">NetGuard est désactivé, utilisez le bouton ci-dessus pour activer NetGuard</string>
<string name="msg_revoked">NetGuard a été désactivé</string>
<string name="msg_completed">Action completed</string>
<string name="msg_vpn">NetGuard uses a local VPN as a sinkhole to block internet traffic. For this reason, please allow a VPN connection in the next dialog</string>
<string name="msg_try">Try NetGuard</string>
<string name="msg_completed">Action completé</string>
<string name="msg_vpn">NetGuard uses a local VPN as a sinkhole to block internet traffic.
For this reason, please allow a VPN connection in the next dialog.
Netguard n\'a pas access a internet,vous savez que votre trafic Internet n\'est pas envoyée partout.</string>
<string name="title_using">Allow when screen is on</string>
<string name="msg_try">Essayer NetGuard</string>
<string name="msg_voluntary">Les dons sont completement a votre volonté et ils ne débloqueront aucune nouvelle fonctionalitée.
<string name="msg_dimming">If you cannot press OK in the next dialog, another (screen dimming) application is likely manipulating the screen.</string>
Faire un don est une de façon de montrer votre soutiens aux développeur et votre appréciation pour le travail accompli.</string>
<string name="title_using">Accepter si l\'ecran est allumé</string>
<string name="title_roaming">Bloquer si roaming</string>
<string name="title_launch">Lancer l\'application</string>
<string name="title_donate">Faire un don</string>

View File

@ -30,8 +30,12 @@ Ció è causato da alcuni bug contenuti in Android, o in programmi forniti dal p
<string name="msg_disabled">NetGuard è disabilitata, usa lo switch per abilitarla nuovamente</string>
<string name="msg_revoked">NetGuard è stata disabilitata</string>
<string name="msg_completed">Azione completata</string>
<string name="msg_vpn">NetGuard utilizza una VPN locale come pozzo per bloccare il traffico internet, per questo motivo è necessario abilitare la connessione VPN nella schermata successiva</string>
<string name="msg_vpn">NetGuard uses a local VPN as a sinkhole to block internet traffic.
For this reason, please allow a VPN connection in the next dialog.
Since NetGuard has no internet permission, you know your internet traffic is not being sent anywhere.</string>
<string name="msg_try">Prova NetGuard</string>
<string name="msg_voluntary">Donations are completely voluntary and do not unlock any feature. Donations are meant as a way to show your appreciation for the work done.</string>
<string name="msg_dimming">If you cannot press OK in the next dialog, another (screen dimming) application is likely manipulating the screen.</string>
<string name="title_using">Permetti quando lo schermo è acceso</string>
<string name="title_roaming">Blocca quando in roaming</string>

View File

@ -22,6 +22,8 @@
<string name="setting_import">設定をインポート</string>
<string name="setting_vpn">Android VPN 設定を開く</string>
<string name="msg_try">Try NetGuard</string>
<string name="msg_voluntary">Donations are completely voluntary and do not unlock any feature. Donations are meant as a way to show your appreciation for the work done.</string>
<string name="msg_dimming">If you cannot press OK in the next dialog, another (screen dimming) application is likely manipulating the screen.</string>
<string name="summary_system">システムアプリケーションのルールを定義します (エキスパート向け)</string>
@ -30,7 +32,9 @@
<string name="msg_disabled">NetGuard は無効です。NetGuard を有効にするには上のスイッチを使用してください</string>
<string name="msg_revoked">NetGuard は無効になりました</string>
<string name="msg_completed">操作を完了しました</string>
<string name="msg_vpn">NetGuard は、インターネットのトラフィックをブロックするために、下水口としてローカルの VPN を使用しています。このため、次のダイアログで VPN 接続を許可してください</string>
<string name="msg_vpn">NetGuard uses a local VPN as a sinkhole to block internet traffic.
For this reason, please allow a VPN connection in the next dialog.
Since NetGuard has no internet permission, you know your internet traffic is not being sent anywhere.</string>
<string name="title_using">Allow when screen is on</string>
<string name="title_roaming">ローミング時にブロック</string>

View File

@ -29,8 +29,12 @@ These issues are caused by bugs in Android, or in the software provided by the m
<string name="msg_disabled">넷가드가 해제되어 있습니다. 상단 스위치를 사용해 넷가드를 활성화하세요.</string>
<string name="msg_revoked">넷가드가 해제되었습니다</string>
<string name="msg_completed">Action completed</string>
<string name="msg_vpn">NetGuard uses a local VPN as a sinkhole to block internet traffic. For this reason, please allow a VPN connection in the next dialog</string>
<string name="msg_vpn">NetGuard uses a local VPN as a sinkhole to block internet traffic.
For this reason, please allow a VPN connection in the next dialog.
Since NetGuard has no internet permission, you know your internet traffic is not being sent anywhere.</string>
<string name="msg_try">Try NetGuard</string>
<string name="msg_voluntary">Donations are completely voluntary and do not unlock any feature. Donations are meant as a way to show your appreciation for the work done.</string>
<string name="msg_dimming">If you cannot press OK in the next dialog, another (screen dimming) application is likely manipulating the screen.</string>
<string name="title_using">Allow when screen is on</string>
<string name="title_roaming">Block when roaming</string>

View File

@ -29,8 +29,12 @@ These issues are caused by bugs in Android, or in the software provided by the m
<string name="msg_disabled">NetGuard staat uit, gebruik de schakelaar boven om NetGuard aan te zetten</string>
<string name="msg_revoked">NetGuard is uitgezet</string>
<string name="msg_completed">Actie uitgevoerd</string>
<string name="msg_vpn">NetGuard gebruikt een lokaal VPN als een sinkhole voor geblokkeerd internetverkeer, om deze reden moet u een VPN-verbinding in de volgende dialoog toestaan.</string>
<string name="msg_vpn">NetGuard uses a local VPN as a sinkhole to block internet traffic.
For this reason, please allow a VPN connection in the next dialog.
Since NetGuard has no internet permission, you know your internet traffic is not being sent anywhere.</string>
<string name="msg_try">Probeer NetGuard</string>
<string name="msg_voluntary">Donations are completely voluntary and do not unlock any feature. Donations are meant as a way to show your appreciation for the work done.</string>
<string name="msg_dimming">If you cannot press OK in the next dialog, another (screen dimming) application is likely manipulating the screen.</string>
<string name="title_using">Sta toe als scherm aan is</string>
<string name="title_roaming">Blokkeer bij roamen</string>

View File

@ -29,8 +29,12 @@ Problemy te są spowodowane błędami w samym Androidzie, lub oprogramowaniu dos
<string name="msg_disabled">NetGuard jest wyłączony, użyj przełącznika u góry by go uruchomić</string>
<string name="msg_revoked">NetGuard został wyłączony</string>
<string name="msg_completed">Wykonano</string>
<string name="msg_vpn">NetGuard używa lokalnego VPNa aby zablokować ruch internetowy. Z tego powodu należy zezwolić na połączenie VPN w następnym kroku.</string>
<string name="msg_vpn">NetGuard uses a local VPN as a sinkhole to block internet traffic.
For this reason, please allow a VPN connection in the next dialog.
Since NetGuard has no internet permission, you know your internet traffic is not being sent anywhere.</string>
<string name="msg_try">Spróbuj NetGuard</string>
<string name="msg_voluntary">Donations are completely voluntary and do not unlock any feature. Donations are meant as a way to show your appreciation for the work done.</string>
<string name="msg_dimming">If you cannot press OK in the next dialog, another (screen dimming) application is likely manipulating the screen.</string>
<string name="title_using">Allow when screen is on</string>
<string name="title_roaming">Blokuj gdy roaming</string>

View File

@ -29,9 +29,13 @@ Acest lucru este cauzat de bug-uri in Android sau in software-ul pus la dispozit
<string name="msg_disabled">NetGuard este momentan dezactivat, foloseste comutatorul de mai sus pentru a il activa</string>
<string name="msg_revoked">NetGuard a fost dezactivat</string>
<string name="msg_completed">Setari aplicate</string>
<string name="msg_vpn">NetGuard foloseste o conexiune locala VPN ca o \"gaura neagra\" pentru traficul de internet blocat, din acest motiv la urmatoarea fereastra de dialog trebuie sa acceptati crearea conexiunii VPN.</string>
<string name="msg_vpn">NetGuard foloseste o conexiune locala VPN ca o \"gaura neagra\" pentru traficul de internet blocat.
Din acest motiv la urmatoarea fereastra de dialog trebuie sa acceptati crearea conexiunii VPN.
Cum NetGuard efectiv nu are permisiunea de a accesa internetul, esti sigur ca traficul tau de internet nu este redirectionat nicaieri.</string>
<string name="msg_try">Incearca NetGuard</string>
<string name="msg_voluntary">Donatiile sunt voluntare si nu deblocheaza vreo functie ascunsa. Donatiile sunt doar un mod de a iti arata aprecierea pentru munca depusa pentru aceasta aplicatie.</string>
<string name="msg_dimming">Daca in urmatoarea fereastra de dialog nu poti apasa OK inseamna ca o aplicatie ce manipuleaza ecranul (luminozitatea sau nuanta) blocheaza interactiunea.</string>
<string name="title_using">Permite doar cand ecranul este pornit</string>
<string name="title_roaming">Blocheaza in roaming</string>
<string name="title_launch">Porneste aplicatia</string>

View File

@ -27,8 +27,12 @@
<string name="msg_disabled">NetGuard отключен, используйте переключатель выше для включения</string>
<string name="msg_revoked">NetGuard был отключен</string>
<string name="msg_completed">Действие завершено</string>
<string name="msg_vpn">NetGuard использует локальный VPN, чтобы блокировать интернет трафик. По этой причине, пожалуйста, разрешите VPN-подключения в следующем диалоговом окне.</string>
<string name="msg_vpn">NetGuard uses a local VPN as a sinkhole to block internet traffic.
For this reason, please allow a VPN connection in the next dialog.
Since NetGuard has no internet permission, you know your internet traffic is not being sent anywhere.</string>
<string name="msg_try">Попробуйте новый фаервол NetGuard</string>
<string name="msg_voluntary">Donations are completely voluntary and do not unlock any feature. Donations are meant as a way to show your appreciation for the work done.</string>
<string name="msg_dimming">If you cannot press OK in the next dialog, another (screen dimming) application is likely manipulating the screen.</string>
<string name="title_using">Разрешить, когда экран включен</string>
<string name="title_roaming">Блокировать в роуминге</string>

View File

@ -29,8 +29,12 @@ Je to spôsobené chybami v Androide alebo v softvéri poskytovanom výrobcom, p
<string name="msg_disabled">NetGuard je vypnutý, použite prepínač vyššie na zapnutie NetGuard</string>
<string name="msg_revoked">NetGuard je vypnutý</string>
<string name="msg_completed">Akcia bola dokončená</string>
<string name="msg_vpn">NetGuard používa lokálnu VPN sieť na zablokovanie sieťovej prevádzky, a preto by ste mali povoliť VPN pripojenie v ďalšom okne</string>
<string name="msg_vpn">NetGuard uses a local VPN as a sinkhole to block internet traffic.
For this reason, please allow a VPN connection in the next dialog.
Since NetGuard has no internet permission, you know your internet traffic is not being sent anywhere.</string>
<string name="msg_try">Skúsiť NetGuard</string>
<string name="msg_voluntary">Donations are completely voluntary and do not unlock any feature. Donations are meant as a way to show your appreciation for the work done.</string>
<string name="msg_dimming">If you cannot press OK in the next dialog, another (screen dimming) application is likely manipulating the screen.</string>
<string name="title_using">Povoliť pri zapnutej obrazovke</string>
<string name="title_roaming">Blokovať pri roamingu</string>

View File

@ -0,0 +1,42 @@
<resources>
<string name="app_copyright">Авторське право \u00A9 2015 M. Bokhorst (M66B)</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>
<string name="menu_settings">Налаштування</string>
<string name="menu_invite">Запросити</string>
<string name="menu_support">Підтримка</string>
<string name="menu_about">Про</string>
<string name="setting_whitelist_wifi">Блокувати типово у Wi-Fi мережі</string>
<string name="setting_whitelist_other">Блокувати типово у мобільній мережі</string>
<string name="setting_whitelist_roaming">Блокувати типово у роумінгу</string>
<string name="setting_system">Керувати системними додатками</string>
<string name="setting_dark">Використовувати темну тему</string>
<string name="setting_export">Експорт налаштувань</string>
<string name="setting_import">Імпорт налаштувань</string>
<string name="setting_vpn">Відкрити налаштування Android VPN</string>
<string name="summary_system">Визначити правила для системних додатків (для експертів)</string>
<string name="msg_sure">Ви впевнені?</string>
<string name="msg_started">Визначити правила</string>
<string name="msg_disabled">NetGuard вимкнено, аби увімкнути, використовуй перемикач, що знаходиться вище</string>
<string name="msg_revoked">NetGuard вимкнено</string>
<string name="msg_completed">Дію завершено</string>
<string name="msg_vpn">NetGuard uses a local VPN as a sinkhole to block internet traffic.
For this reason, please allow a VPN connection in the next dialog.
Since NetGuard has no internet permission, you know your internet traffic is not being sent anywhere.</string>
<string name="msg_try">Спробуйте NetGuard</string>
<string name="msg_voluntary">Donations are completely voluntary and do not unlock any feature. Donations are meant as a way to show your appreciation for the work done.</string>
<string name="msg_dimming">If you cannot press OK in the next dialog, another (screen dimming) application is likely manipulating the screen.</string>
<string name="title_using">Дозволити, коли екран увімкнуто</string>
<string name="title_roaming">Блокувати у роумінгу</string>
<string name="title_launch">Запуск додатку</string>
<string name="title_donate">Матеріально подякувати</string>
<string name="title_rate">Оцінити</string>
<string name="title_thanks">Дякуємо за підтримку!</string>
</resources>

View File

@ -29,8 +29,12 @@
<string name="msg_disabled">NetGuard已被停用, 请使用上方的开关启用NetGuard</string>
<string name="msg_revoked">NetGuard已被停用</string>
<string name="msg_completed">操作完成</string>
<string name="msg_vpn">NetGuard使用一个本地VPN服务来重定向被阻挡的网络流量, 因此请在下一个对话框中允许建立VPN连接</string>
<string name="msg_vpn">NetGuard uses a local VPN as a sinkhole to block internet traffic.
For this reason, please allow a VPN connection in the next dialog.
Since NetGuard has no internet permission, you know your internet traffic is not being sent anywhere.</string>
<string name="msg_try">试用NetGuard</string>
<string name="msg_voluntary">Donations are completely voluntary and do not unlock any feature. Donations are meant as a way to show your appreciation for the work done.</string>
<string name="msg_dimming">If you cannot press OK in the next dialog, another (screen dimming) application is likely manipulating the screen.</string>
<string name="title_using">亮屏时允许</string>
<string name="title_roaming">漫游时阻止</string>

View File

@ -30,8 +30,12 @@ These issues are caused by bugs in Android, or in the software provided by the m
<string name="msg_disabled">NetGuard is disabled, use the switch above to enable NetGuard</string>
<string name="msg_revoked">NetGuard has been disabled</string>
<string name="msg_completed">Action completed</string>
<string name="msg_vpn">NetGuard uses a local VPN as a sinkhole to block internet traffic. For this reason, please allow a VPN connection in the next dialog</string>
<string name="msg_vpn">NetGuard uses a local VPN as a sinkhole to block internet traffic.
For this reason, please allow a VPN connection in the next dialog.
Since NetGuard has no internet permission, you know your internet traffic is not being sent anywhere.</string>
<string name="msg_try">Try NetGuard</string>
<string name="msg_voluntary">Donations are completely voluntary and do not unlock any feature. Donations are meant as a way to show your appreciation for the work done.</string>
<string name="msg_dimming">If you cannot press OK in the next dialog, another (screen dimming) application is likely manipulating the screen.</string>
<string name="title_using">Allow when screen is on</string>
<string name="title_roaming">Block when roaming</string>

View File

@ -1,6 +1,7 @@
#!/bin/bash
#grep -RIl "\<string name=\"msg_try" app/src/main/res | xargs sed -i -e '/msg_try/a \
#\ \ \ \ <string name=\"msg_admin\">Prevent NetGuard from being uninstalled</string>'
grep -RIl "\<string name=\"msg_admin" app/src/main/res | xargs sed -i -e '/msg_admin/d'
#grep -RIl "\<string name=\"msg_vpn" app/src/main/res | xargs sed -i -e '/msg_vpn/d'
grep -RIl "\<string name=\"msg_voluntary" app/src/main/res | xargs sed -i -e '/msg_voluntary/a\
\ \ \ \ <string name="msg_dimming">If you cannot press OK in the next dialog, another (screen dimming) application is likely manipulating the screen.</string>'
#grep -RIl "\<string name=\"summary_credentials" app/src/main/res | xargs sed -i -e 's/Prevent from being uninstalled/Prevent NetGuard from being uninstalled/g'