From 355071884ad5ea01f5e139eb9f48f6ec1d797846 Mon Sep 17 00:00:00 2001 From: Curt Grimes Date: Tue, 28 Dec 2021 08:41:07 -0600 Subject: [PATCH] Move emoji out of Invalid BPM string --- src/i18n/locales/en.ts | 2 +- src/models/MetronomeBPM.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/i18n/locales/en.ts b/src/i18n/locales/en.ts index ab4c3c7..138d021 100644 --- a/src/i18n/locales/en.ts +++ b/src/i18n/locales/en.ts @@ -4,6 +4,6 @@ export default { "Stop metronome": "Stop metronome", "Start metronome": "Start metronome", "%1 BPM": "%1 BPM", - "⚠️ Invalid BPM": "⚠️ Invalid BPM", + "Invalid BPM": "Invalid BPM", "Invalid or unsupported meter": "Invalid or unsupported meter", }; diff --git a/src/models/MetronomeBPM.ts b/src/models/MetronomeBPM.ts index 7b8c11a..7c27dfd 100644 --- a/src/models/MetronomeBPM.ts +++ b/src/models/MetronomeBPM.ts @@ -29,6 +29,6 @@ export class MetronomeBPM { toString() { return this.isValid() ? t(`%1 BPM`, String(this.bpm)) - : t("⚠️ Invalid BPM"); + : `⚠️ ${t("Invalid BPM")}`; } }