Mercurial > libervia-backend
annotate misc/org.goffi.SAT.service @ 2249:e572482f6cbd
core (tools/common/template): i18n support
- babel has been added as a new dependencies, and should replace gettext in core in the future
- added i18n support in template rendered
- current locale is available as babel Locale in templates through "locale" variable
- locales can be changed before rendering using setLocale
- for now, all locales translations are loaded on init, and stay in cache. A more complex cache system may be needed in the future (e.g. keeping only most used and load others from files when needed).
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 21 May 2017 15:59:47 +0200 |
parents | beaf8d4475e4 |
children |
rev | line source |
---|---|
1150
beaf8d4475e4
misc (D-Bus, installation): added a .service file for D-Bus auto-launch feature + installation from setup.py (path adaptation now use regex).
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
1 [D-BUS Service] |
beaf8d4475e4
misc (D-Bus, installation): added a .service file for D-Bus auto-launch feature + installation from setup.py (path adaptation now use regex).
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
2 Name=org.goffi.SAT |
beaf8d4475e4
misc (D-Bus, installation): added a .service file for D-Bus auto-launch feature + installation from setup.py (path adaptation now use regex).
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
3 Exec=sat |