[gnome-builder] Fix punctuation and grammar in newly added translatable strings
- From: Piotr Drąg <piotrdrag src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] Fix punctuation and grammar in newly added translatable strings
- Date: Mon, 18 Jul 2016 15:08:56 +0000 (UTC)
commit 9e77c69ca4ceed1a2d99c2cce4b8305c66554838
Author: Piotr Drąg <piotrdrag gmail com>
Date: Mon Jul 18 17:06:45 2016 +0200
Fix punctuation and grammar in newly added translatable strings
contrib/gstyle/gstyle-palette.c | 6 +++---
contrib/gstyle/ui/gstyle-color-panel.ui | 2 +-
plugins/color-picker/gb-color-picker-prefs.c | 4 ++--
plugins/color-picker/gtk/color-picker-prefs.ui | 12 ++++++------
plugins/color-picker/gtk/color-picker.ui | 2 +-
5 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/contrib/gstyle/gstyle-palette.c b/contrib/gstyle/gstyle-palette.c
index 347f1e4..5c4dcb1 100644
--- a/contrib/gstyle/gstyle-palette.c
+++ b/contrib/gstyle/gstyle-palette.c
@@ -592,7 +592,7 @@ gstyle_palette_new_from_gpl (GFile *file,
g_autofree gchar *uri = g_file_get_uri (file);
g_set_error (&tmp_error, GSTYLE_PALETTE_ERROR, GSTYLE_PALETTE_ERROR_EMPTY,
- _("%s : palette is empty\n"), uri);
+ _("%s: palette is empty\n"), uri);
}
if (tmp_error != NULL)
@@ -696,7 +696,7 @@ gstyle_palette_new_from_xml (GFile *file,
{
g_clear_object (&palette);
g_set_error (&tmp_error, GSTYLE_PALETTE_ERROR, GSTYLE_PALETTE_ERROR_PARSE,
- _("%s : failed to parse\n"), uri);
+ _("%s: failed to parse\n"), uri);
}
xmlTextReaderClose(reader);
@@ -742,7 +742,7 @@ gstyle_palette_new_from_file (GFile *file,
palette = gstyle_palette_new_from_gpl (file, cancellable, &tmp_error);
else
g_set_error (&tmp_error, GSTYLE_PALETTE_ERROR, GSTYLE_PALETTE_ERROR_FORMAT,
- _("%s : This file format is not supported\n"), uri);
+ _("%s: This file format is not supported\n"), uri);
/* TODO: check for duplicated color names */
diff --git a/contrib/gstyle/ui/gstyle-color-panel.ui b/contrib/gstyle/ui/gstyle-color-panel.ui
index 66b7591..11b1a1d 100644
--- a/contrib/gstyle/ui/gstyle-color-panel.ui
+++ b/contrib/gstyle/ui/gstyle-color-panel.ui
@@ -957,7 +957,7 @@
</child>
<child>
<object class="GtkLabel">
- <property name="label" translatable="yes">Load or generate a palette by using the
preferences</property>
+ <property name="label" translatable="yes">Load or generate a palette using the preferences</property>
<property name="wrap">true</property>
<property name="visible">true</property>
<style>
diff --git a/plugins/color-picker/gb-color-picker-prefs.c b/plugins/color-picker/gb-color-picker-prefs.c
index 96dafba..4822c87 100644
--- a/plugins/color-picker/gb-color-picker-prefs.c
+++ b/plugins/color-picker/gb-color-picker-prefs.c
@@ -598,11 +598,11 @@ gb_color_picker_prefs_init (GbColorPickerPrefs *self)
gtk_file_filter_add_pattern (self->gstyle_files_filter, "*.xml");
self->gpl_files_filter = g_object_ref_sink (gtk_file_filter_new ());
- gtk_file_filter_set_name (self->gpl_files_filter, _("Gimp palette"));
+ gtk_file_filter_set_name (self->gpl_files_filter, _("GIMP palette"));
gtk_file_filter_add_pattern (self->gpl_files_filter, "*.gpl");
self->builder_files_filter = g_object_ref_sink (gtk_file_filter_new ());
- gtk_file_filter_set_name (self->builder_files_filter, _("Gnome-builder palette"));
+ gtk_file_filter_set_name (self->builder_files_filter, _("GNOME Builder palette"));
gtk_file_filter_add_pattern (self->builder_files_filter, "*.xml");
g_signal_connect_swapped (self->load_palette_button, "clicked", G_CALLBACK
(load_palette_button_clicked_cb), self);
diff --git a/plugins/color-picker/gtk/color-picker-prefs.ui b/plugins/color-picker/gtk/color-picker-prefs.ui
index e42d2c5..ec998eb 100644
--- a/plugins/color-picker/gtk/color-picker-prefs.ui
+++ b/plugins/color-picker/gtk/color-picker-prefs.ui
@@ -29,7 +29,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
- <property name="label" translatable="yes">Visibility :</property>
+ <property name="label" translatable="yes">Visibility:</property>
<style>
<class name="cp-prefs-grouptitle"/>
</style>
@@ -45,7 +45,7 @@
<property name="can_focus">False</property>
<property name="margin_top">6</property>
<property name="margin_bottom">6</property>
- <property name="label" translatable="yes">Select the colorspaces for which you want to see sliders
in the panel.</property>
+ <property name="label" translatable="yes">Select the color spaces for which you want to see sliders
in the panel.</property>
<property name="justify">fill</property>
<property name="wrap">True</property>
<style>
@@ -122,7 +122,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
- <property name="label" translatable="yes">Units :</property>
+ <property name="label" translatable="yes">Units:</property>
<style>
<class name="cp-prefs-grouptitle"/>
</style>
@@ -218,7 +218,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
- <property name="label" translatable="yes">Visibility :</property>
+ <property name="label" translatable="yes">Visibility:</property>
<style>
<class name="cp-prefs-grouptitle"/>
</style>
@@ -382,7 +382,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
- <property name="label" translatable="yes">Palette view mode :</property>
+ <property name="label" translatable="yes">Palette view mode:</property>
<style>
<class name="cp-prefs-grouptitle"/>
</style>
@@ -443,7 +443,7 @@
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Swatchs</property>
+ <property name="label" translatable="yes">Swatches</property>
<style>
<class name="cp-prefs-grouptitle"/>
</style>
diff --git a/plugins/color-picker/gtk/color-picker.ui b/plugins/color-picker/gtk/color-picker.ui
index 37cb141..557825e 100644
--- a/plugins/color-picker/gtk/color-picker.ui
+++ b/plugins/color-picker/gtk/color-picker.ui
@@ -58,7 +58,7 @@
</child>
<child>
<object class="GtkLabel">
- <property name="label" translatable="yes">Try loading or generating a palette by using the
menu</property>
+ <property name="label" translatable="yes">Try loading or generating a palette using the
menu</property>
<property name="wrap">true</property>
<property name="visible">true</property>
<style>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]