Hi Daniel,

sorry to bother. I was try to commit the patch but I get this error on the new file that I need to add

    svn: '/Users/paolo/Documents/Personal/Languagetool/workspace/languagetool/languagetool-core/src/main/java/org/languagetool/rules/WhitespaceBeforePunctuationRule.java' is not under version control


The menu entry for adding the file in my svn client is disabled.

Thanks

Paolo

Attachment: WhitespaceBeforePunctuationRule.java
Description: Binary data

### Eclipse Workspace Patch 1.0
#P languagetool
Index: languagetool-language-modules/it/src/main/resources/org/languagetool/MessagesBundle_it.properties
===================================================================
--- languagetool-language-modules/it/src/main/resources/org/languagetool/MessagesBundle_it.properties (revision 9815)
+++ languagetool-language-modules/it/src/main/resources/org/languagetool/MessagesBundle_it.properties (working copy)
@@ -73,6 +73,12 @@
 
 desc_spelling_short = Errore di battitura
 
+# 3607406 +
+
+desc_whitespace_before_punctuation = Utilizzo dello spazio prima di : ; %
+
+# 3607406 -
+
 double_dots_short = Due punti consecutivi
 
 double_commas_short = Due virgole consecutive
@@ -195,7 +201,7 @@
 
 ml = Malayalam
 
-nl = Olandese
+nl = Neerlandese
 
 no_space_after = Non inserire lo spazio dopo l'apertura di parentesi
 
@@ -203,6 +209,16 @@
 
 no_space_before_dot = Non inserire lo spazio dopo il punto a capo
 
+# 3607406 +
+
+no_space_before_colon = Non inserire uno spazio prima dei due punti
+
+no_space_before_semicolon = Non inserire uno spazio prima del punto e virgola
+
+no_space_before_percentage = Non inserire uno spazio prima del segno di percentuale
+
+# 3607406 -
+
 pl = Polacco
 
 repetition = Possibile errore di battitura\: parola ripetuta
Index: languagetool-language-modules/it/src/main/java/org/languagetool/language/Italian.java
===================================================================
--- languagetool-language-modules/it/src/main/java/org/languagetool/language/Italian.java (revision 9815)
+++ languagetool-language-modules/it/src/main/java/org/languagetool/language/Italian.java (working copy)
@@ -30,6 +30,10 @@
 import org.languagetool.rules.WhitespaceRule;
 import org.languagetool.rules.WordRepeatRule;
 import org.languagetool.rules.it.MorfologikItalianSpellerRule;
+// 3607406 +
+import org.languagetool.rules.WhitespaceBeforePunctuationRule;
+// 3607406 -
+
 import org.languagetool.tagging.Tagger;
 import org.languagetool.tagging.it.ItalianTagger;
 
@@ -79,6 +83,9 @@
   @Override
   public List<Class<? extends Rule>> getRelevantRules() {
     return Arrays.asList(
+// 3607406 +
+     WhitespaceBeforePunctuationRule.class,
+// 3607406 -
             CommaWhitespaceRule.class,
             DoublePunctuationRule.class,
             GenericUnpairedBracketsRule.class,
Index: languagetool-core/src/main/resources/org/languagetool/MessagesBundle.properties
===================================================================
--- languagetool-core/src/main/resources/org/languagetool/MessagesBundle.properties (revision 9815)
+++ languagetool-core/src/main/resources/org/languagetool/MessagesBundle.properties (working copy)
@@ -73,6 +73,12 @@
 
 desc_spelling_short = Spelling mistake
 
+# 3607406 +
+
+desc_whitespace_before_punctuation = Use of whitespace before colon, semicolon and percentage.
+
+# 3607406 -
+
 double_dots_short = Two consecutive dots
 
 double_commas_short = Two consecutive comma
@@ -203,6 +209,16 @@
 
 no_space_before_dot = Don't put a space before the full stop
 
+# 3607406 +
+
+no_space_before_colon = Don't put a space before the colon
+
+no_space_before_semicolon = Don't put a space before the semicolon
+
+no_space_before_percentage = Don't put a space before the percentage
+
+# 3607406 -
+
 pl = Polish
 
 repetition = Possible typo: you repeated a word

On Apr 7, 2013, at 9:40 AM, Daniel Naber wrote:

On 06.04.2013, 21:32:38 Paolo Bianchini wrote:

Here's the last version of the rule.

Let me know if it is ok.

Look good, thanks! You can use your own name and the year 2013 for the
copyright notice. Also, fixLen seems to be always 1, so that variable isn't
needed I guess.

Regards
Daniel

--
http://www.danielnaber.de


------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Languagetool-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Languagetool-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to