mirror of
https://github.com/StarCitizenToolBox/app.git
synced 2026-02-12 10:10:23 +00:00
feat: L10n for party room
* Initial plan * Fix l10n_gen multi-line string bug and add localization strings for party_room and splash modules Co-authored-by: xkeyC <39891083+xkeyC@users.noreply.github.com> * Fix const/import issues in l10n_replace output Co-authored-by: xkeyC <39891083+xkeyC@users.noreply.github.com> * Fix comment issues found in code review Co-authored-by: xkeyC <39891083+xkeyC@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: xkeyC <39891083+xkeyC@users.noreply.github.com>
This commit is contained in:
@@ -66,7 +66,7 @@ class PartyRoomGameLogTrackerProvider extends _$PartyRoomGameLogTrackerProvider
|
||||
}
|
||||
} catch (e) {
|
||||
// 游戏未启动或发生错误
|
||||
state = state.copyWith(location: '<游戏未启动>', gameStartTime: null, kills: 0, deaths: 0);
|
||||
state = state.copyWith(location: S.current.party_room_game_not_started, gameStartTime: null, kills: 0, deaths: 0);
|
||||
}
|
||||
await Future.delayed(const Duration(seconds: 10));
|
||||
}
|
||||
@@ -149,4 +149,4 @@ class PartyRoomGameLogTrackerProvider extends _$PartyRoomGameLogTrackerProvider
|
||||
var path = p.path;
|
||||
return path.replaceAll(r"Bin64\StarCitizen.exe", "Game.log");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user