fix: translate tour for web page

This commit is contained in:
Shivam Mishra 2020-05-21 19:38:49 +05:30
parent c615767aec
commit 5bdcc4cbe0

View file

@ -52,54 +52,54 @@ frappe.ui.form.on('Web Page', {
frappe.tour['Web Page'] = [
{
fieldname: "title",
title: "Title of the page",
description: "This title will be used as the title of the webpage as well as in meta tags",
title: __("Title of the page"),
description: __("This title will be used as the title of the webpage as well as in meta tags"),
},
{
fieldname: "published",
title: "Makes the page public",
description: "Checking this will publish the page on your website and it'll be visible to everyone.",
title: __("Makes the page public"),
description: __("Checking this will publish the page on your website and it'll be visible to everyone."),
},
{
fieldname: "route",
title: "URL of the page",
description: "This will be automatically generated when you publish the page, you can also enter a route yourself if you wish",
title: __("URL of the page"),
description: __("This will be automatically generated when you publish the page, you can also enter a route yourself if you wish"),
},
{
fieldname: "content_type",
title: "Content type for building the page",
description: `You can select one from the following, <br>
title: __("Content type for building the page"),
description: `${__('You can select one from the following,')} <br>
<ul>
<li><b>Rich Text</b>: Standard rich text editor with controls</li>
<li><b>Markdown</b>: Github flavoured markdown syntax</li>
<li><b>HTML</b>: HTML with jinja support</li>
<li><b>Page Builder</b>: Frappe page builder using components</li>
<li><b>${__('Rich Text')}</b>: ${__('Standard rich text editor with controls')}</li>
<li><b>${__('Markdown')}</b>: ${__('Github flavoured markdown syntax')}</li>
<li><b>${__('HTML')}</b>: ${__('HTML with jinja support')}</li>
<li><b>${__('Page Builder')}</b>: ${__('Frappe page builder using components')}</li>
</ul>
`
},
{
fieldname: "insert_code",
title: "Client Script",
description: "Checking this will show a text area where you can write custom javascript that will run on this page.",
title: __("Client Script"),
description: __("Checking this will show a text area where you can write custom javascript that will run on this page."),
},
{
fieldname: "meta_title",
title: "Meta title for SEO",
description: "By default the title is used as meta title, adding a value here will override it.",
title: __("Meta title for SEO"),
description: __("By default the title is used as meta title, adding a value here will override it."),
},
{
fieldname: "meta_title",
title: "Meta Title",
description: "By default the title is used as meta title, adding a value here will override it.",
title: __("Meta Title"),
description: __("By default the title is used as meta title, adding a value here will override it."),
},
{
fieldname: "meta_description",
title: "Meta Description",
description: "The meta description is an HTML attribute that provides a brief summary of a web page. Search engines such as Google often display the meta description in search results, which can influence click-through rates."
title: __("Meta Description"),
description: __("The meta description is an HTML attribute that provides a brief summary of a web page. Search engines such as Google often display the meta description in search results, which can influence click-through rates.")
},
{
fieldname: "meta_image",
title: "Meta Image",
description: "The meta image is unique image representing the content of the page. Images for this Card should be at least 280px in width, and at least 150px in height."
title: __("Meta Image"),
description: __("The meta image is unique image representing the content of the page. Images for this Card should be at least 280px in width, and at least 150px in height.")
},
];