1
0
Fork 0

German translation: Anvils, banners

This commit is contained in:
Wuzzy 2019-03-14 04:47:56 +01:00
parent b72afa7e62
commit 7be98bfce0
5 changed files with 206 additions and 98 deletions

View File

@ -0,0 +1,13 @@
# textdomain: mcl_anvils
Set Name=Name setzen
Anvil=Amboss
The anvil allows you to repair tools and armor, and to give names to items. It has a limited durability, however. Don't let it fall on your head, it could be quite painful!=Der Amboss ermöglicht es, Werkzeuge und Rüstung zu reparieren und Gegenstände zu benennen. Er hat jedoch eine begrenzte Lebensdauer. Lassen Sie ihn nicht auf Ihren Kopf fallen, das könnte ziemlich schmerzhaft sein!
To use an anvil, rightclick it. An anvil has 2 input slots (on the left) and one output slot.=Um einen Amboss zu benutzen, rechtsklicken Sie auf ihn. Ein Amboss hat 2 Eingabeplätze (links) und einen Ausgabeplatz (rechts).
To rename items, put an item stack in one of the item slots while keeping the other input slot empty. Type in a name, hit enter or “Set Name”, then take the renamed item from the output slot.=Um Gegenstände umzubenennen, platzieren Sie einen Gegenstand in einen der Eingangsplätze und lassen Sie den anderen frei. Geben Sie einen Namen ein und drücken Sie die Eingabetaste oder „Name setzen”, dann nehmen Sie den umbenannten Gegenstand an sich.
There are two possibilities to repair tools (and armor):=Es gibt zwei Möglichkeiten, Werkzeuge (und Rüstung) zu reparieren:
• Tool + Tool: Place two tools of the same type in the input slots. The “health” of the repaired tool is the sum of the “health” of both input tools, plus a 12% bonus.=• Werkzeug + Werkzeug: Platzieren sie zwei gleiche Werkzeuge in die Eingangsplätze. Der Zustand des reparierten Werkzeugs ist die Summe des Zustands beider Eingangswerkzeuge, plus einem Bonus von 12%.
• Tool + Material: Some tools can also be repaired by combining them with an item that it's made of. For example, iron pickaxes can be repaired with iron ingots. This repairs the tool by 25%.=• Werkzeug + Material: Einige Werkzeuge können auch repariert werden, indem man sie mit einem Gegenstand, aus dem sie gemacht worden sind, kombiniert. Zum Beispiel können Eisenspitzhacken mit Eisenbarren repariert werden. Dadurch wird das Werkzeug um 25% repariert.
Armor counts as a tool. It is possible to repair and rename a tool in a single step.=Rüstung zählt als Werkzeug. Es ist möglich, ein Werkzeug in einem Arbeitsschritt zu reparieren und zu benennen.
The anvil has limited durability and 3 damage levels: undamaged, slightly damaged and very damaged. Each time you repair or rename something, there is a 12% chance the anvil gets damaged. Anvils also have a chance of being damaged when they fall by more than 1 block. If a very damaged anvil is damaged again, it is destroyed.=Der Amboss hat begrenze Lebensdauer und 3 Schadensstufen: Kein Schaden, leicht beschädigt, und stark beschädigt. Jedes mal, wenn Sie etwas reparieren oder umbenennen, gibt es eine 12%-ige Chance, dass der Amboss Schaden nimmt. Ambosse können auch beschädigt werden, wenn sie um mehr als 1 Block fallen. Wenn ein sehr beschädigter Amboss erneut beschädigt wird, wird er zerstört.
Slightly Damaged Anvil=Leicht beschädigter Amboss
Very Damaged Anvil=Stark beschädigter Amboss

View File

@ -1,4 +1,5 @@
local S = minetest.get_translator("mcl_banners") local S = minetest.get_translator("mcl_banners")
local N = function(s) return s end
local node_sounds local node_sounds
if minetest.get_modpath("mcl_sounds") then if minetest.get_modpath("mcl_sounds") then
@ -16,22 +17,22 @@ mcl_banners = {}
mcl_banners.colors = { mcl_banners.colors = {
-- Format: -- Format:
-- [ID] = { banner description, wool, unified dyes color group, overlay color, dye, color name for emblazonings } -- [ID] = { banner description, wool, unified dyes color group, overlay color, dye, color name for emblazonings }
["unicolor_white"] = {"white", S("White Banner"), "mcl_wool:white", "#FFFFFF", "mcl_dye:white", "White" }, ["unicolor_white"] = {"white", S("White Banner"), "mcl_wool:white", "#FFFFFF", "mcl_dye:white", N("White") },
["unicolor_darkgrey"] = {"grey", S("Grey Banner"), "mcl_wool:grey", "#303030", "mcl_dye:dark_grey", "Grey" }, ["unicolor_darkgrey"] = {"grey", S("Grey Banner"), "mcl_wool:grey", "#303030", "mcl_dye:dark_grey", N("Grey") },
["unicolor_grey"] = {"silver", S("Light Grey Banner"), "mcl_wool:silver", "#5B5B5B", "mcl_dye:grey", "Light Grey" }, ["unicolor_grey"] = {"silver", S("Light Grey Banner"), "mcl_wool:silver", "#5B5B5B", "mcl_dye:grey", N("Light Grey") },
["unicolor_black"] = {"black", S("Black Banner"), "mcl_wool:black", "#000000", "mcl_dye:black", "Black" }, ["unicolor_black"] = {"black", S("Black Banner"), "mcl_wool:black", "#000000", "mcl_dye:black", N("Black") },
["unicolor_red"] = {"red", S("Red Banner"), "mcl_wool:red", "#BC0000", "mcl_dye:red", "Red" }, ["unicolor_red"] = {"red", S("Red Banner"), "mcl_wool:red", "#BC0000", "mcl_dye:red", N("Red") },
["unicolor_yellow"] = {"yellow", S("Yellow Banner"), "mcl_wool:yellow", "#E6CD00", "mcl_dye:yellow", "Yellow" }, ["unicolor_yellow"] = {"yellow", S("Yellow Banner"), "mcl_wool:yellow", "#E6CD00", "mcl_dye:yellow", N("Yellow") },
["unicolor_dark_green"] = {"green", S("Green Banner"), "mcl_wool:green", "#006000", "mcl_dye:dark_green", "Green" }, ["unicolor_dark_green"] = {"green", S("Green Banner"), "mcl_wool:green", "#006000", "mcl_dye:dark_green", N("Green") },
["unicolor_cyan"] = {"cyan", S("Cyan Banner"), "mcl_wool:cyan", "#00ACAC", "mcl_dye:cyan", "Cyan" }, ["unicolor_cyan"] = {"cyan", S("Cyan Banner"), "mcl_wool:cyan", "#00ACAC", "mcl_dye:cyan", N("Cyan") },
["unicolor_blue"] = {"blue", S("Blue Banner"), "mcl_wool:blue", "#0000AC", "mcl_dye:blue", "Blue" }, ["unicolor_blue"] = {"blue", S("Blue Banner"), "mcl_wool:blue", "#0000AC", "mcl_dye:blue", N("Blue") },
["unicolor_red_violet"] = {"magenta", S("Magenta Banner"), "mcl_wool:magenta", "#AC007C", "mcl_dye:magenta", "Magenta"}, ["unicolor_red_violet"] = {"magenta", S("Magenta Banner"), "mcl_wool:magenta", "#AC007C", "mcl_dye:magenta", N("Magenta")},
["unicolor_orange"] = {"orange", S("Orange Banner"), "mcl_wool:orange", "#E67300", "mcl_dye:orange", "Orange" }, ["unicolor_orange"] = {"orange", S("Orange Banner"), "mcl_wool:orange", "#E67300", "mcl_dye:orange", N("Orange") },
["unicolor_violet"] = {"purple", S("Purple Banner"), "mcl_wool:purple", "#6400AC", "mcl_dye:violet", "Violet" }, ["unicolor_violet"] = {"purple", S("Purple Banner"), "mcl_wool:purple", "#6400AC", "mcl_dye:violet", N("Violet") },
["unicolor_brown"] = {"brown", S("Brown Banner"), "mcl_wool:brown", "#603000", "mcl_dye:brown", "Brown" }, ["unicolor_brown"] = {"brown", S("Brown Banner"), "mcl_wool:brown", "#603000", "mcl_dye:brown", N("Brown") },
["unicolor_pink"] = {"pink", S("Pink Banner"), "mcl_wool:pink", "#DE557C", "mcl_dye:pink", "Pink" }, ["unicolor_pink"] = {"pink", S("Pink Banner"), "mcl_wool:pink", "#DE557C", "mcl_dye:pink", N("Pink") },
["unicolor_lime"] = {"lime", S("Lime Banner"), "mcl_wool:lime", "#30AC00", "mcl_dye:green", "Lime" }, ["unicolor_lime"] = {"lime", S("Lime Banner"), "mcl_wool:lime", "#30AC00", "mcl_dye:green", N("Lime") },
["unicolor_light_blue"] = {"light_blue", S("Light Blue Banner"), "mcl_wool:light_blue", "#4040CF", "mcl_dye:lightblue", "Light Blue" }, ["unicolor_light_blue"] = {"light_blue", S("Light Blue Banner"), "mcl_wool:light_blue", "#4040CF", "mcl_dye:lightblue", N("Light Blue") },
} }
local colors_reverse = {} local colors_reverse = {}

View File

@ -0,0 +1,76 @@
# textdomain: mcl_banners
White Banner=Weißes Banner
White=weiß
Grey Banner=Graues Banner
Grey=grau
Light Grey Banner=Hellgraues Banner
Light Grey=hellgrau
Black Banner=Schwarzes Banner
Black=schwarz
Red Banner=Rotes Banner
Red=rot
Yellow Banner=Gelbes Banner
Yellow=gelb
Green Banner=Grünes Banner
Green=grün
Cyan Banner=Türkises Banner
Cyan=türkis
Blue Banner=Blaues Banner
Blue=blau
Magenta Banner=Magenta Banner
Magenta=magenta
Orange Banner=Orange Banner
Orange=orange
Purple Banner=Violettes Banner
Purple=violett
Brown Banner=Braunes Banner
Brown=braun
Pink Banner=Rosanes Banner
Pink=rosa
Lime Banner=Lindgrünes Banner
Lime=lindgrün
Light Blue Banner=Hellblaues Banner
Light Blue=hellblau
Banners are tall colorful decorative blocks. They can be placed on the floor and at walls. Banners can be emblazoned with a variety of patterns using a lot of dye in crafting.=Banner sind hohe farbige dekorative Blöcke. Sie können auf dem Boden und an Wände platziert werden. Banner können mit einer Vielzahl von Mustern mit Hilfe von Farbstoffen in der Fertigung bemalt werden.
Use crafting to draw a pattern on top of the banner. Emblazoned banners can be emblazoned again to combine various patterns. You can draw up to 12 layers on a banner that way. If the banner includes a gradient, only 3 layers are possible.=Benutzen Sie die Fertigung, um ein Muster auf einem Banner zu malen. Bemalte Banner können erneut bemalt werden, um verschiedene Muster zu ergeben. Sie können bis zu 12 Schichten auf einen Banner malen. Wenn ein Banner einen Farbverlauf hat, sind nur 3 Schichten möglich.
You can copy the pattern of a banner by placing two banners of the same color in the crafting grid—one needs to be emblazoned, the other one must be clean. Finally, you can use a banner on a cauldron with water to wash off its top-most layer.=Sie können ein Muster eines Banners kopieren, indem Sie zwei Banner der selben Grundfarbe in das Fertigungsgitter platzieren: Das eine muss bemalt sein, das andere leer. Außerdem können Sie ein Banner an einem Kessel mit Wasser benutzen, um seine oberste Schicht abzuwaschen.
@1 Bordure=Bord (@1)
@1 Bricks=Ziegel (@1)
@1 Roundel=Kugel (@1)
@1 Creeper Charge=Creeper-Figur (@1)
@1 Saltire=Andreaskreuz (@1)
@1 Bordure Indented=Gewellter Bord (@1)
@1 Per Bend Inverted=Schräglinke umgekehrte Teilung (@1)
@1 Per Bend Sinister Inverted=Schrägrechte umgekehrte Teilung (@1)
@1 Per Bend=Schräglinke Teilung (@1)
@1 Per Bend Sinister=Schrägrechte Teilung (@1)
@1 Flower Charge=Blumenfigur (@1)
@1 Gradient=Farbverlauf (@1)
@1 Base Gradient=Fußfarbverlauf (@1)
@1 Per Fess Inverted=Umgekehrte Teilung (@1)
@1 Per Fess=Teilung (@1)
@1 Per Pale=Spaltung (@1)
@1 Per Pale Inverted=Umgekehrte Spaltung (@1)
@1 Thing Charge=Dingsfigur (@1)
@1 Lozenge=Raute (@1)
@1 Skull Charge=Totenkopffigur (@1)
@1 Paly=Pfähle (@1)
@1 Base Dexter Canton=Rechtes Untereck (@1)
@1 Base Sinister Canton=Linkes Untereck (@1)
@1 Chief Dexter Canton=Rechtes Obereck (@1)
@1 Chief Sinister Canton=Linkes Obereck (@1)
@1 Cross=Kreuz (@1)
@1 Base=Fuß (@1)
@1 Pale=Pfahl (@1)
@1 Bend Sinister=Schräglinksbalken (@1)
@1 Bend=Schrägbalken (@1)
@1 Pale Dexter=Rechte Flanke (@1)
@1 Fess=Balken (@1)
@1 Pale Sinister=Linke Flanke (@1)
@1 Chief=Haupt (@1)
@1 Chevron=Sparren (@1)
@1 Chevron Inverted=Gegensparren (@1)
@1 Base Indented=Gezackter Fuß (@1)
@1 Chief Indented=Gezacktes Haupt (@1)
And one additional layer=Und eine zusätzliche Schicht
And @1 additional layers=Und @1 zusätzliche Schichten

View File

@ -1,60 +1,76 @@
# textdomain: mcl_banners # textdomain: mcl_banners
White Banner= White Banner=
White=
Grey Banner= Grey Banner=
Grey=
Light Grey Banner= Light Grey Banner=
Light Grey=
Black Banner= Black Banner=
Black=
Red Banner= Red Banner=
Red=
Yellow Banner= Yellow Banner=
Yellow=
Green Banner= Green Banner=
Green=
Cyan Banner= Cyan Banner=
Cyan=
Blue Banner= Blue Banner=
Blue=
Magenta Banner= Magenta Banner=
Magenta=
Orange Banner= Orange Banner=
Orange=
Purple Banner= Purple Banner=
Violet=
Brown Banner= Brown Banner=
Brown=
Pink Banner= Pink Banner=
Pink=
Lime Banner= Lime Banner=
Lime=
Light Blue Banner= Light Blue Banner=
Light Blue=
Banners are tall colorful decorative blocks. They can be placed on the floor and at walls. Banners can be emblazoned with a variety of patterns using a lot of dye in crafting.= Banners are tall colorful decorative blocks. They can be placed on the floor and at walls. Banners can be emblazoned with a variety of patterns using a lot of dye in crafting.=
Use crafting to draw a pattern on top of the banner. Emblazoned banners can be emblazoned again to combine various patterns. You can draw up to 12 layers on a banner that way. If the banner includes a gradient, only 3 layers are possible.= Use crafting to draw a pattern on top of the banner. Emblazoned banners can be emblazoned again to combine various patterns. You can draw up to 12 layers on a banner that way. If the banner includes a gradient, only 3 layers are possible.=
You can copy the pattern of a banner by placing two banners of the same color in the crafting grid—one needs to be emblazoned, the other one must be clean. Finally, you can use a banner on a cauldron with water to wash off its top-most layer.= You can copy the pattern of a banner by placing two banners of the same color in the crafting grid—one needs to be emblazoned, the other one must be clean. Finally, you can use a banner on a cauldron with water to wash off its top-most layer.=
%s Bordure= @1 Bordure=
%s Bricks= @1 Bricks=
%s Roundel= @1 Roundel=
%s Creeper Charge= @1 Creeper Charge=
%s Saltire= @1 Saltire=
%s Bordure Indented= @1 Bordure Indented=
%s Per Bend Inverted= @1 Per Bend Inverted=
%s Per Bend Sinister Inverted= @1 Per Bend Sinister Inverted=
%s Per Bend= @1 Per Bend=
%s Per Bend Sinister= @1 Per Bend Sinister=
%s Flower Charge= @1 Flower Charge=
%s Gradient= @1 Gradient=
%s Base Gradient= @1 Base Gradient=
%s Per Fess Inverted= @1 Per Fess Inverted=
%s Per Fess= @1 Per Fess=
%s Per Pale= @1 Per Pale=
%s Per Pale Inverted= @1 Per Pale Inverted=
%s Thing Charge= @1 Thing Charge=
%s Lozenge= @1 Lozenge=
%s Skull Charge= @1 Skull Charge=
%s Paly= @1 Paly=
%s Base Dexter Canton= @1 Base Dexter Canton=
%s Base Sinister Canton= @1 Base Sinister Canton=
%s Chief Dexter Canton= @1 Chief Dexter Canton=
%s Chief Sinister Canton= @1 Chief Sinister Canton=
%s Cross= @1 Cross=
%s Base= @1 Base=
%s Pale= @1 Pale=
%s Bend Sinister= @1 Bend Sinister=
%s Bend= @1 Bend=
%s Pale Dexter= @1 Pale Dexter=
%s Fess= @1 Fess=
%s Pale Sinister= @1 Pale Sinister=
%s Chief= @1 Chief=
%s Chevron= @1 Chevron=
%s Chevron Inverted= @1 Chevron Inverted=
%s Base Indented= @1 Base Indented=
%s Chief Indented= @1 Chief Indented=
And one addional layer= And one additional layer=
And %d addional layers= And @1 additional layer(s)=

View File

@ -1,4 +1,5 @@
local S = minetest.get_translator("mcl_banners") local S = minetest.get_translator("mcl_banners")
local N = function(s) return s end
-- Pattern crafting. This file contains the code for crafting all the -- Pattern crafting. This file contains the code for crafting all the
-- emblazonings you can put on the banners. It's quite complicated; -- emblazonings you can put on the banners. It's quite complicated;
@ -19,99 +20,99 @@ local d = "group:dye" -- dye
local e = "" -- empty slot (one of them must contain the banner) local e = "" -- empty slot (one of them must contain the banner)
local patterns = { local patterns = {
["border"] = { ["border"] = {
name = S("%s Bordure"), name = N("@1 Bordure"),
{ d, d, d }, { d, d, d },
{ d, e, d }, { d, e, d },
{ d, d, d }, { d, d, d },
}, },
["bricks"] = { ["bricks"] = {
name = S("%s Bricks"), name = N("@1 Bricks"),
type = "shapeless", type = "shapeless",
{ e, "mcl_core:brick_block", d }, { e, "mcl_core:brick_block", d },
}, },
["circle"] = { ["circle"] = {
name = S("%s Roundel"), name = N("@1 Roundel"),
{ e, e, e }, { e, e, e },
{ e, d, e }, { e, d, e },
{ e, e, e }, { e, e, e },
}, },
["creeper"] = { ["creeper"] = {
name = S("%s Creeper Charge"), name = N("@1 Creeper Charge"),
type = "shapeless", type = "shapeless",
{ e, "mcl_heads:creeper", d }, { e, "mcl_heads:creeper", d },
}, },
["cross"] = { ["cross"] = {
name = S("%s Saltire"), name = N("@1 Saltire"),
{ d, e, d }, { d, e, d },
{ e, d, e }, { e, d, e },
{ d, e, d }, { d, e, d },
}, },
["curly_border"] = { ["curly_border"] = {
name = S("%s Bordure Indented"), name = N("@1 Bordure Indented"),
type = "shapeless", type = "shapeless",
{ e, "mcl_core:vine", d }, { e, "mcl_core:vine", d },
}, },
["diagonal_up_left"] = { ["diagonal_up_left"] = {
name = S("%s Per Bend Inverted"), name = N("@1 Per Bend Inverted"),
{ e, e, e }, { e, e, e },
{ d, e, e }, { d, e, e },
{ d, d, e }, { d, d, e },
}, },
["diagonal_up_right"] = { ["diagonal_up_right"] = {
name = S("%s Per Bend Sinister Inverted"), name = N("@1 Per Bend Sinister Inverted"),
{ e, e, e }, { e, e, e },
{ e, e, d }, { e, e, d },
{ e, d, d }, { e, d, d },
}, },
["diagonal_right"] = { ["diagonal_right"] = {
name = S("%s Per Bend"), name = N("@1 Per Bend"),
{ e, d, d }, { e, d, d },
{ e, e, d }, { e, e, d },
{ e, e, e }, { e, e, e },
}, },
["diagonal_left"] = { ["diagonal_left"] = {
name = S("%s Per Bend Sinister"), name = N("@1 Per Bend Sinister"),
{ d, d, e }, { d, d, e },
{ d, e, e }, { d, e, e },
{ e, e, e }, { e, e, e },
}, },
["flower"] = { ["flower"] = {
name = S("%s Flower Charge"), name = N("@1 Flower Charge"),
type = "shapeless", type = "shapeless",
{ e, "mcl_flowers:oxeye_daisy", d }, { e, "mcl_flowers:oxeye_daisy", d },
}, },
["gradient"] = { ["gradient"] = {
name = S("%s Gradient"), name = N("@1 Gradient"),
{ d, e, d }, { d, e, d },
{ e, d, e }, { e, d, e },
{ e, d, e }, { e, d, e },
}, },
["gradient_up"] = { ["gradient_up"] = {
name = S("%s Base Gradient"), name = N("@1 Base Gradient"),
{ e, d, e }, { e, d, e },
{ e, d, e }, { e, d, e },
{ d, e, d }, { d, e, d },
}, },
["half_horizontal_bottom"] = { ["half_horizontal_bottom"] = {
name = S("%s Per Fess Inverted"), name = N("@1 Per Fess Inverted"),
{ e, e, e }, { e, e, e },
{ d, d, d }, { d, d, d },
{ d, d, d }, { d, d, d },
}, },
["half_horizontal"] = { ["half_horizontal"] = {
name = S("%s Per Fess"), name = N("@1 Per Fess"),
{ d, d, d }, { d, d, d },
{ d, d, d }, { d, d, d },
{ e, e, e }, { e, e, e },
}, },
["half_vertical"] = { ["half_vertical"] = {
name = S("%s Per Pale"), name = N("@1 Per Pale"),
{ d, d, e }, { d, d, e },
{ d, d, e }, { d, d, e },
{ d, d, e }, { d, d, e },
}, },
["half_vertical_right"] = { ["half_vertical_right"] = {
name = S("%s Per Pale Inverted"), name = N("@1 Per Pale Inverted"),
{ e, d, d }, { e, d, d },
{ e, d, d }, { e, d, d },
{ e, d, d }, { e, d, d },
@ -119,126 +120,126 @@ local patterns = {
["thing"] = { ["thing"] = {
-- Symbol used for the “Thing”: U+1F65D 🙝 -- Symbol used for the “Thing”: U+1F65D 🙝
name = S("%s Thing Charge"), name = N("@1 Thing Charge"),
type = "shapeless", type = "shapeless",
-- TODO: Replace with enchanted golden apple -- TODO: Replace with enchanted golden apple
{ e, "mcl_core:apple_gold", d }, { e, "mcl_core:apple_gold", d },
}, },
["rhombus"] = { ["rhombus"] = {
name = S("%s Lozenge"), name = N("@1 Lozenge"),
{ e, d, e }, { e, d, e },
{ d, e, d }, { d, e, d },
{ e, d, e }, { e, d, e },
}, },
["skull"] = { ["skull"] = {
name = S("%s Skull Charge"), name = N("@1 Skull Charge"),
type = "shapeless", type = "shapeless",
{ e, "mcl_heads:wither_skeleton", d }, { e, "mcl_heads:wither_skeleton", d },
}, },
["small_stripes"] = { ["small_stripes"] = {
name = S("%s Paly"), name = N("@1 Paly"),
{ d, e, d }, { d, e, d },
{ d, e, d }, { d, e, d },
{ e, e, e }, { e, e, e },
}, },
["square_bottom_left"] = { ["square_bottom_left"] = {
name = S("%s Base Dexter Canton"), name = N("@1 Base Dexter Canton"),
{ e, e, e }, { e, e, e },
{ e, e, e }, { e, e, e },
{ d, e, e }, { d, e, e },
}, },
["square_bottom_right"] = { ["square_bottom_right"] = {
name = S("%s Base Sinister Canton"), name = N("@1 Base Sinister Canton"),
{ e, e, e }, { e, e, e },
{ e, e, e }, { e, e, e },
{ e, e, d }, { e, e, d },
}, },
["square_top_left"] = { ["square_top_left"] = {
name = S("%s Chief Dexter Canton"), name = N("@1 Chief Dexter Canton"),
{ d, e, e }, { d, e, e },
{ e, e, e }, { e, e, e },
{ e, e, e }, { e, e, e },
}, },
["square_top_right"] = { ["square_top_right"] = {
name = S("%s Chief Sinister Canton"), name = N("@1 Chief Sinister Canton"),
{ e, e, d }, { e, e, d },
{ e, e, e }, { e, e, e },
{ e, e, e }, { e, e, e },
}, },
["straight_cross"] = { ["straight_cross"] = {
name = S("%s Cross"), name = N("@1 Cross"),
{ e, d, e }, { e, d, e },
{ d, d, d }, { d, d, d },
{ e, d, e }, { e, d, e },
}, },
["stripe_bottom"] = { ["stripe_bottom"] = {
name = S("%s Base"), name = N("@1 Base"),
{ e, e, e }, { e, e, e },
{ e, e, e }, { e, e, e },
{ d, d, d }, { d, d, d },
}, },
["stripe_center"] = { ["stripe_center"] = {
name = S("%s Pale"), name = N("@1 Pale"),
{ e, d, e }, { e, d, e },
{ e, d, e }, { e, d, e },
{ e, d, e }, { e, d, e },
}, },
["stripe_downleft"] = { ["stripe_downleft"] = {
name = S("%s Bend Sinister"), name = N("@1 Bend Sinister"),
{ e, e, d }, { e, e, d },
{ e, d, e }, { e, d, e },
{ d, e, e }, { d, e, e },
}, },
["stripe_downright"] = { ["stripe_downright"] = {
name = S("%s Bend"), name = N("@1 Bend"),
{ d, e, e }, { d, e, e },
{ e, d, e }, { e, d, e },
{ e, e, d }, { e, e, d },
}, },
["stripe_left"] = { ["stripe_left"] = {
name = S("%s Pale Dexter"), name = N("@1 Pale Dexter"),
{ d, e, e }, { d, e, e },
{ d, e, e }, { d, e, e },
{ d, e, e }, { d, e, e },
}, },
["stripe_middle"] = { ["stripe_middle"] = {
name = S("%s Fess"), name = N("@1 Fess"),
{ e, e, e }, { e, e, e },
{ d, d, d }, { d, d, d },
{ e, e, e }, { e, e, e },
}, },
["stripe_right"] = { ["stripe_right"] = {
name = S("%s Pale Sinister"), name = N("@1 Pale Sinister"),
{ e, e, d }, { e, e, d },
{ e, e, d }, { e, e, d },
{ e, e, d }, { e, e, d },
}, },
["stripe_top"] = { ["stripe_top"] = {
name = S("%s Chief"), name = N("@1 Chief"),
{ d, d, d }, { d, d, d },
{ e, e, e }, { e, e, e },
{ e, e, e }, { e, e, e },
}, },
["triangle_bottom"] = { ["triangle_bottom"] = {
name = S("%s Chevron"), name = N("@1 Chevron"),
{ e, e, e }, { e, e, e },
{ e, d, e }, { e, d, e },
{ d, e, d }, { d, e, d },
}, },
["triangle_top"] = { ["triangle_top"] = {
name = S("%s Chevron Inverted"), name = N("@1 Chevron Inverted"),
{ d, e, d }, { d, e, d },
{ e, d, e }, { e, d, e },
{ e, e, e }, { e, e, e },
}, },
["triangles_bottom"] = { ["triangles_bottom"] = {
name = S("%s Base Indented"), name = N("@1 Base Indented"),
{ e, e, e }, { e, e, e },
{ d, e, d }, { d, e, d },
{ e, d, e }, { e, d, e },
}, },
["triangles_top"] = { ["triangles_top"] = {
name = S("%s Chief Indented"), name = N("@1 Chief Indented"),
{ e, d, e }, { e, d, e },
{ d, e, d }, { d, e, d },
{ e, e, e }, { e, e, e },
@ -267,14 +268,15 @@ mcl_banners.make_advanced_banner_description = function(description, layers)
-- Layer text line. -- Layer text line.
local color = mcl_banners.colors[layers[l].color][6] local color = mcl_banners.colors[layers[l].color][6]
local pattern_name = patterns[layers[l].pattern].name local pattern_name = patterns[layers[l].pattern].name
-- The pattern name is a format string (e.g. “%s Base”) -- The pattern name is a format string
table.insert(layerstrings, string.format(pattern_name, color)) -- (e.g. “@1 Base” → “Yellow Base”)
table.insert(layerstrings, S(pattern_name, S(color)))
end end
-- Warn about missing information -- Warn about missing information
if #layers == max_layer_lines + 1 then if #layers == max_layer_lines + 1 then
table.insert(layerstrings, S("And one addional layer")) table.insert(layerstrings, S("And one additional layer"))
elseif #layers > max_layer_lines + 1 then elseif #layers > max_layer_lines + 1 then
table.insert(layerstrings, string.format(S("And %d addional layers"), #layers - max_layer_lines)) table.insert(layerstrings, S("And @1 additional layers", #layers - max_layer_lines))
end end
-- Final string concatenations: Just a list of strings -- Final string concatenations: Just a list of strings