Commit c36c2b3a authored by GunChleoc's avatar GunChleoc
Browse files

Put all info in optional template so that people can copy it

parent 743fbb37
{
"id": 0,
"original-language": "en",
"supporters": 0,
"published": "2017-12-15",
"pluxmlID": 0,
"background-color": "#FFFFFF",
"credits": {
"art":[
"David Revoy"
],
"scenario":[
"David Revoy"
],
"pre-production":[
"Nick",
"Name"
],
"proofreading":[
"Nick",
"Name"
],
"inspiration":[
"Nick",
"Name"
],
"script-doctor":[
"Nick",
"Name"
],
"special-thanks":[
"Nick",
"Name"
]
},
"software":[
{
"name": "Krita",
"version": "3.2.3"
}
],
......
......@@ -5,12 +5,14 @@
"published": "2017-12-15",
"pluxmlID": 0,
"background-color": "#FFFFFF",
"credits":[
{
"name": "Somebody",
"contribution":[ "really", "nice" ]
}
],
"credits": {
"art":[
"David Revoy"
],
"scenario":[
"David Revoy"
]
},
"software":[
{
"name": "Krita"
......
{
"credits": {
"translation":[
"Nick",
"Name"
],
"proofreading":[
"Nick",
"Name"
],
"editing":[
"Nick",
"Name"
]
},
"notes":[
{
"author": "The Artist",
......
{
"credits":[
{
"name": "Somebody",
"contribution":[ "really", "nice" ]
}
]
}
......@@ -64,22 +64,22 @@ def check_optional_key(key, mandatory_template, optional_template, contents, fil
# Fetch template for mandatory episode keys
templatefile = codecs.open(os.path.join(base_path, os.path.join(
'.ci', 'template_mandatory_info.json')), encoding='utf-8', mode='r')
'.ci', 'template_info_mandatory.json')), encoding='utf-8', mode='r')
mandatory_info_template = json.load(templatefile)
# Fetch template for optional episode keys
templatefile = codecs.open(os.path.join(base_path, os.path.join(
'.ci', 'template_optional_info.json')), encoding='utf-8', mode='r')
'.ci', 'template_info.json')), encoding='utf-8', mode='r')
optional_info_template = json.load(templatefile)
# Fetch template for mandatory lang keys
templatefile = codecs.open(os.path.join(base_path, os.path.join(
'.ci', 'template_mandatory_lang_info.json')), encoding='utf-8', mode='r')
'.ci', 'template_lang_info_mandatory.json')), encoding='utf-8', mode='r')
mandatory_lang_info_template = json.load(templatefile)
# Fetch template for optional lang keys
templatefile = codecs.open(os.path.join(base_path, os.path.join(
'.ci', 'template_optional_lang_info.json')), encoding='utf-8', mode='r')
'.ci', 'template_lang_info.json')), encoding='utf-8', mode='r')
optional_lang_info_template = json.load(templatefile)
# Walk directory
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment