(key: KeyLabel, t?: (key: KeyLabel) => string)
| 33 | | "common.key.esc" |
| 34 | |
| 35 | function keyText(key: KeyLabel, t?: (key: KeyLabel) => string) { |
| 36 | return t ? t(key) : en[key] |
| 37 | } |
| 38 | |
| 39 | function actionId(id: string) { |
| 40 | if (!id.startsWith(SUGGESTED_PREFIX)) return id |
no test coverage detected