refactor: move trailing whitespace out of translate func

This commit is contained in:
18alantom 2021-05-18 17:30:23 +05:30
parent 0b669b3d7e
commit 1851232e3c
4 changed files with 10 additions and 10 deletions

View File

@ -367,7 +367,7 @@ frappe.tour['Delivery Note'] = [
{ {
fieldname: "items", fieldname: "items",
title: __("Items"), title: __("Items"),
description: __("This table is used to set details about the 'Item', 'Qty', 'Basic Rate', etc. ") + description: __("This table is used to set details about the 'Item', 'Qty', 'Basic Rate', etc.") + " " +
__("Different 'Source Warehouse' and 'Target Warehouse' can be set for each row.") __("Different 'Source Warehouse' and 'Target Warehouse' can be set for each row.")
}, },
{ {

View File

@ -804,7 +804,7 @@ frappe.tour['Item'] = [
{ {
fieldname: "item_code", fieldname: "item_code",
title: __("Item Code"), title: __("Item Code"),
description: __("The Item Code can be thought of as a short-form that refers to the item. ") + description: __("The Item Code can be thought of as a short-form that refers to the item.") + " " +
__("For more information click here: ") + __("For more information click here: ") +
"<a href='https://docs.erpnext.com/docs/user/manual/en/stock/articles/item-codification' target='_blank'>Item Codification</a>" + "<a href='https://docs.erpnext.com/docs/user/manual/en/stock/articles/item-codification' target='_blank'>Item Codification</a>" +
__("."), __("."),
@ -812,23 +812,23 @@ frappe.tour['Item'] = [
{ {
fieldname: "item_group", fieldname: "item_group",
title: __("Item Group"), title: __("Item Group"),
description: __("This is used for categorizing items under a common criteria. ") + description: __("This is used for categorizing items under a common criteria.") + " " +
__("For more information click here: ") + __("For more information click here:") + " " +
"<a href='https://docs.erpnext.com/docs/user/manual/en/stock/item-group' target='_blank'>Item Group</a>" + "<a href='https://docs.erpnext.com/docs/user/manual/en/stock/item-group' target='_blank'>Item Group</a>" +
__("."), __("."),
}, },
{ {
fieldname: "stock_uom", fieldname: "stock_uom",
title: __("Default Unit of Measure"), title: __("Default Unit of Measure"),
description: __("The Item Code can be thought of as a short-form that refers to the item. ") + description: __("The Item Code can be thought of as a short-form that refers to the item.") + " " +
__("For more information click here: ") + __("For more information click here:") + " " +
"<a href='https://docs.erpnext.com/docs/user/manual/en/stock/uom' target='_blank'>Unit of Measure</a>" + "<a href='https://docs.erpnext.com/docs/user/manual/en/stock/uom' target='_blank'>Unit of Measure</a>" +
__("."), __("."),
}, },
{ {
fieldname: "is_stock_item", fieldname: "is_stock_item",
title: __("Maintain Stock"), title: __("Maintain Stock"),
description: __("Selecting this creates a stock item and 'Stock Ledger' entries are created for all transcations. ") + description: __("Selecting this creates a stock item and 'Stock Ledger' entries are created for all transcations.") + " " +
__("Unselect this for a non-stock item such as a service.") __("Unselect this for a non-stock item such as a service.")
}, },
] ]

View File

@ -358,7 +358,7 @@ frappe.tour['Purchase Receipt'] = [
{ {
fieldname: "items", fieldname: "items",
title: __("Items"), title: __("Items"),
description: __("This table is used to set details about the 'Item', 'Qty', 'Basic Rate', etc. ") + description: __("This table is used to set details about the 'Item', 'Qty', 'Basic Rate', etc.") + " " +
__("Different 'Source Warehouse' and 'Target Warehouse' can be set for each row.") __("Different 'Source Warehouse' and 'Target Warehouse' can be set for each row.")
}, },
{ {

View File

@ -1106,13 +1106,13 @@ frappe.tour['Stock Entry'] = [
{ {
fieldname: "stock_entry_type", fieldname: "stock_entry_type",
title: __("Stock Entry Type"), title: __("Stock Entry Type"),
description: __("There are multiple 'Stock Entry Type's you can even create your own. ") + description: __("There are multiple 'Stock Entry Type's you can even create your own.") + " " +
__("For moving material between warehouses you can select 'Material Transfer'") __("For moving material between warehouses you can select 'Material Transfer'")
}, },
{ {
fieldname: "items", fieldname: "items",
title: __("Items"), title: __("Items"),
description: __("This table is used to set details about the 'Item', 'Qty', 'Basic Rate', etc. ") + description: __("This table is used to set details about the 'Item', 'Qty', 'Basic Rate', etc.") + " " +
__("Different 'Source Warehouse' and 'Target Warehouse' can be set for each row.") __("Different 'Source Warehouse' and 'Target Warehouse' can be set for each row.")
}, },
{ {