Merge pull request #270 from intnick/transiflex

separated page name translations
This commit is contained in:
Jeremy Kauffman 2017-06-22 08:50:17 -04:00 committed by GitHub
commit 2285f2f01e

View file

@ -31,17 +31,25 @@ export const selectPageTitle = createSelector(
(page, params) => {
switch (page) {
case "settings":
case "help":
return __("Settings");
case "report":
return __("Report");
case "wallet":
return __("Wallet");
case "send":
return __("Send");
case "receive":
return __("Receive");
case "rewards":
return __("Rewards");
case "start":
return __("Start");
case "publish":
return __("Publish");
case "help":
return __("Help");
case "developer":
return __(page.charAt(0).toUpperCase() + page.slice(1));
return __("Developer");
case "search":
return params.query
? __("Search results for %s", params.query)