Skip to content

Commit 9997866

Browse files
Merge pull request #87 from DHTMLX/sp-master-SVAR-2859
[update] Add minor fix in code snippet
2 parents e5f8501 + 8bc1dce commit 9997866

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

docs/api/internal/js_kanban_intercept_method.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const board = new kanban.Kanban("#root", {
4242
columns,
4343
cards
4444
});
45-
// forbid moving cards to the column with the "done" ID
45+
// allow moving cards only into the column with the "done" ID
4646
board.api.intercept("move-card", ({ id, columnId }) => {
4747
if(columnId !== "done" ){
4848
return false;

i18n/de/docusaurus-plugin-content-docs/current/api/internal/js_kanban_intercept_method.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const board = new kanban.Kanban("#root", {
4242
columns,
4343
cards
4444
});
45-
// Verhindert das Verschieben von Karten in die Spalte mit der ID "done"
45+
// Erlaubt das Verschieben von Karten nur in die Spalte mit der ID "done"
4646
board.api.intercept("move-card", ({ id, columnId }) => {
4747
if(columnId !== "done" ){
4848
return false;

i18n/en/docusaurus-plugin-content-docs/current/api/internal/js_kanban_intercept_method.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const board = new kanban.Kanban("#root", {
4242
columns,
4343
cards
4444
});
45-
// block moving cards into the column with the "done" ID
45+
// allow moving cards only into the column with the "done" ID
4646
board.api.intercept("move-card", ({ id, columnId }) => {
4747
if(columnId !== "done" ){
4848
return false;

i18n/ko/docusaurus-plugin-content-docs/current/api/internal/js_kanban_intercept_method.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const board = new kanban.Kanban("#root", {
4242
columns,
4343
cards
4444
});
45-
// "done" ID 컬럼으로 카드 이동 금지
45+
// "done" ID 컬럼으로만 카드 이동 허용
4646
board.api.intercept("move-card", ({ id, columnId }) => {
4747
if(columnId !== "done" ){
4848
return false;

i18n/ru/docusaurus-plugin-content-docs/current/api/internal/js_kanban_intercept_method.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const board = new kanban.Kanban("#root", {
4242
columns,
4343
cards
4444
});
45-
// запрещаем перемещать карточки в колонку с ID "done"
45+
// разрешаем перемещать карточки только в колонку с ID "done"
4646
board.api.intercept("move-card", ({ id, columnId }) => {
4747
if(columnId !== "done" ){
4848
return false;

i18n/zh/docusaurus-plugin-content-docs/current/api/internal/js_kanban_intercept_method.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const board = new kanban.Kanban("#root", {
4242
columns,
4343
cards
4444
});
45-
// 禁止将卡片移动到 ID 为 "done" 的列
45+
// 只允许将卡片移动到 ID 为 "done" 的列
4646
board.api.intercept("move-card", ({ id, columnId }) => {
4747
if(columnId !== "done" ){
4848
return false;

0 commit comments

Comments
 (0)