https://bugs.kde.org/show_bug.cgi?id=512187

--- Comment #6 from Ángel Navarro <[email protected]> ---
Alright, I'm doing a bit more of research all by myself.

First thing I notice:

// in frameworks / kirigami / src / controls / SearchField.qml

```
    placeholderText: qsTr("Search…")

    Accessible.name: qsTr("Search")
    Accessible.searchEdit: true

    focusSequences: [StandardKey.Find]
    inputMethodHints: Qt.ImhNoPredictiveText
    EnterKey.type: Qt.EnterKeySearch
    rightActions: [
        Kirigami.Action {
            icon.name: root.LayoutMirroring.enabled ?
"edit-clear-locationbar-ltr" : "edit-clear-locationbar-rtl"
            visible: root.text.length > 0
            text: qsTr("Clear search")
```

So I tried hardcoding text:

```
    placeholderText: "Buscar..."

    Accessible.name: "Buscar..."
```

Changing the second one didn't work but changing the first... That did change
the placeholder text.

So... typing a random string also worked:

```
    placeholderText: "Ataraxia..."
```

Hardcoding strings does work :D

So I tried to use a random string from the same systemsettings with qsTr():

```
    placeholderText: qsTr("Donate")
```

And it still remained in English.

That makes me think that qsTr() is not doing anything on that specific part of
the code.

It seems strange for me that I tried to set the "Select All" text as
"Search..." for its respective qsTr() and the "Select All" button still
remained select all but translated in Koko (the gallery) and its msgid's
appeared marked with #|

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to