Skip to content
This repository was archived by the owner on Jul 10, 2024. It is now read-only.

Commit 758cdee

Browse files
authored
feat: add french translations. Fixes #318 - thanks to @mloukhal (#350)
1 parent eb3e1cb commit 758cdee

File tree

3 files changed

+235
-1
lines changed

3 files changed

+235
-1
lines changed

src/BlazorTable.Sample.Shared/BlazorTable.Sample.Shared.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@
1919
<ItemGroup>
2020
<Watch Include="..\**\*.razor" />
2121
</ItemGroup>
22-
22+
2323
</Project>

src/BlazorTable.Tests/BlazorTable.Tests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<PackageReference Include="PuppeteerSharp" Version="5.0.0" />
1212
<PackageReference Include="PuppeteerSharp.Contrib.Extensions" Version="4.0.0" />
1313
<PackageReference Include="Shouldly" Version="4.0.3" />
14+
<PackageReference Include="System.Resources.ResourceManager" Version="4.3.0" />
1415
<PackageReference Include="xunit" Version="2.4.1" />
1516
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
1617
<PrivateAssets>all</PrivateAssets>
Lines changed: 233 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,233 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<root>
3+
<!--
4+
Microsoft ResX Schema
5+
6+
Version 2.0
7+
8+
The primary goals of this format is to allow a simple XML format
9+
that is mostly human readable. The generation and parsing of the
10+
various data types are done through the TypeConverter classes
11+
associated with the data types.
12+
13+
Example:
14+
15+
... ado.net/XML headers & schema ...
16+
<resheader name="resmimetype">text/microsoft-resx</resheader>
17+
<resheader name="version">2.0</resheader>
18+
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19+
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20+
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21+
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22+
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23+
<value>[base64 mime encoded serialized .NET Framework object]</value>
24+
</data>
25+
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26+
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27+
<comment>This is a comment</comment>
28+
</data>
29+
30+
There are any number of "resheader" rows that contain simple
31+
name/value pairs.
32+
33+
Each data row contains a name, and value. The row also contains a
34+
type or mimetype. Type corresponds to a .NET class that support
35+
text/value conversion through the TypeConverter architecture.
36+
Classes that don't support this are serialized and stored with the
37+
mimetype set.
38+
39+
The mimetype is used for serialized objects, and tells the
40+
ResXResourceReader how to depersist the object. This is currently not
41+
extensible. For a given mimetype the value must be set accordingly:
42+
43+
Note - application/x-microsoft.net.object.binary.base64 is the format
44+
that the ResXResourceWriter will generate, however the reader can
45+
read any of the formats listed below.
46+
47+
mimetype: application/x-microsoft.net.object.binary.base64
48+
value : The object must be serialized with
49+
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
50+
: and then encoded with base64 encoding.
51+
52+
mimetype: application/x-microsoft.net.object.soap.base64
53+
value : The object must be serialized with
54+
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55+
: and then encoded with base64 encoding.
56+
mimetype: application/x-microsoft.net.object.bytearray.base64
57+
value : The object must be serialized into a byte array
58+
: using a System.ComponentModel.TypeConverter
59+
: and then encoded with base64 encoding.
60+
-->
61+
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
62+
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
63+
<xsd:element name="root" msdata:IsDataSet="true">
64+
<xsd:complexType>
65+
<xsd:choice maxOccurs="unbounded">
66+
<xsd:element name="metadata">
67+
<xsd:complexType>
68+
<xsd:sequence>
69+
<xsd:element name="value" type="xsd:string" minOccurs="0" />
70+
</xsd:sequence>
71+
<xsd:attribute name="name" use="required" type="xsd:string" />
72+
<xsd:attribute name="type" type="xsd:string" />
73+
<xsd:attribute name="mimetype" type="xsd:string" />
74+
<xsd:attribute ref="xml:space" />
75+
</xsd:complexType>
76+
</xsd:element>
77+
<xsd:element name="assembly">
78+
<xsd:complexType>
79+
<xsd:attribute name="alias" type="xsd:string" />
80+
<xsd:attribute name="name" type="xsd:string" />
81+
</xsd:complexType>
82+
</xsd:element>
83+
<xsd:element name="data">
84+
<xsd:complexType>
85+
<xsd:sequence>
86+
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
87+
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
88+
</xsd:sequence>
89+
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
90+
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
91+
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
92+
<xsd:attribute ref="xml:space" />
93+
</xsd:complexType>
94+
</xsd:element>
95+
<xsd:element name="resheader">
96+
<xsd:complexType>
97+
<xsd:sequence>
98+
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
99+
</xsd:sequence>
100+
<xsd:attribute name="name" type="xsd:string" use="required" />
101+
</xsd:complexType>
102+
</xsd:element>
103+
</xsd:choice>
104+
</xsd:complexType>
105+
</xsd:element>
106+
</xsd:schema>
107+
<resheader name="resmimetype">
108+
<value>text/microsoft-resx</value>
109+
</resheader>
110+
<resheader name="version">
111+
<value>2.0</value>
112+
</resheader>
113+
<resheader name="reader">
114+
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
115+
</resheader>
116+
<resheader name="writer">
117+
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
118+
</resheader>
119+
<data name="BooleanConditionFalse" xml:space="preserve">
120+
<value>Faux</value>
121+
</data>
122+
<data name="BooleanConditionIsNotNull" xml:space="preserve">
123+
<value>N'est pas nulle</value>
124+
</data>
125+
<data name="BooleanConditionIsNull" xml:space="preserve">
126+
<value>Est nulle</value>
127+
</data>
128+
<data name="BooleanConditionTrue" xml:space="preserve">
129+
<value>Vrai</value>
130+
</data>
131+
<data name="CustomSelectConditionIsEqualTo" xml:space="preserve">
132+
<value>Est égale à</value>
133+
</data>
134+
<data name="CustomSelectConditionIsNotEqualTo" xml:space="preserve">
135+
<value>N'est pas égale à</value>
136+
</data>
137+
<data name="CustomSelectConditionIsNotNull" xml:space="preserve">
138+
<value>N'est pas nulle</value>
139+
</data>
140+
<data name="CustomSelectConditionIsNull" xml:space="preserve">
141+
<value>Est nulle</value>
142+
</data>
143+
<data name="EnumConditionIsEqualTo" xml:space="preserve">
144+
<value>Est égale à</value>
145+
</data>
146+
<data name="EnumConditionIsNotEqualTo" xml:space="preserve">
147+
<value>N'est pas égale à</value>
148+
</data>
149+
<data name="EnumConditionIsNotNull" xml:space="preserve">
150+
<value>N'est pas nulle</value>
151+
</data>
152+
<data name="EnumConditionIsNull" xml:space="preserve">
153+
<value>Est nulle</value>
154+
</data>
155+
<data name="FilterManagerApply" xml:space="preserve">
156+
<value>Appliquer</value>
157+
</data>
158+
<data name="FilterManagerClear" xml:space="preserve">
159+
<value>Nettoyer</value>
160+
</data>
161+
<data name="FilterManagerClose" xml:space="preserve">
162+
<value>Fermer</value>
163+
</data>
164+
<data name="NumberConditionIsEqualTo" xml:space="preserve">
165+
<value>Est égal à</value>
166+
</data>
167+
<data name="NumberConditionIsGreaterThan" xml:space="preserve">
168+
<value>Est plus grande que</value>
169+
</data>
170+
<data name="NumberConditionIsGreaterThanOrEqualTo" xml:space="preserve">
171+
<value>Est plus grand ou égal à</value>
172+
</data>
173+
<data name="NumberConditionIsLessThan" xml:space="preserve">
174+
<value>Est plus petit que</value>
175+
</data>
176+
<data name="NumberConditionIsLessThanOrEqualTo" xml:space="preserve">
177+
<value>Est plus petit ou égal à</value>
178+
</data>
179+
<data name="NumberConditionIsnotEqualTo" xml:space="preserve">
180+
<value>N'est pas égale à</value>
181+
</data>
182+
<data name="NumberConditionIsNotNull" xml:space="preserve">
183+
<value>N'est pas nulle</value>
184+
</data>
185+
<data name="NumberConditionIsNull" xml:space="preserve">
186+
<value>Est nulle</value>
187+
</data>
188+
<data name="PagerFirst" xml:space="preserve">
189+
<value>Première page</value>
190+
</data>
191+
<data name="PagerLast" xml:space="preserve">
192+
<value>Dernière page</value>
193+
</data>
194+
<data name="PagerNext" xml:space="preserve">
195+
<value>Suivant</value>
196+
</data>
197+
<data name="PagerPrevious" xml:space="preserve">
198+
<value>Précédent</value>
199+
</data>
200+
<data name="StringConditionContains" xml:space="preserve">
201+
<value>Contient</value>
202+
</data>
203+
<data name="StringConditionDoesNotContain" xml:space="preserve">
204+
<value>Ne contient pas</value>
205+
</data>
206+
<data name="StringConditionEndsWith" xml:space="preserve">
207+
<value>Se termine par</value>
208+
</data>
209+
<data name="StringConditionIsEqualTo" xml:space="preserve">
210+
<value>Est égale à</value>
211+
</data>
212+
<data name="StringConditionIsNotEqualTo" xml:space="preserve">
213+
<value>N'est pas égale à</value>
214+
</data>
215+
<data name="StringConditionIsNotNullOrEmpty" xml:space="preserve">
216+
<value>N'est pas nulle ou vide</value>
217+
</data>
218+
<data name="StringConditionIsNullOrEmpty" xml:space="preserve">
219+
<value>Est nulle ou vide</value>
220+
</data>
221+
<data name="StringConditionStartsWith" xml:space="preserve">
222+
<value>Commence par</value>
223+
</data>
224+
<data name="TableDetailsView" xml:space="preserve">
225+
<value>Affichage des détails</value>
226+
</data>
227+
<data name="TableGlobalSearch" xml:space="preserve">
228+
<value>Recherche globale...</value>
229+
</data>
230+
<data name="TableLoading" xml:space="preserve">
231+
<value>Chargement...</value>
232+
</data>
233+
</root>

0 commit comments

Comments
 (0)