fix mis-merge of navigation fix
This commit is contained in:
parent
e5f4796bc5
commit
56c7561673
1 changed files with 16 additions and 4 deletions
|
@ -25,15 +25,19 @@ export const selectHeaderLinks = createSelector(selectCurrentPage, page => {
|
||||||
// This contains intentional fall throughs
|
// This contains intentional fall throughs
|
||||||
switch (page) {
|
switch (page) {
|
||||||
case "wallet":
|
case "wallet":
|
||||||
|
case "history":
|
||||||
case "send":
|
case "send":
|
||||||
case "receive":
|
case "receive":
|
||||||
|
case "invite":
|
||||||
case "rewards":
|
case "rewards":
|
||||||
case "backup":
|
case "backup":
|
||||||
return {
|
return {
|
||||||
wallet: __("Overview"),
|
wallet: __("Overview"),
|
||||||
|
history: __("History"),
|
||||||
send: __("Send"),
|
send: __("Send"),
|
||||||
receive: __("Receive"),
|
receive: __("Receive"),
|
||||||
rewards: __("Rewards"),
|
rewards: __("Rewards"),
|
||||||
|
invite: __("Invites"),
|
||||||
};
|
};
|
||||||
case "downloaded":
|
case "downloaded":
|
||||||
case "published":
|
case "published":
|
||||||
|
@ -64,13 +68,17 @@ export const selectPageTitle = createSelector(
|
||||||
case "wallet":
|
case "wallet":
|
||||||
return __("Wallet");
|
return __("Wallet");
|
||||||
case "send":
|
case "send":
|
||||||
return __("Send");
|
return __("Send Credits");
|
||||||
case "receive":
|
case "receive":
|
||||||
return __("Receive");
|
return __("Wallet Address");
|
||||||
case "backup":
|
case "backup":
|
||||||
return __("Backup");
|
return __("Backup Your Wallet");
|
||||||
case "rewards":
|
case "rewards":
|
||||||
return __("Rewards");
|
return __("Rewards");
|
||||||
|
case "invite":
|
||||||
|
return __("Invites");
|
||||||
|
case "start":
|
||||||
|
return __("Start");
|
||||||
case "publish":
|
case "publish":
|
||||||
return __("Publish");
|
return __("Publish");
|
||||||
case "help":
|
case "help":
|
||||||
|
@ -95,8 +103,12 @@ export const selectPageTitle = createSelector(
|
||||||
return __("Publishes");
|
return __("Publishes");
|
||||||
case "discover":
|
case "discover":
|
||||||
return __("Home");
|
return __("Home");
|
||||||
default:
|
case false:
|
||||||
|
case null:
|
||||||
|
case "":
|
||||||
return "";
|
return "";
|
||||||
|
default:
|
||||||
|
return page[0].toUpperCase() + (page.length > 0 ? page.substr(1) : "");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue