fix(profile): i18n keys

This commit is contained in:
2026-02-15 16:27:16 +01:00
parent 84ecd3c175
commit 440e11bdd9
3 changed files with 4 additions and 6 deletions
@@ -1,8 +1,6 @@
<template> <template>
<section class="profile-history-list"> <section class="profile-history-list">
<div class="list-header"> <div class="list-header">
<h3>OSTATNIA AKTYWNOŚĆ GRACZA</h3>
<div class="history-menu"> <div class="history-menu">
<button <button
v-for="(filterState, filterKey) in activeFilterTypes" v-for="(filterState, filterKey) in activeFilterTypes"
@@ -50,7 +50,7 @@
</div> </div>
<div class="info-activity" v-if="playerInfo.currentActivity.dispatcher.length > 0"> <div class="info-activity" v-if="playerInfo.currentActivity.dispatcher.length > 0">
<b class="text--primary">{{ t('profile.online-as-dispatcher') }}</b> <b class="text--primary">{{ t('profile.stats.online-as-dispatcher') }}</b>
{{ {{
playerInfo.currentActivity.dispatcher playerInfo.currentActivity.dispatcher
.map((d) => `${d.stationName} (${d.stationHash})`) .map((d) => `${d.stationName} (${d.stationHash})`)
@@ -62,8 +62,8 @@
class="info-activity" class="info-activity"
v-if="playerInfo.currentActivity.driver && playerInfo.currentActivity.driver.length > 0" v-if="playerInfo.currentActivity.driver && playerInfo.currentActivity.driver.length > 0"
> >
<b>{{ t('profile.online-as-driver') }}</b> <b>{{ t('profile.stats.online-as-driver') }}</b>
{{ playerInfo.currentActivity.driver.trainNo }} {{ t('profile.on-scenery') }} {{ playerInfo.currentActivity.driver.trainNo }} {{ t('profile.stats.on-scenery') }}
{{ playerInfo.currentActivity.driver.currentStationName }} {{ playerInfo.currentActivity.driver.currentStationName }}
</div> </div>
+1 -1
View File
@@ -127,7 +127,7 @@ async function fetchPlayerJournal(playerId: string) {
const response = await apiStore.client.get<API.PlayerJournal.Data>('api/getPlayerJournal', { const response = await apiStore.client.get<API.PlayerJournal.Data>('api/getPlayerJournal', {
params: { params: {
playerId: playerId, playerId: playerId,
dateScope: '14d' dateScope: '30d'
} }
}); });