feat: Component for listing the portal (#5146)

This commit is contained in:
Sivin Varghese
2022-08-02 20:03:51 +05:30
committed by GitHub
parent 5735a8e377
commit 11fe3f071e
8 changed files with 815 additions and 11 deletions

View File

@@ -27,16 +27,51 @@
"SAVED": "Draft saved"
},
"PORTAL": {
"HEADER": "Portals",
"NEW_BUTTON": "New Portal",
"ACTIVE_BADGE": "active",
"CHOOSE_LOCALE_LABEL": "Choose a locale",
"ARTICLES_LABEL": "articles",
"ADD_NEW_LOCALE": "Add a new locale",
"POPOVER": {
"TITLE": "Portals",
"NEW_PORTAL_LINK": "New Portal",
"PORTAL_SETTINGS": "Portal settings",
"SUBTITLE": "You have multiple portals and can have different locales for each portal.",
"CANCEL_BUTTON_LABEL": "Cancel",
"CHOOSE_LOCALE_BUTTON": "Choose Locale"
},
"PORTAL_SETTINGS": {
"LIST_ITEM": {
"HEADER": {
"COUNT_LABEL": "articles",
"ADD": "Add locale",
"VISIT": "Visit site",
"SETTINGS": "Settings"
},
"PORTAL_CONFIG": {
"TITLE": "Portal Configurations",
"ITEMS": {
"NAME": "Name",
"DOMAIN": "Custom domain",
"SLUG": "Slug",
"TITLE": "Portal title",
"THEME": "Theme color",
"SUB_TEXT": "Portal sub text"
}
},
"AVAILABLE_LOCALES": {
"TITLE": "Available locales",
"TABLE": {
"NAME": "Locale name",
"CODE": "Locale code",
"ARTICLE_COUNT": "No. of articles",
"CATEGORIES": "No. of categories",
"SWAP": "Swap",
"DELETE": "Delete",
"DEFAULT_LOCALE": "Default"
}
}
}
}
},
"TABLE": {