Skip to content

fix: add global strings from the controller generator#5177

Merged
agnes512 merged 1 commit intomasterfrom
con-rest
Apr 22, 2020
Merged

fix: add global strings from the controller generator#5177
agnes512 merged 1 commit intomasterfrom
con-rest

Conversation

@agnes512
Copy link
Contributor

@agnes512 agnes512 commented Apr 21, 2020

Fixes #5130

Checklist

👉 Read and sign the CLA (Contributor License Agreement) 👈

  • npm test passes on your machine
  • New tests added or existing tests modified to cover all changes
  • Code conforms with the style guide
  • API Documentation in code was updated
  • Documentation in /docs/site was updated
  • Affected artifact templates in packages/cli were updated
  • Affected example projects in examples/* were updated

👉 Check out how to submit a PR 👈

Copy link
Contributor Author

@agnes512 agnes512 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added screenshots


static get BASIC() {
return 'Empty Controller';
return g.f('Empty Controller');
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

截屏2020-04-21下午4 31 37

${chalk.yellow(
'Please visit http://loopback.io/doc/en/lb4/Controller-generator.html for information on how models are discovered',
)}`,
chalk.yellow(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if it matters but before only the "Please visit..." portion was in yellow and now all of it is

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

截屏2020-04-22上午9 23 29

I modified it so that it is the same as before.

@agnes512 agnes512 requested review from dhmlau and removed request for deepakrkris, emonddr, hacksparrow and nabdelgadir April 21, 2020 20:38
${chalk.yellow(
'Please visit http://loopback.io/doc/en/lb4/Controller-generator.html for information on how models are discovered',
)}`,
chalk.yellow(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if it matters but before only the "Please visit..." portion was in yellow and now all of it is

@agnes512 agnes512 merged commit c87bd07 into master Apr 22, 2020
@agnes512 agnes512 deleted the con-rest branch April 22, 2020 15:04
@agnes512 agnes512 added the CLI label Apr 22, 2020
@agnes512 agnes512 added this to the April 2020 milestone Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[GSSC-GVT]English String in LB4 command "apic lb4 controller"

3 participants