9bfb3754c1
This keeps the translation size very small and makes it easy to integrate all the languages, as dynamically loading them isn't easy in the service worker.
10 lines
203 B
JavaScript
10 lines
203 B
JavaScript
// This somewhat mysterious module
|
|
module.exports = function(source) {
|
|
var object = JSON.parse(source)
|
|
var smol = {
|
|
notifications: object.notifications || {}
|
|
}
|
|
|
|
return JSON.stringify(smol)
|
|
}
|