-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Translate title, descripsion, keywords for blocks
- Loading branch information
Showing
5 changed files
with
39 additions
and
62 deletions.
There are no files selected for viewing
12 changes: 1 addition & 11 deletions
12
assets/blocks/course-actions-block/course-actions/block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,9 @@ | ||
{ | ||
"name": "sensei-lms/course-actions", | ||
"title": "Course Actions", | ||
"description": "Enable a student to perform specific actions for a course.", | ||
"category": "sensei-lms", | ||
"textdomain": "sensei-lms", | ||
"keywords": [ | ||
"course", | ||
"actions", | ||
"buttons", | ||
"start course", | ||
"continue", | ||
"visit results" | ||
], | ||
"supports": { | ||
"html": false | ||
}, | ||
"usesContext": [ "postType" ] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,39 @@ | ||
{ | ||
"$schema": "https://schemas.wp.org/trunk/block.json", | ||
"apiVersion": 2, | ||
"name": "sensei-lms/course-list-filter", | ||
"title": "Course List Filter", | ||
"description": "Filter courses in Course List block", | ||
"category": "sensei-lms", | ||
"textdomain": "sensei-lms", | ||
"keywords": [ | ||
"course", | ||
"categories", | ||
"lessons", | ||
"featured", | ||
"filter" | ||
], | ||
"attributes": { | ||
"align": { | ||
"type": "string", | ||
"default": "left" | ||
}, | ||
"types": { | ||
"type": "array", | ||
"default": [ "categories", "featured", "student_course" ] | ||
}, | ||
"defaultOptions": { | ||
"type": "object", | ||
"default": { | ||
"categories": -1, | ||
"featured": "all", | ||
"student_course": "all" | ||
} | ||
} | ||
}, | ||
"usesContext": [ "queryId", "query" ], | ||
"supports": { | ||
"align": [ "left", "right" ], | ||
"html": false | ||
} | ||
} | ||
"$schema": "https://schemas.wp.org/trunk/block.json", | ||
"apiVersion": 2, | ||
"name": "sensei-lms/course-list-filter", | ||
"title": "Course List Filter", | ||
"description": "Filter courses in Course List block", | ||
"category": "sensei-lms", | ||
"textdomain": "sensei-lms", | ||
"keywords": [ | ||
"course", | ||
"categories", | ||
"lessons", | ||
"featured", | ||
"filter" | ||
], | ||
"attributes": { | ||
"align": { | ||
"type": "string", | ||
"default": "left" | ||
}, | ||
"types": { | ||
"type": "array", | ||
"default": [ "categories", "featured", "student_course" ] | ||
}, | ||
"defaultOptions": { | ||
"type": "object", | ||
"default": { | ||
"categories": -1, | ||
"featured": "all", | ||
"student_course": "all" | ||
} | ||
} | ||
}, | ||
"usesContext": [ "queryId", "query" ], | ||
"supports": { | ||
"align": [ "left", "right" ], | ||
"html": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters