Skip to content

Commit

Permalink
Accessibility: French verison of report
Browse files Browse the repository at this point in the history
  • Loading branch information
huaxing-yuan committed Aug 22, 2024
1 parent 2809dc8 commit 5bcfdc9
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,15 @@
<PackageTags>AXA WebEngine Automation Framework Accessibility</PackageTags>
<Description>AXA WebEngine Automation Framework is made to run automated Data Driven Tests on local or distance machine</Description>
<PackageProjectUrl>https://github.com/AxaFrance/webengine-dotnet</PackageProjectUrl>
<VersionPrefix>1.1.0</VersionPrefix>
</PropertyGroup>

<ItemGroup>
<None Remove="Assets\axe-core.fr.json" />
<None Remove="Assets\axe-rgaa-extension.json" />
<None Remove="Assets\check-part.html" />
<None Remove="Assets\node-part.html" />
<None Remove="Assets\overall-result.html" />
<None Remove="Assets\overall-tablerow.html" />
<None Remove="Assets\page-result.html" />
<None Remove="Assets\rule-part.html" />
<None Remove="Assets\*" />
</ItemGroup>

<ItemGroup>
<EmbeddedResource Include="Assets\axe-rgaa-extension.json" />
<EmbeddedResource Include="Assets\check-part.html" />
<EmbeddedResource Include="Assets\axe-core.fr.json" />
<EmbeddedResource Include="Assets\overall-result.html" />
<EmbeddedResource Include="Assets\overall-tablerow.html" />
<EmbeddedResource Include="Assets\page-result.html" />
<EmbeddedResource Include="Assets\node-part.html" />
<EmbeddedResource Include="Assets\rule-part.html" />
<EmbeddedResource Include="Assets\*" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/AxaFrance.AxeExtended.HtmlReport/PageReportBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public PageReportBuilder Build()
var config = Config.DeepClone();
if (Options.ReportLanguage == Language.French)
{
var locale = GetRessource("axe-core.fr.json");
var locale = GetRessource("axe-core-fr.json");
//add or update the field "locale" in json object config, with the content of fr.json
config["locale"] = JObject.Parse(locale);
}
Expand Down
1 change: 1 addition & 0 deletions src/WebEngine.Test/WebEngine.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\AxaFrance.AxeExtended.HtmlReport\AxaFrance.AxeExtended.HtmlReport.csproj" />
<ProjectReference Include="..\AxaFrance.WebEngine.MobileApp\AxaFrance.WebEngine.MobileApp.csproj" />
<ProjectReference Include="..\AxaFrance.WebEngine.Runner\AxaFrance.WebEngine.Runner.csproj" />
<ProjectReference Include="..\AxaFrance.WebEngine.Web\AxaFrance.WebEngine.Web.csproj" />
Expand Down

0 comments on commit 5bcfdc9

Please sign in to comment.