diff --git a/src/components/Global/Donation.vue b/src/components/Global/Donation.vue
index dfd5918..90d3317 100644
--- a/src/components/Global/Donation.vue
+++ b/src/components/Global/Donation.vue
@@ -38,7 +38,7 @@
-
+
@@ -46,7 +46,7 @@
- {{ $t('donations.p4-b2') }}
+ {{ $t('donations.p4-b2') }}
@@ -164,6 +164,7 @@ export default defineComponent({
.modal_main {
overflow: auto;
+
img {
max-height: 20px;
margin-right: 5px;
diff --git a/src/components/StationsView/StationTable.vue b/src/components/StationsView/StationTable.vue
index 8f8bc8e..34e9b93 100644
--- a/src/components/StationsView/StationTable.vue
+++ b/src/components/StationsView/StationTable.vue
@@ -110,15 +110,14 @@
-

{{ station.onlineInfo.dispatcherName }}
-
+
{{ station.onlineInfo.dispatcherName }}
diff --git a/src/components/TrainsView/TrainInfo.vue b/src/components/TrainsView/TrainInfo.vue
index 8e3c7f2..8b3a575 100644
--- a/src/components/TrainsView/TrainInfo.vue
+++ b/src/components/TrainsView/TrainInfo.vue
@@ -32,7 +32,17 @@
>
{{ train.driverLevel < 2 ? 'L' : `${train.driverLevel}` }}
- {{ train.driverName }}
+
+
+
+ {{ train.driverName }}
+
+
+ {{ train.driverName }}
+
@@ -114,6 +124,7 @@ import trainInfoMixin from '../../mixins/trainInfoMixin';
import Train from '../../scripts/interfaces/Train';
import ProgressBar from '../Global/ProgressBar.vue';
import TrainThumbnail from '../Global/TrainThumbnail.vue';
+import { useStore } from '../../store/mainStore';
export default defineComponent({
mixins: [trainInfoMixin, styleMixin],
@@ -128,6 +139,12 @@ export default defineComponent({
type: Boolean,
default: true
}
+ },
+
+ data() {
+ return {
+ store: useStore()
+ };
}
});
@@ -171,6 +188,11 @@ export default defineComponent({
gap: 0.5em;
}
+.train-driver img {
+ max-height: 20px;
+ vertical-align: text-bottom;
+}
+
.timetable-id {
color: #d2d2d2;
}
diff --git a/src/locales/en.json b/src/locales/en.json
index c685b53..0d739be 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -12,7 +12,7 @@
"p4": "Every person who decides to contribute at least {b1} for the development of Stacjownik, will recieve (upon a personal request) {img}{b2} of username in the \"Sceneries\" and \"Trains\" tabs of the application, as well as on my Discord server (after verifying the payment author, preferably by providing the username directly with the payment).",
"p4-b1": "5 PLN",
"p4-b2": "a symbolic highlight",
- "p5": "Thank you and enjoy further using my tools! ~Spythere",
+ "p5": "Thank you and enjoy the app! ~ Spythere",
"action-exit": "Maybe next time...",
"action-confirm": "DONATE!"
},
diff --git a/src/locales/pl.json b/src/locales/pl.json
index 26edf6f..98523b1 100644
--- a/src/locales/pl.json
+++ b/src/locales/pl.json
@@ -12,7 +12,7 @@
"p4": "Każda osoba, która postanowi przelać co najmniej {b1} na rozwój Stacjownika, otrzyma na życzenie symboliczne {img}{b2} nicku użytkownika w zakładkach \"Scenerie\" i \"Pociągi\" aplikacji i moim serwerze Discord (po zweryfikowaniu autora płatności, najlepiej poprzez podanie nicku bezpośrednio przy niej).",
"p4-b1": "5 złotych",
"p4-b2": "wyróżnienie",
- "p5": "Dzięki i miłego dalszego korzystania z moich narzędzi! ~Spythere",
+ "p5": "Dzięki i miłego korzystania z aplikacji! ~ Spythere",
"action-exit": "Może kiedy indziej...",
"action-confirm": "WSPOMÓŻ!"
},
diff --git a/src/store/mainStore.ts b/src/store/mainStore.ts
index 7b99ed1..cb6a688 100644
--- a/src/store/mainStore.ts
+++ b/src/store/mainStore.ts
@@ -314,7 +314,7 @@ export const useStore = defineStore('store', {
'https://raw.githubusercontent.com/Spythere/api/main/td2/data/donators.json'
);
- if (response.data) this.donatorsData = ['Kryszakos'];
+ if (response.data) this.donatorsData = response.data;
} catch (error) {
console.error('Ups! Wystąpił błąd podczas pobierania informacji o donatorach:', error);
}
|