Skip to content

Commit d7bf5ac

Browse files
committed
Fix for #25: PT-BR Translation.
1 parent ec4c442 commit d7bf5ac

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

src/AbpCompanyName.AbpProjectName.Core/AbpCompanyName.AbpProjectName.Core.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@
115115
<EmbeddedResource Include="Localization\Source\AbpProjectName-tr.xml" />
116116
<EmbeddedResource Include="Localization\Source\AbpProjectName.xml" />
117117
</ItemGroup>
118+
<ItemGroup>
119+
<EmbeddedResource Include="Localization\Source\AbpProjectName-pt-BR.xml" />
120+
</ItemGroup>
118121
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
119122
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
120123
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">

src/AbpCompanyName.AbpProjectName.Core/Localization/Source/AbpProjectName-pt-BR.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8" ?>
1+
<?xml version="1.0" encoding="utf-8" ?>
22
<localizationDictionary culture="pt-BR">
33
<texts>
44
<text name="HomePage" value="Página Inicial" />

src/AbpCompanyName.AbpProjectName.EntityFramework/Migrations/SeedData/DefaultLanguagesBuilder.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ namespace AbpCompanyName.AbpProjectName.Migrations.SeedData
77
{
88
public class DefaultLanguagesBuilder
99
{
10-
private readonly AbpProjectNameDbContext _context;
1110
public static List<ApplicationLanguage> InitialLanguages { get; private set; }
1211

12+
private readonly AbpProjectNameDbContext _context;
13+
1314
static DefaultLanguagesBuilder()
1415
{
1516
InitialLanguages = new List<ApplicationLanguage>

0 commit comments

Comments
 (0)