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(i18n): improve Thai locale #7248

Merged
merged 4 commits into from
Aug 5, 2024
Merged
Changes from 2 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
119 changes: 84 additions & 35 deletions packages/decap-cms-locales/src/th/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,24 @@ const th = {
login: 'เข้าสู่ระบบ',
loggingIn: 'กำลังเข้าสู่ระบบ...',
loginWithNetlifyIdentity: 'เข้าสู่ระบบด้วย Netlify Identity',
loginWithAzure: 'เข้าสู่ระบบด้วย Azure',
loginWithBitbucket: 'เข้าสู่ระบบด้วย Bitbucket',
loginWithGitHub: 'เข้าสู่ระบบด้วย GitHub',
loginWithGitLab: 'เข้าสู่ระบบด้วย GitLab',
loginWithGitea: 'เข้าสู่ระบบด้วย Gitea',
errors: {
email: 'ตรวจสอบให้แน่ใจว่าได้ใส่อีเมลล์แล้ว',
email: 'ตรวจสอบให้แน่ใจว่าได้ใส่อีเมลแล้ว',
password: 'โปรดใส่รหัสผ่านของคุณ',
identitySettings:
'ไม่สามารถเข้าถึงการตั้งค่าส่วนตัว เมื่อใช้ git-gateway backend ตรวจสอบให้แน่ใจว่าได้เปิดใช้งานระบบยืนยันตัวตนและ Git Gateway.',
'ไม่สามารถเข้าถึงการตั้งค่าส่วนตัว เมื่อใช้ git-gateway backend ตรวจสอบให้แน่ใจว่าได้เปิดใช้งานระบบยืนยันตัวตนและ Git Gateway แล้ว',
},
},
app: {
header: {
content: 'เนื้อหา',
workflow: 'ขั้นตอนการทำงาน',
media: 'มีเดีย',
quickAdd: 'เพิ่มเนื้อหา อย่างเร็ว',
workflow: 'กระแสงาน',
media: 'ไฟล์สื่อ',
quickAdd: 'เพิ่มเนื้อหาด่วน',
},
app: {
errorHeader: 'เกิดข้อผิดพลาดในการโหลดการตั้งค่า CMS',
Expand All @@ -45,22 +46,27 @@ const th = {
newButton: 'สร้าง %{collectionLabel}',
ascending: 'น้อยไปมาก',
descending: 'มากไปน้อย',
searchResults: 'ค้นหาผลลัพธ์สำหรับ "%{searchTerm}"',
searchResultsInCollection: 'ค้นหาผลลัพธ์สำหรับ "%{searchTerm}" ใน %{collection}',
searchResults: 'ผลลัพธ์การค้นหา "%{searchTerm}"',
searchResultsInCollection: 'ผลลัพธ์การค้นหา "%{searchTerm}" ในกลุ่ม %{collection}',
filterBy: 'กรองตาม',
groupBy: 'จัดกลุ่มตาม',
},
entries: {
loadingEntries: 'กำลังโหลดเนิ้อหา...',
cachingEntries: 'กำลังแคชข้อมูลเนื้อหา...',
longerLoading: 'อาจจะโหลดนานหลายนาที',
noEntries: 'ไม่มีเนื้อหา',
},
groups: {
other: 'อื่น ๆ',
negateLabel: 'ไม่ใช่ %{label}',
},
defaultFields: {
author: {
label: 'ผู้เขียน',
},
updatedOn: {
label: 'อัพเดตเมื่อ',
label: 'เวลาที่อัปเดต',
},
},
},
Expand All @@ -72,7 +78,7 @@ const th = {
},
editorControlPane: {
widget: {
required: '%{fieldLabel} ต้องระบุ',
required: 'จำเป็นต้องระบุ %{fieldLabel}',
regexPattern: '%{fieldLabel} ไม่ตรงกับรูปแบบ: %{pattern}',
processing: '%{fieldLabel} กำลังประมวลผล',
range: '%{fieldLabel} ต้องอยู่ระหว่าง %{minValue} และ %{maxValue}',
Expand All @@ -82,11 +88,14 @@ const th = {
rangeCountExact: '%{fieldLabel} จะต้องมี %{count} รายการ',
rangeMin: '%{fieldLabel} จะต้องมีไม่ต่ำกว่า %{minCount} รายการ',
rangeMax: '%{fieldLabel} จะต้องมีไม่มากกว่า %{maxCount} รายการ',
invalidPath: `'%{path}' พาทไม่ถูกต้อง`,
invalidPath: `'%{path}' ไม่ใช่พาทที่ถูกต้อง`,
pathExists: `พาท '%{path}' มีอยู่แล้ว`,
},
i18n: {
writingInLocale: 'เขียนด้วยภาษา %{locale}',
writingInLocale: 'กำลังเขียนด้วยภาษา %{locale}',
copyFromLocale: 'คัดลอกจากภาษาอื่น',
copyFromLocaleConfirm:
'คุณต้องการคัดลอกข้อมูลจากภาษา %{locale} หรือไม่?\nเนื้อหาทั้งหมดจะถูกแทนที่',
},
},
editor: {
Expand All @@ -105,23 +114,32 @@ const th = {
'คุณแน่ใจหรือว่าจะต้องการลบเนื้อหาที่ยังไม่ได้เผยแพร่ทั้งหมดนี้ รวมถึงการเปลี่ยนแปลงที่ยังไม่ได้บันทึก?',
onDeleteUnpublishedChanges: 'คุณแน่ใจหรือว่าจะต้องการลบเนื้อหาที่ยังไม่ได้เผยแพร่ทั้งหมดนี้?',
loadingEntry: 'กำลังโหลดเนื้อหา...',
confirmLoadBackup: 'ข้อมูลสำรองได้ถูกกู้คืนสำหรับเนื้อหานี้ คุณต้องการใช้มันไหม?',
confirmLoadBackup: 'มีการกู้คืนข้อมูลสำรองสำหรับเนื้อหานี้ คุณต้องการใช้มันหรือไม่?',
},
editorInterface: {
toggleI18n: 'เปิด/ปิด i18n',
togglePreview: 'เปิด/ปิดการแสดงตัวอย่าง',
toggleScrollSync: 'เปิด/ปิดการเลื่อนพร้อมกัน',
},
editorToolbar: {
publishing: 'กำลังเผยแพร่...',
publish: 'เผยแพร่',
published: 'เผยแพร่แล้ว',
unpublish: 'ไม่ได้เผยแพร่',
duplicate: 'ทำซ้ำ',
unpublishing: 'ไม่ทำการเผยแพร่...',
publishAndCreateNew: 'เผยแพร่ และ สร้างใหม่',
publishAndDuplicate: 'เผยแพร่ และ ทำซ้ำ',
unpublishing: 'กำยังยกเลิกการเผยแพร่...',
publishAndCreateNew: 'เผยแพร่ และสร้างใหม่',
publishAndDuplicate: 'เผยแพร่ และทำซ้ำ',
deleteUnpublishedChanges: 'ลบการเปลี่ยแปลงเนื้อหาที่ยังไม่ได้เผยแพร่',
deleteUnpublishedEntry: 'ลบเนื้อหาที่ยังไม่ได้เผยแพร่',
deletePublishedEntry: 'ลบเนื้อหาที่เผยแพร่',
deletePublishedEntry: 'ลบเนื้อหาที่เผยแพร่แล้ว',
deleteEntry: 'ลบเนื้อหา',
saving: 'กำลังบันทึก...',
save: 'บันทึก',
statusInfoTooltipDraft:
'เนื้อหาอยู่ในสถานะร่าง หากเนื้อหาเสร็จสมบูรณ์แล้วและต้องการส่งเพื่อตรวจสอบ ให้ปรับเปลี่ยนสถานะเป็น ‘อยู่ระหว่างการตรวจสอบ’',
statusInfoTooltipInReview:
'เนื้อหาอยู่ระหว่างการตรวจสอบ ไม่จำเป็นต้องทำอะไรเพิ่มเติม อย่างไรก็ตาม คุณสามารถแก้ไขเนื้อหาเพิ่มเติมได้ระหว่างการตรวจสอบ',
deleting: 'กำลังลบ...',
updating: 'กำลังอัปเดต...',
status: 'สถานะ: %{status}',
Expand All @@ -138,18 +156,40 @@ const th = {
},
editorWidgets: {
markdown: {
richText: 'Rich Text',
markdown: 'Markdown',
bold: 'ตัวหนา',
italic: 'ตัวเอียง',
code: 'โคด',
link: 'ลิงก์',
linkPrompt: 'ระบุ URL ของลิงก์',
headings: 'หัวข้อ',
quote: 'ยกคำพูดมา',
bulletedList: 'รายการแบบไม่มีหมายเลข',
numberedList: 'รายการแบบมีหมายเลข',
addComponent: 'เพิ่มองค์ประกอบ',
richText: 'ข้อความฟอร์แมต',
markdown: 'มาร์คดาวน์',
},
image: {
choose: 'เลือกรูปภาพ',
chooseMultiple: 'เลือกรูปภาพหลายรูป',
chooseUrl: 'แทรกจาก URL',
replaceUrl: 'แทนที่ด้วย URL',
promptUrl: 'ระบุ URL ของรูปภาพ',
chooseDifferent: 'เลือกรูปภาพอื่น',
addMore: 'เพิ่มรูปภาพ',
remove: 'เอารูปภาพออก',
removeAll: 'เอารูปภาพออกทั้งหมด',
},
file: {
choose: 'เลือกไฟล์',
chooseUrl: 'แทรกจาก URL',
chooseMultiple: 'เลือกหลายไฟล์',
replaceUrl: 'แทนที่ด้วย URL',
promptUrl: 'ระบุ URL ของไฟล์',
chooseDifferent: 'เลือกไฟล์อื่น',
addMore: 'เพิ่มไฟล์',
remove: 'เอาไฟล์ออก',
removeAll: 'เอาไฟล์ออกทั้งหมด',
},
unknownControl: {
noControl: "ไม่มีการควบคุม widget '%{widget}'.",
Expand All @@ -158,25 +198,34 @@ const th = {
noPreview: "ไม่มีตัวอย่างสำหรับ widget '%{widget}'.",
},
headingOptions: {
headingOne: 'Heading 1',
headingTwo: 'Heading 2',
headingThree: 'Heading 3',
headingFour: 'Heading 4',
headingFive: 'Heading 5',
headingSix: 'Heading 6',
headingOne: 'หัวข้อ 1',
headingTwo: 'หัวข้อ 2',
headingThree: 'หัวข้อ 3',
headingFour: 'หัวข้อ 4',
headingFive: 'หัวข้อ 5',
headingSix: 'หัวข้อ 6',
},
datetime: {
now: 'เวลาตอนนี้',
clear: 'ล้าง',
},
list: {
add: 'เพิ่ม %{item}',
addType: 'เพิ่ม %{item}',
},
},
},
mediaLibrary: {
mediaLibraryCard: {
draft: 'ร่าง',
copy: 'คัดลอก',
copyUrl: 'คัดลอก URL',
copyPath: 'คัดลอกพาท',
copyName: 'คัดลอกชื่อ',
copied: 'คัดลอกแล้ว',
},
mediaLibrary: {
onDelete: 'คุณแน่ใจหรือว่าจะลบมีเดียที่ถูกเลือก?',
onDelete: 'คุณแน่ใจหรือว่าจะลบไฟล์สื่อที่ถูกเลือก?',
fileTooLarge: 'ไฟล์ใหญ่เกินไป\n ค่าที่ตั้งไว้ไม่ยอมรับไฟล์ที่ใหญ่กว่า %{size} kB.',
},
mediaLibraryModal: {
Expand All @@ -186,7 +235,7 @@ const th = {
noImagesFound: 'ไม่พบรูปภาพ',
private: 'ส่วนตัว ',
images: 'รูปภาพ',
mediaAssets: 'ข้อมูลมีเดีย',
mediaAssets: 'ข้อมูลไฟล์สื่อ',
search: 'ค้นหา...',
uploading: 'กำลังอัปโหลด...',
upload: 'อัปโหลด',
Expand Down Expand Up @@ -222,12 +271,12 @@ const th = {
onFailToPersist: 'ล้มเหลวในการยืนยันเนื้อหา: %{details}',
onFailToDelete: 'ล้มเหลวในการลบเนื้อหา: %{details}',
onFailToUpdateStatus: 'ล้มเหลวในการอัปเดตสถานะ: %{details}',
missingRequiredField: 'คุณไม่ได้ใส่ข้อมูลในช่องที่ต้องการ กรุณาใส่ข้อมูลก่อนบันทึก',
missingRequiredField: 'คุณไม่ได้ใส่ข้อมูลในช่องที่จำเป็น กรุณาใส่ข้อมูลก่อนบันทึก',
entrySaved: 'เนื้อหาถูกบันทึก',
entryPublished: 'เนื้อหาถูกเผยแพร่',
entryUnpublished: 'เนื้อหาไม่ได้ถูกเผยแพร่',
entryUnpublished: 'เนื้อหาถูกยกเลิกการเผยแพร่',
onFailToPublishEntry: 'ล้มเหลวในการเผยแพร่เนื้อหา: %{details}',
onFailToUnpublishEntry: 'ล้มเหลวในการไม่เผยแพร่เนื้อหา: %{details}',
onFailToUnpublishEntry: 'ล้มเหลวในการยกเลิกการเผยแพร่เนื้อหา: %{details}',
entryUpdated: 'สถานะเนื้อหาถูกอัปเดต',
onDeleteUnpublishedChanges: 'การเปลี่ยนแปลงเนื้อหาไม่ถูกเผยแพร่ได้ถูกลบ',
onFailToAuth: '%{details}',
Expand All @@ -237,10 +286,10 @@ const th = {
},
workflow: {
workflow: {
loading: 'กำลังโหลดเนื้อหาขั้นตอนการทำงานของบรรณาธิการ',
workflowHeading: 'ขั้นตอนการทำงานของบรรณาธิการ',
loading: 'กำลังโหลดเนื้อหากระแสงานของบรรณาธิการ',
workflowHeading: 'กระแสงานของบรรณาธิการ',
newPost: 'สร้างโพสต์ใหม่',
description: '%{smart_count} เนื้อหารอการตรวจสอบ, %{readyCount} พร้อมที่จะเผยแพร่ ่',
description: 'เนื้อหา %{smart_count} รายการอยู่ระหว่างการตรวจสอบ, %{readyCount} รายการพร้อมที่จะเผยแพร่',
dateFormat: 'MMMM D',
},
workflowCard: {
Expand All @@ -255,12 +304,12 @@ const th = {
workflowList: {
onDeleteEntry: 'คุณแน่ใจหรือว่าจะต้องการลบเนื้อหานี้?',
onPublishingNotReadyEntry:
'เฉพาะรายการที่มีสถานะ "พร้อม" สามารถทำการเผยแพร่ โปรดลากเนื้อหาไปยังช่อง "พร้อม" เพื่อจะทำการเผยแพร่.',
'สามารถเผยแพร่เฉพาะรายการที่มีสถานะ "พร้อม" โปรดลากเนื้อหาไปยังช่อง "พร้อม" เพื่อให้เผยแพร่ได้',
onPublishEntry: 'คุณแน่ใจหรือว่าจะต้องการเผยแพร่เนื้อหานี้?',
draftHeader: 'ร่าง',
inReviewHeader: 'อยู่ในการตรวจสอบ',
inReviewHeader: 'อยู่ระหว่างการตรวจสอบ',
readyHeader: 'พร้อม',
currentEntries: '%{smart_count} เนื้อหา',
currentEntries: 'เนื้อหา %{smart_count} รายการ',
},
},
};
Expand Down
Loading