Verified Commit a03bb799 authored by Fushan Wen's avatar Fushan Wen 💬
Browse files

applets/weather: improve "needs configuration" tooltip

parent 83d8d137
......@@ -378,7 +378,7 @@ Item {
// workaround for now to ensure "Please configure" tooltip
// TODO: remove when configurationRequired works
Plasmoid.icon: needsConfiguration ? "configure" : generalModel.currentConditionIconName
Plasmoid.toolTipMainText: needsConfiguration ? i18nc("@info:tooltip", "Please configure") : generalModel.location
Plasmoid.toolTipMainText: needsConfiguration ? i18nc("@info:tooltip %1 is the translated plasmoid name", "Click to configure %1", Plasmoid.title) : generalModel.location
Plasmoid.toolTipSubText: {
if (!generalModel.location) {
return "";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment