GNOME Bugzilla – Bug 779872
weather: Provide weather_*_to_string_full() variants
Last modified: 2017-08-20 13:24:38 UTC
This came up when integrating weather information in gnome-shell, see bug 754031 (particularly https://bugzilla.gnome.org/show_bug.cgi?id=754031#c21 and https://bugzilla.gnome.org/show_bug.cgi?id=754031#c28).
Created attachment 347661 [details] [review] weather: Provide weather_*_to_string_full() variants Strings returned by the various weather_*_to-string() functions use sentence capitalization, which isn't always desirable. For the case where the strings are meant to be used within a sentence, add _full variants that take an additional flags parameter that allows requesting those.
Created attachment 347717 [details] [review] weather: Fix inconsistent capitalization All condition strings use sentence capitalization, except for a single case of header capitalization.
Created attachment 347718 [details] [review] weather: Don't CamelCase user-visible strings Some wind directions like "northeast" are currently using CamelCase, while others don't. Use the correct form consistently.
The next string freeze is approaching; I would really love to see this in 3.26.
Attachment 347661 [details] pushed as f39ee8b - weather: Provide weather_*_to_string_full() variants Attachment 347717 [details] pushed as 008987a - weather: Fix inconsistent capitalization Attachment 347718 [details] pushed as 9634dbe - weather: Don't CamelCase user-visible strings