mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-04 13:58:12 +00:00
fix(profile): i18n keys
This commit is contained in:
@@ -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>
|
||||||
|
|
||||||
|
|||||||
@@ -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'
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user