Translation Changelog - Lightman314/LightmansCurrency GitHub Wiki
After completing v2.2.5.0 I've now started keeping a log of additions & removals from the language/translation files added by my mod and noting them here. Changes noted in the Pending Build section are coming in a future update and are subject to change, but should allow translators to preemptively translate any newly added blocks, items, tooltips and/or menus.
Multi-Line Translations
I have several instances "multi-line" text that support a flexible line counts. These are noted by a bold Mult-line text after the initial translation key (e.g. "some.translation.key.*") followed by several smaller bullet points of
*.#indicating the line number. Under most conditions, you can simply translate this text directly (i.e.
"some.translation.key.1":"example of the first line"`), but there are also ways to add/remove lines from your translation file.
ADDING LINES
Adding lines is a super-easy process. Simply just add an extra translation for the next number in the sequence (i.e. assuming 3 existing lines, you can simply add a new translation for "some.translation.key.4":"Example Text"
) and it'll be detected automatically and displayed in-game with no extra fuss. Theoretically you can add nearly infinite lines to a multi-line text instance, but I should note that going too crazy with these can result in text and/or tooltips being drawn in weird placed and/or not fitting on the screen. I should also note that the lines must be in numerical order, so if you have lines 1,2,3, and 5 the system will check for line 4 and when it's not found it won't bother to check if line 5 exists.
REMOVING LINES
Removing lines is unfortunately a slightly more difficult process as the english translations are always loaded in the background, meaning that if you can fit all 3 lines of the english text in only 1 or 2 lines in your language there is a slightly more difficult process to follow. Fortunately there is a workaround, and to force a line to be ignored you can simply replace the translation with nothing but it's translation key (i.e. "some.translation.key.3":"some.translation.key.3"
) and it'll ignore that line
Changelog
Pending Build
Added
- "command.lightmanscurrency.lcadmin.viewWallet.empty": "%s does not have a wallet equipped"
- "command.lightmanscurrency.lcadmin.viewWallet.success": "%1$s has a %2$s equipped"
- "rei.lightmanscurrency.group.display_case": "Display Cases"
- "data.lightmanscurrency.category.trader_bank": "Trader Bank Settings"
- "data.lightmanscurrency.name.store_money_in_creative": "Store Money in Creative"
- "gui.lightmanscurrency.trader.paygate.tooltip": "Tooltip:"
- "block.lightmanscurrency.money_bag": "Money Bag"
- "data.lightmanscurrency.category.input_settings": "Input/Output Settings"
- "data.lightmanscurrency.category.trader_display": "Trader Display Settings"
- "data.lightmanscurrency.name.creative": "Creative"
- "data.lightmanscurrency.name.input_output_sides": "Input/Output Side: "
- "data.lightmanscurrency.name.trader_name": "Trader Name"
- "notifications.source.event": "Events"
- "tooltip.lightmanscurrency.container_item.loot_table": "Has Loot Table '%s'"
- "tooltip.lightmanscurrency.money_bag.X" Multi-Line
- "*.1":"Money Bag: When placed, up to 576 coins can be inserted by interacting with the bag while holding a coin"
- "*.2": "Interacting with the bag with an empty hand will extract a random coin from the bag"
- "*.3": "When mined the bag will drop with the coins still inside"
- "*.4": "Bag increases in size the more coins are contained within"
- "*.5": "In a pinch a sufficiently full bag can be used as a blunt weapon"
- "tooltip.lightmanscurrency.money_bag.size": "Bag Size: %s"
Changed
- "tooltip.lightmanscurrency.coinjar.holdshift": "Hold SHIFT to view contents" ORIGINAL (Removed)
- "tooltip.lightmanscurrency.coinjar.holdctrl": "Hold CTRL to view contents" NEW
2.2.5.0
Start of Logs