Revision: 6159
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=6159&view=rev
Author:   dnaber
Date:     2012-01-04 20:28:06 +0000 (Wed, 04 Jan 2012)
Log Message:
-----------
[de] add shorter messages more appropriate for the context menu

Modified Paths:
--------------
    trunk/JLanguageTool/src/java/org/languagetool/rules/de/AgreementRule.java

Modified: 
trunk/JLanguageTool/src/java/org/languagetool/rules/de/AgreementRule.java
===================================================================
--- trunk/JLanguageTool/src/java/org/languagetool/rules/de/AgreementRule.java   
2012-01-04 20:14:02 UTC (rev 6158)
+++ trunk/JLanguageTool/src/java/org/languagetool/rules/de/AgreementRule.java   
2012-01-04 20:28:06 UTC (rev 6159)
@@ -300,8 +300,9 @@
       final String errorDetails = errorCategories.size() > 0 ? 
StringTools.listToString(errorCategories, " und ") : "Kasus, Genus oder 
Numerus";
       final String msg = "Möglicherweise fehlende grammatische Übereinstimmung 
zwischen Artikel und Nomen " +
             "bezüglich " + errorDetails + ".";
+      final String shortMsg = "Möglicherweise keine Übereinstimmung bezüglich 
" + errorDetails;
       ruleMatch = new RuleMatch(this, token1.getStartPos(), 
-          token2.getStartPos() + token2.getToken().length(), msg);
+          token2.getStartPos() + token2.getToken().length(), msg, shortMsg);
     }
     return ruleMatch;
   }
@@ -326,8 +327,9 @@
       final String msg = "Möglicherweise fehlende grammatische Übereinstimmung 
zwischen Artikel, Adjektiv und " +
             "Nomen bezüglich Kasus, Numerus oder Genus. Beispiel: 'mein 
kleiner Haus' " +
             "statt 'mein kleines Haus'";
+      final String shortMsg = "Möglicherweise keine Übereinstimmung bezüglich 
Kasus, Numerus oder Genus";
       ruleMatch = new RuleMatch(this, token1.getStartPos(), 
-          token3.getStartPos()+token3.getToken().length(), msg);
+          token3.getStartPos()+token3.getToken().length(), msg, shortMsg);
     }
     return ruleMatch;
   }

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Languagetool-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to