[PATCH] add Icelandic Hunspell dictionary and thesaurus

Björgvin Ragnarsson (via_Code_Review) gerrit at gerrit.libreoffice.org
Sat May 11 17:35:17 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/3860

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/60/3860/1

add Icelandic Hunspell dictionary and thesaurus

Change-Id: I7ea382194476eeef7f83caa66c9115ed1da433b2
---
M scp2/source/ooo/common_brand.scp
M scp2/source/ooo/file_ooo.scp
M scp2/source/ooo/module_ooo.scp
M scp2/source/ooo/module_ooo.ulf
M setup_native/source/packinfo/packinfo_office.txt
M setup_native/source/packinfo/spellchecker_selection.txt
6 files changed, 47 insertions(+), 0 deletions(-)



diff --git a/scp2/source/ooo/common_brand.scp b/scp2/source/ooo/common_brand.scp
index 7bf576c..d5d39e0 100644
--- a/scp2/source/ooo/common_brand.scp
+++ b/scp2/source/ooo/common_brand.scp
@@ -275,6 +275,11 @@
     DosName = "dict-hr";
 End
 
+Directory gid_Brand_Dir_Share_Extensions_Dict_Is
+    ParentID = gid_Brand_Dir_Share_Extensions;
+    DosName = "dict-is";
+End
+
 Directory gid_Brand_Dir_Share_Extensions_Dict_It
     ParentID = gid_Brand_Dir_Share_Extensions;
     DosName = "dict-it";
diff --git a/scp2/source/ooo/file_ooo.scp b/scp2/source/ooo/file_ooo.scp
index d3f596fe..11a0eb1 100644
--- a/scp2/source/ooo/file_ooo.scp
+++ b/scp2/source/ooo/file_ooo.scp
@@ -1078,6 +1078,15 @@
 #endif
 
 #if defined WITH_MYSPELL_DICTS
+File gid_File_Extension_Dictionary_Is
+        Dir = FILELIST_DIR;
+        Name = "Dictionary/dict-is.filelist";
+        Styles = (PACKED, FORCELANGUAGEPACK, FILELIST);
+        TXT_FILE_BODY;
+End
+#endif
+
+#if defined WITH_MYSPELL_DICTS
 File gid_File_Extension_Dictionary_It
 	Dir = FILELIST_DIR;
 	Name = "Dictionary/dict-it.filelist";
diff --git a/scp2/source/ooo/module_ooo.scp b/scp2/source/ooo/module_ooo.scp
index 945c133..193ae1d 100644
--- a/scp2/source/ooo/module_ooo.scp
+++ b/scp2/source/ooo/module_ooo.scp
@@ -319,6 +319,17 @@
     Styles = ();
 End
 
+Module gid_Module_Root_Extension_Dictionary_Is
+    MOD_NAME_DESC ( MODULE_EXTENSION_DICTIONARY_IT );
+    Files = (gid_File_Extension_Dictionary_Is);
+    InstallOrder = "2000";
+    Sortkey = "617";
+    Spellcheckerlanguage = "is";
+    PackageInfo = "packinfo_office.txt";
+    ParentID = gid_Module_Dictionaries;
+    Styles = ();
+End
+
 Module gid_Module_Root_Extension_Dictionary_It
     MOD_NAME_DESC ( MODULE_EXTENSION_DICTIONARY_IT );
     Files = (gid_File_Extension_Dictionary_It);
diff --git a/scp2/source/ooo/module_ooo.ulf b/scp2/source/ooo/module_ooo.ulf
index 7463ab6..3c00ad4 100644
--- a/scp2/source/ooo/module_ooo.ulf
+++ b/scp2/source/ooo/module_ooo.ulf
@@ -193,6 +193,12 @@
 [STR_DESC_MODULE_EXTENSION_DICTIONARY_HR]
 en-US = "Croatian spelling dictionary, and hyphenation rules"
 
+[STR_NAME_MODULE_EXTENSION_DICTIONARY_IS]
+en-US = "Icelandic"
+
+[STR_DESC_MODULE_EXTENSION_DICTIONARY_IS]
+en-US = "Icelandic spelling dictionary and thesaurus"
+
 [STR_NAME_MODULE_EXTENSION_DICTIONARY_IT]
 en-US = "Italian"
 
diff --git a/setup_native/source/packinfo/packinfo_office.txt b/setup_native/source/packinfo/packinfo_office.txt
index 9851174..067b0ba 100644
--- a/setup_native/source/packinfo/packinfo_office.txt
+++ b/setup_native/source/packinfo/packinfo_office.txt
@@ -794,6 +794,21 @@
 End
 
 Start
+module = "gid_Module_Root_Extension_Dictionary_Is"
+solarispackagename = "%PACKAGEPREFIX%SOLARISBRANDPACKAGENAME%BRANDPACKAGEVERSION-dict-is"
+solarisrequires = "%SOLSUREPACKAGEPREFIX%BRANDPACKAGEVERSION-ure, %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core01, %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core02, %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core03, %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core04, %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core05, %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core06, %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core07, %PACKAGEPREFIX%SOLARISBRANDPACKAGENAME%BRANDPACKAGEVERSION"
+packagename = "%UNIXPACKAGENAME%BRANDPACKAGEVERSION-dict-is"
+requires = "%UREPACKAGEPREFIX%BRANDPACKAGEVERSION-ure,%BASISPACKAGEPREFIX%PRODUCTVERSION-core01,%BASISPACKAGEPREFIX%PRODUCTVERSION-core02,%BASISPACKAGEPREFIX%PRODUCTVERSION-core03,%BASISPACKAGEPREFIX%PRODUCTVERSION-core04,%BASISPACKAGEPREFIX%PRODUCTVERSION-core05,%BASISPACKAGEPREFIX%PRODUCTVERSION-core06,%BASISPACKAGEPREFIX%PRODUCTVERSION-core07,%UNIXPACKAGENAME%BRANDPACKAGEVERSION"
+linuxpatchrequires = ""
+copyright = "2013 The Document Foundation"
+solariscopyright = "solariscopyrightfile"
+vendor = "The hunspell-is project"
+description = "Is dictionary for %PRODUCTNAME %PRODUCTVERSION"
+destpath = "/opt"
+packageversion = "%PACKAGEVERSION"
+End
+
+Start
 module = "gid_Module_Root_Extension_Dictionary_It"
 solarispackagename = "%PACKAGEPREFIX%SOLARISBRANDPACKAGENAME%BRANDPACKAGEVERSION-dict-it"
 solarisrequires = "%SOLSUREPACKAGEPREFIX%BRANDPACKAGEVERSION-ure, %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core01, %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core02, %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core03, %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core04, %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core05, %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core06, %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core07, %PACKAGEPREFIX%SOLARISBRANDPACKAGENAME%BRANDPACKAGEVERSION"
diff --git a/setup_native/source/packinfo/spellchecker_selection.txt b/setup_native/source/packinfo/spellchecker_selection.txt
index 6593a64..08dabcd 100644
--- a/setup_native/source/packinfo/spellchecker_selection.txt
+++ b/setup_native/source/packinfo/spellchecker_selection.txt
@@ -51,6 +51,7 @@
 hi = "hi"
 hu = "hu,de"
 hr = "hr,de"
+is = "is"
 it = "it,de,fr"
 ja = "EMPTY"
 ko = "EMPTY"

-- 
To view, visit https://gerrit.libreoffice.org/3860
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7ea382194476eeef7f83caa66c9115ed1da433b2
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Björgvin Ragnarsson <nifgraup at gmail.com>



More information about the LibreOffice mailing list