import { FluentBundle } from "https://deno.land/x/fluent@0.0.1/bundle/bundle.ts";
Add a translation resource to the bundle.
Examples
Example 1
Example 1
let res = new FluentResource("foo = Foo");
bundle.addResource(res);
bundle.getMessage("foo");
// → {value: .., attributes: {..}}