<commit_before>import React from 'react';
import Screen from '../../core/screen';
import PhoneNumberPane from './phone_number_pane';
import { renderAskLocation } from './ask_location';
import { cancelSelectPhoneLocation } from './actions';
import { selectingLocation } from './index';

const Component = ({focusSubmit, model, t}) => (
  <PhoneNumberPane
    focusSubmit={focusSubmit}
    lock={model}
    placeholder={t("phoneNumberInputPlaceholder", {__textOnly: true})}
  />
);

export default class AskPhoneNumber extends Screen {

  constructor() {
    super("phone");
  }

  escHandler(lock) {
    return selectingLocation(lock) ? cancelSelectPhoneLocation : null;
  }

  renderAuxiliaryPane(lock) {
    return renderAskLocation(lock);<commit_msg>Use i18n prop instead of t in AskPhoneNumber<commit_after>import React from 'react';
import Screen from '../../core/screen';
import PhoneNumberPane from './phone_number_pane';
import { renderAskLocation } from './ask_location';
import { cancelSelectPhoneLocation } from './actions';
import { selectingLocation } from './index';

const Component = ({focusSubmit, i18n, model}) => (
  <PhoneNumberPane
    focusSubmit={focusSubmit}
    lock={model}
    placeholder={i18n.str("phoneNumberInputPlaceholder")}
  />
);

export default class AskPhoneNumber extends Screen {

  constructor() {
    super("phone");
  }

  escHandler(lock) {
    return selectingLocation(lock) ? cancelSelectPhoneLocation : null;
  }

  renderAuxiliaryPane(lock) {
    return renderAskLocation(lock);
{'fraction_non_alphanumeric': 0.12786885245901639, 'fraction_numerical': 0.003934426229508197, 'mean_word_length': 4.802281368821292, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5206550', 'n_tokens_mistral': 431, 'n_tokens_neox': 419, 'n_words': 106}