diff --git a/index.bs b/index.bs index 3dadc2f..a52d934 100644 --- a/index.bs +++ b/index.bs @@ -234,7 +234,7 @@ A language arc is a [=tuple=] of two strings, a function a(sourceLanguage, targetLanguage) { - return ai.translator.availability({ sourceLanguage, targetLanguage }): + return Translator.availability({ sourceLanguage, targetLanguage }); } await a("en", "zh-Hans") === "available"; @@ -274,7 +274,7 @@ A language arc is a [=tuple=] of two strings, a ai.translator.create({ sourceLanguage: "en", targetLanguage: "fr" }), the [$LookupMatchingLocaleByBestFit$] algorithm would choose one of the three possible language arcs to use (presumably ("`en`", "`fr-FR`")). + In the latter case, if the web developer requested to create a translator using Translator.create({ sourceLanguage: "en", targetLanguage: "fr" }), the [$LookupMatchingLocaleByBestFit$] algorithm would choose one of the three possible language arcs to use (presumably ("`en`", "`fr-FR`")).