mirror of https://github.com/zlatinb/muwire
singular and plural forms of certificate issued string
parent
355f7cc9eb
commit
4b5311c117
|
@ -459,10 +459,15 @@ class MainFrameController {
|
|||
params['home'] = core.home
|
||||
mvcGroup.createMVCGroup("certificate-warning", params)
|
||||
} else {
|
||||
int count = 0
|
||||
view.selectedSharedFiles().each {
|
||||
count++
|
||||
core.eventBus.publish(new UICreateCertificateEvent(sharedFile : it))
|
||||
}
|
||||
JOptionPane.showMessageDialog(null, trans("CERTIFICATES_ISSUED"))
|
||||
if (count > 1)
|
||||
JOptionPane.showMessageDialog(null, trans("CERTIFICATES_ISSUED"))
|
||||
else if (count == 1)
|
||||
JOptionPane.showMessageDialog(null, trans("CERTIFICATE_ISSUED"))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -221,7 +221,8 @@ SELECT_FILES_OR_DIRECTORIES_TO_SHARE=Select files or folders to share
|
|||
|
||||
# various JOption prompts
|
||||
ENTER_REASON_OPTIONAL=Enter reason (optional)
|
||||
CERTIFICATES_ISSUED=Certificate(s) have been issued
|
||||
CERTIFICATE_ISSUED=Certificate has been issued
|
||||
CERTIFICATES_ISSUED=Certificates have been issued
|
||||
PLEASE_SELECT_ONE_FILE_DETAILS=Please select only one file to view it's details
|
||||
PLEASE_SELECT_ONE_FILE_FOLDER=Please select only one file to open it's containing folder
|
||||
COPY_PASTE_SERVER_ADDRESS=Copy/paste the address of the server here
|
||||
|
|
Loading…
Reference in New Issue