Skip to content

Commit

Permalink
Making sure the amp-story-consent buttons have labels. (#15501)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmajoulet committed May 22, 2018
1 parent ac174d3 commit d1cdecf
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions extensions/amp-story/0.1/_locales/default.js
Expand Up @@ -21,6 +21,12 @@ import {LocalizedStringBundleDef, LocalizedStringId} from '../localization';
* @const {!LocalizedStringBundleDef}
*/
export default {
[LocalizedStringId.AMP_STORY_CONSENT_ACCEPT_BUTTON_LABEL]: {
string: 'Accept',
},
[LocalizedStringId.AMP_STORY_CONSENT_DECLINE_BUTTON_LABEL]: {
string: 'Decline',
},
[LocalizedStringId.AMP_STORY_EXPERIMENT_ENABLE_BUTTON_LABEL]: {
string: 'Enable',
},
Expand Down
6 changes: 6 additions & 0 deletions extensions/amp-story/1.0/_locales/default.js
Expand Up @@ -21,6 +21,12 @@ import {LocalizedStringBundleDef, LocalizedStringId} from '../localization';
* @const {!LocalizedStringBundleDef}
*/
export default {
[LocalizedStringId.AMP_STORY_CONSENT_ACCEPT_BUTTON_LABEL]: {
string: 'Accept',
},
[LocalizedStringId.AMP_STORY_CONSENT_DECLINE_BUTTON_LABEL]: {
string: 'Decline',
},
[LocalizedStringId.AMP_STORY_EXPERIMENT_ENABLE_BUTTON_LABEL]: {
string: 'Enable',
},
Expand Down

0 comments on commit d1cdecf

Please sign in to comment.