Skip to content
Snippets Groups Projects
  1. Jul 18, 2019
  2. May 22, 2019
    • Stan Hu's avatar
      Move files from lib/haml_lint to haml_lint · 27381e22
      Stan Hu authored
      Files in lib will be eager loaded and hence will require haml_lint to be
      loaded. Since this is only a development dependency, we can't assume
      this gem will be available in production, so it should never be loaded
      in production.
      27381e22
  3. May 20, 2019
  4. May 05, 2019
  5. Sep 01, 2018
  6. Aug 25, 2018
    • Bob Van Landuyt's avatar
      Reject ruby interpolation in externalized strings · 08c0a1b8
      Bob Van Landuyt authored
      When using ruby interpolation in externalized strings, they can't be
      detected. Which means they will never be presented to be translated.
      
      To mix variables into translations we need to use `sprintf`
      instead.
      
      Instead of:
      
          _("Hello #{subject}")
      
      Use:
      
          _("Hello %{subject}) % { subject: 'world' }
      08c0a1b8
  7. Aug 07, 2017
  8. Jan 24, 2017
  9. Dec 31, 2016
  10. Sep 13, 2016
Loading