summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-10-28 01:50:31 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2021-10-28 03:19:56 +0530
commit447b06ec2c7e279a94f9c6519862874298ad89ef (patch)
tree970dab950a77cfb689e34a2b124f3af10a30e937
parent6da1d5ed0198bfe6c93febe279b9b0f766bbcd99 (diff)
ui: fix and silence lint errors
- The `copied_to_clipboard` translation for Farsi does not include the placeholder, so it has been removed. - A couple lints that are errors but we cannot particularly do anything about were downgraded to warnings. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
-rw-r--r--ui/build.gradle2
-rw-r--r--ui/src/main/res/values-fa-rIR/strings.xml1
2 files changed, 2 insertions, 1 deletions
diff --git a/ui/build.gradle b/ui/build.gradle
index f52a557b..2bbbe539 100644
--- a/ui/build.gradle
+++ b/ui/build.gradle
@@ -57,6 +57,8 @@ android {
}
lintOptions {
disable('LongLogTag')
+ warning('MissingTranslation')
+ warning('ImpliedQuantity')
}
}
diff --git a/ui/src/main/res/values-fa-rIR/strings.xml b/ui/src/main/res/values-fa-rIR/strings.xml
index b1f3793b..3f4df028 100644
--- a/ui/src/main/res/values-fa-rIR/strings.xml
+++ b/ui/src/main/res/values-fa-rIR/strings.xml
@@ -97,7 +97,6 @@
<string name="create_output_dir_error">نمی‌توان دایرکتوری خروجی را ایجاد کرد</string>
<string name="create_temp_dir_error">نمی‌توان دایرکتوری موقت محلی را ساخت</string>
<string name="create_tunnel">ساختن تونل</string>
- <string name="copied_to_clipboard">متن در کلیپ‌بورد کپی شد</string>
<string name="dark_theme_summary_off">اکنون از پوسته روشن(روز) استفاده می‌شود</string>
<string name="dark_theme_summary_on">اکنون از پوسته تاریک(شب) استفاده می‌شود</string>
<string name="dark_theme_title">استفاده از پوسته تاریک</string>