-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(j-s): Rewrites Input Advocate (#17471)
* Rewrites input advocate * Merge completion * Refoctors code --------- Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
- Loading branch information
1 parent
3cb5441
commit 58b89c1
Showing
11 changed files
with
630 additions
and
938 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 0 additions & 56 deletions
56
apps/judicial-system/web/src/components/Inputs/Input.strings.ts
This file was deleted.
Oops, something went wrong.
88 changes: 88 additions & 0 deletions
88
apps/judicial-system/web/src/components/Inputs/InputAdvocate.strings.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
import { defineMessages } from 'react-intl' | ||
|
||
export const nameLabelStrings = defineMessages({ | ||
defender: { | ||
id: 'judicial.system.core:lawyer_input.defender', | ||
defaultMessage: 'Nafn verjanda', | ||
description: 'Notaður sem titill á nafni fyrir verjanda.', | ||
}, | ||
spokesperson: { | ||
id: 'judicial.system.core:lawyer_input.spokesperson', | ||
defaultMessage: 'Nafn talsmanns', | ||
description: 'Notaður sem titill á nafni fyrir talsmann.', | ||
}, | ||
lawyer: { | ||
id: 'judicial.system.core:lawyer_input.lawyer', | ||
defaultMessage: 'Nafn lögmanns', | ||
description: 'Notaður sem titill á nafni fyrir lögmann.', | ||
}, | ||
legalRightsProtector: { | ||
id: 'judicial.system.core:lawyer_input.legal_rights_protector', | ||
defaultMessage: 'Nafn réttargæslumanns', | ||
description: 'Notaður sem titill á nafni fyrir réttargæslumann.', | ||
}, | ||
}) | ||
|
||
export const emailLabelStrings = defineMessages({ | ||
defender: { | ||
id: 'judicial.system.core:lawyer_input.defender', | ||
defaultMessage: 'Netfang verjanda', | ||
description: 'Notaður sem titill á netfangi fyrir verjanda.', | ||
}, | ||
spokesperson: { | ||
id: 'judicial.system.core:lawyer_input.spokesperson', | ||
defaultMessage: 'Netfang talsmanns', | ||
description: 'Notaður sem titill á netfangi fyrir talsmann.', | ||
}, | ||
lawyer: { | ||
id: 'judicial.system.core:lawyer_input.lawyer', | ||
defaultMessage: 'Netfang lögmanns', | ||
description: 'Notaður sem titill á netfangi fyrir lögmann.', | ||
}, | ||
legalRightsProtector: { | ||
id: 'judicial.system.core:lawyer_input.legal_rights_protector', | ||
defaultMessage: 'Netfang réttargæslumanns', | ||
description: 'Notaður sem titill á netfangi fyrir réttargæslumann.', | ||
}, | ||
}) | ||
|
||
export const phoneNumberLabelStrings = defineMessages({ | ||
defender: { | ||
id: 'judicial.system.core:lawyer_input.defender', | ||
defaultMessage: 'Símanúmer verjanda', | ||
description: 'Notaður sem titill á símanúmeri fyrir verjanda.', | ||
}, | ||
spokesperson: { | ||
id: 'judicial.system.core:lawyer_input.spokesperson', | ||
defaultMessage: 'Símanúmer talsmanns', | ||
description: 'Notaður sem titill á símanúmeri fyrir talsmann.', | ||
}, | ||
lawyer: { | ||
id: 'judicial.system.core:lawyer_input.lawyer', | ||
defaultMessage: 'Símanúmer lögmanns', | ||
description: 'Notaður sem titill á símanúmeri fyrir lögmann.', | ||
}, | ||
legalRightsProtector: { | ||
id: 'judicial.system.core:lawyer_input.legal_rights_protector', | ||
defaultMessage: 'Símanúmer réttargæslumanns', | ||
description: 'Notaður sem titill á símanúmeri fyrir réttargæslumann.', | ||
}, | ||
}) | ||
|
||
export const placeholderStrings = defineMessages({ | ||
namePlaceholder: { | ||
id: 'judicial.system.core:lawyer_input.name_placeholder', | ||
defaultMessage: 'Fullt nafn', | ||
description: 'Notaður sem hálpartexti fyrir nafn.', | ||
}, | ||
emailPlaceholder: { | ||
id: 'judicial.system.core:lawyer_input.email_placeholder', | ||
defaultMessage: 'Netfang', | ||
description: 'Notaður sem hálpartexti fyrir netfang.', | ||
}, | ||
phoneNumberPlaceholder: { | ||
id: 'judicial.system.core:lawyer_input.phone_number_placeholder', | ||
defaultMessage: 'Símanúmer', | ||
description: 'Notaður sem hálpartexti fyrir símanúmer.', | ||
}, | ||
}) |
Oops, something went wrong.