Skip to content

Commit

Permalink
#264: added translation string helper to organization menu label
Browse files Browse the repository at this point in the history
  • Loading branch information
ktturner committed Jun 22, 2020
1 parent adb4611 commit a8441b4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
17 changes: 8 additions & 9 deletions locales/all.en-us.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@
- id: about
translation: "About"
- id: browse
translation: "Organizations"
- id: organizations
translation: "Browse"
- id: sign_in
translation: "Sign In"
Expand Down Expand Up @@ -88,7 +90,7 @@
- id: publisher
translation: "Publisher"
- id: contributors
translation: "Contributors"
translation: "Contributors"
- id: funding_source
translation: "Funding Source"
- id: people
Expand All @@ -106,7 +108,7 @@
- id: filter_author
translation: "Filter Author"
- id: show_more
translation: "Show More"
translation: "Show More"
- id: show_less
translation: "Show Less"
- id: cancel
Expand All @@ -128,7 +130,7 @@
- id: date_ascending
translation: "Date (Ascending)"
- id: date_descending
translation: "Date (Descending)"
translation: "Date (Descending)"
- id: next
translation: "Next"
- id: previous
Expand All @@ -140,7 +142,7 @@
- id: filter_authors
translation: "Filter Authors"
- id: filter
translation: "Filter"
translation: "Filter"
- id: show
translation: "Show"
- id: hide
Expand All @@ -164,11 +166,8 @@
- id: person_a_z
translation: "Person a-z"
- id: person_z_a
translation: "Person z-a"
translation: "Person z-a"
- id: learn_more
translation: "Learn more"
- id: showing_all
translation: "Showing all"



translation: "Showing all"
2 changes: 1 addition & 1 deletion templates/_header_content.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
alt="<%= ThemeVariable("siteName") %>">
</a>
<a slot="nav-item" href="/pages/about"><%= t("about") %></a>
<a slot="nav-item" href="/pages/organizations">Organizations</a>
<a slot="nav-item" href="/pages/organizations"><%= t("organizations") %></a>
<a slot="nav-item" href="/search/?search=*"><%= t("browse") %></a>
<a slot="nav-item" href=""><%= t("sign_in") %></a>

0 comments on commit a8441b4

Please sign in to comment.