Skip to content

Commit

Permalink
Updating copy for NLU disambiguation.
Browse files Browse the repository at this point in the history
Reference: CV2-3709.
  • Loading branch information
caiosba committed Oct 31, 2023
1 parent 9a18877 commit 7f6a46f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/smooch_nlu_menus.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions config/tipline_strings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7f6a46f

Please sign in to comment.