Add the settings dir(Specifies the primary text direction for the name, short_name, and description) and the lang(Specifies the primary language for the values in the name and short_name) to manifest.json options

This commit is contained in:
Silvio Leite
2018-08-14 08:59:05 -03:00
parent b8d87c8184
commit 02e7f914e3
3 changed files with 8 additions and 1 deletions

View File

@@ -20,5 +20,7 @@ PWA_APP_ICONS = getattr(settings, 'PWA_APP_ICONS', [
'sizes': '160x160'
}
])
PWA_APP_DIR = getattr(settings, 'PWA_APP_DIR', 'auto')
PWA_APP_LANG = getattr(settings, 'PWA_APP_LANG', 'en-US')

View File

@@ -7,5 +7,7 @@
"display": {{ PWA_APP_DISPLAY|js }},
"background_color": {{ PWA_APP_BACKGROUND_COLOR|js }},
"theme_color": {{ PWA_APP_THEME_COLOR|js }},
"icons": {{ PWA_APP_ICONS|js }}
"icons": {{ PWA_APP_ICONS|js }},
"dir": {{ PWA_APP_DIR|js }},
"lang": {{ PWA_APP_LANG|js }}
}