នៅក្នុងរឿងនេះ
ការសរសេរ និងការចុះផ្សាយ
| Code | You see | Why and what to do |
|---|---|---|
| PUBLISH_BLOCKED | "Fix these before publishing." | បញ្ជីត្រួតពិនិត្យការចុះផ្សាយបានរកឃើញបញ្ហា។ បើកបញ្ជី ហើយដោះស្រាយបញ្ហានីមួយៗ។ សូមមើល Publishing checklist។ |
| VERSION_CONFLICT | "{name} saved changes {time}. Reload to see them, then try again." | មានអ្នកផ្សេងបានរក្សាទុកមុន។ ដំណើរការទំព័រឡើងវិញ ពិនិត្យការផ្លាស់ប្តូររបស់ពួកគេ រួចសឹមរក្សាទុករបស់អ្នក។ |
| ARTICLE_LOCKED | "Someone else is editing this story right now. Wait, or ask an editor to take over." | មានអ្នកផ្សេងកំពុងបើកកែវា។ សូមរង់ចាំ ឬស្នើឱ្យអ្នកសម្រួលជួយចាត់ចែងបន្ត។ |
| INVALID_TRANSITION | "A published article can only be unpublished." and similar | ស្ថានភាពនៃអត្ថបទមិនអនុញ្ញាតឱ្យធ្វើសកម្មភាពនោះទេ។ សូមមើល My story isn't showing។ |
| SLUG_TAKEN | "This web address is already used. Choose another slug." | ផ្លាស់ប្តូរផ្នែកខាងចុងនៃអាសយដ្ឋានគេហទំព័ររបស់អត្ថបទ។ |
| ARTICLE_READ_ONLY | "This story can’t be changed: it is retracted or in the trash." | ស្រង់វាចេញពីធុងសំរាមមកវិញ ឬសួរអ្នកសម្រួល។ |
| LEGAL_HOLD | "This story is on legal hold. It can’t be deleted until the hold is lifted." | ត្រូវដកការផ្អាកជាផ្លូវការចេញសិន។ |
| ARTICLE_NOT_DRAFT | "Only drafts can be deleted. Unpublish this article instead." | ដកការចុះផ្សាយរបស់វាចេញជាមុនសិន។ |
| ARTICLE_NEVER_PUBLISHED | "Corrections are for published stories. Edit this draft directly." | កែសម្រួលលើសេចក្តីព្រាងនោះដោយផ្ទាល់។ |
| ARTICLE_NOT_LIVE | "Only live stories get scheduled edits. Edit this one directly." | កែសម្រួលវាដោយផ្ទាល់។ |
| SCHEDULED_EDIT_DONE | "This edit has already run or was cancelled." | មិនមានអ្វីត្រូវធ្វើទេ។ |
| EMBARGO_LIVE_STORY | "This story is already live. Unpublish it first to put it under embargo." | ដកការផ្សាយសិន រួចកំណត់ការផ្អាកផ្សាយជាបណ្ដោះអាសន្ន។ |
| EMBARGO_PREVIEW_FORBIDDEN | "This story is under embargo. Your role can’t preview it." | ស្នើសុំជំនួយពីអ្នកសម្រួល។ |
| STAGE_NOT_ALLOWED | "Your role can’t move stories to this stage." | ស្នើសុំអ្នកដែលមានតួនាទីសមស្របឱ្យជួយធ្វើ។ |
| SECTION_NOT_ALLOWED | "This story is in a section you don’t work on." | ស្នើសុំអ្នកសម្រួល ឬម្ចាស់គណនីឱ្យជួយ។ |
| PERMISSION_DENIED | "You do not have permission to do this." | ស្នើឱ្យម្ចាស់គេហទំព័រកែប្រែតួនាទីរបស់អ្នក។ |
| TRANSLATION_EXISTS | "This story already has a {language} version." | បើកកំណែបកប្រែដែលមានស្រាប់។ |
| GONE | "This story is no longer available." | អត្ថបទនេះត្រូវបានដកចេញពីការផ្សាយហើយ។ |
| PREVIEW_TOKEN_INVALID | "This preview link is not valid or has expired. Open a new one from the admin." | បើកតំណមើលសាកល្បងថ្មីមួយទៀត។ |
| NOT_FOUND | "We couldn’t find that." | មាតិកានោះត្រូវបានលុបចោលហើយ។ |
| VALIDATION_FAILED | "Some fields need attention." | សារជូនដំណឹងនឹងប្រាប់ឈ្មោះប្រអប់ទិន្នន័យដំបូងៗដែលត្រូវកែ។ សូមកែប្រអប់ទាំងនោះ។ |
ផ្នែក ប្រធានបទ អ្នកនិពន្ធ និងទំព័រ
| Code | You see | Why and what to do |
|---|---|---|
| CATEGORY_IN_USE | "Move its 3 articles to another category first." | ផ្លាស់ប្តូរអត្ថបទ ឬផ្នែករងចេញ ឬលុបវាចេញពីម៉ឺនុយ និងទំព័រដើម។ |
| AUTHOR_IN_USE | "This author is in the byline of 2 articles. Remove them from those bylines first." | កែប្រែឈ្មោះអ្នកនិពន្ធលើអត្ថបទទាំងនោះសិន។ |
| TAG_MERGE_INVALID | "These tags can’t be merged. Pick another tag of the same site language." | បញ្ចូលស្លាកដែលប្រើភាសាដូចគ្នាតែប៉ុណ្ណោះ។ |
| TAG_CONTROLLED | "This topic is in your newsroom’s fixed list. Use “{name}” instead." | ប្រើប្រាស់ឈ្មោះដែលបានបង្ហាញ។ |
| TAG_ALIAS_CONFLICT | "“{name}” is already a name or alias of another topic in this language. Merge the topics or pick another alias." | ជ្រើសរើសឈ្មោះហៅក្រៅផ្សេងទៀត។ |
| PAGE_REQUIRED | "Trust pages can be unpublished but not deleted." | ជ្រើសរើសដកការផ្សាយជំនួសវិញ។ |
| PAGE_IN_USE | "1 menu item links to this page. Remove them from the menu first." | លុបធាតុម៉ឺនុយនោះចេញជាមុនសិន។ |
| SERIES_ENDED | "This column or series has ended. Reopen it first." | បើកកម្រងអត្ថបទនោះឡើងវិញសិន។ |
| SERIES_IN_USE | "Stories belong to this column or series. End it instead, or move the stories first." | បញ្ចប់វា ឬផ្លាស់ប្តូរអត្ថបទទាំងនោះចេញសិន។ |
| SHARED_BLOCK_IN_USE | "Stories use this block. Archive it instead, or remove it from those stories first." | ដាក់វាទៅក្នុងប័ណ្ណសារជំនួសវិញ។ |
| PALETTE_CONTRAST_FAILED | "2 colour pairs are hard to read. Pick a darker or lighter colour." | ជ្រើសរើសពណ៌ផ្សេងទៀត។ |
| EMBED_PROVIDER_NOT_ALLOWED | "Only YouTube, X, Instagram and Facebook links can be embedded." | ប្រើប្រាស់តែតំណភ្ជាប់ណាមួយក្នុងចំណោមនោះ។ |
រូបថត និងឯកសារ
| Code | You see | Why and what to do |
|---|---|---|
| MEDIA_TOO_LARGE | "The file is too large. Images can be up to {n} MB." | បន្ថយទំហំឯកសាររូបថតឱ្យតូចជាងមុន។ |
| MEDIA_TYPE_NOT_ALLOWED | "This file type can’t be uploaded. Use a JPEG, PNG, WebP, AVIF, GIF, HEIC, TIFF or BMP image." | រក្សាទុកវាជាប្រភេទឯកសារណាមួយក្នុងចំណោមនេះ។ |
| MEDIA_TYPE_MISMATCH | "The uploaded file is not a {type} image." | រក្សាទុកវាឡើងវិញជាប្រភេទឯកសារត្រឹមត្រូវ។ |
| MEDIA_QUOTA_EXCEEDED | "Your photo storage is full ({used} of {limit} MB). Delete unused images or ask for more space." | លុបរូបភាពដែលមិនប្រើប្រាស់ចោល។ |
| MEDIA_NOT_READY | "The image is still processing. Try again in a moment." | សូមរង់ចាំបន្តិចសិន។ |
| MEDIA_TOO_LARGE_PIXELS | "This image is too big to process. Use an image of at most {n} megapixels and {n} pixels per side." | ប្តូរទំហំរូបភាព (resize)។ |
| MEDIA_FORMAT_UNSUPPORTED | "This server can’t read {type} images. Save the photo as JPEG and upload it again." | រក្សាទុកវាជា JPEG។ |
| MEDIA_NO_VARIANTS | "SVG images have no crops or variants." | ប្រើរូបថតធម្មតាប្រសិនបើអ្នកត្រូវការកាត់តម្រឹម។ |
| MEDIA_NOT_REPLACEABLE | "Only photos can be replaced. Upload other files as new items." | ផ្ទុកវាឡើងជាឯកសារថ្មី។ |
| MEDIA_SLUG_TAKEN | "Another image already uses this file name. Try “{suggestion}”." | ប្រើឈ្មោះដែលបានណែនាំ។ |
| MEDIA_URL_REFUSED | "This address can’t be used. Use a public https:// address of an image." | ប្រើអាសយដ្ឋាន https សាធារណៈ។ |
| MEDIA_FETCH_FAILED | "The image could not be downloaded." | ពិនិត្យមើលអាសយដ្ឋាន រួចព្យាយាមម្ដងទៀត។ |
| MEDIA_IN_USE | "This file is used in 2 places." | ដកវាចេញពីកន្លែងទាំងនោះសិន។ |
| MEDIA_RESTRICTED | "Only media managers and the person who uploaded this file can change it." | ស្នើសុំអ្នកគ្រប់គ្រងមេឌៀឱ្យជួយ។ |
| MEDIA_NO_ORIGINAL | "This image has no kept original to edit. Replace it with the original file first." | ផ្ទុកឡើងឯកសារដើម។ |
| MEDIA_VERSION_GONE | "The files of this version are no longer available." | ជ្រើសរើសកំណែផ្សេងទៀត។ |
| MEDIA_WATERMARK_NO_LOGO | "Add a site logo in Branding and publish it, or choose an image for the watermark first." | បន្ថែមរូបសញ្ញាក្នុងផ្នែក Branding។ |
| UPLOAD_BLOCKED | "This file was not saved: it is not the type it claims to be, hides other content, or contains malware." | កុំប្រើប្រាស់ឯកសារនេះឱ្យសោះ។ |
| UPLOAD_SCAN_UNAVAILABLE | "The malware scanner is not answering. Try the upload again in a minute." | ព្យាយាមម្ដងទៀតនៅបន្តិចក្រោយ។ |
| UPLOAD_NOT_FOUND | "The upload was not found or has expired. Upload the file again." | ផ្ទុកឯកសារឡើងវិញម្ដងទៀត។ |
ថតឯកសារមេឌៀ
| Code | You see | Why and what to do |
|---|---|---|
| MEDIA_FOLDER_NOT_FOUND | "This folder no longer exists. Refresh the folder list." | ដំណើរការទំព័រឡើងវិញ។ |
| MEDIA_FOLDER_NAME_TAKEN | "A folder called “{name}” is already here. Choose another name." | ជ្រើសរើសឈ្មោះផ្សេង។ |
| MEDIA_FOLDER_TOO_DEEP | "Folders can be at most {n} levels deep. Pick a folder higher up." | ជ្រើសរើសថតដែលនៅជាន់ខាងលើជាងនេះ។ |
| MEDIA_FOLDER_LIMIT | "The library already has {n} folders. Delete or merge some first." | បញ្ចូលថតឯកសារចូលគ្នា។ |
| MEDIA_FOLDER_CYCLE | "A folder can’t be moved into itself or one of its sub-folders." | ជ្រើសរើសទីតាំងផ្សេងទៀត។ |
| MEDIA_FOLDER_NOT_EMPTY | "This folder isn’t empty (2 files, 1 sub-folder). Move its contents to the parent folder or empty it first." | ផ្លាស់ប្តូរមាតិកាខាងក្នុងចេញសិន។ |
សំណួរ
សំណួរដែលសួរញឹកញាប់
Why do some messages differ from what I see in the story editor?
កម្មវិធីកែសម្រួលអត្ថបទបង្ហាញសារខ្លីៗសម្រាប់កូដមួយចំនួន ដូចជា "Someone else changed it just now." សម្រាប់ VERSION_CONFLICT។ មូលហេតុគឺដូចគ្នាទាំងអស់។