Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ISO language code for Ukrainian #166

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions _data/site.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ module.exports = {
},
{
label: "українська",
code: "ua",
code: "uk",
arialabel: "Переглянути на інших мовах",
},
{
Expand Down Expand Up @@ -188,7 +188,7 @@ module.exports = {
{
name: "Andriy Sultanov",
link: "https://github.com/LastGenius-edu",
lang: "ua",
lang: "uk",
},
{
name: "Meiko Hori",
Expand Down
8 changes: 4 additions & 4 deletions _redirects
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,12 @@ https://dangitgit.com/ro https://dangitgit.com/ro/noswears/index.html 200
https://dangitgit.com/ https://dangitgit.com/ro 302 Language=ro

# ukrainian swears
https://ohshitgit.com/ua https://ohshitgit.com/ua/swears/index.html 200!
https://ohshitgit.com/ https://ohshitgit.com/ua 302 Language=ua
https://ohshitgit.com/uk https://ohshitgit.com/uk/swears/index.html 200!
https://ohshitgit.com/ https://ohshitgit.com/uk 302 Language=uk

# ukrainian no swears
https://dangitgit.com/ua https://dangitgit.com/ua/noswears/index.html 200!
https://dangitgit.com/ https://dangitgit.com/ua 302 Language=ua
https://dangitgit.com/uk https://dangitgit.com/uk/noswears/index.html 200!
https://dangitgit.com/ https://dangitgit.com/uk 302 Language=uk

# brazilian portuguese swears - use the country redirect instead of language
https://ohshitgit.com/pt_BR https://ohshitgit.com/pt_BR/swears/index.html 200!
Expand Down
2 changes: 1 addition & 1 deletion ua/noswears/index.html → uk/noswears/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: layouts/page.njk
locale: ua
locale: uk
contentType: noswears
title: Чорт забирай, Git!?!
---
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion ua/swears/index.html → uk/swears/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: layouts/page.njk
locale: ua
locale: uk
contentType: swears
title: Їбаний Git!?!
---
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.