Commit 0c9657c0 authored by Martin Hatina's avatar Martin Hatina Committed by Marek Kašík

notifications: replace unclear Banner term in UI

Users are not familiar with term 'banner', so it is replaced with
term 'popup'. Also description has been added to the notifications
and popups switches, which explains why someone might want to disable
popups but leave notifications enabled.

https://bugzilla.gnome.org/show_bug.cgi?id=751369
parent 1e7631d8
......@@ -157,19 +157,54 @@
<property name="margin_top">12</property>
<property name="margin_bottom">12</property>
<child>
<object class="GtkLabel" id="notification-banners-label">
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="xalign">0</property>
<property name="margin_end">15</property>
<property name="label" translatable="yes" context="notifications">Notification _Banners</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">notification-banners-switch</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel" id="notification-banners-label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="xalign">0</property>
<property name="margin_end">15</property>
<property name="label" translatable="yes" context="notifications">Notification _Popups</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">notification-banners-switch</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="notification-banners-info">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="max-width-chars">42</property>
<property name="wrap-mode">word</property>
<property name="label" translatable="yes">Notifications will continue to appear in the notification list when popups are disabled.</property>
<property name="wrap">True</property>
<property name="lines">-1</property>
<property name="xalign">0</property>
<style>
<class name="dim-label"/>
</style>
<attributes>
<attribute name="scale" value="0.83"/>
</attributes>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
......@@ -185,7 +220,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
<property name="position">2</property>
</packing>
</child>
</object>
......@@ -215,7 +250,7 @@
<property name="vexpand">True</property>
<property name="xalign">0</property>
<property name="margin_end">15</property>
<property name="label" translatable="yes" context="notifications" comments="Banners here refers to message tray notifications in the middle of the screen.">Show Message _Content in Banners</property>
<property name="label" translatable="yes" context="notifications" comments="Popups here refers to message tray notifications in the middle of the screen.">Show Message _Content in Popups</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">notification-banners-content-switch</property>
</object>
......
......@@ -58,7 +58,7 @@
<property name="margin_bottom">8</property>
<property name="hexpand">True</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">Notification _Banners</property>
<property name="label" translatable="yes">Notification _Popups</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">ccnotify-switch-banners</property>
</object>
......
Markdown is supported
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