From: Martin F. <mar...@us...> - 2008-03-08 18:23:48
|
Update of /cvsroot/arianne/stendhal/src/games/stendhal/server/entity In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv5898/src/games/stendhal/server/entity Modified Files: Entity.java Log Message: eliminate underscores in messages like "The content of the small_animal is too far away." Index: Entity.java =================================================================== RCS file: /cvsroot/arianne/stendhal/src/games/stendhal/server/entity/Entity.java,v retrieving revision 1.107 retrieving revision 1.108 diff -C2 -d -r1.107 -r1.108 *** Entity.java 22 Jan 2008 22:25:23 -0000 1.107 --- Entity.java 8 Mar 2008 17:38:55 -0000 1.108 *************** *** 611,621 **** public String getDescriptionName(boolean definite) { if (has("subclass")) { ! return Grammar.article_noun(get("subclass"), definite); } else if (has("class")) { ! return Grammar.article_noun(get("class"), definite); } else { String ret = "something indescribably strange"; if (has("type")) { ! ret += " of type " + get("type"); } if (has("id")) { --- 611,621 ---- public String getDescriptionName(boolean definite) { if (has("subclass")) { ! return Grammar.article_noun(UpdateConverter.transformItemName(get("subclass")), definite); } else if (has("class")) { ! return Grammar.article_noun(UpdateConverter.transformItemName(get("class")), definite); } else { String ret = "something indescribably strange"; if (has("type")) { ! ret += " of type " + UpdateConverter.transformItemName(get("type")); } if (has("id")) { |