Skip to content

Commit

Permalink
feat: add support for GitHub Sponsors (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Apr 27, 2024
1 parent 2d5d0b4 commit ede9d57
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 0 deletions.
3 changes: 3 additions & 0 deletions i18n/de.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ other = "Facebook Gruppe"
[social_github]
other = "GitHub"

[social_githubsponsors]
other = "GitHub Sponsors"

[social_gitlab]
other = "GitLab"

Expand Down
3 changes: 3 additions & 0 deletions i18n/en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ other = "Facebook Group"
[social_github]
other = "GitHub"

[social_githubsponsors]
other = "GitHub Sponsors"

[social_gitlab]
other = "GitLab"

Expand Down
3 changes: 3 additions & 0 deletions i18n/ko.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ other = "Facebook Group"
[social_github]
other = "GitHub"

[social_githubsponsors]
other = "GitHub Sponsors"

[social_gitlab]
other = "GitLab"

Expand Down
3 changes: 3 additions & 0 deletions i18n/ms.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ other = "Facebook Group"
[social_github]
other = "GitHub"

[social_githubsponsors]
other = "GitHub Sponsors"

[social_gitlab]
other = "GitLab"

Expand Down
3 changes: 3 additions & 0 deletions i18n/pt-br.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ other = "Grupo do Facebook"
[social_github]
other = "GitHub"

[social_githubsponsors]
other = "GitHub Sponsors"

[social_gitlab]
other = "GitLab"

Expand Down
3 changes: 3 additions & 0 deletions i18n/ru.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ other = "Группа Фейсбук"
[social_github]
other = "ГитХаб"

[social_githubsponsors]
other = "GitHub Sponsors"

[social_gitlab]
other = "ГитЛаб"

Expand Down
3 changes: 3 additions & 0 deletions i18n/zh-hans.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ other = "脸书群组"
[social_github]
other = "GitHub"

[social_githubsponsors]
other = "GitHub 赞助商"

[social_gitlab]
other = "GitLab"

Expand Down
3 changes: 3 additions & 0 deletions i18n/zh-hant.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ other = "臉書群組"
[social_github]
other = "GitHub"

[social_githubsponsors]
other = "GitHub 贊助商"

[social_gitlab]
other = "GitLab"

Expand Down
1 change: 1 addition & 0 deletions layouts/partials/hb/modules/socials/link.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"facebook" (dict "url" "https://facebook.com/%s" "color" "#1877f2")
"facebookgroup" (dict "url" "https://facebook.com/groups/%s" "color" "#1877f2" "icon" "facebook")
"github" (dict "url" "https://github.com/%s")
"githubsponsors" (dict "url" "https://github.com/%s" "icon" "githubsponsors" "color" "#EA4AAA")
"gitlab" (dict "url" "https://gitlab.com/%s" "color" "#e24329")
"instagram" (dict "url" "https://www.instagram.com/%s" "color" "#c03957")
"itchdotio" (dict "url" "https://%s.itch.io/")
Expand Down

0 comments on commit ede9d57

Please sign in to comment.