Adds Arabic localization support

This commit is contained in:
BinaryAlley committed 2026-08-23 06:29:18 -07:00
1 parent c88895330e
commit e0299aa9ee
24 files changed
+3657 -2

No files matched your search

@@ -170,7 +170,7 @@ public class ThemeNavBuilderTests
// Assert
ThemeNavSectionDto languageSection = FindSection(result, "Localized-Language")!;
Assert.Equal(9, languageSection.Items.Count);
Assert.Equal(10, languageSection.Items.Count);
Assert.All(languageSection.Items, entry =>
{
Assert.Equal("lang-set", entry.CssClass);
@@ -192,7 +192,7 @@ public class ThemeNavBuilderTests
ThemeNavSectionDto toolsSection = FindSection(result, "Localized-Tools", isMobile: false)!;
Assert.Contains(toolsSection.Items, entry => entry.Label == "Localized-Settings" && entry.Url == "http://localhost/en-us/tools/settings");
// the desktop tools section hosts the language submenu while the mobile menu has a dedicated language section
Assert.Contains(toolsSection.Items, entry => entry.Label == "Localized-Language" && entry.Children.Count == 9);
Assert.Contains(toolsSection.Items, entry => entry.Label == "Localized-Language" && entry.Children.Count == 10);
}
[Fact]