Skip to content
Snippets Groups Projects
  1. Jun 16, 2022
  2. Jan 27, 2021
  3. Jan 10, 2021
  4. Dec 11, 2020
  5. Nov 13, 2020
  6. Jun 04, 2020
  7. Jun 11, 2019
  8. Dec 21, 2018
  9. Dec 17, 2018
  10. Dec 16, 2018
  11. Dec 15, 2018
    • nrb's avatar
      gluon-config-mode-zip: i18n: fix translations · 8fe70a00
      nrb authored
      Use the correct translation namespace. As we run in gluon config mode,
      we do not have our own controller. Thus we need to specify the
      translation namespace for gluon to find translations. See
      <https://gluon.readthedocs.io/en/stable/dev/web/i18n.html>:
      
      > Note that translations are namespaced: each package will only use its
      > own translation strings by default. For this purpose, the package name
      > must by specified in a package’s controller. It is possible to access
      > a different translation package using the i18n function from models
      > and view, which is necessary when strings from the site configuration
      > are used, or packages do not have their own controller (which is the
      > case for config mode wizard components).
      >
      >     local site_i18n = i18n 'gluon-site'
      >     local msg = site_i18n._translate('gluon-config-mode:welcome')
      >
      8fe70a00
  12. Sep 08, 2018
  13. May 13, 2018
  14. Nov 16, 2017
  15. Nov 14, 2017
  16. Nov 12, 2017
  17. Nov 10, 2017
  18. Nov 09, 2017
  19. Oct 26, 2017
  20. Oct 25, 2017
  21. Oct 24, 2017
  22. Oct 20, 2017
  23. Sep 12, 2017
  24. Sep 10, 2017
  25. Aug 30, 2017
  26. Aug 27, 2017
  27. Aug 26, 2017
  28. Jun 30, 2017
  29. Jun 20, 2017
  30. Jun 15, 2017
  31. Jun 14, 2017
  32. Jun 11, 2017
  33. Jun 10, 2017
Loading