mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Show translations debug messages only when DEBUG=true.
Thanks to xet7 !
This commit is contained in:
parent
e5f5e156a2
commit
a30276e3d8
1 changed files with 3 additions and 1 deletions
|
@ -16,7 +16,9 @@ export const TAPi18n = {
|
|||
await this.i18n.init({
|
||||
fallbackLng: DEFAULT_LANGUAGE,
|
||||
cleanCode: true,
|
||||
debug: Meteor.isDevelopment,
|
||||
// Show translations debug messages only when DEBUG=true
|
||||
// OLD: debug: Meteor.isDevelopment,
|
||||
debug: process.env.DEBUG,
|
||||
supportedLngs: Object.values(languages).map(({ tag }) => tag),
|
||||
ns: DEFAULT_NAMESPACE,
|
||||
defaultNs: DEFAULT_NAMESPACE,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue