Skip to content

Commit

Permalink
Merge pull request #330 from FrutyX/FrutyX-Desc
Browse files Browse the repository at this point in the history
Used the unused description in Gold & XP Stats
  • Loading branch information
GreatApo authored Jan 2, 2022
2 parents 9f067ab + eddccf2 commit e649f06
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
1 change: 1 addition & 0 deletions source/core/locale/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ gca_languages["en"] = {
gold_exp_data_total_exp : "Total experience",
gold_exp_data_total_gold : "Total gold",
gold_exp_data_reset : "Stats have been reset!",
gold_exp_data_desc: "Data are collected every 5 minutes. Selling items will double your gold earnings.",

// Items
merchenary_type : "Type: {{name}} ({{number}})",
Expand Down
12 changes: 4 additions & 8 deletions source/core/source/global.js
Original file line number Diff line number Diff line change
Expand Up @@ -4530,14 +4530,10 @@ var gca_global = {
dialog.body.appendChild(canvas);

// Add description
//div = document.createElement('div');
//div.textContent = "Click on graph's legends to enable/disable data groups. Gold and Experience data are summed starting from 7 days ago.";
//dialog.body.appendChild(div);

// Add some space
div = document.createElement('div');
div.className = "space";
dialog.body.appendChild(div);
desc = document.createElement('p');
desc.textContent = gca_locale.get("global", "gold_exp_data_desc");
desc.style.textAlign = "center";
dialog.body.appendChild(desc);

var renderChart = function(){
// Values for the Data Plot
Expand Down

0 comments on commit e649f06

Please sign in to comment.