diff --git a/tine20/Addressbook/js/ContactGrid.js b/tine20/Addressbook/js/ContactGrid.js index 0de0c1820d..c5b9f40c3e 100644 --- a/tine20/Addressbook/js/ContactGrid.js +++ b/tine20/Addressbook/js/ContactGrid.js @@ -231,12 +231,11 @@ Tine.Addressbook.ContactGridPanel.countryRenderer = function(data) { * @return {*} */ Tine.Addressbook.ContactGridPanel.preferredAddressRenderer = function(value) { - var i18n = Tine.Tinebase.appMgr.get('Addressbook').i18n; - + const i18n = Tine.Tinebase.appMgr.get('Addressbook').i18n; switch (value) { - case '0': + case 'adr_one': return i18n._('Business'); - case '1': + case 'adr_two': return i18n._('Private'); default: return i18n._('Not set');