mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
fix(profile): i18n keys
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
<template>
|
||||
<section class="profile-history-list">
|
||||
<div class="list-header">
|
||||
<h3>OSTATNIA AKTYWNOŚĆ GRACZA</h3>
|
||||
|
||||
<div class="history-menu">
|
||||
<button
|
||||
v-for="(filterState, filterKey) in activeFilterTypes"
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
</div>
|
||||
|
||||
<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
|
||||
.map((d) => `${d.stationName} (${d.stationHash})`)
|
||||
@@ -62,8 +62,8 @@
|
||||
class="info-activity"
|
||||
v-if="playerInfo.currentActivity.driver && playerInfo.currentActivity.driver.length > 0"
|
||||
>
|
||||
<b>{{ t('profile.online-as-driver') }}</b>
|
||||
{{ playerInfo.currentActivity.driver.trainNo }} {{ t('profile.on-scenery') }}
|
||||
<b>{{ t('profile.stats.online-as-driver') }}</b>
|
||||
{{ playerInfo.currentActivity.driver.trainNo }} {{ t('profile.stats.on-scenery') }}
|
||||
{{ playerInfo.currentActivity.driver.currentStationName }}
|
||||
</div>
|
||||
|
||||
|
||||
@@ -127,7 +127,7 @@ async function fetchPlayerJournal(playerId: string) {
|
||||
const response = await apiStore.client.get<API.PlayerJournal.Data>('api/getPlayerJournal', {
|
||||
params: {
|
||||
playerId: playerId,
|
||||
dateScope: '14d'
|
||||
dateScope: '30d'
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user