First pass at converting identifiers/words from en-au -> en-us

This commit is contained in:
Jay Phelps
2015-02-03 00:08:43 -08:00
parent 6674611b26
commit 9880990fa7
15 changed files with 27 additions and 27 deletions

View File

@@ -3,7 +3,7 @@ var path = require("path");
var fs = require("fs");
var _ = require("lodash");
var humanise = function (val, noext) {
var humanize = function (val, noext) {
if (noext) val = path.basename(val, path.extname(val));
return val.replace(/-/g, " ");
};
@@ -37,7 +37,7 @@ exports.get = function (entryName, entryLoc) {
var suite = {
options: {},
tests: [],
title: humanise(suiteName),
title: humanize(suiteName),
filename: entryLoc + "/" + suiteName
};
suites.push(suite);
@@ -83,7 +83,7 @@ exports.get = function (entryName, entryLoc) {
if (taskOptsLoc) _.merge(taskOpts, require(taskOptsLoc));
var test = {
title: humanise(taskName, true),
title: humanize(taskName, true),
disabled: taskName[0] === ".",
options: taskOpts,
exec: {

View File

@@ -20,7 +20,7 @@ var exec = function (loc) {
try {
var file = fs.readFileSync(loc, "utf8");
// this normalises syntax and early runtime reference errors since they're
// this normalizes syntax and early runtime reference errors since they're
// both thrown as SyntaxErrors in acorn
// SyntaxError: var null;
// ReferenceError: 1++; (runtime)

View File

@@ -37,7 +37,7 @@ require("./_transformation-helper")({
"Syntax/UseStrictEscapeSequence",
"Syntax/UseStrictLineContinuation",
// experimental es7 - the spec hasn't been finalised yet
// experimental es7 - the spec hasn't been finalized yet
// these both fail because of filter between blocks
"ArrayComprehension/Simple",
"GeneratorComprehension/Simple",