diff options
author | Tor Norbye <tnorbye@google.com> | 2012-08-28 14:59:53 -0700 |
---|---|---|
committer | Tor Norbye <tnorbye@google.com> | 2012-08-28 14:59:53 -0700 |
commit | ec9484e931d521ccb97da090a0a91986a6b9a5eb (patch) | |
tree | f23cbb03023a94db53841b33371ff9e512520390 | |
parent | 96e729c9d0a7ba82e93eb30a9698e1f3f349b653 (diff) | |
download | sdk-ec9484e931d521ccb97da090a0a91986a6b9a5eb.zip sdk-ec9484e931d521ccb97da090a0a91986a6b9a5eb.tar.gz sdk-ec9484e931d521ccb97da090a0a91986a6b9a5eb.tar.bz2 |
Minor tweaks and typos
Change-Id: I46630c51a4f055222fb614d73419cb28272b87de
3 files changed, 3 insertions, 3 deletions
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/LocaleManager.java b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/LocaleManager.java index 60120ee..e4da6e8 100644 --- a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/LocaleManager.java +++ b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/LocaleManager.java @@ -758,7 +758,7 @@ public class LocaleManager { // "pa": Panjabi, -> Pakistan, India sLanguageToCountry.put("pa", "PK"); //$NON-NLS-1$ //$NON-NLS-2$ - sLanguageNames.put("pa", "Panjabi,"); //$NON-NLS-1$ + sLanguageNames.put("pa", "Panjabi"); //$NON-NLS-1$ // "pl": Polish -> Poland sLanguageToCountry.put("pl", "PL"); //$NON-NLS-1$ //$NON-NLS-2$ diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/LintFix.java b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/LintFix.java index 1ab02c3..c02c303 100644 --- a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/LintFix.java +++ b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/LintFix.java @@ -106,7 +106,7 @@ abstract class LintFix implements ICompletionProposal { public String getAdditionalProposalInfo() { Issue issue = EclipseLintClient.getRegistry().getIssue(mId); if (issue != null) { - return issue.getExplanation().replace("\n", "<br>"); //$NON-NLS-1$ //$NON-NLS-2$ + return issue.getExplanationAsHtml(); } return null; diff --git a/lint/libs/lint_checks/src/com/android/tools/lint/checks/TranslationDetector.java b/lint/libs/lint_checks/src/com/android/tools/lint/checks/TranslationDetector.java index c796d26..a501e05 100644 --- a/lint/libs/lint_checks/src/com/android/tools/lint/checks/TranslationDetector.java +++ b/lint/libs/lint_checks/src/com/android/tools/lint/checks/TranslationDetector.java @@ -74,7 +74,7 @@ public class TranslationDetector extends ResourceXmlDetector { "If an application has more than one locale, then all the strings declared in " + "one language should also be translated in all other languages.\n" + "\n" + - "If the string should *not* be translated, you can add the attribute\n" + + "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\"` " + |