mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-22 04:56:15 -04:00
Removed unused translations
This commit is contained in:
parent
de99dd9ba8
commit
b2e6e3c9e4
10 changed files with 182 additions and 293 deletions
|
@ -108,7 +108,7 @@ export function gameOver(title: string, intro: string) {
|
|||
(u) => u.threshold > startTs && u.threshold < endTs,
|
||||
);
|
||||
if (unlockedItems.length) {
|
||||
unlocksInfo += `<p>${t("gameOver.unlocked_count", { count: unlockedItems.length })} ${unlockedItems.map((u) => u.title).join(", ")}</p>`;
|
||||
unlocksInfo += `<p>${t('gameOver.unlocked_count', { count: unlockedItems.length })} ${unlockedItems.map((u) => u.title).join(", ")}</p>`;
|
||||
}
|
||||
|
||||
// Avoid the sad sound right as we restart a new games
|
||||
|
@ -119,7 +119,6 @@ export function gameOver(title: string, intro: string) {
|
|||
title,
|
||||
content: [
|
||||
`
|
||||
${gameState.isCreativeModeRun ? `<p>${t("gameOver.test_run")}</p> ` : ""}
|
||||
<p>${intro}</p>
|
||||
<p>${t("gameOver.cumulative_total", { startTs, endTs })}</p>
|
||||
${unlocksInfo}
|
||||
|
@ -160,11 +159,11 @@ export function getHistograms(gameState: GameState) {
|
|||
});
|
||||
|
||||
// Generate some histogram
|
||||
if (!gameState.isCreativeModeRun)
|
||||
localStorage.setItem(
|
||||
"breakout_71_runs_history",
|
||||
JSON.stringify(runsHistory, null, 2),
|
||||
);
|
||||
|
||||
localStorage.setItem(
|
||||
"breakout_71_runs_history",
|
||||
JSON.stringify(runsHistory, null, 2),
|
||||
);
|
||||
|
||||
const makeHistogram = (
|
||||
title: string,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue