Module: RgssDb::Strings::StrPrompts

Defined in:
lib/rgss_db/model/strings.rb

Overview

Strings used in user prompts

Constant Summary collapse

SUCCESS_TEXT =

Text shown when a prompt operation finishes successfully

Returns:

  • (String)
"Operation finished!"
CANCEL_TEXT =

Text shown when a prompt is stopped or cancelled

Returns:

  • (String)
"Cancelling operation..."
SPINNER_TASK_COMPLETED_TEXT =

Text shown on the spinner prompt when the task is completed

Returns:

  • (String)
"Done!"
PAUSE_ANY_KEYS =

Text shown on the pause prompt when requesting the user to press any key

Returns:

  • (String)
"Press any key to continue..."
PAUSE_ANY_KEYS_TIMEOUT =

Text shown on the pause prompt when requesting the user to press any key with a timeout

Returns:

  • (String)
"Press any key to continue... (resumes automatically in :countdown seconds)"
PAUSE_KEYS =

Text shown on the pause prompt when requesting the user to press specific keys

String contains a “%s” flag to insert the list of keys

Returns:

  • (String)
"Press %s to continue..."
PAUSE_KEYS_TIMEOUT =

Text shown on the pause prompt when requesting the user to press specific keys with a timeout

String contains a “%s” flag to insert the list of keys

Returns:

  • (String)
"Press %s to continue... (resumes automatically in :countdown seconds)"
CONFIRM_INPUT_TEXT =

Text shown on the confirmation prompt

Returns:

  • (String)
"Are you sure you want to continue?"
SELECT_INPUT_TEXT =

Text shown on the select and multi select prompts

Returns:

  • (String)
"What would you like to do?"
ASK_TIP_TEXT =

Text that could be used as a tip message for ask prompts

Returns:

  • (String)
"Press ENTER to submit the current input\n\nThe option may have a default value between parentheses that will be used\nif the input is left empty.\n"
ASK_VALIDATION_FAIL_TEXT =

Text that could be used as a fail message when an ask prompt fails validation

Returns:

  • (String)
"The input is invalid!"
SELECT_TIP_TEXT =

Text that could be used as a tip message for select prompts

Returns:

  • (String)
"Press \u2191/\u2193 arrows to move the cursor\nUse SPACE or ENTER to select the current item\n"
MULTI_SELECT_TIP_TEXT =

Text that could be used as a tip message for multi select prompts

Returns:

  • (String)
"Press \u2191/\u2193 arrows to move the cursor\nUse SPACE to select the current item\nPress CTRL + A and to select all items available\nYou can also use CTRL + R to revert the current selection\nPress ENTER to finish selection\n"