From 1851232e3cc13676c131de99cc2df0b6fc5526ee Mon Sep 17 00:00:00 2001
From: 18alantom <2.alan.tom@gmail.com>
Date: Tue, 18 May 2021 17:30:23 +0530
Subject: [PATCH] refactor: move trailing whitespace out of translate func
---
erpnext/stock/doctype/delivery_note/delivery_note.js | 2 +-
erpnext/stock/doctype/item/item.js | 12 ++++++------
.../doctype/purchase_receipt/purchase_receipt.js | 2 +-
erpnext/stock/doctype/stock_entry/stock_entry.js | 4 ++--
4 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/erpnext/stock/doctype/delivery_note/delivery_note.js b/erpnext/stock/doctype/delivery_note/delivery_note.js
index b73ebd6c3b..706ca36598 100644
--- a/erpnext/stock/doctype/delivery_note/delivery_note.js
+++ b/erpnext/stock/doctype/delivery_note/delivery_note.js
@@ -367,7 +367,7 @@ frappe.tour['Delivery Note'] = [
{
fieldname: "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.")
},
{
diff --git a/erpnext/stock/doctype/item/item.js b/erpnext/stock/doctype/item/item.js
index 6af14c95a4..e664e9c1cd 100644
--- a/erpnext/stock/doctype/item/item.js
+++ b/erpnext/stock/doctype/item/item.js
@@ -804,7 +804,7 @@ frappe.tour['Item'] = [
{
fieldname: "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: ") +
"Item Codification" +
__("."),
@@ -812,23 +812,23 @@ frappe.tour['Item'] = [
{
fieldname: "item_group",
title: __("Item Group"),
- description: __("This is used for categorizing items under a common criteria. ") +
- __("For more information click here: ") +
+ description: __("This is used for categorizing items under a common criteria.") + " " +
+ __("For more information click here:") + " " +
"Item Group" +
__("."),
},
{
fieldname: "stock_uom",
title: __("Default Unit of Measure"),
- description: __("The Item Code can be thought of as a short-form that refers to the item. ") +
- __("For more information click here: ") +
+ description: __("The Item Code can be thought of as a short-form that refers to the item.") + " " +
+ __("For more information click here:") + " " +
"Unit of Measure" +
__("."),
},
{
fieldname: "is_stock_item",
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.")
},
]
diff --git a/erpnext/stock/doctype/purchase_receipt/purchase_receipt.js b/erpnext/stock/doctype/purchase_receipt/purchase_receipt.js
index fd4be86ae9..9f002f459f 100644
--- a/erpnext/stock/doctype/purchase_receipt/purchase_receipt.js
+++ b/erpnext/stock/doctype/purchase_receipt/purchase_receipt.js
@@ -358,7 +358,7 @@ frappe.tour['Purchase Receipt'] = [
{
fieldname: "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.")
},
{
diff --git a/erpnext/stock/doctype/stock_entry/stock_entry.js b/erpnext/stock/doctype/stock_entry/stock_entry.js
index 8616a4cd3f..30d0750959 100644
--- a/erpnext/stock/doctype/stock_entry/stock_entry.js
+++ b/erpnext/stock/doctype/stock_entry/stock_entry.js
@@ -1106,13 +1106,13 @@ frappe.tour['Stock Entry'] = [
{
fieldname: "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'")
},
{
fieldname: "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.")
},
{