File tree 1 file changed +3
-3
lines changed
erpnext/selling/page/point_of_sale
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -966,13 +966,13 @@ erpnext.PointOfSale.ItemCart = class {
966
966
967
967
if ( ! res . length ) {
968
968
transaction_container . html (
969
- `<div class="no-transactions-placeholder">No recent transactions found</div>`
969
+ `<div class="no-transactions-placeholder">${ __ ( " No recent transactions found" ) } </div>`
970
970
) ;
971
971
return ;
972
972
}
973
973
974
974
const elapsed_time = moment ( res [ 0 ] . posting_date + " " + res [ 0 ] . posting_time ) . fromNow ( ) ;
975
- this . $customer_section . find ( ".customer-desc" ) . html ( `Last transacted ${ elapsed_time } ` ) ;
975
+ this . $customer_section . find ( ".customer-desc" ) . html ( `${ __ ( " Last transacted" ) } ${ __ ( elapsed_time ) } ` ) ;
976
976
977
977
res . forEach ( ( invoice ) => {
978
978
const posting_datetime = moment ( invoice . posting_date + " " + invoice . posting_time ) . format (
@@ -997,7 +997,7 @@ erpnext.PointOfSale.ItemCart = class {
997
997
</div>
998
998
<div class="invoice-status">
999
999
<span class="indicator-pill whitespace-nowrap ${ indicator_color [ invoice . status ] } ">
1000
- <span>${ invoice . status } </span>
1000
+ <span>${ __ ( invoice . status ) } </span>
1001
1001
</span>
1002
1002
</div>
1003
1003
</div>
You can’t perform that action at this time.
0 commit comments