Extension talk:DiscordNotifications

Jump to navigation Jump to search

About this board

Jon Harald Søby (talkcontribs)

Hello Kulttuuri! I am translating this extension as we speak, but there are some problems. For messages like this one and this one, you have the action as a parameter inside a sentence, that doesn't work well with translations. For this specific message there are two actions: In Norwegian the translations would be "$1 har løst et innlegg i emnet $3" and "$1 har åpnet et innlegg i emnet $3 på nytt" (rough direct translation: "$1 has opened a post in the topic $3 again"). As you can see, the translation for the second action would be around the parameter $3, so it doesn't work. What you need to do is create separate messages for each of those cases.

Also, I noticed several messages that had mismatched parameters, for example $3 was used for both target page and reason in this one. There were more cases, so please check them thoroughly.

Lens0021 (talkcontribs)

The mismatched parameters are my faults. I has made a PR for that.

Kulttuuri (talkcontribs)

FYI; I've merged the PR fixing mismatched parameters.

Kulttuuri (talkcontribs)

@Lens0021 Could you have a look at the translation order problem? Would we need to update all current translations when changing the order?

Lens0021 (talkcontribs)

Refactoring is worth I think...

Reply to "i18n problems"
Innosflew (talkcontribs)

For some reason the webhook embeds some of the user urls and page urls, so makes every message taking up a huge space in the Discord text channel. What is causing this?

Deantwo (talkcontribs)
Reply to "The webhook embeds the links"
There are no older topics