提交 7787534c 编写于 作者: C Cyrus Najmabadi

Add strict tests.

上级 28c2cc52
......@@ -39,17 +39,17 @@ private SyntaxToken GetStringToken(string text)
bool runStrictTreeCheck = true, bool runStrictSubTreeCheck = true,
[CallerMemberName]string name = "")
{
#if true
if (runLooseSubTreeCheck || runLooseSubTreeCheck)
{
Test(stringText, strict: false, expected, looseDiagnostics, runLooseTreeCheck, runLooseSubTreeCheck);
}
#endif
#if false
if (runStrictTreeCheck || runStrictSubTreeCheck)
{
Test(stringText, strict: true, expected, strictDiagnostics, runStrictTreeCheck, runStrictSubTreeCheck);
}
#endif
}
private void Test(
......@@ -64,7 +64,7 @@ private SyntaxToken GetStringToken(string text)
// (like not ever actually finishing compiling).
if (runSubTreeChecks)
{
TryParseSubTrees(stringText, strict, runTreeCheck);
// TryParseSubTrees(stringText, strict, runTreeCheck);
}
var actualTree = TreeToText(tree).Replace("\"", "\"\"");
......@@ -168,8 +168,11 @@ private void TryParseSubTrees(string stringText, bool strict, bool runTreeCheck)
{
try
{
var serializer = new DataContractJsonSerializer(typeof(object));
serializer.ReadObject(new MemoryStream(Encoding.UTF8.GetBytes(token.ValueText)));
var serializer1 = new DataContractJsonSerializer(typeof(object));
serializer1.ReadObject(new MemoryStream(Encoding.UTF8.GetBytes(token.ValueText)));
var serializer2 = new JavaScriptSerializer();
serializer2.DeserializeObject(token.ValueText);
}
catch (Exception ex)
{
......
......@@ -120,7 +120,7 @@ private partial struct JsonNetSyntaxChecker
if (childNode.Kind == JsonKind.Property)
{
return new JsonDiagnostic(
WorkspacesResources.Property_not_allowed_in_a_json_array,
WorkspacesResources.Properties_not_allowed_in_an_array,
GetSpan(((JsonPropertyNode)childNode).ColonToken));
}
}
......@@ -186,7 +186,7 @@ private static bool IsValidConstructorName(JsonToken nameToken)
if (child.Kind != JsonKind.Property)
{
return new JsonDiagnostic(
WorkspacesResources.Only_properties_allowed_in_a_json_object,
WorkspacesResources.Only_properties_allowed_in_an_object,
GetSpan(GetFirstToken(child)));
}
}
......
......@@ -104,7 +104,7 @@ private struct StrictSyntaxChecker
if (childNode.Kind != JsonKind.Property && childNode.Kind != JsonKind.EmptyValue)
{
return new JsonDiagnostic(
WorkspacesResources.Only_properties_allowed_in_object,
WorkspacesResources.Only_properties_allowed_in_an_object,
GetSpan(GetFirstToken(childNode)));
}
}
......@@ -120,7 +120,7 @@ private struct StrictSyntaxChecker
if (childNode.Kind == JsonKind.Property)
{
return new JsonDiagnostic(
WorkspacesResources.Properties_not_allowed_in_array,
WorkspacesResources.Properties_not_allowed_in_an_array,
GetSpan(((JsonPropertyNode)childNode).ColonToken));
}
}
......@@ -139,7 +139,7 @@ private struct StrictSyntaxChecker
{
return new JsonDiagnostic(
string.Format(WorkspacesResources._0_unexpected, ","),
GetSpan(((JsonPropertyNode)child).ColonToken));
GetSpan(child));
}
}
else
......@@ -179,15 +179,13 @@ private struct StrictSyntaxChecker
GetSpan(((JsonEmptyValueNode)node.Value).CommaToken));
}
return null;
return CheckString(node.NameToken) ?? CheckChildren(node);
}
private JsonDiagnostic? CheckLiteral(JsonLiteralNode node)
{
switch (node.Kind)
switch (node.LiteralToken.Kind)
{
case JsonKind.NaNLiteralToken:
case JsonKind.InfinityLiteralToken:
case JsonKind.UndefinedLiteralToken:
return InvalidLiteral(node.LiteralToken);
case JsonKind.NumberToken:
......@@ -196,7 +194,7 @@ private struct StrictSyntaxChecker
return CheckString(node.LiteralToken);
}
return null;
return CheckChildren(node);
}
private static readonly Regex s_validNumberRegex =
......@@ -221,7 +219,7 @@ private struct StrictSyntaxChecker
GetSpan(literalToken));
}
return null;
return CheckToken(literalToken);
}
private JsonDiagnostic? CheckString(JsonToken literalToken)
......@@ -233,7 +231,7 @@ private struct StrictSyntaxChecker
literalToken.VirtualChars[0].Span);
}
return null;
return CheckToken(literalToken);
}
private JsonDiagnostic? InvalidLiteral(JsonToken literalToken)
......@@ -245,9 +243,10 @@ private struct StrictSyntaxChecker
private JsonDiagnostic? CheckNegativeLiteral(JsonNegativeLiteralNode node)
{
return new JsonDiagnostic(
string.Format(WorkspacesResources._0_literal_not_allowed, "-Infinity"),
GetSpan(node));
return null;
//return new JsonDiagnostic(
// string.Format(WorkspacesResources._0_literal_not_allowed, "-Infinity"),
// GetSpan(node));
}
private JsonDiagnostic? CheckConstructor(JsonConstructorNode node)
......
......@@ -1251,20 +1251,11 @@ internal class WorkspacesResources {
}
/// <summary>
/// Looks up a localized string similar to Only properties allowed in a json object.
/// Looks up a localized string similar to Only properties allowed in an object.
/// </summary>
internal static string Only_properties_allowed_in_a_json_object {
internal static string Only_properties_allowed_in_an_object {
get {
return ResourceManager.GetString("Only_properties_allowed_in_a_json_object", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Only properties allowed in object.
/// </summary>
internal static string Only_properties_allowed_in_object {
get {
return ResourceManager.GetString("Only_properties_allowed_in_object", resourceCulture);
return ResourceManager.GetString("Only_properties_allowed_in_an_object", resourceCulture);
}
}
......@@ -1332,11 +1323,11 @@ internal class WorkspacesResources {
}
/// <summary>
/// Looks up a localized string similar to Properties not allowed in array.
/// Looks up a localized string similar to Properties not allowed in an array.
/// </summary>
internal static string Properties_not_allowed_in_array {
internal static string Properties_not_allowed_in_an_array {
get {
return ResourceManager.GetString("Properties_not_allowed_in_array", resourceCulture);
return ResourceManager.GetString("Properties_not_allowed_in_an_array", resourceCulture);
}
}
......@@ -1358,15 +1349,6 @@ internal class WorkspacesResources {
}
}
/// <summary>
/// Looks up a localized string similar to Property not allowed in a json array.
/// </summary>
internal static string Property_not_allowed_in_a_json_array {
get {
return ResourceManager.GetString("Property_not_allowed_in_a_json_array", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Public or Protected Field.
/// </summary>
......
......@@ -709,12 +709,6 @@
<data name="Invalid_number" xml:space="preserve">
<value>Invalid number</value>
</data>
<data name="Only_properties_allowed_in_a_json_object" xml:space="preserve">
<value>Only properties allowed in a json object</value>
</data>
<data name="Property_not_allowed_in_a_json_array" xml:space="preserve">
<value>Property not allowed in a json array</value>
</data>
<data name="Unterminated_comment" xml:space="preserve">
<value>Unterminated comment</value>
</data>
......@@ -760,11 +754,11 @@
<data name="Illegal_whitespace_character" xml:space="preserve">
<value>Illegal whitespace character</value>
</data>
<data name="Only_properties_allowed_in_object" xml:space="preserve">
<value>Only properties allowed in object</value>
<data name="Only_properties_allowed_in_an_object" xml:space="preserve">
<value>Only properties allowed in an object</value>
</data>
<data name="Properties_not_allowed_in_array" xml:space="preserve">
<value>Properties not allowed in array</value>
<data name="Properties_not_allowed_in_an_array" xml:space="preserve">
<value>Properties not allowed in an array</value>
</data>
<data name="Property_name_must_be_a_string" xml:space="preserve">
<value>Property name must be a string</value>
......
......@@ -957,16 +957,6 @@
<target state="new">Invalid number</target>
<note />
</trans-unit>
<trans-unit id="Only_properties_allowed_in_a_json_object">
<source>Only properties allowed in a json object</source>
<target state="new">Only properties allowed in a json object</target>
<note />
</trans-unit>
<trans-unit id="Property_not_allowed_in_a_json_array">
<source>Property not allowed in a json array</source>
<target state="new">Property not allowed in a json array</target>
<note />
</trans-unit>
<trans-unit id="Unterminated_comment">
<source>Unterminated comment</source>
<target state="new">Unterminated comment</target>
......@@ -1042,16 +1032,6 @@
<target state="new">Illegal whitespace character</target>
<note />
</trans-unit>
<trans-unit id="Only_properties_allowed_in_object">
<source>Only properties allowed in object</source>
<target state="new">Only properties allowed in object</target>
<note />
</trans-unit>
<trans-unit id="Properties_not_allowed_in_array">
<source>Properties not allowed in array</source>
<target state="new">Properties not allowed in array</target>
<note />
</trans-unit>
<trans-unit id="Property_name_must_be_a_string">
<source>Property name must be a string</source>
<target state="new">Property name must be a string</target>
......@@ -1077,6 +1057,16 @@
<target state="new">'{0}' literal not allowed</target>
<note />
</trans-unit>
<trans-unit id="Only_properties_allowed_in_an_object">
<source>Only properties allowed in an object</source>
<target state="new">Only properties allowed in an object</target>
<note />
</trans-unit>
<trans-unit id="Properties_not_allowed_in_an_array">
<source>Properties not allowed in an array</source>
<target state="new">Properties not allowed in an array</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -957,16 +957,6 @@
<target state="new">Invalid number</target>
<note />
</trans-unit>
<trans-unit id="Only_properties_allowed_in_a_json_object">
<source>Only properties allowed in a json object</source>
<target state="new">Only properties allowed in a json object</target>
<note />
</trans-unit>
<trans-unit id="Property_not_allowed_in_a_json_array">
<source>Property not allowed in a json array</source>
<target state="new">Property not allowed in a json array</target>
<note />
</trans-unit>
<trans-unit id="Unterminated_comment">
<source>Unterminated comment</source>
<target state="new">Unterminated comment</target>
......@@ -1042,16 +1032,6 @@
<target state="new">Illegal whitespace character</target>
<note />
</trans-unit>
<trans-unit id="Only_properties_allowed_in_object">
<source>Only properties allowed in object</source>
<target state="new">Only properties allowed in object</target>
<note />
</trans-unit>
<trans-unit id="Properties_not_allowed_in_array">
<source>Properties not allowed in array</source>
<target state="new">Properties not allowed in array</target>
<note />
</trans-unit>
<trans-unit id="Property_name_must_be_a_string">
<source>Property name must be a string</source>
<target state="new">Property name must be a string</target>
......@@ -1077,6 +1057,16 @@
<target state="new">'{0}' literal not allowed</target>
<note />
</trans-unit>
<trans-unit id="Only_properties_allowed_in_an_object">
<source>Only properties allowed in an object</source>
<target state="new">Only properties allowed in an object</target>
<note />
</trans-unit>
<trans-unit id="Properties_not_allowed_in_an_array">
<source>Properties not allowed in an array</source>
<target state="new">Properties not allowed in an array</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -957,16 +957,6 @@
<target state="new">Invalid number</target>
<note />
</trans-unit>
<trans-unit id="Only_properties_allowed_in_a_json_object">
<source>Only properties allowed in a json object</source>
<target state="new">Only properties allowed in a json object</target>
<note />
</trans-unit>
<trans-unit id="Property_not_allowed_in_a_json_array">
<source>Property not allowed in a json array</source>
<target state="new">Property not allowed in a json array</target>
<note />
</trans-unit>
<trans-unit id="Unterminated_comment">
<source>Unterminated comment</source>
<target state="new">Unterminated comment</target>
......@@ -1042,16 +1032,6 @@
<target state="new">Illegal whitespace character</target>
<note />
</trans-unit>
<trans-unit id="Only_properties_allowed_in_object">
<source>Only properties allowed in object</source>
<target state="new">Only properties allowed in object</target>
<note />
</trans-unit>
<trans-unit id="Properties_not_allowed_in_array">
<source>Properties not allowed in array</source>
<target state="new">Properties not allowed in array</target>
<note />
</trans-unit>
<trans-unit id="Property_name_must_be_a_string">
<source>Property name must be a string</source>
<target state="new">Property name must be a string</target>
......@@ -1077,6 +1057,16 @@
<target state="new">'{0}' literal not allowed</target>
<note />
</trans-unit>
<trans-unit id="Only_properties_allowed_in_an_object">
<source>Only properties allowed in an object</source>
<target state="new">Only properties allowed in an object</target>
<note />
</trans-unit>
<trans-unit id="Properties_not_allowed_in_an_array">
<source>Properties not allowed in an array</source>
<target state="new">Properties not allowed in an array</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -957,16 +957,6 @@
<target state="new">Invalid number</target>
<note />
</trans-unit>
<trans-unit id="Only_properties_allowed_in_a_json_object">
<source>Only properties allowed in a json object</source>
<target state="new">Only properties allowed in a json object</target>
<note />
</trans-unit>
<trans-unit id="Property_not_allowed_in_a_json_array">
<source>Property not allowed in a json array</source>
<target state="new">Property not allowed in a json array</target>
<note />
</trans-unit>
<trans-unit id="Unterminated_comment">
<source>Unterminated comment</source>
<target state="new">Unterminated comment</target>
......@@ -1042,16 +1032,6 @@
<target state="new">Illegal whitespace character</target>
<note />
</trans-unit>
<trans-unit id="Only_properties_allowed_in_object">
<source>Only properties allowed in object</source>
<target state="new">Only properties allowed in object</target>
<note />
</trans-unit>
<trans-unit id="Properties_not_allowed_in_array">
<source>Properties not allowed in array</source>
<target state="new">Properties not allowed in array</target>
<note />
</trans-unit>
<trans-unit id="Property_name_must_be_a_string">
<source>Property name must be a string</source>
<target state="new">Property name must be a string</target>
......@@ -1077,6 +1057,16 @@
<target state="new">'{0}' literal not allowed</target>
<note />
</trans-unit>
<trans-unit id="Only_properties_allowed_in_an_object">
<source>Only properties allowed in an object</source>
<target state="new">Only properties allowed in an object</target>
<note />
</trans-unit>
<trans-unit id="Properties_not_allowed_in_an_array">
<source>Properties not allowed in an array</source>
<target state="new">Properties not allowed in an array</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -957,16 +957,6 @@
<target state="new">Invalid number</target>
<note />
</trans-unit>
<trans-unit id="Only_properties_allowed_in_a_json_object">
<source>Only properties allowed in a json object</source>
<target state="new">Only properties allowed in a json object</target>
<note />
</trans-unit>
<trans-unit id="Property_not_allowed_in_a_json_array">
<source>Property not allowed in a json array</source>
<target state="new">Property not allowed in a json array</target>
<note />
</trans-unit>
<trans-unit id="Unterminated_comment">
<source>Unterminated comment</source>
<target state="new">Unterminated comment</target>
......@@ -1042,16 +1032,6 @@
<target state="new">Illegal whitespace character</target>
<note />
</trans-unit>
<trans-unit id="Only_properties_allowed_in_object">
<source>Only properties allowed in object</source>
<target state="new">Only properties allowed in object</target>
<note />
</trans-unit>
<trans-unit id="Properties_not_allowed_in_array">
<source>Properties not allowed in array</source>
<target state="new">Properties not allowed in array</target>
<note />
</trans-unit>
<trans-unit id="Property_name_must_be_a_string">
<source>Property name must be a string</source>
<target state="new">Property name must be a string</target>
......@@ -1077,6 +1057,16 @@
<target state="new">'{0}' literal not allowed</target>
<note />
</trans-unit>
<trans-unit id="Only_properties_allowed_in_an_object">
<source>Only properties allowed in an object</source>
<target state="new">Only properties allowed in an object</target>
<note />
</trans-unit>
<trans-unit id="Properties_not_allowed_in_an_array">
<source>Properties not allowed in an array</source>
<target state="new">Properties not allowed in an array</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -957,16 +957,6 @@
<target state="new">Invalid number</target>
<note />
</trans-unit>
<trans-unit id="Only_properties_allowed_in_a_json_object">
<source>Only properties allowed in a json object</source>
<target state="new">Only properties allowed in a json object</target>
<note />
</trans-unit>
<trans-unit id="Property_not_allowed_in_a_json_array">
<source>Property not allowed in a json array</source>
<target state="new">Property not allowed in a json array</target>
<note />
</trans-unit>
<trans-unit id="Unterminated_comment">
<source>Unterminated comment</source>
<target state="new">Unterminated comment</target>
......@@ -1042,16 +1032,6 @@
<target state="new">Illegal whitespace character</target>
<note />
</trans-unit>
<trans-unit id="Only_properties_allowed_in_object">
<source>Only properties allowed in object</source>
<target state="new">Only properties allowed in object</target>
<note />
</trans-unit>
<trans-unit id="Properties_not_allowed_in_array">
<source>Properties not allowed in array</source>
<target state="new">Properties not allowed in array</target>
<note />
</trans-unit>
<trans-unit id="Property_name_must_be_a_string">
<source>Property name must be a string</source>
<target state="new">Property name must be a string</target>
......@@ -1077,6 +1057,16 @@
<target state="new">'{0}' literal not allowed</target>
<note />
</trans-unit>
<trans-unit id="Only_properties_allowed_in_an_object">
<source>Only properties allowed in an object</source>
<target state="new">Only properties allowed in an object</target>
<note />
</trans-unit>
<trans-unit id="Properties_not_allowed_in_an_array">
<source>Properties not allowed in an array</source>
<target state="new">Properties not allowed in an array</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -957,16 +957,6 @@
<target state="new">Invalid number</target>
<note />
</trans-unit>
<trans-unit id="Only_properties_allowed_in_a_json_object">
<source>Only properties allowed in a json object</source>
<target state="new">Only properties allowed in a json object</target>
<note />
</trans-unit>
<trans-unit id="Property_not_allowed_in_a_json_array">
<source>Property not allowed in a json array</source>
<target state="new">Property not allowed in a json array</target>
<note />
</trans-unit>
<trans-unit id="Unterminated_comment">
<source>Unterminated comment</source>
<target state="new">Unterminated comment</target>
......@@ -1042,16 +1032,6 @@
<target state="new">Illegal whitespace character</target>
<note />
</trans-unit>
<trans-unit id="Only_properties_allowed_in_object">
<source>Only properties allowed in object</source>
<target state="new">Only properties allowed in object</target>
<note />
</trans-unit>
<trans-unit id="Properties_not_allowed_in_array">
<source>Properties not allowed in array</source>
<target state="new">Properties not allowed in array</target>
<note />
</trans-unit>
<trans-unit id="Property_name_must_be_a_string">
<source>Property name must be a string</source>
<target state="new">Property name must be a string</target>
......@@ -1077,6 +1057,16 @@
<target state="new">'{0}' literal not allowed</target>
<note />
</trans-unit>
<trans-unit id="Only_properties_allowed_in_an_object">
<source>Only properties allowed in an object</source>
<target state="new">Only properties allowed in an object</target>
<note />
</trans-unit>
<trans-unit id="Properties_not_allowed_in_an_array">
<source>Properties not allowed in an array</source>
<target state="new">Properties not allowed in an array</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -957,16 +957,6 @@
<target state="new">Invalid number</target>
<note />
</trans-unit>
<trans-unit id="Only_properties_allowed_in_a_json_object">
<source>Only properties allowed in a json object</source>
<target state="new">Only properties allowed in a json object</target>
<note />
</trans-unit>
<trans-unit id="Property_not_allowed_in_a_json_array">
<source>Property not allowed in a json array</source>
<target state="new">Property not allowed in a json array</target>
<note />
</trans-unit>
<trans-unit id="Unterminated_comment">
<source>Unterminated comment</source>
<target state="new">Unterminated comment</target>
......@@ -1042,16 +1032,6 @@
<target state="new">Illegal whitespace character</target>
<note />
</trans-unit>
<trans-unit id="Only_properties_allowed_in_object">
<source>Only properties allowed in object</source>
<target state="new">Only properties allowed in object</target>
<note />
</trans-unit>
<trans-unit id="Properties_not_allowed_in_array">
<source>Properties not allowed in array</source>
<target state="new">Properties not allowed in array</target>
<note />
</trans-unit>
<trans-unit id="Property_name_must_be_a_string">
<source>Property name must be a string</source>
<target state="new">Property name must be a string</target>
......@@ -1077,6 +1057,16 @@
<target state="new">'{0}' literal not allowed</target>
<note />
</trans-unit>
<trans-unit id="Only_properties_allowed_in_an_object">
<source>Only properties allowed in an object</source>
<target state="new">Only properties allowed in an object</target>
<note />
</trans-unit>
<trans-unit id="Properties_not_allowed_in_an_array">
<source>Properties not allowed in an array</source>
<target state="new">Properties not allowed in an array</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -957,16 +957,6 @@
<target state="new">Invalid number</target>
<note />
</trans-unit>
<trans-unit id="Only_properties_allowed_in_a_json_object">
<source>Only properties allowed in a json object</source>
<target state="new">Only properties allowed in a json object</target>
<note />
</trans-unit>
<trans-unit id="Property_not_allowed_in_a_json_array">
<source>Property not allowed in a json array</source>
<target state="new">Property not allowed in a json array</target>
<note />
</trans-unit>
<trans-unit id="Unterminated_comment">
<source>Unterminated comment</source>
<target state="new">Unterminated comment</target>
......@@ -1042,16 +1032,6 @@
<target state="new">Illegal whitespace character</target>
<note />
</trans-unit>
<trans-unit id="Only_properties_allowed_in_object">
<source>Only properties allowed in object</source>
<target state="new">Only properties allowed in object</target>
<note />
</trans-unit>
<trans-unit id="Properties_not_allowed_in_array">
<source>Properties not allowed in array</source>
<target state="new">Properties not allowed in array</target>
<note />
</trans-unit>
<trans-unit id="Property_name_must_be_a_string">
<source>Property name must be a string</source>
<target state="new">Property name must be a string</target>
......@@ -1077,6 +1057,16 @@
<target state="new">'{0}' literal not allowed</target>
<note />
</trans-unit>
<trans-unit id="Only_properties_allowed_in_an_object">
<source>Only properties allowed in an object</source>
<target state="new">Only properties allowed in an object</target>
<note />
</trans-unit>
<trans-unit id="Properties_not_allowed_in_an_array">
<source>Properties not allowed in an array</source>
<target state="new">Properties not allowed in an array</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -957,16 +957,6 @@
<target state="new">Invalid number</target>
<note />
</trans-unit>
<trans-unit id="Only_properties_allowed_in_a_json_object">
<source>Only properties allowed in a json object</source>
<target state="new">Only properties allowed in a json object</target>
<note />
</trans-unit>
<trans-unit id="Property_not_allowed_in_a_json_array">
<source>Property not allowed in a json array</source>
<target state="new">Property not allowed in a json array</target>
<note />
</trans-unit>
<trans-unit id="Unterminated_comment">
<source>Unterminated comment</source>
<target state="new">Unterminated comment</target>
......@@ -1042,16 +1032,6 @@
<target state="new">Illegal whitespace character</target>
<note />
</trans-unit>
<trans-unit id="Only_properties_allowed_in_object">
<source>Only properties allowed in object</source>
<target state="new">Only properties allowed in object</target>
<note />
</trans-unit>
<trans-unit id="Properties_not_allowed_in_array">
<source>Properties not allowed in array</source>
<target state="new">Properties not allowed in array</target>
<note />
</trans-unit>
<trans-unit id="Property_name_must_be_a_string">
<source>Property name must be a string</source>
<target state="new">Property name must be a string</target>
......@@ -1077,6 +1057,16 @@
<target state="new">'{0}' literal not allowed</target>
<note />
</trans-unit>
<trans-unit id="Only_properties_allowed_in_an_object">
<source>Only properties allowed in an object</source>
<target state="new">Only properties allowed in an object</target>
<note />
</trans-unit>
<trans-unit id="Properties_not_allowed_in_an_array">
<source>Properties not allowed in an array</source>
<target state="new">Properties not allowed in an array</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -957,16 +957,6 @@
<target state="new">Invalid number</target>
<note />
</trans-unit>
<trans-unit id="Only_properties_allowed_in_a_json_object">
<source>Only properties allowed in a json object</source>
<target state="new">Only properties allowed in a json object</target>
<note />
</trans-unit>
<trans-unit id="Property_not_allowed_in_a_json_array">
<source>Property not allowed in a json array</source>
<target state="new">Property not allowed in a json array</target>
<note />
</trans-unit>
<trans-unit id="Unterminated_comment">
<source>Unterminated comment</source>
<target state="new">Unterminated comment</target>
......@@ -1042,16 +1032,6 @@
<target state="new">Illegal whitespace character</target>
<note />
</trans-unit>
<trans-unit id="Only_properties_allowed_in_object">
<source>Only properties allowed in object</source>
<target state="new">Only properties allowed in object</target>
<note />
</trans-unit>
<trans-unit id="Properties_not_allowed_in_array">
<source>Properties not allowed in array</source>
<target state="new">Properties not allowed in array</target>
<note />
</trans-unit>
<trans-unit id="Property_name_must_be_a_string">
<source>Property name must be a string</source>
<target state="new">Property name must be a string</target>
......@@ -1077,6 +1057,16 @@
<target state="new">'{0}' literal not allowed</target>
<note />
</trans-unit>
<trans-unit id="Only_properties_allowed_in_an_object">
<source>Only properties allowed in an object</source>
<target state="new">Only properties allowed in an object</target>
<note />
</trans-unit>
<trans-unit id="Properties_not_allowed_in_an_array">
<source>Properties not allowed in an array</source>
<target state="new">Properties not allowed in an array</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -957,16 +957,6 @@
<target state="new">Invalid number</target>
<note />
</trans-unit>
<trans-unit id="Only_properties_allowed_in_a_json_object">
<source>Only properties allowed in a json object</source>
<target state="new">Only properties allowed in a json object</target>
<note />
</trans-unit>
<trans-unit id="Property_not_allowed_in_a_json_array">
<source>Property not allowed in a json array</source>
<target state="new">Property not allowed in a json array</target>
<note />
</trans-unit>
<trans-unit id="Unterminated_comment">
<source>Unterminated comment</source>
<target state="new">Unterminated comment</target>
......@@ -1042,16 +1032,6 @@
<target state="new">Illegal whitespace character</target>
<note />
</trans-unit>
<trans-unit id="Only_properties_allowed_in_object">
<source>Only properties allowed in object</source>
<target state="new">Only properties allowed in object</target>
<note />
</trans-unit>
<trans-unit id="Properties_not_allowed_in_array">
<source>Properties not allowed in array</source>
<target state="new">Properties not allowed in array</target>
<note />
</trans-unit>
<trans-unit id="Property_name_must_be_a_string">
<source>Property name must be a string</source>
<target state="new">Property name must be a string</target>
......@@ -1077,6 +1057,16 @@
<target state="new">'{0}' literal not allowed</target>
<note />
</trans-unit>
<trans-unit id="Only_properties_allowed_in_an_object">
<source>Only properties allowed in an object</source>
<target state="new">Only properties allowed in an object</target>
<note />
</trans-unit>
<trans-unit id="Properties_not_allowed_in_an_array">
<source>Properties not allowed in an array</source>
<target state="new">Properties not allowed in an array</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -957,16 +957,6 @@
<target state="new">Invalid number</target>
<note />
</trans-unit>
<trans-unit id="Only_properties_allowed_in_a_json_object">
<source>Only properties allowed in a json object</source>
<target state="new">Only properties allowed in a json object</target>
<note />
</trans-unit>
<trans-unit id="Property_not_allowed_in_a_json_array">
<source>Property not allowed in a json array</source>
<target state="new">Property not allowed in a json array</target>
<note />
</trans-unit>
<trans-unit id="Unterminated_comment">
<source>Unterminated comment</source>
<target state="new">Unterminated comment</target>
......@@ -1042,16 +1032,6 @@
<target state="new">Illegal whitespace character</target>
<note />
</trans-unit>
<trans-unit id="Only_properties_allowed_in_object">
<source>Only properties allowed in object</source>
<target state="new">Only properties allowed in object</target>
<note />
</trans-unit>
<trans-unit id="Properties_not_allowed_in_array">
<source>Properties not allowed in array</source>
<target state="new">Properties not allowed in array</target>
<note />
</trans-unit>
<trans-unit id="Property_name_must_be_a_string">
<source>Property name must be a string</source>
<target state="new">Property name must be a string</target>
......@@ -1077,6 +1057,16 @@
<target state="new">'{0}' literal not allowed</target>
<note />
</trans-unit>
<trans-unit id="Only_properties_allowed_in_an_object">
<source>Only properties allowed in an object</source>
<target state="new">Only properties allowed in an object</target>
<note />
</trans-unit>
<trans-unit id="Properties_not_allowed_in_an_array">
<source>Properties not allowed in an array</source>
<target state="new">Properties not allowed in an array</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册