Skip to content

Commit 8bf0fa5

Browse files
committed
fix: add translation for duplicate touchpoint form factors and update related logic
1 parent 7c19608 commit 8bf0fa5

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

src/features/api/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2686,8 +2686,7 @@ export type OutputModuleTouchpointsAppTablet = {
26862686
kind: 'app';
26872687
os: {
26882688
ios?: string;
2689-
linux?: string;
2690-
windows?: string;
2689+
android?: string;
26912690
};
26922691
};
26932692
export type OutputModuleTouchpointsAppSmartphone = {
@@ -2832,7 +2831,8 @@ export type PurchasablePlanRules =
28322831
| 'module_type'
28332832
| 'number_of_testers'
28342833
| 'number_of_tasks'
2835-
| 'task_type';
2834+
| 'task_type'
2835+
| 'duplicate_touchpoint_form_factors';
28362836
export type Project = {
28372837
campaigns_count: number;
28382838
description?: string;

src/locales/en/translation.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1164,6 +1164,7 @@
11641164
"__PLAN_PAGE_TAB_TARGET_TAB_TITLE": "Screen participants",
11651165
"__PLAN_PAGE_TITLE": "Plan your activity",
11661166
"__PLAN_REQUEST_QUOTATION_CTA": "Submit Request",
1167+
"__PLAN_RULE_DUPLICATE_TOUCHPOINT_FORM_FACTORS": "Multiple touchpoints of the same type",
11671168
"__PLAN_RULE_MODULE_TYPE": "Custom features added",
11681169
"__PLAN_RULE_NUMBER_OF_MODULES": "Extra modules added",
11691170
"__PLAN_RULE_NUMBER_OF_TASKS": "Extra tasks added",

src/locales/it/translation.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1198,6 +1198,7 @@
11981198
"__PLAN_PAGE_TAB_TARGET_TAB_TITLE": "",
11991199
"__PLAN_PAGE_TITLE": "Pianifica la tua attività",
12001200
"__PLAN_REQUEST_QUOTATION_CTA": "",
1201+
"__PLAN_RULE_DUPLICATE_TOUCHPOINT_FORM_FACTORS": "",
12011202
"__PLAN_RULE_MODULE_TYPE": "",
12021203
"__PLAN_RULE_NUMBER_OF_MODULES": "",
12031204
"__PLAN_RULE_NUMBER_OF_TASKS": "",

src/pages/Plan/modals/PurchasablePlanRules.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ export const PurchasablePlanRulesGuide = ({
3737
return t('__PLAN_RULE_NUMBER_OF_TESTERS');
3838
case 'number_of_tasks':
3939
return t('__PLAN_RULE_NUMBER_OF_TASKS');
40+
case 'duplicate_touchpoint_form_factors':
41+
return t('__PLAN_RULE_DUPLICATE_TOUCHPOINT_FORM_FACTORS');
4042
case 'task_type':
4143
return t('__PLAN_RULE_TASK_TYPE');
4244
default:

0 commit comments

Comments
 (0)