Use translated docs in PropertySelector
And do the dedent and stripping for both translated and non-translated strings for consistency, and so that we don't need to do it at the call site.
This commit is contained in:
parent
1a53ee66c1
commit
a16031beb6
5 changed files with 16 additions and 15 deletions
|
|
@ -357,7 +357,7 @@ void PropertySelector::_item_selected() {
|
|||
if (E) {
|
||||
for (int i = 0; i < E->get().properties.size(); i++) {
|
||||
if (E->get().properties[i].name == name) {
|
||||
text = E->get().properties[i].description;
|
||||
text = DTR(E->get().properties[i].description);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -372,7 +372,7 @@ void PropertySelector::_item_selected() {
|
|||
if (E) {
|
||||
for (int i = 0; i < E->get().methods.size(); i++) {
|
||||
if (E->get().methods[i].name == name) {
|
||||
text = E->get().methods[i].description;
|
||||
text = DTR(E->get().methods[i].description);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue