Skip to content

Commit

Permalink
Use Unicode typography in user-visible strings
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrdrag committed Sep 2, 2018
1 parent f2f0ad9 commit 5b205c5
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions data/color-row.ui
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<object class="GtkEntry" id="entry">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip_text" translatable="yes">Click to change the color's name</property>
<property name="tooltip_text" translatable="yes">Click to change the colors name</property>
<property name="text" translatable="yes">Name</property>
<property name="caps_lock_warning">False</property>
<signal name="activate" handler="gcolor3_color_row_entry_activated" object="Gcolor3ColorRow" swapped="no"/>
Expand All @@ -65,7 +65,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="tooltip_text" translatable="yes">Copy this color's hex value to the clipboard</property>
<property name="tooltip_text" translatable="yes">Copy this colors hex value to the clipboard</property>
<property name="always_show_image">True</property>
<signal name="clicked" handler="gcolor3_color_row_copy_button_clicked" object="Gcolor3ColorRow" swapped="no"/>
<child>
Expand Down
2 changes: 1 addition & 1 deletion data/shortcuts.ui
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<object class="GtkShortcutsShortcut">
<property name="visible">1</property>
<property name="accelerator">&lt;ctrl&gt;c</property>
<property name="title" translatable="yes">Copy highlighted color's hex value</property>
<property name="title" translatable="yes">Copy highlighted colors hex value</property>
</object>
</child>
<child>
Expand Down
4 changes: 2 additions & 2 deletions data/window.ui
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="activates_default">True</property>
<property name="placeholder_text" translatable="yes">Color name...</property>
<property name="placeholder_text" translatable="yes">Color name</property>
<signal name="activate" handler="gcolor3_window_entry_activated" object="Gcolor3Window" swapped="no"/>
<signal name="key-press-event" handler="gcolor3_window_picker_page_key_handler" object="Gcolor3Window" swapped="no"/>
</object>
Expand Down Expand Up @@ -221,7 +221,7 @@
</object>
<packing>
<property name="name">page0</property>
<property name="title" translatable="yes">page0</property>
<property name="title">page0</property>
<property name="position">1</property>
</packing>
</child>
Expand Down
2 changes: 1 addition & 1 deletion src/gcolor3-color-store.c
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ gcolor3_color_store_rename_color (Gcolor3ColorStore *store,
}

if (!(g_key_file_has_key (priv->colors, "Colors", old_name, NULL))) {
g_warning (_("Cannot rename nonexisting color `%s`"), old_name);
g_warning (_("Cannot rename non-existing color `%s`"), old_name);
return FALSE;
}

Expand Down
6 changes: 3 additions & 3 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ _print_version_and_exit (UNUSED const gchar *name,
}

static const GOptionEntry options[] = {
{ "version", 'v', G_OPTION_FLAG_NO_ARG, G_OPTION_ARG_CALLBACK, _print_version_and_exit, N_("Show the application's version"), NULL },
{ "version", 'v', G_OPTION_FLAG_NO_ARG, G_OPTION_ARG_CALLBACK, _print_version_and_exit, N_("Show the applications version"), NULL },
{ NULL }
};

Expand All @@ -51,7 +51,7 @@ _parse_options (int argc, char **argv)
GError *error = NULL;
gboolean succes;

context = g_option_context_new (_("- pick a color from the picker or the screen"));
context = g_option_context_new (_(" pick a color from the picker or the screen"));
g_option_context_add_main_entries (context, options, GETTEXT_PACKAGE);
/* This initialises GTK during parsing. */
g_option_context_add_group (context, gtk_get_option_group (FALSE));
Expand All @@ -62,7 +62,7 @@ _parse_options (int argc, char **argv)
if (!succes) {
gchar *help;

help = g_strdup_printf (_("Run '%s --help' to see a full "
help = g_strdup_printf (_("Run %s --help to see a full "
"list of available command line "
"options"), argv[0]);
g_printerr ("%s\n%s\n", error->message, help);
Expand Down

0 comments on commit 5b205c5

Please sign in to comment.