Skip to content

Commit

Permalink
fix(CriteriaForm): rename Task to Jira task
Browse files Browse the repository at this point in the history
  • Loading branch information
LamaEats committed Sep 18, 2024
1 parent 576d579 commit 769579e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/components/CriteriaForm/CriteriaForm.i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"Passed weight is not in range": "Weight must be between 1 and {upTo}",
"Simple": "Todo",
"Goal": "",
"Task": "External Task",
"Jira task": "Jira task",
"Weight": "Weight (%)",
"ex: NN%": "ex: {val}",
"Add weight": "",
Expand All @@ -18,6 +18,6 @@
"Suggestions": "",
"This binding is already exist": "",
"Criteria title": "",
"Place link here": "Insert task link or type title",
"Place link here": "Insert task link or type title or jira task key",
"Reset": "Reset"
}
4 changes: 2 additions & 2 deletions src/components/CriteriaForm/CriteriaForm.i18n/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"Passed weight is not in range": "Вес критерия должен быть от 1 до {upTo}",
"Simple": "Критерий",
"Goal": "Цель",
"Task": "Внешняя задача",
"Jira task": "Задача из Jira",
"Weight": "Вес (%)",
"Add weight": "Добавить вес",
"ex: NN%": "ex: {val}",
Expand All @@ -18,6 +18,6 @@
"Suggestions": "Предложения",
"This binding is already exist": "Такая связка уже существует",
"Criteria title": "Заголовок критерия",
"Place link here": "Ссылка на задачу или ее название",
"Place link here": "Ссылка на задачу или ее название или ключ",
"Reset": "Сброс"
}
2 changes: 1 addition & 1 deletion src/components/CriteriaForm/CriteriaForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ export const CriteriaForm = ({
];

if (externalAllowed) {
base.push({ title: tr('Task'), value: 'task', iconRight: <BetaLiteral size="s" /> });
base.push({ title: tr('Jira task'), value: 'task', iconRight: <BetaLiteral size="s" /> });
}

return base;
Expand Down

0 comments on commit 769579e

Please sign in to comment.