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

Dev partial codelists #255

Merged
merged 2 commits into from
Feb 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,28 +45,31 @@ const PartialCodesTreeEdit = ({
children={
<React.Fragment>
<ActionToolbar>
<div className="col-md-1"></div>
<button
type="button"
onClick={addAllClickHandler}
className="btn wilco-btn btn-lg col-md-6"
className="btn wilco-btn btn-lg btn-block col-md-3"
>
<span
className="glyphicon glyphicon-plus"
aria-hidden="true"
></span>
<span>{D.addAll}</span>
</button>
<div className="col-md-1"></div>
<button
type="button"
onClick={removeAllClickHandler}
className="btn wilco-btn btn-lg col-md-6"
className="btn wilco-btn btn-lg btn-block col-md-3"
>
<span
className="glyphicon glyphicon-minus"
aria-hidden="true"
></span>
<span>{D.removeAll}</span>
</button>
<div className="col-md-4"></div>
</ActionToolbar>
<div className="col-md-6 form-group">
<Panel title={D.partialCodesTreeTitle}>
Expand Down
16 changes: 2 additions & 14 deletions packages/codelists/src/i18n/dictionary.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,21 +205,9 @@ const dictionary = {
fr: 'Le statut de diffusion est obligatoire',
en: 'The dissemination status is mandatory',
},
errors_1100: {
fr: "L'identifiant n'est pas défini.",
en: 'The identifiant is not defined.',
},
errors_1101: {
fr: "Le libellé n'est pas défini.",
en: 'The label is not defined.',
},
errors_1102: {
fr: "Le lastListUriSegment n'est pas défini.",
en: 'the lastListUriSegment is not defined.',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the -> The

},
errors_1103: {
fr: "Le lastClassUriSegment n'est pas défini.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

too much space (lastClassUriSegment n)

en: 'The lastClassUriSegment is not defined.',
fr: 'La liste de codes existe déjà.',
en: 'The codelist already exists.',
},
btnDelete: {
fr: 'Supprimer',
Expand Down