mirror of https://github.com/zlatinb/muwire
Show Comment -> View Comment
parent
b3e8b55fdf
commit
6f153d5472
|
@ -426,7 +426,6 @@ ISSUER=Issuer
|
|||
TRUST_STATUS=Trust Status
|
||||
ISSUED=Issued
|
||||
IMPORT=Import
|
||||
SHOW_COMMENT=Show Comment
|
||||
CERTIFICATES_IMPORTED=Certificates imported.
|
||||
CERTIFICATE_COMMENT=Certificate Comment
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ class CertificateControlView {
|
|||
}
|
||||
}
|
||||
panel (constraints : BorderLayout.SOUTH) {
|
||||
button(text : trans("SHOW_COMMENT"), enabled : bind {model.showCommentActionEnabled}, showCommentAction)
|
||||
button(text : trans("VIEW_COMMENT"), enabled : bind {model.showCommentActionEnabled}, showCommentAction)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -147,7 +147,7 @@ class CertificateControlView {
|
|||
if (!model.showCommentActionEnabled)
|
||||
return
|
||||
JPopupMenu menu = new JPopupMenu()
|
||||
JMenuItem showComment = new JMenuItem(trans("SHOW_COMMENT"))
|
||||
JMenuItem showComment = new JMenuItem(trans("VIEW_COMMENT"))
|
||||
showComment.addActionListener({controller.showComment()})
|
||||
menu.add(showComment)
|
||||
menu.show(e.getComponent(), e.getX(), e.getY())
|
||||
|
|
|
@ -65,7 +65,7 @@ class FetchCertificatesView {
|
|||
}
|
||||
panel(constraints : BorderLayout.SOUTH) {
|
||||
button(text : trans("IMPORT"), enabled : bind {model.importActionEnabled}, importCertificatesAction)
|
||||
button(text : trans("SHOW_COMMENT"), enabled : bind {model.showCommentActionEnabled}, showCommentAction)
|
||||
button(text : trans("VIEW_COMMENT"), enabled : bind {model.showCommentActionEnabled}, showCommentAction)
|
||||
button(text : trans("CLOSE"), dismissAction)
|
||||
}
|
||||
}
|
||||
|
@ -107,7 +107,7 @@ class FetchCertificatesView {
|
|||
importItem.addActionListener({controller.importCertificates()})
|
||||
menu.add(importItem)
|
||||
if (model.showCommentActionEnabled) {
|
||||
JMenuItem showComment = new JMenuItem(trans("SHOW_COMMENt"))
|
||||
JMenuItem showComment = new JMenuItem(trans("VIEW_COMMENT"))
|
||||
showComment.addActionListener({controller.showComment()})
|
||||
menu.add(showComment)
|
||||
}
|
||||
|
|
|
@ -84,7 +84,7 @@ class SharedFileView {
|
|||
}
|
||||
}
|
||||
panel(constraints : BorderLayout.SOUTH) {
|
||||
button(text : trans("SHOW_COMMENT"), enabled : bind {model.showCommentActionEnabled}, showCommentAction)
|
||||
button(text : trans("VIEW_COMMENT"), enabled : bind {model.showCommentActionEnabled}, showCommentAction)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -147,7 +147,7 @@ class SharedFileView {
|
|||
if (!model.showCommentActionEnabled)
|
||||
return
|
||||
JPopupMenu menu = new JPopupMenu()
|
||||
JMenuItem showComment = new JMenuItem(trans("SHOW_COMMENT"))
|
||||
JMenuItem showComment = new JMenuItem(trans("VIEW_COMMENT"))
|
||||
showComment.addActionListener({controller.showComment()})
|
||||
menu.add(showComment)
|
||||
menu.show(e.getComponent(), e.getX(), e.getY())
|
||||
|
|
Loading…
Reference in New Issue