You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 14, 2024. It is now read-only.
* Clarify test name
* Update Gemfile.lock
* Add feature to filter by issue ID
Set filter_issue_ids to an array of issue IDs to be ignored.
* Add documentation for filter_issue_ids
* Bump to version 0.0.11
* Rename to excluding_issue_ids
* Update gem version in Gemfile.lock
* Rename to excluding_issue_ids in readme and changelog
expect(markdown).toinclude("Implicitly using the default locale")
203
+
expect(markdown).not_toinclude("is not translated in")
204
+
expect(markdown).not_toinclude("The project references RTL attributes, but does not explicitly enable or disable RTL support with `android:supportsRtl` in the manifest")
Copy file name to clipboardExpand all lines: spec/fixtures/lint-result-with-everything.xml
+30Lines changed: 30 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -61,4 +61,34 @@ If you want the methods to just perform ASCII replacement, for example to conver
61
61
column="16"/>
62
62
</issue>
63
63
64
+
<issue
65
+
id="MissingTranslation"
66
+
severity="Error"
67
+
message=""someStringResource" is not translated in "de" (German), "fi" (Finnish), "ru" (Russian), "sv" (Swedish), &q
explanation="If an application has more than one locale, then all the strings declared in one language should also be translated in all other languages.

If the string should **not** be translated, you can add the attribute `translatable="false"` on the `<string>` element, or you can define all your non-translatable strings in a resource file called `donottranslate.xml`. Or, you can ignore the issue with a `tools:ignore="MissingTranslation"` attribute.

You can tell lint (and other tools) which language is the default language in your `res/values/` folder by specifying `tools:locale="languageCode"` for the root `<resources>` element in your resource file. (The `tools` prefix refers to the namespace declaration `http://schemas.android.com/tools`.)"
74
+
errorLine1="<string name="someStringResource">Hello this is a string resource.</string>"
summary="Using RTL attributes without enabling RTL support"
89
+
explanation="To enable right-to-left support, when running on API 17 and higher, you must set the `android:supportsRtl` attribute in the manifest `<application>` element.

If you have started adding RTL attributes, but have not yet finished the migration, you can set the attribute to false to satisfy this lint check.">
0 commit comments