A Swiss Army knife for developers.
C# blazorcross-platformcsharpdesktopdesktop-appdesktop-applicationdeveloper-toolsextensiblefluentfluent-designlinuxmacosmicasyntax-highlightingtypescriptwindowswindows-10windows-11winui
Improved support of flow direction
Etienne Baudoux51664c804dd3
diff --git a/src/dev/impl/DevToys/LanguageManager.cs b/src/dev/impl/DevToys/LanguageManager.csindex 54078c4f3..6f66a1884 100644--- a/src/dev/impl/DevToys/LanguageManager.cs+++ b/src/dev/impl/DevToys/LanguageManager.cs@@ -2210,6 +2210,11 @@ namespace DevToys/// Gets the resource SearchKeywords./// </summary>public string SearchKeywords => _resources.GetString("SearchKeywords");++ /// <summary>+ /// Gets the resource HelpTranslating.+ /// </summary>+ public string HelpTranslating => _resources.GetString("HelpTranslating");}public class SqlFormatterStrings : ObservableObjectdiff --git a/src/dev/impl/DevToys/LanguageManager.tt b/src/dev/impl/DevToys/LanguageManager.ttindex 44a537fd9..1809f677c 100644--- a/src/dev/impl/DevToys/LanguageManager.tt+++ b/src/dev/impl/DevToys/LanguageManager.tt@@ -192,6 +192,6 @@ namespace DevToys}<#}- }+ }#>}diff --git a/src/dev/impl/DevToys/Strings/en-US/Settings.resw b/src/dev/impl/DevToys/Strings/en-US/Settings.reswindex 6535f4a8a..cfe3b666d 100644--- a/src/dev/impl/DevToys/Strings/en-US/Settings.resw+++ b/src/dev/impl/DevToys/Strings/en-US/Settings.resw@@ -231,4 +231,7 @@<data name="SearchKeywords" xml:space="preserve"><value>Configurations Options</value></data>+ <data name="HelpTranslating" xml:space="preserve">+ <value>Help us translating DevToys!</value>+ </data></root>\ No newline at end of filediff --git a/src/dev/impl/DevToys/Views/MainPage.xaml b/src/dev/impl/DevToys/Views/MainPage.xamlindex 6fd68eb4b..1a0c0913d 100644--- a/src/dev/impl/DevToys/Views/MainPage.xaml+++ b/src/dev/impl/DevToys/Views/MainPage.xaml@@ -16,7 +16,8 @@xmlns:viewmanagement="using:Windows.UI.ViewManagement"mc:Ignorable="d"NavigationCacheMode="Enabled"- muxc:BackdropMaterial.ApplyToRootOrPageBackground="True">+ muxc:BackdropMaterial.ApplyToRootOrPageBackground="True"+ FlowDirection="{Binding Instance.FlowDirection, Source={StaticResource LanguageManager}}"><Page.Resources><converters:DoubleToGridLengthConverter x:Key="DoubleToGridLengthConverter"/><converters:BooleanToVisibilityConverter x:Key="InvertedBooleanToVisibilityConverter" IsInverted="True"/>diff --git a/src/dev/impl/DevToys/Views/Tools/Settings/SettingsToolPage.xaml b/src/dev/impl/DevToys/Views/Tools/Settings/SettingsToolPage.xamlindex 3d1dd9c68..4ecd4a647 100644--- a/src/dev/impl/DevToys/Views/Tools/Settings/SettingsToolPage.xaml+++ b/src/dev/impl/DevToys/Views/Tools/Settings/SettingsToolPage.xaml@@ -26,12 +26,15 @@<controls:ExpandableSettingControl.Icon><FontIcon Glyph="" /></controls:ExpandableSettingControl.Icon>- <ComboBox- DisplayMemberPath="DisplayName"- SelectedValuePath="InternalName"- ItemsSource="{x:Bind ViewModel.AvailableLanguages}"- SelectedValue="{x:Bind ViewModel.Language, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}">- </ComboBox>+ <StackPanel Orientation="Horizontal">+ <HyperlinkButton Content="{x:Bind ViewModel.Strings.HelpTranslating}" NavigateUri="https://crowdin.com/project/devtoys" />+ <ComboBox+ DisplayMemberPath="DisplayName"+ SelectedValuePath="InternalName"+ ItemsSource="{x:Bind ViewModel.AvailableLanguages}"+ SelectedValue="{x:Bind ViewModel.Language, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}">+ </ComboBox>+ </StackPanel></controls:ExpandableSettingControl><controls:ExpandableSettingControlTitle="{x:Bind ViewModel.Strings.AppTheme}"