Skip to content

Commit

Permalink
Merge pull request #1 from LazZiya/vNext
Browse files Browse the repository at this point in the history
V next
  • Loading branch information
LazZiya authored Nov 5, 2020
2 parents 2afd26b + 29b3c8d commit 2e91791
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
3 changes: 2 additions & 1 deletion XLocalizer.Translate.IBMWatsonTranslate/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ Instructions to use this package :
services.AddSingleton<ITranslator, IBMWatsonTranslateService>();
````

Repository: https://github.com/LazZiya/XLocalizer.Translate.IBMWatsonTranslate
Repository: https://github.com/LazZiya/XLocalizer.Translate.IBMWatsonTranslate
Docs: https://docs.ziyad.info/en/XLocalizer/v1.0/translate-services-ibm.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<ApplicationIcon>files\icon.ico</ApplicationIcon>
<Authors>Ziya Mollamahmut</Authors>
Expand All @@ -10,14 +10,15 @@
Extension package for XLocalizer.TranslationServices to provide translations using IBM.Watson.LanguageTranslator.v3.
</Description>
<Copyright>Ziyad.info</Copyright>
<PackageProjectUrl>http://docs.ziyad.info/XLocalizer</PackageProjectUrl>
<PackageProjectUrl>http://docs.ziyad.info</PackageProjectUrl>
<PackageIcon>icon.png</PackageIcon>
<PackageTags>asp.net, core, razor, mvc, localization, globalization, translation, services</PackageTags>
<PackageReleaseNotes>
- IBM.Watson.LanguageTranslator.v3 https://cloud.ibm.com/catalog/services/language-translator
- Target frameworks updated
Release notes: https://github.com/LazZiya/XLocalizer.Translate.IBMWatsonTranslate/releases
</PackageReleaseNotes>
<Version>1.0.0-preview1</Version>
<VersionPrefix>1.0.0</VersionPrefix>
<VersionSuffix>rc.1</VersionSuffix>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<FileVersion>1.0.0.0</FileVersion>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
Expand All @@ -38,7 +39,7 @@
</ItemGroup>

<ItemGroup Condition="'$(UseReference)' == 'Nugets'">
<PackageReference Include="XLocalizer.Translate" Version="1.0.0-preview1" Exclude="Build,Analyzers" />
<PackageReference Include="XLocalizer.Translate" Version="1.0.0-rc.1" Exclude="Build,Analyzers" />
<PackageReference Include="IBM.Watson.LanguageTranslator.v3" Version="4.5.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="2.0.0" Exclude="Build,Analyzers"/>
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="2.0.0" Exclude="Build,Analyzers"/>
Expand All @@ -54,8 +55,7 @@
<None Include="files\license.txt" Pack="true" PackagePath="" />
<None Include="README.txt" Pack="true" PackagePath="" />
</ItemGroup>

<Target Name="CopyPackage" AfterTargets="Pack">
<Copy SourceFiles="$(OutputPath)\$(PackageId).$(PackageVersion).nupkg" DestinationFolder="$(MyNugetsOutput)\$(PackageId).$(PackageVersion).nupkg" />
<Target Name="AfterPack" AfterTargets="Pack">
<Exec Command="dotnet nuget push $(PackageOutputPath)*.nupkg --source Local" />
</Target>
</Project>
Binary file modified XLocalizer.Translate.IBMWatsonTranslate/files/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2e91791

Please sign in to comment.