diff --git a/gui/griffon-app/views/com/muwire/gui/ChatRoomView.groovy b/gui/griffon-app/views/com/muwire/gui/ChatRoomView.groovy index 88ef42a6..2e0c1ad1 100644 --- a/gui/griffon-app/views/com/muwire/gui/ChatRoomView.groovy +++ b/gui/griffon-app/views/com/muwire/gui/ChatRoomView.groovy @@ -78,7 +78,7 @@ class ChatRoomView { membersTable = table(autoCreateRowSorter : true, rowHeight : rowHeight) { tableModel(list : model.members) { closureColumn(header : trans("NAME"), preferredWidth: 100, type: String, read : {it.getHumanReadableName()}) - closureColumn(header : trans("TRUST_STATUS"), preferredWidth: 30, type : String, read : {String.valueOf(model.core.trustService.getLevel(it.destination))}) + closureColumn(header : trans("TRUST_STATUS"), preferredWidth: 30, type : String, read : {trans(model.core.trustService.getLevel(it.destination).name())}) } } } diff --git a/gui/griffon-app/views/com/muwire/gui/FetchCertificatesView.groovy b/gui/griffon-app/views/com/muwire/gui/FetchCertificatesView.groovy index fef4b20d..110970d3 100644 --- a/gui/griffon-app/views/com/muwire/gui/FetchCertificatesView.groovy +++ b/gui/griffon-app/views/com/muwire/gui/FetchCertificatesView.groovy @@ -53,7 +53,7 @@ class FetchCertificatesView { certsTable = table(autoCreateRowSorter : true, rowHeight : rowHeight) { tableModel(list : model.certificates) { closureColumn(header : trans("ISSUER"), preferredWidth : 200, type : String, read : {it.issuer.getHumanReadableName()}) - closureColumn(header : trans("TRUST_STATUS"), preferredWidth: 50, type : String, read : {controller.core.trustService.getLevel(it.issuer.destination)}) + closureColumn(header : trans("TRUST_STATUS"), preferredWidth: 50, type : String, read : {trans(controller.core.trustService.getLevel(it.issuer.destination).name())}) closureColumn(header : trans("NAME"), preferredWidth : 200, type: String, read : {it.name.name.toString()}) closureColumn(header : trans("ISSUED"), preferredWidth : 100, type : String, read : { def date = new Date(it.timestamp)