Skip to content
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.

Commit

Permalink
Small issue, some menu items of other languages are missing #207 (#210)
Browse files Browse the repository at this point in the history
Fix sample site menu translations to be in sync.

Signed-off-by: Martin Lowe <martin.lowe@eclipse-foundation.org>
  • Loading branch information
autumnfound committed Mar 22, 2021
1 parent 219fb00 commit b9ac59f
Show file tree
Hide file tree
Showing 7 changed files with 424 additions and 102 deletions.
16 changes: 1 addition & 15 deletions exampleSite/config/_default/menus.en.toml
Expand Up @@ -59,12 +59,6 @@
weight = 8
parent = "examples"

[[main]]
name = "Exemples de FAQ"
url = "/faq/"
weight = 4
parent = "examples"

[[main]]
name = "Components"
url = "/components/"
Expand Down Expand Up @@ -170,13 +164,7 @@
url = "/components/rss/"
weight = 3
parent = "dynamic"

[[main]]
name = "RSS Feed"
url = "/components/rss/"
weight = 3
parent = "dynamic"


[[main]]
name = "Users Display"
url = "/components/user_display/"
Expand All @@ -189,14 +177,12 @@
weight = 3
parent = "events"


[[main]]
name = "Registration"
url = "/components/registration/"
weight = 3
parent = "events"


[[main]]
name = "Agenda"
url = "/components/agenda/"
Expand Down
94 changes: 76 additions & 18 deletions exampleSite/config/_default/menus.es.toml
Expand Up @@ -34,11 +34,29 @@
url = "/faq/"
weight = 4
parent = "examples"

[[main]]
name = "Exemples de FAQ"
url = "/faq/"
weight = 4
name = "Hide Call For Action"
url = "/hide_call_for_action/"
weight = 5
parent = "examples"

[[main]]
name = "Without Breadcrumb"
url = "/without_breadcrumb/"
weight = 6
parent = "examples"

[[main]]
name = "multi-children mobile sidebar sample"
url = "/third-parent/"
weight = 7
parent = "examples"

[[main]]
name = "Custom Jumbotron"
url = "/custom-jumbotron/"
weight = 8
parent = "examples"

[[main]]
Expand Down Expand Up @@ -136,17 +154,17 @@
parent = "solstice"

[[main]]
name = "RSS Feed"
url = "/components/rss/"
name = "Text Target"
url = "/components/text_target/"
weight = 3
parent = "dynamic"
parent = "solstice"

[[main]]
name = "RSS Feed"
url = "/components/rss/"
weight = 3
parent = "dynamic"

[[main]]
name = "Users Display"
url = "/components/user_display/"
Expand All @@ -159,14 +177,12 @@
weight = 3
parent = "events"


[[main]]
name = "Registration"
url = "/components/registration/"
weight = 3
parent = "events"


[[main]]
name = "Agenda"
url = "/components/agenda/"
Expand Down Expand Up @@ -202,13 +218,14 @@
url = "/"
weight = 3
identifier = "home"

[[sidebar]]
name = "Component list"
url = "/components"
weight = 1
parent = "home"
pre = "<i class=\"fa fa-chevron-right fa-fw\"></i>"
identifier = "component-list"

[[sidebar]]
name = "GitHub repository"
Expand All @@ -222,20 +239,61 @@
url = "/translations"
weight = 3
parent = "home"
identifier = "translation-guide"

[[sidebar]]
name = "Membership"
url = "#"
weight = 3
identifier = "membership"
name = "Translation Guide 1"
url = "/translations"
weight = 1
parent = "translation-guide"

[[sidebar]]
name = "Sidebar Item 1"
url = "#"
name = "Translation Guide 2"
url = "/translations"
weight = 1
parent = "membership"
parent = "translation-guide"

[[sidebar]]
name = "Third parent"
url = "/third-parent"
weight = 2
pre = "<i class=\"sidebar-menu-icon\" data-feather=\"github\"></i>"
identifier = "third-parent"

[[sidebar]]
name = "Test Children"
url = "/third-parent/test-children"
weight = 1
parent = "third-parent"
pre = "<i class=\"fa fa-chevron-right fa-fw\"></i>"
identifier = "test-children"

[[sidebar]]
name = "Test Children 2"
url = "/third-parent/test-children-2"
weight = 1
parent = "third-parent"
pre = "<i class=\"fa fa-chevron-right fa-fw\"></i>"
identifier = "test-children-2"

[[sidebar]]
name = "Test Children Children 1"
url = "/third-parent/test-children/test-children-children"
weight = 1
parent = "test-children"

[[sidebar]]
name = "Test Children Children 2"
url = "/third-parent/test-children/test-children-children-2"
weight = 2
parent = "test-children"

[[sidebar]]
name = "Membership"
url = "#"
weight = 4
identifier = "membership"

[[sidebar]]
name = "Sidebar Item 1"
url = "#"
Expand Down
91 changes: 90 additions & 1 deletion exampleSite/config/_default/menus.fr.toml
Expand Up @@ -29,6 +29,36 @@
weight = 3
parent = "examples"

[[main]]
name = "Exemples de FAQ"
url = "/faq/"
weight = 4
parent = "examples"

[[main]]
name = "Hide Call For Action"
url = "/hide_call_for_action/"
weight = 5
parent = "examples"

[[main]]
name = "Without Breadcrumb"
url = "/without_breadcrumb/"
weight = 6
parent = "examples"

[[main]]
name = "multi-children mobile sidebar sample"
url = "/third-parent/"
weight = 7
parent = "examples"

[[main]]
name = "Custom Jumbotron"
url = "/custom-jumbotron/"
weight = 8
parent = "examples"

[[main]]
name = "Composantes"
url = "/components/"
Expand Down Expand Up @@ -122,7 +152,19 @@
url = "/components/tables/"
weight = 3
parent = "solstice"


[[main]]
name = "Text Target"
url = "/components/text_target/"
weight = 3
parent = "solstice"

[[main]]
name = "RSS Feed"
url = "/components/rss/"
weight = 3
parent = "dynamic"

[[main]]
name = "Users Display [fr]"
url = "/components/user_display/"
Expand Down Expand Up @@ -198,7 +240,54 @@
url = "/translations"
weight = 3
parent = "home"

[[sidebar]]
name = "Translation Guide 1"
url = "/translations"
weight = 1
parent = "translation-guide"

[[sidebar]]
name = "Translation Guide 2"
url = "/translations"
weight = 1
parent = "translation-guide"

[[sidebar]]
name = "Third parent"
url = "/third-parent"
weight = 2
pre = "<i class=\"sidebar-menu-icon\" data-feather=\"github\"></i>"
identifier = "third-parent"

[[sidebar]]
name = "Test Children"
url = "/third-parent/test-children"
weight = 1
parent = "third-parent"
pre = "<i class=\"fa fa-chevron-right fa-fw\"></i>"
identifier = "test-children"

[[sidebar]]
name = "Test Children 2"
url = "/third-parent/test-children-2"
weight = 1
parent = "third-parent"
pre = "<i class=\"fa fa-chevron-right fa-fw\"></i>"
identifier = "test-children-2"

[[sidebar]]
name = "Test Children Children 1"
url = "/third-parent/test-children/test-children-children"
weight = 1
parent = "test-children"

[[sidebar]]
name = "Test Children Children 2"
url = "/third-parent/test-children/test-children-children-2"
weight = 2
parent = "test-children"

[[sidebar]]
name = "Premier article"
url = "#"
Expand Down

0 comments on commit b9ac59f

Please sign in to comment.