forked from rojo-rbx/rojo
Support for .meta.json files other than init (#189)
* Support for .meta.json files other than init * Localize .meta.json application
This commit is contained in:
committed by
Lucien Greathouse
parent
ff53113358
commit
a3dc4fa001
@@ -19,6 +19,62 @@
|
||||
"project_definition": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "DisableMe",
|
||||
"class_name": "Script",
|
||||
"properties": {
|
||||
"Disabled": {
|
||||
"Type": "Bool",
|
||||
"Value": true
|
||||
},
|
||||
"Source": {
|
||||
"Type": "String",
|
||||
"Value": ""
|
||||
}
|
||||
},
|
||||
"children": [],
|
||||
"metadata": {
|
||||
"ignore_unknown_instances": true,
|
||||
"source_path": "src/DisableMe.server.lua",
|
||||
"project_definition": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "LocalizationTable",
|
||||
"class_name": "LocalizationTable",
|
||||
"properties": {
|
||||
"Contents": {
|
||||
"Type": "String",
|
||||
"Value": "[{\"key\":\"Doge\",\"example\":\"A funny dog\",\"source\":\"Perro!\",\"values\":{\"en\":\"Doge!\"}}]"
|
||||
},
|
||||
"SourceLocaleId": {
|
||||
"Type": "String",
|
||||
"Value": "es"
|
||||
}
|
||||
},
|
||||
"children": [],
|
||||
"metadata": {
|
||||
"ignore_unknown_instances": false,
|
||||
"source_path": "src/LocalizationTable.csv",
|
||||
"project_definition": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "RobloxInstance",
|
||||
"class_name": "Folder",
|
||||
"properties": {
|
||||
"Tags": {
|
||||
"Type": "BinaryString",
|
||||
"Value": ""
|
||||
}
|
||||
},
|
||||
"children": [],
|
||||
"metadata": {
|
||||
"ignore_unknown_instances": true,
|
||||
"source_path": null,
|
||||
"project_definition": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Script",
|
||||
"class_name": "Script",
|
||||
@@ -38,6 +94,22 @@
|
||||
"source_path": "src/Script",
|
||||
"project_definition": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "StringValue",
|
||||
"class_name": "StringValue",
|
||||
"properties": {
|
||||
"Value": {
|
||||
"Type": "String",
|
||||
"Value": "I'm supposed to put funny text here, aren't I? Oh well."
|
||||
}
|
||||
},
|
||||
"children": [],
|
||||
"metadata": {
|
||||
"ignore_unknown_instances": true,
|
||||
"source_path": "src/StringValue.txt",
|
||||
"project_definition": null
|
||||
}
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
|
||||
6
test-projects/meta_files/src/DisableMe.meta.json
Normal file
6
test-projects/meta_files/src/DisableMe.meta.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"ignoreUnknownInstances": true,
|
||||
"properties": {
|
||||
"Disabled": true
|
||||
}
|
||||
}
|
||||
0
test-projects/meta_files/src/DisableMe.server.lua
Normal file
0
test-projects/meta_files/src/DisableMe.server.lua
Normal file
2
test-projects/meta_files/src/LocalizationTable.csv
Normal file
2
test-projects/meta_files/src/LocalizationTable.csv
Normal file
@@ -0,0 +1,2 @@
|
||||
Key,Source,Context,Example,en
|
||||
Doge,Perro!,,A funny dog,Doge!
|
||||
|
5
test-projects/meta_files/src/LocalizationTable.meta.json
Normal file
5
test-projects/meta_files/src/LocalizationTable.meta.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"properties": {
|
||||
"SourceLocaleId": "es"
|
||||
}
|
||||
}
|
||||
3
test-projects/meta_files/src/RobloxInstance.meta.json
Normal file
3
test-projects/meta_files/src/RobloxInstance.meta.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"ignoreUnknownInstances": true
|
||||
}
|
||||
11
test-projects/meta_files/src/RobloxInstance.rbxmx
Normal file
11
test-projects/meta_files/src/RobloxInstance.rbxmx
Normal file
@@ -0,0 +1,11 @@
|
||||
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
||||
<Meta name="ExplicitAutoJoints">true</Meta>
|
||||
<External>null</External>
|
||||
<External>nil</External>
|
||||
<Item class="Folder" referent="RBXFC73D3B1B4524E729A1563A276CBC702">
|
||||
<Properties>
|
||||
<string name="Name">Folder</string>
|
||||
<BinaryString name="Tags"></BinaryString>
|
||||
</Properties>
|
||||
</Item>
|
||||
</roblox>
|
||||
3
test-projects/meta_files/src/StringValue.meta.json
Normal file
3
test-projects/meta_files/src/StringValue.meta.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"ignoreUnknownInstances": true
|
||||
}
|
||||
1
test-projects/meta_files/src/StringValue.txt
Normal file
1
test-projects/meta_files/src/StringValue.txt
Normal file
@@ -0,0 +1 @@
|
||||
I'm supposed to put funny text here, aren't I? Oh well.
|
||||
Reference in New Issue
Block a user