mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-06 16:15:51 +00:00
feat: add slides translation for search result content type label
Fallback to `btn_slides` translation for language packs which don't yet have a `slides` translation. Close #1716
This commit is contained in:
1 parent
8af8d15d82
commit
dfae6dca85
2 files changed
+6
-2
No files matched your search
+4
-1
@@ -188,7 +188,7 @@
|
||||
- id: open_project_site
|
||||
translation: Go to Project Site
|
||||
|
||||
# Default titles for archive pages
|
||||
# Content types for default archive page titles and search results
|
||||
|
||||
- id: posts
|
||||
translation: Posts
|
||||
@@ -202,6 +202,9 @@
|
||||
- id: projects
|
||||
translation: Projects
|
||||
|
||||
- id: slides
|
||||
translation: Slides
|
||||
|
||||
# Search
|
||||
|
||||
- id: search
|
||||
|
||||
@@ -61,7 +61,8 @@
|
||||
'post': {{ i18n "posts" }},
|
||||
'project': {{ i18n "projects" }},
|
||||
'publication' : {{ i18n "publications" }},
|
||||
'talk' : {{ i18n "talks" }}
|
||||
'talk' : {{ i18n "talks" }},
|
||||
'slides' : {{ i18n "slides" | default (i18n "btn_slides") }}
|
||||
};
|
||||
</script>
|
||||
{{ end }}
|
||||
|
||||
Reference in new issue
Block a user