From f77c64a05d2d869ff9d6c2bc9ca0511fe33fee1f Mon Sep 17 00:00:00 2001 From: Agnes Lin <agneslin.lin@ibm.com> Date: Wed, 8 Jul 2020 13:34:01 -0400 Subject: [PATCH] fix: globalize strings for repository generator --- packages/cli/generators/repository/index.js | 2 +- packages/cli/intl/en/messages.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/cli/generators/repository/index.js b/packages/cli/generators/repository/index.js index dd5ce1962585..22ad0d15441e 100644 --- a/packages/cli/generators/repository/index.js +++ b/packages/cli/generators/repository/index.js @@ -38,7 +38,7 @@ const CLI_BASE_KEY_VALUE_REPOSITORIES = [ const CLI_BASE_SEPARATOR = [ { type: 'separator', - line: '----- Custom Repositories -----', + line: g.f('----- Custom Repositories -----'), }, ]; diff --git a/packages/cli/intl/en/messages.json b/packages/cli/intl/en/messages.json index 844d0700a7c5..0df11f5f4612 100644 --- a/packages/cli/intl/en/messages.json +++ b/packages/cli/intl/en/messages.json @@ -42,6 +42,7 @@ "44d2743e9d8e6106410b7fea1fcb69a0": "An example extension project for LoopBack 4.", "4670d311aa36fb13d626ec4ab55d4f19": "Next steps:", "48b75482f8e08e012b70a495df71d514": "Mark the project private (excluded from npm publish)", + "4a33ae949b2b741e075c445df3cca1d7": "----- Custom Repositories -----", "4b1516463cdea3b248eeb97ac4948198": "Allow additional (free-form) properties?", "4d8a9b728bee844a0a6647379ab86826": "Let's add a property to {0}", "5225c88650d6a337fb4c215cca812f96": "An access control example migrated from the LoopBack 3 repository loopback-example-access-control.",