Skip to content

Commit 59507a0

Browse files
Disabling pluralizer
1 parent 1335230 commit 59507a0

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

src/main/resources/codegen/reactjs/AggregateList.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ const ${fns.capitalize(fns.makePlural(aggregate.aggregateName))} = () => {
9999
return (
100100
<>
101101
<div className="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom">
102-
<h1 className="h2">${fns.makePlural(aggregate.aggregateName)}</h1>
102+
<h1 className="h2">${aggregate.aggregateName}</h1>
103103
<div className="btn-toolbar mb-2 mb-md-0">
104104
<div className="btn-group me-2">
105105
<button type="button" className="btn btn-sm btn-outline-secondary" onClick={_${aggregate.factoryMethod.name}}>${fns.capitalize(aggregate.factoryMethod.name)}</button>

src/test/resources/text-expectations/reactjs/author-aggregate-list.text

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const Authors = () => {
4545
return (
4646
<>
4747
<div className="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom">
48-
<h1 className="h2">Authors</h1>
48+
<h1 className="h2">Author</h1>
4949
<div className="btn-toolbar mb-2 mb-md-0">
5050
<div className="btn-group me-2">
5151
<button type="button" className="btn btn-sm btn-outline-secondary" onClick={_withName}>WithName</button>

src/test/resources/text-expectations/reactjs/catalog-aggregate-list.text

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const Catalogs = () => {
4545
return (
4646
<>
4747
<div className="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom">
48-
<h1 className="h2">Catalogs</h1>
48+
<h1 className="h2">Catalog</h1>
4949
<div className="btn-toolbar mb-2 mb-md-0">
5050
<div className="btn-group me-2">
5151
<button type="button" className="btn btn-sm btn-outline-secondary" onClick={_create}>Create</button>

src/test/resources/text-expectations/reactjs/order-aggregate-list.text

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const Orders = () => {
4545
return (
4646
<>
4747
<div className="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom">
48-
<h1 className="h2">Orders</h1>
48+
<h1 className="h2">Order</h1>
4949
<div className="btn-toolbar mb-2 mb-md-0">
5050
<div className="btn-group me-2">
5151
<button type="button" className="btn btn-sm btn-outline-secondary" onClick={_create}>Create</button>

src/test/resources/text-expectations/reactjs/orders-aggregate-list.text

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const Orders = () => {
4545
return (
4646
<>
4747
<div className="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom">
48-
<h1 className="h2">Orders</h1>
48+
<h1 className="h2">Order</h1>
4949
<div className="btn-toolbar mb-2 mb-md-0">
5050
<div className="btn-group me-2">
5151
<button type="button" className="btn btn-sm btn-outline-secondary" onClick={_create}>Create</button>

src/test/resources/text-expectations/reactjs/proposal-aggregate-list.text

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const Proposals = () => {
4545
return (
4646
<>
4747
<div className="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom">
48-
<h1 className="h2">Proposals</h1>
48+
<h1 className="h2">Proposal</h1>
4949
<div className="btn-toolbar mb-2 mb-md-0">
5050
<div className="btn-group me-2">
5151
<button type="button" className="btn btn-sm btn-outline-secondary" onClick={_submitFor}>SubmitFor</button>

src/test/resources/text-expectations/reactjs/proposals-aggregate-list.text

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const Proposals = () => {
4545
return (
4646
<>
4747
<div className="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom">
48-
<h1 className="h2">Proposals</h1>
48+
<h1 className="h2">Proposal</h1>
4949
<div className="btn-toolbar mb-2 mb-md-0">
5050
<div className="btn-group me-2">
5151
<button type="button" className="btn btn-sm btn-outline-secondary" onClick={_submitFor}>SubmitFor</button>

src/test/resources/text-expectations/reactjs/user-aggregate-list.text

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const Users = () => {
4545
return (
4646
<>
4747
<div className="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom">
48-
<h1 className="h2">Users</h1>
48+
<h1 className="h2">User</h1>
4949
<div className="btn-toolbar mb-2 mb-md-0">
5050
<div className="btn-group me-2">
5151
<button type="button" className="btn btn-sm btn-outline-secondary" onClick={_withName}>WithName</button>

0 commit comments

Comments
 (0)