Improved: Corrected typo in 'GiftCertificate' UiLabels.

(OFBIZ-10861)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1856595 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Suraj Khurana
2019-03-30 04:53:12 +00:00
parent 755b835c8c
commit 31e2fd3768
3 changed files with 66 additions and 66 deletions
@@ -431,7 +431,7 @@
<value xml:lang="zh">标识为 ${partyId} 的会员不是支付方法 ${paymentMethodId} 的拥有者,无权修改它。</value>
<value xml:lang="zh-TW">標識為 ${partyId} 的團體不是支付方法 ${paymentMethodId} 的擁有者,無權修改它.</value>
</property>
<property key="AccountingGiftCerticateNumberCannotAuthorize">
<property key="AccountingGiftCertificateNumberCannotAuthorize">
<value xml:lang="ar">لا يمكن التصريح ببطاقة الهدية بسبب: ${errorString}</value>
<value xml:lang="de">Kann Geschenkzertifikat nicht authorisieren weil: ${errorString}</value>
<value xml:lang="en">Cannot authorize gift certificate due to: ${errorString}</value>
@@ -441,7 +441,7 @@
<value xml:lang="zh">无法授权礼券,原因:${errorString}</value>
<value xml:lang="zh-TW">無法授權禮券,原因:${errorString}</value>
</property>
<property key="AccountingGiftCerticateNumberCannotBeExpired">
<property key="AccountingGiftCertificateNumberCannotBeExpired">
<value xml:lang="ar">غير ممكن انهاء صلاحية تصريح الحساب المالي لشهادة الهدية</value>
<value xml:lang="de">Kann Finanzkonto Authorisierung für Geschenkzertifikat nicht ablaufen lassen: </value>
<value xml:lang="en">Unable to expire financial account authorization for Gift Certificate: </value>
@@ -451,7 +451,7 @@
<value xml:lang="zh">无法令礼券的财务账目授权失效,礼券为:</value>
<value xml:lang="zh-TW">無法令禮券的財務帳目授權失效,禮券為:</value>
</property>
<property key="AccountingGiftCerticateNumberCannotFulfill">
<property key="AccountingGiftCertificateNumberCannotFulfill">
<value xml:lang="ar">لا يوجد سلع مرتبطة ببند أمر البيع/الشراء, لا يمكن الوفاء ببطاقة الهدية</value>
<value xml:lang="de">Kein Produkt mit Bestellposition verknüpft, kann Geschenkkarte nicht verarbeiten</value>
<value xml:lang="en">No product associated with OrderItem, cannot fulfill gift card</value>
@@ -461,10 +461,10 @@
<value xml:lang="zh">没有产品与订单明细关联,无法应用礼品卡</value>
<value xml:lang="zh-TW">沒有產品與訂單細項結合,無法使用禮物卡</value>
</property>
<property key="AccountingGiftCerticateNumberCannotFulfillFromSurvey">
<property key="AccountingGiftCertificateNumberCannotFulfillFromSurvey">
<value xml:lang="en">Unable to get survey response; cannot fulfill gift card reload</value>
</property>
<property key="AccountingGiftCerticateNumberCannotFulfillFromSurveyAnswers">
<property key="AccountingGiftCertificateNumberCannotFulfillFromSurveyAnswers">
<value xml:lang="de">Kann keine Umfrageantworten von Umfrageantwort ermitteln; kann Geschenkkarte nicht verarbeiten</value>
<value xml:lang="en">Unable to get survey response answers from survey response; cannot fulfill gift card</value>
<value xml:lang="it">Non è possibile ottenere la risposta sondaggio dalle domande; non è possibile caricare la carta regalo</value>
@@ -473,7 +473,7 @@
<value xml:lang="zh">无法从调查答复中获得调查答复的回答;不能应用礼品卡</value>
<value xml:lang="zh-TW">無法從調查回應中獲得調查回應的回答;不能使用禮物卡</value>
</property>
<property key="AccountingGiftCerticateNumberCannotGetPaymentConfiguration">
<property key="AccountingGiftCertificateNumberCannotGetPaymentConfiguration">
<value xml:lang="de">Kann Konfigurationsdatei für Zahlung nicht ermitteln</value>
<value xml:lang="en">Unable to get payment configuration file</value>
<value xml:lang="it">Non è possibile ottenere il file configurazione pagamento</value>
@@ -482,7 +482,7 @@
<value xml:lang="zh">无法获得支付配置文件</value>
<value xml:lang="zh-TW">無法獲得支付設定檔</value>
</property>
<property key="AccountingGiftCerticateNumberCannotLocateItFromOrderPaymentPreference">
<property key="AccountingGiftCertificateNumberCannotLocateItFromOrderPaymentPreference">
<value xml:lang="de">Kann Geschenkkarte aus der OrderPaymentPreference nicht ermitteln</value>
<value xml:lang="en">Unable to get GiftCard from OrderPaymentPreference</value>
<value xml:lang="it">Non è possibile localizzare il certificato regalo dalla preferenze pagamento dell'ordine</value>
@@ -491,7 +491,7 @@
<value xml:lang="zh">不能从订单支付设置中获得礼品卡</value>
<value xml:lang="zh-TW">不能從訂單支付偏好中取得禮物卡</value>
</property>
<property key="AccountingGiftCerticateNumberCannotProcess">
<property key="AccountingGiftCertificateNumberCannotProcess">
<value xml:lang="ar">غير ممكن تفعيل شراء بطاقة الهدية: لا يوجد دليل محل السلعة على رأس أمر البيع/الشراء: ${orderId}</value>
<value xml:lang="de">Kann Geschenkkartenkauf nicht verarbeiten; keine productStoreId an Bestellkopf: ${orderId}</value>
<value xml:lang="en">Unable to process gift card purchase; no productStoreId on OrderHeader: ${orderId}</value>
@@ -501,7 +501,7 @@
<value xml:lang="zh">无法处理礼品卡购物;订单头中没有产品店铺标识,订单标识:${orderId}</value>
<value xml:lang="zh-TW">無法處理禮物卡購物;訂單頭中沒有產品商店標識,訂單標識:${orderId}</value>
</property>
<property key="AccountingGiftCerticateNumberCannotRelease">
<property key="AccountingGiftCertificateNumberCannotRelease">
<value xml:lang="ar">فشل محاولة إطلاق دفعة بطاقة الهدية: سجل بطاقة الهدية غير صالح</value>
<value xml:lang="de">Ausgabeversuch für Geschenkkartenzahlung fehlgeschlagen; keine gültige Geschenkkarte</value>
<value xml:lang="en">Attempt to release GiftCard payment failed; not a valid GiftCard record</value>
@@ -511,7 +511,7 @@
<value xml:lang="zh">尝试释放礼品卡支付时失败;不是有效的礼品卡记录</value>
<value xml:lang="zh-TW">嘗試釋放禮物卡支付時失敗;不是有效的禮物卡記錄</value>
</property>
<property key="AccountingGiftCerticateNumberCannotReload">
<property key="AccountingGiftCertificateNumberCannotReload">
<value xml:lang="de">Kann Aufladung für Geschenkkarte nicht verarbeiten; keine productStoreId an Bestellkopf: ${orderId}</value>
<value xml:lang="en">Unable to process gift card reload; no productStoreId on OrderHeader: ${orderId}</value>
<value xml:lang="it">Non è possibile processare la ricarica con la carta regalo; nessun negozio impostato sulla testata ordine: ${orderId}</value>
@@ -520,7 +520,7 @@
<value xml:lang="zh">无法处理礼品卡重新载入;订单头中没有产品店铺标识,订单标识:${orderId}</value>
<value xml:lang="zh-TW">無法處理禮物卡重新載入;訂單頭中沒有產品商店標識,訂單標識:${orderId}</value>
</property>
<property key="AccountingGiftCerticateNumberCannotReloadFromSurveyAnswers">
<property key="AccountingGiftCertificateNumberCannotReloadFromSurveyAnswers">
<value xml:lang="de">Kann keine Fragen für Umfrage ermitteln; kann Geschenkkartenaufladung nicht durchführen</value>
<value xml:lang="en">Unable to get survey response answers from survey response; cannot fulfill gift card reload</value>
<value xml:lang="it">Non è possibile ottenere l'informazione relativa alla risposta sondaggio dalle domande; non è possibile ricaricare la carta regalo</value>
@@ -529,7 +529,7 @@
<value xml:lang="zh">无法从调查答复中获得调查答复的回答;不能重新载入礼品卡</value>
<value xml:lang="zh-TW">無法從調查回應中獲得調查回應的回答;不能重新載入禮物卡</value>
</property>
<property key="AccountingGiftCerticateNumberCannotSendEmailNotice">
<property key="AccountingGiftCertificateNumberCannotSendEmailNotice">
<value xml:lang="ar">خطأ اثناء ارسال بريد الكتروني لتنبيه بطاقة الهدية: ${errorString}</value>
<value xml:lang="de">Fehler beim Senden der Geschenkkarten Benachrichtigungsmail: ${errorString}</value>
<value xml:lang="en">Error sending Gift Card notice email: ${errorString}</value>
@@ -539,7 +539,7 @@
<value xml:lang="zh">发送礼品卡通知邮件时出错:${errorString}</value>
<value xml:lang="zh-TW">發送禮物卡通知訊息時出錯:${errorString}</value>
</property>
<property key="AccountingGiftCerticateNumberCannotStoreFulfillmentInfo">
<property key="AccountingGiftCertificateNumberCannotStoreFulfillmentInfo">
<value xml:lang="de">Kann Ausführungsinformation nicht speichern: ${errorString}</value>
<value xml:lang="en">Unable to store fulfillment info: ${errorString}</value>
<value xml:lang="it">Non è possibile registrazione le informazioni di ricarica: ${errorString}</value>
@@ -548,7 +548,7 @@
<value xml:lang="zh">无法存储执行信息:${errorString}</value>
<value xml:lang="zh-TW">無法儲存責任履行履行資訊:${errorString}</value>
</property>
<property key="AccountingGiftCerticateNumberCreationError">
<property key="AccountingGiftCertificateNumberCreationError">
<value xml:lang="ar">غير ممكن خلق رقم شهادة الهدية</value>
<value xml:lang="de">Kann Geschenkzertifikatsnummer nicht erstellen.</value>
<value xml:lang="en">Unable to create gift certificate number.</value>
@@ -558,7 +558,7 @@
<value xml:lang="zh">无法新建礼券编号。</value>
<value xml:lang="zh-TW">無法新建禮券編號.</value>
</property>
<property key="AccountingGiftCerticateNumberExpired">
<property key="AccountingGiftCertificateNumberExpired">
<value xml:lang="ar">انتهت صلاحية شهادة الهدية منذ ${thruDate}</value>
<value xml:lang="de">Geschenkzertifikat ist seit ${thruDate} abgelaufen</value>
<value xml:lang="en">Gift certificate has expired as of ${thruDate}</value>
@@ -568,7 +568,7 @@
<value xml:lang="zh">礼券已过期,过期日期是 ${thruDate}</value>
<value xml:lang="zh-TW">禮券已過期,過期日期是 ${thruDate}</value>
</property>
<property key="AccountingGiftCerticateNumberNotFound">
<property key="AccountingGiftCertificateNumberNotFound">
<value xml:lang="ar">لا يمكن إيجاد شهادة الهدية ${finAccountId}</value>
<value xml:lang="de">Geschenkzertifikat nicht gefunden ${finAccountId}</value>
<value xml:lang="en">Gift certificate not found ${finAccountId}</value>
@@ -578,7 +578,7 @@
<value xml:lang="zh">找不到礼券 ${finAccountId}</value>
<value xml:lang="zh-TW">找不到禮券 ${finAccountId}</value>
</property>
<property key="AccountingGiftCerticateNumberPinNotValid">
<property key="AccountingGiftCertificateNumberPinNotValid">
<value xml:lang="ar">الرمز السري غير صالح</value>
<value xml:lang="de">PIN Nummer ist ungültig</value>
<value xml:lang="en">PIN number is not valid</value>
@@ -588,7 +588,7 @@
<value xml:lang="zh">PIN密码无效</value>
<value xml:lang="zh-TW">PIN密碼無效</value>
</property>
<property key="AccountingGiftCerticateNumberRefundCallError">
<property key="AccountingGiftCertificateNumberRefundCallError">
<value xml:lang="ar">غير ممكن الإتصال بخدمة الإسترجاع!</value>
<value xml:lang="de">Kann Service zur Rückerstattung nicht aufrufen!</value>
<value xml:lang="en">Unable to call refund service!</value>
@@ -144,7 +144,7 @@ public class GiftCertificateServices {
} catch (GenericEntityException | GenericServiceException e) {
Debug.logError(e, module);
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberCreationError", locale));
"AccountingGiftCertificateNumberCreationError", locale));
} catch (GeneralException e) {
Debug.logError(e, module);
return ServiceUtil.returnError(e.getMessage());
@@ -192,7 +192,7 @@ public class GiftCertificateServices {
if ("Y".equals(giftCertSettings.getString("requirePinCode"))) {
if (!validatePin(delegator, cardNumber, pinNumber)) {
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberPinNotValid", locale));
"AccountingGiftCertificateNumberPinNotValid", locale));
}
finAccountId = cardNumber;
} else {
@@ -285,7 +285,7 @@ public class GiftCertificateServices {
.cache().queryOne();
if ("Y".equals(giftCertSettings.getString("requirePinCode")) && !validatePin(delegator, cardNumber, pinNumber)) {
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberPinNotValid", locale));
"AccountingGiftCertificateNumberPinNotValid", locale));
}
} catch (GenericEntityException ex) {
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
@@ -346,7 +346,7 @@ public class GiftCertificateServices {
// validate the pin
if (!validatePin(delegator, cardNumber, pinNumber)) {
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberPinNotValid", locale));
"AccountingGiftCertificateNumberPinNotValid", locale));
}
GenericValue finAccount = null;
@@ -407,7 +407,7 @@ public class GiftCertificateServices {
// make sure the fin account itself has not expired
if ((giftCard.getTimestamp("thruDate") != null) && (giftCard.getTimestamp("thruDate").before(UtilDateTime.nowTimestamp()))) {
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberExpired",
"AccountingGiftCertificateNumberExpired",
UtilMisc.toMap("thruDate", giftCard.getTimestamp("thruDate")), locale));
}
@@ -454,7 +454,7 @@ public class GiftCertificateServices {
} catch (GenericEntityException | GenericServiceException ex) {
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberCannotProcess",
"AccountingGiftCertificateNumberCannotProcess",
UtilMisc.toMap("errorString", ex.getMessage()), locale));
}
}
@@ -496,7 +496,7 @@ public class GiftCertificateServices {
finAccount = FinAccountHelper.getFinAccountFromCode(giftCard.getString("cardNumber"), delegator);
if (finAccount == null) {
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberNotFound",
"AccountingGiftCertificateNumberNotFound",
UtilMisc.toMap("finAccountId", ""), locale));
}
finAccountId = finAccount.getString("finAccountId");
@@ -510,13 +510,13 @@ public class GiftCertificateServices {
if (finAccountId == null) {
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberPinNotValid", locale));
"AccountingGiftCertificateNumberPinNotValid", locale));
}
// check for expiration date
if ((finAccount.getTimestamp("thruDate") != null) && (finAccount.getTimestamp("thruDate").before(UtilDateTime.nowTimestamp()))) {
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberExpired",
"AccountingGiftCertificateNumberExpired",
UtilMisc.toMap("thruDate", finAccount.getTimestamp("thruDate")), locale));
}
@@ -563,7 +563,7 @@ public class GiftCertificateServices {
} catch (GenericEntityException | GenericServiceException ex) {
Debug.logError(ex, "Cannot authorize gift certificate", module);
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberCannotAuthorize",
"AccountingGiftCertificateNumberCannotAuthorize",
UtilMisc.toMap("errorString", ex.getMessage()), locale));
}
}
@@ -584,7 +584,7 @@ public class GiftCertificateServices {
Locale locale = (Locale) context.get("locale");
String err = UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberCannotBeExpired", locale);
"AccountingGiftCertificateNumberCannotBeExpired", locale);
try {
// expire the related financial authorization transaction
GenericValue authTransaction = PaymentGatewayServices.getAuthTransaction(paymentPref);
@@ -635,12 +635,12 @@ public class GiftCertificateServices {
} catch (GenericEntityException e) {
Debug.logError(e, "Unable to get GiftCard from OrderPaymentPreference", module);
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberCannotLocateItFromOrderPaymentPreference", locale));
"AccountingGiftCertificateNumberCannotLocateItFromOrderPaymentPreference", locale));
}
if (giftCard == null) {
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberCannotRelease", locale));
"AccountingGiftCertificateNumberCannotRelease", locale));
}
// make sure we have a currency
@@ -663,7 +663,7 @@ public class GiftCertificateServices {
} catch (GenericServiceException e) {
Debug.logError(e, module);
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberRefundCallError", locale));
"AccountingGiftCertificateNumberRefundCallError", locale));
}
if (ServiceUtil.isError(restoreGcResult)) {
return ServiceUtil.returnError(ServiceUtil.getErrorMessage(restoreGcResult));
@@ -721,7 +721,7 @@ public class GiftCertificateServices {
}
if (productStoreId == null) {
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberCannotProcess",
"AccountingGiftCertificateNumberCannotProcess",
UtilMisc.toMap("orderId", orderId), locale));
}
@@ -745,7 +745,7 @@ public class GiftCertificateServices {
}
if (product == null) {
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberCannotFulfill", locale));
"AccountingGiftCertificateNumberCannotFulfill", locale));
}
// Gift certificate settings are per store in this entity
@@ -775,11 +775,11 @@ public class GiftCertificateServices {
} catch (GenericEntityException e) {
Debug.logError(e, module);
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberCannotFulfillFromSurvey", locale));
"AccountingGiftCertificateNumberCannotFulfillFromSurvey", locale));
}
if (surveyResponse == null) {
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberCannotFulfillFromSurvey", locale));
"AccountingGiftCertificateNumberCannotFulfillFromSurvey", locale));
}
// get the response answers
@@ -789,7 +789,7 @@ public class GiftCertificateServices {
} catch (GenericEntityException e) {
Debug.logError(e, module);
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberCannotFulfillFromSurveyAnswers", locale));
"AccountingGiftCertificateNumberCannotFulfillFromSurveyAnswers", locale));
}
// make a map of answer info
@@ -802,7 +802,7 @@ public class GiftCertificateServices {
} catch (GenericEntityException e) {
Debug.logError(e, module);
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberCannotFulfillFromSurveyAnswers", locale));
"AccountingGiftCertificateNumberCannotFulfillFromSurveyAnswers", locale));
}
if (question != null) {
String desc = question.getString("description");
@@ -839,11 +839,11 @@ public class GiftCertificateServices {
} catch (GenericServiceException e) {
Debug.logError(e, module);
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberCreationError", locale) + e.getMessage());
"AccountingGiftCertificateNumberCreationError", locale) + e.getMessage());
}
if (ServiceUtil.isError(createGcResult)) {
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberCreationError", locale)
"AccountingGiftCertificateNumberCreationError", locale)
+ ServiceUtil.getErrorMessage(createGcResult));
}
@@ -865,7 +865,7 @@ public class GiftCertificateServices {
} catch (GenericServiceException e) {
Debug.logError(e, module);
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberCannotStoreFulfillmentInfo",
"AccountingGiftCertificateNumberCannotStoreFulfillmentInfo",
UtilMisc.toMap("errorString", e.getMessage()), locale));
}
@@ -923,7 +923,7 @@ public class GiftCertificateServices {
Debug.logError(e, "Problem sending mail", module);
// this is fatal; we will rollback and try again later
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberCannotSendEmailNotice",
"AccountingGiftCertificateNumberCannotSendEmailNotice",
UtilMisc.toMap("errorString", e.toString()), locale));
}
}
@@ -971,7 +971,7 @@ public class GiftCertificateServices {
}
if (productStoreId == null) {
return ServiceUtil.returnError(UtilProperties.getMessage(resourceOrderError,
"AccountingGiftCerticateNumberCannotReload", UtilMisc.toMap("orderId", orderId), locale));
"AccountingGiftCertificateNumberCannotReload", UtilMisc.toMap("orderId", orderId), locale));
}
// payment config
@@ -982,7 +982,7 @@ public class GiftCertificateServices {
}
if (paymentConfig == null) {
return ServiceUtil.returnError(UtilProperties.getMessage(resourceOrderError,
"AccountingGiftCerticateNumberCannotGetPaymentConfiguration", locale));
"AccountingGiftCertificateNumberCannotGetPaymentConfiguration", locale));
}
// party ID for tracking
@@ -1008,7 +1008,7 @@ public class GiftCertificateServices {
} catch (GenericEntityException e) {
Debug.logError(e, module);
return ServiceUtil.returnError(UtilProperties.getMessage(resourceOrderError,
"AccountingGiftCerticateNumberCannotReload", locale));
"AccountingGiftCertificateNumberCannotReload", locale));
}
// get the response answers
@@ -1018,7 +1018,7 @@ public class GiftCertificateServices {
} catch (GenericEntityException e) {
Debug.logError(e, module);
return ServiceUtil.returnError(UtilProperties.getMessage(resourceOrderError,
"AccountingGiftCerticateNumberCannotReloadFromSurveyAnswers", locale));
"AccountingGiftCertificateNumberCannotReloadFromSurveyAnswers", locale));
}
// make a map of answer info
@@ -1031,7 +1031,7 @@ public class GiftCertificateServices {
} catch (GenericEntityException e) {
Debug.logError(e, module);
return ServiceUtil.returnError(UtilProperties.getMessage(resourceOrderError,
"AccountingGiftCerticateNumberCannotReloadFromSurveyAnswers", locale));
"AccountingGiftCertificateNumberCannotReloadFromSurveyAnswers", locale));
}
if (question != null) {
String desc = question.getString("description");
@@ -1088,7 +1088,7 @@ public class GiftCertificateServices {
} catch (GenericServiceException e) {
Debug.logError(e, module);
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberCannotStoreFulfillmentInfo",
"AccountingGiftCertificateNumberCannotStoreFulfillmentInfo",
UtilMisc.toMap("errorString", e.getMessage()), locale));
}
@@ -1149,7 +1149,7 @@ public class GiftCertificateServices {
Debug.logError(e, "Problem sending mail", module);
// this is fatal; we will rollback and try again later
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberCannotSendEmailNotice",
"AccountingGiftCertificateNumberCannotSendEmailNotice",
UtilMisc.toMap("errorString", e.toString()), locale));
}
}
@@ -1183,7 +1183,7 @@ public class GiftCertificateServices {
} catch (GenericEntityException e) {
Debug.logError(e, module);
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberCannotStoreFulfillmentInfo",
"AccountingGiftCertificateNumberCannotStoreFulfillmentInfo",
UtilMisc.toMap("errorString", e.toString()), locale));
}
return ServiceUtil.returnSuccess();
@@ -842,7 +842,7 @@ public class ValueLinkServices {
} catch (GenericEntityException e) {
Debug.logError("Unable to get GiftCard from OrderPaymentPreference", module);
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberCannotLocateItFromOrderPaymentPreference", locale));
"AccountingGiftCertificateNumberCannotLocateItFromOrderPaymentPreference", locale));
}
if (giftCard == null) {
@@ -907,7 +907,7 @@ public class ValueLinkServices {
} catch (GenericEntityException e) {
Debug.logError("Unable to get GiftCard from OrderPaymentPreference", module);
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberCannotLocateItFromOrderPaymentPreference", locale));
"AccountingGiftCertificateNumberCannotLocateItFromOrderPaymentPreference", locale));
}
if (giftCard == null) {
@@ -993,7 +993,7 @@ public class ValueLinkServices {
}
if (productStoreId == null) {
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberCannotProcess", locale));
"AccountingGiftCertificateNumberCannotProcess", locale));
}
// payment config
@@ -1028,7 +1028,7 @@ public class ValueLinkServices {
}
if (product == null) {
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberCannotFulfill", locale));
"AccountingGiftCertificateNumberCannotFulfill", locale));
}
// get the productFeature type TYPE (VL promo code)
@@ -1071,7 +1071,7 @@ public class ValueLinkServices {
} catch (GenericEntityException e) {
Debug.logError(e, module);
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberCannotFulfillFromSurvey", locale));
"AccountingGiftCertificateNumberCannotFulfillFromSurvey", locale));
}
// get the response answers
@@ -1081,7 +1081,7 @@ public class ValueLinkServices {
} catch (GenericEntityException e) {
Debug.logError(e, module);
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberCannotFulfillFromSurveyAnswers", locale));
"AccountingGiftCertificateNumberCannotFulfillFromSurveyAnswers", locale));
}
// make a map of answer info
@@ -1094,7 +1094,7 @@ public class ValueLinkServices {
} catch (GenericEntityException e) {
Debug.logError(e, module);
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberCannotFulfillFromSurveyAnswers", locale));
"AccountingGiftCertificateNumberCannotFulfillFromSurveyAnswers", locale));
}
if (question != null) {
String desc = question.getString("description");
@@ -1170,7 +1170,7 @@ public class ValueLinkServices {
} catch (GenericServiceException e) {
Debug.logError(e, module);
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberCannotStoreFulfillmentInfo",
"AccountingGiftCertificateNumberCannotStoreFulfillmentInfo",
UtilMisc.toMap("errorString", e.toString() ), locale));
}
@@ -1229,7 +1229,7 @@ public class ValueLinkServices {
Debug.logError(e, "Problem sending mail", module);
// this is fatal; we will rollback and try again later
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberCannotSendEmailNotice",
"AccountingGiftCertificateNumberCannotSendEmailNotice",
UtilMisc.toMap("errorString", e.toString()), locale));
}
}
@@ -1277,7 +1277,7 @@ public class ValueLinkServices {
}
if (productStoreId == null) {
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberCannotProcess",
"AccountingGiftCertificateNumberCannotProcess",
UtilMisc.toMap("orderId", orderId), locale));
}
@@ -1289,7 +1289,7 @@ public class ValueLinkServices {
}
if (paymentConfig == null) {
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberCannotGetPaymentConfiguration", locale));
"AccountingGiftCertificateNumberCannotGetPaymentConfiguration", locale));
}
// party ID for tracking
@@ -1316,7 +1316,7 @@ public class ValueLinkServices {
} catch (GenericEntityException e) {
Debug.logError(e, module);
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberCannotFulfillFromSurvey", locale));
"AccountingGiftCertificateNumberCannotFulfillFromSurvey", locale));
}
// get the response answers
@@ -1326,7 +1326,7 @@ public class ValueLinkServices {
} catch (GenericEntityException e) {
Debug.logError(e, module);
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberCannotFulfillFromSurveyAnswers", locale));
"AccountingGiftCertificateNumberCannotFulfillFromSurveyAnswers", locale));
}
// make a map of answer info
@@ -1339,7 +1339,7 @@ public class ValueLinkServices {
} catch (GenericEntityException e) {
Debug.logError(e, module);
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberCannotFulfillFromSurveyAnswers", locale));
"AccountingGiftCertificateNumberCannotFulfillFromSurveyAnswers", locale));
}
if (question != null) {
String desc = question.getString("description");
@@ -1394,7 +1394,7 @@ public class ValueLinkServices {
} catch (GenericServiceException e) {
Debug.logError(e, module);
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"AccountingGiftCerticateNumberCannotStoreFulfillmentInfo", locale));
"AccountingGiftCertificateNumberCannotStoreFulfillmentInfo", locale));
}
Boolean processResult = (Boolean) reloadResult.get("processResult");
@@ -1466,7 +1466,7 @@ public class ValueLinkServices {
Debug.logError(e, "Problem sending mail", module);
// this is fatal; we will rollback and try again later
return ServiceUtil.returnError(UtilProperties.getMessage(resource,
"AccountingGiftCerticateNumberCannotSendEmailNotice",
"AccountingGiftCertificateNumberCannotSendEmailNotice",
UtilMisc.toMap("errorString", e.toString()), locale));
}
}