v0.3.4: still more titlecase tweaks...

because I'm commiting a bit too eagerly right now.
This commit is contained in:
Evan Debenham 2016-02-08 01:57:45 -05:00 committed by Evan Debenham
parent 778ea640af
commit 5b8d10fd5a

View File

@ -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);
}
}