Skip to content

Commit

Permalink
fix(TL): Price Key for Translation
Browse files Browse the repository at this point in the history
  • Loading branch information
4513 committed Sep 17, 2023
1 parent 8d3f13a commit 7b170ae
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Quantities/Price.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,12 @@ protected static function getInitialUnit(): Unit
{
return Currency::get();
}

/**
* @inheritDoc
*/
public static function getNameForTranslation(): string
{
return 'price';
}
}

0 comments on commit 7b170ae

Please sign in to comment.