Skip to content

Instantly share code, notes, and snippets.

@robotgryphon
Created May 31, 2016 18:42
Show Gist options
  • Save robotgryphon/48625dfa40b542c620a0675e91fbc27d to your computer and use it in GitHub Desktop.
Save robotgryphon/48625dfa40b542c620a0675e91fbc27d to your computer and use it in GitHub Desktop.
LangConvert: Real-World Test
tile.bedcraftbeyond {
// Beds
beds {
wooden.name: "Wooden Bed"
stone.name: "Stone Bed"
}
// Rugs
rug {
Black.name: "Black Rug"
Red.name: "Red Rug"
Green.name: "Green Rug"
Brown.name: "Brown Rug"
Blue.name: "Blue Rug"
Purple.name: "Purple Rug"
Cyan.name: "Cyan Rug"
LightGray.name: "Light Gray Rug"
Gray.name: "Gray Rug"
Pink.name: "Pink Rug"
Lime.name: "Lime Rug"
Yellow.name: "Yellow Rug"
LightBlue.name: "Light Blue Rug"
Magenta.name: "Magenta Rug"
Orange.name: "Orange Rug"
White.name: "White Rug"
}
}
// Items
item.bedcraftbeyond {
beds {
wooden.name: "Wooden Bed"
drawer.name: "Bed Drawer"
stone.name: "Stone Bed"
}
scissors.name: "Scissors"
drawerKey.name: "Drawer Key"
dyeBottle.name: "Bottle of Dye"
linens {
blankets.name: "Blankets"
sheets.name: "Sheets"
}
}
// Creative Tabs
itemGroup.bedcraftbeyond {
~: "BedCraft and Beyond"
beds: "BedCraft Beds"
}
bedcraftbeyond.frames {
// Commands - Frames / Errors and Messages
messages {
reset_complete: "Reset whitelist for type %s."
reset_entry_complete: "Reset whitelist for entry %s under type %s."
frame_valid: "Block %s (meta %s) is a valid frame type for %s."
frame_invalid: "Block %s (meta %s) is NOT a valid frame type for %s."
}
errors {
invalid_meta: "Invalid metadata for whitelist entry '%s': '%d'."
already_added: "Entry %s is already added to the whitelist for type %s."
already_added_meta: "Entry %s already has meta %s added to its whitelist for type %s."
not_valid_entry: "Invalid frame entry: %s is not in the valid frame list."
unknown_frame_type: "Unknown frame type."
no_frame_type: "No frame type selected."
}
// Frames Messages - Blacklisting
blacklisted {
~: "Successfully whitelisted %s (and its variants) to frame type %s."
fail: "Failed to whitelist %s (and its variants) to frame type %s."
by_meta {
~: "Successfully blacklisted %s (meta %s) to %s frame type."
fail: "Failed to blacklist %s (meta %s) to %s frame type."
}
}
// Frames Messages - Whitelisting
whitelisted {
~: "Successfully whitelisted %s (and its variants) to frame type %s."
fail: "Failed to whitelist %s (and its variants) to frame type %s."
by_meta {
~: "Successfully whitelisted %s (meta %s) to frame type %s."
fail: "Failed to whitelist %s (meta %s) to frame type %s."
}
}
}
# Beds
tile.bedcraftbeyond.beds.wooden.name=Wooden Bed
tile.bedcraftbeyond.beds.stone.name=Stone Bed
# Rugs
tile.bedcraftbeyond.rug.Black.name=Black Rug
tile.bedcraftbeyond.rug.Red.name=Red Rug
tile.bedcraftbeyond.rug.Green.name=Green Rug
tile.bedcraftbeyond.rug.Brown.name=Brown Rug
tile.bedcraftbeyond.rug.Blue.name=Blue Rug
tile.bedcraftbeyond.rug.Purple.name=Purple Rug
tile.bedcraftbeyond.rug.Cyan.name=Cyan Rug
tile.bedcraftbeyond.rug.LightGray.name=Light Gray Rug
tile.bedcraftbeyond.rug.Gray.name=Gray Rug
tile.bedcraftbeyond.rug.Pink.name=Pink Rug
tile.bedcraftbeyond.rug.Lime.name=Lime Rug
tile.bedcraftbeyond.rug.Yellow.name=Yellow Rug
tile.bedcraftbeyond.rug.LightBlue.name=Light Blue Rug
tile.bedcraftbeyond.rug.Magenta.name=Magenta Rug
tile.bedcraftbeyond.rug.Orange.name=Orange Rug
tile.bedcraftbeyond.rug.White.name=White Rug
# Items
item.bedcraftbeyond.beds.wooden.name=Wooden Bed
item.bedcraftbeyond.beds.drawer.name=Bed Drawer
item.bedcraftbeyond.beds.stone.name=Stone Bed
item.bedcraftbeyond.scissors.name=Scissors
item.bedcraftbeyond.drawerKey.name=Drawer Key
item.bedcraftbeyond.dyeBottle.name=Bottle of Dye
item.bedcraftbeyond.linens.blankets.name=Blankets
item.bedcraftbeyond.linens.sheets.name=Sheets
# Creative Tabs
itemGroup.bedcraftbeyond=BedCraft and Beyond
itemGroup.bedcraftbeyond.beds=BedCraft Beds
# Commands - Frames / Errors and Messages
bedcraftbeyond.frames.messages.reset_complete=Reset whitelist for type %s.
bedcraftbeyond.frames.messages.reset_entry_complete=Reset whitelist for entry %s under type %s.
bedcraftbeyond.frames.messages.frame_valid=Block %s (meta %s) is a valid frame type for %s.
bedcraftbeyond.frames.messages.frame_invalid=Block %s (meta %s) is NOT a valid frame type for %s.
bedcraftbeyond.frames.errors.invalid_meta=Invalid metadata for whitelist entry '%s': '%d'.
bedcraftbeyond.frames.errors.already_added=Entry %s is already added to the whitelist for type %s.
bedcraftbeyond.frames.errors.already_added_meta=Entry %s already has meta %s added to its whitelist for type %s.
bedcraftbeyond.frames.errors.not_valid_entry=Invalid frame entry: %s is not in the valid frame list.
bedcraftbeyond.frames.errors.unknown_frame_type=Unknown frame type.
bedcraftbeyond.frames.errors.no_frame_type=No frame type selected.
# Frames Messages - Blacklisting
bedcraftbeyond.frames.blacklisted=Successfully whitelisted %s (and its variants) to frame type %s.
bedcraftbeyond.frames.blacklisted.fail=Failed to whitelist %s (and its variants) to frame type %s.
bedcraftbeyond.frames.blacklisted.by_meta=Successfully blacklisted %s (meta %s) to %s frame type.
bedcraftbeyond.frames.blacklisted.by_meta.fail=Failed to blacklist %s (meta %s) to %s frame type.
# Frames Messages - Whitelisting
bedcraftbeyond.frames.whitelisted=Successfully whitelisted %s (and its variants) to frame type %s.
bedcraftbeyond.frames.whitelisted.fail=Failed to whitelist %s (and its variants) to frame type %s.
bedcraftbeyond.frames.whitelisted.by_meta=Successfully whitelisted %s (meta %s) to frame type %s.
bedcraftbeyond.frames.whitelisted.by_meta.fail=Failed to whitelist %s (meta %s) to frame type %s.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment