translate openalex labels

This commit is contained in:
2026-06-22 23:35:05 +02:00
parent 38896304e8
commit 95a9dcceff
2 changed files with 8 additions and 8 deletions
@@ -11,13 +11,13 @@
*ngIf="subfieldLegendGroups.length > 0"
class="subfield-legend"
[class.expanded]="subfieldLegendExpanded"
aria-label="Aktuell sichtbare Subfields">
aria-label="Aktuell sichtbare Themenbereiche">
<div class="subfield-legend-header">
<div class="subfield-legend-title">
<span>Farben nach Subfield</span>
<span>Farben nach Themenbereich</span>
<mat-icon
class="subfield-legend-info"
matTooltip="Fields geben die Farbfamilie vor, Subfields bestimmen die konkrete Farbvariante."
matTooltip="Fachgebiete geben die Farbfamilie vor, Themenbereiche bestimmen die konkrete Farbvariante."
matTooltipPosition="above"
aria-label="Informationen zur Farblegende">
info_outline
+5 -5
View File
@@ -22,22 +22,22 @@ export function buildTopicHierarchyTooltip(
return '';
}
const lines = [`Topic: ${topicName}`];
const lines = [`Forschungsthema: ${topicName}`];
if (subfieldName) {
lines.push(`Subfield: ${subfieldName}`);
lines.push(`Themenbereich: ${subfieldName}`);
}
if (fieldName) {
lines.push(`Field: ${fieldName}`);
lines.push(`Fachgebiet: ${fieldName}`);
}
if (domainName) {
lines.push(`Domain: ${domainName}`);
lines.push(`Wissenschaftsbereich: ${domainName}`);
}
if (description) {
lines.push(`Description: ${description}`);
lines.push(`Beschreibung: ${description}`);
}
return lines.join('\n\n');