Skip to content

Commit 8bcaee3

Browse files
committed
Remove hardcoded en-us
1 parent 2cd897d commit 8bcaee3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

options/options.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html lang="en-us">
2+
<html>
33
<head>
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">

options/options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@
178178
}
179179
else if( ExtensionApi.runtime.id === 'firefox-extension@steamdb.info' )
180180
{
181-
storeHref = 'https://addons.mozilla.org/en-US/firefox/addon/steam-database/?utm_source=Options';
181+
storeHref = 'https://addons.mozilla.org/firefox/addon/steam-database/?utm_source=Options';
182182
}
183183

184184
/** @type {HTMLAnchorElement} */

scripts/community/achievements_cs2.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ const DrawChart = ( initialData, hoveredIndex, canvas, tooltip, maxLength ) =>
258258
ctx.fillStyle = '#fff';
259259
ctx.arc( circleX, circleY, 3 * devicePixelRatio, 0, Math.PI * 2 );
260260
ctx.fill();
261-
tooltip.textContent = `${highlightedCSR.toLocaleString( 'en-US' )}\n${highlightedDate}`;
261+
tooltip.textContent = `${highlightedCSR.toLocaleString()}\n${highlightedDate}`;
262262
}
263263
};
264264

@@ -328,7 +328,7 @@ const CreateCSRatingTable = ( container, rows ) =>
328328
tr.append( datetime );
329329

330330
const csr = document.createElement( 'td' );
331-
csr.textContent = row.csr.toLocaleString( 'en-US' );
331+
csr.textContent = row.csr.toLocaleString();
332332
const tier = Math.min( Math.floor( row.csr / 5000 ), tierColors.length - 1 );
333333
csr.className = 'steamdb_achievements_csrating-value';
334334
csr.style.color = tierColors[ tier ];

0 commit comments

Comments
 (0)