1111using Chorus ;
1212using Chorus . sync ;
1313using L10NSharp ;
14+ using L10NSharp . Windows . Forms ;
1415using LibTriboroughBridgeChorusPlugin ;
1516using SIL . IO ;
1617using SIL . Reporting ;
@@ -101,7 +102,7 @@ internal static Dictionary<string, ILocalizationManager> SetupLocalization(Dicti
101102 var versionObj = Assembly . GetExecutingAssembly ( ) . GetName ( ) . Version ;
102103 // We don't need to reload strings for every "revision" (that might be every time we build). REVIEW (Hasso) 2021.08: then why do we have `build`?
103104 var version = $ "{ versionObj . Major } .{ versionObj . Minor } .{ versionObj . Build } ";
104- var flexBridgeLocMan = LocalizationManager . Create ( desiredUiLangId , FlexBridge , Application . ProductName ,
105+ var flexBridgeLocMan = LocalizationManagerWinforms . Create ( desiredUiLangId , FlexBridge , Application . ProductName ,
105106 version , installedL10nBaseDir , userL10nBaseDir , CommonResources . chorus ,
106107 FlexLocalizationEmailAddress , new [ ] { FlexBridge , "TriboroughBridge_ChorusPlugin" , "FLEx_ChorusPlugin" , "SIL.LiftBridge" } ) ;
107108 results . Add ( "FlexBridge" , flexBridgeLocMan ) ;
@@ -111,13 +112,13 @@ internal static Dictionary<string, ILocalizationManager> SetupLocalization(Dicti
111112
112113 versionObj = Assembly . GetAssembly ( typeof ( ChorusSystem ) ) . GetName ( ) . Version ;
113114 version = "" + versionObj . Major + "." + versionObj . Minor + "." + versionObj . Build ;
114- var chorusLocMan = LocalizationManager . Create ( desiredUiLangId , "Chorus" , "Chorus" ,
115+ var chorusLocMan = LocalizationManagerWinforms . Create ( desiredUiLangId , "Chorus" , "Chorus" ,
115116 version , installedL10nBaseDir , userL10nBaseDir , CommonResources . chorus , FlexLocalizationEmailAddress , new [ ] { "Chorus" } ) ;
116117 results . Add ( "Chorus" , chorusLocMan ) ;
117118
118119 versionObj = Assembly . GetAssembly ( typeof ( ErrorReport ) ) . GetName ( ) . Version ;
119120 version = "" + versionObj . Major + "." + versionObj . Minor + "." + versionObj . Build ;
120- var palasoLocMan = LocalizationManager . Create ( desiredUiLangId , "Palaso" , "Palaso" ,
121+ var palasoLocMan = LocalizationManagerWinforms . Create ( desiredUiLangId , "Palaso" , "Palaso" ,
121122 version , installedL10nBaseDir , userL10nBaseDir , CommonResources . chorus , FlexLocalizationEmailAddress , new [ ] { "SIL" } ) ;
122123 results . Add ( "Palaso" , palasoLocMan ) ;
123124 }
0 commit comments