Add locales to commands
This commit is contained in:
parent
72af0b8a3f
commit
b3747909bd
4 changed files with 6 additions and 6 deletions
|
@ -19,7 +19,6 @@
|
|||
},
|
||||
"index": {
|
||||
"welcome": "Welcome to Sandwiches Order Doua",
|
||||
"command": "Command",
|
||||
"sandwich": "Sandwich",
|
||||
"day": "Day",
|
||||
"pay": "Pay"
|
||||
|
@ -45,5 +44,6 @@
|
|||
"department": "Department",
|
||||
"commands": "Commands",
|
||||
"sandwiches": "Sandwiches",
|
||||
"date": "Date"
|
||||
"date": "Date",
|
||||
"command": "Command"
|
||||
}
|
||||
|
|
|
@ -2,10 +2,10 @@ extends layout
|
|||
|
||||
block content
|
||||
div#date-selector.card
|
||||
label(for="date") Date
|
||||
label(for="date")=__("date")
|
||||
input#date(type="date" value=date)
|
||||
div#orders.card
|
||||
h1 Orders
|
||||
h1=__("commands")
|
||||
each user, department in commands
|
||||
div.department
|
||||
h2= department
|
||||
|
@ -14,7 +14,7 @@ block content
|
|||
h3= name
|
||||
each order, id in command
|
||||
div.order
|
||||
h4 Command N°#{id}
|
||||
h4 #{__("command")} N°#{id}
|
||||
each sandwich in order
|
||||
div.sandwich
|
||||
h4= sandwich.Sandwich.name
|
||||
|
|
|
@ -20,7 +20,7 @@ block content
|
|||
input#lastname(type="text" name="lastName" value=user ? user.lastName : "" required)
|
||||
|
||||
div#command1.command
|
||||
h2=__("index.command")+" 1"
|
||||
h2=__("command")+" 1"
|
||||
div.field
|
||||
label(for="sandwich1")=__("index.sandwich")+":"
|
||||
input#sandwich1(type="list" list="sandwich-list" name="sandwich1" autocomplete="off" required)
|
||||
|
|
Reference in a new issue