-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ffe-context-message-react): translations of aria labels
- Loading branch information
Showing
7 changed files
with
122 additions
and
29 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
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
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
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
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
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
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 |
---|---|---|
@@ -1,9 +1,59 @@ | ||
const nb = {}; | ||
const nn = {}; | ||
const en = {}; | ||
|
||
nb.FFE_CONTEXT_MESSAGE_CLOSE = 'Lukk'; | ||
nn.FFE_CONTEXT_MESSAGE_CLOSE = 'Lukk'; | ||
en.FFE_CONTEXT_MESSAGE_CLOSE = 'Close'; | ||
const nb = { | ||
close: 'Lukk', | ||
error: { | ||
ariaLabel: 'Feilmelding', | ||
icon: 'Utropstegn', | ||
}, | ||
info: { | ||
ariaLabel: 'Infomelding', | ||
icon: 'Infotegn', | ||
}, | ||
success: { | ||
ariaLabel: 'Suksessmelding', | ||
icon: 'Hake', | ||
}, | ||
tip: { | ||
ariaLabel: 'Tipsmelding', | ||
icon: 'Lyspære', | ||
}, | ||
}; | ||
const nn = { | ||
close: 'Lukk', | ||
error: { | ||
ariaLabel: 'Feilmelding', | ||
icon: 'Utropsteikn', | ||
}, | ||
info: { | ||
ariaLabel: 'Infomelding', | ||
icon: 'Infoteikn', | ||
}, | ||
success: { | ||
ariaLabel: 'Suksessmelding', | ||
icon: 'Hake', | ||
}, | ||
tip: { | ||
ariaLabel: 'Tipsmelding', | ||
icon: 'Lyspære', | ||
}, | ||
}; | ||
const en = { | ||
close: 'Close', | ||
error: { | ||
ariaLabel: 'Error message', | ||
icon: 'Exclamation mark', | ||
}, | ||
info: { | ||
ariaLabel: 'Info message', | ||
icon: 'Info sign', | ||
}, | ||
success: { | ||
ariaLabel: 'Success message', | ||
icon: 'Check mark', | ||
}, | ||
tip: { | ||
ariaLabel: 'Tip message', | ||
icon: 'Light bulb', | ||
}, | ||
}; | ||
|
||
export default { nb, nn, en }; |