@manyducks.co/dolla 2.0.0-alpha.8 → 2.0.0-alpha.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -630,11 +630,11 @@ function Counter(props, ctx) {
630
630
  `;
631
631
  }
632
632
 
633
- Dolla.language.setup({
634
- initialLanguage: "en",
635
- languages: [
636
- { name: "en", strings: { buttonLabel: "Click here to increment" } },
637
- { name: "ja", strings: { buttonLabel: "ここに押して増加する" } },
633
+ Dolla.i18n.setup({
634
+ locale: "en",
635
+ translations: [
636
+ { locale: "en", strings: { buttonLabel: "Click here to increment" } },
637
+ { locale: "ja", strings: { buttonLabel: "ここに押して増加する" } },
638
638
  ],
639
639
  });
640
640