wok-6.x rev 17368

gcolor2: use gtk-stock and theme icons (clean /usr/share/pixmaps), use XDG variable (clean ~), add palette, add translations.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 21 04:28:49 2014 +0200 (2014-11-21)
parents e3cc7eaaf433
children ae249db6d29c
files gcolor2/receipt gcolor2/stuff/gcolor2.desktop gcolor2/stuff/gcolor2.patch gcolor2/stuff/gcolor2.pot gcolor2/stuff/ru.po
line diff
     1.1 --- a/gcolor2/receipt	Thu Nov 20 21:01:38 2014 -0500
     1.2 +++ b/gcolor2/receipt	Fri Nov 21 04:28:49 2014 +0200
     1.3 @@ -9,16 +9,20 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WEB_SITE="http://gcolor2.sourceforge.net/"
     1.6  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
     1.7 +GENERIC_PIXMAPS="no"
     1.8  
     1.9 -DEPENDS="gtk+ xorg-libXdamage"
    1.10 -BUILD_DEPENDS="pkg-config gtk+ gtk+-dev perl-xml-parser file"
    1.11 +DEPENDS="gtk+"
    1.12 +SUGGESTED="xorg-rgb"
    1.13 +BUILD_DEPENDS="gtk+-dev file"
    1.14  
    1.15  # Rules to configure and make the package.
    1.16  compile_rules()
    1.17  {
    1.18 -	cd $src
    1.19 -	./configure --prefix=/usr --infodir=/usr/share/info \
    1.20 -	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.21 +	patch -p1 -i $stuff/gcolor2.patch
    1.22 +	cp $stuff/*.po* $src/po
    1.23 +	sed -i 's|@CATALOGS@|ru.gmo|' $src/po/Makefile.in.in
    1.24 +
    1.25 +	./configure $CONFIGURE_ARGS &&
    1.26  	make &&
    1.27  	make DESTDIR=$DESTDIR install
    1.28  }
    1.29 @@ -26,12 +30,7 @@
    1.30  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.31  genpkg_rules()
    1.32  {
    1.33 -	mkdir -p $fs/usr/share/applications
    1.34 -	cp -a $stuff/gcolor2.desktop $fs/usr/share/applications
    1.35 +	mkdir -p $fs/usr
    1.36  	cp -a $install/usr/bin $fs/usr
    1.37 -	
    1.38 -	cp -a $install/usr/share $fs/usr
    1.39 -	cd $fs/usr/share/pixmaps
    1.40 -	ln -s gcolor2/icon.png gcolor2.png
    1.41  }
    1.42  
     2.1 --- a/gcolor2/stuff/gcolor2.desktop	Thu Nov 20 21:01:38 2014 -0500
     2.2 +++ b/gcolor2/stuff/gcolor2.desktop	Fri Nov 21 04:28:49 2014 +0200
     2.3 @@ -1,13 +1,12 @@
     2.4  [Desktop Entry]
     2.5 -Encoding=UTF-8
     2.6 +Type=Application
     2.7  Name=Gcolor2 Color Selector
     2.8  Name[es]=Probador de colores Gcolor2
     2.9  Name[fr]=Sélècteur de couleurs Gcolor2 
    2.10  Name[pt]=Seletor de Cores Gcolor2
    2.11 +Name[ru]=Выбор цвета Gcolor2
    2.12  Name[pt_BR]=Seletor de Cores Gcolor2
    2.13  Name[zh_CN]=GColor2颜色选择
    2.14  Exec=gcolor2
    2.15  Icon=gcolor2
    2.16 -Type=Application
    2.17 -Terminal=false
    2.18 -Categories=Application;Graphics;
    2.19 +Categories=Graphics;
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/gcolor2/stuff/gcolor2.patch	Fri Nov 21 04:28:49 2014 +0200
     3.3 @@ -0,0 +1,287 @@
     3.4 +--- a/src/main.c
     3.5 ++++ b/src/main.c
     3.6 +@@ -17,7 +17,7 @@
     3.7 + 
     3.8 + void set_user_file ()
     3.9 + {
    3.10 +-	user_filename = g_strdup_printf ("%s/.rgb.txt", getenv ("HOME"));
    3.11 ++	user_filename = g_strconcat (g_get_user_data_dir(), "/.rgb.txt", NULL);
    3.12 + }
    3.13 + 
    3.14 + gchar* get_user_file ()
    3.15 +@@ -27,15 +27,9 @@
    3.16 + 
    3.17 + gboolean set_system_file ()
    3.18 + {
    3.19 +-	/* try a couple locations to find rgb.txt */
    3.20 ++	/* try location to find rgb.txt */
    3.21 + 	if (g_file_test (SYSTEM_FILE_1, G_FILE_TEST_EXISTS))
    3.22 + 		sys_filename = SYSTEM_FILE_1;
    3.23 +-	else if (g_file_test (SYSTEM_FILE_2, G_FILE_TEST_EXISTS))
    3.24 +-		sys_filename = SYSTEM_FILE_2;
    3.25 +-	else if (g_file_test (SYSTEM_FILE_3, G_FILE_TEST_EXISTS))
    3.26 +-		sys_filename = SYSTEM_FILE_3;
    3.27 +-	else if (g_file_test (SYSTEM_FILE_4, G_FILE_TEST_EXISTS))
    3.28 +-		sys_filename = SYSTEM_FILE_4;
    3.29 + 	else
    3.30 + 		return FALSE;
    3.31 + 	return TRUE;
    3.32 +@@ -151,7 +145,6 @@
    3.33 + 	gtk_set_locale ();
    3.34 + 	gtk_init (&argc, &argv);
    3.35 + 	
    3.36 +-	add_pixmap_directory (PACKAGE_DATA_DIR "/pixmaps/" PACKAGE);
    3.37 + 
    3.38 + 	gcolor2 = create_gcolor2 ();
    3.39 + 	gtk_widget_show (gcolor2);
    3.40 +@@ -164,7 +157,7 @@
    3.41 + 	gtk_tree_view_set_model (GTK_TREE_VIEW (treeview), GTK_TREE_MODEL (liststore));
    3.42 + 	
    3.43 + 	column = gtk_tree_view_column_new ();
    3.44 +-	gtk_tree_view_column_set_title (column, "Color");
    3.45 ++	gtk_tree_view_column_set_title (column, _("Color"));
    3.46 + 	
    3.47 + 	renderer = gtk_cell_renderer_pixbuf_new ();
    3.48 + 	gtk_tree_view_column_pack_start (column, renderer, FALSE);
    3.49 +@@ -179,7 +172,7 @@
    3.50 + 	
    3.51 + 	
    3.52 + 	renderer = gtk_cell_renderer_text_new ();
    3.53 +-	column = gtk_tree_view_column_new_with_attributes ("Name", renderer,
    3.54 ++	column = gtk_tree_view_column_new_with_attributes (_("Name"), renderer,
    3.55 + 													   "text", COLOR_NAME, NULL);
    3.56 + 	gtk_tree_view_column_set_sort_column_id (column, COLOR_NAME);
    3.57 + 	gtk_tree_view_append_column (GTK_TREE_VIEW (treeview), column);
    3.58 +
    3.59 +--- a/src/callbacks.h
    3.60 ++++ b/src/callbacks.h
    3.61 +@@ -8,10 +8,7 @@
    3.62 + #define FILE_WRITE         "write"
    3.63 + 
    3.64 + /* possible locations of the rgb file */
    3.65 +-#define SYSTEM_FILE_1      "/usr/X11R6/lib/X11/rgb.txt"
    3.66 +-#define SYSTEM_FILE_2      "/usr/lib/X11/rgb.txt"
    3.67 +-#define SYSTEM_FILE_3      "/etc/X11/rgb.txt"
    3.68 +-#define SYSTEM_FILE_4      "/usr/openwin/lib/X11/rgb.txt"
    3.69 ++#define SYSTEM_FILE_1      "/usr/share/X11/rgb.txt"
    3.70 + 
    3.71 + /* about dialog text */
    3.72 + #define ABOUT_CREDITS_TEXT "Developer:\n" \
    3.73 +
    3.74 +--- a/src/interface.c
    3.75 ++++ b/src/interface.c
    3.76 +@@ -48,8 +48,6 @@
    3.77 +   GtkWidget *about_button;
    3.78 +   GtkWidget *alignment1;
    3.79 +   GtkWidget *hbox2;
    3.80 +-  GtkWidget *image3;
    3.81 +-  GtkWidget *label5;
    3.82 +   GtkWidget *quit_button;
    3.83 +   GtkTooltips *tooltips;
    3.84 + 
    3.85 +@@ -59,12 +57,7 @@
    3.86 +   gtk_container_set_border_width (GTK_CONTAINER (gcolor2), 1);
    3.87 +   gtk_window_set_title (GTK_WINDOW (gcolor2), _("gcolor2"));
    3.88 +   gtk_window_set_resizable (GTK_WINDOW (gcolor2), FALSE);
    3.89 +-  gcolor2_icon_pixbuf = create_pixbuf ("icon.png");
    3.90 +-  if (gcolor2_icon_pixbuf)
    3.91 +-    {
    3.92 +-      gtk_window_set_icon (GTK_WINDOW (gcolor2), gcolor2_icon_pixbuf);
    3.93 +-      gdk_pixbuf_unref (gcolor2_icon_pixbuf);
    3.94 +-    }
    3.95 ++  gtk_window_set_icon_name (GTK_WINDOW (gcolor2), "gcolor2");
    3.96 + 
    3.97 +   vbox1 = gtk_vbox_new (FALSE, 3);
    3.98 +   gtk_widget_show (vbox1);
    3.99 +@@ -75,6 +68,7 @@
   3.100 +   gtk_widget_show (colorselection);
   3.101 +   gtk_box_pack_start (GTK_BOX (vbox1), colorselection, FALSE, TRUE, 0);
   3.102 +   gtk_color_selection_set_has_opacity_control (GTK_COLOR_SELECTION (colorselection), TRUE);
   3.103 ++  gtk_color_selection_set_has_palette (GTK_COLOR_SELECTION (colorselection), TRUE);
   3.104 + 
   3.105 +   expander = gtk_expander_new (NULL);
   3.106 +   gtk_widget_show (expander);
   3.107 +@@ -136,12 +130,6 @@
   3.108 +   gtk_widget_show (hbuttonbox3);
   3.109 +   gtk_box_pack_start (GTK_BOX (vbox1), hbuttonbox3, FALSE, TRUE, 0);
   3.110 + 
   3.111 +-  about_button = gtk_button_new ();
   3.112 +-  gtk_widget_show (about_button);
   3.113 +-  gtk_container_add (GTK_CONTAINER (hbuttonbox3), about_button);
   3.114 +-  GTK_WIDGET_SET_FLAGS (about_button, GTK_CAN_DEFAULT);
   3.115 +-  gtk_tooltips_set_tip (tooltips, about_button, _("About gcolor2"), NULL);
   3.116 +-
   3.117 +   alignment1 = gtk_alignment_new (0.5, 0.5, 0, 0);
   3.118 +   gtk_widget_show (alignment1);
   3.119 +   gtk_container_add (GTK_CONTAINER (about_button), alignment1);
   3.120 +@@ -150,14 +138,11 @@
   3.121 +   gtk_widget_show (hbox2);
   3.122 +   gtk_container_add (GTK_CONTAINER (alignment1), hbox2);
   3.123 + 
   3.124 +-  image3 = create_pixmap (gcolor2, "about_icon.png");
   3.125 +-  gtk_widget_show (image3);
   3.126 +-  gtk_box_pack_start (GTK_BOX (hbox2), image3, FALSE, FALSE, 0);
   3.127 ++  about_button = gtk_button_new_from_stock ("gtk-about");
   3.128 ++  gtk_widget_show (about_button);
   3.129 ++  gtk_tooltips_set_tip (tooltips, about_button, _("About gcolor2"), NULL);
   3.130 ++  gtk_container_add (GTK_CONTAINER (hbuttonbox3), about_button);
   3.131 + 
   3.132 +-  label5 = gtk_label_new_with_mnemonic (_("_About"));
   3.133 +-  gtk_widget_show (label5);
   3.134 +-  gtk_box_pack_start (GTK_BOX (hbox2), label5, FALSE, FALSE, 0);
   3.135 +-
   3.136 +   quit_button = gtk_button_new_from_stock ("gtk-quit");
   3.137 +   gtk_widget_show (quit_button);
   3.138 +   gtk_container_add (GTK_CONTAINER (hbuttonbox3), quit_button);
   3.139 +@@ -208,8 +193,6 @@
   3.140 +   GLADE_HOOKUP_OBJECT (gcolor2, about_button, "about_button");
   3.141 +   GLADE_HOOKUP_OBJECT (gcolor2, alignment1, "alignment1");
   3.142 +   GLADE_HOOKUP_OBJECT (gcolor2, hbox2, "hbox2");
   3.143 +-  GLADE_HOOKUP_OBJECT (gcolor2, image3, "image3");
   3.144 +-  GLADE_HOOKUP_OBJECT (gcolor2, label5, "label5");
   3.145 +   GLADE_HOOKUP_OBJECT (gcolor2, quit_button, "quit_button");
   3.146 +   GLADE_HOOKUP_OBJECT_NO_REF (gcolor2, tooltips, "tooltips");
   3.147 + 
   3.148 +@@ -238,12 +221,7 @@
   3.149 +   gtk_window_set_modal (GTK_WINDOW (save_dialog), TRUE);
   3.150 +   gtk_window_set_resizable (GTK_WINDOW (save_dialog), FALSE);
   3.151 +   gtk_window_set_destroy_with_parent (GTK_WINDOW (save_dialog), TRUE);
   3.152 +-  save_dialog_icon_pixbuf = create_pixbuf ("icon.png");
   3.153 +-  if (save_dialog_icon_pixbuf)
   3.154 +-    {
   3.155 +-      gtk_window_set_icon (GTK_WINDOW (save_dialog), save_dialog_icon_pixbuf);
   3.156 +-      gdk_pixbuf_unref (save_dialog_icon_pixbuf);
   3.157 +-    }
   3.158 ++  gtk_window_set_icon_name (GTK_WINDOW (save_dialog), "gcolor2");
   3.159 +   gtk_window_set_type_hint (GTK_WINDOW (save_dialog), GDK_WINDOW_TYPE_HINT_DIALOG);
   3.160 + 
   3.161 +   dialog_vbox1 = GTK_DIALOG (save_dialog)->vbox;
   3.162 +@@ -366,17 +344,13 @@
   3.163 +   gtk_window_set_title (GTK_WINDOW (about_dialog), _("About gcolor2"));
   3.164 +   gtk_window_set_resizable (GTK_WINDOW (about_dialog), FALSE);
   3.165 +   gtk_window_set_destroy_with_parent (GTK_WINDOW (about_dialog), TRUE);
   3.166 +-  about_dialog_icon_pixbuf = create_pixbuf ("icon.png");
   3.167 +-  if (about_dialog_icon_pixbuf)
   3.168 +-    {
   3.169 +-      gtk_window_set_icon (GTK_WINDOW (about_dialog), about_dialog_icon_pixbuf);
   3.170 +-      gdk_pixbuf_unref (about_dialog_icon_pixbuf);
   3.171 +-    }
   3.172 ++  gtk_window_set_icon_name (GTK_WINDOW (about_dialog), "gcolor2");
   3.173 + 
   3.174 +   dialog_vbox3 = GTK_DIALOG (about_dialog)->vbox;
   3.175 +   gtk_widget_show (dialog_vbox3);
   3.176 + 
   3.177 +-  about_image = create_pixmap (about_dialog, "icon.png");
   3.178 ++  //about_image = create_pixmap (about_dialog, "icon.png");
   3.179 ++  about_image = gtk_image_new_from_icon_name ("gcolor2", GTK_ICON_SIZE_DIALOG);
   3.180 +   gtk_widget_show (about_image);
   3.181 +   gtk_box_pack_start (GTK_BOX (dialog_vbox3), about_image, FALSE, FALSE, 0);
   3.182 + 
   3.183 +@@ -483,12 +457,7 @@
   3.184 +   gtk_window_set_modal (GTK_WINDOW (delete_dialog), TRUE);
   3.185 +   gtk_window_set_resizable (GTK_WINDOW (delete_dialog), FALSE);
   3.186 +   gtk_window_set_destroy_with_parent (GTK_WINDOW (delete_dialog), TRUE);
   3.187 +-  delete_dialog_icon_pixbuf = create_pixbuf ("icon.png");
   3.188 +-  if (delete_dialog_icon_pixbuf)
   3.189 +-    {
   3.190 +-      gtk_window_set_icon (GTK_WINDOW (delete_dialog), delete_dialog_icon_pixbuf);
   3.191 +-      gdk_pixbuf_unref (delete_dialog_icon_pixbuf);
   3.192 +-    }
   3.193 ++  gtk_window_set_icon_name (GTK_WINDOW (delete_dialog), "gcolor2");
   3.194 +   gtk_window_set_type_hint (GTK_WINDOW (delete_dialog), GDK_WINDOW_TYPE_HINT_DIALOG);
   3.195 + 
   3.196 +   vbox3 = GTK_DIALOG (delete_dialog)->vbox;
   3.197 +
   3.198 +--- a/src/support.c
   3.199 ++++ b/src/support.c
   3.200 +@@ -42,90 +42,6 @@
   3.201 +   return found_widget;
   3.202 + }
   3.203 + 
   3.204 +-static GList *pixmaps_directories = NULL;
   3.205 +-
   3.206 +-/* Use this function to set the directory containing installed pixmaps. */
   3.207 +-void
   3.208 +-add_pixmap_directory                   (const gchar     *directory)
   3.209 +-{
   3.210 +-  pixmaps_directories = g_list_prepend (pixmaps_directories,
   3.211 +-                                        g_strdup (directory));
   3.212 +-}
   3.213 +-
   3.214 +-/* This is an internally used function to find pixmap files. */
   3.215 +-static gchar*
   3.216 +-find_pixmap_file                       (const gchar     *filename)
   3.217 +-{
   3.218 +-  GList *elem;
   3.219 +-
   3.220 +-  /* We step through each of the pixmaps directory to find it. */
   3.221 +-  elem = pixmaps_directories;
   3.222 +-  while (elem)
   3.223 +-    {
   3.224 +-      gchar *pathname = g_strdup_printf ("%s%s%s", (gchar*)elem->data,
   3.225 +-                                         G_DIR_SEPARATOR_S, filename);
   3.226 +-      if (g_file_test (pathname, G_FILE_TEST_EXISTS))
   3.227 +-        return pathname;
   3.228 +-      g_free (pathname);
   3.229 +-      elem = elem->next;
   3.230 +-    }
   3.231 +-  return NULL;
   3.232 +-}
   3.233 +-
   3.234 +-/* This is an internally used function to create pixmaps. */
   3.235 +-GtkWidget*
   3.236 +-create_pixmap                          (GtkWidget       *widget,
   3.237 +-                                        const gchar     *filename)
   3.238 +-{
   3.239 +-  gchar *pathname = NULL;
   3.240 +-  GtkWidget *pixmap;
   3.241 +-
   3.242 +-  if (!filename || !filename[0])
   3.243 +-      return gtk_image_new ();
   3.244 +-
   3.245 +-  pathname = find_pixmap_file (filename);
   3.246 +-
   3.247 +-  if (!pathname)
   3.248 +-    {
   3.249 +-      g_warning (_("Couldn't find pixmap file: %s"), filename);
   3.250 +-      return gtk_image_new ();
   3.251 +-    }
   3.252 +-
   3.253 +-  pixmap = gtk_image_new_from_file (pathname);
   3.254 +-  g_free (pathname);
   3.255 +-  return pixmap;
   3.256 +-}
   3.257 +-
   3.258 +-/* This is an internally used function to create pixmaps. */
   3.259 +-GdkPixbuf*
   3.260 +-create_pixbuf                          (const gchar     *filename)
   3.261 +-{
   3.262 +-  gchar *pathname = NULL;
   3.263 +-  GdkPixbuf *pixbuf;
   3.264 +-  GError *error = NULL;
   3.265 +-
   3.266 +-  if (!filename || !filename[0])
   3.267 +-      return NULL;
   3.268 +-
   3.269 +-  pathname = find_pixmap_file (filename);
   3.270 +-
   3.271 +-  if (!pathname)
   3.272 +-    {
   3.273 +-      g_warning (_("Couldn't find pixmap file: %s"), filename);
   3.274 +-      return NULL;
   3.275 +-    }
   3.276 +-
   3.277 +-  pixbuf = gdk_pixbuf_new_from_file (pathname, &error);
   3.278 +-  if (!pixbuf)
   3.279 +-    {
   3.280 +-      fprintf (stderr, "Failed to load pixbuf file: %s: %s\n",
   3.281 +-               pathname, error->message);
   3.282 +-      g_error_free (error);
   3.283 +-    }
   3.284 +-  g_free (pathname);
   3.285 +-  return pixbuf;
   3.286 +-}
   3.287 +-
   3.288 + /* This is used to set ATK action descriptions. */
   3.289 + void
   3.290 + glade_set_atk_action_description       (AtkAction       *action,
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/gcolor2/stuff/gcolor2.pot	Fri Nov 21 04:28:49 2014 +0200
     4.3 @@ -0,0 +1,99 @@
     4.4 +# SOME DESCRIPTIVE TITLE.
     4.5 +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
     4.6 +# This file is distributed under the same license as the PACKAGE package.
     4.7 +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
     4.8 +#
     4.9 +#, fuzzy
    4.10 +msgid ""
    4.11 +msgstr ""
    4.12 +"Project-Id-Version: PACKAGE VERSION\n"
    4.13 +"Report-Msgid-Bugs-To: \n"
    4.14 +"POT-Creation-Date: 2014-11-20 20:53+0200\n"
    4.15 +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    4.16 +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    4.17 +"Language-Team: LANGUAGE <LL@li.org>\n"
    4.18 +"Language: \n"
    4.19 +"MIME-Version: 1.0\n"
    4.20 +"Content-Type: text/plain; charset=UTF-8\n"
    4.21 +"Content-Transfer-Encoding: 8bit\n"
    4.22 +
    4.23 +#: src/interface.c:60
    4.24 +msgid "gcolor2"
    4.25 +msgstr ""
    4.26 +
    4.27 +#: src/interface.c:106
    4.28 +msgid ""
    4.29 +"Delete the selected color. You can only delete those you saved yourself."
    4.30 +msgstr ""
    4.31 +
    4.32 +#: src/interface.c:112
    4.33 +msgid "Save the color selected in the colorwheel"
    4.34 +msgstr ""
    4.35 +
    4.36 +#: src/interface.c:126
    4.37 +msgid "_Show saved colors"
    4.38 +msgstr ""
    4.39 +
    4.40 +#: src/interface.c:143 src/interface.c:366
    4.41 +msgid "About gcolor2"
    4.42 +msgstr ""
    4.43 +
    4.44 +#: src/interface.c:157
    4.45 +msgid "_About"
    4.46 +msgstr ""
    4.47 +
    4.48 +#: src/interface.c:165
    4.49 +msgid "Exit the program"
    4.50 +msgstr ""
    4.51 +
    4.52 +#: src/interface.c:236
    4.53 +msgid "gcolor2 - Save a Color"
    4.54 +msgstr ""
    4.55 +
    4.56 +#: src/interface.c:261
    4.57 +msgid "Enter a name for the color you selected"
    4.58 +msgstr ""
    4.59 +
    4.60 +#: src/interface.c:309
    4.61 +msgid "Copy color to clipboard"
    4.62 +msgstr ""
    4.63 +
    4.64 +#: src/interface.c:322
    4.65 +msgid "Show system colors"
    4.66 +msgstr ""
    4.67 +
    4.68 +#: src/interface.c:404
    4.69 +msgid "_Credits"
    4.70 +msgstr ""
    4.71 +
    4.72 +#: src/interface.c:421
    4.73 +msgid "_Release Notes"
    4.74 +msgstr ""
    4.75 +
    4.76 +#: src/interface.c:425
    4.77 +msgid "Copyright © 2004-2005 Justin Spadea"
    4.78 +msgstr ""
    4.79 +
    4.80 +#: src/interface.c:481
    4.81 +msgid "gcolor2 - Delete a Color"
    4.82 +msgstr ""
    4.83 +
    4.84 +#: src/callbacks.c:60
    4.85 +#, c-format
    4.86 +msgid "<span weight=\"bold\" size=\"larger\">gcolor2 v%s</span>"
    4.87 +msgstr ""
    4.88 +
    4.89 +#: src/callbacks.c:250
    4.90 +#, c-format
    4.91 +msgid "Enter a color name for %s:"
    4.92 +msgstr ""
    4.93 +
    4.94 +#: src/callbacks.c:353
    4.95 +#, c-format
    4.96 +msgid "Are you sure you want to delete '%s'?"
    4.97 +msgstr ""
    4.98 +
    4.99 +#: src/support.c:90 src/support.c:114
   4.100 +#, c-format
   4.101 +msgid "Couldn't find pixmap file: %s"
   4.102 +msgstr ""
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/gcolor2/stuff/ru.po	Fri Nov 21 04:28:49 2014 +0200
     5.3 @@ -0,0 +1,115 @@
     5.4 +# Russian translations for gcolor2.
     5.5 +# Copyright (C) 2014 Justin Spadea
     5.6 +# This file is distributed under the same license as the gcolor2 package.
     5.7 +# Aleksej Bobylev <al.bobylev@gmail.com>, 2014.
     5.8 +#
     5.9 +msgid ""
    5.10 +msgstr ""
    5.11 +"Project-Id-Version: gcolor2\n"
    5.12 +"Report-Msgid-Bugs-To: \n"
    5.13 +"POT-Creation-Date: 2014-11-20 20:53+0200\n"
    5.14 +"PO-Revision-Date: 2014-11-20 20:56+0300\n"
    5.15 +"Last-Translator: Aleksej Bobylev <al.bobylev@gmail.com>\n"
    5.16 +"Language-Team: Russian\n"
    5.17 +"Language: ru\n"
    5.18 +"MIME-Version: 1.0\n"
    5.19 +"Content-Type: text/plain; charset=UTF-8\n"
    5.20 +"Content-Transfer-Encoding: 8bit\n"
    5.21 +
    5.22 +#: src/interface.c:60
    5.23 +#: gcolor2.glade:260
    5.24 +msgid "gcolor2"
    5.25 +msgstr ""
    5.26 +
    5.27 +#: src/interface.c:106
    5.28 +#: gcolor2.glade:323
    5.29 +msgid "Delete the selected color. You can only delete those you saved yourself."
    5.30 +msgstr "Удалить выбранный цвет. Вы можете удалять только цвета, которые сохранили самостоятельно."
    5.31 +
    5.32 +#: src/interface.c:112
    5.33 +#: gcolor2.glade:341
    5.34 +msgid "Save the color selected in the colorwheel"
    5.35 +msgstr "Сохранить выбранный цвет"
    5.36 +
    5.37 +#: src/interface.c:126
    5.38 +#: gcolor2.glade:396
    5.39 +msgid "_Show saved colors"
    5.40 +msgstr "_Показать сохраненные цвета"
    5.41 +
    5.42 +#: src/interface.c:143
    5.43 +#: src/interface.c:366
    5.44 +#: gcolor2.glade:11
    5.45 +#: gcolor2.glade:433
    5.46 +msgid "About gcolor2"
    5.47 +msgstr "О программе gcolor2"
    5.48 +
    5.49 +#: src/interface.c:157
    5.50 +msgid "_About"
    5.51 +msgstr "_О программе"
    5.52 +
    5.53 +#: src/interface.c:165
    5.54 +#: gcolor2.glade:451
    5.55 +msgid "Exit the program"
    5.56 +msgstr "Выйти из программы"
    5.57 +
    5.58 +#: src/interface.c:236
    5.59 +#: gcolor2.glade:515
    5.60 +msgid "gcolor2 - Save a Color"
    5.61 +msgstr "gcolor2 — Сохранить цвет"
    5.62 +
    5.63 +#: src/interface.c:261
    5.64 +#: gcolor2.glade:595
    5.65 +msgid "Enter a name for the color you selected"
    5.66 +msgstr "Введите имя для выбранного цвета"
    5.67 +
    5.68 +#: src/interface.c:309
    5.69 +#: gcolor2.glade:476
    5.70 +msgid "Copy color to clipboard"
    5.71 +msgstr "Копировать цвет в буфер обмена"
    5.72 +
    5.73 +#: src/interface.c:322
    5.74 +#: gcolor2.glade:504
    5.75 +msgid "Show system colors"
    5.76 +msgstr "Показать системные цвета"
    5.77 +
    5.78 +#: src/interface.c:404
    5.79 +#: gcolor2.glade:107
    5.80 +msgid "_Credits"
    5.81 +msgstr "_Благодарности"
    5.82 +
    5.83 +#: src/interface.c:421
    5.84 +#: gcolor2.glade:140
    5.85 +msgid "_Release Notes"
    5.86 +msgstr "_О выпуске"
    5.87 +
    5.88 +#: src/interface.c:425
    5.89 +#: gcolor2.glade:160
    5.90 +msgid "Copyright © 2004-2005 Justin Spadea"
    5.91 +msgstr ""
    5.92 +
    5.93 +#: src/interface.c:481
    5.94 +#: gcolor2.glade:178
    5.95 +msgid "gcolor2 - Delete a Color"
    5.96 +msgstr "gcolor2 — Удалить цвет"
    5.97 +
    5.98 +#: src/callbacks.c:60
    5.99 +#, c-format
   5.100 +msgid "<span weight=\"bold\" size=\"larger\">gcolor2 v%s</span>"
   5.101 +msgstr "<span weight=\"bold\" size=\"larger\">gcolor2, версия %s</span>"
   5.102 +
   5.103 +#: src/callbacks.c:250
   5.104 +#, c-format
   5.105 +msgid "Enter a color name for %s:"
   5.106 +msgstr "Введите имя для цвета %s:"
   5.107 +
   5.108 +#: src/callbacks.c:353
   5.109 +#, c-format
   5.110 +msgid "Are you sure you want to delete '%s'?"
   5.111 +msgstr "Вы действительно хотите удалить «%s»?"
   5.112 +
   5.113 +#: src/support.c:90
   5.114 +#: src/support.c:114
   5.115 +#, c-format
   5.116 +msgid "Couldn't find pixmap file: %s"
   5.117 +msgstr "Не удалось найти файл с картинкой: %s"
   5.118 +