@@ -101,24 +101,24 @@ internal static Dictionary<string, ILocalizationManager> SetupLocalization(Dicti
101101 var versionObj = Assembly . GetExecutingAssembly ( ) . GetName ( ) . Version ;
102102 // 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`?
103103 var version = $ "{ versionObj . Major } .{ versionObj . Minor } .{ versionObj . Build } ";
104- var flexBridgeLocMan = LocalizationManager . Create ( TranslationMemory . XLiff , desiredUiLangId , FlexBridge , Application . ProductName ,
104+ var flexBridgeLocMan = LocalizationManager . Create ( desiredUiLangId , FlexBridge , Application . ProductName ,
105105 version , installedL10nBaseDir , userL10nBaseDir , CommonResources . chorus ,
106- FlexLocalizationEmailAddress , FlexBridge , "TriboroughBridge_ChorusPlugin" , "FLEx_ChorusPlugin" , "SIL.LiftBridge" ) ;
106+ FlexLocalizationEmailAddress , new [ ] { FlexBridge , "TriboroughBridge_ChorusPlugin" , "FLEx_ChorusPlugin" , "SIL.LiftBridge" } ) ;
107107 results . Add ( "FlexBridge" , flexBridgeLocMan ) ;
108108
109109 // In case the UI language was unavailable, change it, so we don't frustrate the user with three dialogs.
110110 desiredUiLangId = LocalizationManager . UILanguageId ;
111111
112112 versionObj = Assembly . GetAssembly ( typeof ( ChorusSystem ) ) . GetName ( ) . Version ;
113113 version = "" + versionObj . Major + "." + versionObj . Minor + "." + versionObj . Build ;
114- var chorusLocMan = LocalizationManager . Create ( TranslationMemory . XLiff , desiredUiLangId , "Chorus" , "Chorus" ,
115- version , installedL10nBaseDir , userL10nBaseDir , CommonResources . chorus , FlexLocalizationEmailAddress , "Chorus" ) ;
114+ var chorusLocMan = LocalizationManager . Create ( desiredUiLangId , "Chorus" , "Chorus" ,
115+ version , installedL10nBaseDir , userL10nBaseDir , CommonResources . chorus , FlexLocalizationEmailAddress , new [ ] { "Chorus" } ) ;
116116 results . Add ( "Chorus" , chorusLocMan ) ;
117117
118118 versionObj = Assembly . GetAssembly ( typeof ( ErrorReport ) ) . GetName ( ) . Version ;
119119 version = "" + versionObj . Major + "." + versionObj . Minor + "." + versionObj . Build ;
120- var palasoLocMan = LocalizationManager . Create ( TranslationMemory . XLiff , desiredUiLangId , "Palaso" , "Palaso" ,
121- version , installedL10nBaseDir , userL10nBaseDir , CommonResources . chorus , FlexLocalizationEmailAddress , "SIL" ) ;
120+ var palasoLocMan = LocalizationManager . Create ( desiredUiLangId , "Palaso" , "Palaso" ,
121+ version , installedL10nBaseDir , userL10nBaseDir , CommonResources . chorus , FlexLocalizationEmailAddress , new [ ] { "SIL" } ) ;
122122 results . Add ( "Palaso" , palasoLocMan ) ;
123123 }
124124 catch ( Exception e )
0 commit comments