From 7b170ae41fe7badf2a4efb58eef5241b9dc4b6f2 Mon Sep 17 00:00:00 2001 From: MiBo Date: Sun, 17 Sep 2023 02:12:13 +0200 Subject: [PATCH] fix(TL): Price Key for Translation --- src/Quantities/Price.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Quantities/Price.php b/src/Quantities/Price.php index 2323a95..a7e8c0f 100644 --- a/src/Quantities/Price.php +++ b/src/Quantities/Price.php @@ -47,4 +47,12 @@ protected static function getInitialUnit(): Unit { return Currency::get(); } + + /** + * @inheritDoc + */ + public static function getNameForTranslation(): string + { + return 'price'; + } }