(factor: Factor, t: TFunction)
| 63 | // ============================================================ |
| 64 | |
| 65 | function factorText(factor: Factor, t: TFunction): string { |
| 66 | const key = `cel.factor.${factor.replace(/\./g, "_")}`; |
| 67 | const translated = t(key); |
| 68 | return translated === key ? factor : translated; |
| 69 | } |
| 70 | |
| 71 | function getOperatorListByFactor( |
| 72 | factor: Factor, |