Merge pull request #5959 from ethteck/6444_account_add_err

6444 Improve account add error message
This commit is contained in:
Richard Cordovano 2020-06-11 11:04:30 -04:00 committed by GitHub
commit 014f971f4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,7 +83,7 @@ public class AddAccountDialog extends JDialog {
@Messages({
"AddAccountDialog_get_types_exception_Title=Central Repository failure",
"AddAccountDialog_get_types_exception_msg=Failed to access central repository",
"AddAccountDialog_get_types_exception_msg=Failed to access central repository.",
})
private CentralRepoAccountType[] getAllAccountTypes() {
Collection<CentralRepoAccountType> allAccountTypes;
@ -249,13 +249,13 @@ public class AddAccountDialog extends JDialog {
@Messages({
"AddAccountDialog_dup_Title=Account add failure",
"AddAccountDialog_dup_msg=This account is already added to the persona",
"AddAccountDialog_dup_msg=This account is already added to the persona.",
"AddAccountDialog_empty_Title=Empty identifier",
"AddAccountDialog_empty_msg=The identifier field cannot be empty",
"AddAccountDialog_empty_msg=The identifier field cannot be empty.",
"AddAccountDialog_search_failure_Title=Account add failure",
"AddAccountDialog_search_failure_msg=Central Repository account search failed",
"AddAccountDialog_search_failure_msg=Central Repository account search failed.",
"AddAccountDialog_search_empty_Title=Account not found",
"AddAccountDialog_search_empty_msg=Account not found for given identifier and type",})
"AddAccountDialog_search_empty_msg=Account not found in the Central Repository for the given identifier and type.",})
private void okBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_okBtnActionPerformed
if (identifierTextField.getText().isEmpty()) {
JOptionPane.showMessageDialog(this,