From f9fc58b23f66470ec01054cd07c50146f8ac8dce Mon Sep 17 00:00:00 2001 From: Tor Norbye Date: Mon, 26 Nov 2012 12:02:32 -0800 Subject: Add support for specifying default language in res/values This changeset adds support for a tools:locale attribute in resource files where you can declare which language is actually the default. This is used both by the missing translation detector (such that it won't complain if for example values-en-rUS is intended to supplement res/values/), as well as the typo detector (to allow you to specify which language's dictionary should be used to look for typos in the default resource file.) This addresses 33845: lint is wrong about translation regions Change-Id: Icb16cf11407c333845b56b6d105c99a8661430b0 --- common/src/com/android/SdkConstants.java | 1 + 1 file changed, 1 insertion(+) (limited to 'common/src/com/android') diff --git a/common/src/com/android/SdkConstants.java b/common/src/com/android/SdkConstants.java index a113875..04cd6f0 100644 --- a/common/src/com/android/SdkConstants.java +++ b/common/src/com/android/SdkConstants.java @@ -967,6 +967,7 @@ public final class SdkConstants { // Attributes related to tools public static final String ATTR_IGNORE = "ignore"; //$NON-NLS-1$ + public static final String ATTR_LOCALE = "locale"; //$NON-NLS-1$ // SuppressLint public static final String SUPPRESS_ALL = "all"; //$NON-NLS-1$ -- cgit v1.1