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,