From eb90b79bf9abfceedc9b9967e5d5260f84344745 Mon Sep 17 00:00:00 2001
From: SANCTI-afk <63229113+SANCTI-afk@users.noreply.github.com>
Date: Sat, 3 Dec 2022 15:17:33 +0200
Subject: [PATCH 1/4] Arabic language update for latest keys (#231)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* arabicLanguage100%
* Update strings.xml
* Arabic Full
* translated(preffVplayerBtn)
* renamed homeBtn for arabic layout
* Arabic language update
No more typical ×
Common language instead ✓
* Arabic translation minor update
Last commit ready to be merged
* arabic language update for latest keys
* ready to merge
* last minor edit and ready to merge
---
app/src/main/res/values-ar/strings.xml | 34 ++++++++++++++------------
1 file changed, 19 insertions(+), 15 deletions(-)
diff --git a/app/src/main/res/values-ar/strings.xml b/app/src/main/res/values-ar/strings.xml
index bda3cf2a..b3676fa6 100644
--- a/app/src/main/res/values-ar/strings.xml
+++ b/app/src/main/res/values-ar/strings.xml
@@ -6,7 +6,7 @@
الملصق الرئيسي
التالي عشوائي
- ارجع للخلف
+ رجوع
تغيير المصدر
معاينة الخلفية
@@ -38,7 +38,7 @@
…تحميل
أشاهده
- في الانتظار
+ في الإنتظار
مكتمل
مهمل
أخطط لمشاهدته
@@ -100,7 +100,7 @@
لون الخلفية
لون النافذة
نوع الحافة
- ارتفاع الترجمة
+ إرتفاع الترجمة
الخط
حجم الخط
@@ -111,7 +111,7 @@
لم يتم إعطاء موز
تحديد اللغة تلقائيًا
- تحميل اللغات
+ لغات التحميل
لغة الترجمة
إضغط بإستمرار لإعادة التعيين للإعدادات الافتراضية
إستيراد خطوط بوضعها هنا %s
@@ -185,9 +185,10 @@
إخفاء جودة الفيديو المختارة من نتائج البحث
تحديث الإضافات تلقائيًا
+ تنزيل الإضافات تلقائيًا
التحديث التلقائي
البحث تلقائيًا عن التحديثات الجديدة عند البداية
- التحديث إلى الاصدارات التجريبيه (بيتا)
+ التحديث إلى الاصدارات التجريبية (بيتا)
البحث عن التحديثات التجريبية بدلاً من الإصدارات الكاملة فقط
Github
تطبيق روايات خفيف من نفس المطورين
@@ -255,7 +256,7 @@
فيلم
مسلسل
- كارتون
+ كرتون
@string/anime
@string/ova
تورنت
@@ -353,7 +354,7 @@
عام
زر العشوائي
إظهار زر العشوائي علي الشاشة الرئيسية
- لغات الموفر
+ لغات المزود
واجهة التطبيق
المحتوي المفضل
تفعيل محتوي البالغين داخل المزودين المدعومين
@@ -378,13 +379,13 @@
mal_key
opensubtitles_key
nginx_key
- password123
- MyCoolUsername
- hello@world.com
+ كلمة المرور
+ إسم المستخدم
+ البريد الإلكتروني
127.0.0.1
- MyCoolSite
- example.com
- Language code (en)
+ إسم الموقع
+ رابط الموقع
+ اللغة (الإنجليزية)
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:id="@+id/background_card"
+ android:layout_width="114dp"
+ android:layout_height="180dp"
+ android:layout_margin="2dp"
+ android:layout_marginBottom="2dp"
+ android:elevation="10dp"
+ android:foreground="@drawable/outline_drawable"
+ app:cardBackgroundColor="?attr/primaryGrayBackground"
+ app:cardCornerRadius="@dimen/rounded_image_radius">
+ android:id="@+id/imageView"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:contentDescription="@string/search_poster_img_des"
+ android:duplicateParentState="true"
+ android:foreground="?android:attr/selectableItemBackgroundBorderless"
+ android:scaleType="centerCrop"
+ tools:src="@drawable/example_poster" />
+ android:id="@+id/title_shadow"
+ android:layout_width="match_parent"
+ android:layout_height="50dp"
+ android:layout_gravity="bottom"
+ android:clickable="false"
+ android:focusable="false"
+ android:src="@drawable/title_shadow"
+ tools:ignore="ContentDescription" />
+ android:id="@+id/imageText"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="bottom"
+ android:ellipsize="end"
+ android:gravity="center"
+ android:maxLines="2"
+ android:paddingStart="5dp"
+ android:paddingTop="5dp"
+ android:paddingEnd="5dp"
+ android:paddingBottom="5dp"
+ android:textColor="@color/textColor"
+ android:textStyle="bold"
+ tools:text="The Perfect Run" />
+ android:id="@+id/search_item_download_play"
+ android:layout_width="60dp"
+ android:layout_height="60dp"
+ android:layout_gravity="center"
+ android:src="@drawable/play_button" />
+ android:id="@+id/watchProgress"
+ style="@android:style/Widget.Material.ProgressBar.Horizontal"
+ android:layout_width="match_parent"
+ android:layout_height="5dp"
+ android:layout_gravity="bottom"
+ android:layout_marginBottom="-1.5dp"
+ android:progressBackgroundTint="?attr/colorPrimary"
+ android:progressTint="?attr/colorPrimary"
+ tools:progress="50" />
-
+
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_gravity="end"
+ android:orientation="vertical">
+ android:id="@+id/text_is_dub"
+ style="@style/DubButton"
+ android:layout_gravity="end" />
+ android:id="@+id/text_is_sub"
+ style="@style/SubButton"
+ android:layout_gravity="end" />
+ android:id="@+id/text_flag"
+ style="@style/SearchBox"
+ android:layout_gravity="end"
+ android:background="@color/transparent"
+ android:textSize="20sp"
+ android:visibility="gone"
+ tools:text="🇸🇪"
+ tools:visibility="visible" />
diff --git a/app/src/main/res/layout/home_result_grid_expanded.xml b/app/src/main/res/layout/home_result_grid_expanded.xml
index 3cf4e7f9..b697c1de 100644
--- a/app/src/main/res/layout/home_result_grid_expanded.xml
+++ b/app/src/main/res/layout/home_result_grid_expanded.xml
@@ -5,58 +5,58 @@
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:id="@+id/background_card"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_margin="2dp"
+ android:backgroundTint="@color/transparent"
+ android:foreground="@drawable/outline_drawable"
+ app:cardCornerRadius="@dimen/rounded_image_radius"
+ app:cardElevation="0dp">
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
+ android:id="@+id/image_holder"
+ android:layout_width="114dp"
+ android:layout_height="180dp"
+ android:elevation="10dp"
+ app:cardBackgroundColor="?attr/primaryGrayBackground"
+ app:cardCornerRadius="@dimen/rounded_image_radius">
+ android:id="@+id/imageView"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:contentDescription="@string/search_poster_img_des"
+ android:duplicateParentState="true"
+ android:foreground="?android:attr/selectableItemBackgroundBorderless"
+ android:scaleType="centerCrop"
+ tools:src="@drawable/example_poster" />
+ android:id="@+id/search_item_download_play"
+ android:layout_width="60dp"
+ android:layout_height="60dp"
+ android:layout_gravity="center"
+ android:src="@drawable/play_button" />
+ android:id="@+id/watchProgress"
+ style="@android:style/Widget.Material.ProgressBar.Horizontal"
+ android:layout_width="match_parent"
+ android:layout_height="5dp"
+ android:layout_gravity="bottom"
+ android:layout_marginBottom="-1.5dp"
+ android:progressBackgroundTint="?attr/colorPrimary"
+ android:progressTint="?attr/colorPrimary"
+ tools:progress="50" />
-
+
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_gravity="end"
+ android:orientation="vertical">
+ android:id="@+id/text_is_dub"
+ style="@style/DubButton"
+ android:layout_gravity="end" />
+ android:id="@+id/text_is_sub"
+ style="@style/SubButton"
+ android:layout_gravity="end" />
+ android:id="@+id/text_flag"
+ style="@style/SearchBox"
+ android:layout_gravity="end"
+ android:background="@color/transparent"
+ android:textSize="20sp"
+ android:visibility="gone"
+ tools:text="🇸🇪"
+ tools:visibility="visible" />
+ android:id="@+id/imageText"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="bottom"
+ android:ellipsize="end"
+ android:gravity="center"
+ android:maxLines="2"
+ android:minLines="2"
+ android:paddingStart="5dp"
+ android:paddingTop="5dp"
+ android:paddingEnd="5dp"
+ android:paddingBottom="5dp"
+ android:textColor="?attr/textColor"
+ android:textSize="13sp"
+ tools:text="The Perfect Run\nThe Perfect Run\nhello" />
diff --git a/app/src/main/res/layout/search_result_grid.xml b/app/src/main/res/layout/search_result_grid.xml
index 98fe5812..f3c35ca4 100644
--- a/app/src/main/res/layout/search_result_grid.xml
+++ b/app/src/main/res/layout/search_result_grid.xml
@@ -1,98 +1,89 @@
+ android:clickable="true"
+ android:focusable="true"
+ android:foreground="@drawable/outline_drawable"
+ android:orientation="vertical">
+
+
+ android:contentDescription="@string/search_poster_img_des"
+ android:duplicateParentState="true"
+ android:foreground="?android:attr/selectableItemBackgroundBorderless"
+ android:scaleType="centerCrop" />
-
-
+ android:id="@+id/title_shadow"
+ android:layout_width="match_parent"
+ android:layout_height="50dp"
+ android:layout_gravity="bottom"
+ android:clickable="false"
+ android:focusable="false"
+ android:src="@drawable/title_shadow"
+ tools:ignore="ContentDescription" />
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="bottom"
+ android:ellipsize="end"
+ android:gravity="center"
+ android:maxLines="2"
+ android:paddingStart="5dp"
+ android:paddingTop="5dp"
+ android:paddingEnd="5dp"
+ android:paddingBottom="5dp"
+ android:textColor="@color/textColor"
+ android:textStyle="bold" />
-
+
+
+
+
+
+
+
-
-
-
-
-
-
+ android:background="@color/transparent"
+ android:textSize="20sp"
+ android:visibility="gone"
+ tools:text="🇸🇪"
+ tools:visibility="visible" />
diff --git a/app/src/main/res/layout/search_result_grid_expanded.xml b/app/src/main/res/layout/search_result_grid_expanded.xml
index 710c6cf8..eb859af5 100644
--- a/app/src/main/res/layout/search_result_grid_expanded.xml
+++ b/app/src/main/res/layout/search_result_grid_expanded.xml
@@ -1,90 +1,81 @@
+ android:clickable="true"
+ android:focusable="true"
+ android:foreground="@drawable/outline_drawable"
+ android:orientation="vertical">
+ android:id="@+id/background_card"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_margin="2dp"
+ android:layout_marginBottom="2dp"
+ android:elevation="10dp"
+ app:cardBackgroundColor="?attr/primaryGrayBackground"
+ app:cardCornerRadius="@dimen/rounded_image_radius">
+ android:layout_height="match_parent"
+ android:contentDescription="@string/search_poster_img_des"
+ android:duplicateParentState="true"
+ android:foreground="?android:attr/selectableItemBackgroundBorderless"
+ android:scaleType="centerCrop"
+ tools:src="@drawable/example_poster" />
-
+
+
+
+
+
+
+
-
-
-
-
-
-
+ android:background="@color/transparent"
+ android:textSize="20sp"
+ android:visibility="gone"
+ tools:text="🇸🇪"
+ tools:visibility="visible" />
+ android:id="@+id/imageText"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="bottom"
+ android:ellipsize="end"
+ android:gravity="center"
+ android:maxLines="2"
+ android:minLines="2"
+ android:paddingStart="5dp"
+ android:paddingTop="5dp"
+ android:paddingEnd="5dp"
+ android:paddingBottom="5dp"
+ android:textColor="?attr/textColor"
+ android:textSize="13sp"
+ tools:text="The Perfect Run\nThe Perfect Run" />
\ No newline at end of file
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml
index c3e51ab5..7c2e798b 100644
--- a/app/src/main/res/values/colors.xml
+++ b/app/src/main/res/values/colors.xml
@@ -25,13 +25,13 @@
#FFF
#000
- #3d50fa
+ #121950
#121213
#3B65F5
- #F54A3B
+ #571711
#F53B66
- #3BF585
+ #BEC8FF
?attr/colorPrimaryDark
#FF6F63
diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml
index e748868b..dac8b9cd 100644
--- a/app/src/main/res/values/dimens.xml
+++ b/app/src/main/res/values/dimens.xml
@@ -16,5 +16,4 @@
2000
3dp
-
\ No newline at end of file
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index 9c2f62fc..4fde7ae8 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -97,6 +97,24 @@
- @color/white
- @color/whiteText
+
+
+
+
+
+