Skip to content

Commit

Permalink
Merge pull request #1119 from creative-commoners/pulls/1.6/missing-tr…
Browse files Browse the repository at this point in the history
…anslations

FIX Add missing translation strings
  • Loading branch information
emteknetnz authored Sep 24, 2020
2 parents d57534c + 11364a6 commit 6610cdf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/dist/js/bundle.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions client/lang/src/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"Admin.VALIDATIONERROR": "Validation Error",
"Admin.VALIDATION_ERRORS_IN_TAB": "This tab contains validation errors.",
"Admin.VALIDATION_ERRORS_ON_PAGE": "There are validation errors on this page, please fix them before saving or publishing.",
"Admin.VALIDATION_ERRORS_IN_TAB_SCREEN_READER": "(Has validation errors)",
"Admin.NONE": "None",
"Admin.EDIT": "Edit",
"Admin.ANY": "Any",
Expand Down
4 changes: 2 additions & 2 deletions client/src/legacy/LeftAndMain.EditForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,11 @@ $.entwine('ss', function($){
// - Set an alert message in the edit form error banner
const iconClass = 'font-icon-attention-1 tab-attention';
const iconTitle = ss.i18n._t(
'VALIDATION_ERRORS_IN_TAB',
'Admin.VALIDATION_ERRORS_IN_TAB',
'This tab contains validation errors.'
);
const iconScreenReaderText = ss.i18n._t(
'VALIDATION_ERRORS_IN_TAB_SCREEN_READER',
'Admin.VALIDATION_ERRORS_IN_TAB_SCREEN_READER',
'(Has validation errors)'
);
const alertMessageText = ss.i18n._t(
Expand Down

0 comments on commit 6610cdf

Please sign in to comment.