anki-dm icon indicating copy to clipboard operation
anki-dm copied to clipboard

Translated deck name

Open axelboc opened this issue 7 years ago • 2 comments

I've just finished putting the German translations into the data file of the Ultimate Geography deck. So easy!! Just a couple of questions regarding the build. (I'll create two separate issues.)

The German deck gets named Ultimate Geography[de]. Would it be possible to change the format to Ultimate Geography [DE] or Ultimate Geography (DE) ?

In the future, it may be worth making this configurable, perhaps through an option in the decks' build.json with a value of the sort: "$name ($CODE)". Not worth it for now, though.

axelboc avatar Aug 12 '18 11:08 axelboc

Sorry for the delay Axel.

The German deck gets named Ultimate Geography[de]. Would it be possible to change the format to Ultimate Geography [DE] or Ultimate Geography (DE) ?

Yeah, sure. I picked just the first name which had come to my mind. So we should think about how to make it configurable.

In the future, it may be worth making this configurable, perhaps through an option in the decks' build.json with a value of the sort: "$name ($CODE)". Not worth it for now, though.

Sure, that's possible. But shouldn't it be a global option instead? We could add it as a parameter to the "extra" section of composer.json.

OnkelTem avatar Aug 14 '18 09:08 OnkelTem

Sounds good! Just thought a sub-deck may want to use a different pattern but that doesn't really make sense... 😆

axelboc avatar Aug 14 '18 10:08 axelboc