[gnome-builder] Fix spelling of D-Bus in translatable strings
- From: Piotr Drąg <piotrdrag src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] Fix spelling of D-Bus in translatable strings
- Date: Wed, 24 Apr 2019 13:41:21 +0000 (UTC)
commit 1b241a5cd4ba0458985b8d2ef7ac7f9050ff5987
Author: Piotr Drąg <piotrdrag gmail com>
Date: Wed Apr 24 15:40:45 2019 +0200
Fix spelling of D-Bus in translatable strings
data/org.gnome.Builder.desktop.in.in | 2 +-
src/plugins/dspy/gbp-dspy-application-addin.c | 2 +-
src/plugins/dspy/gbp-dspy-workspace.ui | 2 +-
src/plugins/dspy/gtk/menus.ui | 4 ++--
src/plugins/dspy/libdspy/dspy-connection-button.c | 2 +-
src/plugins/dspy/libdspy/dspy-name-row.c | 2 +-
src/plugins/dspy/libdspy/dspy-signature.c | 2 +-
src/plugins/dspy/libdspy/dspy-view.c | 2 +-
8 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/data/org.gnome.Builder.desktop.in.in b/data/org.gnome.Builder.desktop.in.in
index 0da9eff45..9289958a1 100644
--- a/data/org.gnome.Builder.desktop.in.in
+++ b/data/org.gnome.Builder.desktop.in.in
@@ -32,5 +32,5 @@ Name=New Editor Workspace
Exec=gnome-builder --editor
[Desktop Action dspy]
-Name=DBus Inspector
+Name=D-Bus Inspector
Exec=gnome-builder --dspy
diff --git a/src/plugins/dspy/gbp-dspy-application-addin.c b/src/plugins/dspy/gbp-dspy-application-addin.c
index 0f274e707..a7c3d633d 100644
--- a/src/plugins/dspy/gbp-dspy-application-addin.c
+++ b/src/plugins/dspy/gbp-dspy-application-addin.c
@@ -44,7 +44,7 @@ gbp_dspy_application_addin_add_option_entries (IdeApplicationAddin *addin,
0,
G_OPTION_FLAG_IN_MAIN,
G_OPTION_ARG_NONE,
- _("Display DBus inspector"),
+ _("Display D-Bus inspector"),
NULL);
}
diff --git a/src/plugins/dspy/gbp-dspy-workspace.ui b/src/plugins/dspy/gbp-dspy-workspace.ui
index 3560e9fde..4d920eab4 100644
--- a/src/plugins/dspy/gbp-dspy-workspace.ui
+++ b/src/plugins/dspy/gbp-dspy-workspace.ui
@@ -10,7 +10,7 @@
<property name="visible">true</property>
<child type="title">
<object class="GtkLabel">
- <property name="label" translatable="yes">DBus Inspector</property>
+ <property name="label" translatable="yes">D-Bus Inspector</property>
<property name="visible">true</property>
<style>
<class name="title"/>
diff --git a/src/plugins/dspy/gtk/menus.ui b/src/plugins/dspy/gtk/menus.ui
index d39fe7b95..182b2938e 100644
--- a/src/plugins/dspy/gtk/menus.ui
+++ b/src/plugins/dspy/gtk/menus.ui
@@ -4,7 +4,7 @@
<section id="ide-primary-workspace-surfaces-menu-utils-section">
<item>
<attribute name="id">surface-menu-dspy</attribute>
- <attribute name="label" translatable="yes">DBus Inspector</attribute>
+ <attribute name="label" translatable="yes">D-Bus Inspector</attribute>
<attribute name="role">normal</attribute>
<attribute name="action">app.dspy</attribute>
<attribute name="verb-icon-name">org.gnome.dfeet-symbolic</attribute>
@@ -15,7 +15,7 @@
<section id="ide-editor-workspace-surfaces-menu-utils-section">
<item>
<attribute name="id">surface-menu-dspy</attribute>
- <attribute name="label" translatable="yes">DBus Inspector</attribute>
+ <attribute name="label" translatable="yes">D-Bus Inspector</attribute>
<attribute name="role">normal</attribute>
<attribute name="action">app.dspy</attribute>
<attribute name="verb-icon-name">org.gnome.dfeet-symbolic</attribute>
diff --git a/src/plugins/dspy/libdspy/dspy-connection-button.c
b/src/plugins/dspy/libdspy/dspy-connection-button.c
index 1f6b44450..bdd3ee04f 100644
--- a/src/plugins/dspy/libdspy/dspy-connection-button.c
+++ b/src/plugins/dspy/libdspy/dspy-connection-button.c
@@ -77,7 +77,7 @@ dspy_connection_button_query_tooltip (GtkWidget *widget,
if (bus != NULL && address != NULL)
{
- /* translators: %s is replaced with the address of the DBus */
+ /* translators: %s is replaced with the address of the D-Bus */
g_autofree gchar *text = g_strdup_printf (_("Connected to “%s”"), address);
gtk_tooltip_set_text (tooltip, text);
return TRUE;
diff --git a/src/plugins/dspy/libdspy/dspy-name-row.c b/src/plugins/dspy/libdspy/dspy-name-row.c
index 987e9ec0b..d4e87b3de 100644
--- a/src/plugins/dspy/libdspy/dspy-name-row.c
+++ b/src/plugins/dspy/libdspy/dspy-name-row.c
@@ -84,7 +84,7 @@ dspy_name_row_update (DspyNameRow *self)
if (pid > -1)
{
g_string_append (str, ", ");
- g_string_append_printf (str, _("%s: %u"), _("Pid"), pid);
+ g_string_append_printf (str, _("%s: %u"), _("PID"), pid);
}
gtk_label_set_label (self->subtitle, str->str);
diff --git a/src/plugins/dspy/libdspy/dspy-signature.c b/src/plugins/dspy/libdspy/dspy-signature.c
index 174a1b998..c9a713c92 100644
--- a/src/plugins/dspy/libdspy/dspy-signature.c
+++ b/src/plugins/dspy/libdspy/dspy-signature.c
@@ -75,7 +75,7 @@ _dspy_signature_humanize (const gchar *signature)
/* If this is a simple array of something else ... */
if ((found = g_hash_table_lookup (common, signature + 1)))
- /* translators: %s is replaced with the simple DBus type string */
+ /* translators: %s is replaced with the simple D-Bus type string */
return g_strdup_printf (_("Array of [%s]"), found);
return g_strdup (signature);
diff --git a/src/plugins/dspy/libdspy/dspy-view.c b/src/plugins/dspy/libdspy/dspy-view.c
index c420d7ec2..fd9317ad9 100644
--- a/src/plugins/dspy/libdspy/dspy-view.c
+++ b/src/plugins/dspy/libdspy/dspy-view.c
@@ -154,7 +154,7 @@ connection_got_error_cb (DspyView *self,
else if (g_error_matches (error, G_DBUS_ERROR, G_DBUS_ERROR_DISCONNECTED))
title = _("Lost Connection to Bus");
else
- title = _("DBus Connection Failed");
+ title = _("D-Bus Connection Failed");
dialog = gtk_message_dialog_new (GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (self))),
GTK_DIALOG_MODAL | GTK_DIALOG_USE_HEADER_BAR,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]