diff --git a/app/lib/smooch_nlu_menus.rb b/app/lib/smooch_nlu_menus.rb index c27408e8dd..b1c14e26d0 100644 --- a/app/lib/smooch_nlu_menus.rb +++ b/app/lib/smooch_nlu_menus.rb @@ -96,7 +96,7 @@ def process_menu_options(uid, options, message, language, workflow, app_id) value: { keyword: option['smooch_menu_option_keyword'] }.to_json, label: option['smooch_menu_option_label'] } - end.concat([{ value: { keyword: 'cancel_nlu' }.to_json, label: Bot::Smooch.get_string('main_state_button_label', language, 20) }]) + end.concat([{ value: { keyword: 'cancel_nlu' }.to_json, label: Bot::Smooch.get_string('nlu_cancel', language, 20) }]) Bot::Smooch.send_message_to_user_with_buttons(uid, Bot::Smooch.get_string('nlu_disambiguation', language), buttons) end end diff --git a/config/tipline_strings.yml b/config/tipline_strings.yml index 3845091311..7d5f0a63a8 100644 --- a/config/tipline_strings.yml +++ b/config/tipline_strings.yml @@ -262,6 +262,7 @@ en: unsubscribe_button_label: Unsubscribe unsubscribed: You are currently not subscribed to our newsletter. nlu_disambiguation: "Choose one of the options below:" + nlu_cancel: "Back to menu" fil: add_more_details_state_button_label: Dagdagan pa ask_if_ready_state_button_label: Kanselahin