Skip to content

Commit

Permalink
Translate title, descripsion, keywords for blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
merkushin committed Jun 29, 2023
1 parent 3ffd3c0 commit 6dd8d69
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 62 deletions.
12 changes: 1 addition & 11 deletions assets/blocks/course-actions-block/course-actions/block.json
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" ]
}
}
76 changes: 38 additions & 38 deletions assets/blocks/course-list-filter-block/block.json
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
}
}
2 changes: 0 additions & 2 deletions assets/blocks/quiz/question-answers-block/block.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"name": "sensei-lms/question-answers",
"title": "Answers",
"description": "Question Answers.",
"parent": [ "sensei-lms/quiz-question" ],
"category": "sensei-lms",
"textdomain": "sensei-lms",
Expand Down
2 changes: 0 additions & 2 deletions assets/blocks/quiz/question-description-block/block.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"name": "sensei-lms/question-description",
"title": "Description",
"description": "Question Description.",
"parent": [ "sensei-lms/quiz-question" ],
"category": "sensei-lms",
"textdomain": "sensei-lms",
Expand Down
9 changes: 0 additions & 9 deletions assets/blocks/quiz/quiz-block/block.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
{
"name": "sensei-lms/quiz",
"title": "Quiz",
"description": "Evaluate progress and strengthen understanding of course concepts.",
"category": "sensei-lms",
"textdomain": "sensei-lms",
"keywords": [
"exam",
"questions",
"test",
"assessment",
"evaluation"
],
"supports": {
"html": false,
"multiple": false
Expand Down

0 comments on commit 6dd8d69

Please sign in to comment.