Spaces:
Running
Running
File size: 1,169 Bytes
1576c24 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | export const TOPIC_LABELS = {
algebra: 'Đại số',
geometry: 'Hình học',
statistics: 'Thống kê',
combinatorics: 'Tổ hợp',
number_theory: 'Lý thuyết số',
functions: 'Hàm số',
calculus: 'Giải tích',
arithmetic: 'Số học',
trigonometry: 'Lượng giác',
probability: 'Xác suất',
sequences: 'Dãy số',
coordinate_geometry: 'Hình học tọa độ',
financial_math: 'Toán tài chính',
vectors: 'Vectơ',
sets: 'Tập hợp',
complex_numbers: 'Số phức',
logarithm: 'Logarit',
logarithms: 'Logarit',
number: 'Số học',
data: 'Dữ liệu',
differentiation: 'Đạo hàm',
integration: 'Tích phân',
measurement: 'Đo lường',
'calculus applications': 'Ứng dụng giải tích',
'sequences and series': 'Dãy số',
'financial mathematics': 'Toán tài chính',
}
export function getTopicLabel(key) {
return TOPIC_LABELS[key] ?? TOPIC_LABELS[key?.toLowerCase()] ?? key
}
|