Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Update translations.json #17266

Merged
merged 2 commits into from
Sep 1, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/scripts/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ async function run() {

const traverse = pages2 => {
pages2.forEach(page => {
if (page.pathname.indexOf('api') === -1) {
if (page.pathname.indexOf('/api') === -1 && page.pathname.indexOf('/blog') === -1) {
const title = pageToTitle(page);

if (title) {
Expand Down
6 changes: 3 additions & 3 deletions docs/src/pages.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const pages = [
{ pathname: '/components/autocomplete' },
{ pathname: '/components/buttons' },
{ pathname: '/components/checkboxes' },
{ pathname: '/components/pickers' },
{ pathname: '/components/pickers', title: 'Date / Time' },
{ pathname: '/components/radio-buttons' },
{ pathname: '/components/selects' },
{ pathname: '/components/slider' },
Expand Down Expand Up @@ -179,8 +179,8 @@ const pages = [
{ pathname: '/guides/composition' },
{ pathname: '/guides/server-rendering' },
{ pathname: '/guides/responsive-ui', title: 'Responsive UI' },
{ pathname: '/guides/migration-v3', title: 'Migration From v3 to v4' },
{ pathname: '/guides/migration-v0x', title: 'Migration From v0.x to v1' },
{ pathname: '/guides/migration-v3', title: 'Migration From v3' },
{ pathname: '/guides/migration-v0x', title: 'Migration From v0.x' },
{ pathname: '/guides/testing' },
{ pathname: '/guides/right-to-left', title: 'Right-to-left' },
{ pathname: '/guides/flow' },
Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/components/pickers/pickers.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Date picker, Time picker React components
components: TextField
---

# Date/Time pickers
# Date / Time pickers

<p class="description">Date pickers and Time pickers provide a simple way to select a single value from a pre-determined set.</p>

Expand Down
12 changes: 9 additions & 3 deletions docs/translations/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
"/components/no-ssr": "No SSR",
"/components/other": "Other",
"/components/paper": "Paper",
"/components/pickers": "Date/Time",
"/components/pickers": "Date / Time",
"/components/popover": "Popover",
"/components/popper": "Popper",
"/components/portal": "Portal",
Expand Down Expand Up @@ -173,7 +173,7 @@
"/system/spacing": "Spacing",
"/system/typography": "Typography",
"/customization": "Customization",
"/customization/theming": "Theming",
"/customization/theming": "Overview",
"/customization/breakpoints": "Breakpoints",
"/customization/color": "Color",
"/customization/themes": "Overview",
Expand Down Expand Up @@ -213,6 +213,12 @@
"/styles": "Styles",
"/styles/basics": "Basics",
"/styles/advanced": "Advanced",
"https://themes.material-ui.com/": "Premium Themes"
"https://themes.material-ui.com/": "Premium Themes",
"/components/material-icons": "Material Icons",
"/components/textarea-autosize": "Textarea Autosize",
"/components/rating": "Rating",
"/components/skeleton": "Skeleton",
"/components/tree-view": "Tree View",
"/customization/density": "Density"
}
}