Skip to content

Commit

Permalink
ui: fix and silence lint errors
Browse files Browse the repository at this point in the history
- 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 <[email protected]>
  • Loading branch information
msfjarvis committed Oct 27, 2021
1 parent 6da1d5e commit 447b06e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ui/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ android {
}
lintOptions {
disable('LongLogTag')
warning('MissingTranslation')
warning('ImpliedQuantity')
}
}

Expand Down
1 change: 0 additions & 1 deletion ui/src/main/res/values-fa-rIR/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 447b06e

Please sign in to comment.