[Goodies-commits] r6849 - in xfce4-screenshooter/trunk: . lib po src

Jerome Guelfucci jeromeg at xfce.org
Thu Mar 5 19:53:35 CET 2009


Author: jeromeg
Date: 2009-03-05 18:53:35 +0000 (Thu, 05 Mar 2009)
New Revision: 6849

Added:
   xfce4-screenshooter/trunk/po/nb.po
   xfce4-screenshooter/trunk/po/pt.po
Removed:
   xfce4-screenshooter/trunk/po/nb.no
   xfce4-screenshooter/trunk/po/pt.no
Modified:
   xfce4-screenshooter/trunk/ChangeLog
   xfce4-screenshooter/trunk/NEWS
   xfce4-screenshooter/trunk/lib/Makefile.am
   xfce4-screenshooter/trunk/lib/screenshooter-actions.c
   xfce4-screenshooter/trunk/lib/screenshooter-utils.c
   xfce4-screenshooter/trunk/lib/screenshooter-utils.h
   xfce4-screenshooter/trunk/src/Makefile.am
Log:
  * Fix a build problem caused by the bumping of the dependencies.
  * lib/screenshooter-utils.c:
    - (get_window_screenshot) add an argument to make the mouse capture optional.
    - (screenshooter_take_screenshot) ditto
    - read and save show_mouse in the configuration file.
    - update the prototypes.
  * lib/screenshooter-utils.h:
    - add a show_mouse item to the ScreenshotData structure.
    - update a prototype.
  * lib/screenshooter-actions.c: use the new functions arguments. 


Modified: xfce4-screenshooter/trunk/ChangeLog
===================================================================
--- xfce4-screenshooter/trunk/ChangeLog	2009-03-05 14:53:41 UTC (rev 6848)
+++ xfce4-screenshooter/trunk/ChangeLog	2009-03-05 18:53:35 UTC (rev 6849)
@@ -1,3 +1,16 @@
+2009-03-05 jeromeg
+
+  * Fix a build problem caused by the bumping of the dependencies.
+  * lib/screenshooter-utils.c:
+    - (get_window_screenshot) add an argument to make the mouse capture optional.
+    - (screenshooter_take_screenshot) ditto
+    - read and save show_mouse in the configuration file.
+    - update the prototypes.
+  * lib/screenshooter-utils.h:
+    - add a show_mouse item to the ScreenshotData structure.
+    - update a prototype.
+  * lib/screenshooter-actions.c: use the new functions arguments. 
+
 2009-02-26 jeromeg
 
   * Bump gtk required to 2.12.

Modified: xfce4-screenshooter/trunk/NEWS
===================================================================
--- xfce4-screenshooter/trunk/NEWS	2009-03-05 14:53:41 UTC (rev 6848)
+++ xfce4-screenshooter/trunk/NEWS	2009-03-05 18:53:35 UTC (rev 6849)
@@ -1,3 +1,8 @@
+=== Version x.x.x ===
+
+  * Enhancements:
+    - Add an option to hide the mouse cursor on screenshots.
+
 === Version 1.5.1 ===
 
   * Bugfixes:

Modified: xfce4-screenshooter/trunk/lib/Makefile.am
===================================================================
--- xfce4-screenshooter/trunk/lib/Makefile.am	2009-03-05 14:53:41 UTC (rev 6848)
+++ xfce4-screenshooter/trunk/lib/Makefile.am	2009-03-05 18:53:35 UTC (rev 6849)
@@ -13,11 +13,10 @@
 	@GLIB_CFLAGS@ \
 	@LIBXFCE4UTIL_CFLAGS@ \
 	@LIBXFCEGUI4_CFLAGS@ \
-	@GIO_CFLAGS@ \
 	-DPACKAGE_LOCALE_DIR=\"$(localedir)\"
 	
 libscreenshooter_la_LIBADD = \
   @GTK_LIBS@ \
 	@LIBXFCE4UTIL_LIBS@ \
 	@LIBXFCEGUI4_LIBS@ \
-	@GIO_LIBS@
+	@GLIB_LIBS@

Modified: xfce4-screenshooter/trunk/lib/screenshooter-actions.c
===================================================================
--- xfce4-screenshooter/trunk/lib/screenshooter-actions.c	2009-03-05 14:53:41 UTC (rev 6848)
+++ xfce4-screenshooter/trunk/lib/screenshooter-actions.c	2009-03-05 18:53:35 UTC (rev 6849)
@@ -22,7 +22,7 @@
 void screenshooter_take_and_output_screenshot (ScreenshotData *sd)
 {
   GdkPixbuf *screenshot =
-    screenshooter_take_screenshot (sd->region, sd->delay);
+    screenshooter_take_screenshot (sd->region, sd->delay, sd->show_mouse);
 
   if (sd->action == SAVE)
     {

Modified: xfce4-screenshooter/trunk/lib/screenshooter-utils.c
===================================================================
--- xfce4-screenshooter/trunk/lib/screenshooter-utils.c	2009-03-05 14:53:41 UTC (rev 6848)
+++ xfce4-screenshooter/trunk/lib/screenshooter-utils.c	2009-03-05 18:53:35 UTC (rev 6849)
@@ -28,7 +28,8 @@
                                        gboolean         *needs_unref);
 
 static GdkPixbuf 
-*get_window_screenshot                (GdkWindow        *window);
+*get_window_screenshot                (GdkWindow        *window,
+                                       gboolean          show_mouse);
 
 static GdkPixbuf
 *get_rectangle_screenshot             (void);
@@ -80,7 +81,7 @@
 
 
 static GdkPixbuf
-*get_window_screenshot (GdkWindow *window)
+*get_window_screenshot (GdkWindow *window, gboolean show_mouse)
 {
   gint x_orig, y_orig;
   gint width, height;
@@ -89,9 +90,6 @@
   GdkWindow *root;
   
   GdkRectangle *rectangle = g_new0 (GdkRectangle, 1);
-  
-  GdkCursor *cursor;
-  GdkPixbuf *cursor_pixbuf;
     
   /* Get the root window */
   TRACE ("Get the root window");
@@ -144,54 +142,62 @@
 
   TRACE ("Get the mouse cursor and its image");
 
-  cursor = gdk_cursor_new_for_display (gdk_display_get_default (), GDK_LEFT_PTR);
-  cursor_pixbuf = gdk_cursor_get_image (cursor);
-
-  if (cursor_pixbuf != NULL)
+  if (show_mouse)
     {
-      GdkRectangle rectangle_window, rectangle_cursor;
-      gint cursorx, cursory, xhot, yhot;
+        GdkCursor *cursor;
+        GdkPixbuf *cursor_pixbuf;
 
-      TRACE ("Get the coordinates of the cursor");
- 	
-      gdk_window_get_pointer (window, &cursorx, &cursory, NULL);
+        cursor = gdk_cursor_new_for_display (gdk_display_get_default (), GDK_LEFT_PTR);
+        cursor_pixbuf = gdk_cursor_get_image (cursor);
 
-      TRACE ("Get the hot-spot x and y values");
-      
-      sscanf (gdk_pixbuf_get_option (cursor_pixbuf, "x_hot"), "%d", &xhot);
-      sscanf (gdk_pixbuf_get_option (cursor_pixbuf, "y_hot"), "%d", &yhot);
+        if (cursor_pixbuf != NULL)
+          {
+            GdkRectangle rectangle_window, rectangle_cursor;
+            gint cursorx, cursory, xhot, yhot;
 
-      /* rectangle_window stores the window coordinates */
-      rectangle_window.x = x_orig;
-      rectangle_window.y = y_orig;
-      rectangle_window.width = width;
-      rectangle_window.height = height;
-      
-      /* rectangle_cursor stores the cursor coordinates */
-      rectangle_cursor.x = cursorx + x_orig;
-      rectangle_cursor.y = cursory + y_orig;
-      rectangle_cursor.width = gdk_pixbuf_get_width (cursor_pixbuf);
-      rectangle_cursor.height = gdk_pixbuf_get_height (cursor_pixbuf);
-      
-      /* see if the pointer is inside the window */
-      if (gdk_rectangle_intersect (&rectangle_window, &rectangle_cursor, &rectangle_cursor))
-        {
-          TRACE ("Compose the two pixbufs");
+            TRACE ("Get the coordinates of the cursor");
+        
+            gdk_window_get_pointer (window, &cursorx, &cursory, NULL);
 
-          gdk_pixbuf_composite (cursor_pixbuf, screenshot,
-                                cursorx - xhot, cursory - yhot,
-                                rectangle_cursor.width, rectangle_cursor.height,
-                                cursorx - xhot, cursory - yhot,
-                                1.0, 1.0,
-                                GDK_INTERP_BILINEAR,
-                                255);
-        }
-        
-      g_object_unref (cursor_pixbuf);
+            TRACE ("Get the hot-spot x and y values");
+            
+            sscanf (gdk_pixbuf_get_option (cursor_pixbuf, "x_hot"), "%d", &xhot);
+            sscanf (gdk_pixbuf_get_option (cursor_pixbuf, "y_hot"), "%d", &yhot);
+
+            /* rectangle_window stores the window coordinates */
+            rectangle_window.x = x_orig;
+            rectangle_window.y = y_orig;
+            rectangle_window.width = width;
+            rectangle_window.height = height;
+            
+            /* rectangle_cursor stores the cursor coordinates */
+            rectangle_cursor.x = cursorx + x_orig;
+            rectangle_cursor.y = cursory + y_orig;
+            rectangle_cursor.width = gdk_pixbuf_get_width (cursor_pixbuf);
+            rectangle_cursor.height = gdk_pixbuf_get_height (cursor_pixbuf);
+            
+            /* see if the pointer is inside the window */
+            if (gdk_rectangle_intersect (&rectangle_window,
+                                         &rectangle_cursor,
+                                         &rectangle_cursor))
+              {
+                TRACE ("Compose the two pixbufs");
+
+                gdk_pixbuf_composite (cursor_pixbuf, screenshot,
+                                      cursorx - xhot, cursory - yhot,
+                                      rectangle_cursor.width, rectangle_cursor.height,
+                                      cursorx - xhot, cursory - yhot,
+                                      1.0, 1.0,
+                                      GDK_INTERP_BILINEAR,
+                                      255);
+              }
+              
+            g_object_unref (cursor_pixbuf);
+          }
+
+        gdk_cursor_unref (cursor);
     }
 
-  gdk_cursor_unref (cursor);
-
   return screenshot;                                             
 }
 
@@ -383,7 +389,7 @@
 *sd: a ScreenshotData struct.
 returns: the screenshot in a *GdkPixbuf.
 */
-GdkPixbuf *screenshooter_take_screenshot (gint region, gint delay)
+GdkPixbuf *screenshooter_take_screenshot (gint region, gint delay, gboolean show_mouse)
 {
   GdkPixbuf *screenshot = NULL;
   GdkWindow *window = NULL;
@@ -420,7 +426,7 @@
     {
       TRACE ("Get the screenshot of the given window");
 
-      screenshot = get_window_screenshot (window);
+      screenshot = get_window_screenshot (window, show_mouse);
           
       if (needs_unref)
 	      g_object_unref (window);
@@ -472,6 +478,7 @@
   gint region = FULLSCREEN;
   gint action = SAVE;
   gint show_save_dialog = 1;
+  gint show_mouse = 1;
   gchar *screenshot_dir = g_strdup (DEFAULT_SAVE_DIRECTORY);
   gchar *app = g_strdup ("none");
   
@@ -493,6 +500,9 @@
               
           show_save_dialog = 
             xfce_rc_read_int_entry (rc, "show_save_dialog", 1);
+
+          show_mouse =
+            xfce_rc_read_int_entry (rc, "show_mouse", 1);
               
           g_free (app);
               
@@ -519,6 +529,7 @@
   sd->region = region;
   sd->action = action;
   sd->show_save_dialog = show_save_dialog;
+  sd->show_mouse = show_mouse;
   sd->screenshot_dir = screenshot_dir;
   sd->app = app;
 }
@@ -548,8 +559,8 @@
   xfce_rc_write_int_entry (rc, "delay", sd->delay);
   xfce_rc_write_int_entry (rc, "region", sd->region);
   xfce_rc_write_int_entry (rc, "action", sd->action);
-  xfce_rc_write_int_entry (rc, "show_save_dialog", 
-                           sd->show_save_dialog);
+  xfce_rc_write_int_entry (rc, "show_save_dialog", sd->show_save_dialog);
+  xfce_rc_write_int_entry (rc, "show_mouse", sd->show_mouse);
   xfce_rc_write_entry (rc, "screenshot_dir", sd->screenshot_dir);
   xfce_rc_write_entry (rc, "app", sd->app);
 

Modified: xfce4-screenshooter/trunk/lib/screenshooter-utils.h
===================================================================
--- xfce4-screenshooter/trunk/lib/screenshooter-utils.h	2009-03-05 14:53:41 UTC (rev 6848)
+++ xfce4-screenshooter/trunk/lib/screenshooter-utils.h	2009-03-05 18:53:35 UTC (rev 6849)
@@ -62,6 +62,7 @@
 {
   gint region;
   gint show_save_dialog;
+  gint show_mouse;
   gint delay;
   gint action;
   gchar *screenshot_dir;
@@ -71,9 +72,10 @@
 
 
 
-GdkPixbuf 
-*screenshooter_take_screenshot   (gint                  region, 
-                                  gint                  delay);
+GdkPixbuf
+*screenshooter_take_screenshot   (gint                  region,
+                                  gint                  delay,
+                                  gboolean              show_mouse);
 void
 screenshooter_copy_to_clipboard  (GdkPixbuf            *screenshot) ;
 
@@ -86,7 +88,7 @@
                                   ScreenshotData       *sd);
 
 void
-screenshooter_open_screenshot    (gchar *screenshot_path,
-                                  gchar *application);                                  
+screenshooter_open_screenshot    (gchar                *screenshot_path,
+                                  gchar                *application);                                  
 
 #endif                               

Added: xfce4-screenshooter/trunk/po/nb.po
===================================================================
--- xfce4-screenshooter/trunk/po/nb.po	                        (rev 0)
+++ xfce4-screenshooter/trunk/po/nb.po	2009-03-05 18:53:35 UTC (rev 6849)
@@ -0,0 +1,203 @@
+# Norwegian Bokmal translations for xfce4-screenshooter-plugin package.
+# Copyright (C) 2007 THE xfce4-screenshooter-plugin'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the xfce4-screenshooter-plugin package.
+# Terje Uriansrud <ter at operamail.com>, 2007.
+# Terje Uriansrud <terje at uriansrud.net>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: xfce4-screenshooter-plugin 1.0.2\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009-02-07 16:22+0100\n"
+"PO-Revision-Date: 2007-07-02 00:22+0200\n"
+"Last-Translator: Terje Uriansrud <terje at uriansrud.net>\n"
+"Language-Team: Norwegian Bokmal\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: ../lib/screenshooter-dialogs.c:228
+msgid "Screenshot.png"
+msgstr "Skjermbildekopi.png"
+
+#: ../lib/screenshooter-dialogs.c:243
+#, c-format
+msgid "Screenshot-%d.png"
+msgstr "Skjermbildekopi-%d.png"
+
+#: ../lib/screenshooter-dialogs.c:465
+msgid "Take a screenshot"
+msgstr "Skjermbildekopi"
+
+#: ../lib/screenshooter-dialogs.c:472
+msgid "Take the screenshot"
+msgstr "Ta skjermbildekopien"
+
+#: ../lib/screenshooter-dialogs.c:479
+#: ../src/xfce4-screenshooter.desktop.in.in.h:1
+#: ../panel-plugin/screenshooter.desktop.in.in.h:1
+msgid "Screenshot"
+msgstr "Skjermbildekopi"
+
+#: ../lib/screenshooter-dialogs.c:489
+msgid "Preferences"
+msgstr "Innstillinger"
+
+#: ../lib/screenshooter-dialogs.c:507
+msgid "<span weight=\"bold\" stretch=\"semiexpanded\">Region to capture</span>"
+msgstr ""
+"<span weight=\"bold\" stretch=\"semiexpanded\">Område som skal tas bilde av</"
+"span>"
+
+#: ../lib/screenshooter-dialogs.c:539
+msgid "Entire screen"
+msgstr "Hele skjermen"
+
+#: ../lib/screenshooter-dialogs.c:550 ../src/main.c:54
+#: ../panel-plugin/screenshooter-plugin.c:232
+#: ../panel-plugin/screenshooter-plugin.c:322
+msgid "Take a screenshot of the entire screen"
+msgstr "Ta skjermbildekopi av hele skjermen"
+
+#: ../lib/screenshooter-dialogs.c:563
+msgid "Active window"
+msgstr "Aktivt vindu"
+
+#: ../lib/screenshooter-dialogs.c:574 ../src/main.c:50
+#: ../panel-plugin/screenshooter-plugin.c:237
+#: ../panel-plugin/screenshooter-plugin.c:327
+msgid "Take a screenshot of the active window"
+msgstr "Ta en skjermbildekopi av det aktive vinduet"
+
+#: ../lib/screenshooter-dialogs.c:587
+msgid "Select a region"
+msgstr "Velg et område"
+
+#: ../lib/screenshooter-dialogs.c:598 ../src/main.c:58
+#: ../panel-plugin/screenshooter-plugin.c:242
+#: ../panel-plugin/screenshooter-plugin.c:332
+msgid ""
+"Select a region to be captured by clicking a point of the screen without "
+"releasing the mouse button, dragging your mouse to the other corner of the "
+"region, and releasing the mouse button."
+msgstr ""
+"Velg området som skal tas bilde av ved å klikke uten å slippe museknappen, "
+"deretter flytt musepekeren til det andre hjørnet av området, og slipp "
+"knappen."
+
+#: ../lib/screenshooter-dialogs.c:614
+msgid ""
+"<span weight=\"bold\" stretch=\"semiexpanded\">Delay before taking the "
+"screenshot</span>"
+msgstr ""
+"<span weight=\"bold\" stretch=\"semiexpanded\">Forsinkelse før "
+"skjermbildekopien tas</span>"
+
+#: ../lib/screenshooter-dialogs.c:660
+msgid "Delay in seconds before the screenshot is taken"
+msgstr "Forsinkelse i sekunder før skjermbildekopien tas"
+
+#: ../lib/screenshooter-dialogs.c:669
+msgid "seconds"
+msgstr "sekunder"
+
+#: ../lib/screenshooter-dialogs.c:691
+msgid "<span weight=\"bold\" stretch=\"semiexpanded\">Action</span>"
+msgstr "<span weight=\"bold\" stretch=\"semiexpanded\">Aksjon</span>"
+
+#: ../lib/screenshooter-dialogs.c:722
+msgid "Save"
+msgstr "Lagre"
+
+#: ../lib/screenshooter-dialogs.c:735
+msgid "Save the screenshot to a PNG file"
+msgstr "Lagre skjermbildekopien som en PNG fil"
+
+#: ../lib/screenshooter-dialogs.c:764
+msgid "Save by default to:"
+msgstr "Lagre alltid til:"
+
+#: ../lib/screenshooter-dialogs.c:780
+msgid ""
+"If checked, the screenshot will be saved by default to the location set on "
+"the right without displaying a save dialog"
+msgstr ""
+"Hvis aktivert vil skjermbildekopien automatisk lagres i plasseringen vist "
+"til høyre uten at lagringsbildet vises."
+
+#: ../lib/screenshooter-dialogs.c:785
+msgid "Default save location"
+msgstr "Standard lagringsplass"
+
+#: ../lib/screenshooter-dialogs.c:799
+msgid "Set the default save location"
+msgstr "Sett standard lagringsplass"
+
+#: ../lib/screenshooter-dialogs.c:821
+msgid "Copy to the clipboard"
+msgstr "Kopier til utklippstavlen"
+
+#: ../lib/screenshooter-dialogs.c:831
+msgid "Copy the screenshot to the clipboard so that it can be pasted later"
+msgstr ""
+"Kopier skjermbildekopien til utklippstavlen slik at det kan limes inn senere"
+
+#: ../lib/screenshooter-dialogs.c:849
+msgid "Open with:"
+msgstr "Åpne med:"
+
+#: ../lib/screenshooter-dialogs.c:865
+msgid "Open the screenshot with the chosen application"
+msgstr "Åpne skjermbildekopien med valgt program"
+
+#. Application label
+#: ../lib/screenshooter-dialogs.c:898
+msgid "Application:"
+msgstr "Program:"
+
+#: ../lib/screenshooter-dialogs.c:945 ../src/main.c:77
+msgid "Application to open the screenshot"
+msgstr "Program for å åpne skjermbildekopier"
+
+#: ../lib/screenshooter-dialogs.c:989
+msgid "Save screenshot as..."
+msgstr "Lagre skjermbildekopi som ..."
+
+#: ../src/main.c:46
+msgid "Version information"
+msgstr "Versjonsinformasjon"
+
+#: ../src/main.c:64
+msgid "Delay in seconds before taking the screenshot"
+msgstr "Forsinkelse i sekunder før skjermbildekopi tas"
+
+#: ../src/main.c:68
+msgid "Do not display the save dialog"
+msgstr "Ikke vis vindu for å lagre"
+
+#: ../src/main.c:72
+msgid "Directory where the screenshot will be saved"
+msgstr "Mappen hvor skjermbildekopier lagres"
+
+#: ../src/main.c:190
+#, c-format
+msgid ""
+"%s: %s\n"
+"Try %s --help to see a full list of available command line options.\n"
+msgstr ""
+"%s: %s\n"
+"Prøv %s --help for å se liste over tilgjengelige kommandolinjeopsjoner.\n"
+
+#: ../src/main.c:275
+#, c-format
+msgid "%s is not a valid directory, the default directory will be used."
+msgstr "%s er ikke en gyldig mappe, standard mappe vil bli benyttet."
+
+#: ../src/xfce4-screenshooter.desktop.in.in.h:2
+#: ../panel-plugin/screenshooter.desktop.in.in.h:2
+msgid ""
+"Take screenshots of the entire screen, of the active window or of a region"
+msgstr ""
+"Ta en skjermbildekopi av hele skjermen, det aktive vinduet eller et område "
+"av skjermen"

Added: xfce4-screenshooter/trunk/po/pt.po
===================================================================
--- xfce4-screenshooter/trunk/po/pt.po	                        (rev 0)
+++ xfce4-screenshooter/trunk/po/pt.po	2009-03-05 18:53:35 UTC (rev 6849)
@@ -0,0 +1,200 @@
+# European Portuguese translation for xfce4-screenshooter package.
+# Copyright (C) 2009 Jérôme Guelfucci <jerome.guelfucci at gmail.com>
+# This file is distributed under the same license as the xfce4-screenshooter package.
+# Automatically generated, 2009.
+# Nuno Miguel <nunis at netcabo.pt>, 2007, 2008, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: xfce4-screenshooter\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009-02-07 16:22+0100\n"
+"PO-Revision-Date: 2009-01-12 11:08+0100\n"
+"Last-Translator: Nuno Miguel <nunis at netcabo.pt>\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#: ../lib/screenshooter-dialogs.c:228
+msgid "Screenshot.png"
+msgstr "Captura_de_ecrã.png"
+
+#: ../lib/screenshooter-dialogs.c:243
+#, c-format
+msgid "Screenshot-%d.png"
+msgstr "Captura_de_ecrã-%d.png"
+
+#: ../lib/screenshooter-dialogs.c:465
+msgid "Take a screenshot"
+msgstr "Tirar uma captura de ecrã"
+
+#: ../lib/screenshooter-dialogs.c:472
+msgid "Take the screenshot"
+msgstr "Tirar captura"
+
+#: ../lib/screenshooter-dialogs.c:479
+#: ../src/xfce4-screenshooter.desktop.in.in.h:1
+#: ../panel-plugin/screenshooter.desktop.in.in.h:1
+msgid "Screenshot"
+msgstr "Captura de ecrã"
+
+#: ../lib/screenshooter-dialogs.c:489
+msgid "Preferences"
+msgstr "Preferências"
+
+#: ../lib/screenshooter-dialogs.c:507
+msgid "<span weight=\"bold\" stretch=\"semiexpanded\">Region to capture</span>"
+msgstr "<span weight=\"bold\" stretch=\"semiexpanded\">Zona a capturar</span>"
+
+#: ../lib/screenshooter-dialogs.c:539
+msgid "Entire screen"
+msgstr "Ecrã inteiro"
+
+#: ../lib/screenshooter-dialogs.c:550 ../src/main.c:54
+#: ../panel-plugin/screenshooter-plugin.c:232
+#: ../panel-plugin/screenshooter-plugin.c:322
+msgid "Take a screenshot of the entire screen"
+msgstr "Tirar uma imagem de todo o ecrã"
+
+#: ../lib/screenshooter-dialogs.c:563
+msgid "Active window"
+msgstr "Janela activa"
+
+#: ../lib/screenshooter-dialogs.c:574 ../src/main.c:50
+#: ../panel-plugin/screenshooter-plugin.c:237
+#: ../panel-plugin/screenshooter-plugin.c:327
+msgid "Take a screenshot of the active window"
+msgstr "Capturar uma imagem da janela activa"
+
+#: ../lib/screenshooter-dialogs.c:587
+msgid "Select a region"
+msgstr "Seleccionar uma zona"
+
+#: ../lib/screenshooter-dialogs.c:598 ../src/main.c:58
+#: ../panel-plugin/screenshooter-plugin.c:242
+#: ../panel-plugin/screenshooter-plugin.c:332
+msgid ""
+"Select a region to be captured by clicking a point of the screen without "
+"releasing the mouse button, dragging your mouse to the other corner of the "
+"region, and releasing the mouse button."
+msgstr ""
+"Seleccione uma zona para capturar ao clicar num ponto do ecrã sem libertar o "
+"botão do rato, arrastando o rato para outro canto da zona e libertando o "
+"botão do rato."
+
+#: ../lib/screenshooter-dialogs.c:614
+msgid ""
+"<span weight=\"bold\" stretch=\"semiexpanded\">Delay before taking the "
+"screenshot</span>"
+msgstr ""
+"<span weight=\"bold\" stretch=\"semiexpanded\">Atraso antes de capturar o "
+"ecrã</span>"
+
+#: ../lib/screenshooter-dialogs.c:660
+msgid "Delay in seconds before the screenshot is taken"
+msgstr "Atraso em segundos antes de capturar o ecrã"
+
+#: ../lib/screenshooter-dialogs.c:669
+msgid "seconds"
+msgstr "segundos"
+
+#: ../lib/screenshooter-dialogs.c:691
+msgid "<span weight=\"bold\" stretch=\"semiexpanded\">Action</span>"
+msgstr "<span weight=\"bold\" stretch=\"semiexpanded\">Acção</span>"
+
+#: ../lib/screenshooter-dialogs.c:722
+msgid "Save"
+msgstr "Gravar"
+
+#: ../lib/screenshooter-dialogs.c:735
+msgid "Save the screenshot to a PNG file"
+msgstr "Gravar captura de ecrã para ficheiro PNG"
+
+#: ../lib/screenshooter-dialogs.c:764
+msgid "Save by default to:"
+msgstr "Gravar na localização por omissão:"
+
+#: ../lib/screenshooter-dialogs.c:780
+msgid ""
+"If checked, the screenshot will be saved by default to the location set on "
+"the right without displaying a save dialog"
+msgstr ""
+"Se activo, a imagem será gravada na localização por omissão definida à "
+"direita sem mostrar um diálogo de gravação."
+
+#: ../lib/screenshooter-dialogs.c:785
+msgid "Default save location"
+msgstr "Localização por omissão para gravar"
+
+#: ../lib/screenshooter-dialogs.c:799
+msgid "Set the default save location"
+msgstr "Definir a localização por omissão para gravar"
+
+#: ../lib/screenshooter-dialogs.c:821
+msgid "Copy to the clipboard"
+msgstr "Copiar para a área de transferência"
+
+#: ../lib/screenshooter-dialogs.c:831
+msgid "Copy the screenshot to the clipboard so that it can be pasted later"
+msgstr ""
+"Copiar a imagem para a área de transferência para poder ser colada mais tarde"
+
+#: ../lib/screenshooter-dialogs.c:849
+msgid "Open with:"
+msgstr "Abrir com:"
+
+#: ../lib/screenshooter-dialogs.c:865
+msgid "Open the screenshot with the chosen application"
+msgstr "Abrir a imagem com a aplicação escolhida"
+
+#. Application label
+#: ../lib/screenshooter-dialogs.c:898
+msgid "Application:"
+msgstr "Aplicação:"
+
+#: ../lib/screenshooter-dialogs.c:945 ../src/main.c:77
+msgid "Application to open the screenshot"
+msgstr "Aplicação para abrir a captura de ecrã"
+
+#: ../lib/screenshooter-dialogs.c:989
+msgid "Save screenshot as..."
+msgstr "Gravar captura de ecrã como..."
+
+#: ../src/main.c:46
+msgid "Version information"
+msgstr "Informação da versão"
+
+#: ../src/main.c:64
+msgid "Delay in seconds before taking the screenshot"
+msgstr "Atraso em segundos antes de capturar o ecrã"
+
+#: ../src/main.c:68
+msgid "Do not display the save dialog"
+msgstr "Não exibir o diálogo gravar"
+
+#: ../src/main.c:72
+msgid "Directory where the screenshot will be saved"
+msgstr "Directório onde será gravada a captura de ecrã"
+
+#: ../src/main.c:190
+#, c-format
+msgid ""
+"%s: %s\n"
+"Try %s --help to see a full list of available command line options.\n"
+msgstr ""
+"%s: %s\n"
+"Tente %s --help para ver uma lista completa das opções de linha de comando "
+"disponíveis.\n"
+
+#: ../src/main.c:275
+#, c-format
+msgid "%s is not a valid directory, the default directory will be used."
+msgstr "%s não é um directório válido, o directório por omissão será usado."
+
+#: ../src/xfce4-screenshooter.desktop.in.in.h:2
+#: ../panel-plugin/screenshooter.desktop.in.in.h:2
+msgid ""
+"Take screenshots of the entire screen, of the active window or of a region"
+msgstr "Capturar imagens de todo o ecrã, da janela activa ou de uma zona"

Modified: xfce4-screenshooter/trunk/src/Makefile.am
===================================================================
--- xfce4-screenshooter/trunk/src/Makefile.am	2009-03-05 14:53:41 UTC (rev 6848)
+++ xfce4-screenshooter/trunk/src/Makefile.am	2009-03-05 18:53:35 UTC (rev 6849)
@@ -10,6 +10,7 @@
 	
 xfce4_screenshooter_LDFLAGS =                       \
 	@GTK_LIBS@ \
+	@GLIB_LIBS@ \
 	@LIBXFCE4UTIL_LIBS@ \
 	@LIBXFCEGUI4_LIBS@ \
 	$(top_builddir)/lib/libscreenshooter.la




More information about the Goodies-commits mailing list