CVT Fixed persona message

This commit is contained in:
Kelly Kelly 2021-01-21 11:33:50 -05:00
parent 1fcefca79d
commit a0d8f16174
2 changed files with 3 additions and 6 deletions

View File

@ -35,12 +35,8 @@ MessageViewer_viewMessage_all=All
MessageViewer_viewMessage_calllogs=Call Logs MessageViewer_viewMessage_calllogs=Call Logs
MessageViewer_viewMessage_selected=Selected MessageViewer_viewMessage_selected=Selected
MessageViewer_viewMessage_unthreaded=Unthreaded MessageViewer_viewMessage_unthreaded=Unthreaded
# {0} - PersonaAccount count
RelationshipsNodeUtilities_Tooltip_suffix=(1 of {0}) RelationshipsNodeUtilities_Tooltip_suffix=(1 of {0})
# {0} - Contact Name
# {1} - Persona Name
RelationshipsNodeUtilities_Tooltip_Template=Contact: {0} - Persona: {1} RelationshipsNodeUtilities_Tooltip_Template=Contact: {0} - Persona: {1}
# {0} - accountIdentifer
SummaryPersonaPane_not_account_in_cr=Unable to find an account with identifier {0} in the Central Repository. SummaryPersonaPane_not_account_in_cr=Unable to find an account with identifier {0} in the Central Repository.
SummaryViewer.countsPanel.border.title=Communications SummaryViewer.countsPanel.border.title=Communications
OutlineViewPanel.messageLabel.text=<Control Disabled> OutlineViewPanel.messageLabel.text=<Control Disabled>
@ -59,6 +55,7 @@ SummaryViewer_Device_Account_Description=This account was referenced by a device
SummaryViewer_Fetching_References=<Fetching File References> SummaryViewer_Fetching_References=<Fetching File References>
SummaryViewer_FileRef_Message=<Select a single account to see File References> SummaryViewer_FileRef_Message=<Select a single account to see File References>
SummaryViewer_FileRefNameColumn_Title=Path SummaryViewer_FileRefNameColumn_Title=Path
SummaryViewer_Persona_CR_Message=<Enable Central Repository to view Personas>
SummaryViewer_Persona_Message=<Enable Central Repository to view Personas> SummaryViewer_Persona_Message=<Enable Central Repository to view Personas>
SummaryViewer_Select_account_for_persona=<Select a single account to see Persona(s)> SummaryViewer_Select_account_for_persona=<Select a single account to see Persona(s)>
SummaryViewer_TabTitle=Summary SummaryViewer_TabTitle=Summary

View File

@ -205,7 +205,7 @@ public class SummaryViewer extends javax.swing.JPanel implements RelationshipsVi
@Messages({ @Messages({
"SummaryViewer_Fetching_References=<Fetching File References>", "SummaryViewer_Fetching_References=<Fetching File References>",
"SummaryViewer_Persona_Message=<Enable Central Repository to view Personas>" "SummaryViewer_Persona_CR_Message=<Enable Central Repository to view Personas>"
}) })
private void updateOtherAccountInfo(final Account account) { private void updateOtherAccountInfo(final Account account) {
SummaryPanelWorker worker = new SummaryPanelWorker(account) { SummaryPanelWorker worker = new SummaryPanelWorker(account) {
@ -228,7 +228,7 @@ public class SummaryViewer extends javax.swing.JPanel implements RelationshipsVi
if (CentralRepository.isEnabled()) { if (CentralRepository.isEnabled()) {
((SummaryPersonaPane) personaPanel).updatePersonaList(account, results.getCRAccount(), personaList); ((SummaryPersonaPane) personaPanel).updatePersonaList(account, results.getCRAccount(), personaList);
} else { } else {
((SummaryPersonaPane) personaPanel).setMessage("Bundle.SummaryViewer_Persona_Message()"); ((SummaryPersonaPane) personaPanel).setMessage(Bundle.SummaryViewer_Persona_CR_Message());
((SummaryPersonaPane) personaPanel).showMessagePanel(); ((SummaryPersonaPane) personaPanel).showMessagePanel();
} }