From bf93d1383d93057ec179714604bafe30f687e539 Mon Sep 17 00:00:00 2001 From: Travis-CI Date: Sun, 2 Jan 2022 16:53:02 +0000 Subject: [PATCH] Update critical file(s) according to Chirpy v5.0.0 --- Gemfile | 2 +- _config.yml | 14 ++++--- _data/locales/en.yml | 3 +- _data/locales/id-ID.yml | 3 +- _data/locales/ko-KR.yml | 91 +++++++++++++++++++++++++++++++++++++++++ _data/locales/zh-CN.yml | 3 +- tools/deploy.sh | 39 +++++++++--------- 7 files changed, 127 insertions(+), 28 deletions(-) create mode 100644 _data/locales/ko-KR.yml diff --git a/Gemfile b/Gemfile index eb790c6..8350a88 100644 --- a/Gemfile +++ b/Gemfile @@ -2,7 +2,7 @@ source "https://rubygems.org" -gem "jekyll-theme-chirpy", "~> 4.3", ">= 4.3.4" +gem "jekyll-theme-chirpy", "~> 5.0", ">= 5.0.0" group :test do gem "html-proofer", "~> 3.18" diff --git a/_config.yml b/_config.yml index 75ee843..0ad2fdd 100644 --- a/_config.yml +++ b/_config.yml @@ -87,9 +87,15 @@ avatar: # boolean type, the global switch for ToC in posts. toc: true -disqus: - comments: false # boolean type, the global switch for posts comments. - shortname: '' # Fill with your Disqus shortname. › https://help.disqus.com/en/articles/1717111-what-s-a-shortname +comments: + active: # The global switch for posts comments, e.g., 'disqus'. Keep it empty means disable + # The active options are as follows: + disqus: + shortname: # fill with the Disqus shortname. › https://help.disqus.com/en/articles/1717111-what-s-a-shortname + # utterances settings › https://utteranc.es/ + utterances: + repo: # / + issue_term: # < url | pathname | title | ...> paginate: 10 @@ -111,7 +117,6 @@ collections: output: true sort_by: order - defaults: - scope: @@ -136,7 +141,6 @@ defaults: values: layout: page permalink: /:title/ - dynamic_title: true # Hide title in mobile screens. sass: style: compressed diff --git a/_data/locales/en.yml b/_data/locales/en.yml index 65c2df0..93e4d15 100644 --- a/_data/locales/en.yml +++ b/_data/locales/en.yml @@ -59,7 +59,8 @@ not_found: # ----- Posts related labels ----- post: - published: 'on' + written_by: By + posted: Posted updated: Updated timeago: day: days ago diff --git a/_data/locales/id-ID.yml b/_data/locales/id-ID.yml index 851d5a9..4693c5e 100644 --- a/_data/locales/id-ID.yml +++ b/_data/locales/id-ID.yml @@ -59,7 +59,8 @@ not_found: # ----- Posts related labels ----- post: - published: "pada" + written_by: Oleh + posted: Diterbitkan updated: Diperbarui timeago: day: hari yang lalu diff --git a/_data/locales/ko-KR.yml b/_data/locales/ko-KR.yml new file mode 100644 index 0000000..34d48aa --- /dev/null +++ b/_data/locales/ko-KR.yml @@ -0,0 +1,91 @@ +# The layout text of site + +# ----- Commons label ----- + +layout: + post: 포스트 + category: 카테고리 + tag: 태그 + +# The tabs of sidebar +tabs: + # format: : + home: 홈 + categories: 카테고리 + tags: 태그 + archives: 아카이브 + about: 정보 + +# the text displayed in the search bar & search results +search: + hint: 검색 + cancel: 취소 + no_results: 검색 결과가 없습니다. + +panel: + lastmod: 최근 업데이트 + trending_tags: 인기 태그 + toc: 바로가기 + +# The liquid date format › http://strftime.net/ +date_format: + tooltip: '%F, %R %z' + post: + long: '%Y년 %m월 %d일' + short: '%m월 %d일' + archive_month: '%b월' + +copyright: + # Shown at the bottom of the post + license: + template: 이 기사는 저작권자의 :LICENSE_NAME 라이센스를 따릅니다. + name: CC BY 4.0 + link: https://creativecommons.org/licenses/by/4.0/ + + # Displayed in the footer + brief: 일부 권리 보유 + verbose: >- + 명시되지 않는 한 이 사이트의 블로그 게시물은 작성자의 + Creative Commons Attribution 4.0 International(CC BY 4.0) 라이선스에 따라 사용이 허가되었습니다. + +meta: Powered by :PLATFORM with :THEME theme. + +not_found: + statment: 해당 URL은 존재하지 않습니다. + hint_template: :HEAD_BAK을 눌러 다시 찾거나 :ARCHIVES_PAGE에서 검색해 주세요. + head_back: 홈으로 돌아가기 + archives_page: 아카이브 페이지 + +# ----- Posts related labels ----- + +post: + written_by: By + posted: 게시 + updated: 업데이트 + timeago: + day: 일 전 + hour: 시간 전 + minute: 분 전 + just_now: 방금 + words: 단어 + pageview_measure: 조회 + read_time: + unit: 분 + prompt: 읽는 시간 + relate_posts: 관련된 글 + share: 공유하기 + button: + next: 다음 글 + previous: 이전 글 + copy_code: + succeed: 복사되었습니다! + share_link: + title: 링크 복사하기 + succeed: 링크가 복사되었습니다! + # pinned prompt of posts list on homepage + pin_prompt: 핀 + +# categories page +categories: + category_measure: 카테고리 + post_measure: 포스트 diff --git a/_data/locales/zh-CN.yml b/_data/locales/zh-CN.yml index 0d479a3..83f2376 100644 --- a/_data/locales/zh-CN.yml +++ b/_data/locales/zh-CN.yml @@ -58,7 +58,8 @@ not_found: # ----- Posts related labels ----- post: - published: 发表于 + written_by: 作者 + posted: 发表于 updated: 更新于 timeago: day: 天前 diff --git a/tools/deploy.sh b/tools/deploy.sh index 84b2b10..14b88eb 100755 --- a/tools/deploy.sh +++ b/tools/deploy.sh @@ -98,6 +98,7 @@ flush() { shopt -s dotglob nullglob mv "$_backup_dir"/* . + [[ -f ".nojekyll" ]] || echo "" >".nojekyll" } deploy() { @@ -134,25 +135,25 @@ main() { while (($#)); do opt="$1" case $opt in - -c | --config) - _config="$2" - shift - shift - ;; - --dry-run) - # build & test, but not deploy - _opt_dry_run=true - shift - ;; - -h | --help) - help - exit 0 - ;; - *) - # unknown option - help - exit 1 - ;; + -c | --config) + _config="$2" + shift + shift + ;; + --dry-run) + # build & test, but not deploy + _opt_dry_run=true + shift + ;; + -h | --help) + help + exit 0 + ;; + *) + # unknown option + help + exit 1 + ;; esac done