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:
Copilot
2025-12-02 12:23:10 +08:00
committed by GitHub
parent 0f24b506fa
commit 6c3d9d05be
24 changed files with 5693 additions and 465 deletions

View File

@@ -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");
}
}
}