From 5b8d10fd5a1ef03bc6190432d258a2087c697f05 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 8 Feb 2016 01:57:45 -0500 Subject: [PATCH] v0.3.4: still more titlecase tweaks... because I'm commiting a bit too eagerly right now. --- .../shatteredpixeldungeon/messages/Messages.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/messages/Messages.java b/src/com/shatteredpixel/shatteredpixeldungeon/messages/Messages.java index c653566ec..f3da1f152 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/messages/Messages.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/messages/Messages.java @@ -158,11 +158,6 @@ public class Messages { ); public static String titleCase( String str ){ - //These languages don't do capitalization - if (lang == Languages.CHINESE || lang == Languages.KOREAN){ - return str; - } - //English capitalizes every word except for a few exceptions if (lang == Languages.ENGLISH){ String result = ""; @@ -178,7 +173,7 @@ public class Messages { return capitalize(result); } - //Otherwise, the language uses sentence case + //Otherwise, use sentence case return capitalize(str); } }