diff --git a/src/components/PlayerProfileView/ProfileSummary.vue b/src/components/PlayerProfileView/ProfileSummary.vue index f97da32..d9879b1 100644 --- a/src/components/PlayerProfileView/ProfileSummary.vue +++ b/src/components/PlayerProfileView/ProfileSummary.vue @@ -51,14 +51,14 @@ class="a-button btn--action" :to="`/journal/timetables?search-driver=${playerInfo.driverStats.driverName}`" > - DZIENNIK RJ + {{ t('profile.stats.timetables-journal') }} - DZIENNIK DR + {{ t('profile.stats.dispatchers-journal') }} diff --git a/src/locales/en.json b/src/locales/en.json index 7b03507..8e6f7dd 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -197,6 +197,7 @@ "search-train": "Train no. / #", "select-driver": "Choose a driver...", "search-driver": "Driver name", + "search-duty-id": "Duty ID", "search-dispatcher": "Dispatcher name", "search-station": "Scenery name / #", "search-author": "Timetable author name", @@ -620,10 +621,51 @@ "desc-terminated": "The train has been terminated" }, "profile": { + "journal-button": "PLAYER'S PROFILE", + "no-player-found": "Player not found! :/", + "return-to-main": "Return to the main site", + "filters": { "Timetable": "TIMETABLES", "Dispatcher": "DISPATCHER DUTIES", "IssuedTimetable": "ISSUED TIMETABLES" + }, + + "stats": { + "timetables-journal": "TIMETABLE JOURNAL", + "dispatchers-journal": "DISPATCHER JOURNAL", + + "driver": "DRIVER", + "dispatcher": "DISPATCHER", + + "header-driver": "DRIVER'S STATS", + "fulfilled-timetables": "fulfilled timetables", + "route-distance": "confirmed timetables distance", + "confirmed-stops": "confirmed stations in timetables", + "longest-timetable": "longest timetable", + "avg-timetable-length": "average distance of all timetables", + "no-timetable-stats": "This player does not have any registered timetables in Stacjownik!", + + "header-dispatcher": "DISPATCHER'S STATS", + "duties-count": "duties as dispatcher", + "longest-duty": "longest duty", + "created-timetables-count": "issued timetables as dispatcher", + "longest-created-timetable": "longest issued timetable", + "created-timetables-length-sum": "distance sum of issued timetables", + "no-dispatcher-stats": "No registered dispatcher duties in Stacjownik!" + }, + + "recent-stats": { + "header": "ACTIVITY STATISTICS (30 LAST DAYS)", + "timetables": "TIMETABLES", + "distance": "MADE KILOMETERS", + "duties": "DISPATCHER DUTIES", + "created-timetables": "ISSUED TIMETABLES" + }, + + "list": { + "for": "for", + "online-since": "online since" } } } diff --git a/src/locales/pl.json b/src/locales/pl.json index 7d8efb6..a59bbdd 100644 --- a/src/locales/pl.json +++ b/src/locales/pl.json @@ -193,6 +193,7 @@ "search-train": "Nr pociągu / #", "search-driver": "Nick maszynisty", "select-driver": "Wybierz maszynistę...", + "search-duty-id": "ID służby", "search-dispatcher": "Nick dyżurnego", "search-station": "Nazwa scenerii / #", "search-author": "Nick autora rozkładu jazdy", @@ -616,13 +617,11 @@ }, "stats": { - "currently-online": "OBECNIE ONLINE", + "timetables-journal": "DZIENNIK RJ", + "dispatchers-journal": "DZIENNIK DR", "driver": "MASZYNISTA", "dispatcher": "DYŻURNY RUCHU", - "online-as-driver": "ONLINE JAKO MASZYNISTA", - "online-as-dispatcher": "ONLINE JAKO DR", - "on-scenery": "na scenerii", "header-driver": "STATYSTYKI MASZYNISTY", "fulfilled-timetables": "wypełnione rozkłady jazdy", @@ -638,7 +637,7 @@ "created-timetables-count": "wystawione RJ jako dyżurny ruchu", "longest-created-timetable": "najdłuższy wystawiony RJ", "created-timetables-length-sum": "suma długości wystawionych RJ", - "no-dispatcher-stats": "Brak zapisanych wystawionych RJ" + "no-dispatcher-stats": "Ten użytkownik nie posiada statystyk dyżurnego zarejestrowanych przez Stacjownik!" }, "recent-stats": {