Skip to content

Commit

Permalink
Use CurrentCulture as connection string parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
ealbu committed Oct 11, 2024
1 parent 8f8d163 commit 9ca1d2f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("4.0.0.0")]
[assembly: AssemblyFileVersion("4.0.0.1")]
[assembly: AssemblyFileVersion("4.0.1.0")]
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<PropertyGroup>
<TargetFramework>net48</TargetFramework>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<PluginDeploymentPath>$(AppData)\Trados\Trados Studio\18Beta\Plugins</PluginDeploymentPath>
<TradosFolder>$(MSBuildProgramFiles32)\Trados\Trados Studio\Studio18Beta</TradosFolder>
<PluginDeploymentPath>$(AppData)\Trados\Trados Studio\18\Plugins</PluginDeploymentPath>
<TradosFolder>$(MSBuildProgramFiles32)\Trados\Trados Studio\Studio18</TradosFolder>
<CreatePluginPackage>true</CreatePluginPackage>
<LangVersion>latest</LangVersion>
<SignAssembly>true</SignAssembly>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -770,13 +770,13 @@ public int GetTranslationUnitsCount(List<int> ids)

private static string GetConnectionString(string databasePath, string password)
{
if (!string.IsNullOrEmpty(password))
{
return "Data Source=\"" + databasePath + "\";Version=3;New=False;Password" + password;
}
if (!string.IsNullOrEmpty(password))
{
return "Data Source=\"" + databasePath + "\";Version=3;New=False;DateTimeFormat=CurrentCulture;Password" + password;
}

return "Data Source=\"" + databasePath + "\";Version=3;New=False";
}
return "Data Source=\"" + databasePath + "\";Version=3;New=False;DateTimeFormat=CurrentCulture";
}

private static TranslationMemory CreateTranslationMemory(IDataRecord rdrSelect)
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

<PluginPackage xmlns="http://www.sdl.com/Plugins/PluginPackage/1.0">
<PlugInName>Trados Data Protection Suite</PlugInName>
<Version>4.0.0.1</Version>
<Version>4.0.1.0</Version>
<Description>The Trados Data Protection Suite combines two existing applications - project Anonymizer and TradosTM Anonymizer, giving you control over how sensitive data is managed. Using plain text, or regular expressions, you can pseudonomize, or anonymize the data in your translation projects and translation memories.</Description>
<Author>Trados AppStore Team</Author>
<Include>
Expand Down

0 comments on commit 9ca1d2f

Please sign in to comment.