зеркало из https://github.com/mozilla/gecko-dev.git
bug 688779 - restore en-US hyphenation to the Android product. r=dougt
This commit is contained in:
Родитель
d2b70213ac
Коммит
a95d1d9086
|
@ -623,6 +623,16 @@ abstract public class GeckoApp
|
|||
unpackFile(zip, buf, entry, entry.getName());
|
||||
}
|
||||
}
|
||||
|
||||
// copy any hyphenation dictionaries file into a hyphenation/ directory
|
||||
Enumeration<? extends ZipEntry> hyphenEntries = zip.entries();
|
||||
while (hyphenEntries.hasMoreElements()) {
|
||||
ZipEntry entry = hyphenEntries.nextElement();
|
||||
if (entry.getName().startsWith("hyphenation/")) {
|
||||
Log.i("GeckoAppJava", "installing hyphenation : " + entry.getName());
|
||||
unpackFile(zip, buf, entry, entry.getName());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void removeFiles() throws IOException {
|
||||
|
|
|
@ -267,6 +267,7 @@ DIST_FILES = \
|
|||
components \
|
||||
defaults \
|
||||
modules \
|
||||
hyphenation/hyph_en_US.dic \
|
||||
res \
|
||||
lib \
|
||||
lib.id \
|
||||
|
|
Загрузка…
Ссылка в новой задаче