Skip to content

Commit 751f765

Browse files
committed
update translations_add to language_edit
1 parent 71a6e55 commit 751f765

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/formpack/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
'group_add',
144144
'question_add',
145145
'question_order_edit',
146-
'translations_add',
146+
'language_edit',
147147
'form_appearance',
148148
'form_meta_edit',
149149
]

tests/test_kobo_locking.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def setUp(self):
4141
['group_add', 'locked', '', ''],
4242
['question_add', 'locked', '', ''],
4343
['question_order_edit', 'locked', '', ''],
44-
['translations_add', 'locked', '', ''],
44+
['language_edit', 'locked', '', ''],
4545
['form_appearance', 'locked', '', ''],
4646
['form_meta_edit', '', '', ''],
4747
]
@@ -80,7 +80,7 @@ def test_get_kobo_locking_profiles(self):
8080
'group_add',
8181
'question_add',
8282
'question_order_edit',
83-
'translations_add',
83+
'language_edit',
8484
'form_appearance',
8585
],
8686
},
@@ -200,7 +200,7 @@ def test_revert_kobo_lock_structre(self):
200200
{'restriction': 'group_add', 'core': 'locked'},
201201
{'restriction': 'question_add', 'core': 'locked'},
202202
{'restriction': 'question_order_edit', 'core': 'locked'},
203-
{'restriction': 'translations_add', 'core': 'locked'},
203+
{'restriction': 'language_edit', 'core': 'locked'},
204204
{'restriction': 'form_appearance', 'core': 'locked'},
205205
{'restriction': 'form_meta_edit'},
206206
]

0 commit comments

Comments
 (0)