Skip to content
Snippets Groups Projects
Select Git revision
  • b674da9ba474564da02f8249880ec461e204f656
  • master default protected
  • 1.31
  • 4.38.6
  • 4.38.5
  • 4.38.4
  • 4.38.3
  • 4.38.2
  • 4.38.1
  • 4.38.0
  • 4.37.2
  • 4.37.1
  • 4.37.0
  • 4.36.0
  • 4.35.0
  • 4.34.1
  • 4.34.0
  • 4.33.1
  • 4.33.0
  • 4.32.2
  • 4.32.1
  • 4.32.0
  • 4.31.0
23 results

target-jekyll.mk

Blame
  • formatter.mjs 379 B
    import {Formatter} from '@schukai/monster/source/i18n/formatter.mjs';
    import {Translations} from '@schukai/monster/source/i18n/translations.mjs';
    
    const translations = new Translations('en')
        .assignTranslations({
            thekey: "${animal} has eaten the ${food}!"
        });
    
    new Formatter({}, translations).format("thekey:animal=dog::food=cake")
    // ↦ dog has eaten the cake!