@@ -403,7 +403,7 @@ mod tests {
403403 fn test_string_question ( ) {
404404 let q = QuestionSpec :: new ( "Please, enter a username" , "username" )
405405 . as_string ( )
406- . with_action_ids ( & [ gettext_noop ( "Next" ) , gettext_noop ( "Cancel" ) ] ) ;
406+ . with_action_ids ( & [ "Next" , "Cancel" ] ) ;
407407
408408 let q_str = serde_json:: to_string_pretty ( & q) . unwrap ( ) ;
409409 println ! ( "{}" , & q_str) ;
@@ -416,7 +416,7 @@ mod tests {
416416 fn test_password_question ( ) {
417417 let q = QuestionSpec :: new ( "Decrypt the device" , "luks" )
418418 . as_password ( )
419- . with_action_ids ( & [ gettext_noop ( "Decrypt" ) , gettext_noop ( "Skip" ) ] ) ;
419+ . with_action_ids ( & [ "Decrypt" , "Skip" ] ) ;
420420
421421 let q_str = serde_json:: to_string_pretty ( & q) . unwrap ( ) ;
422422 println ! ( "{}" , & q_str) ;
@@ -429,7 +429,7 @@ mod tests {
429429 fn test_select_question ( ) {
430430 let q = QuestionSpec :: new ( "There is a solver conflict..." , "conflict" )
431431 . as_select ( & [ ( "opt1" , "Option 1" ) , ( "opt2" , "Option 2" ) ] )
432- . with_action_ids ( & [ gettext_noop ( "Decrypt" ) , gettext_noop ( "Skip" ) ] ) ;
432+ . with_action_ids ( & [ "Decrypt" , "Skip" ] ) ;
433433
434434 let q_str = serde_json:: to_string_pretty ( & q) . unwrap ( ) ;
435435 println ! ( "{}" , & q_str) ;
@@ -451,7 +451,7 @@ mod tests {
451451 let q = QuestionSpec :: new ( "Please, enter a username" , "username" )
452452 . as_string ( )
453453 . with_data ( & [ ( "id" , "1" ) ] )
454- . with_action_ids ( & [ gettext_noop ( "Next" ) , gettext_noop ( "Cancel" ) ] ) ;
454+ . with_action_ids ( & [ "Next" , "Cancel" ] ) ;
455455
456456 let rule_by_text = AnswerRule {
457457 text : Some ( "Please, enter a username" . to_string ( ) ) ,
0 commit comments