EngineHub / CraftBook

🔧 Machines, ICs, PLCs, and more!
https://enginehub.org/craftbook/
GNU General Public License v3.0
301 stars 160 forks source link

Duplicate placeholder in translation key #1329

Closed Tig3r98 closed 2 months ago

Tig3r98 commented 2 months ago

CraftBook Version

5.0.0-beta

Platform Version

Paper 1.20.4 493

Confirmations

Bug Description

The translation key craftbook.togglearea.deleted-area, as provided on Crowdin, has the following value: The area "{0}" within the "{0}" namespace has been deleted. The placeholder '{0}' is duplicated, it's clearly not meant to be.

Expected Behavior

The string should probably be: The area "{0}" within the "{1}" namespace has been deleted.

Reproduction Steps

None

Anything Else?

No response

me4502 commented 2 months ago

Fixed in https://github.com/EngineHub/CraftBook/commit/7c0b5747413a23ac202c0572a034b95bb48340a7