502 텍스트 변경건.

This commit is contained in:
junghoon86.park
2024-06-13 20:43:49 +09:00
parent b5e0a650d1
commit 15bfb2716f

View File

@@ -1,39 +1,58 @@
import React, { useCallback, useEffect, useMemo, useState } from "react"; import React, {
useCallback,
useEffect,
useMemo,
useState,
} from 'react';
import classNames from "classnames"; import classNames from 'classnames';
import { import {
AsYouTypeFormatter, AsYouTypeFormatter,
PhoneNumberFormat, PhoneNumberFormat,
PhoneNumberUtil, PhoneNumberUtil,
} from "google-libphonenumber"; } from 'google-libphonenumber';
import { useDispatch, useSelector } from "react-redux"; import {
useDispatch,
useSelector,
} from 'react-redux';
import { off, on } from "@enact/core/dispatcher"; import {
import { SpotlightContainerDecorator } from "@enact/spotlight/SpotlightContainerDecorator"; off,
import { Spottable } from "@enact/spotlight/Spottable"; on,
} from '@enact/core/dispatcher';
import {
SpotlightContainerDecorator,
} from '@enact/spotlight/SpotlightContainerDecorator';
import { Spottable } from '@enact/spotlight/Spottable';
import defaultImage from "../../../assets/images/img-thumb-empty-144@3x.png"; import defaultImage from '../../../assets/images/img-thumb-empty-144@3x.png';
import { clearSMS, sendSms } from "../../actions/appDataActions"; import {
clearSMS,
sendSms,
} from '../../actions/appDataActions';
import { import {
changeLocalSettings, changeLocalSettings,
setHidePopup, setHidePopup,
setShowPopup, setShowPopup,
} from "../../actions/commonActions"; } from '../../actions/commonActions';
import { import {
clearRegisterDeviceInfo, clearRegisterDeviceInfo,
getDeviceAdditionInfo, getDeviceAdditionInfo,
registerDeviceInfo, registerDeviceInfo,
} from "../../actions/deviceActions"; } from '../../actions/deviceActions';
import { setEventIssueReq } from "../../actions/eventActions"; import { setEventIssueReq } from '../../actions/eventActions';
import useLogService from "../../hooks/useLogService"; import useLogService from '../../hooks/useLogService';
import { ACTIVE_POPUP, LOG_TP_NO } from "../../utils/Config"; import {
import { $L } from "../../utils/helperMethods"; ACTIVE_POPUP,
import CustomImage from "../CustomImage/CustomImage"; LOG_TP_NO,
import TButton from "../TButton/TButton"; } from '../../utils/Config';
import TPopUp from "../TPopUp/TPopUp"; import { $L } from '../../utils/helperMethods';
import HistoryPhoneNumber from "./HistoryPhoneNumber/HistoryPhoneNumber"; import CustomImage from '../CustomImage/CustomImage';
import css from "./MobileSendPopUp.module.less"; import TButton from '../TButton/TButton';
import SMSNumKeyPad from "./SMSNumKeyPad"; import TPopUp from '../TPopUp/TPopUp';
import HistoryPhoneNumber from './HistoryPhoneNumber/HistoryPhoneNumber';
import css from './MobileSendPopUp.module.less';
import SMSNumKeyPad from './SMSNumKeyPad';
const Container = SpotlightContainerDecorator( const Container = SpotlightContainerDecorator(
{ enterTo: "last-focused" }, { enterTo: "last-focused" },
@@ -371,9 +390,7 @@ export default function MobileSendPopUp({
}, [dispatch]); }, [dispatch]);
const getSmsErrorMsg = useMemo(() => { const getSmsErrorMsg = useMemo(() => {
const SMS_ERROR_502 = $L( const SMS_ERROR_502 = $L("The event information has not been registered");
"텍스트 변경 예정.(파라미터값 잘못 전달) 502 ERROR"
);
const SMS_ERROR_903 = $L("You have exceeded the daily text limit."); const SMS_ERROR_903 = $L("You have exceeded the daily text limit.");
const SMS_ERROR_904 = $L( const SMS_ERROR_904 = $L(
"You have exceeded the text limit for this product." "You have exceeded the text limit for this product."