Skip to content

Commit

Permalink
update localize comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhenjaHorbach committed Sep 25, 2024
1 parent 27b7056 commit 7638a4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/Localize/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ function getTranslatedPhrase<TKey extends TranslationPaths>(
if (translatedPhrase) {
if (typeof translatedPhrase === 'function') {
/**
* If the result of `translatedPhrase` is an object, check if it contains the 'count' property
* If the result of `translatedPhrase` is an object, check if it contains the 'count' parameter
* to handle pluralization logic.
* Alternatively, before evaluating the translated result, we can check if the 'count' parameter
* exists in the passed parameters.
Expand Down

0 comments on commit 7638a4c

Please sign in to comment.