separated page name translations #270
1 changed files with 10 additions and 2 deletions
|
@ -31,17 +31,25 @@ export const selectPageTitle = createSelector(
|
||||||
(page, params) => {
|
(page, params) => {
|
||||||
switch (page) {
|
switch (page) {
|
||||||
case "settings":
|
case "settings":
|
||||||
case "help":
|
return __("Settings");
|
||||||
case "report":
|
case "report":
|
||||||
|
return __("Report");
|
||||||
case "wallet":
|
case "wallet":
|
||||||
|
return __("Wallet");
|
||||||
case "send":
|
case "send":
|
||||||
|
return __("Send");
|
||||||
case "receive":
|
case "receive":
|
||||||
|
return __("Receive");
|
||||||
case "rewards":
|
case "rewards":
|
||||||
|
return __("Rewards");
|
||||||
case "start":
|
case "start":
|
||||||
|
return __("Start");
|
||||||
case "publish":
|
case "publish":
|
||||||
|
return __("Publish");
|
||||||
case "help":
|
case "help":
|
||||||
|
return __("Help");
|
||||||
case "developer":
|
case "developer":
|
||||||
return __(page.charAt(0).toUpperCase() + page.slice(1));
|
return __("Developer");
|
||||||
case "search":
|
case "search":
|
||||||
return params.query
|
return params.query
|
||||||
? __("Search results for %s", params.query)
|
? __("Search results for %s", params.query)
|
||||||
|
|
Loading…
Reference in a new issue