Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/veler/DevToys
Browse files Browse the repository at this point in the history
  • Loading branch information
veler committed Jul 19, 2022
2 parents 1e4fdc2 + a444573 commit 8e9e6d6
Show file tree
Hide file tree
Showing 67 changed files with 1,992 additions and 564 deletions.
3 changes: 3 additions & 0 deletions src/dev/impl/DevToys/DevToys.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,12 @@
<Compile Include="UI\Controls\ToolProvidersGridView.xaml.cs">
<DependentUpon>ToolProvidersGridView.xaml</DependentUpon>
</Compile>
<Compile Include="UI\Converters\BooleanToBrushConverter.cs" />
<Compile Include="UI\Converters\BooleanToDoubleConverter.cs" />
<Compile Include="UI\Converters\BooleanToIntegerConverter.cs" />
<Compile Include="UI\Converters\BooleanToStringConverter.cs" />
<Compile Include="UI\Converters\ColorToBrushConverter.cs" />
<Compile Include="UI\Extensions\ControlSizeTrigger.cs" />
<Compile Include="UI\MainMenuNavigationViewMenuItemSelector.cs" />
<Compile Include="ViewModels\Tools\AllTools\AllToolsToolProvider.cs" />
<Compile Include="ViewModels\Tools\AllTools\AllToolsToolViewModel.cs" />
Expand Down
58 changes: 49 additions & 9 deletions src/dev/impl/DevToys/LanguageManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -585,14 +585,9 @@ public class ColorPickerStrings : ObservableObject
public string SearchKeywords => _resources.GetString("SearchKeywords");

/// <summary>
/// Gets the resource BlackText.
/// Gets the resource TextColor.
/// </summary>
public string BlackText => _resources.GetString("BlackText");

/// <summary>
/// Gets the resource ColorPicker.
/// </summary>
public string ColorPicker => _resources.GetString("ColorPicker");
public string TextColor => _resources.GetString("TextColor");

/// <summary>
/// Gets the resource Configuration.
Expand Down Expand Up @@ -620,9 +615,54 @@ public class ColorPickerStrings : ObservableObject
public string SelectedColor => _resources.GetString("SelectedColor");

/// <summary>
/// Gets the resource WhiteText.
/// Gets the resource BackgroundColor.
/// </summary>
public string BackgroundColor => _resources.GetString("BackgroundColor");

/// <summary>
/// Gets the resource ContrastRatio.
/// </summary>
public string ContrastRatio => _resources.GetString("ContrastRatio");

/// <summary>
/// Gets the resource Fail.
/// </summary>
public string Fail => _resources.GetString("Fail");

/// <summary>
/// Gets the resource LargeText.
/// </summary>
public string LargeText => _resources.GetString("LargeText");

/// <summary>
/// Gets the resource Pass.
/// </summary>
public string Pass => _resources.GetString("Pass");

/// <summary>
/// Gets the resource SampleText.
/// </summary>
public string SampleText => _resources.GetString("SampleText");

/// <summary>
/// Gets the resource SampleTextTitle.
/// </summary>
public string SampleTextTitle => _resources.GetString("SampleTextTitle");

/// <summary>
/// Gets the resource SmallText.
/// </summary>
public string SmallText => _resources.GetString("SmallText");

/// <summary>
/// Gets the resource WCAG_AA.
/// </summary>
public string WCAG_AA => _resources.GetString("WCAG_AA");

/// <summary>
/// Gets the resource WCAG_AAA.
/// </summary>
public string WhiteText => _resources.GetString("WhiteText");
public string WCAG_AAA => _resources.GetString("WCAG_AAA");
}

public class CommonStrings : ObservableObject
Expand Down
50 changes: 38 additions & 12 deletions src/dev/impl/DevToys/Strings/af-ZA/ColorPicker.resw
Original file line number Diff line number Diff line change
Expand Up @@ -118,25 +118,22 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="AccessibleName" xml:space="preserve">
<value>Color Picker tool</value>
<value>Color Picker and contrast ratio tool</value>
</data>
<data name="MenuDisplayName" xml:space="preserve">
<value>Color Picker</value>
<value>Color Picker &amp; Contrast</value>
</data>
<data name="Description" xml:space="preserve">
<value>Pick up a color</value>
<value>Pick up a color or two and validate the contrast ratio</value>
</data>
<data name="SearchDisplayName" xml:space="preserve">
<value>Color Picker</value>
<value>Color Picker &amp; Contrast</value>
</data>
<data name="SearchKeywords" xml:space="preserve">
<value></value>
<value>RGB WCAG</value>
</data>
<data name="BlackText" xml:space="preserve">
<value>Black text</value>
</data>
<data name="ColorPicker" xml:space="preserve">
<value>Color picker</value>
<data name="TextColor" xml:space="preserve">
<value>Text color</value>
</data>
<data name="Configuration" xml:space="preserve">
<value>Configuration</value>
Expand All @@ -153,7 +150,36 @@
<data name="SelectedColor" xml:space="preserve">
<value>Selected color</value>
</data>
<data name="WhiteText" xml:space="preserve">
<value>White text</value>
<data name="BackgroundColor" xml:space="preserve">
<value>Background color</value>
</data>
<data name="ContrastRatio" xml:space="preserve">
<value>Contrast ratio</value>
</data>
<data name="Fail" xml:space="preserve">
<value>Fail</value>
</data>
<data name="LargeText" xml:space="preserve">
<value>Large text</value>
</data>
<data name="Pass" xml:space="preserve">
<value>Pass</value>
</data>
<data name="SampleText" xml:space="preserve">
<value>Sit kasd feugait takimata in eirmod sadipscing sanctus consectetuer voluptua dolor dolor dolore rebum.</value>
<comment>"Lorem ipsum" text used a sample text for comparing the background color over the text color.</comment>
</data>
<data name="SampleTextTitle" xml:space="preserve">
<value>Lorem ipsum dolor</value>
<comment>"Lorem ipsum" text used a sample text for comparing the background color over the text color.</comment>
</data>
<data name="SmallText" xml:space="preserve">
<value>Small text</value>
</data>
<data name="WCAG_AA" xml:space="preserve">
<value>WCAG AA</value>
</data>
<data name="WCAG_AAA" xml:space="preserve">
<value>WCAG AAA</value>
</data>
</root>
50 changes: 38 additions & 12 deletions src/dev/impl/DevToys/Strings/ar-SA/ColorPicker.resw
Original file line number Diff line number Diff line change
Expand Up @@ -118,25 +118,22 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="AccessibleName" xml:space="preserve">
<value>أداة اختيار اللون</value>
<value>Color Picker and contrast ratio tool</value>
</data>
<data name="MenuDisplayName" xml:space="preserve">
<value>اختيار اللون</value>
<value>Color Picker &amp; Contrast</value>
</data>
<data name="Description" xml:space="preserve">
<value>اختر لون</value>
<value>Pick up a color or two and validate the contrast ratio</value>
</data>
<data name="SearchDisplayName" xml:space="preserve">
<value>اختيار اللون</value>
<value>Color Picker &amp; Contrast</value>
</data>
<data name="SearchKeywords" xml:space="preserve">
<value></value>
<value>RGB WCAG</value>
</data>
<data name="BlackText" xml:space="preserve">
<value>نص أسود</value>
</data>
<data name="ColorPicker" xml:space="preserve">
<value>اختيار اللون</value>
<data name="TextColor" xml:space="preserve">
<value>Text color</value>
</data>
<data name="Configuration" xml:space="preserve">
<value>الإعدادات</value>
Expand All @@ -153,7 +150,36 @@
<data name="SelectedColor" xml:space="preserve">
<value>اللون المحدد</value>
</data>
<data name="WhiteText" xml:space="preserve">
<value>نص أبيض</value>
<data name="BackgroundColor" xml:space="preserve">
<value>Background color</value>
</data>
<data name="ContrastRatio" xml:space="preserve">
<value>Contrast ratio</value>
</data>
<data name="Fail" xml:space="preserve">
<value>Fail</value>
</data>
<data name="LargeText" xml:space="preserve">
<value>Large text</value>
</data>
<data name="Pass" xml:space="preserve">
<value>Pass</value>
</data>
<data name="SampleText" xml:space="preserve">
<value>Sit kasd feugait takimata in eirmod sadipscing sanctus consectetuer voluptua dolor dolor dolore rebum.</value>
<comment>"Lorem ipsum" text used a sample text for comparing the background color over the text color.</comment>
</data>
<data name="SampleTextTitle" xml:space="preserve">
<value>Lorem ipsum dolor</value>
<comment>"Lorem ipsum" text used a sample text for comparing the background color over the text color.</comment>
</data>
<data name="SmallText" xml:space="preserve">
<value>Small text</value>
</data>
<data name="WCAG_AA" xml:space="preserve">
<value>WCAG AA</value>
</data>
<data name="WCAG_AAA" xml:space="preserve">
<value>WCAG AAA</value>
</data>
</root>
50 changes: 38 additions & 12 deletions src/dev/impl/DevToys/Strings/ca-ES/ColorPicker.resw
Original file line number Diff line number Diff line change
Expand Up @@ -118,25 +118,22 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="AccessibleName" xml:space="preserve">
<value>Color Picker tool</value>
<value>Color Picker and contrast ratio tool</value>
</data>
<data name="MenuDisplayName" xml:space="preserve">
<value>Color Picker</value>
<value>Color Picker &amp; Contrast</value>
</data>
<data name="Description" xml:space="preserve">
<value>Pick up a color</value>
<value>Pick up a color or two and validate the contrast ratio</value>
</data>
<data name="SearchDisplayName" xml:space="preserve">
<value>Color Picker</value>
<value>Color Picker &amp; Contrast</value>
</data>
<data name="SearchKeywords" xml:space="preserve">
<value></value>
<value>RGB WCAG</value>
</data>
<data name="BlackText" xml:space="preserve">
<value>Black text</value>
</data>
<data name="ColorPicker" xml:space="preserve">
<value>Color picker</value>
<data name="TextColor" xml:space="preserve">
<value>Text color</value>
</data>
<data name="Configuration" xml:space="preserve">
<value>Configuration</value>
Expand All @@ -153,7 +150,36 @@
<data name="SelectedColor" xml:space="preserve">
<value>Selected color</value>
</data>
<data name="WhiteText" xml:space="preserve">
<value>White text</value>
<data name="BackgroundColor" xml:space="preserve">
<value>Background color</value>
</data>
<data name="ContrastRatio" xml:space="preserve">
<value>Contrast ratio</value>
</data>
<data name="Fail" xml:space="preserve">
<value>Fail</value>
</data>
<data name="LargeText" xml:space="preserve">
<value>Large text</value>
</data>
<data name="Pass" xml:space="preserve">
<value>Pass</value>
</data>
<data name="SampleText" xml:space="preserve">
<value>Sit kasd feugait takimata in eirmod sadipscing sanctus consectetuer voluptua dolor dolor dolore rebum.</value>
<comment>"Lorem ipsum" text used a sample text for comparing the background color over the text color.</comment>
</data>
<data name="SampleTextTitle" xml:space="preserve">
<value>Lorem ipsum dolor</value>
<comment>"Lorem ipsum" text used a sample text for comparing the background color over the text color.</comment>
</data>
<data name="SmallText" xml:space="preserve">
<value>Small text</value>
</data>
<data name="WCAG_AA" xml:space="preserve">
<value>WCAG AA</value>
</data>
<data name="WCAG_AAA" xml:space="preserve">
<value>WCAG AAA</value>
</data>
</root>
50 changes: 38 additions & 12 deletions src/dev/impl/DevToys/Strings/cs-CZ/ColorPicker.resw
Original file line number Diff line number Diff line change
Expand Up @@ -118,25 +118,22 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="AccessibleName" xml:space="preserve">
<value>Color Picker tool</value>
<value>Color Picker and contrast ratio tool</value>
</data>
<data name="MenuDisplayName" xml:space="preserve">
<value>Color Picker</value>
<value>Color Picker &amp; Contrast</value>
</data>
<data name="Description" xml:space="preserve">
<value>Pick up a color</value>
<value>Pick up a color or two and validate the contrast ratio</value>
</data>
<data name="SearchDisplayName" xml:space="preserve">
<value>Color Picker</value>
<value>Color Picker &amp; Contrast</value>
</data>
<data name="SearchKeywords" xml:space="preserve">
<value>Checksum Generator</value>
<value>RGB WCAG</value>
</data>
<data name="BlackText" xml:space="preserve">
<value>Black text</value>
</data>
<data name="ColorPicker" xml:space="preserve">
<value>Color picker</value>
<data name="TextColor" xml:space="preserve">
<value>Text color</value>
</data>
<data name="Configuration" xml:space="preserve">
<value>Konfigurace</value>
Expand All @@ -153,7 +150,36 @@
<data name="SelectedColor" xml:space="preserve">
<value>Selected color</value>
</data>
<data name="WhiteText" xml:space="preserve">
<value>White text</value>
<data name="BackgroundColor" xml:space="preserve">
<value>Background color</value>
</data>
<data name="ContrastRatio" xml:space="preserve">
<value>Contrast ratio</value>
</data>
<data name="Fail" xml:space="preserve">
<value>Fail</value>
</data>
<data name="LargeText" xml:space="preserve">
<value>Large text</value>
</data>
<data name="Pass" xml:space="preserve">
<value>Pass</value>
</data>
<data name="SampleText" xml:space="preserve">
<value>Sit kasd feugait takimata in eirmod sadipscing sanctus consectetuer voluptua dolor dolor dolore rebum.</value>
<comment>"Lorem ipsum" text used a sample text for comparing the background color over the text color.</comment>
</data>
<data name="SampleTextTitle" xml:space="preserve">
<value>Lorem ipsum dolor</value>
<comment>"Lorem ipsum" text used a sample text for comparing the background color over the text color.</comment>
</data>
<data name="SmallText" xml:space="preserve">
<value>Small text</value>
</data>
<data name="WCAG_AA" xml:space="preserve">
<value>WCAG AA</value>
</data>
<data name="WCAG_AAA" xml:space="preserve">
<value>WCAG AAA</value>
</data>
</root>
Loading

0 comments on commit 8e9e6d6

Please sign in to comment.