Skip to content

Commit 53aca4a

Browse files
committed
Merge pull request #52 from zendesk/roman/validation_error_messages
Update translations
2 parents 05501d2 + 88fd96c commit 53aca4a

File tree

2 files changed

+9
-13
lines changed

2 files changed

+9
-13
lines changed

config/locales/en.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ en:
99
jshint:
1010
one: 'JSHint error in %{file}: %{errors}'
1111
other: 'JSHint errors in %{file}: %{errors}'
12-
missing_location_and_requirements: Missing app location or requirements
13-
no_location_required: Having location defined while requirements only
14-
is true
15-
no_framework_version_required: Having framework version defined while
16-
requirements only is true
17-
no_app_js_required: Having app.js present while requirements only is true
12+
no_location_required: Locations can't be defined when you specify requirements
13+
only
14+
no_framework_version_required: Framework versions can't be set when you
15+
specify requirements only
16+
no_app_js_required: Do not set your app to requirements only if you need
17+
app.js
1818
manifest_not_json: manifest is not proper JSON. %{errors}
1919
missing_manifest: Could not find manifest.json
2020
missing_requirements: Could not find requirements.json

config/locales/translations/zendesk_apps_support.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,18 @@ parts:
1616
key: "txt.apps.admin.error.app_build.jshint.other"
1717
title: "App builder job: JSHint error messages"
1818
value: "JSHint errors in %{file}: %{errors}"
19-
- translation:
20-
key: "txt.apps.admin.error.app_build.missing_location_and_requirements"
21-
title: "App builder job: missing location and requirements error"
22-
value: "Missing app location or requirements"
2319
- translation:
2420
key: "txt.apps.admin.error.app_build.no_location_required"
2521
title: "App builder job: ban location while requirements only"
26-
value: "Having location defined while requirements only is true"
22+
value: "Locations can't be defined when you specify requirements only"
2723
- translation:
2824
key: "txt.apps.admin.error.app_build.no_framework_version_required"
2925
title: "App builder job: ban framework version while requirements only"
30-
value: "Having framework version defined while requirements only is true"
26+
value: "Framework versions can't be set when you specify requirements only"
3127
- translation:
3228
key: "txt.apps.admin.error.app_build.no_app_js_required"
3329
title: "App builder job: ban app.js while requirements only"
34-
value: "Having app.js present while requirements only is true"
30+
value: "Do not set your app to requirements only if you need app.js"
3531
- translation:
3632
key: "txt.apps.admin.error.app_build.manifest_not_json"
3733
title: "App builder job: manifest is invalid JSON error"

0 commit comments

Comments
 (0)