minor cleanups
This commit is contained in:
4
CHANGES
4
CHANGES
@ -12,7 +12,9 @@
|
||||
- Sync buttons sync all or selected (ticket #1233) (thx hikiko)
|
||||
- Refactor and fix freenet support (ticket #1424) (thx hikiko)
|
||||
- Fix NPE in sortFiles() urn:syndie:channel:d7:channel44:MrsSwvkmnhkgujdeWHdRVX~1VAnMM9slpHRRjDg6Szs=9:messageIdi1421552448706ee
|
||||
- Enable clearnet https archives (requires I2P 0.9.9 or higher)
|
||||
- Fix NPE at shutdown
|
||||
- Enable clearnet https archives
|
||||
- Remove mac32 build target
|
||||
- Translation updates
|
||||
- New translations: Greek, Italian, Dutch, Brazilian Portuguese, Ukrainian, Chinese, Turkish
|
||||
|
||||
|
4
TODO
4
TODO
@ -53,8 +53,4 @@ Sync:
|
||||
- Allow much more frequent syncing
|
||||
|
||||
Translation:
|
||||
- Compare TranslationRegistry.java to I2P's Translate.java, decide whether to switch to I2P's
|
||||
Translate class (yes), and set up translation .po files
|
||||
- edit/create translations
|
||||
- Sync to I2P transifex
|
||||
- internationalize the text UI
|
||||
|
@ -1,15 +1,18 @@
|
||||
package syndie.gui;
|
||||
|
||||
import com.swabunga.spell.engine.SpellDictionary;
|
||||
import com.swabunga.spell.engine.SpellDictionaryHashMap;
|
||||
|
||||
import java.io.BufferedInputStream;
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.io.FileInputStream;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStreamReader;
|
||||
import java.io.Reader;
|
||||
|
||||
import com.swabunga.spell.engine.SpellDictionary;
|
||||
import com.swabunga.spell.engine.SpellDictionaryHashMap;
|
||||
|
||||
import net.i2p.util.SimpleTimer2;
|
||||
import net.i2p.util.SystemVersion;
|
||||
|
||||
import syndie.db.JobRunner;
|
||||
|
||||
/**
|
||||
@ -19,7 +22,7 @@ public class SpellUtil {
|
||||
private static SpellDictionaryHashMap _dictionary;
|
||||
private static volatile boolean _isEnabled;
|
||||
|
||||
private static final boolean _isWin = System.getProperty("os.name").startsWith("Win");
|
||||
private static final boolean _isWin = SystemVersion.isWindows();
|
||||
|
||||
private static final String PROP_STANDARD_WORDS = "syndie.dict";
|
||||
private static final String STANDARD_WORDS = "/usr/share/dict/words";
|
||||
|
Reference in New Issue
Block a user