diff --git a/README.md b/README.md index bc36937..e871020 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ ## Documentation & more information -[Documentation](https://www.notion.so/jimmycai/Hugo-Theme-Stack-511aec5b9ed845ce9b6e3ae0bf7fb6d4) | [中文文档](https://www.notion.so/jimmycai/Hugo-Theme-Stack-511aec5b9ed845ce9b6e3ae0bf7fb6d4) +[Documentation](https://docs.stack.jimmycai.com/) | [中文文档](https://docs.stack.jimmycai.com/v/zh-cn/) ## Introduction diff --git a/i18n/en.toml b/i18n/en.toml index 7fb76fe..1261a18 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -16,6 +16,9 @@ [widgetTagCloudTitle] other = "Tags" +[categoriesTitle] + other = "Categories" + [notFoundTitle] other = "Not Found" @@ -29,4 +32,10 @@ other = "Type something..." [searchResultTitle] - other = "#PAGES_COUNT pages (#TIME_SECONDS seconds)" \ No newline at end of file + other = "#PAGES_COUNT pages (#TIME_SECONDS seconds)" + +[footerBuiltWith] + other = "Built with {{ .Generator }}" + +[footerDesignedBy] + other = "Theme {{ .Theme }} designed by {{ .DesignedBy }}" diff --git a/i18n/fr.toml b/i18n/fr.toml new file mode 100644 index 0000000..03c4efa --- /dev/null +++ b/i18n/fr.toml @@ -0,0 +1,38 @@ +[toggleMenu] + other = "Afficher le menu" + +[relatedContents] + other = "Contenus liés" + +[lastUpdatedOn] + other = "Dernière mise à jour le" + +[widgetArchivesTitle] + other = "Archives" + +[widgetArchivesMore] + other = "Autres" + +[widgetTagCloudTitle] + other = "Mots clés" + +[notFoundTitle] + other = "Page non trouvée" + +[notFoundSubtitle] + other = "Cette page n'existe pas." + +[searchTitle] + other = "Rechercher" + +[searchPlaceholder] + other = "Cherchez un article, une publication, etc." + +[searchResultTitle] + other = "#PAGES_COUNT pages (#TIME_SECONDS secondes)" + +[footerBuiltWith] + other = "Généré avec {{ .Generator }}" + +[footerDesignedBy] + other = "Thème {{ .Theme }} conçu par {{ .DesignedBy }}" \ No newline at end of file diff --git a/i18n/ko.toml b/i18n/ko.toml new file mode 100644 index 0000000..099477c --- /dev/null +++ b/i18n/ko.toml @@ -0,0 +1,38 @@ +[toggleMenu] + other = "메뉴 여닫기" + +[relatedContents] + other = "관련 글" + +[lastUpdatedOn] + other ="마지막 수정: " + +[widgetArchivesTitle] + other = "보관함" + +[widgetArchivesMore] + other = "더보기" + +[widgetTagCloudTitle] + other = "태그" + +[notFoundTitle] + other = "찾을 수 없음" + +[notFoundSubtitle] + other = "페이지를 찾을 수 없습니다." + +[searchTitle] + other = "검색" + +[searchPlaceholder] + other = "검색어를 입력하세요..." + +[searchResultTitle] + other = "#PAGES_COUNT 페이지 (#TIME_SECONDS 초)" + +[footerBuiltWith] + other = "{{ .Generator }}로 만듦" + +[footerDesignedBy] + other = "{{ .DesignedBy }}의 {{ .Theme }} 테마 사용 중" \ No newline at end of file diff --git a/i18n/pt-BR.toml b/i18n/pt-BR.toml new file mode 100644 index 0000000..4f7436f --- /dev/null +++ b/i18n/pt-BR.toml @@ -0,0 +1,41 @@ +[toggleMenu] + other = "Alternar Menu" + +[relatedContents] + other = "Conteúdos Relacionados" + +[lastUpdatedOn] + other ="Última atualização em" + +[widgetArchivesTitle] + other = "Arquivos" + +[widgetArchivesMore] + other = "Mais" + +[widgetTagCloudTitle] + other = "Tags" + +[categoriesTitle] + other = "Categorias" + +[notFoundTitle] + other = "Não Encontrado" + +[notFoundSubtitle] + other = "Esta página não existe." + +[searchTitle] + other = "Busca" + +[searchPlaceholder] + other = "Digite algo..." + +[searchResultTitle] + other = "#PAGES_COUNT páginas (#TIME_SECONDS segundos)" + +[footerBuiltWith] + other = "Criado com {{ .Generator }}" + +[footerDesignedBy] + other = "Tema {{ .Theme }} desenvolvido por {{ .DesignedBy }}" \ No newline at end of file diff --git a/layouts/_default/archives.html b/layouts/_default/archives.html index d2326ee..0071565 100644 --- a/layouts/_default/archives.html +++ b/layouts/_default/archives.html @@ -2,7 +2,7 @@ {{ define "main" }} {{ $categories := ($.Site.GetPage "taxonomyTerm" "categories").Pages }} {{ if $categories }} -

Categories

+

{{ T "categoriesTitle" }}

{{ range $categories }} @@ -29,4 +29,4 @@ {{ end }} {{ partialCached "footer/footer" . }} -{{ end }} \ No newline at end of file +{{ end }} diff --git a/layouts/partials/footer/footer.html b/layouts/partials/footer/footer.html index f8f7e39..6bd37b2 100644 --- a/layouts/partials/footer/footer.html +++ b/layouts/partials/footer/footer.html @@ -1,8 +1,12 @@ +{{- $ThemeVersion := "1.1.0" -}} \ No newline at end of file diff --git a/netlify.toml b/netlify.toml index 08c3dca..aecd1da 100644 --- a/netlify.toml +++ b/netlify.toml @@ -2,7 +2,7 @@ publish = "exampleSite/public" [build.environment] - HUGO_VERSION = "0.74.3" + HUGO_VERSION = "0.79.0" HUGO_THEME = "repo" [context.production]