diff --git a/NEWS b/NEWS index 05e4801a..1f1d53f7 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,9 @@ +* Don't follow the cursor when expanding to secondary palette. (marco) +* #2370 Update spanish translation. (marco) +* #2014 Add icons in the share dropdown in activities. (marco) + +Snapshot 9ac5d38e90 + * #2361 Ensure secondary palette state doesn't go out of screen. (marco) * #2014 Use a combobox to represent activity network state. (marco) diff --git a/po/es.po b/po/es.po index 50b6dbee..5f27c054 100644 --- a/po/es.po +++ b/po/es.po @@ -7,9 +7,10 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2007-03-23 14:50+0100\n" +"POT-Creation-Date: 2007-07-17 17:45-0700\n" "PO-Revision-Date: 2007-05-02 15:17-0300\n" -"Last-Translator: UYLUG Grupo de usuarios Linux en Uruguay \n" +"Last-Translator: UYLUG Grupo de usuarios Linux en Uruguay \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -19,96 +20,174 @@ msgstr "" "X-Poedit-Country: SPAIN\n" "X-Poedit-Basepath: .\n" -#: ../services/clipboard/typeregistry.py:29 -msgid "Text snippet" -msgstr "Recorte de texto" +#: ../shell/intro/intro.py:61 +#, fuzzy +msgid "Name:" +msgstr "Nombre:" -#: ../services/clipboard/typeregistry.py:57 -msgid "Image" -msgstr "Imagen" +#: ../shell/intro/intro.py:84 +msgid "Click to change color:" +msgstr "Clic para cambiar de color:" -#: ../services/clipboard/typeregistry.py:77 -msgid "Web Page" -msgstr "Página web" +#: ../shell/intro/intro.py:134 +msgid "Back" +msgstr "Atrás" -#: ../services/clipboard/typeregistry.py:103 -msgid "PDF file" -msgstr "Archivo PDF" +#: ../shell/intro/intro.py:142 +msgid "Done" +msgstr "" -#: ../services/clipboard/typeregistry.py:123 -msgid "MS Word file" -msgstr "Archivo MS Word" +#: ../shell/intro/intro.py:145 +msgid "Next" +msgstr "Siguiente" -#: ../services/clipboard/typeregistry.py:143 -msgid "RTF file" -msgstr "Archivo RTF" - -#: ../services/clipboard/typeregistry.py:154 -msgid "Abiword file" -msgstr "Archivo Abiword" - -#: ../services/clipboard/typeregistry.py:165 -msgid "Squeak project" -msgstr "Proyecto de Squeak" - -#: ../services/clipboard/typeregistry.py:185 -msgid "OpenOffice text file" -msgstr "Archivo de texto de Openoffice" - -#: ../services/clipboard/typeregistry.py:202 -msgid "Object" -msgstr "Objeto" - -#: ../shell/intro/intro.py:78 -msgid "Pick a buddy picture" -msgstr "Elegir la imagen de amigo" - -#: ../shell/intro/intro.py:101 -msgid "My Picture:" -msgstr "Mi imagen:" - -#: ../shell/intro/intro.py:181 -msgid "My Name:" -msgstr "Mi nombre:" - -#: ../shell/intro/intro.py:203 -msgid "My Color:" -msgstr "Mi color:" - -#: ../shell/view/BuddyMenu.py:89 +#: ../shell/view/BuddyMenu.py:82 msgid "Remove friend" msgstr "Eliminar amigo" -#: ../shell/view/BuddyMenu.py:93 +#: ../shell/view/BuddyMenu.py:85 msgid "Make friend" msgstr "Agregar amigo" -#: ../shell/view/BuddyMenu.py:103 +#. FIXME check that the buddy is not in the activity already +#: ../shell/view/BuddyMenu.py:96 msgid "Invite" msgstr "Invitar" -#: ../shell/view/clipboardmenu.py:63 -#: ../shell/view/clipboardmenu.py:79 +#: ../shell/view/clipboardmenu.py:66 msgid "Remove" msgstr "Eliminar" -#: ../shell/view/clipboardmenu.py:69 +#: ../shell/view/clipboardmenu.py:70 msgid "Open" msgstr "Abrir" -#: ../shell/view/clipboardmenu.py:93 -msgid "Stop download" -msgstr "Interrumpir la bajada" +#. self._stop_item = MenuItem(_('Stop download'), 'stock-close') +#. TODO: Implement stopping downloads +#. self._stop_item.connect('activate', self._stop_item_activate_cb) +#. self.append_menu_item(self._stop_item) +#: ../shell/view/clipboardmenu.py:79 +msgid "Add to journal" +msgstr "Agregar al diario" -#: ../shell/view/frame/ZoomBox.py:41 -msgid "Close" -msgstr "Cerrar" +#: ../shell/view/clipboardmenu.py:180 +#, python-format +msgid "Clipboard object: %s." +msgstr "Objeto de portapapel: %s" -#: ../sugar/graphics/optionmenu.py:72 -msgid "No options" -msgstr "Ninguna opción" +#: ../shell/view/frame/zoombox.py:42 +msgid "Neighborhood" +msgstr "Vecindario" -#: ../sugar/chat/ChatEditor.py:56 -msgid "Send" -msgstr "Enviar" +#: ../shell/view/frame/zoombox.py:55 +msgid "Group" +msgstr "Grupo" +#: ../shell/view/frame/zoombox.py:68 +msgid "Home" +msgstr "Hogar" + +#: ../shell/view/frame/zoombox.py:81 +msgid "Activity" +msgstr "Actividad" + +#: ../services/clipboard/objecttypeservice.py:32 +msgid "Text" +msgstr "Texto" + +#: ../services/clipboard/objecttypeservice.py:36 +msgid "Image" +msgstr "Imagen" + +#: ../shell/view/Shell.py:202 +msgid "Screenshot" +msgstr "Captura de pantalla" + +#: ../shell/view/home/HomeBox.py:140 +msgid "Shutdown" +msgstr "Apagar" + +#: ../shell/view/home/MeshBox.py:126 +msgid "Mesh Network" +msgstr "Red Malla" + +#: ../shell/view/devices/battery.py:34 +msgid "My Battery life" +msgstr "Carga de mi batería" + +#: ../shell/view/devices/battery.py:87 +msgid "Battery charging" +msgstr "Batería cargandose" + +#: ../shell/view/devices/battery.py:89 +msgid "Battery discharging" +msgstr "Batería descargandose" + +#: ../shell/view/devices/battery.py:91 +msgid "Battery fully charged" +msgstr "Batería totalmente cargada" + +#: ../sugar/activity/activity.py:68 +msgid "Keep" +msgstr "Guardar" + +#: ../sugar/activity/activity.py:74 +msgid "Share" +msgstr "Compartir" + +#: ../sugar/activity/activity.py:87 +msgid "Stop" +msgstr "Parar" + +#: ../sugar/activity/activity.py:248 +#, python-format +msgid "%s Activity" +msgstr "Actividad %s" + +#~ msgid "Text snippet" +#~ msgstr "Recorte de texto" + +#~ msgid "Web Page" +#~ msgstr "Página web" + +#~ msgid "PDF file" +#~ msgstr "Archivo PDF" + +#~ msgid "MS Word file" +#~ msgstr "Archivo MS-Word" + +#~ msgid "RTF file" +#~ msgstr "Archivo RTF" + +#~ msgid "Abiword file" +#~ msgstr "Archivo Abiword" + +#~ msgid "Squeak project" +#~ msgstr "Proyecto de Squeak" + +#~ msgid "OpenOffice text file" +#~ msgstr "Archivo de texto de OpenOffice" + +#~ msgid "Object" +#~ msgstr "Objeto" + +#~ msgid "Pick a buddy picture" +#~ msgstr "Elegir la imagen de amigo" + +#~ msgid "My Picture:" +#~ msgstr "Mi imagen:" + +#~ msgid "My Color:" +#~ msgstr "Mi color:" + +#~ msgid "Stop download" +#~ msgstr "Interrumpir la bajada" + +#~ msgid "Close" +#~ msgstr "Cerrar" + +#~ msgid "No options" +#~ msgstr "Ninguna opción" + +#~ msgid "Send" +#~ msgstr "Enviar" diff --git a/sugar/activity/activity.py b/sugar/activity/activity.py index 5615f38f..31b8d95d 100644 --- a/sugar/activity/activity.py +++ b/sugar/activity/activity.py @@ -70,8 +70,10 @@ class ActivityToolbar(gtk.Toolbar): self.share = ToolComboBox(label_text='Share with:') self.share.combo.connect('changed', self._share_changed_cb) - self.share.combo.append_item(None, _('Private')) - self.share.combo.append_item(None, _('My Neighborhood')) + self.share.combo.append_item(None, _('Private'), + 'theme:zoom-home-mini') + self.share.combo.append_item(None, _('My Neighborhood'), + 'theme:zoom-neighborhood-mini') self._update_share() self.insert(self.share, -1) diff --git a/sugar/graphics/palette.py b/sugar/graphics/palette.py index 89961388..b779eec7 100644 --- a/sugar/graphics/palette.py +++ b/sugar/graphics/palette.py @@ -69,6 +69,8 @@ class Palette(gobject.GObject): gobject.GObject.__init__(self) self._full_request = [0, 0] + self._cursor_x = 0 + self._cursor_y = 0 self._state = self._SECONDARY self._invoker = None self._group_id = None @@ -250,6 +252,12 @@ class Palette(gobject.GObject): self._set_state(state) + def _update_cursor_position(self): + display = gtk.gdk.display_get_default() + screen, x, y, mask = display.get_pointer() + self._cursor_x = x + self._cursor_y = y + def _update_position(self): x = y = 0 @@ -259,11 +267,11 @@ class Palette(gobject.GObject): position = self._position if position == self.AT_CURSOR: - display = gtk.gdk.display_get_default() - screen, x, y, mask = display.get_pointer() dist = style.PALETTE_CURSOR_DISTANCE + rect = gtk.gdk.Rectangle(self._cursor_x - dist, + self._cursor_y - dist, + dist * 2, dist * 2) - rect = gtk.gdk.Rectangle(x - dist, y - dist, dist * 2, dist * 2) x, y = self._get_at_cursor_position(rect) elif position == self.AROUND: x, y = self._get_around_position() @@ -282,6 +290,7 @@ class Palette(gobject.GObject): if self._up: return + self._update_cursor_position() self._update_full_request() self._invoker.connect_to_parent()