fix(i18n): update last training filter hint across multiple languages
All checks were successful
Deploy tt-tagebuch / deploy (push) Successful in 35s
All checks were successful
Deploy tt-tagebuch / deploy (push) Successful in 35s
- Revised the lastTrainingFilterHint in localization files for German, English (AU, GB, US), and Swiss German to enhance clarity regarding the age-class column and details available on row hover. - Improved consistency in terminology across different language files to ensure a better user experience.
This commit is contained in:
@@ -476,7 +476,7 @@
|
||||
"lastTrainingFilterHasDate": "Mit erfasstem Datum",
|
||||
"lastTrainingFilterNoDate": "Ohne letztes Training",
|
||||
"lastTrainingFilterNotInTraining": "„Nicht mehr im Training“",
|
||||
"lastTrainingFilterHint": "In der Tabelle: aktuelle Saison in der AK-Spalte. Alle Details (beide Saisons, letztes Training, ggf. Teilnahmen) beim Überfahren der Zeile.",
|
||||
"lastTrainingFilterHint": "AK-Spalte: laufende und nächste Saison. Weitere Details (letztes Training, Teilnahmen) auch beim Überfahren der Zeile.",
|
||||
"rowTooltipSeparator": "·",
|
||||
"ttAgeClassCol": "AK (TT)",
|
||||
"ttAdult": "Erwachsene (kein Jugend nach Stichtag)",
|
||||
|
||||
@@ -251,7 +251,7 @@
|
||||
"lastTrainingFilterHasDate": "Mit erfasstem Datum",
|
||||
"lastTrainingFilterNoDate": "Ohne letztes Training",
|
||||
"lastTrainingFilterNotInTraining": "„Nicht mehr im Training“",
|
||||
"lastTrainingFilterHint": "In der Tabelle: aktuelle Saison in der AK-Spalte. Alle Details (beide Saisons, letztes Training, ggf. Teilnahmen) beim Überfahren der Zeile.",
|
||||
"lastTrainingFilterHint": "AK-Spalte: laufende und nächste Saison. Weitere Details (letztes Training, Teilnahmen) auch beim Überfahren der Zeile.",
|
||||
"rowTooltipSeparator": "·",
|
||||
"ttAgeClassCol": "AK (TT)",
|
||||
"ttAdult": "Erwachsene (kein Jugend nach Stichtag)",
|
||||
|
||||
@@ -476,7 +476,7 @@
|
||||
"lastTrainingFilterHasDate": "With a recorded date",
|
||||
"lastTrainingFilterNoDate": "No last training",
|
||||
"lastTrainingFilterNotInTraining": "Flagged “no longer training”",
|
||||
"lastTrainingFilterHint": "Table: current season in the age-class column. Full detail (both seasons, last training, participations if known) on row hover.",
|
||||
"lastTrainingFilterHint": "Age-class column: current and next season. Extra detail (last training, participations) on row hover.",
|
||||
"rowTooltipSeparator": "·",
|
||||
"ttAgeClassCol": "Age class (TT)",
|
||||
"ttAdult": "Adults (not youth by cutoff)",
|
||||
|
||||
@@ -751,7 +751,7 @@
|
||||
"lastTrainingFilterHasDate": "With a recorded date",
|
||||
"lastTrainingFilterNoDate": "No last training",
|
||||
"lastTrainingFilterNotInTraining": "Flagged “no longer training”",
|
||||
"lastTrainingFilterHint": "Table: current season in the age-class column. Full detail (both seasons, last training, participations if known) on row hover.",
|
||||
"lastTrainingFilterHint": "Age-class column: current and next season. Extra detail (last training, participations) on row hover.",
|
||||
"rowTooltipSeparator": "·",
|
||||
"ttAgeClassCol": "Age class (TT)",
|
||||
"ttAdult": "Adults (not youth by cutoff)",
|
||||
|
||||
@@ -476,7 +476,7 @@
|
||||
"lastTrainingFilterHasDate": "With a recorded date",
|
||||
"lastTrainingFilterNoDate": "No last training",
|
||||
"lastTrainingFilterNotInTraining": "Flagged “no longer training”",
|
||||
"lastTrainingFilterHint": "Table: current season in the age-class column. Full detail (both seasons, last training, participations if known) on row hover.",
|
||||
"lastTrainingFilterHint": "Age-class column: current and next season. Extra detail (last training, participations) on row hover.",
|
||||
"rowTooltipSeparator": "·",
|
||||
"ttAgeClassCol": "Age class (TT)",
|
||||
"ttAdult": "Adults (not youth by cutoff)",
|
||||
|
||||
@@ -431,7 +431,14 @@
|
||||
<td>{{ getFormattedBirthdate(member.birthDate) }}</td>
|
||||
<td>{{ getAgeLabel(member.birthDate) }}</td>
|
||||
<td class="tt-age-class-cell">
|
||||
<span class="tt-age-class-compact">{{ formatMemberTtAgeClassCompactLine(member) }}</span>
|
||||
<div
|
||||
v-for="(line, idx) in formatMemberTtAgeClassLines(member)"
|
||||
:key="idx"
|
||||
class="tt-age-class-line"
|
||||
:class="{ 'tt-age-class-line--next': idx === 1 }"
|
||||
>
|
||||
{{ line }}
|
||||
</div>
|
||||
</td>
|
||||
<td class="last-training-cell">
|
||||
<span class="last-training-compact">{{ getOptionalFormattedDate(member.lastTraining, 'members.previewNoLastTraining') }}</span>
|
||||
@@ -2442,10 +2449,6 @@ export default {
|
||||
const d = new Date(member.lastTraining);
|
||||
return !Number.isNaN(d.getTime());
|
||||
},
|
||||
formatMemberTtAgeClassCompactLine(member) {
|
||||
const lines = this.formatMemberTtAgeClassLines(member);
|
||||
return lines[0] || '–';
|
||||
},
|
||||
memberRowHoverTooltip(member) {
|
||||
const akFull = this.formatMemberTtAgeClassLines(member).join(` ${this.$t('members.rowTooltipSeparator')} `);
|
||||
const dateLabel = this.$t('members.previewLastTraining');
|
||||
@@ -3424,11 +3427,13 @@ table td {
|
||||
max-width: 11rem;
|
||||
}
|
||||
|
||||
.tt-age-class-compact {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
.tt-age-class-line + .tt-age-class-line {
|
||||
margin-top: 0.2rem;
|
||||
}
|
||||
|
||||
.tt-age-class-line--next {
|
||||
opacity: 0.88;
|
||||
font-size: 0.92em;
|
||||
}
|
||||
|
||||
.last-training-cell {
|
||||
|
||||
Reference in New Issue
Block a user