You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -27,19 +30,19 @@ public static L10n CreateInstance(IL10nLanguageProvider langProvider, IL10nDataP
27
30
28
31
publicstaticboolSaveDataProvider()
29
32
{
30
-
if(Instance==null)thrownewException("You must use L10n.CreateInstance(langProvider, dataProvider) to create an instance before using this.");
33
+
if(Instance==null)thrownewException("You must use L10n.CreateInstance(langProvider, dataProvider, fileResolver) to create an instance before using this.");
if(Instance==null)thrownewException("You must use L10n.CreateInstance(langProvider, dataProvider) to create an instance before using this.");
39
+
if(Instance==null)thrownewException("You must use L10n.CreateInstance(langProvider, dataProvider, fileResolver) to create an instance before using this.");
if(Instance==null)thrownewException("You must use L10n.CreateInstance(langProvider, dataProvider) to create an instance before using this.");
45
+
if(Instance==null)thrownewException("You must use L10n.CreateInstance(langProvider, dataProvider, fileResolver) to create an instance before using this.");
@@ -51,7 +54,7 @@ public string ConvertFromMarkdown(string phrase)
51
54
52
55
publicstaticstringGetLanguage()
53
56
{
54
-
if(Instance==null)thrownewException("You must use L10n.CreateInstance(langProvider, dataProvider) to create an instance before using this.");
57
+
if(Instance==null)thrownewException("You must use L10n.CreateInstance(langProvider, dataProvider, fileResolver) to create an instance before using this.");
You must implement your `IL10nLanguageProvider` yourself. :) (Basically just `string GetLanguage()`)
4
+
You must implement your `IL10nLanguageProvider`and a custom `IFileResolver` (for javascript) yourself. :) (Basically just `string GetLanguage()` and `bool FileExists(string file)`)
5
5
6
6
There's also a custom mvc webview `MN.L10n.Mvc.L10nWebView`.
0 commit comments