Index: fpdfsdk/src/javascript/resource.cpp |
diff --git a/fpdfsdk/src/javascript/resource.cpp b/fpdfsdk/src/javascript/resource.cpp |
index be24ccd66c8acf272613eda62130bd54ba69c1e1..4375da3ff7c58aa35c2788d33dc213b661356a4d 100644 |
--- a/fpdfsdk/src/javascript/resource.cpp |
+++ b/fpdfsdk/src/javascript/resource.cpp |
@@ -43,6 +43,10 @@ CFX_WideString JSGetStringFromID(CJS_Context* pContext, FX_UINT id) |
return L"Global value not found."; |
case IDS_STRING_JSREADONLY: |
return L"Cannot assign to readonly property."; |
+ case IDS_STRING_JSTYPEERROR: |
+ return L"Incorrect parameter type."; |
+ case IDS_STRING_JSVALUEERROR: |
+ return L"Incorrect parameter value."; |
default: |
return L""; |
} |