/* LanguageTool, a natural language style checker 
 * Copyright (C) 2007 Daniel Naber (http://www.danielnaber.de)
 * 
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301
 * USA
 */
package de.danielnaber.languagetool.language;

import java.util.Locale;
import java.util.Set;

import de.danielnaber.languagetool.Language;

public class Slovenian extends Language {
  
  private static final String[] COUNTRIES = {
    "SI"
  };

  public Locale getLocale() {
    return new Locale(getShortName());
  }

  public String getName() {
    return "Slovenian";
  }

  public String getShortName() {
    return "sl";
  }
  
  @Override
  public String[] getCountryVariants() {
    return COUNTRIES;
  }

  public Contributor[] getMaintainers() {
    return new Contributor[] {new Contributor("Martin Srebotnjak")};
  }

  public Set<String> getRelevantRuleIDs() {
    return null;
  }

}

@@ -901,16 +901,42 @@
 guage;%0A%0A
+import java.util.HashSet;%0A
 import j
@@ -1563,20 +1563,326 @@
     
-return null;
+final Set%3CString%3E ids = new HashSet%3CString%3E();%0A    ids.add(%22COMMA_PARENTHESIS_WHITESPACE%22);%0A    ids.add(%22DOUBLE_PUNCTUATION%22);%0A    ids.add(%22UNPAIRED_BRACKETS%22);%0A    ids.add(%22UPPERCASE_SENTENCE_START%22);%0A    ids.add(%22WORD_REPEAT_RULE%22);%0A    ids.add(%22WHITESPACE_RULE%22);%0A    // specific to Slovenian: none%0A    return ids;%0A
 %0A  %7D

add generic rules for Slovenian