Skip to content

Commit

Permalink
Add translations
Browse files Browse the repository at this point in the history
  • Loading branch information
HylianFreddy committed Mar 14, 2024
1 parent 50d6cc5 commit 96bd9e0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
13 changes: 7 additions & 6 deletions source/custom_messages.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1058,12 +1058,13 @@ void CreateAlwaysIncludedMessages() {

// Triforce Piece
{
Text triforceMsg =
Text{ /*english*/ "You found a piece of the #Triforce#!&You have #" + TRIFORCE_PIECE_COUNT() + "#!",
/*french */ "",
/*spanish*/ "",
/*italian*/ "Hai ottenuto un frammento della #Triforza#!&Ne hai #" + TRIFORCE_PIECE_COUNT() + "#!",
/*german */ "" };
Text triforceMsg = Text{
/*english*/ "You found a piece of the #Triforce#!&You have #" + TRIFORCE_PIECE_COUNT() + "#!",
/*french */ "Vous obtenez un morceau de la #Triforce#!&Vous en avez #" + TRIFORCE_PIECE_COUNT() + "#!",
/*spanish*/ "¡Has encontrado un fragmento de la Trifuerza!&¡Tienes #" + TRIFORCE_PIECE_COUNT() + "#!",
/*italian*/ "Hai trovato un frammento della #Triforza#!&Ne hai #" + TRIFORCE_PIECE_COUNT() + "#!",
/*german */ "Du hast ein Teil des #Triforce# gefunden!&Du hast jetzt #" + TRIFORCE_PIECE_COUNT() + "#!"
};
CreateMessageFromTextObject(0x9003, 0, 2, 3, AddColorsAndFormat(triforceMsg, { QM_RED, QM_RED }));
}
}
Expand Down
7 changes: 4 additions & 3 deletions source/shops.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -664,9 +664,10 @@ void InitTrickNames() {
Text{ "Piece of Heart", "Cœur d'énergie", "Pieza de corazón", "Frammento di cuore", "Herzteil" }
};
trickNameTable[GI_TRIFORCE_PIECE] = {
Text{ "Piece of Cheese", "Morceau de Fromage", "Piece of Cheese", "Frammento di Formaggio", "Piece of Cheese" },
Text{ "Triforce Shard", "Éclat de Triforce", "Triforce Shard", "Pezzo della Triforza", "Triforce Shard" },
Text{ "Shiny Rock", "Caiiloux Brillant", "Shiny Rock", "Oro 24K", "Shiny Rock" }
Text{ "Piece of Cheese", "Morceau de Fromage", "Fragmento de queso", "Frammento di Formaggio", "Stück Käse" },
Text{ "Triforce Shard", "Éclat de Triforce", "Pedazo de la Trifuerza", "Pezzo della Triforza",
"Triforce-Scherbe" },
Text{ "Shiny Rock", "Caiiloux Brillant", "Piedra brillante", "Oro 24K", "Glitzernden Stein" }
};

/*
Expand Down

0 comments on commit 96bd9e0

Please sign in to comment.