Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import phoneTypes from '../../../enums/phoneTypes';
export default {
[phoneTypes.extension]: "Ext.",
[phoneTypes.direct]: "Direct",
[phoneTypes.mobile]: "Mobile",
[phoneTypes.home]: "Domicile",
[phoneTypes.business]: "Bureau",
[phoneTypes.fax]: "Fax",
[phoneTypes.company]: "Entreprise",
[phoneTypes.other]: "Autre",
emailLabel: "E-mail",
call: "Appeler",
text: "SMS",
[presenceStatus.available]: "Disponible",
[presenceStatus.offline]: "Invisible",
[presenceStatus.busy]: "OccupƩ(e)",
[dndStatus.doNotAcceptAnyCalls]: "Ne pas dƩranger",
notActivated: "Inactif",
company: "Entreprise",
jobTitle: "Titre"
};
// @key: @#@"[phoneTypes.extension]"@#@ @source: @#@"Ext."@#@
// @key: @#@"[phoneTypes.direct]"@#@ @source: @#@"Direct"@#@
// @key: @#@"[phoneTypes.mobile]"@#@ @source: @#@"Mobile"@#@
// @key: @#@"[phoneTypes.home]"@#@ @source: @#@"Home"@#@
// @key: @#@"[phoneTypes.business]"@#@ @source: @#@"Business"@#@
// @key: @#@"[phoneTypes.fax]"@#@ @source: @#@"Fax"@#@
// @key: @#@"[phoneTypes.company]"@#@ @source: @#@"Company"@#@
// @key: @#@"[phoneTypes.other]"@#@ @source: @#@"Other"@#@
// @key: @#@"emailLabel"@#@ @source: @#@"Email"@#@
// @key: @#@"call"@#@ @source: @#@"Call"@#@
import phoneTypes from '../../../enums/phoneTypes';
export default {
[phoneTypes.extension]: "åęŗå·",
[phoneTypes.direct]: "ē“ęØ",
[phoneTypes.mobile]: "ē§»åØ",
[phoneTypes.home]: "家åŗ",
[phoneTypes.business]: "åå”",
[phoneTypes.fax]: "ä¼ ē",
[phoneTypes.company]: "å
¬åø",
[phoneTypes.other]: "å
¶ä»",
emailLabel: "ēµåé®ä»¶",
call: "å¼å«",
text: "ēäæ”",
[presenceStatus.available]: "åØēŗæ",
[presenceStatus.offline]: "éčŗ«",
[presenceStatus.busy]: "åæē¢",
[dndStatus.doNotAcceptAnyCalls]: "åæę°",
notActivated: "åēØ",
company: "å
¬åø",
jobTitle: "čä½"
};
// @key: @#@"[phoneTypes.extension]"@#@ @source: @#@"Ext."@#@
// @key: @#@"[phoneTypes.direct]"@#@ @source: @#@"Direct"@#@
// @key: @#@"[phoneTypes.mobile]"@#@ @source: @#@"Mobile"@#@
// @key: @#@"[phoneTypes.home]"@#@ @source: @#@"Home"@#@
// @key: @#@"[phoneTypes.business]"@#@ @source: @#@"Business"@#@
// @key: @#@"[phoneTypes.fax]"@#@ @source: @#@"Fax"@#@
// @key: @#@"[phoneTypes.company]"@#@ @source: @#@"Company"@#@
// @key: @#@"[phoneTypes.other]"@#@ @source: @#@"Other"@#@
// @key: @#@"emailLabel"@#@ @source: @#@"Email"@#@
// @key: @#@"call"@#@ @source: @#@"Call"@#@
import phoneTypes from '../../../enums/phoneTypes';
export default {
[phoneTypes.extension]: "Poste",
[phoneTypes.direct]: "Direct",
[phoneTypes.mobile]: "Appareil mobile",
[phoneTypes.home]: "Domicile",
[phoneTypes.business]: "Bureau",
[phoneTypes.fax]: "TƩlƩcopieur",
[phoneTypes.company]: "Entreprise",
[phoneTypes.other]: "Autre",
emailLabel: "Courriel",
call: "Appeler",
text: "Texto",
[presenceStatus.available]: "Disponible",
[presenceStatus.offline]: "Invisible",
[presenceStatus.busy]: "OccupƩ",
[dndStatus.doNotAcceptAnyCalls]: "Ne pas dƩranger",
notActivated: "Inactif",
company: "Entreprise",
jobTitle: "Titre"
};
// @key: @#@"[phoneTypes.extension]"@#@ @source: @#@"Ext."@#@
// @key: @#@"[phoneTypes.direct]"@#@ @source: @#@"Direct"@#@
// @key: @#@"[phoneTypes.mobile]"@#@ @source: @#@"Mobile"@#@
// @key: @#@"[phoneTypes.home]"@#@ @source: @#@"Home"@#@
// @key: @#@"[phoneTypes.business]"@#@ @source: @#@"Business"@#@
// @key: @#@"[phoneTypes.fax]"@#@ @source: @#@"Fax"@#@
// @key: @#@"[phoneTypes.company]"@#@ @source: @#@"Company"@#@
// @key: @#@"[phoneTypes.other]"@#@ @source: @#@"Other"@#@
// @key: @#@"emailLabel"@#@ @source: @#@"Email"@#@
// @key: @#@"call"@#@ @source: @#@"Call"@#@
import phoneTypes from '../../../enums/phoneTypes';
export default {
[phoneTypes.extension]: "Int.",
[phoneTypes.direct]: "Diretto",
[phoneTypes.mobile]: "Cellulare",
[phoneTypes.home]: "Casa",
[phoneTypes.business]: "Ufficio",
[phoneTypes.fax]: "Fax",
[phoneTypes.company]: "Azienda",
[phoneTypes.other]: "Altro",
emailLabel: "E-mail",
call: "Chiamata",
text: "SMS",
[presenceStatus.available]: "Disponibile",
[presenceStatus.offline]: "Invisibile",
[presenceStatus.busy]: "Occupato",
[dndStatus.doNotAcceptAnyCalls]: "Non disturbare",
notActivated: "Inattivo",
company: "Azienda",
jobTitle: "Titolo"
};
// @key: @#@"[phoneTypes.extension]"@#@ @source: @#@"Ext."@#@
// @key: @#@"[phoneTypes.direct]"@#@ @source: @#@"Direct"@#@
// @key: @#@"[phoneTypes.mobile]"@#@ @source: @#@"Mobile"@#@
// @key: @#@"[phoneTypes.home]"@#@ @source: @#@"Home"@#@
// @key: @#@"[phoneTypes.business]"@#@ @source: @#@"Business"@#@
// @key: @#@"[phoneTypes.fax]"@#@ @source: @#@"Fax"@#@
// @key: @#@"[phoneTypes.company]"@#@ @source: @#@"Company"@#@
// @key: @#@"[phoneTypes.other]"@#@ @source: @#@"Other"@#@
// @key: @#@"emailLabel"@#@ @source: @#@"Email"@#@
// @key: @#@"call"@#@ @source: @#@"Call"@#@
import phoneTypes from '../../../enums/phoneTypes';
export default {
[phoneTypes.extension]: "å
ē·",
[phoneTypes.direct]: "ćć¤ć¬ćÆć",
[phoneTypes.mobile]: "ęŗåøÆé»č©±",
[phoneTypes.home]: "čŖå®
",
[phoneTypes.business]: "å¤åå
",
[phoneTypes.fax]: "FAX",
[phoneTypes.company]: "ä¼ē¤¾",
[phoneTypes.other]: "ćć®ä»",
emailLabel: "Eć”ć¼ć«",
call: "é話",
text: "ććć¹ć",
[presenceStatus.available]: "ćŖć³ć©ć¤ć³",
[presenceStatus.offline]: "éč”Øē¤ŗ",
[presenceStatus.busy]: "åćč¾¼ćæäø",
[dndStatus.doNotAcceptAnyCalls]: "åæēäøåÆ",
notActivated: "éć¢ćÆćć£ć",
company: "ä¼ē¤¾",
jobTitle: "å½¹č·"
};
// @key: @#@"[phoneTypes.extension]"@#@ @source: @#@"Ext."@#@
// @key: @#@"[phoneTypes.direct]"@#@ @source: @#@"Direct"@#@
// @key: @#@"[phoneTypes.mobile]"@#@ @source: @#@"Mobile"@#@
// @key: @#@"[phoneTypes.home]"@#@ @source: @#@"Home"@#@
// @key: @#@"[phoneTypes.business]"@#@ @source: @#@"Business"@#@
// @key: @#@"[phoneTypes.fax]"@#@ @source: @#@"Fax"@#@
// @key: @#@"[phoneTypes.company]"@#@ @source: @#@"Company"@#@
// @key: @#@"[phoneTypes.other]"@#@ @source: @#@"Other"@#@
// @key: @#@"emailLabel"@#@ @source: @#@"Email"@#@
// @key: @#@"call"@#@ @source: @#@"Call"@#@
import phoneTypes from '../../../enums/phoneTypes';
export default {
[phoneTypes.extension]: "Ext.",
[phoneTypes.direct]: "Direct",
[phoneTypes.mobile]: "Mobile",
[phoneTypes.home]: "Home",
[phoneTypes.business]: "Business",
[phoneTypes.fax]: "Fax",
[phoneTypes.company]: "Company",
[phoneTypes.other]: "Other",
emailLabel: "Email",
call: "Call",
text: "Text",
[presenceStatus.available]: "Available",
[presenceStatus.offline]: "Invisible",
[presenceStatus.busy]: "Busy",
[dndStatus.doNotAcceptAnyCalls]: "Do not Disturb",
notActivated: "Inactive",
company: "Company",
jobTitle: "Title"
};
// @key: @#@"[phoneTypes.extension]"@#@ @source: @#@"Ext."@#@
// @key: @#@"[phoneTypes.direct]"@#@ @source: @#@"Direct"@#@
// @key: @#@"[phoneTypes.mobile]"@#@ @source: @#@"Mobile"@#@
// @key: @#@"[phoneTypes.home]"@#@ @source: @#@"Home"@#@
// @key: @#@"[phoneTypes.business]"@#@ @source: @#@"Business"@#@
// @key: @#@"[phoneTypes.fax]"@#@ @source: @#@"Fax"@#@
// @key: @#@"[phoneTypes.company]"@#@ @source: @#@"Company"@#@
// @key: @#@"[phoneTypes.other]"@#@ @source: @#@"Other"@#@
// @key: @#@"emailLabel"@#@ @source: @#@"Email"@#@
// @key: @#@"call"@#@ @source: @#@"Call"@#@
import { presenceStatus } from 'ringcentral-integration/enums/presenceStatus.enum';
import dndStatus from 'ringcentral-integration/modules/Presence/dndStatus';
export default {
[presenceStatus.available]: "Disponible",
[presenceStatus.busy]: "OccupƩ(e)",
[presenceStatus.offline]: "Invisible",
[dndStatus.doNotAcceptAnyCalls]: "Ne pas dƩranger"
};
// @key: @#@"[presenceStatus.available]"@#@ @source: @#@"Available"@#@
// @key: @#@"[presenceStatus.busy]"@#@ @source: @#@"Busy"@#@
// @key: @#@"[presenceStatus.offline]"@#@ @source: @#@"Invisible"@#@
// @key: @#@"[dndStatus.doNotAcceptAnyCalls]"@#@ @source: @#@"Do not Disturb"@#@
import { presenceStatus } from 'ringcentral-integration/enums/presenceStatus.enum';
import dndStatus from 'ringcentral-integration/modules/Presence/dndStatus';
export default {
[presenceStatus.available]: "Disponibile",
[presenceStatus.busy]: "Occupato",
[presenceStatus.offline]: "Invisibile",
[dndStatus.doNotAcceptAnyCalls]: "Non disturbare"
};
// @key: @#@"[presenceStatus.available]"@#@ @source: @#@"Available"@#@
// @key: @#@"[presenceStatus.busy]"@#@ @source: @#@"Busy"@#@
// @key: @#@"[presenceStatus.offline]"@#@ @source: @#@"Invisible"@#@
// @key: @#@"[dndStatus.doNotAcceptAnyCalls]"@#@ @source: @#@"Do not Disturb"@#@
<span>{currentStatus}</span>
{ numberOf: ringingCallsLength },
);
const onHoldCallsInfo =
onHoldCallsLength === 1
? formatMessage(headerI18n.getString('callOnHold', currentLocale), {
numberOf: onHoldCallsLength,
})
: formatMessage(headerI18n.getString('callsOnHold', currentLocale), {
numberOf: onHoldCallsLength,
});
const availableBtn = presenceItemI18n.getString(
presenceStatus.available,
currentLocale,
);
const busyBtn = presenceItemI18n.getString(
presenceStatus.busy,
currentLocale,
);
const offlineBtn = presenceItemI18n.getString(
presenceStatus.offline,
currentLocale,
);
const doNotAcceptAnyCallsBtn = presenceItemI18n.getString(
dndStatus.doNotAcceptAnyCalls,
currentLocale,
);
return {
currentCallBtn: headerI18n.getString('currentCall', currentLocale),
viewCallsBtn: headerI18n.getString('viewCalls', currentLocale),
ringCallsInfo,
onHoldCallsInfo,
availableBtn,