How to use the ringcentral-integration/modules/CallingSettings/callingOptions.browser function in ringcentral-integration

To help you get started, weā€™ve selected a few ringcentral-integration examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ringcentral / ringcentral-js-widgets / src / components / CallingSettingsPanel / i18n / fr-FR.js View on Github external
import callingOptions from 'ringcentral-integration/modules/CallingSettings/callingOptions';

export default {
  title: 'Appel',
  [callingOptions.softphone]: '{brand} pour ordinateur de bureau',
  [callingOptions.myphone]: 'Mon tƩlƩphone {brand}',
  [callingOptions.otherphone]: 'Autre tƩlƩphone',
  [callingOptions.customphone]: 'TƩlƩphone habituel',
  makeCallsWith: 'Passer mes appels sortants avec',
  ringoutHint: 'Appeler d\'abord Ć  mon emplacement, puis connecter le destinataire.',
  myLocationLabel: 'Mon emplacement',
  press1ToStartCallLabel: 'Me demander de composer le\xA01 avant d\'Ć©tablir la connexion',
  [callingOptions.browser]: 'Navigateur',
  save: 'Enregistrer',
  [`${callingOptions.browser}Tooltip`]: 'Utilisez cette option pour passer et recevoir des appels en utilisant le microphone et le haut-parleur de votre ordinateur.',
  [`${callingOptions.softphone}Tooltip`]: 'Utilisez cette option pour passer et recevoir des appels Ć  l\'aide de votre application de bureau {brand}.',
  [`${callingOptions.myphone}Tooltip`]: 'Utilisez cette option pour passer des appels Ơ l\'aide de votre tƩlƩphone {brand}.',
  [`${callingOptions.myphone}Tooltip1`]: 'Pour l\'appel que vous passez, votre tƩlƩphone {brand} sonne d\'abord, suivi du groupe que vous avez appelƩ.',
  [`${callingOptions.otherphone}Tooltip`]: 'Utilisez cette option pour passer des appels Ơ l\'aide de vos autres tƩlƩphones, tels que les tƩlƩphones personnels ou mobiles que vous avez ajoutƩs dans votre extension {brand}.',
  [`${callingOptions.otherphone}Tooltip1`]: 'Pour l\'appel que vous passez, ce tƩlƩphone sonne d\'abord, suivi du groupe que vous avez appelƩ.',
  [`${callingOptions.customphone}Tooltip`]: 'Utilisez cette option pour passer des appels Ơ l\'aide du tƩlƩphone de votre choix en saisissant un numƩro de tƩlƩphone correct dans le champ situƩ ci-dessous.',
  [`${callingOptions.customphone}Tooltip1`]: 'Pour l\'appel que vous passez, ce tƩlƩphone sonne d\'abord, suivi du groupe que vous avez appelƩ.',
};

// @key: @#@"title"@#@ @source: @#@"Calling"@#@
// @key: @#@"[callingOptions.softphone]"@#@ @source: @#@"{brand} for Desktop"@#@
// @key: @#@"[callingOptions.myphone]"@#@ @source: @#@"My {brand} Phone"@#@
// @key: @#@"[callingOptions.otherphone]"@#@ @source: @#@"Other Phone"@#@
// @key: @#@"[callingOptions.customphone]"@#@ @source: @#@"Custom Phone"@#@
github ringcentral / ringcentral-js-widgets / src / components / CallingSettingsPanel / i18n / en-AU.js View on Github external
import callingOptions from 'ringcentral-integration/modules/CallingSettings/callingOptions';

export default {
  title: 'Calling',
  [callingOptions.softphone]: '{brand} for Desktop',
  [callingOptions.myphone]: 'My {brand} Phone',
  [callingOptions.otherphone]: 'Other Phone',
  [callingOptions.customphone]: 'Custom Phone',
  makeCallsWith: 'Make my calls using',
  ringoutHint: 'Ring me at my location first, then connect the called party',
  myLocationLabel: 'My Location',
  press1ToStartCallLabel: 'Prompt me to dial 1 before connecting the call',
  [callingOptions.browser]: 'Browser',
  save: 'Save',
  [`${callingOptions.browser}Tooltip`]: 'Use this option to make and receive calls using your computer\'s microphone and speaker.',
  [`${callingOptions.softphone}Tooltip`]: 'Use this option to make and receive calls using your {brand} for Desktop app.',
  [`${callingOptions.myphone}Tooltip`]: 'Use this option to make calls using your {brand} phone.',
  [`${callingOptions.myphone}Tooltip1`]: 'For the call you make, your {brand} phone will ring first then the party that you called.',
  [`${callingOptions.otherphone}Tooltip`]: 'Use this option to make calls using your other phones such as home or mobile phones that you have added in your {brand} Extension.',
  [`${callingOptions.otherphone}Tooltip1`]: 'When you make the call, this phone will ring first then the party that you called.',
  [`${callingOptions.customphone}Tooltip`]: 'Use this option to make calls using any phone of your choice by entering a valid phone number in the field below.',
  [`${callingOptions.customphone}Tooltip1`]: 'When you make the call, this phone will ring first then the party that you called.',
};

// @key: @#@"title"@#@ @source: @#@"Calling"@#@
// @key: @#@"[callingOptions.softphone]"@#@ @source: @#@"{brand} for Desktop"@#@
// @key: @#@"[callingOptions.myphone]"@#@ @source: @#@"My {brand} Phone"@#@
// @key: @#@"[callingOptions.otherphone]"@#@ @source: @#@"Other Phone"@#@
// @key: @#@"[callingOptions.customphone]"@#@ @source: @#@"Custom Phone"@#@
github ringcentral / ringcentral-js-widgets / src / components / CallingSettingsPanel / i18n / es-419.js View on Github external
import callingOptions from 'ringcentral-integration/modules/CallingSettings/callingOptions';

export default {
  title: 'Llamadas',
  [callingOptions.softphone]: '{brand} para escritorio',
  [callingOptions.myphone]: 'Mi telƩfono {brand}',
  [callingOptions.otherphone]: 'Otro telƩfono',
  [callingOptions.customphone]: 'TelƩfono personalizado',
  makeCallsWith: 'Realizar mis llamadas con',
  ringoutHint: 'Llamar primero a mi ubicaciĆ³n y luego conectar al nĆŗmero llamado',
  myLocationLabel: 'Mi ubicaciĆ³n',
  press1ToStartCallLabel: 'Avisarme que marque\xA01 para conectar la llamada',
  [callingOptions.browser]: 'Navegador',
  save: 'Guardar',
  [`${callingOptions.browser}Tooltip`]: 'Utilice esta opciĆ³n para hacer y recibir llamadas con el micrĆ³fono y los altavoces de su computadora.',
  [`${callingOptions.softphone}Tooltip`]: 'Utilice esta opciĆ³n para hacer y recibir llamadas usando su aplicaciĆ³n {brand} para escritorio.',
  [`${callingOptions.myphone}Tooltip`]: 'Use esta opciĆ³n para hacer llamadas usando su telĆ©fono {brand}.',
  [`${callingOptions.myphone}Tooltip1`]: 'En la llamada que realice, primero sonarƔ su telƩfono {brand} y luego el de la persona a la que llama.',
  [`${callingOptions.otherphone}Tooltip`]: 'Utilice esta opciĆ³n para realizar llamadas desde el resto de los telĆ©fonos que ha aƱadido a su extensiĆ³n {brand} como el de su domicilio o el celular.',
  [`${callingOptions.otherphone}Tooltip1`]: 'En la llamada que realice, este telƩfono sonarƔ primero y luego el de la persona a la que llama.',
  [`${callingOptions.customphone}Tooltip`]: 'Use esta opciĆ³n para realizar llamadas usando el telĆ©fono de su preferencia, ingresando un nĆŗmero de telĆ©fono vĆ”lido en el campo a continuaciĆ³n.',
  [`${callingOptions.customphone}Tooltip1`]: 'En la llamada que realice, este telƩfono sonarƔ primero y luego el de la persona a la que llama.',
};

// @key: @#@"title"@#@ @source: @#@"Calling"@#@
// @key: @#@"[callingOptions.softphone]"@#@ @source: @#@"{brand} for Desktop"@#@
// @key: @#@"[callingOptions.myphone]"@#@ @source: @#@"My {brand} Phone"@#@
// @key: @#@"[callingOptions.otherphone]"@#@ @source: @#@"Other Phone"@#@
// @key: @#@"[callingOptions.customphone]"@#@ @source: @#@"Custom Phone"@#@
// @key: @#@"[callingOptions.browser]"@#@ @source: @#@"Browser"@#@
// @key: @#@"makeCallsWith"@#@ @source: @#@"Make my calls with"@#@
github ringcentral / ringcentral-js-widgets / packages / ringcentral-widgets / components / CallingSettingsPanel / i18n / pt-BR.js View on Github external
import callingOptions from 'ringcentral-integration/modules/CallingSettings/callingOptions';
export default {
  title: "Chamadas",
  [callingOptions.softphone]: "{brand} para Desktop",
  [callingOptions.myphone]: "Meu telefone {brand}",
  [callingOptions.otherphone]: "Outro telefone",
  [callingOptions.customphone]: "Telefone personalizado",
  [callingOptions.browser]: "Navegador",
  makeCallsWith: "Fazer minhas chamadas com",
  ringoutHint: "Ligar para meu local primeiro e, em seguida, conectar ao destinatƔrio da chamada",
  myLocationLabel: "Meu local",
  press1ToStartCallLabel: "Solicitar discar 1 antes de conectar a chamada",
  [`${callingOptions.browser}Tooltip`]: "Use esta opĆ§Ć£o para fazer e receber chamadas usando o microfone e o alto-falante do computador.",
  [`${callingOptions.softphone}Tooltip`]: "Use esta opĆ§Ć£o para fazer e receber chamadas usando o aplicativo {brand} para Desktop.",
  [`${callingOptions.myphone}Tooltip`]: "Use esta opĆ§Ć£o para fazer chamadas usando o telefone {brand}.",
  [`${callingOptions.myphone}Tooltip1`]: "Para a chamada efetuada, o telefone {brand} toca primeiro e, em seguida, a parte de destino.",
  [`${callingOptions.otherphone}Tooltip`]: "Use esta opĆ§Ć£o para fazer chamadas usando outros telefones, como o residencial ou celular, adicionado no Ramal do {brand}.",
  [`${callingOptions.otherphone}Tooltip1`]: "Para a chamada efetuada, o telefone toca primeiro e, em seguida, a parte de destino.",
  [`${callingOptions.customphone}Tooltip`]: "Use esta opĆ§Ć£o para fazer chamadas usando qualquer telefone de sua escolha ao inserir um nĆŗmero de telefone vĆ”lido no campo abaixo.",
  [`${callingOptions.customphone}Tooltip1`]: "Para a chamada efetuada, o telefone toca primeiro e, em seguida, a parte de destino."
};

// @key: @#@"title"@#@ @source: @#@"Calling"@#@
// @key: @#@"[callingOptions.softphone]"@#@ @source: @#@"{brand} for Desktop"@#@
// @key: @#@"[callingOptions.myphone]"@#@ @source: @#@"My {brand} Phone"@#@
// @key: @#@"[callingOptions.otherphone]"@#@ @source: @#@"Other Phone"@#@
// @key: @#@"[callingOptions.customphone]"@#@ @source: @#@"Custom Phone"@#@
// @key: @#@"[callingOptions.browser]"@#@ @source: @#@"Browser"@#@
// @key: @#@"makeCallsWith"@#@ @source: @#@"Make my calls with"@#@
github ringcentral / ringcentral-js-widgets / packages / ringcentral-widgets / components / CallingSettingsPanel / i18n / zh-CN.js View on Github external
import callingOptions from 'ringcentral-integration/modules/CallingSettings/callingOptions';
export default {
  title: "呼叫",
  [callingOptions.softphone]: "{brand} ę”Œé¢ē‰ˆ",
  [callingOptions.myphone]: "ꈑēš„ {brand} ē”µčƝ",
  [callingOptions.otherphone]: "其他ē”µčƝ",
  [callingOptions.customphone]: "č‡Ŗ定义ē”µčƝ",
  [callingOptions.browser]: "ęµč§ˆå™Ø",
  makeCallsWith: "通čæ‡ä»„äø‹ę–¹å¼ę‹Øꉓē”µčƝ",
  ringoutHint: "先åœØꈑēš„位ē½®ęŒÆ铃ļ¼Œē„¶åŽčæžęŽ„č¢«å«ę–¹",
  myLocationLabel: "ꈑēš„位ē½®",
  press1ToStartCallLabel: "čæžęŽ„通čÆå‰ęē¤ŗꈑę‹Ø 1",
  [`${callingOptions.browser}Tooltip`]: "ä½æē”Øę­¤é€‰é”¹é€ščæ‡č®”ē®—ęœŗēš„éŗ¦å…‹é£Žå’Œę‰¬å£°å™Øę‹Øę‰“å’ŒęŽ„å¬ē”µčÆć€‚",
  [`${callingOptions.softphone}Tooltip`]: "ä½æē”Øę­¤é€‰é”¹é€ščæ‡ {brand} ę”Œé¢ē‰ˆåŗ”ē”Øę‹Øę‰“å’ŒęŽ„å¬ē”µčÆć€‚",
  [`${callingOptions.myphone}Tooltip`]: "ä½æē”Øę­¤é€‰é”¹é€ščæ‡ę‚Øēš„ {brand} ē”µčƝę‹Øꉓē”µčÆć€‚",
  [`${callingOptions.myphone}Tooltip1`]: "åƹäŗŽę‚Øę‹Øå‡ŗēš„通čƝļ¼Œę‚Øēš„ {brand} ē”µčƝ会先ęŒÆ铃ļ¼Œē„¶åŽę‚Ø呼叫ēš„åÆ¹ę–¹ē”µčƝ再ęŒÆ铃怂",
  [`${callingOptions.otherphone}Tooltip`]: "ä½æē”Øę­¤é€‰é”¹é€ščæ‡ę‚Øēš„其他ē”µčƝę‹Øꉓē”µčƝļ¼Œä¾‹å¦‚ļ¼Œę‚ØåœØ {brand} 分ęœŗäø­ę·»åŠ ēš„家åŗ­ē”µčÆęˆ–ę‰‹ęœŗ怂",
  [`${callingOptions.otherphone}Tooltip1`]: "åƹäŗŽę‚Øę‹Øå‡ŗēš„通čƝļ¼Œę­¤ē”µčƝ会先ęŒÆ铃ļ¼Œē„¶åŽę‚Ø呼叫ēš„åÆ¹ę–¹ē”µčƝ再ęŒÆ铃怂",
  [`${callingOptions.customphone}Tooltip`]: "ä½æē”Øę­¤é€‰é”¹é€ščæ‡åœØäø‹é¢ēš„å­—ę®µäø­č¾“å…„꜉ꕈēš„ē”µčƝ号ē ļ¼Œä½æē”Øę‚Ø选ꋩēš„ä»»ę„ē”µčƝę‹Øꉓē”µčÆć€‚",
  [`${callingOptions.customphone}Tooltip1`]: "åƹäŗŽę‚Øę‹Øå‡ŗēš„通čƝļ¼Œę­¤ē”µčƝ会先ęŒÆ铃ļ¼Œē„¶åŽę‚Ø呼叫ēš„åÆ¹ę–¹ē”µčƝ再ęŒÆ铃怂"
};

// @key: @#@"title"@#@ @source: @#@"Calling"@#@
// @key: @#@"[callingOptions.softphone]"@#@ @source: @#@"{brand} for Desktop"@#@
github ringcentral / ringcentral-js-widgets / packages / ringcentral-widgets / components / CallingSettingsPanel / i18n / zh-TW.js View on Github external
import callingOptions from 'ringcentral-integration/modules/CallingSettings/callingOptions';
export default {
  title: "ę’„č™Ÿ",
  [callingOptions.softphone]: "{brand} ę”Œé¢ē‰ˆ",
  [callingOptions.myphone]: "ꈑēš„ {brand} 電話",
  [callingOptions.otherphone]: "å…¶ä»–é›»č©±",
  [callingOptions.customphone]: "č‡ŖčØ‚é›»č©±",
  [callingOptions.browser]: "ē€č¦½å™Ø",
  makeCallsWith: "ꈑēš„é€šč©±é€²č”Œę™‚ä½æē”Ø",
  ringoutHint: "å…ˆå°ęˆ‘ēš„位ē½®éŸæ鈓ļ¼Œē„¶å¾ŒęŽ„é€šå—č©±ę–¹",
  myLocationLabel: "ꈑēš„位ē½®",
  press1ToStartCallLabel: "åœØęŽ„é€šé€šč©±å‰ęē¤ŗꈑꌉ 1",
  [`${callingOptions.browser}Tooltip`]: "č«‹ä½æē”Ø這個éø項ļ¼Œé€éŽę‚Ø電腦ēš„éŗ„克é¢Øå’Œå–‡å­ę’„å‡ŗčˆ‡ęŽ„č½é›»č©±ć€‚",
  [`${callingOptions.softphone}Tooltip`]: "č«‹ä½æē”Ø這個éø項ļ¼Œé€éŽę‚Øēš„ {brand} ę”Œé¢ē‰ˆę‡‰ē”ØēØ‹å¼ę’„å‡ŗčˆ‡ęŽ„č½é›»č©±ć€‚",
  [`${callingOptions.myphone}Tooltip`]: "č«‹ä½æē”Ø這個éø項ļ¼Œé€éŽę‚Øēš„ {brand} é›»č©±ä¾†é€²č”Œé€šč©±ć€‚",
  [`${callingOptions.myphone}Tooltip1`]: "å°ę–¼ę‚Øꉀꒄå‡ŗēš„電話ļ¼Œę‚Øēš„ {brand} é›»č©±å°‡ęœƒå…ˆå°å—č©±ę–¹éŸæéˆ“ć€‚",
  [`${callingOptions.otherphone}Tooltip`]: "č«‹ä½æē”Ø這個éø項ļ¼Œé€éŽę‚Øå·²åœØ {brand} åˆ†ę©Ÿäø­åŠ å…„ēš„家ē”Øé›»č©±ęˆ–č”Œå‹•é›»č©±ē­‰å…¶ä»–é›»č©±é€²č”Œé€šč©±ć€‚",
  [`${callingOptions.otherphone}Tooltip1`]: "å°ę–¼ę‚Øꉀꒄå‡ŗēš„電話ļ¼Œé€™ę”Æé›»č©±å°‡ęœƒå…ˆå°å—č©±ę–¹éŸæéˆ“ć€‚",
  [`${callingOptions.customphone}Tooltip`]: "č«‹ä½æē”Ø這個éø項ļ¼ŒåœØ仄äø‹ę¬„位č¼øå…„ęœ‰ę•ˆēš„é›»č©±č™Ÿē¢¼ļ¼Œä½æē”Øä»»éøēš„ä»»ä½•é›»č©±ļ¼Œé€²č”Œé€šč©±ć€‚",
  [`${callingOptions.customphone}Tooltip1`]: "å°ę–¼ę‚Øꉀꒄå‡ŗēš„電話ļ¼Œé€™ę”Æé›»č©±å°‡ęœƒå…ˆå°å—č©±ę–¹éŸæéˆ“ć€‚"
};

// @key: @#@"title"@#@ @source: @#@"Calling"@#@
// @key: @#@"[callingOptions.softphone]"@#@ @source: @#@"{brand} for Desktop"@#@
github ringcentral / ringcentral-js-widgets / src / components / CallingSettingsPanel / i18n / pt-BR.js View on Github external
import callingOptions from 'ringcentral-integration/modules/CallingSettings/callingOptions';

export default {
  title: 'Chamadas',
  save: 'Salvar',
  [callingOptions.softphone]: '{brand} para Desktop',
  [callingOptions.myphone]: 'Meu telefone {brand}',
  [callingOptions.otherphone]: 'Outro telefone',
  [callingOptions.customphone]: 'Telefone personalizado',
  [callingOptions.browser]: 'Navegador',
  makeCallsWith: 'Fazer minhas chamadas com',
  ringoutHint: 'Ligar para meu local primeiro e, em seguida, conectar ao destinatƔrio da chamada',
  myLocationLabel: 'Meu local',
  press1ToStartCallLabel: 'Solicitar discar 1 antes de conectar a chamada',
  [`${callingOptions.browser}Tooltip`]: 'Use esta opĆ§Ć£o para fazer e receber chamadas usando o microfone e o alto-falante do computador.',
  [`${callingOptions.softphone}Tooltip`]: 'Use esta opĆ§Ć£o para fazer e receber chamadas usando o aplicativo {brand} para Desktop.',
  [`${callingOptions.myphone}Tooltip`]: 'Use esta opĆ§Ć£o para fazer chamadas usando o telefone {brand}.',
  [`${callingOptions.myphone}Tooltip1`]: 'Para a chamada efetuada, o telefone {brand} toca primeiro e, em seguida, a parte de destino.',
  [`${callingOptions.otherphone}Tooltip`]: 'Use esta opĆ§Ć£o para fazer chamadas usando outros telefones, como o residencial ou celular, adicionado no Ramal do {brand}.',
  [`${callingOptions.otherphone}Tooltip1`]: 'Para a chamada efetuada, o telefone toca primeiro e, em seguida, a parte de destino.',
  [`${callingOptions.customphone}Tooltip`]: 'Use esta opĆ§Ć£o para fazer chamadas usando qualquer telefone de sua escolha ao inserir um nĆŗmero de telefone vĆ”lido no campo abaixo.',
  [`${callingOptions.customphone}Tooltip1`]: 'Para a chamada efetuada, o telefone toca primeiro e, em seguida, a parte de destino.',
};

// @key: @#@"title"@#@ @source: @#@"Calling"@#@
// @key: @#@"[callingOptions.softphone]"@#@ @source: @#@"{brand} for Desktop"@#@
// @key: @#@"[callingOptions.myphone]"@#@ @source: @#@"My {brand} Phone"@#@
// @key: @#@"[callingOptions.otherphone]"@#@ @source: @#@"Other Phone"@#@
// @key: @#@"[callingOptions.customphone]"@#@ @source: @#@"Custom Phone"@#@
// @key: @#@"[callingOptions.browser]"@#@ @source: @#@"Browser"@#@
// @key: @#@"makeCallsWith"@#@ @source: @#@"Make my calls with"@#@
github ringcentral / ringcentral-js-widgets / src / components / CallingSettingsPanel / i18n / en-US.js View on Github external
import callingOptions from 'ringcentral-integration/modules/CallingSettings/callingOptions';

export default {
  title: 'Calling',
  [callingOptions.softphone]: '{brand} for Desktop',
  [callingOptions.myphone]: 'My {brand} Phone',
  [callingOptions.otherphone]: 'Other Phone',
  [callingOptions.customphone]: 'Custom Phone',
  [callingOptions.browser]: 'Browser',
  makeCallsWith: 'Make my calls with',
  ringoutHint: 'Ring me at my location first, then connect the called party',
  myLocationLabel: 'My Location',
  press1ToStartCallLabel: 'Prompt me to dial 1 before connecting the call',
  [`${callingOptions.browser}Tooltip`]: 'Use this option to make and receive calls using your computerā€™s microphone and speaker.',
  [`${callingOptions.softphone}Tooltip`]: 'Use this option to make and receive calls using your {brand} for Desktop app.',
  [`${callingOptions.myphone}Tooltip`]: 'Use this option to make calls using your {brand} phone.',
  [`${callingOptions.myphone}Tooltip1`]: 'For the call you make, your {brand} phone will ring first then the party you called.',
  [`${callingOptions.otherphone}Tooltip`]: 'Use this option to make calls using your other phones such as home or cell phones that you have added in your {brand} Extension.',
  [`${callingOptions.otherphone}Tooltip1`]: 'For the call you make, this phone will ring first then the party you called.',
  [`${callingOptions.customphone}Tooltip`]: 'Use this option to make calls using any phone of your choice by entering a valid phone number in the field below.',
  [`${callingOptions.customphone}Tooltip1`]: 'For the call you make, this phone will ring first then the party you called.',
};
github ringcentral / ringcentral-js-widgets / src / components / CallingSettingsPanel / index.js View on Github external
getTooltipContent() {
    let contentKeys;
    if (this.state.callWith === callingOptions.browser
      || this.state.callWith === callingOptions.softphone
    ) {
      contentKeys = [`${this.state.callWith}Tooltip`];
    } else {
      contentKeys = [`${this.state.callWith}Tooltip`, `${this.state.callWith}Tooltip1`];
    }
    return (
      <div>
        {
          contentKeys.map(contentKey =&gt; (
            <div>
              {formatMessage(
                i18n.getString(contentKey, this.props.currentLocale),
                { brand: this.props.brand }
              )}
            </div></div>
github ringcentral / ringcentral-js-widgets / packages / ringcentral-widgets / components / CallingSettingsPanel / index.js View on Github external
getTooltipContent() {
    let contentKeys;
    if (
      this.state.callWith === callingOptions.browser ||
      this.state.callWith === callingOptions.softphone
    ) {
      contentKeys = [`${this.state.callWith}Tooltip`];
    } else {
      contentKeys = [
        `${this.state.callWith}Tooltip`,
        `${this.state.callWith}Tooltip1`,
      ];
    }
    return (
      <div>
        {contentKeys.map((contentKey) =&gt; (
          <div>
            {formatMessage(
              i18n.getString(contentKey, this.props.currentLocale),
              { brand: this.props.brand },</div></div>