ember-ebau-gwr 7.2.1 → 7.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/addon/components/linked-models.hbs +8 -3
  3. package/addon/components/linked-projects.hbs +29 -28
  4. package/addon/components/project-nav.js +1 -1
  5. package/addon/controllers/building/edit/form.js +1 -0
  6. package/addon/controllers/project/form.js +40 -118
  7. package/addon/controllers/project/linked-buildings.js +0 -7
  8. package/addon/models/building.js +6 -5
  9. package/addon/models/construction-project.js +7 -10
  10. package/addon/models/options.js +1 -1
  11. package/addon/services/building-entrance.js +12 -8
  12. package/addon/services/building.js +27 -10
  13. package/addon/services/construction-project.js +8 -12
  14. package/addon/services/gwr.js +12 -13
  15. package/addon/templates/building/edit/dwelling/edit.hbs +8 -0
  16. package/addon/templates/building/edit/dwellings.hbs +42 -40
  17. package/addon/templates/building/edit/entrance/edit/link-street.hbs +24 -1
  18. package/addon/templates/building/edit/entrances.hbs +15 -14
  19. package/addon/templates/project/form.hbs +29 -71
  20. package/addon/templates/project/linked-buildings.hbs +31 -28
  21. package/addon/validations/building-work.js +1 -1
  22. package/addon/validations/construction-project.js +1 -96
  23. package/addon/xml/helpers.js +8 -1
  24. package/package.json +20 -20
  25. package/translations/building/de.yaml +2 -1
  26. package/translations/building/fr.yaml +5 -3
  27. package/translations/construction-project/de.yaml +4 -2
  28. package/translations/construction-project/fr.yaml +4 -2
  29. package/translations/de.yaml +14 -25
  30. package/translations/dwelling/de.yaml +5 -3
  31. package/translations/dwelling/fr.yaml +3 -1
  32. package/translations/fr.yaml +11 -22
@@ -7,46 +7,48 @@
7
7
  @modelName="dwelling"
8
8
  @newRoute="building.edit.dwelling.new"
9
9
  @removeLink={{this.removeDwelling}}
10
- as |model|
11
10
  >
12
- <td class="uk-table-shrink">
13
- <LinkTo
14
- @route="building.edit.dwelling.edit"
15
- @model={{model.EWID}}
16
- class="uk-link"
17
- >
18
- {{model.EWID}}
19
- </LinkTo>
20
- </td>
21
- <td>
22
- {{concat
23
- (t
24
- "ember-gwr.buildingEntrance.title"
25
- address=model.buildingEntrance.EDID
26
- )
27
- " - "
28
- model.buildingEntrance.fullAddressText
29
- }}
30
- </td>
31
- <td>
32
- {{if
33
- model.noOfHabitableRooms
34
- (t
35
- "ember-gwr.building.dwellings.rooms" number=model.noOfHabitableRooms
36
- )
37
- "-"
38
- }}
39
- </td>
40
- <td>
41
- {{if
42
- model.floor
43
- (t model.floorLabel.label number=model.floorLabel.number)
44
- "-"
45
- }}
46
- </td>
47
- <td>
48
- {{or model.locationOfDwellingOnFloor "-"}}
49
- </td>
11
+ <:list as |model|>
12
+ <td class="uk-table-shrink">
13
+ <LinkTo
14
+ @route="building.edit.dwelling.edit"
15
+ @model={{model.EWID}}
16
+ class="uk-link"
17
+ >
18
+ {{model.EWID}}
19
+ </LinkTo>
20
+ </td>
21
+ <td>
22
+ {{concat
23
+ (t
24
+ "ember-gwr.buildingEntrance.title"
25
+ address=model.buildingEntrance.EDID
26
+ )
27
+ " - "
28
+ model.buildingEntrance.fullAddressText
29
+ }}
30
+ </td>
31
+ <td>
32
+ {{if
33
+ model.noOfHabitableRooms
34
+ (t
35
+ "ember-gwr.building.dwellings.rooms"
36
+ number=model.noOfHabitableRooms
37
+ )
38
+ "-"
39
+ }}
40
+ </td>
41
+ <td>
42
+ {{if
43
+ model.floor
44
+ (t model.floorLabel.label number=model.floorLabel.number)
45
+ "-"
46
+ }}
47
+ </td>
48
+ <td>
49
+ {{or model.locationOfDwellingOnFloor "-"}}
50
+ </td>
51
+ </:list>
50
52
  </LinkedModels>
51
53
  {{/if}}
52
- </div>
54
+ </div>
@@ -6,7 +6,10 @@
6
6
 
7
7
  <Search @service={{this.street}} @baseQuery={{this.baseQuery}}>
8
8
  <:filters as |Filters|>
9
- <Filters @submitLabel={{t "ember-gwr.components.linkStreet.search"}} as |FilterInput|>
9
+ <Filters
10
+ @submitLabel={{t "ember-gwr.components.linkStreet.search"}}
11
+ as |FilterInput|
12
+ >
10
13
  <div class="uk-flex uk-flex-column uk-flex-wrap">
11
14
  <div class="uk-flex uk-flex-between uk-flex-bottom uk-flex-wrap">
12
15
  <div class="uk-width-expand uk-width-1">
@@ -40,6 +43,26 @@
40
43
  @name="description.descriptionLong"
41
44
  @label={{t "ember-gwr.building.street.description.descriptionLong"}}
42
45
  />
46
+ <div uk-alert class="uk-flex uk-flex-middle uk-flex-between">
47
+ <span>
48
+ {{t "ember-gwr.components.linkStreet.searchHint"}}
49
+ </span>
50
+
51
+ <div class="uk-inline">
52
+ <UkIcon @icon="question" />
53
+ <div uk-dropdown class="uk-width-large">
54
+
55
+ <b>{{t
56
+ "ember-gwr.components.linkStreet.searchHintExamples"
57
+ }}</b>
58
+ <ul class="uk-list uk-list-collapse uk-list-bullet">
59
+ <li>{{t "ember-gwr.components.linkStreet.searchHintExamples1"}}</li>
60
+ <li>{{t "ember-gwr.components.linkStreet.searchHintExamples2"}}</li>
61
+ <li>{{t "ember-gwr.components.linkStreet.searchHintExamples3"}}</li>
62
+ </ul>
63
+ </div>
64
+ </div>
65
+ </div>
43
66
  </div>
44
67
  </div>
45
68
  </Filters>
@@ -14,20 +14,21 @@
14
14
  building entrances and dwellings, to ensure that the requirements hold.
15
15
  }}
16
16
  @removeLink={{if (gt this.entrances.length 1) this.removeEntranceLink}}
17
- as |model|
18
17
  >
19
- <td class="uk-table-shrink">
20
- <LinkTo
21
- @route="building.edit.entrance.edit"
22
- @model={{model.EDID}}
23
- class="uk-link"
24
- >
25
- {{model.EDID}}
26
- </LinkTo>
27
- </td>
28
- <td>
29
- {{model.fullAddressText}}
30
- </td>
18
+ <:list as |model|>
19
+ <td class="uk-table-shrink">
20
+ <LinkTo
21
+ @route="building.edit.entrance.edit"
22
+ @model={{model.EDID}}
23
+ class="uk-link"
24
+ >
25
+ {{model.EDID}}
26
+ </LinkTo>
27
+ </td>
28
+ <td>
29
+ {{model.fullAddressText}}
30
+ </td>
31
+ </:list>
31
32
  </LinkedModels>
32
33
  {{/if}}
33
- </div>
34
+ </div>
@@ -70,39 +70,16 @@
70
70
  @attr="typeOfConstructionProject"
71
71
  @gwrEnumOptions={{this.choiceOptions.typeOfConstructionProjectOptions}}
72
72
  @on-update={{fn (mut this.typeOfConstructionProject)}}
73
- @hint={{if
74
- (eq this.typeOfConstructionProject 6010)
75
- (t "ember-gwr.linkedBuildings.buildingDisabledForInfrastructure")
76
- (if
77
- (eq this.typeOfConstructionProject 6011)
78
- (t "ember-gwr.linkedBuildings.superstructureInfo")
79
- )
80
- }}
73
+ @hint={{this.typeOfConstructionProjectHint}}
81
74
  />
82
75
 
83
- <div uk-alert>
84
- <div class="uk-text-bold">
85
- {{t "ember-gwr.specialConstructionWarning.header"}}
86
- </div>
87
- <div>
88
- {{t "ember-gwr.specialConstructionWarning.part1"}}
89
- <a
90
- href={{housing-stat-link}}
91
- target="_blank"
92
- rel="noopener noreferrer"
93
- >{{t "ember-gwr.specialConstructionWarning.link"}}</a>
94
- {{t "ember-gwr.specialConstructionWarning.part2"}}
95
- </div>
96
- </div>
97
-
98
- {{#if (eq this.typeOfConstructionProject 6010)}}
99
- <LinkedModels
100
- @models={{this.workWithoutBuildings}}
101
- @modelName="building-work-infrastructure"
102
- @removeLink={{if (gt this.project.work.length 1) this.removeWorkLink}}
103
- @addLink={{this.addWorkLink}}
104
- as |model|
105
- >
76
+ <LinkedModels
77
+ @models={{this.project.work}}
78
+ @modelName="building-work"
79
+ @removeLink={{if this.hasRemoveWorkLink this.removeWorkLink}}
80
+ @addLink={{this.addWorkLink}}
81
+ >
82
+ <:list as |model|>
106
83
  <td class="uk-table-expand">
107
84
  <div class="uk-flex-inline uk-flex-middle">
108
85
  {{#if model.isNew}}
@@ -150,8 +127,21 @@
150
127
  {{/if}}
151
128
  </div>
152
129
  </td>
153
- </LinkedModels>
154
- {{/if}}
130
+ </:list>
131
+ <:buildingLink as |model|>
132
+ <td class="uk-text-nowrap">
133
+ {{t "ember-gwr.constructionProject.linkedWithBuilding"}}
134
+ <LinkTo
135
+ @route="building.edit.form"
136
+ @query={{hash projectId=this.project.EPROID}}
137
+ @model={{model.building.EGID}}
138
+ class="uk-link"
139
+ >
140
+ {{model.building.EGID}}
141
+ </LinkTo>
142
+ </td>
143
+ </:buildingLink>
144
+ </LinkedModels>
155
145
 
156
146
  <Field
157
147
  @inputType="textarea"
@@ -387,10 +377,12 @@
387
377
  />
388
378
  </div>
389
379
  </div>
390
- {{else if (or
391
- changeset.client.address.country.countryNameShort
392
- (and import import.data.client.address.foreignZipCode)
393
- )}}
380
+ {{else if
381
+ (or
382
+ changeset.client.address.country.countryNameShort
383
+ (and import import.data.client.address.foreignZipCode)
384
+ )
385
+ }}
394
386
  <Field @type="number" @attr="client.address.foreignZipCode" />
395
387
  {{/if}}
396
388
  <Field
@@ -409,37 +401,3 @@
409
401
  </ModelForm>
410
402
  {{/if}}
411
403
  </div>
412
-
413
- <UkModal
414
- @visible={{this.showConfirmationDialog}}
415
- @btnClose={{false}}
416
- @bgClose={{false}}
417
- @escClose={{false}}
418
- @container={{this.config.modalContainer}}
419
- as |modal|
420
- >
421
- <modal.header>
422
- <h2 class="uk-modal-title">
423
- {{t "ember-gwr.components.modelForm.project.confirmationTitle"}}
424
- </h2>
425
- </modal.header>
426
- <modal.body>
427
- {{#if (eq this.typeOfConstructionProject 6011)}}
428
- {{t "ember-gwr.components.modelForm.project.confirmationSuperstructure"}}
429
- {{else if (eq this.typeOfConstructionProject 6010)}}
430
- {{t "ember-gwr.components.modelForm.project.confirmationInfrastructure"}}
431
- {{/if}}
432
- </modal.body>
433
- <modal.footer @class="uk-text-right">
434
- <UkButton
435
- @color="default"
436
- @label={{t "ember-gwr.components.modelForm.project.confirmationContinue"}}
437
- @onClick={{perform this.processTypeOfConstructionProjectChange}}
438
- />
439
- <UkButton
440
- @color="primary"
441
- @label={{t "ember-gwr.components.modelForm.project.confirmationCancel"}}
442
- @onClick={{this.cancelTypeOfConstructionProjectChange}}
443
- />
444
- </modal.footer>
445
- </UkModal>
@@ -13,35 +13,38 @@
13
13
  @searchQuery={{hash projectId=@model}}
14
14
  @newRoute="building.new"
15
15
  @newQuery={{hash projectId=@model}}
16
- as |model|
17
16
  >
18
- <td class="uk-table-shrink">
19
- <LinkTo
20
- @route="building.edit.form"
21
- @query={{hash projectId=@model}}
22
- @model={{model.building.EGID}}
23
- class="uk-link"
24
- >
25
- {{model.building.EGID}}
26
- </LinkTo>
27
- </td>
28
- <td>
29
- <ul class="uk-list">
30
- {{#each model.building.fullAddressTexts as |entrance|}}
31
- <li>
32
- {{entrance}}
33
- </li>
34
- {{/each}}
35
- </ul>
36
- </td>
37
- <td>
38
- {{model.building.nameOfBuilding}}
39
- </td>
40
- <td>
41
- {{t
42
- (concat "ember-gwr.buildingWork.kindOfWorkOptions." model.kindOfWork)
43
- }}
44
- </td>
17
+ <:list as |model|>
18
+ <td class="uk-table-shrink">
19
+ <LinkTo
20
+ @route="building.edit.form"
21
+ @query={{hash projectId=@model}}
22
+ @model={{model.building.EGID}}
23
+ class="uk-link"
24
+ >
25
+ {{model.building.EGID}}
26
+ </LinkTo>
27
+ </td>
28
+ <td>
29
+ <ul class="uk-list">
30
+ {{#each model.building.fullAddressTexts as |entrance|}}
31
+ <li>
32
+ {{entrance}}
33
+ </li>
34
+ {{/each}}
35
+ </ul>
36
+ </td>
37
+ <td>
38
+ {{model.building.nameOfBuilding}}
39
+ </td>
40
+ <td>
41
+ {{t
42
+ (concat
43
+ "ember-gwr.buildingWork.kindOfWorkOptions." model.kindOfWork
44
+ )
45
+ }}
46
+ </td>
47
+ </:list>
45
48
  </LinkedModels>
46
49
  <div class="uk-flex uk-flex-middle uk-flex-center">
47
50
  <div>
@@ -58,7 +58,7 @@ export function buildingWorkValidation({
58
58
  volume: {
59
59
  volume: validateNumber({
60
60
  integer: true,
61
- gte: 1,
61
+ gte: 5,
62
62
  lte: 3000000,
63
63
  allowBlank: true,
64
64
  }),
@@ -2,7 +2,6 @@ import {
2
2
  validatePresence,
3
3
  validateLength,
4
4
  validateNumber,
5
- validateDate,
6
5
  validateFormat,
7
6
  } from "ember-changeset-validations/validators";
8
7
 
@@ -43,101 +42,7 @@ export default {
43
42
  validateNumber({ integer: true }),
44
43
  ],
45
44
  typeOfConstruction: [validatePresence(true)],
46
- projectAnnouncementDate: [
47
- validatePresence(true),
48
- validateDate({
49
- onOrAfter: new Date("2000-01-01"),
50
- message: "{description} must be on or after {onOrAfter}",
51
- }),
52
- validateDate({
53
- onOrBefore: new Date(),
54
- message: "{description} must be on or before {onOrBefore}",
55
- }),
56
- ],
57
- buildingPermitIssueDate: [
58
- validateDate({
59
- onOrAfter: new Date("2000-01-01"),
60
- message: "{description} must be on or after {onOrAfter}",
61
- allowBlank: true,
62
- }),
63
- validateDate({
64
- onOrBefore: new Date(),
65
- message: "{description} must be on or before {onOrBefore}",
66
- allowBlank: true,
67
- }),
68
- ],
69
- withdrawalDate: [
70
- validateDate({
71
- onOrAfter: new Date("2000-01-01"),
72
- message: "{description} must be on or after {onOrAfter}",
73
- allowBlank: true,
74
- }),
75
- validateDate({
76
- onOrBefore: new Date(),
77
- message: "{description} must be on or before {onOrBefore}",
78
- allowBlank: true,
79
- }),
80
- ],
81
- projectStartDate: [
82
- validateDate({
83
- onOrAfter: new Date("2000-01-01"),
84
- message: "{description} must be on or after {onOrAfter}",
85
- allowBlank: true,
86
- }),
87
- validateDate({
88
- onOrBefore: new Date(),
89
- message: "{description} must be on or before {onOrBefore}",
90
- allowBlank: true,
91
- }),
92
- ],
93
- constructionAuthorisationDeniedDate: [
94
- validateDate({
95
- onOrAfter: new Date("2000-01-01"),
96
- message: "{description} must be on or after {onOrAfter}",
97
- allowBlank: true,
98
- }),
99
- validateDate({
100
- onOrBefore: new Date(),
101
- message: "{description} must be on or before {onOrBefore}",
102
- allowBlank: true,
103
- }),
104
- ],
105
- cancellationDate: [
106
- validateDate({
107
- onOrAfter: new Date("2000-01-01"),
108
- message: "{description} must be on or after {onOrAfter}",
109
- allowBlank: true,
110
- }),
111
- validateDate({
112
- onOrBefore: new Date(),
113
- message: "{description} must be on or before {onOrBefore}",
114
- allowBlank: true,
115
- }),
116
- ],
117
- projectCompletionDate: [
118
- validateDate({
119
- onOrAfter: new Date("2000-01-01"),
120
- message: "{description} must be on or after {onOrAfter}",
121
- allowBlank: true,
122
- }),
123
- validateDate({
124
- onOrBefore: new Date(),
125
- message: "{description} must be on or before {onOrBefore}",
126
- allowBlank: true,
127
- }),
128
- ],
129
- projectSuspensionDate: [
130
- validateDate({
131
- onOrAfter: new Date("2000-01-01"),
132
- message: "{description} must be on or after {onOrAfter}",
133
- allowBlank: true,
134
- }),
135
- validateDate({
136
- onOrBefore: new Date(),
137
- message: "{description} must be on or before {onOrBefore}",
138
- allowBlank: true,
139
- }),
140
- ],
45
+ projectAnnouncementDate: [validatePresence(true)],
141
46
  durationOfConstructionPhase: [
142
47
  validateNumber({
143
48
  gte: 1,
@@ -30,9 +30,16 @@ export function and(...args) {
30
30
  }
31
31
 
32
32
  export function modelField(...args) {
33
- const { value: argValue, namespace = "ns2:" } = args.pop().hash;
33
+ const {
34
+ value: argValue,
35
+ namespace = "ns2:",
36
+ renderZero = true,
37
+ } = args.pop().hash;
34
38
  const [model, key] = args;
35
39
  const value = argValue ?? get(model, key);
40
+ if (!renderZero && !Array.isArray(value) && parseInt(value) === 0) {
41
+ return "";
42
+ }
36
43
  return value !== undefined && value !== null && value?.length !== 0
37
44
  ? `<${namespace}${key}>${value}</${namespace}${key}>`
38
45
  : "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ember-ebau-gwr",
3
- "version": "7.2.1",
3
+ "version": "7.4.0",
4
4
  "description": "Ember engine to integrate ebau-gwr into an ember app.",
5
5
  "keywords": [
6
6
  "ember-addon",
@@ -47,27 +47,27 @@
47
47
  "ember-cli-babel": "^7.26.11",
48
48
  "ember-cli-htmlbars": "^6.2.0",
49
49
  "ember-composable-helpers": "^5.0.0",
50
- "ember-concurrency": "^2.3.7",
50
+ "ember-concurrency": "^3.0.0",
51
51
  "ember-data": "^3.28.13",
52
52
  "ember-engines-router-service": "0.3.0",
53
53
  "ember-flatpickr": "^4.0.0",
54
54
  "ember-intl": "^5.7.2",
55
- "ember-power-select": "^7.0.0",
56
- "ember-resources": "^5.6.4",
55
+ "ember-power-select": "^7.1.2",
56
+ "ember-resources": "^6.4.0",
57
57
  "ember-truth-helpers": "^3.1.1",
58
58
  "ember-uikit": "^8.0.0",
59
59
  "ember-validated-form": "^6.2.0",
60
- "handlebars": "^4.7.7",
60
+ "handlebars": "^4.7.8",
61
61
  "luxon": "^3.3.0"
62
62
  },
63
63
  "devDependencies": {
64
64
  "@adfinis/eslint-config": "2.0.0",
65
65
  "@adfinis/semantic-release-config": "4.0.0",
66
- "@babel/eslint-parser": "7.22.5",
67
- "@babel/plugin-proposal-decorators": "7.22.5",
66
+ "@babel/eslint-parser": "7.22.11",
67
+ "@babel/plugin-proposal-decorators": "7.22.7",
68
68
  "@ember/optional-features": "2.0.0",
69
69
  "@ember/string": "3.1.1",
70
- "@ember/test-helpers": "3.1.0",
70
+ "@ember/test-helpers": "3.2.0",
71
71
  "@embroider/test-setup": "3.0.1",
72
72
  "broccoli-asset-rev": "3.0.0",
73
73
  "concurrently": "8.2.0",
@@ -81,18 +81,18 @@
81
81
  "ember-engines": "0.9.0",
82
82
  "ember-load-initializers": "2.1.2",
83
83
  "ember-qunit": "7.0.0",
84
- "ember-resolver": "10.1.1",
85
- "ember-source": "4.12.0",
84
+ "ember-resolver": "11.0.1",
85
+ "ember-source": "4.12.3",
86
86
  "ember-source-channel-url": "3.0.0",
87
- "ember-template-lint": "5.10.3",
87
+ "ember-template-lint": "5.11.1",
88
88
  "ember-template-lint-plugin-prettier": "4.2.0",
89
89
  "ember-test-selectors": "6.0.0",
90
90
  "ember-try": "2.0.0",
91
- "eslint": "8.43.0",
92
- "eslint-config-prettier": "8.8.0",
93
- "eslint-plugin-ember": "11.8.0",
94
- "eslint-plugin-import": "2.27.5",
95
- "eslint-plugin-n": "16.0.0",
91
+ "eslint": "8.45.0",
92
+ "eslint-config-prettier": "8.10.0",
93
+ "eslint-plugin-ember": "11.10.0",
94
+ "eslint-plugin-import": "2.28.1",
95
+ "eslint-plugin-n": "16.0.1",
96
96
  "eslint-plugin-prettier": "4.2.1",
97
97
  "eslint-plugin-qunit": "7.3.4",
98
98
  "loader.js": "4.7.0",
@@ -101,12 +101,12 @@
101
101
  "prettier": "2.8.8",
102
102
  "qunit": "2.19.4",
103
103
  "qunit-dom": "2.0.0",
104
- "sass": "1.63.6",
105
- "stylelint": "15.8.0",
106
- "stylelint-config-standard-scss": "9.0.0",
104
+ "sass": "1.66.1",
105
+ "stylelint": "15.10.2",
106
+ "stylelint-config-standard-scss": "10.0.0",
107
107
  "stylelint-prettier": "3.0.0",
108
108
  "stylelint-scss": "5.0.1",
109
- "webpack": "5.88.0"
109
+ "webpack": "5.88.2"
110
110
  },
111
111
  "engines": {
112
112
  "node": "14.* || 16.* || >= 18"
@@ -26,6 +26,7 @@ ember-gwr:
26
26
  backToProject: Zurück zum Bauprojekt
27
27
 
28
28
  saveError: Beim Speichern des Gebäudes ist ein Fehler aufgetreten.
29
+ forbiddenBuildingClassError: 'Die Gebäudeklasse "Landwirtschaftliche Betriebsgebäude" darf bei der Erfassung von Gebäuden (Neubau) nicht mehr vergeben werden. Wählen Sie anstelle aus den folgenden Gebäudeklassen: "Gebäude für die Tierhaltung", "Gebäude für den Pflanzenbau" und "Andere landwirtschaftliche Gebäude".'
29
30
  saveSuccess: Gebäude erfolgreich gespeichert.
30
31
  entrances:
31
32
  error: Beim Laden der Eingänge ist ein Fehler aufgetreten.
@@ -279,7 +280,7 @@ ember-gwr:
279
280
  mainEntrance: Haupteingang
280
281
  info: Nach der Erstellung des Gebäudes können weitere Eingänge hinzugefügt werden und die Strassen der Eingänge bearbeitet werden.
281
282
  localityError: |-
282
- Beim Speichern der Ortschaft des Haupteingangs ist ein Fehler aufgetreten.
283
+ Beim Speichern der Ortschaft des Haupteingangs ist ein Fehler aufgetreten.
283
284
  Bitte überprüfen Sie die <b>Kombination aus PLZ und Ortsname</b>, diese sollten exakt
284
285
  mit den hinterlegten Daten auf der <a target="_blank" href="https://map.geo.admin.ch/?lang=de">eidgenössischen Kartenplattform</a>
285
286
  übereinstimmen.
@@ -26,6 +26,8 @@ ember-gwr:
26
26
  backToProject: Retour au projet de construction
27
27
 
28
28
  saveError: Une erreur s'est produite lors de la sauvegarde du bâtiment.
29
+ forbiddenBuildingClassError: |-
30
+ La classe de bâtiment "Bâtiments d'exploitation agricole" ne doit plus être attribuée lors de la saisie des bâtiments (nouvelles constructions). Choisissez à la place parmi les classes de bâtiments suivantes: "Bâtiments pour l'élevage", "Bâtiments pour la production végétale" et "Autres bâtiments agricoles".
29
31
  saveSuccess: Bâtiment sauvegardé avec succès.
30
32
  entrances:
31
33
  error: Une erreur s'est produite lors du chargement des entrées.
@@ -279,7 +281,7 @@ ember-gwr:
279
281
  mainEntrance: Entrée principale
280
282
  info: Une fois le bâtiment créé, il est possible d'ajouter d'autres entrées et d'éditer les rues des entrées.
281
283
  localityError: |-
282
- Une erreur est survenue lors de l'enregistrement de la localité de
283
- l'entrée principale. Veuillez vérifier la <b>combinaison du NPA et
284
- de la désignation de la localité</b>, ceux-ci doivent correspondre exactement aux données
284
+ Une erreur est survenue lors de l'enregistrement de la localité de
285
+ l'entrée principale. Veuillez vérifier la <b>combinaison du NPA et
286
+ de la désignation de la localité</b>, ceux-ci doivent correspondre exactement aux données
285
287
  enregistrées sur la <a target="_blank" href="https://map.geo.admin.ch/?lang=fr">plateforme cartographique fédérale</a>.
@@ -3,6 +3,7 @@ ember-gwr:
3
3
  saveError: Beim Speichern des Bauprojektes ist ein Fehler aufgetreten.
4
4
  saveSuccess: Bauprojekt erfolgreich gespeichert.
5
5
  missingBuildingError: Bitte verknüpfen Sie zuerst ein Gebäude.
6
+ linkedWithBuilding: Verknüpft mit Gebäude
6
7
 
7
8
  sections:
8
9
  freeTextFields: Freitext Felder
@@ -309,11 +310,12 @@ ember-gwr:
309
310
  zw: Simbabwe
310
311
  countryNameShortPlaceholder: Wählen Sie ein Land...
311
312
 
312
- typeOfConstructionProject: Bauprojekttyp
313
- typeOfConstructionProjectPlaceholder: Wählen Sie einen Bauprojekttyp...
313
+ typeOfConstructionProject: Art der Bauwerke
314
+ typeOfConstructionProjectPlaceholder: Wählen Sie eine Art der Bauwerke...
314
315
  typeOfConstructionProjectOptions:
315
316
  6010: Tiefbau
316
317
  6011: Hochbau
318
+ 6012: Sonderbau
317
319
 
318
320
  typeOfConstruction: Bauwerkstyp
319
321
  typeOfConstructionPlaceholder: Wählen Sie einen Bauwerkstyp...