Skip to content

Commit

Permalink
add custom translation without namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
yash-rajpal committed Sep 13, 2023
1 parent 2b6a187 commit 873387a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/meteor/client/providers/TranslationProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ const useI18next = (lng: string): typeof i18next => {

if (prefix) {
result[key.slice(prefix.length + 1)] = value;
continue;
}
result[key] = value;
}
}
}
Expand Down

0 comments on commit 873387a

Please sign in to comment.