OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
298a4dc
)
Make Hyphenator load Spanish hyphenation patterns
author
Roozbeh Pournader
<roozbeh@google.com>
Wed, 2 Dec 2015 20:24:31 +0000
(12:24 -0800)
committer
Roozbeh Pournader
<roozbeh@google.com>
Wed, 2 Dec 2015 20:25:07 +0000
(12:25 -0800)
The pattern files themselves are added to the
external/hyphenation-patterns repo.
Change-Id: Icf37191f1217b7869f49f8ea63174341662caacf
core/java/android/text/Hyphenator.java
patch
|
blob
|
history
diff --git
a/core/java/android/text/Hyphenator.java
b/core/java/android/text/Hyphenator.java
index
f2b6041
..
5d9d929
100644
(file)
--- a/
core/java/android/text/Hyphenator.java
+++ b/
core/java/android/text/Hyphenator.java
@@
-166,7
+166,7
@@
public class Hyphenator {
sMap.put(null, null);
// TODO: replace this with a discovery-based method that looks into /system/usr/hyphen-data
- String[] availableLanguages = {"en-US", "eu", "hu", "hy", "nb", "nn", "und-Ethi"};
+ String[] availableLanguages = {"en-US", "e
s", "e
u", "hu", "hy", "nb", "nn", "und-Ethi"};
for (int i = 0; i < availableLanguages.length; i++) {
String languageTag = availableLanguages[i];
Hyphenator h = loadHyphenator(languageTag);