From 3a95257bebb8edb191fdb4e220d2287adcd99a2f Mon Sep 17 00:00:00 2001 From: Songyi Huang Date: Thu, 17 Jun 2021 20:59:38 -0700 Subject: [PATCH] fix language got reset when reseting statistics --- src/view/PvEView/PvEDoudizhuDemoView.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/view/PvEView/PvEDoudizhuDemoView.js b/src/view/PvEView/PvEDoudizhuDemoView.js index efcfb17..f4658fb 100644 --- a/src/view/PvEView/PvEDoudizhuDemoView.js +++ b/src/view/PvEView/PvEDoudizhuDemoView.js @@ -545,19 +545,19 @@ function PvEDoudizhuDemoView() { localStorage.removeItem('GAME_STATISTICS'); setStatisticRows([ { - role: 'Landlord', + role: t('doudizhu.landlord'), win: 0, total: 0, winRate: '-', }, { - role: 'Landlord Up', + role: t('doudizhu.landlord_up'), win: 0, total: 0, winRate: '-', }, { - role: 'Landlord Down', + role: t('doudizhu.landlord_down'), win: 0, total: 0, winRate: '-',