One more note: while fixing this, I found a bug in our code: for settings of enum type, if the settings schema was created from a .ini file, the VariantMap returned by the registry metdata() method returned the enumerators in a field named "displayValues". However, when the settings schema was created from a JSON string (as is the case for remote scopes), the same thing in in the VariantMap was in a field named "values".
I'm not sure whether that affects the shell; probably best to double- check. It is "displayValues" for both now. If the shell looks for "values" as the key for enum definitions in the scope metadata, it needs to use "displayValues" instead. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1393438 Title: "Enable location data" string displays untranslated To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/location-service/+bug/1393438/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
