mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-02 11:01:10 +00:00
Adds Arabic localization support
This commit is contained in:
1 parent
c88895330e
commit
e0299aa9ee
24 files changed
+3657
-2
No files matched your search
+2
-2
@@ -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]
|
||||
|
||||
Reference in new issue
Block a user