From: <pga...@vu...> - 2017-01-19 19:33:12
|
Revision: 44017 Author: pgardner Date: 2017-01-19 19:33:02 +0000 (Thu, 19 Jan 2017) Log Message: ----------- i18nAZ: 1.4.8 Modified Paths: -------------- plugins/i18nPlugin/i18nAZ/DictionaryDownloader.java plugins/i18nPlugin/i18nAZ/SpellChecker.java plugins/i18nPlugin/plugin.properties sfweb/plugins/details/i18nAZ.php Added Paths: ----------- sfweb/plugins/i18nAZ_1.4.8.vuze sfweb/plugins/i18nAZ_1.4.8.zip Modified: plugins/i18nPlugin/i18nAZ/DictionaryDownloader.java =================================================================== --- plugins/i18nPlugin/i18nAZ/DictionaryDownloader.java 2017-01-19 19:16:24 UTC (rev 44016) +++ plugins/i18nPlugin/i18nAZ/DictionaryDownloader.java 2017-01-19 19:33:02 UTC (rev 44017) @@ -413,19 +413,9 @@ try { dictionary = Hunspell.getInstance().getDictionary(dictionaryFolder + File.separator + languageTag); + }catch( Throwable e ){ + e.printStackTrace(); } - catch (FileNotFoundException e) - { - } - catch (UnsupportedEncodingException e) - { - } - catch (UnsatisfiedLinkError e) - { - } - catch (UnsupportedOperationException e) - { - } return dictionary; } Modified: plugins/i18nPlugin/i18nAZ/SpellChecker.java =================================================================== --- plugins/i18nPlugin/i18nAZ/SpellChecker.java 2017-01-19 19:16:24 UTC (rev 44016) +++ plugins/i18nPlugin/i18nAZ/SpellChecker.java 2017-01-19 19:33:02 UTC (rev 44017) @@ -595,6 +595,9 @@ catch (Exception e) { DictionaryDownloader.add(locale); + + }catch( Throwable e ){ + e.printStackTrace(); } SpellChecker.dictionaries.put(locale, dictionary); } @@ -625,6 +628,10 @@ List<SpellObject> misspellings = new ArrayList<SpellObject>(); Dictionary dictionary = SpellChecker.getDictionary(locale); + if ( dictionary == null ){ + return( misspellings ); + } + String[] spaceWords = value.split("\\s+"); //check duplicate word Modified: plugins/i18nPlugin/plugin.properties =================================================================== --- plugins/i18nPlugin/plugin.properties 2017-01-19 19:16:24 UTC (rev 44016) +++ plugins/i18nPlugin/plugin.properties 2017-01-19 19:33:02 UTC (rev 44017) @@ -1,5 +1,5 @@ plugin.class=i18nAZ.i18nAZ plugin.name=Internationalize Vuze plugin.langfile=i18nAZ.internat.Messages -plugin.version=1.4.7 +plugin.version=1.4.8 plugin.id=i18nAZ \ No newline at end of file Modified: sfweb/plugins/details/i18nAZ.php =================================================================== --- sfweb/plugins/details/i18nAZ.php 2017-01-19 19:16:24 UTC (rev 44016) +++ sfweb/plugins/details/i18nAZ.php 2017-01-19 19:33:02 UTC (rev 44017) @@ -13,7 +13,8 @@ $versions = array( - new PluginVersionInfo( "5.7.1.0", "1.4.7", "plugins/i18nAZ_1.4.7.zip", "plugins/i18nAZ_1.4.7.zip", + new PluginVersionInfo( "5.7.1.0", "1.4.8", "plugins/i18nAZ_1.4.8.zip", "plugins/i18nAZ_1.4.8.zip", + "1.4.8: Ignore weird error with dictionaries failing to load.<br>". "1.4.7: Fixed multi-ref display bug; added message suffix ref display" ), new PluginVersionInfo( "5.6.2.0", "1.4.6", "plugins/i18nAZ_1.4.6.zip", "plugins/i18nAZ_1.4.6.zip", @@ -52,7 +53,7 @@ // strpos( $java, '1.9') == 1 ){ // $cvs_version = - new PluginVersionInfo( "5.7.0.1", "1.4.7_CVS", "plugins/i18nAZ_1.4.7.zip", "plugins/i18nAZ_1.4.7.zip", + new PluginVersionInfo( "5.7.4.1", "1.4.8_CVS", "plugins/i18nAZ_1.4.8.zip", "plugins/i18nAZ_1.4.8.zip", "" ); Added: sfweb/plugins/i18nAZ_1.4.8.vuze =================================================================== (Binary files differ) Index: sfweb/plugins/i18nAZ_1.4.8.vuze =================================================================== --- sfweb/plugins/i18nAZ_1.4.8.vuze 2017-01-19 19:16:24 UTC (rev 44016) +++ sfweb/plugins/i18nAZ_1.4.8.vuze 2017-01-19 19:33:02 UTC (rev 44017) Property changes on: sfweb/plugins/i18nAZ_1.4.8.vuze ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: sfweb/plugins/i18nAZ_1.4.8.zip =================================================================== (Binary files differ) Index: sfweb/plugins/i18nAZ_1.4.8.zip =================================================================== --- sfweb/plugins/i18nAZ_1.4.8.zip 2017-01-19 19:16:24 UTC (rev 44016) +++ sfweb/plugins/i18nAZ_1.4.8.zip 2017-01-19 19:33:02 UTC (rev 44017) Property changes on: sfweb/plugins/i18nAZ_1.4.8.zip ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property |