Skip to content

Commit

Permalink
Merge branch 'release-6.4.0' into reg/replyDirect
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo authored Sep 21, 2023
2 parents a40a28b + ec60dbe commit ebe25bf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/cuddly-donkeys-remember.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/meteor": patch
---

Fixed custom translations not being displayed
5 changes: 5 additions & 0 deletions apps/meteor/client/providers/TranslationProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@ const useI18next = (lng: string): typeof i18next => {

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

if (Array.isArray(namespaces) ? namespaces.includes('core') : namespaces === 'core') {
result[key] = value;
}
}
}
Expand Down

0 comments on commit ebe25bf

Please sign in to comment.