Pad_Pors
(Pad Pors)
1
I want to translate the “esc” string in the admin panel, but it seems not to be there.
I mean the esc that is written top right of the blue message in the composer (it’s in several similar educational messages):
can someone help me if you know the code.name of the string?
3 Likes
Johani
(Joe)
2
The reason you can’t find it is because we’re not using an actual string here, but we should be.
It’s currently set in CSS here
https://github.com/discourse/discourse/blob/62ebfbbb67f75d6e09955f5ef56f2abd62fd6da5/app/assets/stylesheets/desktop/compose.scss#L132
We’ll get that sorted, but you can add this to your theme if you want a quick fix.
.composer-popup {
a.close:before {
content: "esc"; // change to the desired text
}
}
7 Likes
system
(system)
Closed
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.