From 46d629c45604ca97729a40b6c7c599e91c84a403 Mon Sep 17 00:00:00 2001 From: omar Date: Fri, 24 Nov 2023 23:07:43 +0300 Subject: [PATCH 1/3] update Arabic strings --- main/src/dev/res/values-ar/strings.xml | 4 ++++ main/src/main/res/values-ar/strings.xml | 15 ++++++++++++++- main/src/main/res/values/strings.xml | 2 +- 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 main/src/dev/res/values-ar/strings.xml diff --git a/main/src/dev/res/values-ar/strings.xml b/main/src/dev/res/values-ar/strings.xml new file mode 100644 index 00000000..d052977e --- /dev/null +++ b/main/src/dev/res/values-ar/strings.xml @@ -0,0 +1,4 @@ + + + (Dev) EverTranslator + \ No newline at end of file diff --git a/main/src/main/res/values-ar/strings.xml b/main/src/main/res/values-ar/strings.xml index 1ff71dcb..155955e5 100644 --- a/main/src/main/res/values-ar/strings.xml +++ b/main/src/main/res/values-ar/strings.xml @@ -2,6 +2,8 @@ EverTranslator (ترجمة الشاشة) قناة الإشعارات الافتراضية + https://firemaples.github.io/EverTranslator/version_history.html + "مايكروسوفت Azure " Google MLKit تطبيق ترجمة Google @@ -36,6 +38,15 @@ يحتاج EverTranslator إلى [تجاوز تحسين البطارية] لتجنب اغلاق في الخلفية. أزل المسافات في النص الصيني والياباني والكوري أزل المسافات عندما تكون لغة مستخرج النصوص هي الصينية أو اليابانية أو الكورية + ترجمة + يمكنك تقديم بريد إلكتروني صالح لMyMemory translation مقابل 50000 حرف في اليوم. لن يقوم EverTranslator أبدًا باستخدام البريد الإلكتروني لاستخدامات أخرى. + + البريد الإلكتروني MyMemory + لقطة شاشة + الحفاظ على موارد MediaProjection + + الحفاظ على الموارد حتى إعادة التشغيل + الافراج عن الموارد بعد استخدامها إعدادات سياسة الخصوصية حول @@ -62,6 +73,7 @@ حدد لغة الترجمة في [%s] اختيار لغة الترجمة غير متاح في وضع ااستخراج النص طلب الإذن + فتح في المتصفح EverTranslator يحتاج الى الإذن [التطبيقات التي قد تظهر فوق تطبيقات أخرى] لإظهار النافذة عائمة على الشاشة. EverTranslator يحتاج الى الإذن [تصوير الشاشة] للعثور على النص من الشاشة من أجلك.. تم نسخ النص @@ -69,8 +81,9 @@ انقر لإخفاء الشريط العائم اسحب هنا لإعادة إنشاء منطقة ترجمة، إبعاد إصبعين عن بعضهما او جمعها لتكبير المنطقة المحددة اسحب هنا لإنشاء منطقة الترجمة - , please try it again. (Image reader format) + تم العثور على خطأ مؤقت، يرجى المحاولة مرة أخرى. (تنسيق قارئ الصور) مزود الترجمة هذا لا يدعم لغة التعرف المختارة. + يرجى إعادة تشغيل التطبيق ليصبح ساري المفعول التغيرات في الإصدارات السابقة خطأ طريقة الأستخدام diff --git a/main/src/main/res/values/strings.xml b/main/src/main/res/values/strings.xml index 39c7e6c6..2c6cc7e2 100644 --- a/main/src/main/res/values/strings.xml +++ b/main/src/main/res/values/strings.xml @@ -48,7 +48,6 @@ You can Provide a valid email to MyMemory translation for 50000 chars a day quota.\nEverTranslator will never use the email for other usages. MyMemory email Screenshot - Keep MediaProjection resources Keep the resources until restart Release the resources after used @@ -117,4 +116,5 @@ Space None + Keep MediaProjection resources \ No newline at end of file From 3cf1fbf1ff82823d544aa1da1cb800060ac190eb Mon Sep 17 00:00:00 2001 From: firemaples Date: Sun, 14 Jan 2024 18:51:08 +0900 Subject: [PATCH 2/3] Fix circling bug on notch device --- .../onscreenocr/floatings/screenCircling/CirclingView.kt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/main/src/main/java/tw/firemaples/onscreenocr/floatings/screenCircling/CirclingView.kt b/main/src/main/java/tw/firemaples/onscreenocr/floatings/screenCircling/CirclingView.kt index cfa9431f..8b8348bc 100644 --- a/main/src/main/java/tw/firemaples/onscreenocr/floatings/screenCircling/CirclingView.kt +++ b/main/src/main/java/tw/firemaples/onscreenocr/floatings/screenCircling/CirclingView.kt @@ -95,13 +95,12 @@ class CirclingView @JvmOverloads constructor( override fun onAreaResizing(leftDiff: Int, rightDiff: Int, topDiff: Int, bottomDiff: Int) { val box = selectedBox ?: return - val parent = this@CirclingView.getViewRect() with(box) { - left = (resizeBase.left + leftDiff).coerceAtLeast(parent.left) - right = max(left + 1, resizeBase.right + rightDiff).coerceAtMost(parent.right) - top = (resizeBase.top + topDiff).coerceAtLeast(parent.top) - bottom = max(top + 1, resizeBase.bottom + bottomDiff).coerceAtMost(parent.bottom) + left = (resizeBase.left + leftDiff).coerceAtLeast(0) + right = max(left + 1, resizeBase.right + rightDiff).coerceAtMost(measuredWidth) + top = (resizeBase.top + topDiff).coerceAtLeast(0) + bottom = max(top + 1, resizeBase.bottom + bottomDiff).coerceAtMost(measuredHeight) fixBoxSize() } From cdcf6b351c562211f4780f76e6089fa70745b6df Mon Sep 17 00:00:00 2001 From: firemaples Date: Sun, 14 Jan 2024 19:15:05 +0900 Subject: [PATCH 3/3] Bump to v3.1.25 --- main/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/build.gradle b/main/build.gradle index f690c75c..a757aef0 100644 --- a/main/build.gradle +++ b/main/build.gradle @@ -27,8 +27,8 @@ android { applicationId "tw.firemaples.onscreenocr" minSdkVersion 21 targetSdkVersion 33 - versionCode 116 - versionName "3.1.24" + versionCode 117 + versionName "3.1.25" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"