r17547 by craig - Add in Spanish (Argentina) language entry and update dicts list
scribus-commit
scribus-commit at lists.scribus.net
Thu Jun 7 20:48:14 UTC 2012
Author: craig
Date: Thu Jun 7 20:48:14 2012
New Revision: 17547
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17547
Log:
Add in Spanish (Argentina) language entry and update dicts list
Modified:
trunk/Scribus/resources/spell_dicts/scribus_spell_dicts.xml
trunk/Scribus/scribus/langmgr.cpp
trunk/Scribus/scribus/plugins/tools/hunspellcheck/CMakeLists.txt
trunk/Scribus/scribus/plugins/tools/hunspellcheck/hunspellplugin.cpp
Modified: trunk/Scribus/resources/spell_dicts/scribus_spell_dicts.xml
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17547&path=/trunk/Scribus/resources/spell_dicts/scribus_spell_dicts.xml
==============================================================================
--- trunk/Scribus/resources/spell_dicts/scribus_spell_dicts.xml (original)
+++ trunk/Scribus/resources/spell_dicts/scribus_spell_dicts.xml Thu Jun 7 20:48:14 2012
@@ -7,5 +7,5 @@
<dictionary type="spell" language="en_NZ" URL="http://services.scribus.net/myspell-en_NZ-20081002.zip" description="English (New Zealand)" files="en_NZ.dic;en_NZ.aff" license="README_en_NZ.txt" version="1.0" />
<dictionary type="spell" language="en_ZA" URL="http://services.scribus.net/myspell-en_ZA-20081002.zip" description="English (South African)" files="en_ZA.dic;en_ZA.aff" license="README_en_ZA.txt" version="1.0" />
<dictionary type="spell" language="en_ZA" URL="http://services.scribus.net/myspell-en_ZA-20081002.zip" description="English (South African)" files="en_ZA.dic;en_ZA.aff" license="README_en_ZA.txt" version="1.0" />
- <dictionary type="spell" language="es_AR" URL="http://de-mirror.org/gentoo/distfiles/myspell-es_AR-20060316.zip" description="es_AR" files="es_AR.dic;es_AR.aff" license="README_es_AR.txt" version="1.0" />
+ <dictionary type="spell" language="es_AR" URL="http://de-mirror.org/gentoo/distfiles/myspell-es_AR-20120418.zip" description="Spanish (Argentina)" files="es_AR.dic;es_AR.aff" license="README_es_AR.txt" version="1.0" />
</scribus>
Modified: trunk/Scribus/scribus/langmgr.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17547&path=/trunk/Scribus/scribus/langmgr.cpp
==============================================================================
--- trunk/Scribus/scribus/langmgr.cpp (original)
+++ trunk/Scribus/scribus/langmgr.cpp Thu Jun 7 20:48:14 2012
@@ -119,6 +119,7 @@
langList.insert("ru", langPair("Russian", QObject::tr( "Russian" )) );
langList.insert("sa", langPair("Sanskrit", QObject::tr( "Sanskrit" )) );
langList.insert("es", langPair("Spanish", QObject::tr( "Spanish" )) );
+ langList.insert("es_AR", langPair("Spanish (Argentina)", QObject::tr( "Spanish (Argentina)" )) );
langList.insert("es_ES", langPair("Spanish", QObject::tr( "Spanish" )) );
langList.insert("es_LA", langPair("Spanish (Latin)", QObject::tr( "Spanish (Latin)" )) );
langList.insert("sk", langPair("Slovak", QObject::tr( "Slovak" )) );
Modified: trunk/Scribus/scribus/plugins/tools/hunspellcheck/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17547&path=/trunk/Scribus/scribus/plugins/tools/hunspellcheck/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/tools/hunspellcheck/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/tools/hunspellcheck/CMakeLists.txt Thu Jun 7 20:48:14 2012
@@ -13,12 +13,14 @@
hunspelldialog.h
hunspellplugin.h
hunspellpluginimpl.h
+ hunspelldownloader.h
)
SET(HUNSPELL_PLUGIN_SOURCES
hunspelldialog.cpp
hunspellplugin.cpp
hunspellpluginimpl.cpp
+ hunspelldownloader.cpp
)
SET(SCRIBUS_HUNSPELL_PLUGIN "hunspellplugin")
Modified: trunk/Scribus/scribus/plugins/tools/hunspellcheck/hunspellplugin.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17547&path=/trunk/Scribus/scribus/plugins/tools/hunspellcheck/hunspellplugin.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/tools/hunspellcheck/hunspellplugin.cpp (original)
+++ trunk/Scribus/scribus/plugins/tools/hunspellcheck/hunspellplugin.cpp Thu Jun 7 20:48:14 2012
@@ -8,6 +8,7 @@
#include "hunspellpluginimpl.h"
#include "scribuscore.h"
#include "ui/storyeditor.h"
+#include "hunspelldownloader.h"
// See scplugin.h and pluginmanager.{cpp,h} for detail on what these methods
// do. That documentatation is not duplicated here.
@@ -19,6 +20,9 @@
// Set action info in languageChange, so we only have to do
// it in one place.
languageChange();
+
+ HunspellDownloader hd;
+ hd.downloadDictionaryXML();
}
HunspellPlugin::~HunspellPlugin() {};
More information about the scribus-commit
mailing list