Closed Bug 897925 Opened 11 years ago Closed 11 years ago

Proper strings for the new error codes

Categories

(Firefox OS Graveyard :: Gaia::SMS, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 928330

People

(Reporter: fcampo, Unassigned)

Details

Followup on bug 891855, where we added the new error codes but not the specific error messages due to the string freeze.
So, as agreed on bug 891855, here are the new strings:

case 'NoSimCardError':
  messageTitle = 'Missing SIM card';
  messageBody = 'Insert a valid SIM card to continue.';
  messageBody = 'OK';
  break;
case 'RadioDisabledError':
  messageTitle = 'Airplane mode activated';
  messageBody = 'Turn off airplane mode to send messages.';
  messageBody = 'OK';
  break;
case 'InvalidAddressError':
  messageTitle = 'Invalid number';
  messageBody = 'Make sure the mobile number you're sending to is valid.';
  messageBody = 'OK';
  break;
case "NotFoundError":
  messageTitle = 'Message not found';
  messageBody = 'The message you're looking for is no longer available.';
  buttonLabel = 'OK';
  break;
case "NoSignalError":
  messageTitle = 'No network coverage';
  messageBody = 'Make sure you have a mobile signal and try again.';
  buttonLabel = 'OK';
  break;
case 'UnknownError':
case 'InternalError':
case "default":
  messageTitle = 'Message not sent';
  messageBody = 'There was a problem sending the message. Please try again.';
  buttonLabel = 'OK';

Still no specifics for UnknownError and InternalError, as right now they fall into the default section.

Not a blocker, as this will be needed for next string freeze
Was fixed in bug 928330
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.