Skip to content

Commit

Permalink
#32: Use unique language constant due to unique content
Browse files Browse the repository at this point in the history
  • Loading branch information
lat9 committed Apr 4, 2022
1 parent 13068a4 commit 54140e4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
11 changes: 10 additions & 1 deletion README.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SALES REPORT Version 3.5.0
SALES REPORT Version 3.5.1
By Frank Koehl (PM: BlindSide), Conor Kerr Ceon, Carl Peach, Cindy Merkin (lat9), Scott C. Wilson (swguy)

author Czech translation : Josef Zahradník
Expand Down Expand Up @@ -381,6 +381,15 @@ Modified:
/YOUR_ADMIN/includes/classes/sales_report.php
/YOUR_ADMIN/includes/languages/stats_sales_report.php

=====================================
Changes in 3.5.1, 2022-04-03 (lat9)
=====================================
[BUGFIX] Correct duplicate constant warning.

Modified:
/YOUR_ADMIN/includes/classes/sales_report.php
/YOUR_ADMIN/includes/languages/stats_sales_report.php

=====================================
Sponsored by Destination ImagiNation, Inc.
www.destinationimagination.org
Expand Down
2 changes: 1 addition & 1 deletion YOUR_ADMIN/includes/classes/sales_report.php
Original file line number Diff line number Diff line change
Expand Up @@ -984,7 +984,7 @@ function output_csv($csv_header)
if (DISPLAY_MANUFACTURER) {
$line[] = TABLE_HEADING_MANUFACTURER;
}
$line[] = TABLE_HEADING_MODEL;
$line[] = TABLE_HEADING_MODEL_NO;
$line[] = TABLE_HEADING_BASE_PRICE;
$line[] = TABLE_HEADING_FINAL_PRICE;
$line[] = TABLE_HEADING_QUANTITY;
Expand Down
4 changes: 2 additions & 2 deletions YOUR_ADMIN/includes/languages/english/stats_sales_report.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* SALES REPORT 3.5.0
* SALES REPORT 3.5.1
*
* The language file contains all the text that appears on the report. The first set of
* configuration defines actually impact the report's output and behavior.
Expand Down Expand Up @@ -203,7 +203,7 @@
define('TABLE_HEADING_PRODUCT_NAME', 'Product Name');
define('TABLE_HEADING_PRODUCT_ATTRIBUTES', 'Attributes');
define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');
define('TABLE_HEADING_MODEL', 'Model No.');
define('TABLE_HEADING_MODEL_NO', 'Model No.');
define('TABLE_HEADING_BASE_PRICE', 'Base Price');
define('TABLE_HEADING_FINAL_PRICE', 'Final Price');
define('TABLE_HEADING_QUANTITY', 'Qty.');
Expand Down

0 comments on commit 54140e4

Please sign in to comment.