summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAutomeris naranja <104251-automerisnaranja@users.noreply.gitlab.gnome.org>2023-02-14 14:58:38 -0300
committerNiels De Graef <nielsdegraef@gmail.com>2023-02-19 15:00:28 +0000
commitbe0725360c420dfa4c51fb407dd0bf83ffb412e9 (patch)
treee96be0837083346ba499496440bbd319b1045843
parentac2c001cef51f2c99e4c136631e4655a5c50ec8a (diff)
downloadgnome-contacts-be0725360c420dfa4c51fb407dd0bf83ffb412e9.tar.gz
general: Shorten tooltips
This change shorten tooltip texts (using header capitalization), following the tooltip examples provided by HIG. Tooltip examples can be seen at: https://developer.gnome.org/hig/patterns/feedback/tooltips.html
-rw-r--r--data/ui/contacts-main-window.ui2
-rw-r--r--src/contacts-preferences-window.vala2
2 files changed, 2 insertions, 2 deletions
diff --git a/data/ui/contacts-main-window.ui b/data/ui/contacts-main-window.ui
index 669db58..b79bcac 100644
--- a/data/ui/contacts-main-window.ui
+++ b/data/ui/contacts-main-window.ui
@@ -120,7 +120,7 @@
<child type="start">
<object class="GtkButton" id="add_button">
- <property name="tooltip-text" translatable="yes">Create new contact</property>
+ <property name="tooltip-text" translatable="yes">Add New Contact</property>
<property name="icon-name">list-add-symbolic</property>
<property name="action-name">win.new-contact</property>
</object>
diff --git a/src/contacts-preferences-window.vala b/src/contacts-preferences-window.vala
index 9c51210..1bb6e94 100644
--- a/src/contacts-preferences-window.vala
+++ b/src/contacts-preferences-window.vala
@@ -42,7 +42,7 @@ public class Contacts.PreferencesWindow : Adw.PreferencesWindow {
goa_button_content.icon_name = "external-link-symbolic";
var goa_button = new Gtk.Button ();
goa_button.set_child (goa_button_content);
- goa_button.tooltip_text = _("Opens the Online Accounts panel in GNOME Settings");
+ goa_button.tooltip_text = _("Open the Online Accounts panel in Settings");
goa_button.margin_top = 36;
goa_button.halign = Gtk.Align.CENTER;
goa_button.add_css_class ("pill");