Skip to content

Commit

Permalink
Merged in bugfix/SHIBUI-2178 (pull request #548)
Browse files Browse the repository at this point in the history
Fixed placeholder text problems

Approved-by: Bill Smith
Approved-by: Jonathan Johnson
  • Loading branch information
rmathis authored and Jonathan Johnson committed Nov 1, 2021
2 parents bc8ea11 + 9fc2a1e commit e9f6a8c
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"properties": {
"name": {
"title": "label.metadata-provider-name-dashboard-display-only",
"description": "tooltip.metadata-provider-name-dashboard-display-only",
"description": "tooltip.metadata-provider-name",
"type": "string"
},
"@type": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"properties": {
"name": {
"title": "label.metadata-provider-name-dashboard-display-only",
"description": "tooltip.metadata-provider-name-dashboard-display-only",
"description": "tooltip.metadata-provider-name",
"type": "string",
"widget": {
"id": "string",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"properties": {
"name": {
"title": "label.metadata-provider-name-dashboard-display-only",
"description": "tooltip.metadata-provider-name-dashboard-display-only",
"description": "tooltip.metadata-provider-name",
"type": "string",
"widget": {
"id": "string",
Expand Down
8 changes: 6 additions & 2 deletions backend/src/main/resources/i18n/messages.properties
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ action.roles=Roles
action.source-role=Role
action.select-bundle=Select Bundle

action.get-latest=Get latest

value.enabled=Enabled
value.disabled=Disabled
value.current=Current
Expand Down Expand Up @@ -664,7 +666,7 @@ tooltip.max-cache-entry-size=The maximum response body size that may be cached,
tooltip.metadata-provider-name=Metadata Provider Name (for display on the Dashboard only)
tooltip.metadata-provider-type=Metadata Provider Type
tooltip.xml-id=Identifier for logging, identification for command line reload, etc.
tooltip.metadata-url=Identifier for logging, identification for command line reload, etc.
tooltip.metadata-url=The URL that the metadata is served from.
tooltip.metadata-file=The absolute path to the local metadata file to be loaded.
tooltip.init-from-backup=Flag indicating whether initialization should first attempt to load metadata from the backup file. If true, foreground initialization will be performed by loading the backing file, and then a refresh from the remote HTTP server will be scheduled to execute in a background thread, after a configured delay. This can improve IdP startup times when the remote HTTP file is large in size.
tooltip.backing-file=Specifies where the backing file is located. If the remote server is unavailable at startup, the backing file is loaded instead.
Expand Down Expand Up @@ -720,4 +722,6 @@ tooltip.group-name=Group Name
tooltip.group-description=Group Description

tooltip.role-name=Role Name
tooltip.role-description=Role Description
tooltip.role-description=Role Description

tooltip.contact-information=Contact Information
2 changes: 1 addition & 1 deletion backend/src/main/resources/i18n/messages_en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ tooltip.max-cache-entry-size=The maximum response body size that may be cached,
tooltip.metadata-provider-name=Metadata Provider Name (for display on the Dashboard only)
tooltip.metadata-provider-type=Metadata Provider Type
tooltip.xml-id=Identifier for logging, identification for command line reload, etc.
tooltip.metadata-url=Identifier for logging, identification for command line reload, etc.
tooltip.metadata-url=The URL that the metadata is served from.
tooltip.metadata-file=The absolute path to the local metadata file to be loaded.
tooltip.init-from-backup=Flag indicating whether initialization should first attempt to load metadata from the backup file. If true, foreground initialization will be performed by loading the backing file, and then a refresh from the remote HTTP server will be scheduled to execute in a background thread, after a configured delay. This can improve IdP startup times when the remote HTTP file is large in size.
tooltip.backing-file=Specifies where the backing file is located. If the remote server is unavailable at startup, the backing file is loaded instead.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"properties": {
"name": {
"title": "label.metadata-provider-name-dashboard-display-only",
"description": "tooltip.metadata-provider-name-dashboard-display-only",
"description": "tooltip.metadata-provider-name",
"type": "string",
"widget": {
"id": "string",
Expand Down
2 changes: 1 addition & 1 deletion ui/src/app/form/component/fields/FilterTargetField.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ const FilterTargetField = ({
<i className="fa fa-asterisk text-danger" aria-hidden="true"></i>
</span>
<span>
<InfoIcon value={translate('label.search-criteria-by', translate(displayType))}></InfoIcon>
<InfoIcon value={translate('label.search-criteria-by')} params={{ displayType: translate(displayType) }}></InfoIcon>
</span>
</label>
<div className="d-flex justify-content-between">
Expand Down
2 changes: 0 additions & 2 deletions ui/src/app/form/component/widgets/AttributeReleaseWidget.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,6 @@ const AttributeReleaseWidget = ({

const [bundle, setBundle] = React.useState();

React.useEffect(() => console.log(bundle), [bundle]);

const onMouseOver = (opt) => setBundle(opt);
const onMouseOut = () => setBundle(null);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const BaseFilterDefinition = {

return (formData, errors) => {
if (names.indexOf(formData.name) > -1) {
errors.name.addError('message.name-unique');
errors.name.addError('message.name-must-be-unique');
}

if (formData.hasOwnProperty(targetProp)) {
Expand Down
2 changes: 1 addition & 1 deletion ui/src/app/metadata/wizard/MetadataProviderTypeSelector.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export function MetadataProviderTypeSelector({ type, types = [], children}) {
<Form.Group className={errors.name ? 'text-danger' : ''}>
<Form.Label>
<span><Translate value={'label.metadata-provider-name-dashboard-display-only'} /></span>
<InfoIcon value="tooltip.metadata-provider-name-dashboard-display-only" />
<InfoIcon value="tooltip.metadata-provider-name" />
</Form.Label>
<Form.Control
isInvalid={errors.name}
Expand Down
2 changes: 1 addition & 1 deletion ui/src/testing/dynamic-http.schema.js

Large diffs are not rendered by default.

0 comments on commit e9f6a8c

Please sign in to comment.