Strip interface name from DNS server name, Crowdin sync

This commit is contained in:
M66B 2018-03-18 07:43:10 +01:00
parent 6a0d70739e
commit 5c45632cce
8 changed files with 13 additions and 8 deletions

View File

@ -6,10 +6,10 @@ android {
defaultConfig {
applicationId = "eu.faircode.netguard"
versionName = "2.187"
versionName = "2.188"
minSdkVersion 22
targetSdkVersion 27
versionCode = 2018031101
versionCode = 2018031801
archivesBaseName = "NetGuard-v$versionName"
externalNativeBuild {

View File

@ -286,6 +286,11 @@ public class Util {
dns2 = jni_getprop("net.dns2");
}
if (!TextUtils.isEmpty(dns1))
dns1 = dns1.split("%")[0];
if (!TextUtils.isEmpty(dns2))
dns2 = dns2.split("%")[0];
List<String> listDns = new ArrayList<>();
listDns.add(TextUtils.isEmpty(dns1) ? "8.8.8.8" : dns1);
listDns.add(TextUtils.isEmpty(dns2) ? "8.8.4.4" : dns2);

View File

@ -5,7 +5,7 @@
<string name="app_copyright">حــقــوق الــطــبــع والــنــشــر والــتــوزيــع \u00A9 عام 20152018 من م. بوخورست (M66B)</string>
<string name="app_android">يتطلب NetGuard أندرويد 5.1 أو إصدار أحدث</string>
<string name="app_xposed">Xposed causes too many crashes, which might result in NetGuard being removed from the Google Play Store, therefore NetGuard isn\'t supported while Xposed is installed</string>
<string name="app_license">بــإســتــخــدام NetGuard، مــعــنــاه أنــك مــوافــق عــلـى <a href="http://www.gnu.org/licenses/gpl.txt"> رخــصــة BNU الــعــمــومــيــة الــعــامــة الإصــدار 3</a></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_privacy"><a href="https://www.netguard.me/privacy/"> سياسة الخصوصية</a></string>
<string name="app_first">اتخذت عناية كبيرة لتطوير واختبار NetGuard، لكن من المستحيل أن يضمن NetGuard سوف تعمل بشكل صحيح على كل جهاز. \n\nBy باستخدام NetGuard، يمكنك الموافقة على <a href="http://www.gnu.org/licenses/gpl.txt"> رخصة جنو العمومية الإصدار 3</a></string>
<string name="app_admob">NetGuard يستخدم خدمة Google الإعلان AdMob. سياسة الخصوصية في AdMob يتوفر <a href="https://www.google.com/intl/en/policies/privacy/"> هنا</a>.</string>

View File

@ -5,7 +5,7 @@
<string name="app_copyright">حــقــوق الــطــبــع والــنــشــر والــتــوزيــع \u00A9 عام 20152018 من م. بوخورست (M66B)</string>
<string name="app_android">يتطلب NetGuard أندرويد 5.1 أو إصدار أحدث</string>
<string name="app_xposed">Xposed causes too many crashes, which might result in NetGuard being removed from the Google Play Store, therefore NetGuard isn\'t supported while Xposed is installed</string>
<string name="app_license">بــإســتــخــدام NetGuard، مــعــنــاه أنــك مــوافــق عــلـى <a href="http://www.gnu.org/licenses/gpl.txt"> رخــصــة BNU الــعــمــومــيــة الــعــامــة الإصــدار 3</a></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_privacy"><a href="https://www.netguard.me/privacy/"> سياسة الخصوصية</a></string>
<string name="app_first">اتخذت عناية كبيرة لتطوير واختبار NetGuard، لكن من المستحيل أن يضمن NetGuard سوف تعمل بشكل صحيح على كل جهاز. \n\nBy باستخدام NetGuard، يمكنك الموافقة على <a href="http://www.gnu.org/licenses/gpl.txt"> رخصة جنو العمومية الإصدار 3</a></string>
<string name="app_admob">NetGuard يستخدم خدمة Google الإعلان AdMob. سياسة الخصوصية في AdMob يتوفر <a href="https://www.google.com/intl/en/policies/privacy/"> هنا</a>.</string>

View File

@ -5,7 +5,7 @@
<string name="app_copyright">حــقــوق الــطــبــع والــنــشــر والــتــوزيــع \u00A9 عام 20152018 من م. بوخورست (M66B)</string>
<string name="app_android">يتطلب NetGuard أندرويد 5.1 أو إصدار أحدث</string>
<string name="app_xposed">Xposed causes too many crashes, which might result in NetGuard being removed from the Google Play Store, therefore NetGuard isn\'t supported while Xposed is installed</string>
<string name="app_license">بــإســتــخــدام NetGuard، مــعــنــاه أنــك مــوافــق عــلـى <a href="http://www.gnu.org/licenses/gpl.txt"> رخــصــة BNU الــعــمــومــيــة الــعــامــة الإصــدار 3</a></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_privacy"><a href="https://www.netguard.me/privacy/"> سياسة الخصوصية</a></string>
<string name="app_first">اتخذت عناية كبيرة لتطوير واختبار NetGuard، لكن من المستحيل أن يضمن NetGuard سوف تعمل بشكل صحيح على كل جهاز. \n\nBy باستخدام NetGuard، يمكنك الموافقة على <a href="http://www.gnu.org/licenses/gpl.txt"> رخصة جنو العمومية الإصدار 3</a></string>
<string name="app_admob">NetGuard يستخدم خدمة Google الإعلان AdMob. سياسة الخصوصية في AdMob يتوفر <a href="https://www.google.com/intl/en/policies/privacy/"> هنا</a>.</string>

View File

@ -5,7 +5,7 @@
<string name="app_copyright">حــقــوق الــطــبــع والــنــشــر والــتــوزيــع \u00A9 عام 20152018 من م. بوخورست (M66B)</string>
<string name="app_android">يتطلب NetGuard أندرويد 5.1 أو إصدار أحدث</string>
<string name="app_xposed">Xposed causes too many crashes, which might result in NetGuard being removed from the Google Play Store, therefore NetGuard isn\'t supported while Xposed is installed</string>
<string name="app_license">بــإســتــخــدام NetGuard، مــعــنــاه أنــك مــوافــق عــلـى <a href="http://www.gnu.org/licenses/gpl.txt"> رخــصــة BNU الــعــمــومــيــة الــعــامــة الإصــدار 3</a></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_privacy"><a href="https://www.netguard.me/privacy/"> سياسة الخصوصية</a></string>
<string name="app_first">اتخذت عناية كبيرة لتطوير واختبار NetGuard، لكن من المستحيل أن يضمن NetGuard سوف تعمل بشكل صحيح على كل جهاز. \n\nBy باستخدام NetGuard، يمكنك الموافقة على <a href="http://www.gnu.org/licenses/gpl.txt"> رخصة جنو العمومية الإصدار 3</a></string>
<string name="app_admob">NetGuard يستخدم خدمة Google الإعلان AdMob. سياسة الخصوصية في AdMob يتوفر <a href="https://www.google.com/intl/en/policies/privacy/"> هنا</a>.</string>

View File

@ -5,7 +5,7 @@
<string name="app_copyright">حــقــوق الــطــبــع والــنــشــر والــتــوزيــع \u00A9 عام 20152018 من م. بوخورست (M66B)</string>
<string name="app_android">يتطلب NetGuard أندرويد 5.1 أو إصدار أحدث</string>
<string name="app_xposed">Xposed causes too many crashes, which might result in NetGuard being removed from the Google Play Store, therefore NetGuard isn\'t supported while Xposed is installed</string>
<string name="app_license">بــإســتــخــدام NetGuard، مــعــنــاه أنــك مــوافــق عــلـى <a href="http://www.gnu.org/licenses/gpl.txt"> رخــصــة BNU الــعــمــومــيــة الــعــامــة الإصــدار 3</a></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_privacy"><a href="https://www.netguard.me/privacy/"> سياسة الخصوصية</a></string>
<string name="app_first">اتخذت عناية كبيرة لتطوير واختبار NetGuard، لكن من المستحيل أن يضمن NetGuard سوف تعمل بشكل صحيح على كل جهاز. \n\nBy باستخدام NetGuard، يمكنك الموافقة على <a href="http://www.gnu.org/licenses/gpl.txt"> رخصة جنو العمومية الإصدار 3</a></string>
<string name="app_admob">NetGuard يستخدم خدمة Google الإعلان AdMob. سياسة الخصوصية في AdMob يتوفر <a href="https://www.google.com/intl/en/policies/privacy/"> هنا</a>.</string>

View File

@ -40,7 +40,7 @@
<string name="menu_pcap_enabled">Activeaza PCAP</string>
<string name="menu_pcap_export">Exportă PCAP</string>
<string name="menu_clear">Curață jurnalul</string>
<string name="menu_reset">Restează</string>
<string name="menu_reset">Resetează</string>
<string name="menu_add">Adauga</string>
<string name="menu_delete">Sterge</string>
<string name="menu_cleanup">Curatare</string>