Renamed default badge categories don't survive rebuild


(Michael Downey) #1

Steps to Reproduce:

  1. Rename a system-supplied badge category like “Trust Level” to something like “Discourse Trust Level”.

Expected behavior: The badge category name stays in its changed state until otherwise specified by the admin.

Actual behavior: When doing a ./launcher rebuild app the badge category reverts to “Trust Level”.


(Kane York) #2

Yeah, too much of the stuff reverts back to defaults.

Need to think about what should change and what should stay the same.


(Michael Downey) #3

Or at minimum, disable editing of those things that aren’t going to survive. :slight_smile:


(Anton) #4

I too struggle with this problem.
I have to rename the badge categories again and again.


(Gerhard Schlager) #5

You should use Customize -> Text Content to rename badge categories.

I sent a PR that will disable renaming system badge categories.


(Anton) #6

I still think there is a bug.

After the latest update I run yesterday, the badge grouping names got reset again:

However, just look at text customizations:

It can be seen that the translations are there already, but they aren’t used. Instead, the default English versions are used for some reason.

This makes me thing that customizing translation won’t work - because the translated strings are not used anyway.


(Gerhard Schlager) #7

If I’m not mistaken that dialog currently doesn’t use translations. You’ll have to wait until my PR gets merged.
However, your text customizations should be visible in http://<your-discourse-server>/badges.


(Régis Hanol) #8