| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 { "cs", USCRIPT_LATIN }, | 205 { "cs", USCRIPT_LATIN }, |
| 206 { "cy", USCRIPT_LATIN }, | 206 { "cy", USCRIPT_LATIN }, |
| 207 { "da", USCRIPT_LATIN }, | 207 { "da", USCRIPT_LATIN }, |
| 208 { "de", USCRIPT_LATIN }, | 208 { "de", USCRIPT_LATIN }, |
| 209 { "dv", USCRIPT_THAANA }, | 209 { "dv", USCRIPT_THAANA }, |
| 210 { "dz", USCRIPT_TIBETAN }, | 210 { "dz", USCRIPT_TIBETAN }, |
| 211 { "ee", USCRIPT_LATIN }, | 211 { "ee", USCRIPT_LATIN }, |
| 212 { "efi", USCRIPT_LATIN }, | 212 { "efi", USCRIPT_LATIN }, |
| 213 { "el", USCRIPT_GREEK }, | 213 { "el", USCRIPT_GREEK }, |
| 214 { "en", USCRIPT_LATIN }, | 214 { "en", USCRIPT_LATIN }, |
| 215 { "es", USCRIPT_LATIN }, | 215 { "exceptionState", USCRIPT_LATIN }, |
| 216 { "et", USCRIPT_LATIN }, | 216 { "et", USCRIPT_LATIN }, |
| 217 { "eu", USCRIPT_LATIN }, | 217 { "eu", USCRIPT_LATIN }, |
| 218 { "fa", USCRIPT_ARABIC }, | 218 { "fa", USCRIPT_ARABIC }, |
| 219 { "fi", USCRIPT_LATIN }, | 219 { "fi", USCRIPT_LATIN }, |
| 220 { "fil", USCRIPT_LATIN }, | 220 { "fil", USCRIPT_LATIN }, |
| 221 { "fj", USCRIPT_LATIN }, | 221 { "fj", USCRIPT_LATIN }, |
| 222 { "fo", USCRIPT_LATIN }, | 222 { "fo", USCRIPT_LATIN }, |
| 223 { "fr", USCRIPT_LATIN }, | 223 { "fr", USCRIPT_LATIN }, |
| 224 { "fur", USCRIPT_LATIN }, | 224 { "fur", USCRIPT_LATIN }, |
| 225 { "fy", USCRIPT_LATIN }, | 225 { "fy", USCRIPT_LATIN }, |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 395 break; | 395 break; |
| 396 UScriptCode code = scriptNameToCode(canonicalLocale.substring(pos + 1)); | 396 UScriptCode code = scriptNameToCode(canonicalLocale.substring(pos + 1)); |
| 397 if (code != USCRIPT_INVALID_CODE && code != USCRIPT_UNKNOWN) | 397 if (code != USCRIPT_INVALID_CODE && code != USCRIPT_UNKNOWN) |
| 398 return code; | 398 return code; |
| 399 canonicalLocale = canonicalLocale.substring(0, pos); | 399 canonicalLocale = canonicalLocale.substring(0, pos); |
| 400 } | 400 } |
| 401 return USCRIPT_COMMON; | 401 return USCRIPT_COMMON; |
| 402 } | 402 } |
| 403 | 403 |
| 404 } // namespace WebCore | 404 } // namespace WebCore |
| OLD | NEW |