Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Micah123321 committed Jul 12, 2024
2 parents 27d3055 + 113d207 commit f978602
Show file tree
Hide file tree
Showing 102 changed files with 6,511 additions and 5,047 deletions.
Binary file added .DS_Store
Binary file not shown.
2 changes: 0 additions & 2 deletions .vscode/settings.json

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"dependencies": {
"@vuepress/plugin-docsearch": "2.0.0-rc.0",
"@vuepress/plugin-google-analytics": "2.0.0-rc.0",
"pnpm": "^8.15.7",
"pnpm": "^8.15.8",
"vuepress-plugin-redirect": "2.0.0-rc.0"
}
}
8,597 changes: 3,954 additions & 4,643 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

Binary file added src/.DS_Store
Binary file not shown.
47 changes: 47 additions & 0 deletions src/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ export default defineUserConfig({
title: "Korepi",
description: "Korepi Yardım Bölümü",
},
"/th/": {
lang: "th",
title: "Korepi",
description: "ความช่วยเหลือบน Korepi",
},
},
plugins: [
docsearchPlugin({
Expand Down Expand Up @@ -570,6 +575,47 @@ export default defineUserConfig({
},
},
},
"/th/": {
placeholder: "ค้นหา",
translations: {
button: {
buttonText: "ค้นหา",
buttonAriaLabel: "ค้นหา",
},
modal: {
searchBox: {
resetButtonTitle: "ล้างเกณฑ์การค้นหา",
resetButtonAriaLabel: "ล้างเกณฑ์การค้นหา",
cancelButtonText: "ย้อนกลับ",
cancelButtonAriaLabel: "ย้อนกลับ",
},
startScreen: {
recentSearchesTitle: "ประวัติการค้นหา",
noRecentSearchesText: "ไม่มีประวัติการค้นหา",
saveRecentSearchButtonTitle: "บันทึกไปที่ประวัติการค้นหา",
removeRecentSearchButtonTitle: "ลบออกจากประวัติการค้นหา",
favoriteSearchesTitle: "รายการโปรด",
removeFavoriteSearchButtonTitle: "ลบออกจากรายการโปรด",
},
errorScreen: {
titleText: "ไม่สามารถค้นหาผลลัพธ์ได้",
helpText: "ตรวจสอบการเชื่อมต่ออินเตอร์เน็ต และ ทรัพยากรที่ร้องขอ",
},
footer: {
selectText: "เลือก",
navigateText: "เปิด/ปิด",
closeText: "ปิด",
searchByText: "ค้นหา:",
},
noResultsScreen: {
noResultsText: "ไม่พบผลลัพธ์ที่ค้นหา:",
suggestedQueryText: "คุณสามารถค้นหาใหม่",
reportMissingResultsText: "คุณคิดว่าคำค้นหานี้จะได้ผลลัพธ์อะไร :> ?",
reportMissingResultsLinkText: "ติดต่อเรา",
},
},
},
},
},
}),
redirectPlugin({
Expand All @@ -588,6 +634,7 @@ export default defineUserConfig({
"/tr/": ["tr", "tr-TR"],
"/jp/": ["ja-JP","jp-JP", "jp"],
"/ar/": ["ar", "ar-MA", "ar-SA", "ar-PS", "ar-DZ", "ar-BH", "ar-TD", "ar-KM", "ar-JO", "ar-EG", "ar-IQ", "ar-KW", "ar-LB", "ar-LY", "ar-MR", "ar-OM", "ar-QA", "ar-SO", "ar-SD", "ar-SY", "ar-TN", "ar-AE", "ar-YE",],
"/th/": ["th-TH", "th"],
},
}),
googleAnalyticsPlugin({
Expand Down
3 changes: 2 additions & 1 deletion src/.vuepress/navbar/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ export * from "./pt.js";
export * from "./ar.js";
export * from "./jp.js";
export * from "./tr.js";
export * from "./ko.js";
export * from "./ko.js";
export * from "./th.js";
32 changes: 32 additions & 0 deletions src/.vuepress/navbar/th.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
import { navbar } from "vuepress-theme-hope";

export const thNavbar = navbar([
"/th/",
"/th/guide/",
"/th/start/",
{
text: "คู่มือ",
icon: "lightbulb",
prefix: "/th/",
children: [
{
text: "เริ่มต้นใช้งาน",
icon: "lightbulb",
prefix: "start/",
children: ["join"],
},
{
text: "คู่มือ",
icon: "lightbulb",
prefix: "guide/",
children: ["getkey"],
},
{
text: "คุณสมบัติ",
icon: "sitemap",
prefix: "features/",
children: [""],
},
],
},
]);
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/.vuepress/sidebar/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ export * from "./pt.js";
export * from "./ar.js";
export * from "./jp.js";
export * from "./tr.js";
export * from "./ko.js";
export * from "./ko.js";
export * from "./th.js";
31 changes: 31 additions & 0 deletions src/.vuepress/sidebar/th.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import { sidebar } from "vuepress-theme-hope";

export const thSidebar = sidebar({
"/th/": [
"",
{
text: "เริ่มต้นใช้งาน",
icon: "lightbulb",
prefix: "start/",
children: "structure",
},
{
text: "คู่มือ",
icon: "book",
prefix: "guide/",
children: "structure",
},
{
text: "คุณสมบัติ",
icon: "sitemap",
prefix: "features/",
children: "structure",
},
{
text: "แก้ไขปัญหา",
icon: "info-circle",
prefix: "troubleshoot/",
children: "structure",
},
],
});
Loading

0 comments on commit f978602

Please sign in to comment.