Skip to content

Commit

Permalink
Added labels
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Sep 16, 2021
1 parent 762fe32 commit b26c7ff
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion backend/src/main/resources/i18n/messages.properties
Original file line number Diff line number Diff line change
Expand Up @@ -494,11 +494,13 @@ label.source=Metadata Source
label.provider=Metadata Provider

label.bundle-name=Bundle name
label.bundle-disp=Bundle - {name}
action.add-new-bundle=Add bundle
tooltip.bundle-name=A user friendly name to identify the bundle
action.attribute-bundles=Attribute bundles
label.new-attribute-bundle=New attribute bundle

label.edit-attribute-bundle=Edit attribute bundle
label.bundled-attributes=Bundles Attributes
message.user-role-admin-group=Cannot change group for ROLE_ADMIN users.

label.roles-management=Role Management
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const AttributeReleaseWidget = ({
<ul class="list-group list-group-flush">
{(bundlelist).map((option) => (
<li class="list-group-item d-flex justify-content-between px-1">
<strong>{option.label}</strong>
<strong><Translate value="label.bundle-disp" params={{name: option.label}}></Translate></strong>
<Button variant={option.selected ? 'outline-primary' : 'primary'} size="sm"
onClick={() => option.selected ? onUncheckBundle(option) : onCheckBundle(option) }
>
Expand Down
2 changes: 1 addition & 1 deletion ui/src/app/metadata/view/MetadataAttributeBundleEdit.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export function MetadataAttributeBundleEdit() {
<div className="section-header bg-info p-2 text-white">
<div className="row justify-content-between">
<div className="col-md-12">
<span className="display-6"><Translate value="label.new-attribute">Add a new metadata attribute</Translate></span>
<span className="display-6"><Translate value="label.edit-attribute-bundle">Edit attribute bundle</Translate></span>
</div>
</div>
</div>
Expand Down

0 comments on commit b26c7ff

Please sign in to comment.