Skip to content

Commit c08abde

Browse files
committed
CQ: Comments
1 parent 0987b0f commit c08abde

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Files.App/Helpers/Application/AppLanguageHelper.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
namespace Files.App.Helpers
1414
{
15+
// TODO: Replaced by RealTime Resources in the future
1516
/// <summary>
1617
/// Provides static helper to manage supported languages in the application.
1718
/// </summary>
@@ -113,6 +114,7 @@ public static bool TryChange(string code)
113114
return true;
114115
}
115116

117+
// TODO: Replaced by RealTime Resources in the future
116118
/// <summary>
117119
/// Updates the title bar layout of the specified window based on the current culture.
118120
/// </summary>
@@ -140,11 +142,13 @@ public static bool UpdateTitleBar(Window window)
140142
return true;
141143
}
142144

145+
// TODO: Replaced by RealTime Resources in the future
143146
public static void UpdateContextLayout(FrameworkElement element)
144147
{
145148
element.FlowDirection = PreferredCulture.TextInfo.IsRightToLeft ? FlowDirection.RightToLeft : FlowDirection.LeftToRight;
146149
}
147150

151+
// TODO: Replaced by RealTime Resources in the future
148152
public static bool SetCultureLayout(Window window)
149153
{
150154
var res = UpdateTitleBar(window);

0 commit comments

Comments
 (0)