]> git.mxchange.org Git - addressbook-lib.git/blobdiff - src/org/mxchange/addressbook/client/console/ConsoleClient.java
Some fixes + updated jcore.jar
[addressbook-lib.git] / src / org / mxchange / addressbook / client / console / ConsoleClient.java
index 082e49b9f3c04e00c59f9080c30f38be3fc77c20..ecfbd4dfa4d8e21aa2576a31ce6fb13341127014 100644 (file)
@@ -37,6 +37,7 @@ import org.mxchange.jcore.application.Application;
 import org.mxchange.jcore.exceptions.UnhandledUserChoiceException;
 import org.mxchange.jcore.model.contact.Contact;
 import org.mxchange.jcore.model.contact.gender.Gender;
+import org.mxchange.jcore.model.contact.gender.GenderUtils;
 
 /**
  * A client for the console
@@ -109,7 +110,7 @@ public class ConsoleClient extends BaseAddressbookClient implements AddressbookC
                }
 
                // Get translated gender as the user may want to see "Mr.", "Mrs."
-               String gender = contact.getTranslatedGender();
+               String gender = GenderUtils.getTranslatedGender(contact);
 
                // Get company name
                String companyName = contact.getCompanyName();