-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
40 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
...ava/name/ball/joshua/craftinomicon/recipe/i18n/numeric/GermanNumericMnemonicResolver.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package name.ball.joshua.craftinomicon.recipe.i18n.numeric; | ||
|
||
import name.ball.joshua.craftinomicon.recipe.i18n.NumericMnemonicResolver; | ||
|
||
public class GermanNumericMnemonicResolver implements NumericMnemonicResolver { | ||
|
||
@Override | ||
public Mnemonic resolve(int n) { | ||
if (n == 1) return Mnemonic.one; | ||
if (n == 2) return Mnemonic.two; // German doesn't actually have a special case for 2, but the translator chose to spell it out long hand. | ||
return Mnemonic.other; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
numeric.mnemonic.resolver = name.ball.joshua.craftinomicon.recipe.i18n.numeric.OneAndOtherNumericMnemonicResolver | ||
numeric.mnemonic.resolver = name.ball.joshua.craftinomicon.recipe.i18n.numeric.GermanNumericMnemonicResolver | ||
|
||
navigation.back = Zurück | ||
navigation.next = Vorwärts | ||
navigation.previous = Zurück | ||
recipe-click.num-recipes#few = ${num-recipes} recipes (Left-click) | ||
recipe-click.num-recipes#many = ${num-recipes} recipes (Left-click) | ||
recipe-click.num-recipes#one = 1 recipe (Left-click) | ||
recipe-click.num-recipes#other = ${num-recipes} recipes (Left-click) | ||
recipe-click.num-recipes#two = ${num-recipes} recipes (Left-click) | ||
recipe-click.num-recipes#few = ${num-recipes} Rezepte (Linksklick) | ||
recipe-click.num-recipes#many = ${num-recipes} Rezepte (Linksklick) | ||
recipe-click.num-recipes#one = 1 Rezept (Linksklick) | ||
recipe-click.num-recipes#other = ${num-recipes} Rezepte (Linksklick) | ||
recipe-click.num-recipes#two = ${num-recipes} Rezepte (Linksklick) | ||
title = Craftinomicon | ||
type.crafting = The above recipe is for placing in a crafting grid. | ||
type.furnace = The above recipe is for placing in a furnace. | ||
usage-click.num-usages#few = ${num-usages} usages (Right-click) | ||
usage-click.num-usages#many = ${num-usages} usages (Right-click) | ||
usage-click.num-usages#one = 1 usage (Right-click) | ||
usage-click.num-usages#other = ${num-usages} usages (Right-click) | ||
usage-click.num-usages#two = ${num-usages} usages (Right-click) | ||
type.crafting = Das oben angezeigte Rezept muss in einer Werkbank platziert werden. | ||
type.furnace = Das oben angezeigte Rezept muss in einem Ofen platziert werden. | ||
usage-click.num-usages#few = ${num-usages}-malige Benutzung (Rechtsklick) | ||
usage-click.num-usages#many = ${num-usages}-malige Benutzung (Rechtsklick) | ||
usage-click.num-usages#one = Einmalige Benutzung (Rechtsklick) | ||
usage-click.num-usages#other = ${num-usages}-malige Benutzung (Rechtsklick) | ||
usage-click.num-usages#two = Zweimalige Benutzung (Rechtsklick) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters