Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(UI): match capitalization to match PF guide #1260

Merged
merged 13 commits into from
Jun 5, 2024
4 changes: 2 additions & 2 deletions locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
"HOUR_one": "Hour",
"HOUR_other": "Hours",
"MAXIMUM_AGE": "Maximum age",
"MAXIMUM_AGE_HELPER_TEXT": "The maximum age of recording data stored to disk.",
"MAXIMUM_AGE_HELPER_TEXT": "The maximum age of Recording data stored to disk.",
"MAXIMUM_SIZE": "Maximum size",
"MAXIMUM_SIZE_HELPER_TEXT": "The maximum size of recording data saved to disk.",
"MAXIMUM_SIZE_HELPER_TEXT": "The maximum size of Recording data saved to disk.",
"MERIDIEM_AM": "AM",
"MERIDIEM_PM": "PM",
"MINUTE": "Minute",
Expand Down
118 changes: 59 additions & 59 deletions locales/en/public.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,40 +4,40 @@
},
"AboutDescription": {
"BUGS": "Bugs",
"FILE_A_REPORT": "File a Report",
"FILE_A_REPORT": "File a report",
"HOMEPAGE": "Homepage",
"KNOWN_ISSUES": "Known Issues",
"KNOWN_ISSUES": "Known issues",
"LICENSE": "License",
"MAILING_LIST": "Mailing List",
"OPEN_SOURCE_LICENSE": "Open Source License",
"VERSION": "version"
"MAILING_LIST": "Mailing list",
"OPEN_SOURCE_LICENSE": "Open source license",
"VERSION": "Version"
},
"AppLayout": {
"APP_LAUNCHER": {
"ABOUT": "About",
"DOCUMENTATION": "Documentation",
"GUIDED_TOUR": "Guided tour",
"HELP": "Help",
"QUICKSTARTS": "Quick Starts"
"QUICKSTARTS": "Quick starts"
}
},
"AutomatedAnalysisCard": {
"CARD_DESCRIPTION": "Assess common application performance and configuration issues.",
"CARD_DESCRIPTION_FULL": "Creates a recording and periodically evaluates various common problems in application configuration and performance. Results are displayed with scores from 0-100 with colour coding and in groups. This card should be unique on a dashboard.",
"CARD_TITLE": "Automated Analysis",
"CRITICAL_RESULTS_one": "{{count}} Critical Result",
"CRITICAL_RESULTS_other": "{{count}} Critical Results",
"CARD_DESCRIPTION_FULL": "Creates a Recording and periodically evaluates various common problems in application configuration and performance. Results are displayed with scores from 0-100 with colour coding and in groups. This card should be unique on a dashboard.",
"CARD_TITLE": "Automated analysis",
"CRITICAL_RESULTS_one": "{{count}} critical result",
"CRITICAL_RESULTS_other": "{{count}} critical results",
"ERROR_TEXT": "Cryostat was unable to generate an automated analysis report.",
"ERROR_TITLE": "Automated Analysis Error",
"ERROR_TITLE": "Automated analysis error",
"GOOD_RESULTS": "No problems",
"NO_RESULTS": "No Results Found",
"NO_RESULTS": "No results found",
"NO_RESULTS_BODY": "No results match this filter criteria. Try removing filters, showing unavailable scores, or resetting the severity score filter to 0.",
"RETRY_LOADING": "Retry loading report",
"RETRY_STARTING": "Retry starting recording",
"RETRY_STARTING": "Retry starting Recording",
"STALE_REPORT": {
"TEXT_one": "Most recent data from {{ count }} {{ units }} ago.",
"TEXT_other": "Most recent data from {{ count }} {{ units }}s ago.",
"TOOLTIP": "Report data is stale. Click the Create Recording button and choose an option to start an active recording to source automated reports from."
"TOOLTIP": "Report data is stale. Click the Create Recording button and choose an option to start an active Recording to source automated reports from."
},
"TOOLBAR": {
"CHECKBOX": {
Expand All @@ -48,7 +48,7 @@
"DELETE": {
"LABEL": "Delete automated analysis"
},
"LABEL": "Automated Analysis Toolbar",
"LABEL": "Automated analysis toolbar",
"REFRESH": {
"LABEL": "Refresh automated analysis"
},
Expand All @@ -67,19 +67,19 @@
"LABEL": "Create Recording"
},
"OPEN_SETTINGS": {
"LABEL": "Open Settings"
"LABEL": "Open settings"
}
}
},
"AutomatedAnalysisConfigForm": {
"CURRENT_CONFIG": "Current Configuration",
"FORM_TITLE": "Profiling Recording Configuration",
"CURRENT_CONFIG": "Current configuration",
"FORM_TITLE": "Profiling Recording configuration",
"FORMATTED_TEMPLATE": "Name: {{template.name}}, Type: {{template.type}}",
"MAXIMUM_AGE": "Maximum age ({{unit}})",
"MAXIMUM_SIZE": "Maximum size ({{unit}})",
"SAVE_CHANGES": "Save changes",
"TEMPLATE_HELPER_TEXT": "The Event Template to be applied to Automated Analysis recordings.",
"TEMPLATE_INVALID_WARNING": "WARNING: Setting a Target Template as a default template type configuration may not apply to all Target JVMs if the JVMs do not support them."
"TEMPLATE_HELPER_TEXT": "The Event Template to be applied to automated analysis Recordings.",
"TEMPLATE_INVALID_WARNING": "WARNING: Setting a target template as a default template type configuration may not apply to all target JVMs if the JVMs do not support them."
},
"AutomatedAnalysisScoreFilter": {
"CURRENT_SCORE_TEXT": "Only showing analysis results with severity scores ≥ {{ val }}:",
Expand Down Expand Up @@ -114,25 +114,25 @@
"MBEAN_METRICS_CARD_DESCRIPTION_FULL": "Display a single performance metric from a list of supported MBeans.",
"MBEAN_METRICS_CARD_TITLE": "MBean Metrics Chart",
"NO_RECORDING": {
"DESCRIPTION": "Metrics cards display data taken from running flight recordings with the label <label>origin={{recordingName}}</label>. No such recordings are currently available.",
"TITLE": "No source recording"
"DESCRIPTION": "Metrics cards display data taken from running Flight Recordings with the label <label>origin={{recordingName}}</label>. No such Recordings are currently available.",
"TITLE": "No source Recording"
},
"PROP_CONTROLS": {
"DATA_WINDOW": {
"DESCRIPTION": "The data window width in seconds.",
"NAME": "Data Window"
"NAME": "Data window"
},
"PERFORMANCE_METRIC": {
"DESCRIPTION": "Select the metric to display in this card.",
"NAME": "Performance Metric"
"NAME": "Performance metric"
},
"REFRESH_PERIOD": {
"DESCRIPTION": "The chart refresh period in seconds.",
"NAME": "Refresh Period"
"NAME": "Refresh period"
},
"THEME": {
"DESCRIPTION": "Select a color theme.",
"NAME": "Color Theme"
"NAME": "Color theme"
},
"THEME_COLOR": {
"DESCRIPTION": "The color theme to apply to this chart.",
Expand All @@ -147,14 +147,14 @@
}
},
"Dashboard": {
"ADD_CARD_HELPER_TEXT": "Choose a card type to add to your dashboard. Some cards require additional configuration.",
"CARD_CATALOG_DESCRIPTION": "Cards added to this Dashboard layout present information at a glance about the selected target. The layout is preserved for all targets viewed on this client.",
"CARD_CATALOG_TITLE": "Dashboard Card Catalog",
"INVALID_CARD_CONFIGURATIONS": "Invalid Card Configurations",
"ADD_CARD_HELPER_TEXT": "Choose a card type to add to your Dashboard. Some cards require additional configuration.",
"CARD_CATALOG_DESCRIPTION": "Cards added to this Dashboard Layout present information at a glance about the selected target. The layout is preserved for all targets viewed on this client.",
"CARD_CATALOG_TITLE": "Dashboard Card catalog",
"INVALID_CARD_CONFIGURATIONS": "Invalid card configurations",
"PAGE_TITLE": "Dashboard"
},
"DashboardCardActionMenu": {
"RESET_SIZE": "Reset Size"
"RESET_SIZE": "Reset size"
},
"DashboardLayoutCreateModal": {
"CREATE_LAYOUT": "Create Dashboard Layout",
Expand All @@ -164,16 +164,16 @@
"NAME_TAKEN": "Specified layout name already exists.",
"NAME_TOO_LONG": "Name must be 20 characters or less."
},
"LABEL": "Create a new dashboard layout",
"LABEL": "Create a new Dashboard Layout",
"NAME": {
"HELPER_TEXT": "Enter a name for the dashboard layout.",
"HELPER_TEXT": "Enter a name for the Dashboard Layout.",
"LABEL": "Name"
},
"RENAME_LAYOUT": "Rename Dashboard Layout"
},
"DashboardLayoutSetAsTemplateModal": {
"DOWNLOAD": {
"DESCRIPTION": "Download the current dashboard layout as a template.",
"DESCRIPTION": "Download the current Dashboard Layout as a template.",
"TITLE": "Download Custom Layout Template"
},
"ERROR": {
Expand All @@ -192,8 +192,8 @@
}
},
"SET_TEMPLATE": {
"DESCRIPTION": "Set the current dashboard layout as a template.",
"TITLE": "Set Custom Layout Template"
"DESCRIPTION": "Set the current Dashboard Layout as a template.",
"TITLE": "Set custom Layout Template"
}
},
"DashboardLayoutToolbar": {
Expand All @@ -207,7 +207,7 @@
"LABEL": "Layout menu",
"OTHERS": "Layouts"
},
"NEW_LAYOUT": "New Layout",
"NEW_LAYOUT": "New layout",
"RENAME": {
"LABEL": "Rename layout"
},
Expand All @@ -219,7 +219,7 @@
"DatetimeFilter": {
"ARIA_LABELS": {
"DATETIME_INPUT": "Input a datetime",
"SEARCH_BUTTON": "Search For Date",
"SEARCH_BUTTON": "Search for date",
"TOGGLE_CALENDAR": "Toggle the calendar"
},
"INVALID_DATE_TEXT": "Invalid date time"
Expand All @@ -236,20 +236,20 @@
"RESOLVE_MESSAGE": "Reload the page and try again. If the error still persists, see the list of <issue>{{knownIssue}}</issue> or <report>{{fileReport}}</report>."
},
"ErrorView": {
"EVENT_TEMPLATES": "Error retrieving event templates"
"EVENT_TEMPLATES": "Error retrieving Event Templates"
},
"JvmDetailsCard": {
"CARD_DESCRIPTION": "Display details about the selected target JVM.",
"CARD_DESCRIPTION_FULL": "View information such as the connection URL, labels, and annotations belonging to the selected target JVM.",
"CARD_TITLE": "Target JVM Details"
"CARD_DESCRIPTION": "Display details about the selected Target JVM.",
"CARD_DESCRIPTION_FULL": "View information such as the connection URL, Labels, and Annotations belonging to the selected Target JVM.",
"CARD_TITLE": "Target JVM details"
},
"LayoutTemplateGroup": {
"ITEMS_one": "{{count}} item",
"ITEMS_other": "{{count}} items"
},
"LayoutTemplatePicker": {
"SORT_BY": {
"CARD_COUNT": "Sort by: Card Count",
"CARD_COUNT": "Sort by: Card count",
"NAME": "Sort by: Name",
"PLACEHOLDER": "Sort by..."
}
Expand All @@ -267,7 +267,7 @@
"VERSION_INVALID": "Template version is invalid."
},
"HELP": {
"CONTENT": "Dashboard Layout Templates are pre-configured dashboard designs that can be used as a starting point for new dashboard layouts. Each template is defined in a JSON file that contains a list of dashboard cards and their configurations, as well as a unique name for the template. The name must be alphanumeric and can include underscores, dashes, and periods."
"CONTENT": "Dashboard Layout Templates are pre-configured dashboard designs that can be used as a starting point for new dashboard layouts. Each template is defined in a JSON file that contains a list of Dashboard Cards and their configurations, as well as a unique name for the template. The name must be alphanumeric and can include underscores, dashes, and periods."
},
"TITLE": "Upload Dashboard Layout Template"
},
Expand All @@ -279,34 +279,34 @@
"QuickStarts": {
"CATALOG_PAGE": {
"HINT": "Quick start tutorials to get started with Cryostat.",
"TITLE": "Quick Starts"
"TITLE": "Quick starts"
}
},
"RecordingLabelFields": {
"INVALID_UPLOADS_one": "The file does not contain valid recording metadata:",
"INVALID_UPLOADS_other": "These files do not contain valid recording metadata:"
"INVALID_UPLOADS_one": "The file does not contain valid Recording metadata:",
"INVALID_UPLOADS_other": "These files do not contain valid Recording metadata:"
},
"SETTINGS": {
"AUTO_REFRESH": {
"CHECKBOX_LABEL": "Enabled",
"DESCRIPTION": "Set the refresh period for content views. Views normally update dynamically via WebSocket notifications, so this should not be needed unless WebSockets are not working.",
"TITLE": "Auto-Refresh"
"TITLE": "Auto-refresh"
},
"AUTOMATED_ANALYSIS_CONFIG": {
"DESCRIPTION": "Set the recording configuration for automated analysis recordings. You may want smaller or larger values for max-age and max-size depending on how recent you want events to be recorded from the analysis.",
"TITLE": "Automated Analysis Recording Configuration"
"DESCRIPTION": "Set the Recording configuration for automated analysis Recordings. You may want smaller or larger values for max-age and max-size depending on how recent you want events to be recorded from the analysis.",
"TITLE": "Automated analysis Recording configuration"
},
"CATEGORIES": {
"ADVANCED": "Advanced",
"CONNECTIVITY": "Connectivity",
"DASHBOARD": "Dashboard",
"GENERAL": "General",
"NOTIFICATION_MESSAGE": "Notifications & Messages"
"NOTIFICATION_MESSAGE": "Notifications & messages"
},
"CHARTS_CONFIG": {
"DESCRIPTION": "",
"REFRESH_RATE_SETTING": "Configure the minimum time to wait between data refreshes. Individual metrics cards may still request updates on a faster cycle, but the client application instance will throttle update requests to the server according to this setting.",
"TITLE": "Dashboard Metrics Configuration"
"TITLE": "Dashboard metrics configuration"
},
"CREDENTIALS_STORAGE": {
"BACKEND": {
Expand All @@ -332,12 +332,12 @@
"DELETION_DIALOG_CONTROL": {
"DESCRIPTION": "",
"SWITCH_DESCRIPTION": "Enable or disable deletion dialogs by deletion type.",
"SWITCH_LABEL": "All Deletion Warnings",
"TITLE": "Show Deletion Dialogs"
"SWITCH_LABEL": "All deletion warnings",
"TITLE": "Show deletion dialogs"
},
"FEATURE_LEVEL": {
"DESCRIPTION": "Control which graphical features appear in the application.",
"TITLE": "Feature Level"
"TITLE": "Feature level"
},
"LANGUAGE": {
"ARIA_LABELS": {
Expand All @@ -350,7 +350,7 @@
"DESCRIPTION": "",
"INPUT": "Control the maximum number of notification alerts that appear at once.",
"INPUT_DESCRIPTION": "Enable or disable all notifications.",
"SWITCH_LABEL": "All Notifications",
"SWITCH_LABEL": "All notifications",
"TITLE": "Notifications"
},
"THEME": {
Expand All @@ -365,7 +365,7 @@
},
"WEBSOCKET_CONNECTION_DEBOUNCE": {
"DESCRIPTION": "Set the retry interval (in milliseconds) used when establishing WebSocket connections. Increase this time if the web-interface repeatedly displays WebSocket connection/disconnection messages. Decrease this time if the web-interface takes a long time to populate on startup.",
"TITLE": "WebSocket Retry Interval"
"TITLE": "WebSocket retry interval"
}
},
"TimePicker": {
Expand Down Expand Up @@ -393,7 +393,7 @@
}
},
"Topology": {
"GRAPH_VIEW": "Graph View",
"LIST_VIEW": "List View"
"GRAPH_VIEW": "Graph view",
"LIST_VIEW": "List view"
}
}
2 changes: 1 addition & 1 deletion src/app/About/AboutDescription.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const AboutDescription: React.FC = () => {
const result = cryostatVersion.match(expr);
if (!result) {
notificationsContext.warning(
'Cryostat Version Parse Failure',
'Cryostat version parse failure',
`Could not parse Cryostat version string '${cryostatVersion}'.`,
);
return;
Expand Down
4 changes: 2 additions & 2 deletions src/app/Agent/AboutAgentCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ export const AboutAgentCard: React.FC<AboutAgentCardProps> = (_) => {
<CardBody>
The JMC Agent allows users to dynamically inject custom JFR events into running JVMs. In order to make use of
the JMC Agent, the agent jar must be present in the same container as the target, and the target must be started
with the agent (-javaagent:/path/to/agent.jar). Once these pre-requisites are met, the user can upload probe
templates to Cryostat and insert them to the target, as well as view or remove currently active probes.
with the agent (-javaagent:/path/to/agent.jar). Once these pre-requisites are met, the user can upload Probe
Templates to Cryostat and insert them to the target, as well as view or remove currently active probes.
</CardBody>
</Card>
);
Expand Down
6 changes: 3 additions & 3 deletions src/app/Agent/AgentLiveProbes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ export const AgentLiveProbes: React.FC<AgentLiveProbesProps> = (_) => {
isDisabled={!filteredProbes.length || actionLoadings['REMOVE']}
{...actionLoadingProps['REMOVE']}
>
{actionLoadings['REMOVE'] ? 'Removing' : 'Remove'} All Probes
{actionLoadings['REMOVE'] ? 'Removing' : 'Remove'} all probes
</Button>
</ToolbarItem>
</ToolbarGroup>
Expand All @@ -355,7 +355,7 @@ export const AgentLiveProbes: React.FC<AgentLiveProbesProps> = (_) => {
/>
</Toolbar>
{probeRows.length ? (
<TableComposable aria-label="Active Probe Table" variant={TableVariant.compact}>
<TableComposable aria-label="Active probe table" variant={TableVariant.compact}>
<Thead>
<Tr>
{tableColumns.map(({ title, sortable }, index) => (
Expand All @@ -371,7 +371,7 @@ export const AgentLiveProbes: React.FC<AgentLiveProbesProps> = (_) => {
<EmptyState>
<EmptyStateIcon icon={SearchIcon} />
<Title headingLevel="h4" size="lg">
No Active Probes
No active probes
</Title>
</EmptyState>
)}
Expand Down
Loading
Loading