This commit is contained in:
YohskDista 2018-10-03 22:54:33 +02:00
Родитель 2c238cdf7e
Коммит 4ce8db3513
4 изменённых файлов: 658 добавлений и 0 удалений

Просмотреть файл

@ -350,6 +350,9 @@
<Content Include="Resources\en-us\demodata.json" />
<None Include="FluentEditor_TemporaryKey.pfx" />
<Content Include="Resources\en-us\controlPaletteData.json" />
<Content Include="Resources\fr-fr\controlPaletteData.json" />
<Content Include="Resources\fr-fr\demodata.json" />
<PRIResource Include="Resources\fr-fr\Resources.resw" />
<PRIResource Include="Resources\en-us\Resources.resw" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -0,0 +1,318 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="AppDescription" xml:space="preserve">
<value>Un outil qui permet de démontrer la flexibilité du Fluent Design System aussi bien que le support du processus de développement de l'application en générant le XAML pour notre Frameworl ResourceDictionary utilisé dans les applications Universal Window Platform (UWP)</value>
</data>
<data name="AppDisplayName" xml:space="preserve">
<value>Editeur de thème Fluent XAML</value>
</data>
<data name="ColorFlyoutMappingDescription" xml:space="preserve">
<value>Lié à {0}</value>
</data>
<data name="ControlPaletteBaseBlock.Text" xml:space="preserve">
<value>Base</value>
</data>
<data name="ControlPaletteDarkTestContent.Title" xml:space="preserve">
<value>Thème sombre</value>
</data>
<data name="ControlPaletteDarkThemeBlock.Text" xml:space="preserve">
<value>Thème sombre</value>
</data>
<data name="ControlPaletteDataPath" xml:space="preserve">
<value>ms-appx:///Resources/en-us/controlPaletteData.json</value>
</data>
<data name="ControlPaletteErrorOkButtonCaption" xml:space="preserve">
<value>Ok</value>
</data>
<data name="ControlPaletteExportButton.Content" xml:space="preserve">
<value>Exporter</value>
</data>
<data name="ControlPaletteInspectorHeader.Text" xml:space="preserve">
<value>Dictionnaire de couleur</value>
</data>
<data name="ControlPaletteLightTestContent.Title" xml:space="preserve">
<value>Thème claire</value>
</data>
<data name="ControlPaletteLightThemeBlock.Text" xml:space="preserve">
<value>Thème claire</value>
</data>
<data name="ControlPaletteLoadButton.Content" xml:space="preserve">
<value>Charger</value>
</data>
<data name="ControlPaletteLoadError" xml:space="preserve">
<value>Impossible de charger le fichier {0}</value>
</data>
<data name="ControlPaletteLoadErrorTitle" xml:space="preserve">
<value>Impossible de charger</value>
</data>
<data name="ControlPalettePresetCombo.Header" xml:space="preserve">
<value>Préréglages</value>
</data>
<data name="ControlPalettePresetCombo.PlaceholderText" xml:space="preserve">
<value>Personnalisé</value>
</data>
<data name="ControlPalettePrimaryBlock.Text" xml:space="preserve">
<value>Primaire</value>
</data>
<data name="ControlPaletteRegionBlock.Text" xml:space="preserve">
<value>Région</value>
</data>
<data name="ControlPaletteResetButton.Content" xml:space="preserve">
<value>Couleurs par défaut</value>
</data>
<data name="ControlPaletteSaveButton.Content" xml:space="preserve">
<value>Sauvegarder</value>
</data>
<data name="ControlPaletteSaveError" xml:space="preserve">
<value>Impossible de sauvegarder le fichier {0}</value>
</data>
<data name="ControlPaletteSaveErrorTitle" xml:space="preserve">
<value>Impossible de sauvegarder</value>
</data>
<data name="DarkThemeTextContrastTitle" xml:space="preserve">
<value>Texte blanc</value>
</data>
<data name="ExportCopyButton.Content" xml:space="preserve">
<value>Copie dans le presse-papier</value>
</data>
<data name="ExportLearnMoreButton.Content" xml:space="preserve">
<value>Apprendre plus sur XAML ResourceDictionary</value>
</data>
<data name="ExportLearnMoreButton.NavigateUri" xml:space="preserve">
<value>https://docs.microsoft.com/en-us/windows/uwp/design/controls-and-patterns/resourcedictionary-and-xaml-resource-references</value>
</data>
<data name="LightThemeTextContrastTitle" xml:space="preserve">
<value>Texte noire</value>
</data>
<data name="MainDataPath" xml:space="preserve">
<value>ms-appx:///Resources/en-us/demodata.json</value>
</data>
<data name="TestContentAppBarButton.Content" xml:space="preserve">
<value>Yolo</value>
</data>
<data name="TestContentButtonsBlock.Text" xml:space="preserve">
<value>Boutons</value>
</data>
<data name="TestContentCalendarViewBlock.Text" xml:space="preserve">
<value>Vue calendrier</value>
</data>
<data name="TestContentCheckboxBlock.Text" xml:space="preserve">
<value>Case à cocher</value>
</data>
<data name="TestContentCheckedCheckbox.Content" xml:space="preserve">
<value>Coché</value>
</data>
<data name="TestContentCheckedRadio.Content" xml:space="preserve">
<value>Coché</value>
</data>
<data name="TestContentComboBlock.Text" xml:space="preserve">
<value>Liste déroulante</value>
</data>
<data name="TestContentComboItem1.Content" xml:space="preserve">
<value>Article 1</value>
</data>
<data name="TestContentComboItem2.Content" xml:space="preserve">
<value>Article 2</value>
</data>
<data name="TestContentComboItem3.Content" xml:space="preserve">
<value>Article 3</value>
</data>
<data name="TestContentCommandBarBlock.Text" xml:space="preserve">
<value>Barre de commande</value>
</data>
<data name="TestContentDatePickerBlock.Text" xml:space="preserve">
<value>Sélecteur de date</value>
</data>
<data name="TestContentDisabledAccentButton.Content" xml:space="preserve">
<value>Désactiver le bouton d'accent</value>
</data>
<data name="TestContentDisabledButton.Content" xml:space="preserve">
<value>Désactiver le bouton</value>
</data>
<data name="TestContentDisabledCheckbox.Content" xml:space="preserve">
<value>Désactiver</value>
</data>
<data name="TestContentDisabledRadio.Content" xml:space="preserve">
<value>Désactiver</value>
</data>
<data name="TestContentEditableComboItem1.Content" xml:space="preserve">
<value>Article 1 éditable</value>
</data>
<data name="TestContentEditableComboItem2.Content" xml:space="preserve">
<value>Article 2 éditable</value>
</data>
<data name="TestContentEditableComboItem3.Content" xml:space="preserve">
<value>Article 3 éditable</value>
</data>
<data name="TestContentEnabledAccentButton.Content" xml:space="preserve">
<value>Activer le bouton d'accent</value>
</data>
<data name="TestContentEnabledButton.Content" xml:space="preserve">
<value>Activer le bouton</value>
</data>
<data name="TestContentListviewBlock.Text" xml:space="preserve">
<value>Liste</value>
</data>
<data name="TestContentListviewItem1.Content" xml:space="preserve">
<value>Howdy! (désactivé)</value>
</data>
<data name="TestContentListviewItem2.Content" xml:space="preserve">
<value>Aloha! (sélectionné)</value>
</data>
<data name="TestContentListviewItem3.Content" xml:space="preserve">
<value>Hello!</value>
</data>
<data name="TestContentListviewItem4.Content" xml:space="preserve">
<value>Hola!</value>
</data>
<data name="TestContentRadioBlock.Text" xml:space="preserve">
<value>Bouton radio</value>
</data>
<data name="TestContentSliderBlock.Text" xml:space="preserve">
<value>Curseur</value>
</data>
<data name="TestContentTextbox.PlaceholderText" xml:space="preserve">
<value>Entrer texte ici</value>
</data>
<data name="TestContentTextboxBlock.Text" xml:space="preserve">
<value>Champ texte</value>
</data>
<data name="TestContentThirdStateCheckbox.Content" xml:space="preserve">
<value>Troisième état</value>
</data>
<data name="TestContentTimePickerBlock.Text" xml:space="preserve">
<value>Sélectionneur de temps</value>
</data>
<data name="TestContentToggleBlock.Text" xml:space="preserve">
<value>Interrupteur</value>
</data>
<data name="TestContentToggleButton.Content" xml:space="preserve">
<value>Bouton interrupteur</value>
</data>
<data name="TestContentToggledButton.Content" xml:space="preserve">
<value>Bouton interrupteur</value>
</data>
<data name="TestContentUncheckedCheckbox.Content" xml:space="preserve">
<value>Décoché</value>
</data>
<data name="TestContentUncheckedRadio.Content" xml:space="preserve">
<value>Décoché</value>
</data>
</root>

Просмотреть файл

@ -0,0 +1,326 @@
{
"LightRegion": {
"Title": "Région claire",
"Color": "#FFFFFFFF"
},
"DarkRegion": {
"Title": "Région obscure",
"Color": "#FF282828"
},
"LightBase": {
"Steps": 11,
"BaseColor": {
"Title": "Base claire",
"Color": "#FFCCCCCC"
}
},
"DarkBase": {
"Steps": 11,
"BaseColor": {
"Title": "Base obscure",
"Color": "#FF333333"
}
},
"LightPrimary": {
"Steps": 11,
"BaseColor": {
"Title": "Première lumière",
"Color": "#FF1686AE"
}
},
"DarkPrimary": {
"Steps": 11,
"BaseColor": {
"Title": "Première obscure",
"Color": "#FF1686AE"
}
},
"LightPaletteMapping": [
{
"Target": "Accent",
"Source": "LightPrimary",
"SourceIndex": "5"
},
{
"Target": "AltHigh",
"Source": "White"
},
{
"Target": "AltLow",
"Source": "White"
},
{
"Target": "AltMedium",
"Source": "White"
},
{
"Target": "AltMediumHigh",
"Source": "White"
},
{
"Target": "AltMediumLow",
"Source": "White"
},
{
"Target": "BaseHigh",
"Source": "Black"
},
{
"Target": "BaseLow",
"Source": "LightBase",
"SourceIndex": "5"
},
{
"Target": "BaseMedium",
"Source": "LightBase",
"SourceIndex": "8"
},
{
"Target": "BaseMediumHigh",
"Source": "LightBase",
"SourceIndex": "10"
},
{
"Target": "BaseMediumLow",
"Source": "LightBase",
"SourceIndex": "9"
},
{
"Target": "ChromeAltLow",
"Source": "LightBase",
"SourceIndex": "10"
},
{
"Target": "ChromeBlackHigh",
"Source": "Black"
},
{
"Target": "ChromeBlackLow",
"Source": "LightBase",
"SourceIndex": "5"
},
{
"Target": "ChromeBlackMedium",
"Source": "LightBase",
"SourceIndex": "10"
},
{
"Target": "ChromeBlackMediumLow",
"Source": "LightBase",
"SourceIndex": "8"
},
{
"Target": "ChromeDisabledHigh",
"Source": "LightBase",
"SourceIndex": "5"
},
{
"Target": "ChromeDisabledLow",
"Source": "LightBase",
"SourceIndex": "8"
},
{
"Target": "ChromeGray",
"Source": "LightBase",
"SourceIndex": "9"
},
{
"Target": "ChromeHigh",
"Source": "LightBase",
"SourceIndex": "5"
},
{
"Target": "ChromeLow",
"Source": "LightBase",
"SourceIndex": "0"
},
{
"Target": "ChromeMedium",
"Source": "LightBase",
"SourceIndex": "1"
},
{
"Target": "ChromeMediumLow",
"Source": "LightBase",
"SourceIndex": "0"
},
{
"Target": "ChromeWhite",
"Source": "White"
},
{
"Target": "ListLow",
"Source": "LightBase",
"SourceIndex": "1"
},
{
"Target": "ListMedium",
"Source": "LightBase",
"SourceIndex": "5"
}
],
"DarkPaletteMapping": [
{
"Target": "Accent",
"Source": "DarkPrimary",
"SourceIndex": "5"
},
{
"Target": "AltHigh",
"Source": "Black"
},
{
"Target": "AltLow",
"Source": "Black"
},
{
"Target": "AltMedium",
"Source": "Black"
},
{
"Target": "AltMediumHigh",
"Source": "Black"
},
{
"Target": "AltMediumLow",
"Source": "Black"
},
{
"Target": "BaseHigh",
"Source": "White"
},
{
"Target": "BaseLow",
"Source": "DarkBase",
"SourceIndex": "5"
},
{
"Target": "BaseMedium",
"Source": "DarkBase",
"SourceIndex": "1"
},
{
"Target": "BaseMediumHigh",
"Source": "DarkBase",
"SourceIndex": "0"
},
{
"Target": "BaseMediumLow",
"Source": "DarkBase",
"SourceIndex": "3"
},
{
"Target": "ChromeAltLow",
"Source": "DarkBase",
"SourceIndex": "0"
},
{
"Target": "ChromeBlackHigh",
"Source": "Black"
},
{
"Target": "ChromeBlackLow",
"Source": "DarkBase",
"SourceIndex": "0"
},
{
"Target": "ChromeBlackMedium",
"Source": "Black"
},
{
"Target": "ChromeBlackMediumLow",
"Source": "Black"
},
{
"Target": "ChromeDisabledHigh",
"Source": "DarkBase",
"SourceIndex": "5"
},
{
"Target": "ChromeDisabledLow",
"Source": "DarkBase",
"SourceIndex": "1"
},
{
"Target": "ChromeGray",
"Source": "DarkBase",
"SourceIndex": "2"
},
{
"Target": "ChromeHigh",
"Source": "DarkBase",
"SourceIndex": "2"
},
{
"Target": "ChromeLow",
"Source": "DarkBase",
"SourceIndex": "9"
},
{
"Target": "ChromeMedium",
"Source": "DarkBase",
"SourceIndex": "8"
},
{
"Target": "ChromeMediumLow",
"Source": "DarkBase",
"SourceIndex": "6"
},
{
"Target": "ChromeWhite",
"Source": "White"
},
{
"Target": "ListLow",
"Source": "DarkBase",
"SourceIndex": "8"
},
{
"Target": "ListMedium",
"Source": "DarkBase",
"SourceIndex": "5"
}
],
"Presets": [
{
"Id": "Default",
"Name": "Défaut",
"LightRegionColor": "#FFFFFFFF",
"DarkRegionColor": "#FF000000",
"LightBaseColor": "#FFCCCCCC",
"DarkBaseColor": "#FF333333",
"LightPrimaryColor": "#FF0073CF",
"DarkPrimaryColor": "#FF0073CF"
},
{
"Id": "Lavender",
"Name": "Lavende",
"LightRegionColor": "#FFFEF6FF",
"DarkRegionColor": "#FF262738",
"LightBaseColor": "#FFEECEFF",
"DarkBaseColor": "#FF64576B",
"LightPrimaryColor": "#FF8961CC",
"DarkPrimaryColor": "#FF8961CC"
},
{
"Id": "Forest",
"Name": "Forêt",
"LightRegionColor": "#FFF7FFFF",
"DarkRegionColor": "#FF353819",
"LightBaseColor": "#FFC2DB65",
"DarkBaseColor": "#FF784834",
"LightPrimaryColor": "#FF34854D",
"DarkPrimaryColor": "#FF34854D"
},
{
"Id": "Nighttime",
"Name": "Nocturne",
"LightRegionColor": "#FFCFEAFF",
"DarkRegionColor": "#FF0D2644",
"LightBaseColor": "#FF7CBEE0",
"DarkBaseColor": "#FF2F7BAD",
"LightPrimaryColor": "#FFCC4D11",
"DarkPrimaryColor": "#FFCC4D11"
}
]
}

Просмотреть файл

@ -0,0 +1,11 @@
{
"Demos": [
{
"Type": "ControlPalette",
"Id": "ControlPalette",
"Title": "Démo palette contrôle",
"Glyph": ""
}
],
"DefaultDemoId": "ControlPalette"
}