forked from MapComplete/MapComplete
Add _context key to themes for translations, all strings can now be translated
This commit is contained in:
parent
db2b14cd95
commit
a9aff5e16e
7 changed files with 105 additions and 21 deletions
|
@ -107,7 +107,7 @@ export default class Translations {
|
|||
return false
|
||||
}
|
||||
// is a weird key found?
|
||||
if(Object.keys(transl).some(key => !this.knownLanguages.has(key))){
|
||||
if(Object.keys(transl).some(key => key !== '_context' && !this.knownLanguages.has(key))){
|
||||
return false
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue