From e209b0b671420d435496cee60a138a470059bd4e Mon Sep 17 00:00:00 2001 From: David Cheung Date: Wed, 3 Aug 2016 11:03:05 -0400 Subject: [PATCH] fixup! fixup! Globalize strings to end user --- intl/en/messages.json | 2 +- lib/plugins/model.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/intl/en/messages.json b/intl/en/messages.json index eb26b8d..f15b8d3 100644 --- a/intl/en/messages.json +++ b/intl/en/messages.json @@ -12,8 +12,8 @@ "fdc23df1bd0fe55fe3faabcc89ff60f3": "Middleware \"{0}\" not found: {1}", "34319676975b1abf107da7a056abb434": "Invalid normalization format - \"{0}\"", "4d052d84c8620730afd4a30832f11724": "Cannot configure unknown model {0}", - "5b0d7d21c4b507336a96242c7f29b788": "The data in model-config.json is in the unsupported 1.x format.", "6037512314fac9d12af6c654a3804823": "Built-in model {0} should have been defined", + "79e93b2a95e969788590c14e26bb2c1b": "The data in {{model-config.json}} is in the unsupported 1.x format.", "1e5fea50eef843cbffd1d438494912c8": "Cannot resolve path \"{0}\"", "6447e6b342a2c51ab0bc53b3cbdf3742": "Ordering conflict: cannot add \"{0}\" after \"{1}\", because the opposite order was already specified", "978a25819e71602cad691dbe7ba17592": "{0} config must be a valid JSON object", diff --git a/lib/plugins/model.js b/lib/plugins/model.js index 6abd0cb..a3f8cea 100644 --- a/lib/plugins/model.js +++ b/lib/plugins/model.js @@ -236,7 +236,8 @@ function assertIsValidModelConfig(config) { if (unsupported) { throw new Error( - g.f('The data in model-config.json is in the unsupported 1.x format.')); + g.f('The data in {{model-config.json}} is ' + + 'in the unsupported 1.x format.')); } } }