diff --git a/Fk/LobbyElement/FilterRoom.qml b/Fk/LobbyElement/FilterRoom.qml index f310375f..b390fcb6 100644 --- a/Fk/LobbyElement/FilterRoom.qml +++ b/Fk/LobbyElement/FilterRoom.qml @@ -186,7 +186,7 @@ Flickable { } Button { - text: luatr("Filter") + text: luatr("OK") // width: 200 // enabled: !opTimer.running onClicked: { diff --git a/Fk/Pages/GeneralsOverview.qml b/Fk/Pages/GeneralsOverview.qml index 1d47987e..33c899e8 100644 --- a/Fk/Pages/GeneralsOverview.qml +++ b/Fk/Pages/GeneralsOverview.qml @@ -519,10 +519,12 @@ Item { } data.skill.forEach(t => { - generalText.append((t.is_related_skill ? "" : "") + luatr(t.name) + - ": " + t.description + (t.is_related_skill ? "" : "")); + if (!t.name.startsWith('#')) { + generalText.append((t.is_related_skill ? "" : "") + luatr(t.name) + + ": " + t.description + (t.is_related_skill ? "" : "")); - addSkillAudio(t.name); + addSkillAudio(t.name); + } }); findDeathAudio(general); diff --git a/Fk/util.js b/Fk/util.js index 730c7452..2c8c49d3 100644 --- a/Fk/util.js +++ b/Fk/util.js @@ -34,7 +34,7 @@ function processPrompt(prompt) { if (raw.match("%src")) raw = raw.replace(/%src/g, getPlayerStr(src)); if (raw.match("%dest")) - raw = raw.replace(/%dest/g, luatr(getPhoto(dest).general)); + raw = raw.replace(/%dest/g, getPlayerStr(dest)); if (data.length > 3) { for (let i = 4; i < data.length; i++) {