Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
7787534c
R
roslyn
项目概览
lwm1986
/
roslyn
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
roslyn
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
7787534c
编写于
1月 09, 2018
作者:
C
Cyrus Najmabadi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add strict tests.
上级
28c2cc52
变更
19
展开全部
隐藏空白更改
内联
并排
Showing
19 changed file
with
700 addition
and
417 deletion
+700
-417
src/Workspaces/CSharpTest/Json/CSharpJsonParserTests_BasicTests.cs
...paces/CSharpTest/Json/CSharpJsonParserTests_BasicTests.cs
+538
-103
src/Workspaces/CSharpTest/Json/CSharpJsonTests.cs
src/Workspaces/CSharpTest/Json/CSharpJsonTests.cs
+8
-5
src/Workspaces/Core/Portable/Json/JsonParser.JsonNetSyntaxChecks.cs
...aces/Core/Portable/Json/JsonParser.JsonNetSyntaxChecks.cs
+2
-2
src/Workspaces/Core/Portable/Json/JsonParser.StrictSyntaxChecker.cs
...aces/Core/Portable/Json/JsonParser.StrictSyntaxChecker.cs
+12
-13
src/Workspaces/Core/Portable/WorkspacesResources.Designer.cs
src/Workspaces/Core/Portable/WorkspacesResources.Designer.cs
+6
-24
src/Workspaces/Core/Portable/WorkspacesResources.resx
src/Workspaces/Core/Portable/WorkspacesResources.resx
+4
-10
src/Workspaces/Core/Portable/xlf/WorkspacesResources.cs.xlf
src/Workspaces/Core/Portable/xlf/WorkspacesResources.cs.xlf
+10
-20
src/Workspaces/Core/Portable/xlf/WorkspacesResources.de.xlf
src/Workspaces/Core/Portable/xlf/WorkspacesResources.de.xlf
+10
-20
src/Workspaces/Core/Portable/xlf/WorkspacesResources.es.xlf
src/Workspaces/Core/Portable/xlf/WorkspacesResources.es.xlf
+10
-20
src/Workspaces/Core/Portable/xlf/WorkspacesResources.fr.xlf
src/Workspaces/Core/Portable/xlf/WorkspacesResources.fr.xlf
+10
-20
src/Workspaces/Core/Portable/xlf/WorkspacesResources.it.xlf
src/Workspaces/Core/Portable/xlf/WorkspacesResources.it.xlf
+10
-20
src/Workspaces/Core/Portable/xlf/WorkspacesResources.ja.xlf
src/Workspaces/Core/Portable/xlf/WorkspacesResources.ja.xlf
+10
-20
src/Workspaces/Core/Portable/xlf/WorkspacesResources.ko.xlf
src/Workspaces/Core/Portable/xlf/WorkspacesResources.ko.xlf
+10
-20
src/Workspaces/Core/Portable/xlf/WorkspacesResources.pl.xlf
src/Workspaces/Core/Portable/xlf/WorkspacesResources.pl.xlf
+10
-20
src/Workspaces/Core/Portable/xlf/WorkspacesResources.pt-BR.xlf
...orkspaces/Core/Portable/xlf/WorkspacesResources.pt-BR.xlf
+10
-20
src/Workspaces/Core/Portable/xlf/WorkspacesResources.ru.xlf
src/Workspaces/Core/Portable/xlf/WorkspacesResources.ru.xlf
+10
-20
src/Workspaces/Core/Portable/xlf/WorkspacesResources.tr.xlf
src/Workspaces/Core/Portable/xlf/WorkspacesResources.tr.xlf
+10
-20
src/Workspaces/Core/Portable/xlf/WorkspacesResources.zh-Hans.xlf
...kspaces/Core/Portable/xlf/WorkspacesResources.zh-Hans.xlf
+10
-20
src/Workspaces/Core/Portable/xlf/WorkspacesResources.zh-Hant.xlf
...kspaces/Core/Portable/xlf/WorkspacesResources.zh-Hant.xlf
+10
-20
未找到文件。
src/Workspaces/CSharpTest/Json/CSharpJsonParserTests_BasicTests.cs
浏览文件 @
7787534c
此差异已折叠。
点击以展开。
src/Workspaces/CSharpTest/Json/CSharpJsonTests.cs
浏览文件 @
7787534c
...
...
@@ -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
)
{
...
...
src/Workspaces/Core/Portable/Json/JsonParser.JsonNetSyntaxChecks.cs
浏览文件 @
7787534c
...
...
@@ -120,7 +120,7 @@ private partial struct JsonNetSyntaxChecker
if
(
childNode
.
Kind
==
JsonKind
.
Property
)
{
return
new
JsonDiagnostic
(
WorkspacesResources
.
Propert
y_not_allowed_in_a_jso
n_array
,
WorkspacesResources
.
Propert
ies_not_allowed_in_a
n_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
_jso
n_object
,
WorkspacesResources
.
Only_properties_allowed_in_an_object
,
GetSpan
(
GetFirstToken
(
child
)));
}
}
...
...
src/Workspaces/Core/Portable/Json/JsonParser.StrictSyntaxChecker.cs
浏览文件 @
7787534c
...
...
@@ -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_a
n_a
rray
,
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
)
...
...
src/Workspaces/Core/Portable/WorkspacesResources.Designer.cs
浏览文件 @
7787534c
...
...
@@ -1251,20 +1251,11 @@ internal class WorkspacesResources {
}
/// <summary>
/// Looks up a localized string similar to Only properties allowed in a
jso
n object.
/// Looks up a localized string similar to Only properties allowed in an object.
/// </summary>
internal
static
string
Only_properties_allowed_in_a
_jso
n_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 a
n a
rray.
/// </summary>
internal
static
string
Properties_not_allowed_in_array
{
internal
static
string
Properties_not_allowed_in_a
n_a
rray
{
get
{
return
ResourceManager
.
GetString
(
"Properties_not_allowed_in_array"
,
resourceCulture
);
return
ResourceManager
.
GetString
(
"Properties_not_allowed_in_a
n_a
rray"
,
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>
...
...
src/Workspaces/Core/Portable/WorkspacesResources.resx
浏览文件 @
7787534c
...
...
@@ -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_a
n_a
rray"
xml:space=
"preserve"
>
<value>
Properties not allowed in a
n a
rray
</value>
</data>
<data
name=
"Property_name_must_be_a_string"
xml:space=
"preserve"
>
<value>
Property name must be a string
</value>
...
...
src/Workspaces/Core/Portable/xlf/WorkspacesResources.cs.xlf
浏览文件 @
7787534c
...
...
@@ -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
src/Workspaces/Core/Portable/xlf/WorkspacesResources.de.xlf
浏览文件 @
7787534c
...
...
@@ -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
src/Workspaces/Core/Portable/xlf/WorkspacesResources.es.xlf
浏览文件 @
7787534c
...
...
@@ -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
src/Workspaces/Core/Portable/xlf/WorkspacesResources.fr.xlf
浏览文件 @
7787534c
...
...
@@ -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
src/Workspaces/Core/Portable/xlf/WorkspacesResources.it.xlf
浏览文件 @
7787534c
...
...
@@ -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
src/Workspaces/Core/Portable/xlf/WorkspacesResources.ja.xlf
浏览文件 @
7787534c
...
...
@@ -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
src/Workspaces/Core/Portable/xlf/WorkspacesResources.ko.xlf
浏览文件 @
7787534c
...
...
@@ -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
src/Workspaces/Core/Portable/xlf/WorkspacesResources.pl.xlf
浏览文件 @
7787534c
...
...
@@ -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
src/Workspaces/Core/Portable/xlf/WorkspacesResources.pt-BR.xlf
浏览文件 @
7787534c
...
...
@@ -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
src/Workspaces/Core/Portable/xlf/WorkspacesResources.ru.xlf
浏览文件 @
7787534c
...
...
@@ -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
src/Workspaces/Core/Portable/xlf/WorkspacesResources.tr.xlf
浏览文件 @
7787534c
...
...
@@ -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
src/Workspaces/Core/Portable/xlf/WorkspacesResources.zh-Hans.xlf
浏览文件 @
7787534c
...
...
@@ -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
src/Workspaces/Core/Portable/xlf/WorkspacesResources.zh-Hant.xlf
浏览文件 @
7787534c
...
...
@@ -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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录