Skip to content

Commit

Permalink
TS-936 Municipality
Browse files Browse the repository at this point in the history
- Fix  translations
  • Loading branch information
birkirkristmunds committed Jan 9, 2025
1 parent e4395d9 commit 680b5f9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion apps/skilavottord/web/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,9 @@
"municipality": {
"label": "Municipality",
"placeholder": "Municipality",
"required": "Municipality is required"
"rules": {
"required": "Municipality is required"
}
}
},
"buttons": {
Expand Down
4 changes: 3 additions & 1 deletion apps/skilavottord/web/i18n/locales/is.json
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,9 @@
"municipality": {
"label": "Sveitarfélag",
"placeholder": "Sveitarfélag",
"required": "Skylda er að fylla út sveitarfélag"
"rules": {
"required": "Skylda er að fylla út sveitarfélag"
}
}
},
"buttons": {
Expand Down
2 changes: 1 addition & 1 deletion apps/skilavottord/web/i18n/locales/locales.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const getObjectPrefix = (prefix: string, el: string): string => {
return el
}

xdescribe('Locales tests', () => {
describe('Locales tests', () => {
it('should contain the same keys for all translations', () => {
const getKeys: any = (obj: any, prefix = '') => {
if (!isObject(obj) && !isArray(obj)) {
Expand Down

0 comments on commit 680b5f9

Please sign in to comment.