hunk.code_window:               "type": "string",
                 "description": "Specifies the source locale of the application.",
                 "default": "en-US",
                 "pattern": "^[a-z]{2}(-[a-zA-Z]{2,})?$"
               },
               {
                 "type": "object",
  
hunk.labels: keep keep keep replace keep keep keep
hunk.after_edit:               "pattern": "^[a-zA-Z]{2,3}(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-[a-zA-Z]{5,8})?$"
  
hunk.file_path: packages/angular_devkit/core/src/experimental/workspace/workspace-schema.json
hunk.type: replace
file: import { ng } from '../../utils/process';
  import { writeFile } from '../../utils/fs';
  import { expectToFail } from '../../utils/utils';
  import { join } from 'path';
  
  export default function() {
    // TODO(architect): Delete this test. It is now in devkit/build-angular.
  
    return ng('generate', 'component', 'i18n-test')
      .then(() => writeFile(
        join('src/app/i18n-test', 'i18n-test.component.html'),
        '<p i18n>Hello world <span i18n>inner</span></p>'))
      .then(() => expectToFail(() => ng('xi18n')))
      .then(({ message }) => {
        if (!message.includes('Could not mark an element as' +
            ' translatable inside a translatable section')) {
          throw new Error(`Expected i18n extraction error, got this instead:\n${message}`);
        }
      });
  }
  