diff options
author | Adam Lesinski <adamlesinski@google.com> | 2014-06-03 13:47:54 -0700 |
---|---|---|
committer | Adam Lesinski <adamlesinski@google.com> | 2014-06-03 13:47:54 -0700 |
commit | 8ee244355bdba6773e3647f0f283995fefb10c3a (patch) | |
tree | bf6f13aa63d8518ae6ade676ec535127d61a2a1c | |
parent | 6dd6a3dfa0c3b0e938abb52c8b453a5cf2dcd364 (diff) | |
parent | 522c5ce280de6467bfdb99eeb384bf8c1c7bd49b (diff) | |
download | frameworks_base-8ee244355bdba6773e3647f0f283995fefb10c3a.zip frameworks_base-8ee244355bdba6773e3647f0f283995fefb10c3a.tar.gz frameworks_base-8ee244355bdba6773e3647f0f283995fefb10c3a.tar.bz2 |
resolved conflicts for merge of 522c5ce2 to master
Change-Id: I15c7f78e9c81947e33270251d7b50e592fb61583
-rw-r--r-- | tools/aapt/Main.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/tools/aapt/Main.cpp b/tools/aapt/Main.cpp index 5a60014..322d86c 100644 --- a/tools/aapt/Main.cpp +++ b/tools/aapt/Main.cpp @@ -105,20 +105,12 @@ void usage(void) " en\n" " port,en\n" " port,land,en_US\n" - " If you put the special locale, zz_ZZ on the list, it will perform\n" - " pseudolocalization on the default locale, modifying all of the\n" - " strings so you can look for strings that missed the\n" - " internationalization process. For example:\n" - " port,land,zz_ZZ\n" " -d one or more device assets to include, separated by commas\n" " -f force overwrite of existing files\n" " -g specify a pixel tolerance to force images to grayscale, default 0\n" " -j specify a jar or zip file containing classes to include\n" " -k junk path of file(s) added\n" " -m make package directories under location specified by -J\n" -#if 0 - " -p pseudolocalize the default configuration\n" -#endif " -u update existing packages (add new, replace older, remove deleted files)\n" " -v verbose output\n" " -x create extending (non-application) resource IDs\n" @@ -141,6 +133,8 @@ void usage(void) " manifest, making the application debuggable even on production devices.\n" " --include-meta-data\n" " when used with \"dump badging\" also includes meta-data tags.\n" + " --pseudo-localize\n" + " generate resources for pseudo-locales (en-XA and ar-XB).\n" " --min-sdk-version\n" " inserts android:minSdkVersion in to manifest. If the version is 7 or\n" " higher, the default encoding for resources will be in UTF-8.\n" @@ -647,6 +641,8 @@ int main(int argc, char* const argv[]) goto bail; } gUserIgnoreAssets = argv[0]; + } else if (strcmp(cp, "-pseudo-localize") == 0) { + bundle.setPseudolocalize(PSEUDO_ACCENTED | PSEUDO_BIDI); } else { fprintf(stderr, "ERROR: Unknown option '-%s'\n", cp); wantUsage = true; |