mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-15 20:15:31 +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
|
- id: open_project_site
|
||||||
translation: Go to Project Site
|
translation: Go to Project Site
|
||||||
|
|
||||||
# Default titles for archive pages
|
# Content types for default archive page titles and search results
|
||||||
|
|
||||||
- id: posts
|
- id: posts
|
||||||
translation: Posts
|
translation: Posts
|
||||||
@@ -202,6 +202,9 @@
|
|||||||
- id: projects
|
- id: projects
|
||||||
translation: Projects
|
translation: Projects
|
||||||
|
|
||||||
|
- id: slides
|
||||||
|
translation: Slides
|
||||||
|
|
||||||
# Search
|
# Search
|
||||||
|
|
||||||
- id: search
|
- id: search
|
||||||
|
|||||||
@@ -61,7 +61,8 @@
|
|||||||
'post': {{ i18n "posts" }},
|
'post': {{ i18n "posts" }},
|
||||||
'project': {{ i18n "projects" }},
|
'project': {{ i18n "projects" }},
|
||||||
'publication' : {{ i18n "publications" }},
|
'publication' : {{ i18n "publications" }},
|
||||||
'talk' : {{ i18n "talks" }}
|
'talk' : {{ i18n "talks" }},
|
||||||
|
'slides' : {{ i18n "slides" | default (i18n "btn_slides") }}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
Reference in new issue
Block a user