[gnome-devel-docs] Updated Spanish translation
- From: Daniel Mustieles García <dmustieles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-devel-docs] Updated Spanish translation
- Date: Thu, 6 Feb 2014 13:11:56 +0000 (UTC)
commit 41d46e3939b086e3f97739e42324388dea7ca429
Author: Daniel Mustieles <daniel mustieles gmail com>
Date: Thu Feb 6 14:11:48 2014 +0100
Updated Spanish translation
platform-demos/es/es.po |15617 +++++++++++++++++++++++++++++++----------------
1 files changed, 10295 insertions(+), 5322 deletions(-)
---
diff --git a/platform-demos/es/es.po b/platform-demos/es/es.po
index 76c0cfd..a59320a 100644
--- a/platform-demos/es/es.po
+++ b/platform-demos/es/es.po
@@ -4,13 +4,13 @@
# This file is distributed under the same license as the gnome-devel-docs package.
# Jorge González <jorgegonz svn gnome org>, 2011.
# Nicolás Satragno <nsatragno gnome org>, 2012, 2013.
-# Daniel Mustieles <daniel mustieles gmail com>, 2011, 2012, 2013.
+# Daniel Mustieles <daniel mustieles gmail com>, 2011, 2012, 2013, 2014.
#
msgid ""
msgstr ""
"Project-Id-Version: gnome-devel-docs.platform-demos.master\n"
-"POT-Creation-Date: 2013-12-18 20:34+0000\n"
-"PO-Revision-Date: 2013-12-30 11:47+0100\n"
+"POT-Creation-Date: 2014-02-06 08:02+0000\n"
+"PO-Revision-Date: 2014-02-06 14:11+0100\n"
"Last-Translator: Daniel Mustieles <daniel mustieles gmail com>\n"
"Language-Team: Español <gnome-es-list gnome org>\n"
"Language: \n"
@@ -24,345 +24,197 @@ msgstr ""
msgctxt "_"
msgid "translator-credits"
msgstr ""
+"Daniel Mustieles <daniel mustieles gmail com>, 2011 - 2014\n"
"Nicolás Satragno <nsatragno gmail com>, 2012 - 2013\n"
-"Daniel Mustieles <daniel mustieles gmail com>, 2011 - 2013\n"
"Jorge González <jorgegonz svn gnome org>, 2011"
-#: C/index.page:7(credit/name)
-msgid "GNOME Documentation Team"
-msgstr "Equipo de documentación de GNOME"
-
-#: C/index.page:9(credit/years)
-msgid "2010, 2011"
-msgstr "2010, 2011"
-
-#: C/index.page:12(credit/name) C/message-board.c.page:14(credit/name)
-msgid "Shaun McCance"
-msgstr "Shaun McCance"
-
-#: C/index.page:14(credit/years) C/message-board.c.page:16(credit/years)
-msgid "2010"
-msgstr "2010"
-
-#: C/index.page:17(credit/name) C/guitar-tuner.c.page:18(credit/name)
-#: C/guitar-tuner.cpp.page:16(credit/name)
-#: C/guitar-tuner.py.page:18(credit/name)
-#: C/guitar-tuner.vala.page:17(credit/name)
-#: C/image-viewer.c.page:18(credit/name)
-#: C/image-viewer.cpp.page:16(credit/name)
-#: C/image-viewer.js.page:18(credit/name)
-#: C/image-viewer.py.page:18(credit/name)
-#: C/image-viewer.vala.page:18(credit/name)
-#: C/magic-mirror.vala.page:18(credit/name)
-#: C/photo-wall.c.page:17(credit/name)
-#: C/record-collection.js.page:18(credit/name)
-msgid "Johannes Schmid"
-msgstr "Johannes Schmid"
-
-#: C/index.page:19(credit/years) C/bug-filing.page:11(credit/years)
-#: C/documentation.page:12(credit/years) C/entry.py.page:22(credit/years)
-#: C/model-view-controller.py.page:17(credit/years)
-#: C/properties.py.page:17(credit/years)
-#: C/signals-callbacks.py.page:17(credit/years)
-#: C/strings.py.page:17(credit/years) C/textview.py.page:17(credit/years)
-#: C/toolbar_builder.py.page:29(credit/years)
-#: C/translate.page:12(credit/years)
-msgid "2011"
-msgstr "2011"
-
-#: C/index.page:22(credit/name) C/aboutdialog.vala.page:20(credit/name)
-#: C/beginner.py.page:14(credit/name) C/beginner.vala.page:14(credit/name)
-#: C/bug-filing.page:9(credit/name) C/button.vala.page:13(credit/name)
-#: C/c.page:10(credit/name) C/checkbutton.c.page:12(credit/name)
-#: C/checkbutton.vala.page:12(credit/name)
-#: C/colorbutton.vala.page:14(credit/name) C/combobox.c.page:17(credit/name)
-#: C/combobox.vala.page:12(credit/name)
-#: C/combobox_multicolumn.vala.page:13(credit/name) C/cpp.page:10(credit/name)
-#: C/dialog.vala.page:12(credit/name) C/documentation.page:10(credit/name)
-#: C/entry.vala.page:12(credit/name)
-#: C/filechooserdialog.vala.page:15(credit/name)
-#: C/gmenu.c.page:12(credit/name) C/gmenu.js.page:12(credit/name)
-#: C/gmenu.py.page:14(credit/name) C/gmenu.vala.page:19(credit/name)
-#: C/grid.py.page:14(credit/name) C/grid.vala.page:14(credit/name)
-#: C/GtkApplicationWindow.c.page:12(credit/name)
-#: C/GtkApplicationWindow.js.page:12(credit/name)
-#: C/GtkApplicationWindow.py.page:14(credit/name)
-#: C/GtkApplicationWindow.vala.page:12(credit/name)
-#: C/guitar-tuner.vala.page:21(credit/name)
-#: C/hello-world.c.page:19(credit/name) C/hello-world.js.page:19(credit/name)
-#: C/hello-world.py.page:19(credit/name)
-#: C/hello-world.vala.page:19(credit/name) C/image.vala.page:12(credit/name)
-#: C/image-viewer.vala.page:26(credit/name) C/js.page:11(credit/name)
-#: C/label.vala.page:12(credit/name) C/linkbutton.vala.page:12(credit/name)
-#: C/menubar.py.page:14(credit/name) C/menubar.vala.page:14(credit/name)
-#: C/menubutton.c.page:12(credit/name) C/menubutton.py.page:13(credit/name)
-#: C/menubutton.vala.page:12(credit/name)
-#: C/messagedialog.vala.page:12(credit/name) C/paned.c.page:12(credit/name)
-#: C/paned.vala.page:12(credit/name) C/progressbar.vala.page:12(credit/name)
-#: C/py.page:10(credit/name) C/radiobutton.vala.page:15(credit/name)
-#: C/response-type.page:8(credit/name) C/scale.vala.page:14(credit/name)
-#: C/scrolledwindow.vala.page:13(credit/name)
-#: C/separator.c.page:13(credit/name) C/separator.vala.page:15(credit/name)
-#: C/spinbutton.vala.page:14(credit/name) C/spinner.vala.page:12(credit/name)
-#: C/statusbar.vala.page:15(credit/name) C/switch.vala.page:16(credit/name)
-#: C/textview.vala.page:12(credit/name)
-#: C/togglebutton.vala.page:15(credit/name) C/toolbar.js.page:12(credit/name)
-#: C/toolbar.vala.page:13(credit/name)
-#: C/toolbar_builder.py.page:15(credit/name)
-#: C/toolbar_builder.vala.page:14(credit/name)
-#: C/tooltip.c.page:13(credit/name) C/tooltip.vala.page:13(credit/name)
-#: C/treeview_simple_liststore.vala.page:14(credit/name)
-#: C/translate.page:10(credit/name) C/tutorial.py.page:14(credit/name)
-#: C/vala.page:10(credit/name) C/window.c.page:12(credit/name)
-#: C/window.py.page:14(credit/name) C/window.vala.page:12(credit/name)
-msgid "Tiffany Antopolski"
-msgstr "Tiffany Antopolski"
-
-#: C/index.page:27(page/title)
-msgid "GNOME Developer Platform Demos"
-msgstr "Demostraciones de la plataforma de desarrollo de GNOME"
-
-#: C/index.page:30(section/title)
-msgid "How to set up your development environment"
-msgstr "Cómo configurar el entorno de desarrollo"
-
-#: C/index.page:34(section/title)
-msgid "Tutorials, code samples, platform demos and more"
-msgstr ""
-"Tutoriales, ejemplos de código, demostraciones de la plataforma y más cosas"
-
-#: C/index.page:38(section/title)
-msgid "Get Involved"
-msgstr "Involucrarse"
-
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#: C/02_welcome_to_the_grid.js.page:94(media)
+#: C/02_welcome_to_the_grid.js.page:94
msgctxt "_"
msgid ""
"external ref='media/02_jsgrid_01.png' md5='3fdc22d361cf801f71557fdc76ae5b49'"
msgstr ""
"external ref='media/02_jsgrid_01.png' md5='3fdc22d361cf801f71557fdc76ae5b49'"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#: C/02_welcome_to_the_grid.js.page:149(media)
+#: C/02_welcome_to_the_grid.js.page:149
msgctxt "_"
msgid ""
"external ref='media/02_jsgrid_02.png' md5='07db86b0043ba5c3c24a90d7322bd81e'"
msgstr ""
"external ref='media/02_jsgrid_02.png' md5='07db86b0043ba5c3c24a90d7322bd81e'"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#: C/02_welcome_to_the_grid.js.page:166(media)
+#: C/02_welcome_to_the_grid.js.page:166
msgctxt "_"
msgid ""
"external ref='media/02_jsgrid_03.png' md5='817351e73c687d47253c56ed06b6629f'"
msgstr ""
"external ref='media/02_jsgrid_03.png' md5='817351e73c687d47253c56ed06b6629f'"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#: C/02_welcome_to_the_grid.js.page:196(media)
+#: C/02_welcome_to_the_grid.js.page:196
msgctxt "_"
msgid ""
"external ref='media/02_jsgrid_04.png' md5='eeaead27cee2851877fc3cfe66177f07'"
msgstr ""
"external ref='media/02_jsgrid_04.png' md5='eeaead27cee2851877fc3cfe66177f07'"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#: C/02_welcome_to_the_grid.js.page:205(media)
+#: C/02_welcome_to_the_grid.js.page:205
msgctxt "_"
msgid ""
"external ref='media/02_jsgrid_05.png' md5='a3ad12f432d5977fc1f66302ad5b7498'"
msgstr ""
"external ref='media/02_jsgrid_05.png' md5='a3ad12f432d5977fc1f66302ad5b7498'"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#: C/02_welcome_to_the_grid.js.page:216(media)
+#: C/02_welcome_to_the_grid.js.page:216
msgctxt "_"
msgid ""
"external ref='media/02_jsgrid_06.png' md5='450e48dbf6b8f5ce1c208e4812e1714b'"
msgstr ""
"external ref='media/02_jsgrid_06.png' md5='450e48dbf6b8f5ce1c208e4812e1714b'"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#: C/02_welcome_to_the_grid.js.page:226(media)
+#: C/02_welcome_to_the_grid.js.page:226
msgctxt "_"
msgid ""
"external ref='media/02_jsgrid_07.png' md5='0b304d70728903fbb2601d55bf00fdb9'"
msgstr ""
"external ref='media/02_jsgrid_07.png' md5='0b304d70728903fbb2601d55bf00fdb9'"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#: C/02_welcome_to_the_grid.js.page:248(media)
+#: C/02_welcome_to_the_grid.js.page:248
msgctxt "_"
msgid ""
"external ref='media/02_jsgrid_08.png' md5='78890beb47bd11360154b8ca4d50d1ff'"
msgstr ""
"external ref='media/02_jsgrid_08.png' md5='78890beb47bd11360154b8ca4d50d1ff'"
-#: C/02_welcome_to_the_grid.js.page:14(credit/name)
-#: C/03_getting_the_signal.js.page:15(credit/name)
-#: C/aboutdialog.js.page:11(credit/name) C/button.js.page:12(credit/name)
-#: C/checkbutton.js.page:12(credit/name)
-#: C/comboboxtext.js.page:14(credit/name) C/combobox.js.page:16(credit/name)
-#: C/dialog.js.page:12(credit/name) C/entry.js.page:12(credit/name)
-#: C/grid.js.page:17(credit/name) C/hellognome.js.page:11(credit/name)
-#: C/image.js.page:11(credit/name) C/label.js.page:12(credit/name)
-#: C/linkbutton.js.page:12(credit/name)
-#: C/messagedialog.js.page:15(credit/name)
-#: C/progressbar.js.page:11(credit/name) C/radiobutton.js.page:12(credit/name)
-#: C/scale.js.page:12(credit/name) C/set-up-gedit.js.page:11(credit/name)
-#: C/spinbutton.js.page:15(credit/name) C/spinner.js.page:12(credit/name)
-#: C/statusbar.js.page:12(credit/name) C/switch.js.page:12(credit/name)
-#: C/textview.js.page:16(credit/name) C/togglebutton.js.page:12(credit/name)
-#: C/treeview_simple_liststore.js.page:15(credit/name)
-#: C/window.js.page:12(credit/name)
+#. (itstool) path: credit/name
+#: C/02_welcome_to_the_grid.js.page:14 C/03_getting_the_signal.js.page:15
+#: C/aboutdialog.js.page:11 C/button.js.page:12 C/checkbutton.js.page:12
+#: C/comboboxtext.js.page:14 C/combobox.js.page:16 C/dialog.js.page:12
+#: C/entry.js.page:12 C/grid.js.page:17 C/hellognome.js.page:11
+#: C/image.js.page:11 C/label.js.page:12 C/linkbutton.js.page:12
+#: C/messagedialog.js.page:15 C/progressbar.js.page:11
+#: C/radiobutton.js.page:12 C/scale.js.page:12 C/set-up-gedit.js.page:11
+#: C/spinbutton.js.page:15 C/spinner.js.page:12 C/statusbar.js.page:12
+#: C/switch.js.page:12 C/textview.js.page:16 C/togglebutton.js.page:12
+#: C/treeview_simple_liststore.js.page:15 C/window.js.page:12
msgid "Taryn Fox"
msgstr "Taryn Fox"
-#: C/02_welcome_to_the_grid.js.page:16(credit/years)
-#: C/03_getting_the_signal.js.page:17(credit/years)
-#: C/aboutdialog.c.page:16(credit/years)
-#: C/aboutdialog.js.page:13(credit/years)
-#: C/aboutdialog.py.page:15(credit/years)
-#: C/aboutdialog.vala.page:16(credit/years)
-#: C/beginner.js.page:12(credit/years) C/button.c.page:16(credit/years)
-#: C/button.js.page:14(credit/years) C/button.py.page:16(credit/years)
-#: C/button.vala.page:15(credit/years) C/buttonbox.py.page:16(credit/years)
-#: C/checkbutton.c.page:14(credit/years)
-#: C/checkbutton.js.page:14(credit/years)
-#: C/checkbutton.py.page:15(credit/years)
-#: C/checkbutton.vala.page:14(credit/years)
-#: C/colorbutton.py.page:15(credit/years)
-#: C/colorbutton.vala.page:16(credit/years)
-#: C/comboboxtext.js.page:16(credit/years) C/combobox.c.page:14(credit/years)
-#: C/combobox.js.page:18(credit/years) C/combobox.py.page:16(credit/years)
-#: C/combobox.vala.page:14(credit/years)
-#: C/combobox_multicolumn.py.page:15(credit/years)
-#: C/dialog.c.page:16(credit/years) C/dialog.js.page:14(credit/years)
-#: C/dialog.py.page:16(credit/years) C/dialog.vala.page:14(credit/years)
-#: C/entry.c.page:14(credit/years) C/entry.js.page:14(credit/years)
-#: C/entry.py.page:16(credit/years) C/entry.vala.page:14(credit/years)
-#: C/filechooserdialog.py.page:18(credit/years)
-#: C/filechooserdialog.vala.page:17(credit/years)
-#: C/fontchooserwidget.py.page:16(credit/years)
-#: C/gmenu.c.page:14(credit/years) C/gmenu.js.page:14(credit/years)
-#: C/gmenu.py.page:16(credit/years) C/gmenu.py.page:22(credit/years)
-#: C/gmenu.vala.page:15(credit/years) C/grid.c.page:14(credit/years)
-#: C/grid.js.page:14(credit/years) C/grid.py.page:16(credit/years)
-#: C/grid.py.page:22(credit/years) C/grid.vala.page:16(credit/years)
-#: C/GtkApplicationWindow.c.page:14(credit/years)
-#: C/GtkApplicationWindow.js.page:14(credit/years)
-#: C/GtkApplicationWindow.py.page:16(credit/years)
-#: C/GtkApplicationWindow.py.page:21(credit/years)
-#: C/GtkApplicationWindow.vala.page:14(credit/years)
-#: C/guitar-tuner.js.page:13(credit/years)
-#: C/hellognome.js.page:13(credit/years) C/hello-world.c.page:16(credit/years)
-#: C/hello-world.js.page:16(credit/years)
-#: C/hello-world.py.page:16(credit/years)
-#: C/hello-world.vala.page:16(credit/years) C/image.c.page:14(credit/years)
-#: C/image.js.page:13(credit/years) C/image.py.page:16(credit/years)
-#: C/image.vala.page:14(credit/years) C/label.c.page:15(credit/years)
-#: C/label.js.page:14(credit/years) C/label.py.page:17(credit/years)
-#: C/label.py.page:22(credit/years) C/label.vala.page:14(credit/years)
-#: C/linkbutton.c.page:14(credit/years) C/linkbutton.js.page:14(credit/years)
-#: C/linkbutton.py.page:15(credit/years)
-#: C/linkbutton.vala.page:14(credit/years) C/menubar.c.page:16(credit/years)
-#: C/menubar.py.page:16(credit/years) C/menubar.py.page:21(credit/years)
-#: C/menubar.vala.page:16(credit/years) C/menubutton.js.page:14(credit/years)
-#: C/menubutton.py.page:15(credit/years) C/menubutton.py.page:21(credit/years)
-#: C/menubutton.vala.page:14(credit/years)
-#: C/messagedialog.c.page:15(credit/years)
-#: C/messagedialog.js.page:17(credit/years)
-#: C/messagedialog.py.page:15(credit/years)
-#: C/messagedialog.vala.page:14(credit/years)
-#: C/model-view-controller.py.page:22(credit/years)
-#: C/paned.c.page:14(credit/years) C/paned.py.page:15(credit/years)
-#: C/progressbar.c.page:15(credit/years)
-#: C/progressbar.js.page:13(credit/years)
-#: C/progressbar.py.page:15(credit/years)
-#: C/progressbar.vala.page:14(credit/years)
-#: C/properties.py.page:22(credit/years) C/radiobutton.c.page:16(credit/years)
-#: C/radiobutton.js.page:14(credit/years)
-#: C/radiobutton.py.page:16(credit/years)
-#: C/radiobutton.vala.page:17(credit/years)
-#: C/response-type.page:10(credit/years) C/scale.c.page:16(credit/years)
-#: C/scale.js.page:14(credit/years) C/scale.py.page:16(credit/years)
-#: C/scale.vala.page:16(credit/years) C/scrolledwindow.c.page:16(credit/years)
-#: C/scrolledwindow.py.page:15(credit/years)
-#: C/scrolledwindow.vala.page:15(credit/years)
-#: C/separator.py.page:16(credit/years)
-#: C/set-up-gedit.js.page:13(credit/years)
-#: C/signals-callbacks.py.page:22(credit/years)
-#: C/spinbutton.c.page:17(credit/years) C/spinbutton.js.page:17(credit/years)
-#: C/spinbutton.py.page:16(credit/years)
-#: C/spinbutton.vala.page:16(credit/years) C/spinner.c.page:15(credit/years)
-#: C/spinner.js.page:14(credit/years) C/spinner.py.page:15(credit/years)
-#: C/spinner.vala.page:14(credit/years) C/statusbar.c.page:18(credit/years)
-#: C/statusbar.js.page:14(credit/years) C/statusbar.py.page:16(credit/years)
-#: C/statusbar.vala.page:17(credit/years) C/strings.py.page:22(credit/years)
-#: C/switch.c.page:14(credit/years) C/switch.js.page:14(credit/years)
-#: C/switch.py.page:15(credit/years) C/switch.vala.page:18(credit/years)
-#: C/textview.c.page:14(credit/years) C/textview.js.page:18(credit/years)
-#: C/textview.py.page:23(credit/years) C/textview.vala.page:14(credit/years)
-#: C/togglebutton.c.page:18(credit/years)
-#: C/togglebutton.js.page:14(credit/years)
-#: C/togglebutton.py.page:15(credit/years)
-#: C/togglebutton.vala.page:17(credit/years) C/toolbar.c.page:16(credit/years)
-#: C/toolbar.js.page:14(credit/years) C/toolbar.py.page:16(credit/years)
-#: C/toolbar.vala.page:15(credit/years)
-#: C/toolbar_builder.py.page:17(credit/years)
-#: C/toolbar_builder.py.page:23(credit/years)
-#: C/toolbar_builder.vala.page:16(credit/years)
-#: C/tooltip.py.page:16(credit/years)
-#: C/treeview_advanced_liststore.py.page:15(credit/years)
-#: C/treeview_cellrenderertoggle.py.page:15(credit/years)
-#: C/treeview_simple_liststore.js.page:17(credit/years)
-#: C/treeview_simple_liststore.py.page:16(credit/years)
-#: C/treeview_simple_liststore.vala.page:16(credit/years)
-#: C/treeview_treestore.py.page:16(credit/years)
-#: C/tutorial.py.page:16(credit/years) C/weatherApp.js.page:13(credit/years)
-#: C/weatherAppMain.js.page:12(credit/years)
-#: C/weatherAutotools.js.page:12(credit/years)
-#: C/weatherGeonames.js.page:12(credit/years) C/window.c.page:14(credit/years)
-#: C/window.js.page:14(credit/years) C/window.py.page:16(credit/years)
-#: C/window.py.page:21(credit/years) C/window.vala.page:14(credit/years)
+#. (itstool) path: credit/years
+#: C/02_welcome_to_the_grid.js.page:16 C/03_getting_the_signal.js.page:17
+#: C/aboutdialog.c.page:16 C/aboutdialog.js.page:13 C/aboutdialog.py.page:15
+#: C/aboutdialog.vala.page:16 C/beginner.js.page:12 C/button.c.page:16
+#: C/button.js.page:14 C/button.py.page:16 C/button.vala.page:15
+#: C/buttonbox.py.page:16 C/checkbutton.c.page:14 C/checkbutton.js.page:14
+#: C/checkbutton.py.page:15 C/checkbutton.vala.page:14
+#: C/colorbutton.py.page:15 C/colorbutton.vala.page:16
+#: C/comboboxtext.js.page:16 C/combobox.c.page:14 C/combobox.js.page:18
+#: C/combobox.py.page:16 C/combobox.vala.page:14
+#: C/combobox_multicolumn.py.page:15 C/dialog.c.page:16 C/dialog.js.page:14
+#: C/dialog.py.page:16 C/dialog.vala.page:14 C/entry.c.page:14
+#: C/entry.js.page:14 C/entry.py.page:16 C/entry.vala.page:14
+#: C/filechooserdialog.py.page:18 C/filechooserdialog.vala.page:17
+#: C/fontchooserwidget.py.page:16 C/gmenu.c.page:14 C/gmenu.js.page:14
+#: C/gmenu.py.page:16 C/gmenu.py.page:22 C/gmenu.vala.page:15 C/grid.c.page:14
+#: C/grid.js.page:14 C/grid.py.page:16 C/grid.py.page:22 C/grid.vala.page:16
+#: C/GtkApplicationWindow.c.page:14 C/GtkApplicationWindow.js.page:14
+#: C/GtkApplicationWindow.py.page:16 C/GtkApplicationWindow.py.page:21
+#: C/GtkApplicationWindow.vala.page:14 C/guitar-tuner.js.page:13
+#: C/hellognome.js.page:13 C/hello-world.c.page:16 C/hello-world.js.page:16
+#: C/hello-world.py.page:16 C/hello-world.vala.page:16 C/image.c.page:14
+#: C/image.js.page:13 C/image.py.page:16 C/image.vala.page:14
+#: C/label.c.page:15 C/label.js.page:14 C/label.py.page:17 C/label.py.page:22
+#: C/label.vala.page:14 C/linkbutton.c.page:14 C/linkbutton.js.page:14
+#: C/linkbutton.py.page:15 C/linkbutton.vala.page:14 C/menubar.c.page:16
+#: C/menubar.py.page:16 C/menubar.py.page:21 C/menubar.vala.page:16
+#: C/menubutton.js.page:14 C/menubutton.py.page:15 C/menubutton.py.page:21
+#: C/menubutton.vala.page:14 C/messagedialog.c.page:15
+#: C/messagedialog.js.page:17 C/messagedialog.py.page:15
+#: C/messagedialog.vala.page:14 C/model-view-controller.py.page:22
+#: C/paned.c.page:14 C/paned.py.page:15 C/progressbar.c.page:15
+#: C/progressbar.js.page:13 C/progressbar.py.page:15
+#: C/progressbar.vala.page:14 C/properties.py.page:22 C/radiobutton.c.page:16
+#: C/radiobutton.js.page:14 C/radiobutton.py.page:16
+#: C/radiobutton.vala.page:17 C/response-type.page:10 C/scale.c.page:16
+#: C/scale.js.page:14 C/scale.py.page:16 C/scale.vala.page:16
+#: C/scrolledwindow.c.page:16 C/scrolledwindow.py.page:15
+#: C/scrolledwindow.vala.page:15 C/separator.py.page:16
+#: C/set-up-gedit.js.page:13 C/signals-callbacks.py.page:22
+#: C/spinbutton.c.page:17 C/spinbutton.js.page:17 C/spinbutton.py.page:16
+#: C/spinbutton.vala.page:16 C/spinner.c.page:15 C/spinner.js.page:14
+#: C/spinner.py.page:15 C/spinner.vala.page:14 C/statusbar.c.page:18
+#: C/statusbar.js.page:14 C/statusbar.py.page:16 C/statusbar.vala.page:17
+#: C/strings.py.page:22 C/switch.c.page:14 C/switch.js.page:14
+#: C/switch.py.page:15 C/switch.vala.page:18 C/textview.c.page:14
+#: C/textview.js.page:18 C/textview.py.page:23 C/textview.vala.page:14
+#: C/togglebutton.c.page:18 C/togglebutton.js.page:14
+#: C/togglebutton.py.page:15 C/togglebutton.vala.page:17 C/toolbar.c.page:16
+#: C/toolbar.js.page:14 C/toolbar.py.page:16 C/toolbar.vala.page:15
+#: C/toolbar_builder.py.page:17 C/toolbar_builder.py.page:23
+#: C/toolbar_builder.vala.page:16 C/tooltip.py.page:16
+#: C/treeview_advanced_liststore.py.page:15
+#: C/treeview_cellrenderertoggle.py.page:15
+#: C/treeview_simple_liststore.js.page:17
+#: C/treeview_simple_liststore.py.page:16
+#: C/treeview_simple_liststore.vala.page:16 C/treeview_treestore.py.page:16
+#: C/tutorial.py.page:16 C/weatherApp.js.page:13 C/weatherAppMain.js.page:12
+#: C/weatherAutotools.js.page:12 C/weatherGeonames.js.page:12
+#: C/window.c.page:14 C/window.js.page:14 C/window.py.page:16
+#: C/window.py.page:21 C/window.vala.page:14
msgid "2012"
msgstr "2012"
-#: C/02_welcome_to_the_grid.js.page:19(info/desc)
+#. (itstool) path: info/desc
+#: C/02_welcome_to_the_grid.js.page:19
msgid "Learn how to lay out UI components, like Images and Labels."
msgstr ""
"Aprenda cómo distribuir componentes de la IU, como imágenes y etiquetas."
-#: C/02_welcome_to_the_grid.js.page:22(page/title)
+#. (itstool) path: page/title
+#: C/02_welcome_to_the_grid.js.page:22
msgid "2. Welcome to the Grid"
msgstr "2. Bienvenido a la rejilla"
-#: C/02_welcome_to_the_grid.js.page:24(synopsis/p)
+#. (itstool) path: synopsis/p
+#: C/02_welcome_to_the_grid.js.page:24
msgid ""
"This tutorial will show you how to create basic widgets, or parts of the "
"GNOME user interface, like Images and Labels. You'll then learn how to "
@@ -374,7 +226,8 @@ msgstr ""
"cómo ordenarlas en una rejilla, que le permite poner widgets exactamente "
"donde los quiere."
-#: C/02_welcome_to_the_grid.js.page:25(note/p)
+#. (itstool) path: note/p
+#: C/02_welcome_to_the_grid.js.page:25
msgid ""
"Have you taken <link xref=\"hellognome.js\">the first tutorial in this "
"series</link> already? You'll want to do so before continuing."
@@ -382,11 +235,13 @@ msgstr ""
"¿Ya ha hecho <link xref=\"hellognome.js\">el primer tutorial en esta serie</"
"link>? Querrá hacerlo antes de continuar."
-#: C/02_welcome_to_the_grid.js.page:31(section/title)
+#. (itstool) path: section/title
+#: C/02_welcome_to_the_grid.js.page:31
msgid "Going native"
msgstr "Pasar a nativo"
-#: C/02_welcome_to_the_grid.js.page:33(section/p)
+#. (itstool) path: section/p
+#: C/02_welcome_to_the_grid.js.page:33
msgid ""
"In the last tutorial, we created what was basically a GNOME window frame for "
"a web app. All the GNOME-specific code we needed to learn revolved around "
@@ -401,7 +256,8 @@ msgstr ""
"aplicación en sí estaba escrita en HTML y JavaScript, al igual que la "
"mayoría de las páginas en la web."
-#: C/02_welcome_to_the_grid.js.page:34(section/p)
+#. (itstool) path: section/p
+#: C/02_welcome_to_the_grid.js.page:34
msgid ""
"This time, we're going to use only native GNOME widgets. A widget is just a "
"thing, like a checkbox or picture, and GNOME has a wide variety of them to "
@@ -415,7 +271,8 @@ msgstr ""
"de cosas como el botón y la cabecera en la aplicación web que escribió. "
"Porque en lugar de usar código web, estos van a ser 100% GNOME, usando GTK+."
-#: C/02_welcome_to_the_grid.js.page:35(note/p)
+#. (itstool) path: note/p
+#: C/02_welcome_to_the_grid.js.page:35
msgid ""
"GTK+ stands for \"GIMP Toolkit\". It's like a toolbox of widgets that you "
"can reach into, while building your applications. It was originally written "
@@ -427,11 +284,13 @@ msgstr ""
"escribió para <link href=\"http://www.gimp.org/\">GIMP</link>, que es un "
"editor de imágenes de software libre."
-#: C/02_welcome_to_the_grid.js.page:39(section/title)
+#. (itstool) path: section/title
+#: C/02_welcome_to_the_grid.js.page:39
msgid "Setting up our application"
msgstr "Creando la aplicación"
-#: C/02_welcome_to_the_grid.js.page:41(section/p)
+#. (itstool) path: section/p
+#: C/02_welcome_to_the_grid.js.page:41
msgid ""
"Before we dig out any widgets from the GTK+ toolbox, we first need to write "
"the basic boilerplate code that our application requires."
@@ -439,8 +298,9 @@ msgstr ""
"Antes de sacar ningún widget de la caja de herramientas de GTK+, se necesita "
"escribir el código básico plantilla que la aplicación requiere."
-#: C/02_welcome_to_the_grid.js.page:42(section/code)
-#: C/comboboxtext.js.page:30(section/code) C/textview.js.page:38(section/code)
+#. (itstool) path: section/code
+#: C/02_welcome_to_the_grid.js.page:42 C/comboboxtext.js.page:30
+#: C/textview.js.page:38
#, no-wrap
msgid ""
"\n"
@@ -455,7 +315,8 @@ msgstr ""
"const Gtk = imports.gi.Gtk;\n"
"const Lang = imports.lang;\n"
-#: C/02_welcome_to_the_grid.js.page:48(section/p)
+#. (itstool) path: section/p
+#: C/02_welcome_to_the_grid.js.page:48
msgid ""
"This part always goes at the start of your code. Depending on what you'll be "
"doing with it, you may want to declare more imports here. What we're writing "
@@ -469,11 +330,13 @@ msgstr ""
"widgets, y «Lang» para poder usar «Lang.bind» para conectar las señales de "
"activación e inicio de la aplicación a las funciones requeridas."
-#: C/02_welcome_to_the_grid.js.page:49(section/p)
+#. (itstool) path: section/p
+#: C/02_welcome_to_the_grid.js.page:49
msgid "Speaking of which:"
msgstr "Hablando de eso:"
-#: C/02_welcome_to_the_grid.js.page:50(section/code)
+#. (itstool) path: section/code
+#: C/02_welcome_to_the_grid.js.page:50
#, no-wrap
msgid ""
"\n"
@@ -522,7 +385,8 @@ msgstr ""
" this._buildUI ();\n"
" },\n"
-#: C/02_welcome_to_the_grid.js.page:73(section/p)
+#. (itstool) path: section/p
+#: C/02_welcome_to_the_grid.js.page:73
msgid ""
"This is the start of the application itself, and the _init function which "
"creates it. It tells _buildUI to create an ApplicationWindow, which we're "
@@ -533,7 +397,8 @@ msgstr ""
"Le dice a «_buildUI» que cree una «ApplicationWindow», a la que se llamará "
"«_window», y le dice a la ventana que se presente cuando se la necesite."
-#: C/02_welcome_to_the_grid.js.page:74(section/p)
+#. (itstool) path: section/p
+#: C/02_welcome_to_the_grid.js.page:74
msgid ""
"This part, again, is pretty much copy-and-paste, but you always want to give "
"your application a unique name."
@@ -541,7 +406,8 @@ msgstr ""
"Esta parte, nuevamente, es principalmente copiar y pegar, pero siempre "
"querrá darle a su aplicación un nombre único."
-#: C/02_welcome_to_the_grid.js.page:76(section/code)
+#. (itstool) path: section/code
+#: C/02_welcome_to_the_grid.js.page:76
#, no-wrap
msgid ""
"\n"
@@ -566,7 +432,8 @@ msgstr ""
" border_width: 10,\n"
" title: \"Welcome to the Grid\"});\n"
-#: C/02_welcome_to_the_grid.js.page:87(section/p)
+#. (itstool) path: section/p
+#: C/02_welcome_to_the_grid.js.page:87
msgid ""
"Finally, we start off the _buildUI function by creating a new "
"ApplicationWindow. We specify that it goes with this application, that it "
@@ -580,11 +447,13 @@ msgstr ""
"exterior y cualquier widget dentro de ella. También se le da un título, que "
"aparecerá en la parte superior de la ventana."
-#: C/02_welcome_to_the_grid.js.page:91(section/title)
+#. (itstool) path: section/title
+#: C/02_welcome_to_the_grid.js.page:91
msgid "Reaching into the GTK+ toolbox"
msgstr "Usar la caja de herramientas de GTK+"
-#: C/02_welcome_to_the_grid.js.page:92(section/p)
+#. (itstool) path: section/p
+#: C/02_welcome_to_the_grid.js.page:92
msgid ""
"What widgets should we use? Well, let's say we want to write an application "
"that looks like this:"
@@ -592,7 +461,8 @@ msgstr ""
"¿Qué widgets deben usarse? Bueno, si quiere escribir una aplicación que se "
"vea así:"
-#: C/02_welcome_to_the_grid.js.page:96(section/p)
+#. (itstool) path: section/p
+#: C/02_welcome_to_the_grid.js.page:96
msgid ""
"We're going to need, at the very least, a picture and a text label to go "
"with it. Let's start with the picture:"
@@ -600,7 +470,8 @@ msgstr ""
"Necesitará, al menos, una imagen y una etiqueta de texto para acompañarla. "
"Comience con la imagen:"
-#: C/02_welcome_to_the_grid.js.page:97(section/code)
+#. (itstool) path: section/code
+#: C/02_welcome_to_the_grid.js.page:97
#, no-wrap
msgid ""
"\n"
@@ -611,7 +482,8 @@ msgstr ""
" // Create an image\n"
" this._image = new Gtk.Image ({ file: \"gnome-image.png\" });\n"
-#: C/02_welcome_to_the_grid.js.page:102(section/p)
+#. (itstool) path: section/p
+#: C/02_welcome_to_the_grid.js.page:102
msgid ""
"You can download the image file used in this example <link href=\"https://"
"live.gnome.org/TarynFox?action=AttachFile&do=get&target=gnome-image."
@@ -623,7 +495,8 @@ msgstr ""
"target=gnome-image.png\">aquí</link>. Asegúrese de ponerlo en la misma "
"carpeta que el código que está escribiendo."
-#: C/02_welcome_to_the_grid.js.page:104(section/code)
+#. (itstool) path: section/code
+#: C/02_welcome_to_the_grid.js.page:104
#, no-wrap
msgid ""
"\n"
@@ -634,7 +507,8 @@ msgstr ""
" // Create a label\n"
" this._label = new Gtk.Label ({ label: \"Welcome to GNOME, too!\" });\n"
-#: C/02_welcome_to_the_grid.js.page:108(section/p)
+#. (itstool) path: section/p
+#: C/02_welcome_to_the_grid.js.page:108
msgid ""
"That code adds in the label beneath. You can see how we create widgets, "
"here; each one is a part of Gtk, and we can give it properties that "
@@ -648,7 +522,8 @@ msgstr ""
"«file» de la imagen al nombre de archivo de la imagen que se desea, y la "
"propiedad «label» de la etiqueta a la oración que se quiere bajo la imagen."
-#: C/02_welcome_to_the_grid.js.page:109(note/p)
+#. (itstool) path: note/p
+#: C/02_welcome_to_the_grid.js.page:109
msgid ""
"Yes, it sounds redundant for a Label to have a label property, but it's not. "
"Other widgets that contain text have a label property, so it's "
@@ -659,7 +534,8 @@ msgstr ""
"«label», por lo que es <em>consistente</em> que un widget «Label» también "
"tenga una."
-#: C/02_welcome_to_the_grid.js.page:110(section/p)
+#. (itstool) path: section/p
+#: C/02_welcome_to_the_grid.js.page:110
msgid ""
"We can't just add these widgets to our window in order, though, the same way "
"HTML elements appear in the order you write them. That's because an "
@@ -669,7 +545,8 @@ msgstr ""
"orden, como los elementos HTML aparecen en el orden en el que los escribe. "
"Eso es porque una «ApplicationWindow» sólo puede contener un widget."
-#: C/02_welcome_to_the_grid.js.page:111(section/p)
+#. (itstool) path: section/p
+#: C/02_welcome_to_the_grid.js.page:111
msgid ""
"How do we get around that? By making that one widget a container widget, "
"which can hold more than one widget and organize them inside it. Behold: The "
@@ -678,7 +555,8 @@ msgstr ""
"¿Cómo se resuelve eso? Haciendo que ese widget sea un widget contenedor, que "
"puede contener más de un widget y organizarlos dentro. Observe la rejilla."
-#: C/02_welcome_to_the_grid.js.page:112(section/code)
+#. (itstool) path: section/code
+#: C/02_welcome_to_the_grid.js.page:112
#, no-wrap
msgid ""
"\n"
@@ -689,7 +567,8 @@ msgstr ""
" // Create the Grid\n"
" this._grid = new Gtk.Grid ();\n"
-#: C/02_welcome_to_the_grid.js.page:117(section/p)
+#. (itstool) path: section/p
+#: C/02_welcome_to_the_grid.js.page:117
msgid ""
"We're not giving it any properties yet. Those will come later, as we learn "
"how to use the Grid's powers. First, let's attach the Image and Label we "
@@ -699,7 +578,8 @@ msgstr ""
"cómo usar los poderes de la rejilla. Primero, adjúntele a su rejilla la "
"imagen y la etiqueta que hizo."
-#: C/02_welcome_to_the_grid.js.page:118(section/code)
+#. (itstool) path: section/code
+#: C/02_welcome_to_the_grid.js.page:118
#, no-wrap
msgid ""
"\n"
@@ -712,7 +592,8 @@ msgstr ""
" this._grid.attach (this._image, 0, 0, 1, 1);\n"
" this._grid.attach (this._label, 0, 1, 1, 1);\n"
-#: C/02_welcome_to_the_grid.js.page:124(section/p)
+#. (itstool) path: section/p
+#: C/02_welcome_to_the_grid.js.page:124
msgid ""
"This code looks awfully complicated, but it's not. Here's what those numbers "
"mean:"
@@ -720,7 +601,8 @@ msgstr ""
"Este código se ve terriblemente complicado, pero no lo es. Aquí está lo que "
"esos números significan:"
-#: C/02_welcome_to_the_grid.js.page:126(item/p)
+#. (itstool) path: item/p
+#: C/02_welcome_to_the_grid.js.page:126
msgid ""
"The <em>first</em> number is what left-to-right position to put things in, "
"starting from 0. Any widget that uses a 0 here goes all the way to the left."
@@ -729,7 +611,8 @@ msgstr ""
"las cosas, comenzando desde 0. Cualquier widget que use un 0 aquí va todo a "
"la izquierda."
-#: C/02_welcome_to_the_grid.js.page:127(item/p)
+#. (itstool) path: item/p
+#: C/02_welcome_to_the_grid.js.page:127
msgid ""
"The <em>second</em> number is what top-to-botton position to put a given "
"widget in, starting from 0. The Label goes beneath the Image, so we give the "
@@ -739,7 +622,8 @@ msgstr ""
"widget dado, comenzando desde 0. La etiqueta va debajo de la imagen, por lo "
"que se le da a la imagen un 0 y a la etiqueta un 1 aquí."
-#: C/02_welcome_to_the_grid.js.page:128(item/p)
+#. (itstool) path: item/p
+#: C/02_welcome_to_the_grid.js.page:128
msgid ""
"The <em>third</em> and <em>fourth</em> numbers are how many columns and rows "
"a widget should take up. We'll see how these work in a minute."
@@ -747,7 +631,8 @@ msgstr ""
"Los números <em>tercero</em> y <em>cuarto</em> son cuántas columnas y filas "
"debe ocupar un widget. Se verá cómo funciona esto en un minuto."
-#: C/02_welcome_to_the_grid.js.page:131(section/code)
+#. (itstool) path: section/code
+#: C/02_welcome_to_the_grid.js.page:131
#, no-wrap
msgid ""
"\n"
@@ -778,7 +663,8 @@ msgstr ""
"let app = new WelcomeToTheGrid ();\n"
"app.application.run (ARGV);\n"
-#: C/02_welcome_to_the_grid.js.page:145(section/p)
+#. (itstool) path: section/p
+#: C/02_welcome_to_the_grid.js.page:145
msgid ""
"Now that we've created the Grid and attached all our widgets to it, we add "
"it to the window and tell the window to show itself, as the last part of the "
@@ -790,7 +676,8 @@ msgstr ""
"«_buildUI». Como siempre, para finalizar se crea una instancia nueva de la "
"clase de la aplicación y se le dice que se ejecute."
-#: C/02_welcome_to_the_grid.js.page:146(section/p)
+#. (itstool) path: section/p
+#: C/02_welcome_to_the_grid.js.page:146
msgid ""
"Save your application as welcome_to_the_grid.js. Then, to run your "
"application just open a terminal, go to the directory where your application "
@@ -800,12 +687,14 @@ msgstr ""
"su aplicación simplemente abra una terminal, vaya a la carpeta en la que "
"está, y escriba"
-#: C/02_welcome_to_the_grid.js.page:147(section/screen)
+#. (itstool) path: section/screen
+#: C/02_welcome_to_the_grid.js.page:147
#, no-wrap
msgid " <output style=\"prompt\">$ </output>gjs welcome_to_the_grid.js "
msgstr " <output style=\"prompt\">$ </output>gjs welcome_to_the_grid.js "
-#: C/02_welcome_to_the_grid.js.page:151(section/p)
+#. (itstool) path: section/p
+#: C/02_welcome_to_the_grid.js.page:151
msgid ""
"There we go! But wait. That doesn't look right. Why is the Label crammed up "
"next to the Image like that? That doesn't look as nice, and it makes it "
@@ -815,11 +704,13 @@ msgstr ""
"la imagen así? Eso no se ve tan bien, y la hace difícil de leer. ¿Qué puede "
"hacer acerca de esto?"
-#: C/02_welcome_to_the_grid.js.page:155(section/title)
+#. (itstool) path: section/title
+#: C/02_welcome_to_the_grid.js.page:155
msgid "Tweaking the Grid"
msgstr "Configurar la rejilla"
-#: C/02_welcome_to_the_grid.js.page:157(section/p)
+#. (itstool) path: section/p
+#: C/02_welcome_to_the_grid.js.page:157
msgid ""
"One thing we can do, is we can give the Label a margin_top property when we "
"create it. This works sort of like setting a margin for an HTML element "
@@ -829,7 +720,8 @@ msgstr ""
"cuando la crea. Esto funciona de manera similar a establecer un margen para "
"un elemento HTML usando estilos CSS en línea."
-#: C/02_welcome_to_the_grid.js.page:158(section/code)
+#. (itstool) path: section/code
+#: C/02_welcome_to_the_grid.js.page:158
#, no-wrap
msgid ""
"\n"
@@ -844,7 +736,8 @@ msgstr ""
" label: \"Welcome to GNOME, too!\",\n"
" margin_top: 20 });\n"
-#: C/02_welcome_to_the_grid.js.page:165(section/p)
+#. (itstool) path: section/p
+#: C/02_welcome_to_the_grid.js.page:165
msgid ""
"Of course, if we do that then if we replace the Label with something else -- "
"or add in another widget -- then we have to repeat the margin_top on it too. "
@@ -854,7 +747,8 @@ msgstr ""
"añade otro widget), entonces tendrá que repetir el «margin_top». De lo "
"contrario, acabará con algo así:"
-#: C/02_welcome_to_the_grid.js.page:168(section/p)
+#. (itstool) path: section/p
+#: C/02_welcome_to_the_grid.js.page:168
msgid ""
"We could give the Image a margin_bottom property, but that won't work when "
"the new Label is in a separate column. So how about we try this instead:"
@@ -863,7 +757,8 @@ msgstr ""
"cuando la etiqueta nueva esté en una columna separada. Entonces, mejor "
"probar esto:"
-#: C/02_welcome_to_the_grid.js.page:169(section/code)
+#. (itstool) path: section/code
+#: C/02_welcome_to_the_grid.js.page:169
#, no-wrap
msgid ""
"\n"
@@ -876,14 +771,16 @@ msgstr ""
" this._grid = new Gtk.Grid ({\n"
" row_spacing: 20 });\n"
-#: C/02_welcome_to_the_grid.js.page:175(section/p)
+#. (itstool) path: section/p
+#: C/02_welcome_to_the_grid.js.page:175
msgid ""
"That makes it so that there are always 20 pixels of space in between each "
"horizontal row."
msgstr ""
"Eso hace que siempre hayan 20 píxeles de espacio entre cada fila horizontal."
-#: C/02_welcome_to_the_grid.js.page:176(note/p)
+#. (itstool) path: note/p
+#: C/02_welcome_to_the_grid.js.page:176
msgid ""
"Yes, you can also set the column_spacing property on a Grid, or the "
"margin_left and margin_right properties on any widget. Try them out, if you "
@@ -893,11 +790,13 @@ msgstr ""
"las propiedades «margin_left» y «margin_right» en cualquier widget. "
"Pruébelas, si quiere."
-#: C/02_welcome_to_the_grid.js.page:180(section/title)
+#. (itstool) path: section/title
+#: C/02_welcome_to_the_grid.js.page:180
msgid "Adding more widgets"
msgstr "Añadir más widgets"
-#: C/02_welcome_to_the_grid.js.page:182(section/p)
+#. (itstool) path: section/p
+#: C/02_welcome_to_the_grid.js.page:182
msgid ""
"If we did want to add a second Label, how would we do it so that it actually "
"looked like it belonged there? One way is to center the Image on top, so "
@@ -910,7 +809,8 @@ msgstr ""
"izquierda. Allí es donde los otros números en el método «attach» de la "
"rejilla entran:"
-#: C/02_welcome_to_the_grid.js.page:183(section/code)
+#. (itstool) path: section/code
+#: C/02_welcome_to_the_grid.js.page:183
#, no-wrap
msgid ""
"\n"
@@ -933,7 +833,8 @@ msgstr ""
" this._grid.attach (this._label, 0, 1, 1, 1);\n"
" this._grid.attach (this._labelTwo, 1, 1, 1, 1);\n"
-#: C/02_welcome_to_the_grid.js.page:194(section/p)
+#. (itstool) path: section/p
+#: C/02_welcome_to_the_grid.js.page:194
msgid ""
"After we create the second Label, we attach it to the Grid to the right of "
"the first Label. Remember, the first two numbers count columns and rows from "
@@ -947,7 +848,8 @@ msgstr ""
"que si la primera etiqueta está en la columna 0 y fila 1, se puede poner la "
"segunda en la columna 1 y fila 1 para ponerla a la derecha de la primera."
-#: C/02_welcome_to_the_grid.js.page:195(section/p)
+#. (itstool) path: section/p
+#: C/02_welcome_to_the_grid.js.page:195
msgid ""
"Note the number 2 in the attach statement for the Image. That's what does "
"the trick here. That number is how many columns the Image spans, remember? "
@@ -957,11 +859,13 @@ msgstr ""
"lo que hace el truco. Ese número indica cuántas columnas ocupa la imagen, "
"¿recuerda? Entonces, cuando se junta todo, se obtiene algo así:"
-#: C/02_welcome_to_the_grid.js.page:198(section/p)
+#. (itstool) path: section/p
+#: C/02_welcome_to_the_grid.js.page:198
msgid "There are two things you should take note of, here."
msgstr "Hay dos cosas de las que debe tomar nota, aquí."
-#: C/02_welcome_to_the_grid.js.page:200(item/p)
+#. (itstool) path: item/p
+#: C/02_welcome_to_the_grid.js.page:200
msgid ""
"Setting the Image to span two columns doesn't stretch the picture itself "
"horizontally. Instead, it stretches the invisible box taken up by the Image "
@@ -972,7 +876,8 @@ msgstr ""
"«Image» ocupa para llenar ambas columnas, y luego pone la imagen en el "
"centro de esa caja."
-#: C/02_welcome_to_the_grid.js.page:201(item/p)
+#. (itstool) path: item/p
+#: C/02_welcome_to_the_grid.js.page:201
msgid ""
"Even though we've set the Grid's row_spacing and the ApplicationWindow's "
"border_width properties, we haven't yet set anything that puts a border in "
@@ -986,7 +891,8 @@ msgstr ""
"separadas anteriormente cuando la imagen estaba en una sola columna, pero "
"ahora que ocupa ambas GNOME no ve una razón para mantenerlas separadas."
-#: C/02_welcome_to_the_grid.js.page:204(section/p)
+#. (itstool) path: section/p
+#: C/02_welcome_to_the_grid.js.page:204
msgid ""
"There are at least three ways we can get around that last one. First, we can "
"set a margin_left or margin_right on one of the Labels:"
@@ -994,13 +900,15 @@ msgstr ""
"Existen por lo menos tres maneras de solucionar esto último. Primero, se "
"puede establecer «margin_left» o «margin_right» en una de las etiquetas:"
-#: C/02_welcome_to_the_grid.js.page:207(section/p)
+#. (itstool) path: section/p
+#: C/02_welcome_to_the_grid.js.page:207
msgid "Second, we can set the Grid's column_homogenous property to true."
msgstr ""
"Segundo, se puede establecer la propiedad «column_homogenous» de la rejilla "
"a «true»."
-#: C/02_welcome_to_the_grid.js.page:208(section/code)
+#. (itstool) path: section/code
+#: C/02_welcome_to_the_grid.js.page:208
#, no-wrap
msgid ""
"\n"
@@ -1015,11 +923,13 @@ msgstr ""
" column_homogeneous: true,\n"
" row_spacing: 20 });\n"
-#: C/02_welcome_to_the_grid.js.page:215(section/p)
+#. (itstool) path: section/p
+#: C/02_welcome_to_the_grid.js.page:215
msgid "That makes it look something like this:"
msgstr "Eso hace que se vea algo así:"
-#: C/02_welcome_to_the_grid.js.page:218(section/p)
+#. (itstool) path: section/p
+#: C/02_welcome_to_the_grid.js.page:218
msgid ""
"And third, we can set the Grid's column_spacing property, the same way we "
"set its row_spacing."
@@ -1027,7 +937,8 @@ msgstr ""
"Y tercero, se puede establecer la propiedad «column_spacing» de la rejilla, "
"de la misma manera que «row_spacing»."
-#: C/02_welcome_to_the_grid.js.page:219(section/code)
+#. (itstool) path: section/code
+#: C/02_welcome_to_the_grid.js.page:219
#, no-wrap
msgid ""
"\n"
@@ -1042,15 +953,18 @@ msgstr ""
" column_spacing: 20,\n"
" row_spacing: 20 });\n"
-#: C/02_welcome_to_the_grid.js.page:225(section/p)
+#. (itstool) path: section/p
+#: C/02_welcome_to_the_grid.js.page:225
msgid "That makes it look like this:"
msgstr "Esto hace que se vea así:"
-#: C/02_welcome_to_the_grid.js.page:230(section/title)
+#. (itstool) path: section/title
+#: C/02_welcome_to_the_grid.js.page:230
msgid "Using stock images"
msgstr "Usar imágenes del almacén"
-#: C/02_welcome_to_the_grid.js.page:232(section/p)
+#. (itstool) path: section/p
+#: C/02_welcome_to_the_grid.js.page:232
msgid ""
"GNOME has a lot of stock images on hand already, that we can use if we don't "
"feel like creating our own or if we want a universally-recognized icon. "
@@ -1061,7 +975,8 @@ msgstr ""
"Aquí se muestra cómo crear una imagen del almacén, comparado con crear una "
"normal:"
-#: C/02_welcome_to_the_grid.js.page:233(section/code)
+#. (itstool) path: section/code
+#: C/02_welcome_to_the_grid.js.page:233
#, no-wrap
msgid ""
"\n"
@@ -1078,7 +993,8 @@ msgstr ""
" // Create a second image using a stock icon\n"
" this._icon = new Gtk.Image ({ stock: 'gtk-about' });\n"
-#: C/02_welcome_to_the_grid.js.page:240(section/p)
+#. (itstool) path: section/p
+#: C/02_welcome_to_the_grid.js.page:240
msgid ""
"After that, we attach it to the Grid to the left of the first Label. (We "
"aren't using the second one for this example.)"
@@ -1086,7 +1002,8 @@ msgstr ""
"Después de eso, se añade a la rejilla, a la izquierda de la primera etiqueta "
"(todavía no se usa la segunda en este ejemplo)."
-#: C/02_welcome_to_the_grid.js.page:241(section/code)
+#. (itstool) path: section/code
+#: C/02_welcome_to_the_grid.js.page:241
#, no-wrap
msgid ""
"\n"
@@ -1101,13 +1018,15 @@ msgstr ""
" this._grid.attach (this._icon, 0, 1, 1, 1);\n"
" this._grid.attach (this._label, 1, 1, 1, 1);\n"
-#: C/02_welcome_to_the_grid.js.page:247(section/p)
+#. (itstool) path: section/p
+#: C/02_welcome_to_the_grid.js.page:247
msgid "That gives us this, when we run it:"
msgstr "Eso da esto, cuando se ejecuta:"
# Dejo las comillas "" porque así están en la página citada (que no está disponible en castellano,
aparentemente).
# Nicolás.
-#: C/02_welcome_to_the_grid.js.page:250(section/p)
+#. (itstool) path: section/p
+#: C/02_welcome_to_the_grid.js.page:250
msgid ""
"That's what the stock \"About\" icon looks like. You can see a list of all "
"the stock items starting with gtk-about in <link href=\"https://developer."
@@ -1124,7 +1043,8 @@ msgstr ""
"consulte la parte entre comillas, como \"gtk-about\", y copie esa parte para "
"usar el icono junto a ella."
-#: C/02_welcome_to_the_grid.js.page:251(note/p)
+#. (itstool) path: note/p
+#: C/02_welcome_to_the_grid.js.page:251
msgid ""
"We put single quotes around 'gtk-about' here because, unlike text strings "
"that have double quotes around them, that part will never need to be "
@@ -1138,19 +1058,21 @@ msgstr ""
"el icono, porque su nombre todavía es «gtk-about» sin importar el lenguaje "
"en el que habla."
-#: C/02_welcome_to_the_grid.js.page:256(section/title)
-#: C/03_getting_the_signal.js.page:337(section/title)
-#: C/hellognome.js.page:186(section/title)
+#. (itstool) path: section/title
+#: C/02_welcome_to_the_grid.js.page:256 C/03_getting_the_signal.js.page:337
+#: C/hellognome.js.page:186
msgid "What's next?"
msgstr "¿Qué viene ahora?"
-#: C/02_welcome_to_the_grid.js.page:257(section/p)
+#. (itstool) path: section/p
+#: C/02_welcome_to_the_grid.js.page:257
msgid ""
"Before we go on to the next tutorial, let's try something a little different:"
msgstr ""
"Antes de continuar con el siguiente tutorial, intente algo un poco diferente:"
-#: C/02_welcome_to_the_grid.js.page:258(section/code)
+#. (itstool) path: section/code
+#: C/02_welcome_to_the_grid.js.page:258
#, no-wrap
msgid ""
"\n"
@@ -1173,7 +1095,8 @@ msgstr ""
" this._grid.attach (this._icon, 0, 1, 1, 1);\n"
" this._grid.attach (this._button, 1, 1, 1, 1);\n"
-#: C/02_welcome_to_the_grid.js.page:269(section/p)
+#. (itstool) path: section/p
+#: C/02_welcome_to_the_grid.js.page:269
msgid ""
"That's right, we turned the Label into a Button just by changing the name! "
"If you run the application and click on it, though, you'll find that it "
@@ -1186,7 +1109,8 @@ msgstr ""
"nada. ¿Cómo hacer para que el botón haga algo? Eso es lo que descubrirá, en "
"<link xref=\"03_getting_the_signal.js\">el próximo tutorial</link>."
-#: C/02_welcome_to_the_grid.js.page:270(section/p)
+#. (itstool) path: section/p
+#: C/02_welcome_to_the_grid.js.page:270
msgid ""
"If you like, feel free to spend some time experimenting with Grids, Labels, "
"and Images, including stock images."
@@ -1194,7 +1118,8 @@ msgstr ""
"Si quiere, siéntase libre de experimentar con rejillas, etiquetas, e "
"imágenes, incluyendo imágenes del almacén."
-#: C/02_welcome_to_the_grid.js.page:271(note/p)
+#. (itstool) path: note/p
+#: C/02_welcome_to_the_grid.js.page:271
msgid ""
"One trick you can use to make more complex layouts is to nest Grids inside "
"of each other. This lets you group together related widgets, and rearrange "
@@ -1207,22 +1132,18 @@ msgstr ""
"de código del <link xref=\"radiobutton.js\">botón de radio</link> si quiere "
"ver cómo se hace esto."
-#: C/02_welcome_to_the_grid.js.page:275(section/title)
-#: C/checkbutton.js.page:130(section/title)
-#: C/comboboxtext.js.page:170(section/title)
-#: C/combobox.js.page:227(section/title)
-#: C/hellognome.js.page:193(section/title)
-#: C/messagedialog.js.page:183(section/title)
-#: C/radiobutton.js.page:268(section/title) C/scale.js.page:202(section/title)
-#: C/spinbutton.js.page:193(section/title)
-#: C/statusbar.js.page:215(section/title) C/switch.js.page:258(section/title)
-#: C/textview.js.page:242(section/title)
-#: C/togglebutton.js.page:147(section/title)
-#: C/treeview_simple_liststore.js.page:266(section/title)
+#. (itstool) path: section/title
+#: C/02_welcome_to_the_grid.js.page:275 C/checkbutton.js.page:130
+#: C/comboboxtext.js.page:170 C/combobox.js.page:227 C/hellognome.js.page:193
+#: C/messagedialog.js.page:183 C/radiobutton.js.page:268 C/scale.js.page:202
+#: C/spinbutton.js.page:193 C/statusbar.js.page:215 C/switch.js.page:258
+#: C/textview.js.page:242 C/togglebutton.js.page:147
+#: C/treeview_simple_liststore.js.page:266
msgid "Complete code sample"
msgstr "Código de ejemplo completo"
-#: C/02_welcome_to_the_grid.js.page:276(section/code)
+#. (itstool) path: section/code
+#: C/02_welcome_to_the_grid.js.page:276
#, no-wrap
msgid ""
"#!/usr/bin/gjs\n"
@@ -1399,17 +1320,12 @@ msgstr ""
"let app = new WelcomeToTheGrid ();\n"
"app.application.run (ARGV);\n"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/03_getting_the_signal.js.page:36(media)
-#: C/03_getting_the_signal.js.page:350(media)
+#: C/03_getting_the_signal.js.page:36 C/03_getting_the_signal.js.page:350
msgctxt "_"
msgid ""
"external ref='media/03_jssignal_01.png' "
@@ -1418,17 +1334,12 @@ msgstr ""
"external ref='media/03_jssignal_01.png' "
"md5='8d6ecab185f4af4534cc255d62b58b8e'"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/03_getting_the_signal.js.page:156(media)
-#: C/03_getting_the_signal.js.page:356(media)
+#: C/03_getting_the_signal.js.page:156 C/03_getting_the_signal.js.page:356
msgctxt "_"
msgid ""
"external ref='media/03_jssignal_02.png' "
@@ -1437,17 +1348,12 @@ msgstr ""
"external ref='media/03_jssignal_02.png' "
"md5='ba941390fbafc4a0f653c8f70bca92c0'"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/03_getting_the_signal.js.page:230(media)
-#: C/03_getting_the_signal.js.page:362(media)
+#: C/03_getting_the_signal.js.page:230 C/03_getting_the_signal.js.page:362
msgctxt "_"
msgid ""
"external ref='media/03_jssignal_03.png' "
@@ -1456,17 +1362,12 @@ msgstr ""
"external ref='media/03_jssignal_03.png' "
"md5='49ecf251b0bf57543c8d79a77b6f306d'"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/03_getting_the_signal.js.page:301(media)
-#: C/03_getting_the_signal.js.page:368(media)
+#: C/03_getting_the_signal.js.page:301 C/03_getting_the_signal.js.page:368
msgctxt "_"
msgid ""
"external ref='media/03_jssignal_04.png' "
@@ -1475,15 +1376,18 @@ msgstr ""
"external ref='media/03_jssignal_04.png' "
"md5='dfc5221ca15ca9fba7d3c76a73804e2d'"
-#: C/03_getting_the_signal.js.page:20(info/desc)
+#. (itstool) path: info/desc
+#: C/03_getting_the_signal.js.page:20
msgid "Create Buttons and other widgets that do things when you click on them."
msgstr "Crear botones y otros widgets que efectúan acciones cuando los pulsa."
-#: C/03_getting_the_signal.js.page:23(page/title)
+#. (itstool) path: page/title
+#: C/03_getting_the_signal.js.page:23
msgid "3. Getting the Signal"
msgstr "3. Obtener la señal"
-#: C/03_getting_the_signal.js.page:25(synopsis/p)
+#. (itstool) path: synopsis/p
+#: C/03_getting_the_signal.js.page:25
msgid ""
"In the last tutorial, we learned how to create widgets like Labels, Images, "
"and Buttons. Here, we'll learn how to make Buttons and other input widgets "
@@ -1495,11 +1399,13 @@ msgstr ""
"entrada hagan cosas realmente, escribiendo funciones que manejen las señales "
"que envían cuando se pulsan o interactúan."
-#: C/03_getting_the_signal.js.page:31(section/title)
+#. (itstool) path: section/title
+#: C/03_getting_the_signal.js.page:31
msgid "A basic application"
msgstr "Una aplicación básica"
-#: C/03_getting_the_signal.js.page:32(section/p)
+#. (itstool) path: section/p
+#: C/03_getting_the_signal.js.page:32
msgid ""
"In GNOME, widgets that you can interact with, like Buttons and Switches, "
"send out signals when they are clicked on or activated. A Button, for "
@@ -1511,7 +1417,8 @@ msgstr ""
"ejemplo, envía la señal «clicked» cuando alguien lo pulsa. Cuando esto "
"sucede, GNOME busca la parte de su código que dice qué hacer."
-#: C/03_getting_the_signal.js.page:33(section/p)
+#. (itstool) path: section/p
+#: C/03_getting_the_signal.js.page:33
msgid ""
"How do we write that code? By connecting that Button's \"clicked\" signal to "
"a callback function, which is a function you write just to handle that "
@@ -1523,11 +1430,13 @@ msgstr ""
"manejar esa señal. Entonces, cuando se envía esa señal, la función conectada "
"se ejecuta."
-#: C/03_getting_the_signal.js.page:34(section/p)
+#. (itstool) path: section/p
+#: C/03_getting_the_signal.js.page:34
msgid "Here is an extremely basic example:"
msgstr "Aquí hay un ejemplo extremadamente básico:"
-#: C/03_getting_the_signal.js.page:38(section/p)
+#. (itstool) path: section/p
+#: C/03_getting_the_signal.js.page:38
msgid ""
"This ApplicationWindow has a Button and a Label inside it, arranged in a "
"Grid. Whenever the Button is clicked, a variable that holds the number of "
@@ -1539,7 +1448,8 @@ msgstr ""
"galletas se incrementa en 1, y la etiqueta que muestra cuántas galletas hay "
"se actualiza."
-#: C/03_getting_the_signal.js.page:39(note/p)
+#. (itstool) path: note/p
+#: C/03_getting_the_signal.js.page:39
msgid ""
"The cookies in this example are not the same as the cookies that you get "
"from websites, which store your login information and may keep track of "
@@ -1550,7 +1460,8 @@ msgstr ""
"que almacenan su información de sesión y pueden rastrear qué sitios visitó. "
"Son solamente utilería imaginaria. Puede hornear algunas reales, si quiere."
-#: C/03_getting_the_signal.js.page:40(section/p)
+#. (itstool) path: section/p
+#: C/03_getting_the_signal.js.page:40
msgid ""
"Here is the basic, boilerplate code that goes at the start of the "
"application, before we start creating the window and widgets. Besides the "
@@ -1564,7 +1475,8 @@ msgstr ""
"usual es que se crea una variable global cerca del principio, para guardar "
"el número de galletas."
-#: C/03_getting_the_signal.js.page:41(section/code)
+#. (itstool) path: section/code
+#: C/03_getting_the_signal.js.page:41
#, no-wrap
msgid ""
"\n"
@@ -1629,7 +1541,8 @@ msgstr ""
" this._buildUI ();\n"
" },\n"
-#: C/03_getting_the_signal.js.page:72(section/p)
+#. (itstool) path: section/p
+#: C/03_getting_the_signal.js.page:72
msgid ""
"Take a look at the part that uses our application's connect method and Lang."
"bind, to connect its activate and startup signals to the functions that "
@@ -1643,11 +1556,13 @@ msgstr ""
"con el botón cuando llegue a él, excepto que conectará la señal «clicked» en "
"su lugar."
-#: C/03_getting_the_signal.js.page:76(section/title)
+#. (itstool) path: section/title
+#: C/03_getting_the_signal.js.page:76
msgid "Click the button"
msgstr "Pulsar el botón"
-#: C/03_getting_the_signal.js.page:78(section/p)
+#. (itstool) path: section/p
+#: C/03_getting_the_signal.js.page:78
msgid ""
"As usual, we'll put all the code to create our Button and other widgets "
"inside the _buildUI function, which is called when the application starts up."
@@ -1656,7 +1571,8 @@ msgstr ""
"widgets dentro de la función «_buildUI», que se llama cuando la aplicación "
"arranca."
-#: C/03_getting_the_signal.js.page:79(section/code)
+#. (itstool) path: section/code
+#: C/03_getting_the_signal.js.page:79
#, no-wrap
msgid ""
"\n"
@@ -1667,11 +1583,13 @@ msgstr ""
" // Build the application's UI\n"
" _buildUI: function() {\n"
-#: C/03_getting_the_signal.js.page:84(section/p)
+#. (itstool) path: section/p
+#: C/03_getting_the_signal.js.page:84
msgid "First, we create the window itself:"
msgstr "Primero, se crea la ventana en sí:"
-#: C/03_getting_the_signal.js.page:85(section/code)
+#. (itstool) path: section/code
+#: C/03_getting_the_signal.js.page:85
#, no-wrap
msgid ""
"\n"
@@ -1692,7 +1610,8 @@ msgstr ""
" default_width: 400,\n"
" title: \"Click the button to get a cookie!\"});\n"
-#: C/03_getting_the_signal.js.page:94(section/p)
+#. (itstool) path: section/p
+#: C/03_getting_the_signal.js.page:94
msgid ""
"Note that we've set its default_height and default_width properties. These "
"let us control how tall and wide the ApplicationWindow will be, in pixels."
@@ -1701,7 +1620,8 @@ msgstr ""
"«default_width». Estas le permiten controlar qué tan alta y ancha será la "
"«ApplicationWindow», en píxeles."
-#: C/03_getting_the_signal.js.page:95(section/p)
+#. (itstool) path: section/p
+#: C/03_getting_the_signal.js.page:95
msgid ""
"Next, we'll create the Label that shows us the number of cookies. We can use "
"the cookies variable as part of the Label's label property."
@@ -1710,7 +1630,8 @@ msgstr ""
"puede usar la variable de las galletas como parte de la propiedad «label» de "
"la etiqueta."
-#: C/03_getting_the_signal.js.page:96(section/code)
+#. (itstool) path: section/code
+#: C/03_getting_the_signal.js.page:96
#, no-wrap
msgid ""
"\n"
@@ -1723,7 +1644,8 @@ msgstr ""
" this._cookieLabel = new Gtk.Label ({\n"
" label: \"Number of cookies: \" + cookies });\n"
-#: C/03_getting_the_signal.js.page:102(section/p)
+#. (itstool) path: section/p
+#: C/03_getting_the_signal.js.page:102
msgid ""
"Now we'll create the Button. We set its label property to show the text that "
"we want on the Button, and we connect its \"clicked\" signal to a function "
@@ -1735,7 +1657,8 @@ msgstr ""
"función llamada «_getACookie», que se escribirá después de haber construido "
"la IU de la aplicación."
-#: C/03_getting_the_signal.js.page:103(section/code)
+#. (itstool) path: section/code
+#: C/03_getting_the_signal.js.page:103
#, no-wrap
msgid ""
"\n"
@@ -1752,7 +1675,8 @@ msgstr ""
" // Connect the cookie button to the function that handles clicking it\n"
" this._cookieButton.connect ('clicked', Lang.bind (this, this._getACookie));\n"
-#: C/03_getting_the_signal.js.page:110(section/p)
+#. (itstool) path: section/p
+#: C/03_getting_the_signal.js.page:110
msgid ""
"Finally, we create a Grid, attach the Label and Button to it, add it to the "
"window and tell the window to show itself and its contents. That's all we "
@@ -1769,7 +1693,8 @@ msgstr ""
"código de la etiqueta primero, igual se puede adjuntar a la rejilla de forma "
"tal que quede en la parte inferior."
-#: C/03_getting_the_signal.js.page:111(section/code)
+#. (itstool) path: section/code
+#: C/03_getting_the_signal.js.page:111
#, no-wrap
msgid ""
"\n"
@@ -1810,7 +1735,8 @@ msgstr ""
"\n"
" },\n"
-#: C/03_getting_the_signal.js.page:130(section/p)
+#. (itstool) path: section/p
+#: C/03_getting_the_signal.js.page:130
msgid ""
"Now, we write the _getACookie function. Whenever our Button sends out its "
"\"clicked\" signal, the code in this function will run. In this case, all it "
@@ -1823,7 +1749,8 @@ msgstr ""
"etiqueta para que muestre el número nuevo. Esto se hace usando el método "
"«set_label» de la etiqueta."
-#: C/03_getting_the_signal.js.page:131(note/p)
+#. (itstool) path: note/p
+#: C/03_getting_the_signal.js.page:131
msgid ""
"Many widgets have the same properties and methods. Both Labels and Buttons, "
"for instance, have a label property that says what text is inside them, and "
@@ -1838,7 +1765,8 @@ msgstr ""
"si aprende cómo funciona un widget, también aprenderá cómo funcionan otros "
"similares."
-#: C/03_getting_the_signal.js.page:132(section/code)
+#. (itstool) path: section/code
+#: C/03_getting_the_signal.js.page:132
#, no-wrap
msgid ""
"\n"
@@ -1863,7 +1791,8 @@ msgstr ""
"\n"
"});\n"
-#: C/03_getting_the_signal.js.page:144(section/p)
+#. (itstool) path: section/p
+#: C/03_getting_the_signal.js.page:144
msgid ""
"Finally, we run the application, using the same kind of code as in our last "
"tutorial."
@@ -1871,7 +1800,8 @@ msgstr ""
"Finalmente, se ejecuta la aplicación, usando el mismo tipo de código que en "
"el tutorial anterior."
-#: C/03_getting_the_signal.js.page:145(section/code)
+#. (itstool) path: section/code
+#: C/03_getting_the_signal.js.page:145
#, no-wrap
msgid ""
"\n"
@@ -1884,11 +1814,13 @@ msgstr ""
"let app = new GettingTheSignal ();\n"
"app.application.run (ARGV);\n"
-#: C/03_getting_the_signal.js.page:153(section/title)
+#. (itstool) path: section/title
+#: C/03_getting_the_signal.js.page:153
msgid "Flip the switch"
msgstr "Pulsar el interruptor"
-#: C/03_getting_the_signal.js.page:154(section/p)
+#. (itstool) path: section/p
+#: C/03_getting_the_signal.js.page:154
msgid ""
"Buttons aren't the only input widgets in our GTK+ toolbox. We can also use "
"switches, like the one in this example. Switches don't have a label "
@@ -1900,7 +1832,8 @@ msgstr ""
"interruptores no tienen una propiedad «label», por lo que hay que crear una "
"etiqueta separada que diga qué hace a su lado."
-#: C/03_getting_the_signal.js.page:158(section/p)
+#. (itstool) path: section/p
+#: C/03_getting_the_signal.js.page:158
msgid ""
"A Switch has two positions, Off and On. When a Switch is turned on, its text "
"and background color change, so you can tell which position it's in."
@@ -1909,7 +1842,8 @@ msgstr ""
"interruptor está encendido, su texto y color de fondo cambian, indicando en "
"qué posición está."
-#: C/03_getting_the_signal.js.page:160(section/p)
+#. (itstool) path: section/p
+#: C/03_getting_the_signal.js.page:160
msgid ""
"You may have seen Switches like these in GNOME's accessibility menu, which "
"let you turn features like large text and the on-screen keyboard on and off. "
@@ -1924,7 +1858,8 @@ msgstr ""
"galletas pulsando el botón «Get a cookie». Si está apagado, pulsar el botón "
"no hará nada."
-#: C/03_getting_the_signal.js.page:161(note/p)
+#. (itstool) path: note/p
+#: C/03_getting_the_signal.js.page:161
msgid ""
"You can get to the accessibility menu by clicking on the outline of a human, "
"near your name in the upper-right corner of the screen."
@@ -1932,11 +1867,13 @@ msgstr ""
"Puede llegar al menú de accesibilidad pulsando el contorno de un humano, "
"cerca de su nombre en la esquina superior derecha de la pantalla."
-#: C/03_getting_the_signal.js.page:162(section/p)
+#. (itstool) path: section/p
+#: C/03_getting_the_signal.js.page:162
msgid "Here's how we create the Switch:"
msgstr "Aquí se muestra cómo crear el interruptor:"
-#: C/03_getting_the_signal.js.page:163(section/code)
+#. (itstool) path: section/code
+#: C/03_getting_the_signal.js.page:163
#, no-wrap
msgid ""
"\n"
@@ -1947,7 +1884,8 @@ msgstr ""
" // Create the switch that controls whether or not you can win\n"
" this._cookieSwitch = new Gtk.Switch ();\n"
-#: C/03_getting_the_signal.js.page:168(section/p)
+#. (itstool) path: section/p
+#: C/03_getting_the_signal.js.page:168
msgid ""
"We don't actually need to connect the Switch to anything. All we need to do "
"is write an if statement in our _getACookie function, to check to see if the "
@@ -1960,7 +1898,8 @@ msgstr ""
"suceda tan pronto como se acciona el interruptor, conectaría su señal "
"«notify::active», así:"
-#: C/03_getting_the_signal.js.page:169(section/code)
+#. (itstool) path: section/code
+#: C/03_getting_the_signal.js.page:169
#, no-wrap
msgid ""
"\n"
@@ -1971,7 +1910,8 @@ msgstr ""
" // Connect the switch to the function that handles it\n"
" this._cookieSwitch.connect ('notify::active', Lang.bind (this, this._cookieDispenser));\n"
-#: C/03_getting_the_signal.js.page:174(section/p)
+#. (itstool) path: section/p
+#: C/03_getting_the_signal.js.page:174
msgid ""
"A Switch is set to the off position by default. If we wanted the Switch to "
"start out turned on, we would set the value of its active property to true "
@@ -1981,7 +1921,8 @@ msgstr ""
"interruptor arrancara encendido, establecería el valor de su propiedad "
"«active» a «true» cuando lo crea."
-#: C/03_getting_the_signal.js.page:175(section/code)
+#. (itstool) path: section/code
+#: C/03_getting_the_signal.js.page:175
#, no-wrap
msgid ""
"\n"
@@ -1990,7 +1931,8 @@ msgstr ""
"\n"
" this._cookieSwitch = new Gtk.Switch ({ active: true });\n"
-#: C/03_getting_the_signal.js.page:179(section/p)
+#. (itstool) path: section/p
+#: C/03_getting_the_signal.js.page:179
msgid ""
"Let's just create it normally, though, and then create the Label that goes "
"with it. We want the Switch and the Label to be kept right next to each "
@@ -2004,7 +1946,8 @@ msgstr ""
"rejilla en la rejilla más grande que contiene todos los widgets. Aquí está "
"cómo se ve el código para crear todo eso:"
-#: C/03_getting_the_signal.js.page:180(section/code)
+#. (itstool) path: section/code
+#: C/03_getting_the_signal.js.page:180
#, no-wrap
msgid ""
"\n"
@@ -2041,11 +1984,13 @@ msgstr ""
" this._switchGrid.attach (this._switchLabel, 0, 0, 1, 1);\n"
" this._switchGrid.attach (this._cookieSwitch, 1, 0, 1, 1);\n"
-#: C/03_getting_the_signal.js.page:198(section/p)
+#. (itstool) path: section/p
+#: C/03_getting_the_signal.js.page:198
msgid "And now we arrange everything in the larger Grid like so."
msgstr "Y ahora se organiza todo en la rejilla más grande así."
-#: C/03_getting_the_signal.js.page:199(section/code)
+#. (itstool) path: section/code
+#: C/03_getting_the_signal.js.page:199
#, no-wrap
msgid ""
"\n"
@@ -2060,7 +2005,8 @@ msgstr ""
" this._grid.attach (this._switchGrid, 0, 1, 1, 1);\n"
" this._grid.attach (this._cookieLabel, 0, 2, 1, 1);\n"
-#: C/03_getting_the_signal.js.page:206(section/p)
+#. (itstool) path: section/p
+#: C/03_getting_the_signal.js.page:206
msgid ""
"Now we change the _getACookie function so that it checks to see if the "
"cookie dispenser is turned on. We do that by using the Switch's get_active "
@@ -2072,7 +2018,8 @@ msgstr ""
"«get_active» del interruptor. Devuelve «true» si está encendido, y «false» "
"si está apagado."
-#: C/03_getting_the_signal.js.page:207(note/p)
+#. (itstool) path: note/p
+#: C/03_getting_the_signal.js.page:207
msgid ""
"When a method is used in an if statement like this, the code inside the if "
"statement is executed if the method returns true."
@@ -2080,7 +2027,8 @@ msgstr ""
"Cuando un método se usa en una declaración «if» como esta, el código dentro "
"de la declaración «if» se ejecuta si el método devuelve «true»."
-#: C/03_getting_the_signal.js.page:208(section/code)
+#. (itstool) path: section/code
+#: C/03_getting_the_signal.js.page:208
#, no-wrap
msgid ""
"\n"
@@ -2111,11 +2059,13 @@ msgstr ""
"\n"
" }\n"
-#: C/03_getting_the_signal.js.page:226(section/title)
+#. (itstool) path: section/title
+#: C/03_getting_the_signal.js.page:226
msgid "Tuning the radio"
msgstr "Sintonizar la radio"
-#: C/03_getting_the_signal.js.page:228(section/p)
+#. (itstool) path: section/p
+#: C/03_getting_the_signal.js.page:228
msgid ""
"Another type of input widget we can use is called the RadioButton. You "
"create them in groups, and then only one RadioButton in a group can be "
@@ -2131,7 +2081,8 @@ msgstr ""
"sintonizarse con una estación a la vez, por lo que cada vez que presionaba "
"un botón, otro saltaba hacia arriba."
-#: C/03_getting_the_signal.js.page:232(section/p)
+#. (itstool) path: section/p
+#: C/03_getting_the_signal.js.page:232
msgid ""
"First off, let's change our ApplicationWindow's name and increase its "
"border_width property, so that our widgets aren't packed in too tightly. The "
@@ -2143,7 +2094,8 @@ msgstr ""
"apretados. El «border_width» es el número de píxeles entre cualquier widget "
"y el borde de la ventana."
-#: C/03_getting_the_signal.js.page:233(section/code)
+#. (itstool) path: section/code
+#: C/03_getting_the_signal.js.page:233
#, no-wrap
msgid ""
"\n"
@@ -2166,7 +2118,8 @@ msgstr ""
" border_width: 20,\n"
" title: \"Choose the one that says 'cookie'!\"});\n"
-#: C/03_getting_the_signal.js.page:244(section/p)
+#. (itstool) path: section/p
+#: C/03_getting_the_signal.js.page:244
msgid ""
"After that, we create the RadioButtons. Remember how they're created in "
"groups? The way we do that, is we set each new RadioButton's group property "
@@ -2176,7 +2129,8 @@ msgstr ""
"grupos? Eso se hace estableciendo la propiedad «group» de cada botón de "
"radio al nombre de otro."
-#: C/03_getting_the_signal.js.page:245(section/code)
+#. (itstool) path: section/code
+#: C/03_getting_the_signal.js.page:245
#, no-wrap
msgid ""
"\n"
@@ -2195,7 +2149,8 @@ msgstr ""
" this._notCookieTwo = new Gtk.RadioButton ({ label: \"Not cookie\",\n"
" group: this._cookieButton });\n"
-#: C/03_getting_the_signal.js.page:254(section/p)
+#. (itstool) path: section/p
+#: C/03_getting_the_signal.js.page:254
msgid ""
"Next, we create a Grid for the RadioButtons. Remember, we don't have to "
"arrange things in Grids in the same order that we create them in."
@@ -2203,7 +2158,8 @@ msgstr ""
"A continuación, se crea una rejilla para los botones de radio. Recuerde, no "
"es necesario ordenar cosas en rejillas en el mismo orden que se crean."
-#: C/03_getting_the_signal.js.page:255(section/code)
+#. (itstool) path: section/code
+#: C/03_getting_the_signal.js.page:255
#, no-wrap
msgid ""
"\n"
@@ -2220,7 +2176,8 @@ msgstr ""
" this._radioGrid.attach (this._cookieButton, 0, 1, 1, 1);\n"
" this._radioGrid.attach (this._notCookieTwo, 0, 2, 1, 1);\n"
-#: C/03_getting_the_signal.js.page:263(section/p)
+#. (itstool) path: section/p
+#: C/03_getting_the_signal.js.page:263
msgid ""
"Normally, the RadioButton that's selected by default is the one that's the "
"name of the group. We want the first \"Not cookie\" button to be selected by "
@@ -2231,12 +2188,14 @@ msgstr ""
"primer botón «Not cookie» esté seleccionado de manera predeterminada, por lo "
"que se usa su método «set_active»."
-#: C/03_getting_the_signal.js.page:264(note/p)
+#. (itstool) path: note/p
+#: C/03_getting_the_signal.js.page:264
msgid "We could also set its active property to true when we create it."
msgstr ""
"También se podría establecer su propiedad «active» a «true» cuando se crea."
-#: C/03_getting_the_signal.js.page:265(section/code)
+#. (itstool) path: section/code
+#: C/03_getting_the_signal.js.page:265
#, no-wrap
msgid ""
"\n"
@@ -2247,11 +2206,13 @@ msgstr ""
" // Set the button that will be at the top to be active by default\n"
" this._notCookieOne.set_active (true);\n"
-#: C/03_getting_the_signal.js.page:270(section/p)
+#. (itstool) path: section/p
+#: C/03_getting_the_signal.js.page:270
msgid "Now we arrange everything in our main Grid like usual ..."
msgstr "Ahora se organiza todo en la rejilla principal como siempre…"
-#: C/03_getting_the_signal.js.page:271(section/code)
+#. (itstool) path: section/code
+#: C/03_getting_the_signal.js.page:271
#, no-wrap
msgid ""
"\n"
@@ -2266,7 +2227,8 @@ msgstr ""
" this._grid.attach (this._cookieButton, 0, 1, 1, 1);\n"
" this._grid.attach (this._cookieLabel, 0, 2, 1, 1);\n"
-#: C/03_getting_the_signal.js.page:278(section/p)
+#. (itstool) path: section/p
+#: C/03_getting_the_signal.js.page:278
msgid ""
"And then we change our _getACookie function to test to see if the cookie "
"button is the one that's selected."
@@ -2274,7 +2236,8 @@ msgstr ""
"Y después se cambia la función «_getACookie» para probar si el botón de la "
"galleta es el que está seleccionado."
-#: C/03_getting_the_signal.js.page:279(section/code)
+#. (itstool) path: section/code
+#: C/03_getting_the_signal.js.page:279
#, no-wrap
msgid ""
"\n"
@@ -2305,11 +2268,13 @@ msgstr ""
"\n"
" }\n"
-#: C/03_getting_the_signal.js.page:297(section/title)
+#. (itstool) path: section/title
+#: C/03_getting_the_signal.js.page:297
msgid "Can you spell \"cookie\"?"
msgstr "¿Puede deletrear «cookie»?"
-#: C/03_getting_the_signal.js.page:299(section/p)
+#. (itstool) path: section/p
+#: C/03_getting_the_signal.js.page:299
msgid ""
"The last input widget we're going to cover is the Entry widget, which is "
"used for single-line text entry."
@@ -2317,7 +2282,8 @@ msgstr ""
"El último widget de entrada que se va a cubrir es el widget «Entry», que se "
"usa para entrada de texto de una sola línea."
-#: C/03_getting_the_signal.js.page:300(note/p)
+#. (itstool) path: note/p
+#: C/03_getting_the_signal.js.page:300
msgid ""
"If you need to be able to enter in a whole paragraph or more, like if you "
"are building a text editor, you'll want to look at the much more "
@@ -2327,11 +2293,13 @@ msgstr ""
"construyendo un editor de texto, querrá echar un vistazo al widget <link "
"xref=\"textview.js\">TextView</link>, mucho más configurable."
-#: C/03_getting_the_signal.js.page:303(section/p)
+#. (itstool) path: section/p
+#: C/03_getting_the_signal.js.page:303
msgid "After we change the window's name, we create the Entry widget."
msgstr "Después de cambiar el nombre de la ventana, se crea el widget «Entry»."
-#: C/03_getting_the_signal.js.page:304(section/code)
+#. (itstool) path: section/code
+#: C/03_getting_the_signal.js.page:304
#, no-wrap
msgid ""
"\n"
@@ -2342,11 +2310,13 @@ msgstr ""
" // Create the text entry field\n"
" this._spellCookie = new Gtk.Entry ();\n"
-#: C/03_getting_the_signal.js.page:309(section/p)
+#. (itstool) path: section/p
+#: C/03_getting_the_signal.js.page:309
msgid "Next, we arrange everything in the Grid ..."
msgstr "A continuación, se organiza todo en la rejilla…"
-#: C/03_getting_the_signal.js.page:310(section/code)
+#. (itstool) path: section/code
+#: C/03_getting_the_signal.js.page:310
#, no-wrap
msgid ""
"\n"
@@ -2361,7 +2331,8 @@ msgstr ""
" this._grid.attach (this._cookieButton, 0, 1, 1, 1);\n"
" this._grid.attach (this._cookieLabel, 0, 2, 1, 1);\n"
-#: C/03_getting_the_signal.js.page:317(section/p)
+#. (itstool) path: section/p
+#: C/03_getting_the_signal.js.page:317
msgid ""
"And now we modify _getACookie's if statement again, using the Entry's "
"get_text method to retrieve the text that you entered into it and see if you "
@@ -2376,7 +2347,8 @@ msgstr ""
"JavaScript para cambiar todo el texto del «Entry» a minúsculas dentro de la "
"declaración «if»."
-#: C/03_getting_the_signal.js.page:318(note/p)
+#. (itstool) path: note/p
+#: C/03_getting_the_signal.js.page:318
msgid ""
"An Entry widget doesn't have a label property, which is a set text string "
"that the user can't change. (You can't normally change the label on a "
@@ -2388,7 +2360,8 @@ msgstr ""
"etiqueta de un botón, por ejemplo). En su lugar, tiene una propiedad «text», "
"que cambia de acuerdo a lo que el usuario introduce."
-#: C/03_getting_the_signal.js.page:319(section/code)
+#. (itstool) path: section/code
+#: C/03_getting_the_signal.js.page:319
#, no-wrap
msgid ""
"\n"
@@ -2419,7 +2392,8 @@ msgstr ""
"\n"
" }\n"
-#: C/03_getting_the_signal.js.page:338(section/p)
+#. (itstool) path: section/p
+#: C/03_getting_the_signal.js.page:338
msgid ""
"Keep reading, if you'd like to see the complete code for each version of our "
"cookie maker application."
@@ -2427,7 +2401,8 @@ msgstr ""
"Siga leyendo, si quiere ver el código completo para cada versión de la "
"aplicación creadora de galletas."
-#: C/03_getting_the_signal.js.page:339(note/p)
+#. (itstool) path: note/p
+#: C/03_getting_the_signal.js.page:339
msgid ""
"The main JavaScript tutorials page has <link xref=\"beginner.js#buttons"
"\">more detailed code samples</link> for each input widget, including "
@@ -2437,15 +2412,18 @@ msgstr ""
"js#buttons\">ejemplos de código más detallados</link> para cada widget de "
"entrada, incluyendo varios no cubiertos aquí."
-#: C/03_getting_the_signal.js.page:344(section/title)
+#. (itstool) path: section/title
+#: C/03_getting_the_signal.js.page:344
msgid "Complete code samples"
msgstr "Ejemplos de código completos"
-#: C/03_getting_the_signal.js.page:349(section/title)
+#. (itstool) path: section/title
+#: C/03_getting_the_signal.js.page:349
msgid "Code sample with Button"
msgstr "Ejemplo de código con botón"
-#: C/03_getting_the_signal.js.page:351(section/code)
+#. (itstool) path: section/code
+#: C/03_getting_the_signal.js.page:351
#, no-wrap
msgid ""
"#!/usr/bin/gjs\n"
@@ -2622,11 +2600,13 @@ msgstr ""
"let app = new GettingTheSignal ();\n"
"app.application.run (ARGV);\n"
-#: C/03_getting_the_signal.js.page:355(section/title)
+#. (itstool) path: section/title
+#: C/03_getting_the_signal.js.page:355
msgid "Code sample with Switch"
msgstr "Ejemplo de código con interruptor"
-#: C/03_getting_the_signal.js.page:357(section/code)
+#. (itstool) path: section/code
+#: C/03_getting_the_signal.js.page:357
#, no-wrap
msgid ""
"#!/usr/bin/gjs\n"
@@ -2849,11 +2829,13 @@ msgstr ""
"let app = new GettingTheSignal ();\n"
"app.application.run (ARGV);\n"
-#: C/03_getting_the_signal.js.page:361(section/title)
+#. (itstool) path: section/title
+#: C/03_getting_the_signal.js.page:361
msgid "Code sample with RadioButton"
msgstr "Ejemplo de código con botón de radio"
-#: C/03_getting_the_signal.js.page:363(section/code)
+#. (itstool) path: section/code
+#: C/03_getting_the_signal.js.page:363
#, no-wrap
msgid ""
"#!/usr/bin/gjs\n"
@@ -3078,11 +3060,13 @@ msgstr ""
"let app = new GettingTheSignal ();\n"
"app.application.run (ARGV);\n"
-#: C/03_getting_the_signal.js.page:367(section/title)
+#. (itstool) path: section/title
+#: C/03_getting_the_signal.js.page:367
msgid "Code sample with Entry"
msgstr "Ejemplo de código con «Entry»"
-#: C/03_getting_the_signal.js.page:369(section/code)
+#. (itstool) path: section/code
+#: C/03_getting_the_signal.js.page:369
#, no-wrap
msgid ""
"#!/usr/bin/gjs\n"
@@ -3281,27 +3265,13 @@ msgstr ""
"let app = new GettingTheSignal ();\n"
"app.application.run (ARGV);\n"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/aboutdialog.c.page:24(media) C/aboutdialog.js.page:20(media)
-#: C/aboutdialog.py.page:22(media) C/aboutdialog.vala.page:29(media)
+#: C/aboutdialog.c.page:24 C/aboutdialog.js.page:20 C/aboutdialog.py.page:22
+#: C/aboutdialog.vala.page:29
msgctxt "_"
msgid ""
"external ref='media/aboutdialog_GMenu.png' "
@@ -3310,41 +3280,41 @@ msgstr ""
"external ref='media/aboutdialog_GMenu.png' "
"md5='a36117a559fa98e25e2f6b3db593639f'"
-#: C/aboutdialog.c.page:7(info/title)
+#. (itstool) path: info/title
+#: C/aboutdialog.c.page:7
msgctxt "text"
msgid "AboutDialog (C)"
msgstr "AboutDialog (C)"
-#: C/aboutdialog.c.page:14(credit/name) C/button.c.page:14(credit/name)
-#: C/combobox.c.page:12(credit/name) C/dialog.c.page:14(credit/name)
-#: C/entry.c.page:12(credit/name) C/grid.c.page:12(credit/name)
-#: C/image.c.page:12(credit/name) C/label.c.page:13(credit/name)
-#: C/linkbutton.c.page:12(credit/name) C/menubar.c.page:14(credit/name)
-#: C/messagedialog.c.page:13(credit/name) C/progressbar.c.page:13(credit/name)
-#: C/radiobutton.c.page:14(credit/name) C/scale.c.page:14(credit/name)
-#: C/scrolledwindow.c.page:14(credit/name) C/spinbutton.c.page:15(credit/name)
-#: C/spinner.c.page:13(credit/name) C/statusbar.c.page:16(credit/name)
-#: C/switch.c.page:12(credit/name) C/textview.c.page:12(credit/name)
-#: C/togglebutton.c.page:16(credit/name) C/toolbar.c.page:14(credit/name)
+#. (itstool) path: credit/name
+#: C/aboutdialog.c.page:14 C/button.c.page:14 C/combobox.c.page:12
+#: C/dialog.c.page:14 C/entry.c.page:12 C/grid.c.page:12 C/image.c.page:12
+#: C/label.c.page:13 C/linkbutton.c.page:12 C/menubar.c.page:14
+#: C/messagedialog.c.page:13 C/progressbar.c.page:13 C/radiobutton.c.page:14
+#: C/scale.c.page:14 C/scrolledwindow.c.page:14 C/spinbutton.c.page:15
+#: C/spinner.c.page:13 C/statusbar.c.page:16 C/switch.c.page:12
+#: C/textview.c.page:12 C/togglebutton.c.page:16 C/toolbar.c.page:14
msgid "Monica Kochofar"
msgstr "Monica Kochofar"
-#: C/aboutdialog.c.page:19(info/desc) C/aboutdialog.js.page:16(info/desc)
-#: C/aboutdialog.vala.page:25(info/desc)
+#. (itstool) path: info/desc
+#: C/aboutdialog.c.page:19 C/aboutdialog.js.page:16 C/aboutdialog.vala.page:25
msgid "Display information about an application"
msgstr "Mostrar información acerca de una aplicación"
-#: C/aboutdialog.c.page:22(page/title) C/aboutdialog.js.page:19(page/title)
-#: C/aboutdialog.py.page:21(page/title) C/aboutdialog.vala.page:28(page/title)
+#. (itstool) path: page/title
+#: C/aboutdialog.c.page:22 C/aboutdialog.js.page:19 C/aboutdialog.py.page:21
+#: C/aboutdialog.vala.page:28
msgid "AboutDialog"
msgstr "AboutDialog"
-#: C/aboutdialog.c.page:25(page/p) C/aboutdialog.vala.page:30(page/p)
+#. (itstool) path: page/p
+#: C/aboutdialog.c.page:25 C/aboutdialog.vala.page:30
msgid "An AboutDialog example using Gtk.ApplicationWindow and Menu"
msgstr "Un ejemplo de AboutDialog usando Gtk.ApplicationWindow y Menu"
-#: C/aboutdialog.c.page:26(note/p) C/aboutdialog.vala.page:31(note/p)
-#: C/gmenu.c.page:23(note/p)
+#. (itstool) path: note/p
+#: C/aboutdialog.c.page:26 C/aboutdialog.vala.page:31 C/gmenu.c.page:23
msgid ""
"<em style=\"bold\">You need to be running Gtk3.4 or later for this to work</"
"em>"
@@ -3352,7 +3322,8 @@ msgstr ""
"<em style=\"bold\">Necesita ejecutar GTK+ 3.4 o superior para que funcione</"
"em>"
-#: C/aboutdialog.c.page:28(page/code)
+#. (itstool) path: page/code
+#: C/aboutdialog.c.page:28
#, no-wrap
msgid ""
"\n"
@@ -3691,91 +3662,68 @@ msgstr ""
" return status;\n"
"}\n"
-#: C/aboutdialog.c.page:30(page/p) C/aboutdialog.js.page:24(page/p)
-#: C/aboutdialog.py.page:41(section/p) C/aboutdialog.vala.page:34(page/p)
-#: C/button.c.page:29(page/p) C/button.js.page:26(page/p)
-#: C/button.py.page:52(section/p) C/buttonbox.js.page:35(section/p)
-#: C/buttonbox.py.page:46(section/p) C/checkbutton.c.page:25(page/p)
-#: C/checkbutton.py.page:42(section/p) C/checkbutton.vala.page:25(page/p)
-#: C/colorbutton.js.page:33(section/p) C/colorbutton.py.page:40(section/p)
-#: C/colorbutton.vala.page:27(page/p) C/comboboxtext.js.page:176(section/p)
-#: C/combobox.c.page:30(page/p) C/combobox.js.page:233(section/p)
-#: C/combobox.py.page:42(section/p) C/combobox.vala.page:25(page/p)
-#: C/combobox_multicolumn.py.page:41(section/p)
-#: C/combobox_multicolumn.vala.page:35(section/p) C/dialog.c.page:29(page/p)
-#: C/dialog.js.page:25(page/p) C/dialog.py.page:46(section/p)
-#: C/dialog.vala.page:27(page/p) C/entry.c.page:27(page/p)
-#: C/entry.js.page:25(page/p) C/entry.py.page:61(section/p)
-#: C/entry.vala.page:25(page/p) C/filechooserdialog.py.page:70(section/p)
-#: C/filechooserdialog.vala.page:35(section/p)
-#: C/fontchooserwidget.js.page:34(section/p)
-#: C/fontchooserwidget.py.page:44(section/p)
-#: C/fontchooserwidget.vala.page:34(section/p) C/gmenu.c.page:27(page/p)
-#: C/gmenu.js.page:25(page/p) C/gmenu.py.page:77(section/p)
-#: C/gmenu.vala.page:37(page/p) C/grid.c.page:27(page/p)
-#: C/grid.js.page:29(page/p) C/grid.py.page:54(section/p)
-#: C/grid.vala.page:27(page/p) C/GtkApplicationWindow.c.page:25(page/p)
-#: C/GtkApplicationWindow.js.page:26(page/p)
-#: C/GtkApplicationWindow.py.page:50(section/p)
-#: C/GtkApplicationWindow.vala.page:26(page/p) C/image.c.page:28(page/p)
-#: C/image.js.page:27(page/p) C/image.py.page:100(section/p)
-#: C/image.vala.page:27(page/p) C/label.c.page:32(page/p)
-#: C/label.js.page:25(page/p) C/label.py.page:87(section/p)
-#: C/label.vala.page:26(page/p) C/linkbutton.c.page:27(page/p)
-#: C/linkbutton.js.page:25(page/p) C/linkbutton.py.page:44(section/p)
-#: C/linkbutton.vala.page:25(page/p) C/menubar.c.page:32(page/p)
-#: C/menubar.py.page:183(section/p) C/menubar.vala.page:187(section/p)
-#: C/menubutton.c.page:35(section/p) C/menubutton.js.page:28(page/p)
-#: C/menubutton.py.page:53(section/p) C/menubutton.vala.page:28(page/p)
-#: C/messagedialog.c.page:31(page/p) C/messagedialog.js.page:189(section/p)
-#: C/messagedialog.py.page:54(section/p) C/messagedialog.vala.page:26(page/p)
-#: C/paned.c.page:33(section/p) C/paned.js.page:33(section/p)
-#: C/paned.py.page:39(section/p) C/paned.vala.page:33(section/p)
-#: C/progressbar.c.page:28(page/p) C/progressbar.js.page:34(page/p)
-#: C/progressbar.py.page:54(section/p) C/progressbar.vala.page:25(page/p)
-#: C/radiobutton.c.page:29(page/p) C/radiobutton.py.page:46(section/p)
-#: C/radiobutton.vala.page:28(page/p) C/scale.c.page:29(page/p)
-#: C/scale.py.page:54(section/p) C/scale.vala.page:27(page/p)
-#: C/scrolledwindow.c.page:29(page/p) C/scrolledwindow.js.page:33(section/p)
-#: C/scrolledwindow.py.page:42(section/p)
-#: C/scrolledwindow.vala.page:26(page/p) C/separator.c.page:35(section/p)
-#: C/separator.py.page:36(section/p) C/separator.vala.page:37(section/p)
-#: C/spinbutton.c.page:30(page/p) C/spinbutton.py.page:46(section/p)
-#: C/spinbutton.vala.page:27(page/p) C/spinner.c.page:28(page/p)
-#: C/spinner.js.page:25(page/p) C/spinner.py.page:39(section/p)
-#: C/spinner.vala.page:25(page/p) C/statusbar.c.page:31(page/p)
-#: C/statusbar.py.page:50(section/p) C/statusbar.vala.page:28(page/p)
-#: C/switch.c.page:28(page/p) C/switch.py.page:42(section/p)
-#: C/switch.vala.page:31(page/p) C/textview.c.page:31(page/p)
-#: C/textview.py.page:93(section/p) C/textview.vala.page:30(page/p)
-#: C/togglebutton.c.page:31(page/p) C/togglebutton.py.page:41(section/p)
-#: C/togglebutton.vala.page:28(page/p) C/toolbar.c.page:30(page/p)
-#: C/toolbar.js.page:26(page/p) C/toolbar.py.page:52(section/p)
-#: C/toolbar.vala.page:29(page/p) C/toolbar_builder.py.page:191(section/p)
-#: C/toolbar_builder.vala.page:146(page/p) C/tooltip.c.page:35(section/p)
-#: C/tooltip.js.page:34(section/p) C/tooltip.py.page:56(section/p)
-#: C/tooltip.vala.page:35(section/p)
-#: C/treeview_advanced_liststore.py.page:41(section/p)
-#: C/treeview_cellrenderertoggle.py.page:41(section/p)
-#: C/treeview_simple_liststore.js.page:272(section/p)
-#: C/treeview_simple_liststore.py.page:42(section/p)
-#: C/treeview_simple_liststore.vala.page:27(page/p)
-#: C/treeview_treestore.py.page:41(section/p) C/window.c.page:29(page/p)
-#: C/window.py.page:61(section/p) C/window.vala.page:33(page/p)
+#. (itstool) path: page/p
+#. (itstool) path: section/p
+#: C/aboutdialog.c.page:30 C/aboutdialog.js.page:24 C/aboutdialog.py.page:41
+#: C/aboutdialog.vala.page:34 C/button.c.page:29 C/button.js.page:26
+#: C/button.py.page:52 C/buttonbox.js.page:35 C/buttonbox.py.page:46
+#: C/checkbutton.c.page:25 C/checkbutton.py.page:42 C/checkbutton.vala.page:25
+#: C/colorbutton.js.page:33 C/colorbutton.py.page:40
+#: C/colorbutton.vala.page:27 C/comboboxtext.js.page:176 C/combobox.c.page:30
+#: C/combobox.js.page:233 C/combobox.py.page:42 C/combobox.vala.page:25
+#: C/combobox_multicolumn.py.page:41 C/combobox_multicolumn.vala.page:35
+#: C/dialog.c.page:29 C/dialog.js.page:25 C/dialog.py.page:46
+#: C/dialog.vala.page:27 C/entry.c.page:27 C/entry.js.page:25
+#: C/entry.py.page:61 C/entry.vala.page:25 C/filechooserdialog.py.page:70
+#: C/filechooserdialog.vala.page:35 C/fontchooserwidget.js.page:34
+#: C/fontchooserwidget.py.page:44 C/fontchooserwidget.vala.page:34
+#: C/gmenu.c.page:27 C/gmenu.js.page:25 C/gmenu.py.page:77
+#: C/gmenu.vala.page:37 C/grid.c.page:27 C/grid.js.page:29 C/grid.py.page:54
+#: C/grid.vala.page:27 C/GtkApplicationWindow.c.page:25
+#: C/GtkApplicationWindow.js.page:26 C/GtkApplicationWindow.py.page:50
+#: C/GtkApplicationWindow.vala.page:26 C/image.c.page:28 C/image.js.page:27
+#: C/image.py.page:100 C/image.vala.page:27 C/label.c.page:32
+#: C/label.js.page:25 C/label.py.page:87 C/label.vala.page:26
+#: C/linkbutton.c.page:27 C/linkbutton.js.page:25 C/linkbutton.py.page:44
+#: C/linkbutton.vala.page:25 C/menubar.c.page:32 C/menubar.py.page:183
+#: C/menubar.vala.page:187 C/menubutton.c.page:35 C/menubutton.js.page:28
+#: C/menubutton.py.page:53 C/menubutton.vala.page:28 C/messagedialog.c.page:31
+#: C/messagedialog.js.page:189 C/messagedialog.py.page:54
+#: C/messagedialog.vala.page:26 C/paned.c.page:33 C/paned.js.page:33
+#: C/paned.py.page:39 C/paned.vala.page:33 C/progressbar.c.page:28
+#: C/progressbar.js.page:34 C/progressbar.py.page:54
+#: C/progressbar.vala.page:25 C/radiobutton.c.page:29 C/radiobutton.py.page:46
+#: C/radiobutton.vala.page:28 C/scale.c.page:29 C/scale.py.page:54
+#: C/scale.vala.page:27 C/scrolledwindow.c.page:29 C/scrolledwindow.js.page:33
+#: C/scrolledwindow.py.page:42 C/scrolledwindow.vala.page:26
+#: C/separator.c.page:35 C/separator.py.page:36 C/separator.vala.page:37
+#: C/spinbutton.c.page:30 C/spinbutton.py.page:46 C/spinbutton.vala.page:27
+#: C/spinner.c.page:28 C/spinner.js.page:25 C/spinner.py.page:39
+#: C/spinner.vala.page:25 C/statusbar.c.page:31 C/statusbar.py.page:50
+#: C/statusbar.vala.page:28 C/switch.c.page:28 C/switch.py.page:42
+#: C/switch.vala.page:31 C/textview.c.page:31 C/textview.py.page:93
+#: C/textview.vala.page:30 C/togglebutton.c.page:31 C/togglebutton.py.page:41
+#: C/togglebutton.vala.page:28 C/toolbar.c.page:30 C/toolbar.js.page:26
+#: C/toolbar.py.page:52 C/toolbar.vala.page:29 C/toolbar_builder.py.page:191
+#: C/toolbar_builder.vala.page:146 C/tooltip.c.page:35 C/tooltip.js.page:34
+#: C/tooltip.py.page:56 C/tooltip.vala.page:35
+#: C/treeview_advanced_liststore.py.page:41
+#: C/treeview_cellrenderertoggle.py.page:41
+#: C/treeview_simple_liststore.js.page:272
+#: C/treeview_simple_liststore.py.page:42
+#: C/treeview_simple_liststore.vala.page:27 C/treeview_treestore.py.page:41
+#: C/window.c.page:29 C/window.py.page:61 C/window.vala.page:33
msgid "In this sample we used the following:"
msgstr "En este ejemplo se usa lo siguiente:"
-#: C/aboutdialog.c.page:34(item/p) C/button.c.page:33(item/p)
-#: C/combobox.c.page:34(item/p) C/dialog.c.page:33(item/p)
-#: C/entry.c.page:31(item/p) C/grid.c.page:31(item/p)
-#: C/GtkApplicationWindow.c.page:29(item/p) C/image.c.page:32(item/p)
-#: C/label.c.page:36(item/p) C/linkbutton.c.page:31(item/p)
-#: C/messagedialog.c.page:35(item/p) C/progressbar.c.page:32(item/p)
-#: C/radiobutton.c.page:33(item/p) C/scale.c.page:33(item/p)
-#: C/spinbutton.c.page:34(item/p) C/spinner.c.page:32(item/p)
-#: C/statusbar.c.page:35(item/p) C/switch.c.page:32(item/p)
-#: C/textview.c.page:35(item/p) C/togglebutton.c.page:35(item/p)
-#: C/window.c.page:33(item/p)
+#. (itstool) path: item/p
+#: C/aboutdialog.c.page:34 C/button.c.page:33 C/combobox.c.page:34
+#: C/dialog.c.page:33 C/entry.c.page:31 C/grid.c.page:31
+#: C/GtkApplicationWindow.c.page:29 C/image.c.page:32 C/label.c.page:36
+#: C/linkbutton.c.page:31 C/messagedialog.c.page:35 C/progressbar.c.page:32
+#: C/radiobutton.c.page:33 C/scale.c.page:33 C/spinbutton.c.page:34
+#: C/spinner.c.page:32 C/statusbar.c.page:35 C/switch.c.page:32
+#: C/textview.c.page:35 C/togglebutton.c.page:35 C/window.c.page:33
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/3.4/GtkApplication.html"
"\">GtkApplication</link>"
@@ -3783,15 +3731,13 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/3.4/GtkApplication.html"
"\">GtkApplication</link>"
-#: C/aboutdialog.c.page:35(item/p) C/button.c.page:34(item/p)
-#: C/combobox.c.page:35(item/p) C/dialog.c.page:34(item/p)
-#: C/entry.c.page:32(item/p) C/grid.c.page:32(item/p)
-#: C/linkbutton.c.page:32(item/p) C/messagedialog.c.page:37(item/p)
-#: C/progressbar.c.page:33(item/p) C/radiobutton.c.page:34(item/p)
-#: C/scale.c.page:34(item/p) C/spinbutton.c.page:35(item/p)
-#: C/spinner.c.page:33(item/p) C/statusbar.c.page:36(item/p)
-#: C/switch.c.page:33(item/p) C/textview.c.page:36(item/p)
-#: C/togglebutton.c.page:36(item/p) C/window.c.page:34(item/p)
+#. (itstool) path: item/p
+#: C/aboutdialog.c.page:35 C/button.c.page:34 C/combobox.c.page:35
+#: C/dialog.c.page:34 C/entry.c.page:32 C/grid.c.page:32
+#: C/linkbutton.c.page:32 C/messagedialog.c.page:37 C/progressbar.c.page:33
+#: C/radiobutton.c.page:34 C/scale.c.page:34 C/spinbutton.c.page:35
+#: C/spinner.c.page:33 C/statusbar.c.page:36 C/switch.c.page:33
+#: C/textview.c.page:36 C/togglebutton.c.page:36 C/window.c.page:34
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/3.4/GtkWindow.html\">GtkWindow</"
"link>"
@@ -3799,7 +3745,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/3.4/GtkWindow.html\">GtkWindow</"
"link>"
-#: C/aboutdialog.c.page:36(item/p)
+#. (itstool) path: item/p
+#: C/aboutdialog.c.page:36
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkAboutDialog.html"
"\">GtkAboutDialog</link>"
@@ -3807,14 +3754,16 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkAboutDialog.html"
"\">GtkAboutDialog</link>"
-#: C/aboutdialog.c.page:37(item/p) C/aboutdialog.py.page:47(item/p)
-#: C/messagedialog.c.page:41(item/p) C/messagedialog.py.page:63(item/p)
+#. (itstool) path: item/p
+#: C/aboutdialog.c.page:37 C/aboutdialog.py.page:47 C/messagedialog.c.page:41
+#: C/messagedialog.py.page:63
msgid ""
"<link href=\"http://developer.gnome.org/gio/stable/GMenu.html\">GMenu</link>"
msgstr ""
"<link href=\"http://developer.gnome.org/gio/stable/GMenu.html\">GMenu</link>"
-#: C/aboutdialog.c.page:38(item/p) C/messagedialog.c.page:40(item/p)
+#. (itstool) path: item/p
+#: C/aboutdialog.c.page:38 C/messagedialog.c.page:40
msgid ""
"<link href=\"http://developer.gnome.org/gio/stable/GActionMap.html"
"\">GActionMap</link>"
@@ -3822,12 +3771,14 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gio/stable/GActionMap.html"
"\">GActionMap</link>"
-#: C/aboutdialog.js.page:6(info/title)
+#. (itstool) path: info/title
+#: C/aboutdialog.js.page:6
msgctxt "text"
msgid "AboutDialog (JavaScript)"
msgstr "AboutDialog (JavaScript)"
-#: C/aboutdialog.js.page:21(page/p)
+#. (itstool) path: page/p
+#: C/aboutdialog.js.page:21
msgid ""
"A modal dialog window which shows information about an application and its "
"creators. This one is triggered by clicking \"About\" in the application's "
@@ -3837,7 +3788,8 @@ msgstr ""
"muestra al pulsar el elemento de menú «Acerca de» en la aplicación, que es "
"normalmente un buen sitio para ponerla."
-#: C/aboutdialog.js.page:23(page/code)
+#. (itstool) path: page/code
+#: C/aboutdialog.js.page:23
#, no-wrap
msgid ""
"#!/usr/bin/gjs\n"
@@ -4046,9 +3998,9 @@ msgstr ""
"let app = new AboutDialogExample();\n"
"app.application.run(ARGV);\n"
-#: C/aboutdialog.js.page:28(item/p) C/gmenu.c.page:31(item/p)
-#: C/gmenu.js.page:29(item/p) C/gmenu.py.page:79(item/p)
-#: C/messagedialog.js.page:193(item/p) C/switch.js.page:265(item/p)
+#. (itstool) path: item/p
+#: C/aboutdialog.js.page:28 C/gmenu.c.page:31 C/gmenu.js.page:29
+#: C/gmenu.py.page:79 C/messagedialog.js.page:193 C/switch.js.page:265
msgid ""
"<link href=\"http://developer.gnome.org/gio/unstable/GMenu.html\">GMenu</"
"link>"
@@ -4056,11 +4008,10 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gio/unstable/GMenu.html\">GMenu</"
"link>"
-#: C/aboutdialog.js.page:29(item/p) C/filechooserdialog.py.page:79(item/p)
-#: C/gmenu.c.page:32(item/p) C/gmenu.js.page:30(item/p)
-#: C/gmenu.py.page:80(item/p) C/menubar.c.page:38(item/p)
-#: C/messagedialog.js.page:194(item/p) C/messagedialog.py.page:61(item/p)
-#: C/switch.js.page:266(item/p)
+#. (itstool) path: item/p
+#: C/aboutdialog.js.page:29 C/filechooserdialog.py.page:79 C/gmenu.c.page:32
+#: C/gmenu.js.page:30 C/gmenu.py.page:80 C/menubar.c.page:38
+#: C/messagedialog.js.page:194 C/messagedialog.py.page:61 C/switch.js.page:266
msgid ""
"<link href=\"http://developer.gnome.org/gio/stable/GSimpleAction.html"
"\">GSimpleAction</link>"
@@ -4068,7 +4019,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gio/stable/GSimpleAction.html"
"\">GSimpleAction</link>"
-#: C/aboutdialog.js.page:30(item/p)
+#. (itstool) path: item/p
+#: C/aboutdialog.js.page:30
msgid ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.AboutDialog."
"html\">Gtk.AboutDialog</link>"
@@ -4076,18 +4028,16 @@ msgstr ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.AboutDialog."
"html\">Gtk.AboutDialog</link>"
-#: C/aboutdialog.js.page:31(item/p) C/button.js.page:30(item/p)
-#: C/checkbutton.js.page:137(item/p) C/comboboxtext.js.page:180(item/p)
-#: C/combobox.js.page:237(item/p) C/dialog.js.page:29(item/p)
-#: C/entry.js.page:29(item/p) C/grid.js.page:33(item/p)
-#: C/GtkApplicationWindow.js.page:30(item/p) C/image.js.page:31(item/p)
-#: C/label.js.page:29(item/p) C/linkbutton.js.page:29(item/p)
-#: C/messagedialog.js.page:195(item/p) C/progressbar.js.page:39(item/p)
-#: C/radiobutton.js.page:275(item/p) C/scale.js.page:210(item/p)
-#: C/spinbutton.js.page:201(item/p) C/spinner.js.page:30(item/p)
-#: C/statusbar.js.page:222(item/p) C/switch.js.page:267(item/p)
-#: C/textview.js.page:249(item/p) C/togglebutton.js.page:154(item/p)
-#: C/treeview_simple_liststore.js.page:276(item/p) C/window.js.page:38(item/p)
+#. (itstool) path: item/p
+#: C/aboutdialog.js.page:31 C/button.js.page:30 C/checkbutton.js.page:137
+#: C/comboboxtext.js.page:180 C/combobox.js.page:237 C/dialog.js.page:29
+#: C/entry.js.page:29 C/grid.js.page:33 C/GtkApplicationWindow.js.page:30
+#: C/image.js.page:31 C/label.js.page:29 C/linkbutton.js.page:29
+#: C/messagedialog.js.page:195 C/progressbar.js.page:39
+#: C/radiobutton.js.page:275 C/scale.js.page:210 C/spinbutton.js.page:201
+#: C/spinner.js.page:30 C/statusbar.js.page:222 C/switch.js.page:267
+#: C/textview.js.page:249 C/togglebutton.js.page:154
+#: C/treeview_simple_liststore.js.page:276 C/window.js.page:38
msgid ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.Application."
"html\">Gtk.Application</link>"
@@ -4095,18 +4045,16 @@ msgstr ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.Application."
"html\">Gtk.Application</link>"
-#: C/aboutdialog.js.page:32(item/p) C/button.js.page:31(item/p)
-#: C/checkbutton.js.page:138(item/p) C/comboboxtext.js.page:181(item/p)
-#: C/combobox.js.page:238(item/p) C/dialog.js.page:30(item/p)
-#: C/entry.js.page:30(item/p) C/grid.js.page:34(item/p)
-#: C/GtkApplicationWindow.js.page:31(item/p) C/image.js.page:32(item/p)
-#: C/label.js.page:30(item/p) C/linkbutton.js.page:30(item/p)
-#: C/messagedialog.js.page:196(item/p) C/progressbar.js.page:40(item/p)
-#: C/radiobutton.js.page:276(item/p) C/scale.js.page:211(item/p)
-#: C/spinbutton.js.page:202(item/p) C/spinner.js.page:31(item/p)
-#: C/statusbar.js.page:223(item/p) C/switch.js.page:268(item/p)
-#: C/textview.js.page:250(item/p) C/togglebutton.js.page:155(item/p)
-#: C/treeview_simple_liststore.js.page:277(item/p)
+#. (itstool) path: item/p
+#: C/aboutdialog.js.page:32 C/button.js.page:31 C/checkbutton.js.page:138
+#: C/comboboxtext.js.page:181 C/combobox.js.page:238 C/dialog.js.page:30
+#: C/entry.js.page:30 C/grid.js.page:34 C/GtkApplicationWindow.js.page:31
+#: C/image.js.page:32 C/label.js.page:30 C/linkbutton.js.page:30
+#: C/messagedialog.js.page:196 C/progressbar.js.page:40
+#: C/radiobutton.js.page:276 C/scale.js.page:211 C/spinbutton.js.page:202
+#: C/spinner.js.page:31 C/statusbar.js.page:223 C/switch.js.page:268
+#: C/textview.js.page:250 C/togglebutton.js.page:155
+#: C/treeview_simple_liststore.js.page:277
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkApplicationWindow.html"
"\">Gtk.ApplicationWindow</link>"
@@ -4114,63 +4062,51 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkApplicationWindow.html"
"\">Gtk.ApplicationWindow</link>"
-#: C/aboutdialog.py.page:7(info/title)
+#. (itstool) path: info/title
+#: C/aboutdialog.py.page:7
msgctxt "text"
msgid "AboutDialog (Python)"
msgstr "AboutDialog (Python)"
-#: C/aboutdialog.py.page:13(credit/name) C/beginner.c.page:19(credit/name)
-#: C/beginner.js.page:15(credit/name) C/beginner.py.page:18(credit/name)
-#: C/beginner.vala.page:18(credit/name) C/button.py.page:14(credit/name)
-#: C/buttonbox.py.page:14(credit/name) C/checkbutton.py.page:13(credit/name)
-#: C/colorbutton.py.page:13(credit/name) C/combobox.py.page:14(credit/name)
-#: C/combobox_multicolumn.py.page:13(credit/name)
-#: C/dialog.py.page:14(credit/name) C/entry.py.page:14(credit/name)
-#: C/filechooserdialog.py.page:16(credit/name)
-#: C/fontchooserwidget.py.page:14(credit/name) C/gmenu.py.page:20(credit/name)
-#: C/grid.py.page:20(credit/name)
-#: C/GtkApplicationWindow.py.page:19(credit/name)
-#: C/guitar-tuner.c.page:22(credit/name)
-#: C/guitar-tuner.cpp.page:20(credit/name)
-#: C/guitar-tuner.py.page:22(credit/name)
-#: C/guitar-tuner.py.page:27(credit/name)
-#: C/guitar-tuner.vala.page:25(credit/name) C/image.py.page:14(credit/name)
-#: C/image-viewer.c.page:22(credit/name)
-#: C/image-viewer.cpp.page:20(credit/name)
-#: C/image-viewer.js.page:22(credit/name)
-#: C/image-viewer.py.page:22(credit/name)
-#: C/image-viewer.vala.page:30(credit/name) C/js.page:15(credit/name)
-#: C/label.py.page:15(credit/name) C/linkbutton.py.page:13(credit/name)
-#: C/magic-mirror.vala.page:22(credit/name) C/menubar.py.page:19(credit/name)
-#: C/menubutton.py.page:19(credit/name) C/message-board.c.page:19(credit/name)
-#: C/messagedialog.py.page:13(credit/name)
-#: C/model-view-controller.py.page:20(credit/name)
-#: C/paned.py.page:13(credit/name) C/photo-wall.c.page:21(credit/name)
-#: C/progressbar.py.page:13(credit/name) C/properties.py.page:20(credit/name)
-#: C/py.page:14(credit/name) C/radiobutton.py.page:14(credit/name)
-#: C/record-collection.js.page:22(credit/name) C/scale.py.page:14(credit/name)
-#: C/scrolledwindow.py.page:13(credit/name)
-#: C/separator.py.page:14(credit/name)
-#: C/signals-callbacks.py.page:20(credit/name)
-#: C/spinbutton.py.page:14(credit/name) C/spinner.py.page:13(credit/name)
-#: C/statusbar.py.page:14(credit/name) C/strings.py.page:20(credit/name)
-#: C/switch.py.page:13(credit/name) C/textview.py.page:21(credit/name)
-#: C/togglebutton.py.page:13(credit/name) C/toolbar.py.page:14(credit/name)
-#: C/toolbar_builder.py.page:21(credit/name) C/tooltip.py.page:14(credit/name)
-#: C/treeview_advanced_liststore.py.page:13(credit/name)
-#: C/treeview_cellrenderertoggle.py.page:13(credit/name)
-#: C/treeview_simple_liststore.py.page:14(credit/name)
-#: C/treeview_treestore.py.page:14(credit/name)
-#: C/tutorial.py.page:19(credit/name) C/vala.page:14(credit/name)
-#: C/weatherApp.js.page:16(credit/name) C/window.py.page:19(credit/name)
+#. (itstool) path: credit/name
+#: C/aboutdialog.py.page:13 C/beginner.c.page:19 C/beginner.js.page:15
+#: C/beginner.py.page:18 C/beginner.vala.page:18 C/button.py.page:14
+#: C/buttonbox.py.page:14 C/checkbutton.py.page:13 C/colorbutton.py.page:13
+#: C/combobox.py.page:14 C/combobox_multicolumn.py.page:13 C/dialog.py.page:14
+#: C/entry.py.page:14 C/filechooserdialog.py.page:16
+#: C/fontchooserwidget.py.page:14 C/gmenu.py.page:20 C/grid.py.page:20
+#: C/GtkApplicationWindow.py.page:19 C/guitar-tuner.c.page:22
+#: C/guitar-tuner.cpp.page:20 C/guitar-tuner.py.page:22
+#: C/guitar-tuner.py.page:27 C/guitar-tuner.vala.page:25 C/image.py.page:14
+#: C/image-viewer.c.page:22 C/image-viewer.cpp.page:20
+#: C/image-viewer.js.page:22 C/image-viewer.py.page:22
+#: C/image-viewer.vala.page:30 C/js.page:15 C/label.py.page:15
+#: C/linkbutton.py.page:13 C/magic-mirror.vala.page:22 C/menubar.py.page:19
+#: C/menubutton.py.page:19 C/message-board.c.page:19
+#: C/messagedialog.py.page:13 C/model-view-controller.py.page:20
+#: C/paned.py.page:13 C/photo-wall.c.page:21 C/progressbar.py.page:13
+#: C/properties.py.page:20 C/py.page:14 C/radiobutton.py.page:14
+#: C/record-collection.js.page:22 C/scale.py.page:14
+#: C/scrolledwindow.py.page:13 C/separator.py.page:14
+#: C/signals-callbacks.py.page:20 C/spinbutton.py.page:14 C/spinner.py.page:13
+#: C/statusbar.py.page:14 C/strings.py.page:20 C/switch.py.page:13
+#: C/textview.py.page:21 C/togglebutton.py.page:13 C/toolbar.py.page:14
+#: C/toolbar_builder.py.page:21 C/tooltip.py.page:14
+#: C/treeview_advanced_liststore.py.page:13
+#: C/treeview_cellrenderertoggle.py.page:13
+#: C/treeview_simple_liststore.py.page:14 C/treeview_treestore.py.page:14
+#: C/tutorial.py.page:19 C/vala.page:14 C/weatherApp.js.page:16
+#: C/window.py.page:19
msgid "Marta Maria Casetti"
msgstr "Marta Maria Casetti"
-#: C/aboutdialog.py.page:18(info/desc)
+#. (itstool) path: info/desc
+#: C/aboutdialog.py.page:18
msgid "A window that displays information about an application"
msgstr "Una ventana que muestra información acerca de una aplicación"
-#: C/aboutdialog.py.page:23(page/p)
+#. (itstool) path: page/p
+#: C/aboutdialog.py.page:23
msgid ""
"An AboutDialog example using Gtk.ApplicationWindow and Menu (the \"about\" "
"is displayed if \"About\" in the menu is selected)."
@@ -4178,56 +4114,122 @@ msgstr ""
"Un ejemplo de AboutDialog usando Gtk.ApplicationWindow y Menu (el diálogo se "
"muestra al pulsar el elemento de menú «Acerca de»)."
-#: C/aboutdialog.py.page:28(section/title) C/button.py.page:30(section/title)
-#: C/buttonbox.js.page:29(section/title) C/buttonbox.py.page:30(section/title)
-#: C/checkbutton.py.page:28(section/title)
-#: C/colorbutton.js.page:27(section/title)
-#: C/colorbutton.py.page:28(section/title)
-#: C/combobox.py.page:29(section/title)
-#: C/combobox_multicolumn.py.page:28(section/title)
-#: C/combobox_multicolumn.vala.page:28(section/title)
-#: C/dialog.py.page:29(section/title) C/entry.py.page:34(section/title)
-#: C/filechooserdialog.py.page:52(section/title)
-#: C/fontchooserwidget.js.page:28(section/title)
-#: C/fontchooserwidget.py.page:30(section/title)
-#: C/fontchooserwidget.vala.page:28(section/title)
-#: C/gmenu.py.page:35(section/title) C/grid.py.page:36(section/title)
-#: C/GtkApplicationWindow.py.page:34(section/title)
-#: C/image.py.page:33(section/title) C/label.py.page:35(section/title)
-#: C/linkbutton.py.page:29(section/title)
-#: C/menubutton.c.page:29(section/title)
-#: C/menubutton.py.page:36(section/title)
-#: C/messagedialog.py.page:28(section/title) C/paned.c.page:27(section/title)
-#: C/paned.js.page:27(section/title) C/paned.py.page:28(section/title)
-#: C/paned.vala.page:27(section/title) C/progressbar.py.page:38(section/title)
-#: C/radiobutton.py.page:29(section/title) C/scale.py.page:29(section/title)
-#: C/scrolledwindow.js.page:27(section/title)
-#: C/scrolledwindow.py.page:28(section/title)
-#: C/separator.c.page:29(section/title) C/separator.py.page:30(section/title)
-#: C/separator.vala.page:31(section/title)
-#: C/spinbutton.py.page:29(section/title) C/spinner.py.page:28(section/title)
-#: C/statusbar.py.page:29(section/title) C/switch.py.page:30(section/title)
-#: C/textview.py.page:43(section/title)
-#: C/togglebutton.py.page:28(section/title)
-#: C/toolbar.py.page:30(section/title)
-#: C/toolbar_builder.py.page:163(section/title)
-#: C/tooltip.c.page:29(section/title) C/tooltip.js.page:28(section/title)
-#: C/tooltip.py.page:30(section/title) C/tooltip.vala.page:29(section/title)
-#: C/treeview_advanced_liststore.py.page:28(section/title)
-#: C/treeview_cellrenderertoggle.py.page:28(section/title)
-#: C/treeview_simple_liststore.py.page:29(section/title)
-#: C/treeview_treestore.py.page:29(section/title)
-#: C/window.py.page:44(section/title)
+#. (itstool) path: section/title
+#: C/aboutdialog.py.page:28 C/button.py.page:30 C/buttonbox.js.page:29
+#: C/buttonbox.py.page:30 C/checkbutton.py.page:28 C/colorbutton.js.page:27
+#: C/colorbutton.py.page:28 C/combobox.py.page:29
+#: C/combobox_multicolumn.py.page:28 C/combobox_multicolumn.vala.page:28
+#: C/dialog.py.page:29 C/entry.py.page:34 C/filechooserdialog.py.page:52
+#: C/fontchooserwidget.js.page:28 C/fontchooserwidget.py.page:30
+#: C/fontchooserwidget.vala.page:28 C/gmenu.py.page:35 C/grid.py.page:36
+#: C/GtkApplicationWindow.py.page:34 C/image.py.page:33 C/label.py.page:35
+#: C/linkbutton.py.page:29 C/menubutton.c.page:29 C/menubutton.py.page:36
+#: C/messagedialog.py.page:28 C/paned.c.page:27 C/paned.js.page:27
+#: C/paned.py.page:28 C/paned.vala.page:27 C/progressbar.py.page:38
+#: C/radiobutton.py.page:29 C/scale.py.page:29 C/scrolledwindow.js.page:27
+#: C/scrolledwindow.py.page:28 C/separator.c.page:29 C/separator.py.page:30
+#: C/separator.vala.page:31 C/spinbutton.py.page:29 C/spinner.py.page:28
+#: C/statusbar.py.page:29 C/switch.py.page:30 C/textview.py.page:43
+#: C/togglebutton.py.page:28 C/toolbar.py.page:30
+#: C/toolbar_builder.py.page:163 C/tooltip.c.page:29 C/tooltip.js.page:28
+#: C/tooltip.py.page:30 C/tooltip.vala.page:29
+#: C/treeview_advanced_liststore.py.page:28
+#: C/treeview_cellrenderertoggle.py.page:28
+#: C/treeview_simple_liststore.py.page:29 C/treeview_treestore.py.page:29
+#: C/window.py.page:44
msgid "Code used to generate this example"
msgstr "Código usado para generar este ejemplo"
-#: C/aboutdialog.py.page:30(section/code)
+#. (itstool) path: section/code
+#: C/aboutdialog.py.page:30
#, no-wrap
+#| msgid ""
+#| "from gi.repository import Gtk\n"
+#| "from gi.repository import Gio\n"
+#| "import sys\n"
+#| "\n"
+#| "class MyWindow(Gtk.ApplicationWindow):\n"
+#| "\n"
+#| " # constructor for a window (the parent window)\n"
+#| " def __init__(self, app):\n"
+#| " Gtk.Window.__init__(self, title=\"AboutDialog Example\", application=app)\n"
+#| " self.set_default_size(200, 200)\n"
+#| "\n"
+#| " # create the about_action (a Gio.SimpleAction)\n"
+#| " about_action = Gio.SimpleAction.new(\"about\", None)\n"
+#| " # connect the signal from the action to the function about_cb()\n"
+#| " about_action.connect(\"activate\", self.about_cb)\n"
+#| " # add the action to the application\n"
+#| " app.add_action(about_action)\n"
+#| "\n"
+#| " # callback function for the about_action's \"activate\" signal\n"
+#| " def about_cb(self, action, parameter):\n"
+#| " # a Gtk.AboutDialog\n"
+#| " aboutdialog = Gtk.AboutDialog()\n"
+#| "\n"
+#| " # lists of authors and documenters (will be used later)\n"
+#| " authors = [\"GNOME Documentation Team\"]\n"
+#| " documenters = [\"GNOME Documentation Team\"]\n"
+#| "\n"
+#| " # we fill in the aboutdialog\n"
+#| " aboutdialog.set_program_name(\"AboutDialog Example\")\n"
+#| " aboutdialog.set_copyright(\"Copyright \\xc2\\xa9 2012 GNOME Documentation Team\")\n"
+#| " aboutdialog.set_authors(authors)\n"
+#| " aboutdialog.set_documenters(documenters)\n"
+#| " aboutdialog.set_website(\"http://developer.gnome.org\")\n"
+#| " aboutdialog.set_website_label(\"GNOME Developer Website\")\n"
+#| "\n"
+#| " # we do not want to show the title, which by default would be \"About AboutDialog Example\"\n"
+#| " # we have to reset the title of the messagedialog window after setting the program name\n"
+#| " aboutdialog.set_title(\"\")\n"
+#| "\n"
+#| " # to close the aboutdialog when \"close\" is clicked we connect the\n"
+#| " # \"response\" signal to on_close\n"
+#| " aboutdialog.connect(\"response\", self.on_close)\n"
+#| " # show the aboutdialog\n"
+#| " aboutdialog.show()\n"
+#| "\n"
+#| " # destroy the aboutdialog\n"
+#| " def on_close(self, action, parameter):\n"
+#| " action.destroy()\n"
+#| "\n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " def __init__(self):\n"
+#| " Gtk.Application.__init__(self)\n"
+#| "\n"
+#| " def do_activate(self):\n"
+#| " win = MyWindow(self)\n"
+#| " win.show_all()\n"
+#| "\n"
+#| " def quit_cb(self, action, parameter):\n"
+#| " self.quit()\n"
+#| "\n"
+#| " def do_startup (self):\n"
+#| " Gtk.Application.do_startup(self)\n"
+#| "\n"
+#| " # create a menu (a Gio.Menu)\n"
+#| " menu = Gio.Menu()\n"
+#| " # append a menu item with label \"About\" and action \"app.about\"\n"
+#| " menu.append (\"About\", \"app.about\")\n"
+#| " # append a menu item with label \"Quit\" and action \"app.quit\"\n"
+#| " menu.append(\"Quit\", \"app.quit\")\n"
+#| " # set menu as the menu for the application\n"
+#| " self.set_app_menu (menu)\n"
+#| "\n"
+#| " # a new simpleaction - for the application\n"
+#| " quit_action = Gio.SimpleAction.new(\"quit\", None)\n"
+#| " quit_action.connect(\"activate\", self.quit_cb)\n"
+#| " self.add_action(quit_action)\n"
+#| "\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"from gi.repository import Gtk\n"
"from gi.repository import Gio\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
"\n"
" # constructor for a window (the parent window)\n"
@@ -4253,14 +4255,16 @@ msgid ""
"\n"
" # we fill in the aboutdialog\n"
" aboutdialog.set_program_name(\"AboutDialog Example\")\n"
-" aboutdialog.set_copyright(\"Copyright \\xc2\\xa9 2012 GNOME Documentation Team\")\n"
+" aboutdialog.set_copyright(\n"
+" \"Copyright \\xc2\\xa9 2012 GNOME Documentation Team\")\n"
" aboutdialog.set_authors(authors)\n"
" aboutdialog.set_documenters(documenters)\n"
" aboutdialog.set_website(\"http://developer.gnome.org\")\n"
" aboutdialog.set_website_label(\"GNOME Developer Website\")\n"
"\n"
" # we do not want to show the title, which by default would be \"About AboutDialog Example\"\n"
-" # we have to reset the title of the messagedialog window after setting the program name\n"
+" # we have to reset the title of the messagedialog window after setting\n"
+" # the program name\n"
" aboutdialog.set_title(\"\")\n"
"\n"
" # to close the aboutdialog when \"close\" is clicked we connect the\n"
@@ -4273,7 +4277,9 @@ msgid ""
" def on_close(self, action, parameter):\n"
" action.destroy()\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -4284,17 +4290,17 @@ msgid ""
" def quit_cb(self, action, parameter):\n"
" self.quit()\n"
"\n"
-" def do_startup (self):\n"
+" def do_startup(self):\n"
" Gtk.Application.do_startup(self)\n"
"\n"
" # create a menu (a Gio.Menu)\n"
" menu = Gio.Menu()\n"
" # append a menu item with label \"About\" and action \"app.about\"\n"
-" menu.append (\"About\", \"app.about\")\n"
+" menu.append(\"About\", \"app.about\")\n"
" # append a menu item with label \"Quit\" and action \"app.quit\"\n"
" menu.append(\"Quit\", \"app.quit\")\n"
" # set menu as the menu for the application\n"
-" self.set_app_menu (menu)\n"
+" self.set_app_menu(menu)\n"
"\n"
" # a new simpleaction - for the application\n"
" quit_action = Gio.SimpleAction.new(\"quit\", None)\n"
@@ -4309,6 +4315,7 @@ msgstr ""
"from gi.repository import Gio\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
"\n"
" # constructor for a window (the parent window)\n"
@@ -4334,14 +4341,16 @@ msgstr ""
"\n"
" # we fill in the aboutdialog\n"
" aboutdialog.set_program_name(\"AboutDialog Example\")\n"
-" aboutdialog.set_copyright(\"Copyright \\xc2\\xa9 2012 GNOME Documentation Team\")\n"
+" aboutdialog.set_copyright(\n"
+" \"Copyright \\xc2\\xa9 2012 GNOME Documentation Team\")\n"
" aboutdialog.set_authors(authors)\n"
" aboutdialog.set_documenters(documenters)\n"
" aboutdialog.set_website(\"http://developer.gnome.org\")\n"
" aboutdialog.set_website_label(\"GNOME Developer Website\")\n"
"\n"
" # we do not want to show the title, which by default would be \"About AboutDialog Example\"\n"
-" # we have to reset the title of the messagedialog window after setting the program name\n"
+" # we have to reset the title of the messagedialog window after setting\n"
+" # the program name\n"
" aboutdialog.set_title(\"\")\n"
"\n"
" # to close the aboutdialog when \"close\" is clicked we connect the\n"
@@ -4354,7 +4363,9 @@ msgstr ""
" def on_close(self, action, parameter):\n"
" action.destroy()\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -4365,17 +4376,17 @@ msgstr ""
" def quit_cb(self, action, parameter):\n"
" self.quit()\n"
"\n"
-" def do_startup (self):\n"
+" def do_startup(self):\n"
" Gtk.Application.do_startup(self)\n"
"\n"
" # create a menu (a Gio.Menu)\n"
" menu = Gio.Menu()\n"
" # append a menu item with label \"About\" and action \"app.about\"\n"
-" menu.append (\"About\", \"app.about\")\n"
+" menu.append(\"About\", \"app.about\")\n"
" # append a menu item with label \"Quit\" and action \"app.quit\"\n"
" menu.append(\"Quit\", \"app.quit\")\n"
" # set menu as the menu for the application\n"
-" self.set_app_menu (menu)\n"
+" self.set_app_menu(menu)\n"
"\n"
" # a new simpleaction - for the application\n"
" quit_action = Gio.SimpleAction.new(\"quit\", None)\n"
@@ -4386,11 +4397,13 @@ msgstr ""
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/aboutdialog.py.page:35(section/title)
+#. (itstool) path: section/title
+#: C/aboutdialog.py.page:35
msgid "Useful methods for an AboutDialog widget"
msgstr "Métodos útiles para un widget «AboutDialog»"
-#: C/aboutdialog.py.page:36(section/p)
+#. (itstool) path: section/p
+#: C/aboutdialog.py.page:36
msgid ""
"In line 15 the signal <code>\"activate\"</code> is connected to the callback "
"function <code>about_cb()</code> using <code><var>widget</var>.connect"
@@ -4403,48 +4416,33 @@ msgstr ""
"Consulte la <link xref=\"signals-callbacks.py\"/> para obtener una "
"explicación más detallada."
-#: C/aboutdialog.py.page:40(section/title) C/button.py.page:51(section/title)
-#: C/buttonbox.js.page:34(section/title) C/buttonbox.py.page:45(section/title)
-#: C/checkbutton.py.page:41(section/title)
-#: C/colorbutton.js.page:32(section/title)
-#: C/colorbutton.py.page:39(section/title)
-#: C/combobox.py.page:41(section/title)
-#: C/combobox_multicolumn.py.page:40(section/title)
-#: C/combobox_multicolumn.vala.page:34(section/title)
-#: C/dialog.py.page:45(section/title) C/entry.py.page:60(section/title)
-#: C/filechooserdialog.py.page:69(section/title)
-#: C/fontchooserwidget.js.page:33(section/title)
-#: C/fontchooserwidget.py.page:43(section/title)
-#: C/fontchooserwidget.vala.page:33(section/title)
-#: C/gmenu.py.page:76(section/title) C/grid.py.page:53(section/title)
-#: C/GtkApplicationWindow.py.page:49(section/title)
-#: C/image.py.page:99(section/title) C/label.py.page:86(section/title)
-#: C/linkbutton.py.page:43(section/title) C/menubar.py.page:182(section/title)
-#: C/menubutton.c.page:34(section/title)
-#: C/menubutton.py.page:52(section/title)
-#: C/messagedialog.py.page:53(section/title) C/paned.c.page:32(section/title)
-#: C/paned.js.page:32(section/title) C/paned.py.page:38(section/title)
-#: C/paned.vala.page:32(section/title) C/progressbar.py.page:53(section/title)
-#: C/radiobutton.py.page:45(section/title) C/scale.py.page:53(section/title)
-#: C/scrolledwindow.js.page:32(section/title)
-#: C/scrolledwindow.py.page:41(section/title)
-#: C/spinbutton.py.page:45(section/title) C/spinner.py.page:38(section/title)
-#: C/statusbar.py.page:49(section/title) C/switch.py.page:41(section/title)
-#: C/textview.py.page:92(section/title)
-#: C/togglebutton.py.page:40(section/title)
-#: C/toolbar.py.page:51(section/title)
-#: C/toolbar_builder.py.page:190(section/title)
-#: C/tooltip.c.page:34(section/title) C/tooltip.js.page:33(section/title)
-#: C/tooltip.py.page:55(section/title) C/tooltip.vala.page:34(section/title)
-#: C/treeview_advanced_liststore.py.page:40(section/title)
-#: C/treeview_cellrenderertoggle.py.page:40(section/title)
-#: C/treeview_simple_liststore.py.page:41(section/title)
-#: C/treeview_treestore.py.page:40(section/title)
-#: C/window.py.page:59(section/title)
+#. (itstool) path: section/title
+#: C/aboutdialog.py.page:40 C/button.py.page:51 C/buttonbox.js.page:34
+#: C/buttonbox.py.page:45 C/checkbutton.py.page:41 C/colorbutton.js.page:32
+#: C/colorbutton.py.page:39 C/combobox.py.page:41
+#: C/combobox_multicolumn.py.page:40 C/combobox_multicolumn.vala.page:34
+#: C/dialog.py.page:45 C/entry.py.page:60 C/filechooserdialog.py.page:69
+#: C/fontchooserwidget.js.page:33 C/fontchooserwidget.py.page:43
+#: C/fontchooserwidget.vala.page:33 C/gmenu.py.page:76 C/grid.py.page:53
+#: C/GtkApplicationWindow.py.page:49 C/image.py.page:99 C/label.py.page:86
+#: C/linkbutton.py.page:43 C/menubar.py.page:182 C/menubutton.c.page:34
+#: C/menubutton.py.page:52 C/messagedialog.py.page:53 C/paned.c.page:32
+#: C/paned.js.page:32 C/paned.py.page:38 C/paned.vala.page:32
+#: C/progressbar.py.page:53 C/radiobutton.py.page:45 C/scale.py.page:53
+#: C/scrolledwindow.js.page:32 C/scrolledwindow.py.page:41
+#: C/spinbutton.py.page:45 C/spinner.py.page:38 C/statusbar.py.page:49
+#: C/switch.py.page:41 C/textview.py.page:92 C/togglebutton.py.page:40
+#: C/toolbar.py.page:51 C/toolbar_builder.py.page:190 C/tooltip.c.page:34
+#: C/tooltip.js.page:33 C/tooltip.py.page:55 C/tooltip.vala.page:34
+#: C/treeview_advanced_liststore.py.page:40
+#: C/treeview_cellrenderertoggle.py.page:40
+#: C/treeview_simple_liststore.py.page:41 C/treeview_treestore.py.page:40
+#: C/window.py.page:59
msgid "API References"
msgstr "Referencias de la API"
-#: C/aboutdialog.py.page:45(item/p)
+#. (itstool) path: item/p
+#: C/aboutdialog.py.page:45
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkAboutDialog.html"
"\">GtkAboutDialog</link>"
@@ -4452,9 +4450,9 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkAboutDialog.html"
"\">GtkAboutDialog</link>"
-#: C/aboutdialog.py.page:46(item/p) C/checkbutton.py.page:45(item/p)
-#: C/grid.py.page:57(item/p) C/GtkApplicationWindow.py.page:55(item/p)
-#: C/separator.c.page:37(item/p)
+#. (itstool) path: item/p
+#: C/aboutdialog.py.page:46 C/checkbutton.py.page:45 C/grid.py.page:57
+#: C/GtkApplicationWindow.py.page:55 C/separator.c.page:37
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkApplicationWindow."
"html\">GtkApplicationWindow</link>"
@@ -4462,9 +4460,10 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkApplicationWindow."
"html\">GtkApplicationWindow</link>"
-#: C/aboutdialog.py.page:48(item/p) C/checkbutton.py.page:44(item/p)
-#: C/grid.py.page:56(item/p) C/GtkApplicationWindow.py.page:54(item/p)
-#: C/messagedialog.py.page:64(item/p) C/window.py.page:63(item/p)
+#. (itstool) path: item/p
+#: C/aboutdialog.py.page:48 C/checkbutton.py.page:44 C/grid.py.page:56
+#: C/GtkApplicationWindow.py.page:54 C/messagedialog.py.page:64
+#: C/window.py.page:63
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkApplication.html"
"\">GtkApplication</link>"
@@ -4472,16 +4471,50 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkApplication.html"
"\">GtkApplication</link>"
-#: C/aboutdialog.vala.page:7(info/title)
+#. (itstool) path: info/title
+#: C/aboutdialog.vala.page:7
msgctxt "text"
msgid "AboutDialog (Vala)"
msgstr "AboutDialog (Vala)"
-#: C/aboutdialog.vala.page:14(credit/name) C/gmenu.vala.page:13(credit/name)
+#. (itstool) path: credit/name
+#: C/aboutdialog.vala.page:14 C/gmenu.vala.page:13
msgid "Ryan Lortie"
msgstr "Ryan Lortie"
-#: C/aboutdialog.vala.page:33(page/code)
+#. (itstool) path: credit/name
+#: C/aboutdialog.vala.page:20 C/beginner.py.page:14 C/beginner.vala.page:14
+#: C/bug-filing.page:9 C/button.vala.page:13 C/c.page:10
+#: C/checkbutton.c.page:12 C/checkbutton.vala.page:12
+#: C/colorbutton.vala.page:14 C/combobox.c.page:17 C/combobox.vala.page:12
+#: C/combobox_multicolumn.vala.page:13 C/cpp.page:10 C/dialog.vala.page:12
+#: C/documentation.page:10 C/entry.vala.page:12
+#: C/filechooserdialog.vala.page:15 C/gmenu.c.page:12 C/gmenu.js.page:12
+#: C/gmenu.py.page:14 C/gmenu.vala.page:19 C/grid.py.page:14
+#: C/grid.vala.page:14 C/GtkApplicationWindow.c.page:12
+#: C/GtkApplicationWindow.js.page:12 C/GtkApplicationWindow.py.page:14
+#: C/GtkApplicationWindow.vala.page:12 C/guitar-tuner.vala.page:21
+#: C/hello-world.c.page:19 C/hello-world.js.page:19 C/hello-world.py.page:19
+#: C/hello-world.vala.page:19 C/image.vala.page:12 C/image-viewer.vala.page:26
+#: C/index.page:22 C/js.page:11 C/label.vala.page:12 C/linkbutton.vala.page:12
+#: C/menubar.py.page:14 C/menubar.vala.page:14 C/menubutton.c.page:12
+#: C/menubutton.py.page:13 C/menubutton.vala.page:12
+#: C/messagedialog.vala.page:12 C/paned.c.page:12 C/paned.vala.page:12
+#: C/progressbar.vala.page:12 C/py.page:10 C/radiobutton.vala.page:15
+#: C/response-type.page:8 C/scale.vala.page:14 C/scrolledwindow.vala.page:13
+#: C/separator.c.page:13 C/separator.vala.page:15 C/spinbutton.vala.page:14
+#: C/spinner.vala.page:12 C/statusbar.vala.page:15 C/switch.vala.page:16
+#: C/textview.vala.page:12 C/togglebutton.vala.page:15 C/toolbar.js.page:12
+#: C/toolbar.vala.page:13 C/toolbar_builder.py.page:15
+#: C/toolbar_builder.vala.page:14 C/tooltip.c.page:13 C/tooltip.vala.page:13
+#: C/treeview_simple_liststore.vala.page:14 C/translate.page:10
+#: C/tutorial.py.page:14 C/vala.page:10 C/window.c.page:12 C/window.py.page:14
+#: C/window.vala.page:12
+msgid "Tiffany Antopolski"
+msgstr "Tiffany Antopolski"
+
+#. (itstool) path: page/code
+#: C/aboutdialog.vala.page:33
#, no-wrap
msgid ""
"/* A window in the application */\n"
@@ -4616,8 +4649,8 @@ msgstr ""
"\treturn new Application ().run (args);\n"
"}\n"
-#: C/aboutdialog.vala.page:38(item/p) C/gmenu.vala.page:41(item/p)
-#: C/window.vala.page:37(item/p)
+#. (itstool) path: item/p
+#: C/aboutdialog.vala.page:38 C/gmenu.vala.page:41 C/window.vala.page:37
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Application.html\">Gtk."
"Application</link>"
@@ -4625,8 +4658,9 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Application.html\">Gtk."
"Application</link>"
-#: C/aboutdialog.vala.page:39(item/p) C/gmenu.vala.page:42(item/p)
-#: C/GtkApplicationWindow.vala.page:31(item/p) C/label.vala.page:31(item/p)
+#. (itstool) path: item/p
+#: C/aboutdialog.vala.page:39 C/gmenu.vala.page:42
+#: C/GtkApplicationWindow.vala.page:31 C/label.vala.page:31
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.ApplicationWindow.html"
"\">Gtk.ApplicationWindow</link>"
@@ -4634,7 +4668,8 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.ApplicationWindow.html"
"\">Gtk.ApplicationWindow</link>"
-#: C/aboutdialog.vala.page:40(item/p)
+#. (itstool) path: item/p
+#: C/aboutdialog.vala.page:40
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Window.set_default_size.html"
"\">set_default_size</link>"
@@ -4642,32 +4677,33 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Window.set_default_size.html"
"\">set_default_size</link>"
-#: C/audio-player.vala.page:9(info/desc)
+#. (itstool) path: info/desc
+#: C/audio-player.vala.page:9
msgid "Coming soon..."
msgstr "Próximamente..."
-#: C/audio-player.vala.page:13(credit/name)
-#: C/getting-ready.page:11(credit/name) C/guitar-tuner.c.page:14(credit/name)
-#: C/guitar-tuner.cpp.page:12(credit/name)
-#: C/guitar-tuner.py.page:14(credit/name)
-#: C/guitar-tuner.vala.page:13(credit/name)
-#: C/image-viewer.c.page:14(credit/name)
-#: C/image-viewer.cpp.page:12(credit/name)
-#: C/image-viewer.vala.page:14(credit/name)
-#: C/record-collection.js.page:14(credit/name)
+#. (itstool) path: credit/name
+#: C/audio-player.vala.page:13 C/getting-ready.page:11
+#: C/guitar-tuner.c.page:14 C/guitar-tuner.cpp.page:12
+#: C/guitar-tuner.py.page:14 C/guitar-tuner.vala.page:13
+#: C/image-viewer.c.page:14 C/image-viewer.cpp.page:12
+#: C/image-viewer.vala.page:14 C/record-collection.js.page:14
msgid "GNOME Documentation Project"
msgstr "Proyecto de documentación de GNOME"
-#: C/audio-player.vala.page:18(page/title)
+#. (itstool) path: page/title
+#: C/audio-player.vala.page:18
msgid "Audio player"
msgstr "Reproductor de sonido"
-#: C/beginner.c.page:8(info/title)
+#. (itstool) path: info/title
+#: C/beginner.c.page:8
msgctxt "text"
msgid "Tutorial for beginners (C)"
msgstr "Tutorial para principiantes (C)"
-#: C/beginner.c.page:12(info/desc) C/beginner.vala.page:12(info/desc)
+#. (itstool) path: info/desc
+#: C/beginner.c.page:12 C/beginner.vala.page:12
msgid ""
"A beginner's guide to GUI programming using GTK+, including code samples and "
"practice exercises."
@@ -4675,41 +4711,32 @@ msgstr ""
"Una guía de programación de interfaces usuario en GTK+ para principiantes, "
"incluyendo ejemplos de código y ejercicios prácticos."
-#: C/beginner.c.page:21(credit/years) C/beginner.js.page:17(credit/years)
-#: C/beginner.py.page:20(credit/years) C/beginner.vala.page:20(credit/years)
-#: C/buttonbox.js.page:15(credit/years) C/colorbutton.js.page:14(credit/years)
-#: C/combobox_multicolumn.vala.page:15(credit/years)
-#: C/fontchooserwidget.js.page:14(credit/years)
-#: C/fontchooserwidget.vala.page:14(credit/years)
-#: C/guitar-tuner.c.page:24(credit/years)
-#: C/guitar-tuner.cpp.page:22(credit/years)
-#: C/guitar-tuner.py.page:24(credit/years)
-#: C/guitar-tuner.py.page:29(credit/years)
-#: C/guitar-tuner.vala.page:27(credit/years)
-#: C/image-viewer.c.page:24(credit/years)
-#: C/image-viewer.cpp.page:22(credit/years)
-#: C/image-viewer.js.page:24(credit/years)
-#: C/image-viewer.py.page:24(credit/years)
-#: C/image-viewer.vala.page:32(credit/years) C/js.page:17(credit/years)
-#: C/magic-mirror.vala.page:24(credit/years)
-#: C/menubutton.c.page:14(credit/years)
-#: C/message-board.c.page:21(credit/years) C/paned.js.page:14(credit/years)
-#: C/paned.vala.page:14(credit/years) C/photo-wall.c.page:23(credit/years)
-#: C/py.page:16(credit/years) C/record-collection.js.page:24(credit/years)
-#: C/scrolledwindow.js.page:14(credit/years)
-#: C/separator.c.page:15(credit/years) C/separator.vala.page:17(credit/years)
-#: C/tooltip.c.page:15(credit/years) C/tooltip.js.page:15(credit/years)
-#: C/tooltip.vala.page:15(credit/years) C/tutorial.py.page:26(credit/years)
-#: C/vala.page:16(credit/years) C/weatherApp.js.page:18(credit/years)
+#. (itstool) path: credit/years
+#: C/beginner.c.page:21 C/beginner.js.page:17 C/beginner.py.page:20
+#: C/beginner.vala.page:20 C/buttonbox.js.page:15 C/colorbutton.js.page:14
+#: C/combobox_multicolumn.vala.page:15 C/fontchooserwidget.js.page:14
+#: C/fontchooserwidget.vala.page:14 C/guitar-tuner.c.page:24
+#: C/guitar-tuner.cpp.page:22 C/guitar-tuner.py.page:24
+#: C/guitar-tuner.py.page:29 C/guitar-tuner.vala.page:27
+#: C/image-viewer.c.page:24 C/image-viewer.cpp.page:22
+#: C/image-viewer.js.page:24 C/image-viewer.py.page:24
+#: C/image-viewer.vala.page:32 C/js.page:17 C/magic-mirror.vala.page:24
+#: C/menubutton.c.page:14 C/message-board.c.page:21 C/paned.js.page:14
+#: C/paned.vala.page:14 C/photo-wall.c.page:23 C/py.page:16
+#: C/record-collection.js.page:24 C/scrolledwindow.js.page:14
+#: C/separator.c.page:15 C/separator.vala.page:17 C/tooltip.c.page:15
+#: C/tooltip.js.page:15 C/tooltip.vala.page:15 C/tutorial.py.page:26
+#: C/vala.page:16 C/weatherApp.js.page:18
msgid "2013"
msgstr "2013"
-#: C/beginner.c.page:25(page/title) C/beginner.js.page:23(page/title)
-#: C/beginner.vala.page:24(page/title)
+#. (itstool) path: page/title
+#: C/beginner.c.page:25 C/beginner.js.page:23 C/beginner.vala.page:24
msgid "Tutorial for beginners and code samples"
msgstr "Tutorial para principiantes y ejemplos de código"
-#: C/beginner.c.page:27(synopsis/p) C/beginner.vala.page:26(synopsis/p)
+#. (itstool) path: synopsis/p
+#: C/beginner.c.page:27 C/beginner.vala.page:26
msgid ""
"Although these tutorials are designed for beginners, we can't cover all the "
"basics. Before attempting to follow these tutorials, you are expected to be "
@@ -4719,15 +4746,18 @@ msgstr ""
"cubrir todos los conceptos básicos. Antes de intentar seguir estos "
"tutoriales, debe estar familiarizado con los siguientes conceptos:"
-#: C/beginner.c.page:29(item/p) C/beginner.vala.page:28(item/p)
+#. (itstool) path: item/p
+#: C/beginner.c.page:29 C/beginner.vala.page:28
msgid "Object oriented programming"
msgstr "Programación orientada a objetos"
-#: C/beginner.c.page:30(item/p)
+#. (itstool) path: item/p
+#: C/beginner.c.page:30
msgid "The C programming language"
msgstr "El lenguaje de programación C:"
-#: C/beginner.c.page:34(synopsis/p) C/beginner.vala.page:37(synopsis/p)
+#. (itstool) path: synopsis/p
+#: C/beginner.c.page:34 C/beginner.vala.page:37
msgid ""
"By following these tutorials you will learn the basics of GUI programming "
"using GTK+."
@@ -4735,42 +4765,46 @@ msgstr ""
"Siguiendo estos tutoriales, aprenderá los conceptos básicos de la "
"programación de IGU usando GTK+."
-#: C/beginner.c.page:38(section/title) C/beginner.js.page:41(section/title)
-#: C/beginner.vala.page:41(section/title)
+#. (itstool) path: section/title
+#: C/beginner.c.page:38 C/beginner.js.page:41 C/beginner.vala.page:41
msgid "Tutorials"
msgstr "Tutoriales"
-#: C/beginner.c.page:42(section/title) C/beginner.js.page:45(section/title)
-#: C/beginner.vala.page:45(section/title) C/py.page:31(section/title)
+#. (itstool) path: section/title
+#: C/beginner.c.page:42 C/beginner.js.page:45 C/beginner.vala.page:45
+#: C/py.page:31
msgid "Code samples"
msgstr "Ejemplos de código"
-#: C/beginner.c.page:43(section/p) C/beginner.js.page:47(section/p)
-#: C/beginner.vala.page:46(section/p)
+#. (itstool) path: section/p
+#: C/beginner.c.page:43 C/beginner.js.page:47 C/beginner.vala.page:46
msgid "To run the code samples:"
msgstr "Para ejecutar los ejemplos de código:"
-#: C/beginner.c.page:47(item/p)
+#. (itstool) path: item/p
+#: C/beginner.c.page:47
msgid "Copy and paste the code into <var>filename</var>.c"
msgstr "Copie y pegue el código en <var>nombre_archivo</var>.c"
-#: C/beginner.c.page:48(item/p) C/beginner.c.page:61(item/p)
-#: C/beginner.vala.page:51(item/p)
+#. (itstool) path: item/p
+#: C/beginner.c.page:48 C/beginner.c.page:61 C/beginner.vala.page:51
msgid "In the terminal type:"
msgstr "Escriba en la terminal:"
-#: C/beginner.c.page:49(item/screen)
+#. (itstool) path: item/screen
+#: C/beginner.c.page:49
#, no-wrap
msgid "gcc <var>filename</var>.c `pkg-config --cflags --libs gtk+-3.0` -o <var>filename</var>\n"
msgstr "gcc <var>nombre_archivo</var>.c `pkg-config --cflags --libs gtk+-3.0` -o <var>nombre_archivo</var>\n"
-#: C/beginner.c.page:51(item/screen) C/beginner.c.page:65(item/screen)
-#: C/beginner.vala.page:53(item/screen)
+#. (itstool) path: item/screen
+#: C/beginner.c.page:51 C/beginner.c.page:65 C/beginner.vala.page:53
#, no-wrap
msgid "./<var>filename</var>"
msgstr "./<var>nombre_archivo</var>"
-#: C/beginner.c.page:55(note/p)
+#. (itstool) path: note/p
+#: C/beginner.c.page:55
msgid ""
"For more information about compiling GTK+ programs see <link href=\"http://"
"developer.gnome.org/gtk3/3.4/gtk-compiling.html\">Compiling GTK+ "
@@ -4780,113 +4814,130 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/3.4/gtk-compiling.html"
"\">Compilar aplicaciones GTK+ en UNIX</link>."
-#: C/beginner.c.page:59(section/p)
+#. (itstool) path: section/p
+#: C/beginner.c.page:59
msgid "You can also use the Vala compiler to compile these samples:"
msgstr "También puede usar el compilador de Vala para compilar estos ejemplos:"
-#: C/beginner.c.page:62(item/screen)
+#. (itstool) path: item/screen
+#: C/beginner.c.page:62
#, no-wrap
msgid "valac --pkg gtk+-3.0 <var>filename</var>.c"
msgstr "valac --pkg gtk+-3.0 <var>nombre_archivo</var>.c"
-#: C/beginner.c.page:64(item/p)
+#. (itstool) path: item/p
+#: C/beginner.c.page:64
msgid "To run:"
msgstr "Para ejecutarlos:"
-#: C/beginner.c.page:68(section/title) C/beginner.js.page:54(section/title)
-#: C/beginner.py.page:31(section/title) C/beginner.vala.page:57(section/title)
+#. (itstool) path: section/title
+#: C/beginner.c.page:68 C/beginner.js.page:54 C/beginner.py.page:31
+#: C/beginner.vala.page:57
msgid "Windows"
msgstr "Ventanas"
-#: C/beginner.c.page:71(section/title) C/beginner.js.page:56(section/title)
-#: C/beginner.py.page:33(section/title) C/beginner.vala.page:60(section/title)
+#. (itstool) path: section/title
+#: C/beginner.c.page:71 C/beginner.js.page:56 C/beginner.py.page:33
+#: C/beginner.vala.page:60
msgid "Display widgets"
msgstr "Widgets de visualización"
-#: C/beginner.c.page:73(section/title) C/beginner.js.page:58(section/title)
-#: C/beginner.py.page:35(section/title) C/beginner.vala.page:62(section/title)
+#. (itstool) path: section/title
+#: C/beginner.c.page:73 C/beginner.js.page:58 C/beginner.py.page:35
+#: C/beginner.vala.page:62
msgid "Buttons and toggles"
msgstr "Botones y casillas"
-#: C/beginner.c.page:75(section/title) C/beginner.js.page:60(section/title)
-#: C/beginner.py.page:37(section/title) C/beginner.vala.page:64(section/title)
+#. (itstool) path: section/title
+#: C/beginner.c.page:75 C/beginner.js.page:60 C/beginner.py.page:37
+#: C/beginner.vala.page:64
msgid "Numeric and text data entry"
msgstr "Entrada de daos numérica y de texto"
-#: C/beginner.c.page:77(section/title) C/beginner.js.page:62(section/title)
-#: C/beginner.py.page:39(section/title) C/beginner.vala.page:66(section/title)
+#. (itstool) path: section/title
+#: C/beginner.c.page:77 C/beginner.js.page:62 C/beginner.py.page:39
+#: C/beginner.vala.page:66
msgid "Multiline text editor"
msgstr "Editor de texto multilínea"
-#: C/beginner.c.page:79(section/title) C/beginner.js.page:64(section/title)
-#: C/beginner.py.page:41(section/title) C/beginner.vala.page:68(section/title)
+#. (itstool) path: section/title
+#: C/beginner.c.page:79 C/beginner.js.page:64 C/beginner.py.page:41
+#: C/beginner.vala.page:68
msgid "Menu, combo box and toolbar widgets"
msgstr "Widgets de menú, caja combinada y barra de herramientas"
-#: C/beginner.c.page:81(section/title) C/beginner.js.page:66(section/title)
-#: C/beginner.py.page:43(section/title) C/beginner.vala.page:70(section/title)
+#. (itstool) path: section/title
+#: C/beginner.c.page:81 C/beginner.js.page:66 C/beginner.py.page:43
+#: C/beginner.vala.page:70
msgid "TreeView widget"
msgstr "Widget TreeView"
-#: C/beginner.c.page:83(section/title) C/beginner.js.page:68(section/title)
-#: C/beginner.py.page:45(section/title) C/beginner.vala.page:72(section/title)
-#: C/tutorial.py.page:126(steps/title)
+#. (itstool) path: section/title
+#. (itstool) path: steps/title
+#: C/beginner.c.page:83 C/beginner.js.page:68 C/beginner.py.page:45
+#: C/beginner.vala.page:72 C/tutorial.py.page:126
msgid "Selectors"
msgstr "Selectores"
-#: C/beginner.c.page:84(section/title) C/beginner.js.page:69(section/title)
-#: C/beginner.py.page:46(section/title) C/beginner.vala.page:73(section/title)
+#. (itstool) path: section/title
+#: C/beginner.c.page:84 C/beginner.js.page:69 C/beginner.py.page:46
+#: C/beginner.vala.page:73
msgid "File selectors"
msgstr "Selectores de archivos"
-#: C/beginner.c.page:86(section/title) C/beginner.js.page:71(section/title)
-#: C/beginner.py.page:48(section/title) C/beginner.vala.page:75(section/title)
+#. (itstool) path: section/title
+#: C/beginner.c.page:86 C/beginner.js.page:71 C/beginner.py.page:48
+#: C/beginner.vala.page:75
msgid "Font selectors"
msgstr "Selectores de tipografías"
-#: C/beginner.c.page:88(section/title) C/beginner.js.page:73(section/title)
-#: C/beginner.py.page:50(section/title) C/beginner.vala.page:77(section/title)
+#. (itstool) path: section/title
+#: C/beginner.c.page:88 C/beginner.js.page:73 C/beginner.py.page:50
+#: C/beginner.vala.page:77
msgid "Color Selectors"
msgstr "Selectores de color"
-#: C/beginner.c.page:91(section/title) C/beginner.js.page:76(section/title)
-#: C/beginner.py.page:53(section/title) C/beginner.vala.page:80(section/title)
+#. (itstool) path: section/title
+#: C/beginner.c.page:91 C/beginner.js.page:76 C/beginner.py.page:53
+#: C/beginner.vala.page:80
msgid "Layout containers"
msgstr "Contenedores de la distribución"
-#: C/beginner.c.page:93(section/title) C/beginner.js.page:78(section/title)
-#: C/beginner.py.page:55(section/title) C/beginner.vala.page:82(section/title)
+#. (itstool) path: section/title
+#: C/beginner.c.page:93 C/beginner.js.page:78 C/beginner.py.page:55
+#: C/beginner.vala.page:82
msgid "Ornaments"
msgstr "Adornos"
-#: C/beginner.c.page:95(section/title) C/beginner.js.page:80(section/title)
-#: C/beginner.py.page:57(section/title) C/beginner.vala.page:84(section/title)
+#. (itstool) path: section/title
+#: C/beginner.c.page:95 C/beginner.js.page:80 C/beginner.py.page:57
+#: C/beginner.vala.page:84
msgid "Scrolling"
msgstr "Desplazamiento"
-#: C/beginner.c.page:97(section/title) C/beginner.js.page:82(section/title)
-#: C/beginner.py.page:59(section/title) C/beginner.vala.page:86(section/title)
+#. (itstool) path: section/title
+#: C/beginner.c.page:97 C/beginner.js.page:82 C/beginner.py.page:59
+#: C/beginner.vala.page:86
msgid "Miscellaneous"
msgstr "Varios"
-#: C/beginner.c.page:102(section/title) C/beginner.js.page:87(section/title)
-#: C/beginner.vala.page:91(section/title)
-#: C/menubar.vala.page:197(section/title)
+#. (itstool) path: section/title
+#: C/beginner.c.page:102 C/beginner.js.page:87 C/beginner.vala.page:91
+#: C/menubar.vala.page:197
msgid "Exercises"
msgstr "Ejercicios"
-#: C/beginner.js.page:10(credit/name) C/grid.js.page:12(credit/name)
-#: C/guitar-tuner.js.page:11(credit/name) C/hello-world.c.page:14(credit/name)
-#: C/hello-world.js.page:14(credit/name) C/hello-world.py.page:14(credit/name)
-#: C/hello-world.vala.page:14(credit/name)
-#: C/weatherApp.js.page:11(credit/name)
-#: C/weatherAppMain.js.page:10(credit/name)
-#: C/weatherAutotools.js.page:10(credit/name)
-#: C/weatherGeonames.js.page:10(credit/name)
+#. (itstool) path: credit/name
+#: C/beginner.js.page:10 C/grid.js.page:12 C/guitar-tuner.js.page:11
+#: C/hello-world.c.page:14 C/hello-world.js.page:14 C/hello-world.py.page:14
+#: C/hello-world.vala.page:14 C/weatherApp.js.page:11
+#: C/weatherAppMain.js.page:10 C/weatherAutotools.js.page:10
+#: C/weatherGeonames.js.page:10
msgid "Susanna Huhtanen"
msgstr "Susanna Huhtanen"
-#: C/beginner.js.page:20(info/desc)
+#. (itstool) path: info/desc
+#: C/beginner.js.page:20
msgid ""
"A beginner's guide to writing GNOME applications in JavaScript, including "
"code samples and practice exercises."
@@ -4894,7 +4945,8 @@ msgstr ""
"Una guía para principiantes sobre escribir aplicaciones de GNOME en "
"JavaScript, incluyendo ejemplos de código y ejercicios de práctica."
-#: C/beginner.js.page:25(synopsis/p)
+#. (itstool) path: synopsis/p
+#: C/beginner.js.page:25
msgid ""
"JavaScript is one of the most popular programming languages on the web. It's "
"not just for the web, though. If you have even a basic understanding of "
@@ -4910,7 +4962,8 @@ msgstr ""
"link> están escritos en JavaScript, y también <link href=\"https://live."
"gnome.org/GnomeShell/Tour\">GNOME Shell</link>, la parte más básica de GNOME."
-#: C/beginner.js.page:26(note/p)
+#. (itstool) path: note/p
+#: C/beginner.js.page:26
msgid ""
"GNOME Shell is what you see when you click on \"Activities\" in the top-left "
"corner of your screen. It also controls the clock and the rest of the top "
@@ -4924,11 +4977,13 @@ msgstr ""
"estos tutoriales le mostrarán cómo usar JavaScript para escribir extensiones "
"de GNOME Shell, que le añaden características o cambian su comportamiento."
-#: C/beginner.js.page:30(section/title)
+#. (itstool) path: section/title
+#: C/beginner.js.page:30
msgid "Getting Started"
msgstr "Inicio"
-#: C/beginner.js.page:31(section/p)
+#. (itstool) path: section/p
+#: C/beginner.js.page:31
msgid ""
"These tutorials are designed for people who already know how to write in "
"JavaScript, and who have GNOME installed on their computers already, but who "
@@ -4942,7 +4997,8 @@ msgstr ""
"JavaScript, o si necesita ayuda instalando GNOME, eche un vistazo a estos "
"recursos primero:"
-#: C/beginner.js.page:33(item/p)
+#. (itstool) path: item/p
+#: C/beginner.js.page:33
msgid ""
"<link href=\"http://eloquentjavascript.net/contents.html\">Eloquent "
"JavaScript</link> is a free, Creative Commons-licensed book, which explains "
@@ -4954,7 +5010,8 @@ msgstr ""
"explica los conceptos básicos de programación en JavaScript. Dado que no va "
"a escribir JavaScript para la web, sólo necesitará leer hasta el capítulo 10."
-#: C/beginner.js.page:34(item/p)
+#. (itstool) path: item/p
+#: C/beginner.js.page:34
msgid ""
"<link href=\"http://www.gnome.org/getting-gnome/\">Download GNOME</link> as "
"part of a distribution, like Fedora, openSUSE, or Ubuntu. Each distribution "
@@ -4964,7 +5021,8 @@ msgstr ""
"como parte de una distribución, como Fedora, openSUSE, o Ubuntu. Cada "
"distribución tiene sus propias instrucciones para obtener GNOME."
-#: C/beginner.js.page:35(item/p)
+#. (itstool) path: item/p
+#: C/beginner.js.page:35
msgid ""
"<link xref=\"set-up-gedit.js\">Set up gedit</link> for writing applications. "
"GNOME's text editor, gedit, is sometimes just called \"text editor\"."
@@ -4973,7 +5031,8 @@ msgstr ""
"aplicaciones. El editor de texto de GNOME, gedit, a veces solo se llama "
"«editor de texto»."
-#: C/beginner.js.page:46(section/p)
+#. (itstool) path: section/p
+#: C/beginner.js.page:46
msgid ""
"These samples show how to use widgets in your GNOME applications. Each one "
"demonstrates a complete application which showcases the featured widget. At "
@@ -4985,25 +5044,30 @@ msgstr ""
"final de cada ejemplo, encontrará enlaces a material de referencia más "
"detallado."
-#: C/beginner.js.page:49(item/p)
+#. (itstool) path: item/p
+#: C/beginner.js.page:49
msgid "Copy and paste the code into <var>filename</var>.js"
msgstr "Copie y pegue el código en <var>nombre_archivo</var>.js"
-#: C/beginner.js.page:50(item/p)
+#. (itstool) path: item/p
+#: C/beginner.js.page:50
msgid "In the terminal, type:"
msgstr "Escriba en la terminal:"
-#: C/beginner.js.page:51(item/screen)
+#. (itstool) path: item/screen
+#: C/beginner.js.page:51
#, no-wrap
msgid "gjs <var>filename</var>.js"
msgstr "gjs <var>nombre_archivo</var>.js"
-#: C/beginner.py.page:8(info/title)
+#. (itstool) path: info/title
+#: C/beginner.py.page:8
msgctxt "text"
msgid "GTK+ widgets sample code (Python)"
msgstr "Código de ejemplo de widget de GTK+ (Python)"
-#: C/beginner.py.page:12(info/desc)
+#. (itstool) path: info/desc
+#: C/beginner.py.page:12
msgid ""
"A guide to GUI programming using GTK+, including code samples and practice "
"exercises."
@@ -5011,11 +5075,13 @@ msgstr ""
"Una guía de programación de IU en GTK+, incluyendo ejemplos de código y "
"ejercicios de práctica."
-#: C/beginner.py.page:24(page/title)
+#. (itstool) path: page/title
+#: C/beginner.py.page:24
msgid "GTK+ widgets sample code"
msgstr "Código de ejemplo de widgets de GTK+"
-#: C/beginner.py.page:26(synopsis/p)
+#. (itstool) path: synopsis/p
+#: C/beginner.py.page:26
msgid ""
"If you are a beginner and you would like a tutorial to guide you step by "
"step in an exploration of what you can do with GTK+ 3, you should go to the "
@@ -5027,27 +5093,32 @@ msgstr ""
"\"tutorial.py\"/>. Si está buscando un widget específico, puede encontrarlo "
"en las secciones a continuación."
-#: C/beginner.py.page:63(section/title)
+#. (itstool) path: section/title
+#: C/beginner.py.page:63
msgid "Theory pages"
msgstr "Páginas de teoría"
-#: C/beginner.vala.page:8(info/title)
+#. (itstool) path: info/title
+#: C/beginner.vala.page:8
msgctxt "text"
msgid "Tutorial for beginners (Vala)"
msgstr "Tutorial para principiantes (Vala)"
-#: C/beginner.vala.page:29(item/p)
+#. (itstool) path: item/p
+#: C/beginner.vala.page:29
msgid "The Vala programming language:"
msgstr "El lenguaje de programación Vala:"
-#: C/beginner.vala.page:31(item/p)
+#. (itstool) path: item/p
+#: C/beginner.vala.page:31
msgid ""
"<link href=\"https://live.gnome.org/Vala/Tutorial\">The Vala Tutorial</link>"
msgstr ""
"<link href=\"https://live.gnome.org/Vala/Tutorial\">El tutorial de Vala</"
"link>"
-#: C/beginner.vala.page:32(item/p)
+#. (itstool) path: item/p
+#: C/beginner.vala.page:32
msgid ""
"<link href=\"https://live.gnome.org/Vala/Documentation#Sample_Code\">Sample "
"Vala code</link>"
@@ -5055,29 +5126,42 @@ msgstr ""
"<link href=\"https://live.gnome.org/Vala/Documentation#Sample_Code\">Código "
"de ejemplo de Vala</link>"
-#: C/beginner.vala.page:50(item/p)
+#. (itstool) path: item/p
+#: C/beginner.vala.page:50
msgid "Copy and paste the code into <var>filename</var>.vala"
msgstr "Copie y pegue el código en <var>nombre_archivo</var>.vala"
-#: C/beginner.vala.page:52(item/screen)
+#. (itstool) path: item/screen
+#: C/beginner.vala.page:52
#, no-wrap
msgid "valac --pkg gtk+-3.0 <var>filename</var>.vala"
msgstr "valac --pkg gtk+-3.0 <var>nombre_archivo</var>.vala"
-#: C/bug-filing.page:14(license/p) C/documentation.page:15(license/p)
-#: C/translate.page:19(license/p)
+#. (itstool) path: credit/years
+#: C/bug-filing.page:11 C/documentation.page:12 C/entry.py.page:22
+#: C/index.page:19 C/model-view-controller.py.page:17 C/properties.py.page:17
+#: C/signals-callbacks.py.page:17 C/strings.py.page:17 C/textview.py.page:17
+#: C/toolbar_builder.py.page:29 C/translate.page:12
+msgid "2011"
+msgstr "2011"
+
+#. (itstool) path: license/p
+#: C/bug-filing.page:14 C/documentation.page:15 C/translate.page:19
msgid "Creative Commons Share Alike 3.0"
msgstr "Creative Commons Compartir Igual 3.0"
-#: C/bug-filing.page:18(page/title)
+#. (itstool) path: page/title
+#: C/bug-filing.page:18
msgid "Help make <app>GNOME Developer Tutorials</app> better"
msgstr "Ayudar a mejorar los <app>Tutoriales del desarrollador de GNOME</app>"
-#: C/bug-filing.page:21(section/title)
+#. (itstool) path: section/title
+#: C/bug-filing.page:21
msgid "Report a bug or suggest an improvement"
msgstr "Informar de un error o proponer una mejora"
-#: C/bug-filing.page:22(section/p)
+#. (itstool) path: section/p
+#: C/bug-filing.page:22
msgid ""
"<app>GNOME Developer Tutorials</app> are maintained by a volunteer "
"community. You are welcome to participate. If you notice a problem you can "
@@ -5089,7 +5173,8 @@ msgstr ""
"encuentra un error, puede rellenar un <em>informe de error</em>. Para "
"informar de un error, vaya a <link href=\"https://bugzilla.gnome.org/\"/>."
-#: C/bug-filing.page:25(section/p)
+#. (itstool) path: section/p
+#: C/bug-filing.page:25
msgid ""
"This is a bug tracking system where users and developers can file details "
"about bugs, crashes and request enhancements."
@@ -5098,7 +5183,8 @@ msgstr ""
"desarrolladores pueden archivar detalles sobre los errores, fallos y "
"solicitudes de mejoras."
-#: C/bug-filing.page:28(section/p)
+#. (itstool) path: section/p
+#: C/bug-filing.page:28
msgid ""
"To participate you need an account which will give you the ability to gain "
"access, file bugs, and make comments. Also, you need to register so you can "
@@ -5111,7 +5197,8 @@ msgstr ""
"Si todavía no tiene una cuenta, simplemente pulse en el enlace <gui>New "
"Account</gui> para crear una."
-#: C/bug-filing.page:31(section/p)
+#. (itstool) path: section/p
+#: C/bug-filing.page:31
msgid ""
"Once you have an account, log in, click on <guiseq><gui>File a Bug</"
"gui><gui>All</gui><gui>gnome-devel-docs</gui></guiseq>. Before reporting a "
@@ -5127,7 +5214,8 @@ msgstr ""
"<link href=\"https://bugzilla.gnome.org/browse.cgi?product=evince\">busque</"
"link> el error para ver si ya existe."
-#: C/bug-filing.page:35(section/p)
+#. (itstool) path: section/p
+#: C/bug-filing.page:35
msgid ""
"To file your bug, choose the component <gui>platform-demos</gui> in the "
"<gui>Component</gui> menu."
@@ -5135,7 +5223,8 @@ msgstr ""
"Para informar de un error, elija el componente <gui>platform-demos</gui> en "
"el menú <gui>Component</gui>."
-#: C/bug-filing.page:38(section/p)
+#. (itstool) path: section/p
+#: C/bug-filing.page:38
msgid ""
"If you are requesting a new feature, choose <gui>enhancement</gui> in the "
"<gui>Severity</gui> menu. Fill in the Summary and Description sections and "
@@ -5145,7 +5234,8 @@ msgstr ""
"en el menú <gui>Severity</gui>. Rellene las secciones «Summary» y "
"«Description» y pulse <gui>Commit</gui>."
-#: C/bug-filing.page:42(section/p)
+#. (itstool) path: section/p
+#: C/bug-filing.page:42
msgid ""
"Your report will be given an ID number, and its status will be updated as it "
"is being dealt with. Thanks for helping make <app>GNOME Developer Tutorials</"
@@ -5155,47 +5245,35 @@ msgstr ""
"medida que se trate. Gracias por ayudar a mejorar los <app>Tutoriales del "
"desarrollador de GNOME</app>."
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/button.c.page:24(media) C/button.js.page:21(media)
-#: C/button.py.page:24(media) C/button.vala.page:23(media)
+#: C/button.c.page:24 C/button.js.page:21 C/button.py.page:24
+#: C/button.vala.page:23
msgctxt "_"
msgid "external ref='media/button.png' md5='8d69efbb3a0d3e043af6139b6492171c'"
msgstr "external ref='media/button.png' md5='8d69efbb3a0d3e043af6139b6492171c'"
-#: C/button.c.page:7(info/title)
+#. (itstool) path: info/title
+#: C/button.c.page:7
msgctxt "text"
msgid "Button (C)"
msgstr "Botón (C)"
-#: C/button.c.page:19(info/desc) C/button.py.page:19(info/desc)
-#: C/button.vala.page:18(info/desc)
+#. (itstool) path: info/desc
+#: C/button.c.page:19 C/button.py.page:19 C/button.vala.page:18
msgid "A button widget which emits a signal when clicked"
msgstr "Un widget de botón que emite una señal cuando se pulsa sobre él"
-#: C/button.c.page:22(page/title) C/button.js.page:20(page/title)
-#: C/button.py.page:22(page/title)
+#. (itstool) path: page/title
+#: C/button.c.page:22 C/button.js.page:20 C/button.py.page:22
msgid "Button"
msgstr "Button"
-#: C/button.c.page:25(page/p)
+#. (itstool) path: page/p
+#: C/button.c.page:25
msgid ""
"A button widget connected to a callback function that reverses its label "
"when clicked."
@@ -5203,7 +5281,8 @@ msgstr ""
"Un widget de botón conectado a una función de retorno de llamada que "
"invierte su etiqueta cuando se pulsa."
-#: C/button.c.page:27(page/code)
+#. (itstool) path: page/code
+#: C/button.c.page:27
#, no-wrap
msgid ""
"\n"
@@ -5336,8 +5415,8 @@ msgstr ""
" return status;\n"
"}\n"
-#: C/button.c.page:35(item/p) C/buttonbox.py.page:50(item/p)
-#: C/grid.c.page:34(item/p)
+#. (itstool) path: item/p
+#: C/button.c.page:35 C/buttonbox.py.page:50 C/grid.c.page:34
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkButton.html"
"\">GtkButton</link>"
@@ -5345,7 +5424,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkButton.html"
"\">GtkButton</link>"
-#: C/button.c.page:36(item/p)
+#. (itstool) path: item/p
+#: C/button.c.page:36
msgid ""
"<link href=\"http://developer.gnome.org/glib/stable/glib-Unicode-"
"Manipulation.html#g-utf8-strreverse\">Unicode Manipulation</link>"
@@ -5353,20 +5433,24 @@ msgstr ""
"<link href=\"http://developer.gnome.org/glib/stable/glib-Unicode-"
"Manipulation.html#g-utf8-strreverse\">Manejo de Unicode</link>"
-#: C/button.js.page:7(info/title)
+#. (itstool) path: info/title
+#: C/button.js.page:7
msgctxt "text"
msgid "Button (JavaScript)"
msgstr "Botón (JavaScript)"
-#: C/button.js.page:17(info/desc)
+#. (itstool) path: info/desc
+#: C/button.js.page:17
msgid "A button which can be connected to other widgets"
msgstr "Un botón que puede estar conectado a otros widgets."
-#: C/button.js.page:22(page/p)
+#. (itstool) path: page/p
+#: C/button.js.page:22
msgid "A button widget that changes its label when you click it."
msgstr "Un widget que cambia su etiqueta cuando se pulsa sobre él."
-#: C/button.js.page:24(page/code)
+#. (itstool) path: page/code
+#: C/button.js.page:24
#, no-wrap
msgid ""
"#!/usr/bin/gjs\n"
@@ -5497,7 +5581,8 @@ msgstr ""
"let app = new ButtonExample ();\n"
"app.application.run (ARGV);\n"
-#: C/button.js.page:32(item/p) C/grid.js.page:35(item/p)
+#. (itstool) path: item/p
+#: C/button.js.page:32 C/grid.js.page:35
msgid ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.Button.html"
"\">Gtk.Button</link>"
@@ -5505,23 +5590,66 @@ msgstr ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.Button.html"
"\">Gtk.Button</link>"
-#: C/button.py.page:7(info/title)
+#. (itstool) path: info/title
+#: C/button.py.page:7
msgctxt "text"
msgid "Button (Python)"
msgstr "Botón (Python)"
-#: C/button.py.page:25(page/p) C/button.vala.page:24(page/p)
+#. (itstool) path: page/p
+#: C/button.py.page:25 C/button.vala.page:24
msgid "A button widget connected to a simple callback function."
msgstr "Un widget de botón conectado a una función de retorno de llamada."
-#: C/button.py.page:31(section/code)
+#. (itstool) path: section/code
+#: C/button.py.page:31
#, no-wrap
+#| msgid ""
+#| "from gi.repository import Gtk\n"
+#| "import sys\n"
+#| "\n"
+#| "class MyWindow(Gtk.ApplicationWindow):\n"
+#| " # a window\n"
+#| " def __init__(self, app):\n"
+#| " Gtk.Window.__init__(self, title=\"GNOME Button\", application=app)\n"
+#| " self.set_default_size(250, 50)\n"
+#| "\n"
+#| " # a button\n"
+#| " button = Gtk.Button()\n"
+#| " # with a label\n"
+#| " button.set_label(\"Click me\")\n"
+#| " # connect the signal \"clicked\" emitted by the button\n"
+#| " # to the callback function do_clicked\n"
+#| " button.connect(\"clicked\", self.do_clicked)\n"
+#| " # add the button to the window\n"
+#| " self.add(button)\n"
+#| "\n"
+#| " # callback function connected to the signal \"clicked\" of the button\n"
+#| " def do_clicked(self, button):\n"
+#| " print \"You clicked me!\"\n"
+#| "\n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " def __init__(self):\n"
+#| " Gtk.Application.__init__(self)\n"
+#| "\n"
+#| " def do_activate(self):\n"
+#| " win = MyWindow(self)\n"
+#| " win.show_all()\n"
+#| "\n"
+#| " def do_startup (self):\n"
+#| " Gtk.Application.do_startup (self)\n"
+#| "\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
" # a window\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"GNOME Button\", application=app)\n"
" self.set_default_size(250, 50)\n"
@@ -5540,7 +5668,9 @@ msgid ""
" def do_clicked(self, button):\n"
" print \"You clicked me!\"\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -5548,8 +5678,8 @@ msgid ""
" win = MyWindow(self)\n"
" win.show_all()\n"
"\n"
-" def do_startup (self):\n"
-" Gtk.Application.do_startup (self)\n"
+" def do_startup(self):\n"
+" Gtk.Application.do_startup(self)\n"
"\n"
"app = MyApplication()\n"
"exit_status = app.run(sys.argv)\n"
@@ -5558,8 +5688,10 @@ msgstr ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
" # a window\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"GNOME Button\", application=app)\n"
" self.set_default_size(250, 50)\n"
@@ -5578,7 +5710,9 @@ msgstr ""
" def do_clicked(self, button):\n"
" print \"You clicked me!\"\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -5586,18 +5720,20 @@ msgstr ""
" win = MyWindow(self)\n"
" win.show_all()\n"
"\n"
-" def do_startup (self):\n"
-" Gtk.Application.do_startup (self)\n"
+" def do_startup(self):\n"
+" Gtk.Application.do_startup(self)\n"
"\n"
"app = MyApplication()\n"
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/button.py.page:35(section/title)
+#. (itstool) path: section/title
+#: C/button.py.page:35
msgid "Useful methods for a Button widget"
msgstr "Métodos útiles para un widget «Button»"
-#: C/button.py.page:36(section/p)
+#. (itstool) path: section/p
+#: C/button.py.page:36
msgid ""
"In line 16 the <code>\"clicked\"</code> signal from the button is connected "
"to the callback function <code>do_clicked()</code> using <code><var>widget</"
@@ -5610,7 +5746,8 @@ msgstr ""
"llamada</var>)</code>. Consulte la <link xref=\"signals-callbacks.py\"/> "
"para obtener una explicación más detallada."
-#: C/button.py.page:38(item/p)
+#. (itstool) path: item/p
+#: C/button.py.page:38
msgid ""
"<code>set_relief(Gtk.ReliefStyle.NONE)</code> sets to none the relief style "
"of the edges of the Gtk.Button - as opposed to <code>Gtk.ReliefStyle.NORMAL</"
@@ -5620,7 +5757,8 @@ msgstr ""
"de los bordes del «Gtk.Button» a «ninguno», opuesto a <code>Gtk.ReliefStyle."
"NORMAL</code>."
-#: C/button.py.page:39(item/p)
+#. (itstool) path: item/p
+#: C/button.py.page:39
msgid ""
"If the label of the button is a <link href=\"http://developer.gnome.org/gtk3/"
"unstable/gtk3-Stock-Items.html\">stock icon</link>, <code>set_use_stock(True)"
@@ -5631,14 +5769,16 @@ msgstr ""
"<code>set_use_stock(True)</code> establece la etiqueta al nombre del icono "
"del almacén correspondiente."
-#: C/button.py.page:40(item/p)
+#. (itstool) path: item/p
+#: C/button.py.page:40
msgid ""
"To set an image (e.g. a stock image) for the button <code>button</code>:"
msgstr ""
"Para establecer una imagen (por ejemplo, una imagen del almacén) para el "
"botón <code>button</code>:"
-#: C/button.py.page:41(item/code)
+#. (itstool) path: item/code
+#: C/button.py.page:41
#, no-wrap
msgid ""
"\n"
@@ -5651,7 +5791,8 @@ msgstr ""
"image.set_from_stock(Gtk.STOCK_ABOUT, Gtk.IconSize.BUTTON)\n"
"button.set_image(image)"
-#: C/button.py.page:45(item/p)
+#. (itstool) path: item/p
+#: C/button.py.page:45
msgid ""
"You should not set a label for the button after this, otherwise it will show "
"the label and not the image."
@@ -5659,7 +5800,8 @@ msgstr ""
"No debe establecer una etiqueta para el botón después de esto, ya que si lo "
"hace mostrará la etiqueta y no la imagen."
-#: C/button.py.page:46(item/p)
+#. (itstool) path: item/p
+#: C/button.py.page:46
msgid ""
"If we use <code>set_focus_on_click(False)</code> the button will not grab "
"focus when it is clicked by the mouse. This could be useful in places like "
@@ -5671,7 +5813,8 @@ msgstr ""
"herramientas, para que el foco del teclado no se quite del área principal de "
"la aplicación."
-#: C/button.py.page:54(item/p)
+#. (itstool) path: item/p
+#: C/button.py.page:54
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkButton.html"
"\">GtkButton</link>"
@@ -5679,11 +5822,10 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkButton.html"
"\">GtkButton</link>"
-#: C/button.py.page:55(item/p) C/dialog.py.page:51(item/p)
-#: C/image.py.page:103(item/p) C/label.py.page:90(item/p)
-#: C/linkbutton.py.page:46(item/p) C/messagedialog.py.page:60(item/p)
-#: C/radiobutton.py.page:48(item/p) C/separator.py.page:38(item/p)
-#: C/window.py.page:64(item/p)
+#. (itstool) path: item/p
+#: C/button.py.page:55 C/dialog.py.page:51 C/image.py.page:103
+#: C/label.py.page:90 C/linkbutton.py.page:46 C/messagedialog.py.page:60
+#: C/radiobutton.py.page:48 C/separator.py.page:38 C/window.py.page:64
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkWindow.html"
"\">GtkWindow</link>"
@@ -5691,16 +5833,19 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkWindow.html"
"\">GtkWindow</link>"
-#: C/button.vala.page:7(info/title)
+#. (itstool) path: info/title
+#: C/button.vala.page:7
msgctxt "text"
msgid "Button (Vala)"
msgstr "Botón (Vala)"
-#: C/button.vala.page:21(page/title)
+#. (itstool) path: page/title
+#: C/button.vala.page:21
msgid "Button widget"
msgstr "Widget de botón"
-#: C/button.vala.page:26(page/code)
+#. (itstool) path: page/code
+#: C/button.vala.page:26
#, no-wrap
msgid ""
"\n"
@@ -5791,7 +5936,8 @@ msgstr ""
"\treturn new MyApplication ().run (args);\n"
"}\n"
-#: C/button.vala.page:28(page/p)
+#. (itstool) path: page/p
+#: C/button.vala.page:28
msgid ""
"In this sample we used the following: <link href=\"http://www.valadoc.org/gtk"
"+-3.0/Gtk.Button.html\">Gtk.Button</link>"
@@ -5799,16 +5945,12 @@ msgstr ""
"En este ejemplo se usa el siguiente widget: <link href=\"http://www.valadoc."
"org/gtk+-3.0/Gtk.Button.html\">Gtk.Button</link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/buttonbox.js.page:23(media) C/buttonbox.py.page:24(media)
+#: C/buttonbox.js.page:23 C/buttonbox.py.page:24
msgctxt "_"
msgid ""
"external ref='media/buttonbox_calculator.png' "
@@ -5817,31 +5959,37 @@ msgstr ""
"external ref='media/buttonbox_calculator.png' "
"md5='ce0de08b7ac66f517290e33e6d33d508'"
-#: C/buttonbox.js.page:7(info/title)
+#. (itstool) path: info/title
+#: C/buttonbox.js.page:7
msgctxt "text"
msgid "ButtonBox (JavaScript)"
msgstr "ButtonBox (JavaScript)"
-#: C/buttonbox.js.page:13(credit/name) C/colorbutton.js.page:12(credit/name)
-#: C/fontchooserwidget.js.page:12(credit/name) C/paned.js.page:12(credit/name)
-#: C/scrolledwindow.js.page:12(credit/name) C/tooltip.js.page:13(credit/name)
+#. (itstool) path: credit/name
+#: C/buttonbox.js.page:13 C/colorbutton.js.page:12
+#: C/fontchooserwidget.js.page:12 C/paned.js.page:12
+#: C/scrolledwindow.js.page:12 C/tooltip.js.page:13
msgid "Meg Ford"
msgstr "Meg Ford"
-#: C/buttonbox.js.page:18(info/desc) C/buttonbox.py.page:19(info/desc)
+#. (itstool) path: info/desc
+#: C/buttonbox.js.page:18 C/buttonbox.py.page:19
msgid "A container for arranging buttons"
msgstr "Un contenedor para organizar botones"
-#: C/buttonbox.js.page:21(page/title) C/buttonbox.py.page:22(page/title)
-#: C/tutorial.py.page:91(steps/title)
+#. (itstool) path: page/title
+#. (itstool) path: steps/title
+#: C/buttonbox.js.page:21 C/buttonbox.py.page:22 C/tutorial.py.page:91
msgid "ButtonBox"
msgstr "Botonera"
-#: C/buttonbox.js.page:24(page/p) C/buttonbox.py.page:25(page/p)
+#. (itstool) path: page/p
+#: C/buttonbox.js.page:24 C/buttonbox.py.page:25
msgid "A calculator - the buttons are enclosed in horizontal ButtonBoxes."
msgstr "Una calculadora: los botones se agrupan en botoneras horizontales."
-#: C/buttonbox.js.page:30(section/code)
+#. (itstool) path: section/code
+#: C/buttonbox.js.page:30
#, no-wrap
msgid ""
"#!/usr/bin/gjs\n"
@@ -6206,7 +6354,8 @@ msgstr ""
"let app = new ButtonBoxExample();\n"
"app.application.run (ARGV);\n"
-#: C/buttonbox.js.page:37(item/p)
+#. (itstool) path: item/p
+#: C/buttonbox.js.page:37
msgid ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.ButtonBox.html"
"\">GtkButtonBox</link>"
@@ -6214,7 +6363,8 @@ msgstr ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.ButtonBox.html"
"\">GtkButtonBox</link>"
-#: C/buttonbox.js.page:38(item/p)
+#. (itstool) path: item/p
+#: C/buttonbox.js.page:38
msgid ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.Box.html"
"\">GtkBox</link>"
@@ -6222,7 +6372,8 @@ msgstr ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.Box.html"
"\">GtkBox</link>"
-#: C/buttonbox.js.page:39(item/p)
+#. (itstool) path: item/p
+#: C/buttonbox.js.page:39
msgid ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.Button.html"
"\">GtkButton</link>"
@@ -6230,7 +6381,8 @@ msgstr ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.Button.html"
"\">GtkButton</link>"
-#: C/buttonbox.js.page:40(item/p)
+#. (itstool) path: item/p
+#: C/buttonbox.js.page:40
msgid ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.Entry.html"
"\">GtkEntry</link>"
@@ -6238,7 +6390,8 @@ msgstr ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.Entry.html"
"\">GtkEntry</link>"
-#: C/buttonbox.js.page:41(item/p)
+#. (itstool) path: item/p
+#: C/buttonbox.js.page:41
msgid ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.Grid.html"
"\">GtkGrid</link>"
@@ -6246,18 +6399,165 @@ msgstr ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.Grid.html"
"\">GtkGrid</link>"
-#: C/buttonbox.py.page:7(info/title)
+#. (itstool) path: info/title
+#: C/buttonbox.py.page:7
msgctxt "text"
msgid "ButtonBox (Python)"
msgstr "Botonera (Python)"
-#: C/buttonbox.py.page:31(section/code)
+#. (itstool) path: section/code
+#: C/buttonbox.py.page:31
#, no-wrap
+#| msgid ""
+#| "from gi.repository import Gtk\n"
+#| "import sys\n"
+#| "\n"
+#| "class MyWindow(Gtk.ApplicationWindow):\n"
+#| " def __init__(self, app):\n"
+#| " Gtk.Window.__init__(self, title=\"Calculator\", application=app)\n"
+#| " self.set_default_size(350, 200)\n"
+#| " self.set_border_width(10)\n"
+#| "\n"
+#| " # an entry\n"
+#| " self.entry = Gtk.Entry()\n"
+#| " # with an initial text\n"
+#| " self.entry.set_text('0')\n"
+#| " # text aligned on the right\n"
+#| " self.entry.set_alignment(1)\n"
+#| " # the text in the entry cannot be modified writing in it\n"
+#| " self.entry.set_can_focus(False)\n"
+#| "\n"
+#| " # a grid\n"
+#| " grid = Gtk.Grid()\n"
+#| " grid.set_row_spacing(5)\n"
+#| " \n"
+#| " # to attach the entry\n"
+#| " grid.attach(self.entry, 0, 0, 1, 1)\n"
+#| " \n"
+#| " # the labels for the buttons\n"
+#| " buttons = [ 7, 8, 9, '/',\n"
+#| " 4, 5, 6, '*',\n"
+#| " 1, 2, 3, '-',\n"
+#| " 'C', 0, '=', '+' ]\n"
+#| " \n"
+#| " # each row is a ButtonBox, attached to the grid \n"
+#| " for i in range(4):\n"
+#| " hbox = Gtk.ButtonBox.new(Gtk.Orientation.HORIZONTAL)\n"
+#| " hbox.set_spacing(5)\n"
+#| " grid.attach(hbox, 0, i + 1, 1, 1)\n"
+#| " # each ButtonBox has 4 buttons, connected to the callback function\n"
+#| " for j in range(4):\n"
+#| " button = Gtk.Button(label=buttons[i * 4 + j])\n"
+#| " button.set_can_focus(False)\n"
+#| " button.connect(\"clicked\", self.button_clicked)\n"
+#| " hbox.add(button)\n"
+#| " \n"
+#| " # some variables for the calculations\n"
+#| " self.first_number = 0\n"
+#| " self.second_number = 0\n"
+#| " self.counter = 0\n"
+#| " self.operation = \"\"\n"
+#| "\n"
+#| " # add the grid to the window\n"
+#| " self.add(grid)\n"
+#| "\n"
+#| " # callback function for all the buttons\n"
+#| " def button_clicked(self, button):\n"
+#| " # for the operations\n"
+#| " if button.get_label() == '+':\n"
+#| " self.counter += 1 \n"
+#| " if self.counter > 1:\n"
+#| " self.do_operation()\n"
+#| " self.entry.set_text('0')\n"
+#| " self.operation = \"plus\"\n"
+#| " elif button.get_label() == '-':\n"
+#| " self.counter += 1 \n"
+#| " if self.counter > 1:\n"
+#| " self.do_operation()\n"
+#| " self.entry.set_text('0')\n"
+#| " self.operation = \"minus\"\n"
+#| " elif button.get_label() == '*':\n"
+#| " self.counter += 1 \n"
+#| " if self.counter > 1:\n"
+#| " self.do_operation()\n"
+#| " self.entry.set_text('0')\n"
+#| " self.operation = \"multiplication\"\n"
+#| " elif button.get_label() == '/':\n"
+#| " self.counter += 1 \n"
+#| " if self.counter > 1:\n"
+#| " self.do_operation()\n"
+#| " self.entry.set_text('0')\n"
+#| " self.operation = \"division\"\n"
+#| " # for =\n"
+#| " elif button.get_label() == '=':\n"
+#| " self.do_operation()\n"
+#| " self.entry.set_text(str(self.first_number))\n"
+#| " self.counter = 1\n"
+#| " # for Cancel\n"
+#| " elif button.get_label() == 'C':\n"
+#| " self.first_number = 0\n"
+#| " self.second_number = 0\n"
+#| " self.counter = 0\n"
+#| " self.entry.set_text('')\n"
+#| " self.operation = \"\"\n"
+#| " # for a digit button\n"
+#| " else:\n"
+#| " new_digit = int(button.get_label())\n"
+#| " if self.entry.get_text() == 'error':\n"
+#| " number = 0\n"
+#| " else:\n"
+#| " number = int(self.entry.get_text())\n"
+#| " number = number * 10 + new_digit \n"
+#| " if self.counter == 0:\n"
+#| " self.first_number = number\n"
+#| " else:\n"
+#| " self.second_number = number\n"
+#| " self.entry.set_text(str(number))\n"
+#| "\n"
+#| " def do_operation(self):\n"
+#| " if self.operation == \"plus\":\n"
+#| " self.first_number += self.second_number\n"
+#| " elif self.operation == \"minus\":\n"
+#| " self.first_number -= self.second_number\n"
+#| " elif self.operation == \"multiplication\":\n"
+#| " self.first_number *= self.second_number\n"
+#| " elif self.operation == \"division\":\n"
+#| " try:\n"
+#| " self.first_number /= self.second_number\n"
+#| " except ZeroDivisionError:\n"
+#| " self.first_number = 0\n"
+#| " self.second_number = 0\n"
+#| " self.counter = 0\n"
+#| " self.entry.set_text('error')\n"
+#| " self.operation = \"\"\n"
+#| " return\n"
+#| " else:\n"
+#| " self.first_number = 0\n"
+#| " self.second_number = 0\n"
+#| " self.counter = 0\n"
+#| " self.entry.set_text('error')\n"
+#| " \n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " def __init__(self):\n"
+#| " Gtk.Application.__init__(self)\n"
+#| "\n"
+#| " def do_activate(self):\n"
+#| " win = MyWindow(self)\n"
+#| " win.show_all()\n"
+#| "\n"
+#| " def do_startup(self):\n"
+#| " Gtk.Application.do_startup(self)\n"
+#| "\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"Calculator\", application=app)\n"
" self.set_default_size(350, 200)\n"
@@ -6275,17 +6575,17 @@ msgid ""
" # a grid\n"
" grid = Gtk.Grid()\n"
" grid.set_row_spacing(5)\n"
-" \n"
+"\n"
" # to attach the entry\n"
" grid.attach(self.entry, 0, 0, 1, 1)\n"
-" \n"
+"\n"
" # the labels for the buttons\n"
-" buttons = [ 7, 8, 9, '/',\n"
-" 4, 5, 6, '*',\n"
-" 1, 2, 3, '-',\n"
-" 'C', 0, '=', '+' ]\n"
-" \n"
-" # each row is a ButtonBox, attached to the grid \n"
+" buttons = [7, 8, 9, '/',\n"
+" 4, 5, 6, '*',\n"
+" 1, 2, 3, '-',\n"
+" 'C', 0, '=', '+']\n"
+"\n"
+" # each row is a ButtonBox, attached to the grid\n"
" for i in range(4):\n"
" hbox = Gtk.ButtonBox.new(Gtk.Orientation.HORIZONTAL)\n"
" hbox.set_spacing(5)\n"
@@ -6296,7 +6596,7 @@ msgid ""
" button.set_can_focus(False)\n"
" button.connect(\"clicked\", self.button_clicked)\n"
" hbox.add(button)\n"
-" \n"
+"\n"
" # some variables for the calculations\n"
" self.first_number = 0\n"
" self.second_number = 0\n"
@@ -6310,25 +6610,25 @@ msgid ""
" def button_clicked(self, button):\n"
" # for the operations\n"
" if button.get_label() == '+':\n"
-" self.counter += 1 \n"
+" self.counter += 1\n"
" if self.counter > 1:\n"
" self.do_operation()\n"
" self.entry.set_text('0')\n"
" self.operation = \"plus\"\n"
" elif button.get_label() == '-':\n"
-" self.counter += 1 \n"
+" self.counter += 1\n"
" if self.counter > 1:\n"
" self.do_operation()\n"
" self.entry.set_text('0')\n"
" self.operation = \"minus\"\n"
" elif button.get_label() == '*':\n"
-" self.counter += 1 \n"
+" self.counter += 1\n"
" if self.counter > 1:\n"
" self.do_operation()\n"
" self.entry.set_text('0')\n"
" self.operation = \"multiplication\"\n"
" elif button.get_label() == '/':\n"
-" self.counter += 1 \n"
+" self.counter += 1\n"
" if self.counter > 1:\n"
" self.do_operation()\n"
" self.entry.set_text('0')\n"
@@ -6352,7 +6652,7 @@ msgid ""
" number = 0\n"
" else:\n"
" number = int(self.entry.get_text())\n"
-" number = number * 10 + new_digit \n"
+" number = number * 10 + new_digit\n"
" if self.counter == 0:\n"
" self.first_number = number\n"
" else:\n"
@@ -6381,8 +6681,10 @@ msgid ""
" self.second_number = 0\n"
" self.counter = 0\n"
" self.entry.set_text('error')\n"
-" \n"
+"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -6400,7 +6702,9 @@ msgstr ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"Calculator\", application=app)\n"
" self.set_default_size(350, 200)\n"
@@ -6418,17 +6722,17 @@ msgstr ""
" # a grid\n"
" grid = Gtk.Grid()\n"
" grid.set_row_spacing(5)\n"
-" \n"
+"\n"
" # to attach the entry\n"
" grid.attach(self.entry, 0, 0, 1, 1)\n"
-" \n"
+"\n"
" # the labels for the buttons\n"
-" buttons = [ 7, 8, 9, '/',\n"
-" 4, 5, 6, '*',\n"
-" 1, 2, 3, '-',\n"
-" 'C', 0, '=', '+' ]\n"
-" \n"
-" # each row is a ButtonBox, attached to the grid \n"
+" buttons = [7, 8, 9, '/',\n"
+" 4, 5, 6, '*',\n"
+" 1, 2, 3, '-',\n"
+" 'C', 0, '=', '+']\n"
+"\n"
+" # each row is a ButtonBox, attached to the grid\n"
" for i in range(4):\n"
" hbox = Gtk.ButtonBox.new(Gtk.Orientation.HORIZONTAL)\n"
" hbox.set_spacing(5)\n"
@@ -6439,7 +6743,7 @@ msgstr ""
" button.set_can_focus(False)\n"
" button.connect(\"clicked\", self.button_clicked)\n"
" hbox.add(button)\n"
-" \n"
+"\n"
" # some variables for the calculations\n"
" self.first_number = 0\n"
" self.second_number = 0\n"
@@ -6453,25 +6757,25 @@ msgstr ""
" def button_clicked(self, button):\n"
" # for the operations\n"
" if button.get_label() == '+':\n"
-" self.counter += 1 \n"
+" self.counter += 1\n"
" if self.counter > 1:\n"
" self.do_operation()\n"
" self.entry.set_text('0')\n"
" self.operation = \"plus\"\n"
" elif button.get_label() == '-':\n"
-" self.counter += 1 \n"
+" self.counter += 1\n"
" if self.counter > 1:\n"
" self.do_operation()\n"
" self.entry.set_text('0')\n"
" self.operation = \"minus\"\n"
" elif button.get_label() == '*':\n"
-" self.counter += 1 \n"
+" self.counter += 1\n"
" if self.counter > 1:\n"
" self.do_operation()\n"
" self.entry.set_text('0')\n"
" self.operation = \"multiplication\"\n"
" elif button.get_label() == '/':\n"
-" self.counter += 1 \n"
+" self.counter += 1\n"
" if self.counter > 1:\n"
" self.do_operation()\n"
" self.entry.set_text('0')\n"
@@ -6495,7 +6799,7 @@ msgstr ""
" number = 0\n"
" else:\n"
" number = int(self.entry.get_text())\n"
-" number = number * 10 + new_digit \n"
+" number = number * 10 + new_digit\n"
" if self.counter == 0:\n"
" self.first_number = number\n"
" else:\n"
@@ -6524,8 +6828,10 @@ msgstr ""
" self.second_number = 0\n"
" self.counter = 0\n"
" self.entry.set_text('error')\n"
-" \n"
+"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -6540,11 +6846,13 @@ msgstr ""
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/buttonbox.py.page:35(section/title)
+#. (itstool) path: section/title
+#: C/buttonbox.py.page:35
msgid "Uselful methods for a ButtonBox widget"
msgstr "Métodos útiles para un widget botonera"
-#: C/buttonbox.py.page:37(item/p)
+#. (itstool) path: item/p
+#: C/buttonbox.py.page:37
msgid ""
"The layout of the ButtonBox are set with <code>set_layout(layout)</code>, "
"where <code>layout</code> can be <code>Gtk.ButtonBoxStyle.SPREAD</code> "
@@ -6563,7 +6871,8 @@ msgstr ""
"code> (los botones se agrupan hacia el final), <code>Gtk.ButtonBoxStyle."
"CENTER</code> (los botones se agrupan hacia el centro)."
-#: C/buttonbox.py.page:38(item/p)
+#. (itstool) path: item/p
+#: C/buttonbox.py.page:38
msgid ""
"<code>set_child_secondary(button, is_secondary)</code> sets whether "
"<code>button</code> should appear in a secondary group of children. A "
@@ -6585,7 +6894,8 @@ msgstr ""
"principales en la botonera . Para los otros estilos, aparecen inmediatamente "
"a continuación de los hijos principales."
-#: C/buttonbox.py.page:39(item/p)
+#. (itstool) path: item/p
+#: C/buttonbox.py.page:39
msgid ""
"<code>set_child_non_homogeneous(button, is_non_homogeneous)</code> sets "
"whether the child is exempted from homogeous sizing. Default value is "
@@ -6595,7 +6905,8 @@ msgstr ""
"el hijo está exento de dimensionado homogéneo. El valor predeterminado es "
"<code>False</code>."
-#: C/buttonbox.py.page:40(item/p)
+#. (itstool) path: item/p
+#: C/buttonbox.py.page:40
msgid ""
"<code>set_spacing(spacing)</code> sets the spacing, in pixels, between the "
"buttons of the box."
@@ -6603,7 +6914,8 @@ msgstr ""
"<code>set_spacing(espaciado)</code> establece el espaciado, en píxeles, "
"entre los botones de la botonera."
-#: C/buttonbox.py.page:48(item/p)
+#. (itstool) path: item/p
+#: C/buttonbox.py.page:48
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkButtonBox.html"
"\">GtkButtonBox</link>"
@@ -6611,7 +6923,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkButtonBox.html"
"\">GtkButtonBox</link>"
-#: C/buttonbox.py.page:49(item/p)
+#. (itstool) path: item/p
+#: C/buttonbox.py.page:49
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkBox.html\">GtkBox</"
"link>"
@@ -6619,7 +6932,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkBox.html\">GtkBox</"
"link>"
-#: C/buttonbox.py.page:51(item/p) C/entry.c.page:33(item/p)
+#. (itstool) path: item/p
+#: C/buttonbox.py.page:51 C/entry.c.page:33
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkEntry.html"
"\">GtkEntry</link>"
@@ -6627,10 +6941,10 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkEntry.html"
"\">GtkEntry</link>"
-#: C/buttonbox.py.page:52(item/p) C/grid.c.page:35(item/p)
-#: C/radiobutton.c.page:36(item/p) C/spinbutton.c.page:39(item/p)
-#: C/statusbar.c.page:39(item/p) C/switch.c.page:36(item/p)
-#: C/togglebutton.c.page:39(item/p)
+#. (itstool) path: item/p
+#: C/buttonbox.py.page:52 C/grid.c.page:35 C/radiobutton.c.page:36
+#: C/spinbutton.c.page:39 C/statusbar.c.page:39 C/switch.c.page:36
+#: C/togglebutton.c.page:39
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkGrid.html\">GtkGrid</"
"link>"
@@ -6638,72 +6952,64 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkGrid.html\">GtkGrid</"
"link>"
-#: C/c.page:6(info/title)
+#. (itstool) path: info/title
+#: C/c.page:6
msgctxt "link"
msgid "C"
msgstr "C"
-#: C/c.page:15(page/title)
+#. (itstool) path: page/title
+#: C/c.page:15
msgid "Tutorials, code samples and plaform demos in C"
msgstr "Tutoriales, ejemplos de código y demostraciones de la plataforma en C"
-#: C/c.page:20(section/title) C/vala.page:25(section/title)
+#. (itstool) path: section/title
+#: C/c.page:20 C/vala.page:25
msgid "Code samples and tutorial"
msgstr "Ejemplos de código y tutorial"
-#: C/c.page:27(section/title) C/cpp.page:20(section/title)
-#: C/js.page:35(section/title) C/py.page:38(section/title)
-#: C/vala.page:29(section/title)
+#. (itstool) path: section/title
+#: C/c.page:27 C/cpp.page:20 C/js.page:35 C/py.page:38 C/vala.page:29
msgid "Examples of applications"
msgstr "Ejemplos de aplicaciones"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/checkbutton.c.page:21(media) C/checkbutton.js.page:21(media)
-#: C/checkbutton.py.page:22(media) C/checkbutton.vala.page:21(media)
+#: C/checkbutton.c.page:21 C/checkbutton.js.page:21 C/checkbutton.py.page:22
+#: C/checkbutton.vala.page:21
msgctxt "_"
msgid ""
"external ref='media/checkbutton.png' md5='7921a6812c87dd2b3781f4fad241e858'"
msgstr ""
"external ref='media/checkbutton.png' md5='7921a6812c87dd2b3781f4fad241e858'"
-#: C/checkbutton.c.page:7(info/title)
+#. (itstool) path: info/title
+#: C/checkbutton.c.page:7
msgctxt "text"
msgid "CheckButton (C)"
msgstr "CheckButton (C)"
-#: C/checkbutton.c.page:17(info/desc)
+#. (itstool) path: info/desc
+#: C/checkbutton.c.page:17
msgid "Create widgets with a discrete ToggleButton"
msgstr "Crear widgets con un botón ToggleButton discreto"
-#: C/checkbutton.c.page:20(page/title) C/checkbutton.js.page:20(page/title)
-#: C/checkbutton.py.page:21(page/title) C/checkbutton.vala.page:20(page/title)
+#. (itstool) path: page/title
+#: C/checkbutton.c.page:20 C/checkbutton.js.page:20 C/checkbutton.py.page:21
+#: C/checkbutton.vala.page:20
msgid "CheckButton"
msgstr "CheckButton"
-#: C/checkbutton.c.page:22(page/p) C/checkbutton.py.page:23(page/p)
-#: C/checkbutton.vala.page:22(page/p)
+#. (itstool) path: page/p
+#: C/checkbutton.c.page:22 C/checkbutton.py.page:23 C/checkbutton.vala.page:22
msgid "This CheckButton toggles the title."
msgstr "Este CheckButton cambia el título."
-#: C/checkbutton.c.page:24(page/code)
+#. (itstool) path: page/code
+#: C/checkbutton.c.page:24
#, no-wrap
msgid ""
"#include <gtk/gtk.h>\n"
@@ -6800,7 +7106,8 @@ msgstr ""
" return status;\n"
"}\n"
-#: C/checkbutton.c.page:29(item/p)
+#. (itstool) path: item/p
+#: C/checkbutton.c.page:29
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/3.2/GtkCheckButton.html"
"\">GtkCheckButton</link>"
@@ -6808,16 +7115,19 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/3.2/GtkCheckButton.html"
"\">GtkCheckButton</link>"
-#: C/checkbutton.js.page:7(info/title)
+#. (itstool) path: info/title
+#: C/checkbutton.js.page:7
msgctxt "text"
msgid "CheckButton (JavaScript)"
msgstr "CheckButton (JavaScript)"
-#: C/checkbutton.js.page:17(info/desc)
+#. (itstool) path: info/desc
+#: C/checkbutton.js.page:17
msgid "A box which can be checked or unchecked"
msgstr "Una casilla que puede estar marcada o desmarcada"
-#: C/checkbutton.js.page:22(page/p)
+#. (itstool) path: page/p
+#: C/checkbutton.js.page:22
msgid ""
"This application has a CheckButton. Whether the box is checked dictates "
"whether the window's title bar shows anything."
@@ -6825,7 +7135,8 @@ msgstr ""
"Esta aplicación tiene una casilla de verificación. Si la casilla está "
"activada, la barra de título de la ventana muestra algo."
-#: C/checkbutton.js.page:23(page/p)
+#. (itstool) path: page/p
+#: C/checkbutton.js.page:23
msgid ""
"A CheckButton sends the \"toggled\" signal when it's checked or unchecked. "
"While it's checked, the \"active\" property is true. While it's not, \"active"
@@ -6835,29 +7146,21 @@ msgstr ""
"desactiva. Cuando está activada, la propiedad «active» es «true». Cuando no "
"lo está, «active» es «false»."
-#: C/checkbutton.js.page:27(section/title)
-#: C/comboboxtext.js.page:29(section/title)
-#: C/combobox.js.page:32(section/title)
-#: C/guitar-tuner.js.page:54(section/title)
-#: C/hello-world.c.page:43(section/title)
-#: C/hello-world.js.page:52(section/title)
-#: C/hello-world.py.page:45(section/title)
-#: C/messagedialog.js.page:30(section/title)
-#: C/radiobutton.js.page:27(section/title) C/scale.js.page:27(section/title)
-#: C/spinbutton.js.page:30(section/title)
-#: C/statusbar.js.page:27(section/title) C/switch.js.page:34(section/title)
-#: C/textview.js.page:37(section/title)
-#: C/togglebutton.js.page:27(section/title)
-#: C/treeview_simple_liststore.js.page:36(section/title)
-#: C/weatherAppMain.js.page:40(section/title)
+#. (itstool) path: section/title
+#: C/checkbutton.js.page:27 C/comboboxtext.js.page:29 C/combobox.js.page:32
+#: C/guitar-tuner.js.page:54 C/hello-world.c.page:43 C/hello-world.js.page:52
+#: C/hello-world.py.page:45 C/messagedialog.js.page:30
+#: C/radiobutton.js.page:27 C/scale.js.page:27 C/spinbutton.js.page:30
+#: C/statusbar.js.page:27 C/switch.js.page:34 C/textview.js.page:37
+#: C/togglebutton.js.page:27 C/treeview_simple_liststore.js.page:36
+#: C/weatherAppMain.js.page:40
msgid "Libraries to import"
msgstr "Bibliotecas que importar"
-#: C/checkbutton.js.page:28(section/code)
-#: C/messagedialog.js.page:31(section/code)
-#: C/radiobutton.js.page:28(section/code) C/scale.js.page:28(section/code)
-#: C/spinbutton.js.page:31(section/code) C/statusbar.js.page:28(section/code)
-#: C/switch.js.page:35(section/code) C/togglebutton.js.page:28(section/code)
+#. (itstool) path: section/code
+#: C/checkbutton.js.page:28 C/messagedialog.js.page:31
+#: C/radiobutton.js.page:28 C/scale.js.page:28 C/spinbutton.js.page:31
+#: C/statusbar.js.page:28 C/switch.js.page:35 C/togglebutton.js.page:28
#, no-wrap
msgid ""
"\n"
@@ -6874,13 +7177,12 @@ msgstr ""
"const Gtk = imports.gi.Gtk;\n"
"const Lang = imports.lang;\n"
-#: C/checkbutton.js.page:35(section/p) C/comboboxtext.js.page:36(section/p)
-#: C/combobox.js.page:40(section/p) C/messagedialog.js.page:38(section/p)
-#: C/radiobutton.js.page:35(section/p) C/scale.js.page:35(section/p)
-#: C/spinbutton.js.page:38(section/p) C/statusbar.js.page:35(section/p)
-#: C/switch.js.page:42(section/p) C/textview.js.page:44(section/p)
-#: C/togglebutton.js.page:35(section/p)
-#: C/treeview_simple_liststore.js.page:45(section/p)
+#. (itstool) path: section/p
+#: C/checkbutton.js.page:35 C/comboboxtext.js.page:36 C/combobox.js.page:40
+#: C/messagedialog.js.page:38 C/radiobutton.js.page:35 C/scale.js.page:35
+#: C/spinbutton.js.page:38 C/statusbar.js.page:35 C/switch.js.page:42
+#: C/textview.js.page:44 C/togglebutton.js.page:35
+#: C/treeview_simple_liststore.js.page:45
msgid ""
"These are the libraries we need to import for this application to run. "
"Remember that the line which tells GNOME that we're using Gjs always needs "
@@ -6890,20 +7192,17 @@ msgstr ""
"ejecute. Recuerde que la línea que le dice a GNOME que está usando Gjs "
"siempre tiene que ir al principio."
-#: C/checkbutton.js.page:39(section/title)
-#: C/comboboxtext.js.page:40(section/title)
-#: C/combobox.js.page:44(section/title)
-#: C/messagedialog.js.page:42(section/title)
-#: C/radiobutton.js.page:39(section/title) C/scale.js.page:39(section/title)
-#: C/spinbutton.js.page:42(section/title)
-#: C/statusbar.js.page:39(section/title) C/switch.js.page:46(section/title)
-#: C/textview.js.page:48(section/title)
-#: C/togglebutton.js.page:39(section/title)
-#: C/treeview_simple_liststore.js.page:49(section/title)
+#. (itstool) path: section/title
+#: C/checkbutton.js.page:39 C/comboboxtext.js.page:40 C/combobox.js.page:44
+#: C/messagedialog.js.page:42 C/radiobutton.js.page:39 C/scale.js.page:39
+#: C/spinbutton.js.page:42 C/statusbar.js.page:39 C/switch.js.page:46
+#: C/textview.js.page:48 C/togglebutton.js.page:39
+#: C/treeview_simple_liststore.js.page:49
msgid "Creating the application window"
msgstr "Crear la ventana de la aplicación"
-#: C/checkbutton.js.page:40(section/code)
+#. (itstool) path: section/code
+#: C/checkbutton.js.page:40
#, no-wrap
msgid ""
"\n"
@@ -6958,7 +7257,8 @@ msgstr ""
" this._buildUI ();\n"
" },\n"
-#: C/checkbutton.js.page:66(section/p)
+#. (itstool) path: section/p
+#: C/checkbutton.js.page:66
msgid ""
"All the code for this sample goes in the CheckButtonExample class. The above "
"code creates a <link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/"
@@ -6970,7 +7270,8 @@ msgstr ""
"Gtk.Application.html\">Gtk.Application</link> para que vayan los widgets y "
"la ventana."
-#: C/checkbutton.js.page:67(section/code)
+#. (itstool) path: section/code
+#: C/checkbutton.js.page:67
#, no-wrap
msgid ""
"\n"
@@ -6999,7 +7300,8 @@ msgstr ""
" border_width: 10,\n"
" title: \"CheckButton Example\"});\n"
-#: C/checkbutton.js.page:80(section/p)
+#. (itstool) path: section/p
+#: C/checkbutton.js.page:80
msgid ""
"The _buildUI function is where we put all the code to create the "
"application's user interface. The first step is creating a new <link href="
@@ -7011,11 +7313,13 @@ msgstr ""
"\"GtkApplicationWindow.js.page\">Gtk.ApplicationWindow</link> nueva para "
"poner todos los widgets."
-#: C/checkbutton.js.page:84(section/title)
+#. (itstool) path: section/title
+#: C/checkbutton.js.page:84
msgid "Creating the checkbutton"
msgstr "Crear la casilla"
-#: C/checkbutton.js.page:85(section/code)
+#. (itstool) path: section/code
+#: C/checkbutton.js.page:85
#, no-wrap
msgid ""
"\n"
@@ -7040,7 +7344,8 @@ msgstr ""
" // Connect the button to a function that does something when it's toggled\n"
" this._button.connect (\"toggled\", Lang.bind (this, this._toggledCB));\n"
-#: C/checkbutton.js.page:96(section/p)
+#. (itstool) path: section/p
+#: C/checkbutton.js.page:96
msgid ""
"This code creates the checkbutton itself. The label next to the checkbutton "
"is created by giving the checkbutton the \"label\" property and assigning a "
@@ -7056,8 +7361,8 @@ msgstr ""
"manera predeterminada. Cuando el usuario active o desactive la casilla, se "
"llamará a la función «_toggledCB»."
-#: C/checkbutton.js.page:97(section/code)
-#: C/radiobutton.js.page:169(section/code)
+#. (itstool) path: section/code
+#: C/checkbutton.js.page:97 C/radiobutton.js.page:169
#, no-wrap
msgid ""
"\n"
@@ -7070,7 +7375,8 @@ msgstr ""
" this._window.show_all();\n"
" },\n"
-#: C/checkbutton.js.page:102(section/p)
+#. (itstool) path: section/p
+#: C/checkbutton.js.page:102
msgid ""
"This code finishes up creating the UI, by telling the window to show itself "
"and all child widgets (which is just the checkbutton in this case)."
@@ -7079,11 +7385,13 @@ msgstr ""
"con todos sus widgets hijos (que, en este caso, solo es la casilla de "
"verificación)."
-#: C/checkbutton.js.page:106(section/title)
+#. (itstool) path: section/title
+#: C/checkbutton.js.page:106
msgid "Function which handles the checkbutton's toggling"
msgstr "Función que maneja la conmutación de la casilla de verificación"
-#: C/checkbutton.js.page:107(section/code)
+#. (itstool) path: section/code
+#: C/checkbutton.js.page:107
#, no-wrap
msgid ""
"\n"
@@ -7112,7 +7420,8 @@ msgstr ""
"\n"
"});\n"
-#: C/checkbutton.js.page:120(section/p)
+#. (itstool) path: section/p
+#: C/checkbutton.js.page:120
msgid ""
"If the checkbutton is toggled from on to off, we want the window title to "
"disappear. If it's toggled from off to on, we want it to reappear. We can "
@@ -7126,7 +7435,8 @@ msgstr ""
"declaración «if / else» simple que llame al método «get_active()» de la "
"casilla de verificación funcionará."
-#: C/checkbutton.js.page:121(section/code)
+#. (itstool) path: section/code
+#: C/checkbutton.js.page:121
#, no-wrap
msgid ""
"\n"
@@ -7139,7 +7449,8 @@ msgstr ""
"let app = new CheckButtonExample ();\n"
"app.application.run (ARGV);\n"
-#: C/checkbutton.js.page:126(section/p)
+#. (itstool) path: section/p
+#: C/checkbutton.js.page:126
msgid ""
"Finally, we create a new instance of the finished CheckButtonExample class, "
"and set the application running."
@@ -7147,7 +7458,8 @@ msgstr ""
"Finalmente, se crea una instancia nueva de la clase «CheckButtonExample» "
"terminada, y se ejecuta la aplicación."
-#: C/checkbutton.js.page:131(section/code)
+#. (itstool) path: section/code
+#: C/checkbutton.js.page:131
#, no-wrap
msgid ""
"#!/usr/bin/gjs\n"
@@ -7304,20 +7616,17 @@ msgstr ""
"let app = new CheckButtonExample ();\n"
"app.application.run (ARGV);\n"
-#: C/checkbutton.js.page:135(section/title)
-#: C/comboboxtext.js.page:175(section/title)
-#: C/combobox.js.page:232(section/title)
-#: C/messagedialog.js.page:188(section/title)
-#: C/radiobutton.js.page:273(section/title) C/scale.js.page:207(section/title)
-#: C/spinbutton.js.page:198(section/title)
-#: C/statusbar.js.page:220(section/title) C/switch.js.page:263(section/title)
-#: C/textview.js.page:247(section/title)
-#: C/togglebutton.js.page:152(section/title)
-#: C/treeview_simple_liststore.js.page:271(section/title)
+#. (itstool) path: section/title
+#: C/checkbutton.js.page:135 C/comboboxtext.js.page:175 C/combobox.js.page:232
+#: C/messagedialog.js.page:188 C/radiobutton.js.page:273 C/scale.js.page:207
+#: C/spinbutton.js.page:198 C/statusbar.js.page:220 C/switch.js.page:263
+#: C/textview.js.page:247 C/togglebutton.js.page:152
+#: C/treeview_simple_liststore.js.page:271
msgid "In-depth documentation"
msgstr "Documentación en profundidad"
-#: C/checkbutton.js.page:139(item/p)
+#. (itstool) path: item/p
+#: C/checkbutton.js.page:139
msgid ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.CheckButton."
"html\">Gtk.CheckButton</link>"
@@ -7325,23 +7634,76 @@ msgstr ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.CheckButton."
"html\">Gtk.CheckButton</link>"
-#: C/checkbutton.py.page:7(info/title)
+#. (itstool) path: info/title
+#: C/checkbutton.py.page:7
msgctxt "text"
msgid "CheckButton (Python)"
msgstr "CheckButton (Python)"
-#: C/checkbutton.py.page:18(info/desc)
+#. (itstool) path: info/desc
+#: C/checkbutton.py.page:18
msgid "A toggle button in a window"
msgstr "Un botón conmutador en una ventana"
-#: C/checkbutton.py.page:30(section/code)
+#. (itstool) path: section/code
+#: C/checkbutton.py.page:30
#, no-wrap
+#| msgid ""
+#| "from gi.repository import Gtk\n"
+#| "import sys\n"
+#| "\n"
+#| "class MyWindow(Gtk.ApplicationWindow):\n"
+#| " # a window\n"
+#| " def __init__(self, app):\n"
+#| " Gtk.Window.__init__(self, title=\"CheckButton Example\", application=app)\n"
+#| " self.set_default_size(300, 100)\n"
+#| " self.set_border_width(10)\n"
+#| "\n"
+#| " # a new checkbutton\n"
+#| " button = Gtk.CheckButton()\n"
+#| " # with a label\n"
+#| " button.set_label(\"Show Title\")\n"
+#| " # connect the signal \"toggled\" emitted by the checkbutton\n"
+#| " # with the callback function toggled_cb\n"
+#| " button.connect(\"toggled\", self.toggled_cb)\n"
+#| " # by default, the checkbutton is active\n"
+#| " button.set_active(True)\n"
+#| "\n"
+#| " # add the checkbutton to the window\n"
+#| " self.add(button)\n"
+#| "\n"
+#| " # callback function\n"
+#| " def toggled_cb(self, button):\n"
+#| " # if the togglebutton is active, set the title of the window\n"
+#| " # as \"Checkbutton Example\"\n"
+#| " if button.get_active():\n"
+#| " self.set_title(\"CheckButton Example\")\n"
+#| " # else, set it as \"\" (empty string)\n"
+#| " else:\n"
+#| " self.set_title(\"\")\n"
+#| "\n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " def __init__(self):\n"
+#| " Gtk.Application.__init__(self)\n"
+#| "\n"
+#| " def do_activate(self):\n"
+#| " win = MyWindow(self)\n"
+#| " win.show_all()\n"
+#| "\n"
+#| " def do_startup(self):\n"
+#| " Gtk.Application.do_startup(self)\n"
+#| "\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
" # a window\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"CheckButton Example\", application=app)\n"
" self.set_default_size(300, 100)\n"
@@ -7370,7 +7732,9 @@ msgid ""
" else:\n"
" self.set_title(\"\")\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -7388,8 +7752,10 @@ msgstr ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
" # a window\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"CheckButton Example\", application=app)\n"
" self.set_default_size(300, 100)\n"
@@ -7418,7 +7784,9 @@ msgstr ""
" else:\n"
" self.set_title(\"\")\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -7433,11 +7801,13 @@ msgstr ""
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/checkbutton.py.page:35(section/title)
+#. (itstool) path: section/title
+#: C/checkbutton.py.page:35
msgid "Useful methods for a CheckButton widget"
msgstr "Métodos útiles para un widget «CheckButton»"
-#: C/checkbutton.py.page:36(section/p)
+#. (itstool) path: section/p
+#: C/checkbutton.py.page:36
msgid ""
"In line 17 the <code>\"toggled\"</code> signal is connected to the callback "
"function <code>toggled_cb()</code> using <code><var>widget</var>.connect"
@@ -7450,7 +7820,8 @@ msgstr ""
"Consulte la <link xref=\"signals-callbacks.py\"/> para obtener una "
"explicación más detallada."
-#: C/checkbutton.py.page:46(item/p) C/togglebutton.py.page:43(item/p)
+#. (itstool) path: item/p
+#: C/checkbutton.py.page:46 C/togglebutton.py.page:43
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkToggleButton.html"
"\">GtkToggleButton</link>"
@@ -7458,7 +7829,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkToggleButton.html"
"\">GtkToggleButton</link>"
-#: C/checkbutton.py.page:47(item/p)
+#. (itstool) path: item/p
+#: C/checkbutton.py.page:47
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkCheckButton.html"
"\">GtkCheckButton</link>"
@@ -7466,16 +7838,19 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkCheckButton.html"
"\">GtkCheckButton</link>"
-#: C/checkbutton.vala.page:7(info/title)
+#. (itstool) path: info/title
+#: C/checkbutton.vala.page:7
msgctxt "text"
msgid "CheckButton (Vala)"
msgstr "CheckButton (Vala)"
-#: C/checkbutton.vala.page:17(info/desc)
+#. (itstool) path: info/desc
+#: C/checkbutton.vala.page:17
msgid "Create widgets with a disrete toggle button"
msgstr "Crear widgets con un botón conmutador discreto"
-#: C/checkbutton.vala.page:24(page/code)
+#. (itstool) path: page/code
+#: C/checkbutton.vala.page:24
#, no-wrap
msgid ""
"/* A window in the application */\n"
@@ -7584,7 +7959,8 @@ msgstr ""
"\treturn new MyApplication ().run (args);\n"
"}\n"
-#: C/checkbutton.vala.page:29(item/p)
+#. (itstool) path: item/p
+#: C/checkbutton.vala.page:29
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.CheckButton.html\">Gtk."
"CheckButton</link>"
@@ -7592,44 +7968,39 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.CheckButton.html\">Gtk."
"CheckButton</link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/colorbutton.js.page:21(media) C/colorbutton.py.page:22(media)
-#: C/colorbutton.vala.page:23(media)
+#: C/colorbutton.js.page:21 C/colorbutton.py.page:22
+#: C/colorbutton.vala.page:23
msgctxt "_"
msgid ""
"external ref='media/colorbutton.png' md5='904539d26fe367bf99f9a0961cfc9a03'"
msgstr ""
"external ref='media/colorbutton.png' md5='904539d26fe367bf99f9a0961cfc9a03'"
-#: C/colorbutton.js.page:7(info/title)
+#. (itstool) path: info/title
+#: C/colorbutton.js.page:7
msgctxt "text"
msgid "ColorButton (JavaScript)"
msgstr "ColorButton (JavaScript)"
-#: C/colorbutton.js.page:17(info/desc) C/colorbutton.py.page:18(info/desc)
-#: C/colorbutton.vala.page:19(info/desc)
+#. (itstool) path: info/desc
+#: C/colorbutton.js.page:17 C/colorbutton.py.page:18
+#: C/colorbutton.vala.page:19
msgid "A button to launch a color selection dialog"
msgstr "Un botón para mostrar el diálogo de selección de color"
-#: C/colorbutton.js.page:20(page/title) C/colorbutton.py.page:21(page/title)
-#: C/colorbutton.vala.page:22(page/title)
+#. (itstool) path: page/title
+#: C/colorbutton.js.page:20 C/colorbutton.py.page:21
+#: C/colorbutton.vala.page:22
msgid "ColorButton"
msgstr "ColorButton"
-#: C/colorbutton.js.page:22(page/p) C/colorbutton.py.page:23(page/p)
+#. (itstool) path: page/p
+#: C/colorbutton.js.page:22 C/colorbutton.py.page:23
msgid ""
"This ColorButton launches a color selection dialog and prints in the "
"terminal the RGB values of the color selected."
@@ -7637,7 +8008,8 @@ msgstr ""
"Este ColorButton muestra un diálogo de selección de color e imprime por la "
"terminal los valores RGB del color seleccionado."
-#: C/colorbutton.js.page:28(section/code)
+#. (itstool) path: section/code
+#: C/colorbutton.js.page:28
#, no-wrap
msgid ""
"#!/usr/bin/gjs\n"
@@ -7776,7 +8148,8 @@ msgstr ""
"let app = new ColorbuttonExample ();\n"
"app.application.run (ARGV);\n"
-#: C/colorbutton.js.page:35(item/p)
+#. (itstool) path: item/p
+#: C/colorbutton.js.page:35
msgid ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.ColorButton."
"html\">GtkColorButton</link>"
@@ -7784,7 +8157,8 @@ msgstr ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.ColorButton."
"html\">GtkColorButton</link>"
-#: C/colorbutton.js.page:36(item/p) C/colorbutton.py.page:44(item/p)
+#. (itstool) path: item/p
+#: C/colorbutton.js.page:36 C/colorbutton.py.page:44
msgid ""
"<link href=\"http://developer.gnome.org/gdk3/stable/gdk3-RGBA-Colors.html"
"\">RGBA Colors</link>"
@@ -7792,19 +8166,76 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gdk3/stable/gdk3-RGBA-Colors.html"
"\">Colores RGBA</link>"
-#: C/colorbutton.py.page:7(info/title)
+#. (itstool) path: info/title
+#: C/colorbutton.py.page:7
msgctxt "text"
msgid "ColorButton (Python)"
msgstr "ColorButton (Python)"
-#: C/colorbutton.py.page:29(section/code)
+#. (itstool) path: section/code
+#: C/colorbutton.py.page:29
#, no-wrap
+#| msgid ""
+#| "from gi.repository import Gtk\n"
+#| "from gi.repository import Gdk\n"
+#| "import sys\n"
+#| "\n"
+#| "class MyWindow(Gtk.ApplicationWindow):\n"
+#| " def __init__(self, app):\n"
+#| " Gtk.Window.__init__(self, title=\"ColorButton\", application=app)\n"
+#| " self.set_default_size(150, 50)\n"
+#| " self.set_border_width(10)\n"
+#| "\n"
+#| " # a colorbutton (which opens a dialogue window in\n"
+#| " # which we choose a color)\n"
+#| " self.button = Gtk.ColorButton()\n"
+#| " # with a default color (blue, in this instance)\n"
+#| " color = Gdk.RGBA()\n"
+#| " color.red = 0.0\n"
+#| " color.green = 0.0\n"
+#| " color.blue = 1.0\n"
+#| " color.alpha = 0.5\n"
+#| " self.button.set_rgba(color)\n"
+#| "\n"
+#| " # choosing a color in the dialogue window emits a signal\n"
+#| " self.button.connect(\"color-set\", self.on_color_chosen)\n"
+#| "\n"
+#| " # a label\n"
+#| " label = Gtk.Label()\n"
+#| " label.set_text(\"Click to choose a color\")\n"
+#| "\n"
+#| " # a grid to attach button and label\n"
+#| " grid = Gtk.Grid()\n"
+#| " grid.attach(self.button, 0, 0, 2, 1)\n"
+#| " grid.attach(label, 0, 1, 2, 1)\n"
+#| " self.add(grid)\n"
+#| "\n"
+#| " # if a new color is chosen, we print it as rgb(r,g,b) in the terminal\n"
+#| " def on_color_chosen(self, user_data):\n"
+#| " print \"You chose the color: \" + self.button.get_rgba().to_string()\n"
+#| "\n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " def __init__(self):\n"
+#| " Gtk.Application.__init__(self)\n"
+#| "\n"
+#| " def do_activate(self):\n"
+#| " win = MyWindow(self)\n"
+#| " win.show_all()\n"
+#| "\n"
+#| " def do_startup (self):\n"
+#| " Gtk.Application.do_startup (self)\n"
+#| "\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"from gi.repository import Gtk\n"
"from gi.repository import Gdk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"ColorButton\", application=app)\n"
" self.set_default_size(150, 50)\n"
@@ -7838,7 +8269,9 @@ msgid ""
" def on_color_chosen(self, user_data):\n"
" print \"You chose the color: \" + self.button.get_rgba().to_string()\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -7846,8 +8279,8 @@ msgid ""
" win = MyWindow(self)\n"
" win.show_all()\n"
"\n"
-" def do_startup (self):\n"
-" Gtk.Application.do_startup (self)\n"
+" def do_startup(self):\n"
+" Gtk.Application.do_startup(self)\n"
"\n"
"app = MyApplication()\n"
"exit_status = app.run(sys.argv)\n"
@@ -7857,7 +8290,9 @@ msgstr ""
"from gi.repository import Gdk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"ColorButton\", application=app)\n"
" self.set_default_size(150, 50)\n"
@@ -7891,7 +8326,9 @@ msgstr ""
" def on_color_chosen(self, user_data):\n"
" print \"You chose the color: \" + self.button.get_rgba().to_string()\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -7899,18 +8336,20 @@ msgstr ""
" win = MyWindow(self)\n"
" win.show_all()\n"
"\n"
-" def do_startup (self):\n"
-" Gtk.Application.do_startup (self)\n"
+" def do_startup(self):\n"
+" Gtk.Application.do_startup(self)\n"
"\n"
"app = MyApplication()\n"
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/colorbutton.py.page:33(section/title)
+#. (itstool) path: section/title
+#: C/colorbutton.py.page:33
msgid "Useful methods for a ColorButton widget"
msgstr "Métodos útiles para un widget «ColorButton»"
-#: C/colorbutton.py.page:34(section/p)
+#. (itstool) path: section/p
+#: C/colorbutton.py.page:34
msgid ""
"<code>set_color(color)</code>, where the <code>color</code> is defined as in "
"the example, sets the color of the ColorButton, which by default is black. "
@@ -7920,7 +8359,8 @@ msgstr ""
"el ejemplo, establece el color del «ColorButton», que es negro de manera "
"predeterminada. <code>get_color()</code> devuelve el color."
-#: C/colorbutton.py.page:35(section/p)
+#. (itstool) path: section/p
+#: C/colorbutton.py.page:35
msgid ""
"In line 23 the <code>\"color-set\"</code> signal is connected to the "
"callback function <code>on_color_chosen()</code> using <code><var>widget</"
@@ -7933,7 +8373,8 @@ msgstr ""
"code>. Consulte la <link xref=\"signals-callbacks.py\"/> para obtener una "
"explicación más detallada."
-#: C/colorbutton.py.page:42(item/p)
+#. (itstool) path: item/p
+#: C/colorbutton.py.page:42
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkColorButton.html"
"\">GtkColorButton</link>"
@@ -7941,7 +8382,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkColorButton.html"
"\">GtkColorButton</link>"
-#: C/colorbutton.py.page:43(item/p)
+#. (itstool) path: item/p
+#: C/colorbutton.py.page:43
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkColorChooser.html"
"\">GtkColorChooser</link>"
@@ -7949,16 +8391,19 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkColorChooser.html"
"\">GtkColorChooser</link>"
-#: C/colorbutton.vala.page:7(info/title)
+#. (itstool) path: info/title
+#: C/colorbutton.vala.page:7
msgctxt "text"
msgid "ColorButton (Vala)"
msgstr "ColorButton (Vala)"
-#: C/colorbutton.vala.page:24(page/p)
+#. (itstool) path: page/p
+#: C/colorbutton.vala.page:24
msgid "RGB values of the selected color are shown in the label."
msgstr "Los valores RGB del color seleccionado se muestran en la etiqueta."
-#: C/colorbutton.vala.page:26(page/code)
+#. (itstool) path: page/code
+#: C/colorbutton.vala.page:26
#, no-wrap
msgid ""
"/* This is the application. */\n"
@@ -8041,7 +8486,8 @@ msgstr ""
"\treturn new MyApplication ().run (args);\n"
"}\n"
-#: C/colorbutton.vala.page:31(item/p)
+#. (itstool) path: item/p
+#: C/colorbutton.vala.page:31
msgid ""
"<link href=\"http://valadoc.org/gtk+-3.0/Gtk.ColorButton.html\">Gtk."
"ColorButton</link>"
@@ -8049,52 +8495,43 @@ msgstr ""
"<link href=\"http://valadoc.org/gtk+-3.0/Gtk.ColorButton.html\">Gtk."
"ColorButton</link>"
-#: C/colorbutton.vala.page:32(item/p)
+#. (itstool) path: item/p
+#: C/colorbutton.vala.page:32
msgid "<link href=\"http://valadoc.org/gdk-3.0/Gdk.RGBA.html\">Gdk.RGBA</link>"
msgstr ""
"<link href=\"http://valadoc.org/gdk-3.0/Gdk.RGBA.html\">Gdk.RGBA</link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/comboboxtext.js.page:23(media) C/combobox.c.page:25(media)
-#: C/combobox.py.page:23(media) C/combobox.vala.page:21(media)
+#: C/comboboxtext.js.page:23 C/combobox.c.page:25 C/combobox.py.page:23
+#: C/combobox.vala.page:21
msgctxt "_"
msgid ""
"external ref='media/combobox.png' md5='ab9e91bc1a58fe866cb00dd52159251d'"
msgstr ""
"external ref='media/combobox.png' md5='ab9e91bc1a58fe866cb00dd52159251d'"
-#: C/comboboxtext.js.page:7(info/title)
+#. (itstool) path: info/title
+#: C/comboboxtext.js.page:7
msgctxt "text"
msgid "ComboBoxText (JavaScript)"
msgstr "ComboBoxText (JavaScript)"
-#: C/comboboxtext.js.page:19(info/desc)
+#. (itstool) path: info/desc
+#: C/comboboxtext.js.page:19
msgid "A text-only drop-down menu"
msgstr "Un menú desplegable de solo texto"
-#: C/comboboxtext.js.page:22(page/title)
+#. (itstool) path: page/title
+#: C/comboboxtext.js.page:22
msgid "ComboBoxText"
msgstr "ComboBoxText"
-#: C/comboboxtext.js.page:24(page/p)
+#. (itstool) path: page/p
+#: C/comboboxtext.js.page:24
msgid ""
"A ComboBox is a drop-down menu. The difference between a <link xref="
"\"combobox.js\">ComboBox</link> and a ComboBoxText is that a ComboBoxText "
@@ -8108,7 +8545,8 @@ msgstr ""
"«ListStore» o «TreeStore» (que son básicamente hojas de cálculo) para "
"mostrar cosas como opciones de bifurcación, o imágenes junto a cada opción."
-#: C/comboboxtext.js.page:25(note/p)
+#. (itstool) path: note/p
+#: C/comboboxtext.js.page:25
msgid ""
"Unless you need the added features of a full ComboBox, or are comfortable "
"working with ListStores and TreeStores, you may find it a lot simpler to use "
@@ -8118,7 +8556,8 @@ msgstr ""
"completo, o si se siente cómodo trabajando con «ListStore» y «TreeStore», "
"encontrará mucho más simple usar un «ComboBoxText» siempre que sea posible."
-#: C/comboboxtext.js.page:41(section/code)
+#. (itstool) path: section/code
+#: C/comboboxtext.js.page:41
#, no-wrap
msgid ""
"\n"
@@ -8169,7 +8608,8 @@ msgstr ""
" this._buildUI ();\n"
" },\n"
-#: C/comboboxtext.js.page:65(section/p) C/messagedialog.js.page:69(section/p)
+#. (itstool) path: section/p
+#: C/comboboxtext.js.page:65 C/messagedialog.js.page:69
msgid ""
"All the code for this sample goes in the MessageDialogExample class. The "
"above code creates a <link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/"
@@ -8181,7 +8621,8 @@ msgstr ""
"gtk-3.0/gjs/Gtk.Application.html\">Gtk.Application</link> para que vayan los "
"widgets y la ventana."
-#: C/comboboxtext.js.page:66(section/code) C/combobox.js.page:70(section/code)
+#. (itstool) path: section/code
+#: C/comboboxtext.js.page:66 C/combobox.js.page:70
#, no-wrap
msgid ""
"\n"
@@ -8208,12 +8649,11 @@ msgstr ""
" default_width: 200,\n"
" border_width: 10 });\n"
-#: C/comboboxtext.js.page:78(section/p) C/combobox.js.page:82(section/p)
-#: C/messagedialog.js.page:83(section/p) C/radiobutton.js.page:78(section/p)
-#: C/scale.js.page:77(section/p) C/spinbutton.js.page:80(section/p)
-#: C/switch.js.page:87(section/p) C/textview.js.page:87(section/p)
-#: C/togglebutton.js.page:80(section/p)
-#: C/treeview_simple_liststore.js.page:89(section/p)
+#. (itstool) path: section/p
+#: C/comboboxtext.js.page:78 C/combobox.js.page:82 C/messagedialog.js.page:83
+#: C/radiobutton.js.page:78 C/scale.js.page:77 C/spinbutton.js.page:80
+#: C/switch.js.page:87 C/textview.js.page:87 C/togglebutton.js.page:80
+#: C/treeview_simple_liststore.js.page:89
msgid ""
"The _buildUI function is where we put all the code to create the "
"application's user interface. The first step is creating a new <link xref="
@@ -8225,11 +8665,13 @@ msgstr ""
"\"GtkApplicationWindow.js\">Gtk.ApplicationWindow</link> nueva para poner "
"dentro todos los widgets."
-#: C/comboboxtext.js.page:82(section/title)
+#. (itstool) path: section/title
+#: C/comboboxtext.js.page:82
msgid "Creating the ComboBoxText"
msgstr "Crear el ComboBoxText"
-#: C/comboboxtext.js.page:83(section/code)
+#. (itstool) path: section/code
+#: C/comboboxtext.js.page:83
#, no-wrap
msgid ""
"\n"
@@ -8258,7 +8700,8 @@ msgstr ""
" // Connect the combobox's 'changed' signal to our callback function\n"
" this._comboBoxText.connect ('changed', Lang.bind (this, this._onComboChanged));\n"
-#: C/comboboxtext.js.page:96(section/p)
+#. (itstool) path: section/p
+#: C/comboboxtext.js.page:96
msgid ""
"After we create the ComboBoxText, we use its <file>append_text</file> method "
"to add text strings to it. Like the entries in an array, they each have a "
@@ -8273,7 +8716,8 @@ msgstr ""
"«ComboBoxText», y después usar un bucle «for» para añadirlos en orden, como "
"aquí."
-#: C/comboboxtext.js.page:97(section/p)
+#. (itstool) path: section/p
+#: C/comboboxtext.js.page:97
msgid ""
"After we populate the ComboBoxText, we set its first entry to be active, so "
"that we'll see the \"Select distribution\" line before we click on it. Then "
@@ -8286,7 +8730,8 @@ msgstr ""
"señal <file>changed</file> a la función «_onComboChanged», para que se llame "
"siempre que haga una selección nueva del menú desplegable."
-#: C/comboboxtext.js.page:98(note/p)
+#. (itstool) path: note/p
+#: C/comboboxtext.js.page:98
msgid ""
"If you'd like to add an entry to a ComboBoxText, you can use the "
"<file>insert_text</file> method. And if you'd rather use a text string as an "
@@ -8300,7 +8745,8 @@ msgstr ""
"métodos <file>append</file> e <file>insert</file>. Consulte los enlaces al "
"final de este tutorial para ver detalles sobre su uso."
-#: C/comboboxtext.js.page:100(section/code)
+#. (itstool) path: section/code
+#: C/comboboxtext.js.page:100
#, no-wrap
msgid ""
"\n"
@@ -8319,7 +8765,8 @@ msgstr ""
" this._window.show_all();\n"
" },\n"
-#: C/comboboxtext.js.page:108(section/p)
+#. (itstool) path: section/p
+#: C/comboboxtext.js.page:108
msgid ""
"Finally, we add the ComboBoxText to the window, and tell the window to show "
"itself and the widget inside it."
@@ -8327,13 +8774,13 @@ msgstr ""
"Finalmente, se añade el «ComboBoxText» a la ventana, y se le dice que se "
"muestre con su widget."
-#: C/comboboxtext.js.page:112(section/title)
-#: C/combobox.js.page:169(section/title)
-#: C/radiobutton.js.page:180(section/title)
+#. (itstool) path: section/title
+#: C/comboboxtext.js.page:112 C/combobox.js.page:169 C/radiobutton.js.page:180
msgid "Function which handles your selection"
msgstr "Función que maneja su selección"
-#: C/comboboxtext.js.page:113(section/code)
+#. (itstool) path: section/code
+#: C/comboboxtext.js.page:113
#, no-wrap
msgid ""
"\n"
@@ -8354,7 +8801,8 @@ msgstr ""
" \"Mint is a popular distro based on Ubuntu.\",\n"
" \"SUSE is a name shared by two separate distros.\"];\n"
-#: C/comboboxtext.js.page:122(section/p)
+#. (itstool) path: section/p
+#: C/comboboxtext.js.page:122
msgid ""
"We're going to create a pop-up <link xref=\"messagedialog.js"
"\">MessageDialog</link>, which shows you a message based on which distro you "
@@ -8368,7 +8816,8 @@ msgstr ""
"cadena del «ComboBoxText» es solo el mensaje «Seleccione distribución», la "
"primera cadena de la matriz está vacía."
-#: C/comboboxtext.js.page:124(section/code)
+#. (itstool) path: section/code
+#: C/comboboxtext.js.page:124
#, no-wrap
msgid ""
"\n"
@@ -8415,7 +8864,8 @@ msgstr ""
"\n"
" },\n"
-#: C/comboboxtext.js.page:146(section/p)
+#. (itstool) path: section/p
+#: C/comboboxtext.js.page:146
msgid ""
"Before showing a MessageDialog, we first test to make sure you didn't choose "
"the \"Select distribution\" message. After that, we set its text to be the "
@@ -8429,7 +8879,8 @@ msgstr ""
"«ComboBoxText». Esto se hace usando el método <file>get_active</file>, que "
"devuelve la identificación numérica de su selección."
-#: C/comboboxtext.js.page:147(note/p)
+#. (itstool) path: note/p
+#: C/comboboxtext.js.page:147
msgid ""
"Other methods you can use include <file>get_active_id,</file> which returns "
"the text ID assigned by <file>append,</file> and <file>get_active_text,</"
@@ -8440,7 +8891,8 @@ msgstr ""
"<file>get_active_text</file>, que devuelve el texto completo de la cadena "
"que seleccionó."
-#: C/comboboxtext.js.page:148(section/p) C/combobox.js.page:205(section/p)
+#. (itstool) path: section/p
+#: C/comboboxtext.js.page:148 C/combobox.js.page:205
msgid ""
"After we create the MessageDialog, we connect its response signal to the "
"_onDialogResponse function, then tell it to show itself."
@@ -8448,8 +8900,8 @@ msgstr ""
"Después de crear el «MessageDialog», se conecta su señal «response» a la "
"función «onDialogResponse», y se le dice que se muestre."
-#: C/comboboxtext.js.page:150(section/code)
-#: C/combobox.js.page:207(section/code)
+#. (itstool) path: section/code
+#: C/comboboxtext.js.page:150 C/combobox.js.page:207
#, no-wrap
msgid ""
"\n"
@@ -8470,7 +8922,8 @@ msgstr ""
"\n"
"});\n"
-#: C/comboboxtext.js.page:159(section/p) C/combobox.js.page:216(section/p)
+#. (itstool) path: section/p
+#: C/comboboxtext.js.page:159 C/combobox.js.page:216
msgid ""
"Since the only button the MessageDialog has is an OK button, we don't need "
"to test its response_id to see which button was clicked. All we do here is "
@@ -8480,7 +8933,8 @@ msgstr ""
"se necesita verificar su «response_id» para ver qué botón se pulsó. Todo lo "
"que se hace aquí es destruir la ventana emergente."
-#: C/comboboxtext.js.page:161(section/code)
+#. (itstool) path: section/code
+#: C/comboboxtext.js.page:161
#, no-wrap
msgid ""
"\n"
@@ -8493,7 +8947,8 @@ msgstr ""
"let app = new ComboBoxTextExample ();\n"
"app.application.run (ARGV);\n"
-#: C/comboboxtext.js.page:166(section/p)
+#. (itstool) path: section/p
+#: C/comboboxtext.js.page:166
msgid ""
"Finally, we create a new instance of the finished ComboBoxTextExample class, "
"and set the application running."
@@ -8501,7 +8956,8 @@ msgstr ""
"Finalmente, se crea una instancia nueva de la clase ComboBoxTextExample "
"terminada, y se ejecuta la aplicación."
-#: C/comboboxtext.js.page:171(section/code)
+#. (itstool) path: section/code
+#: C/comboboxtext.js.page:171
#, no-wrap
msgid ""
"#!/usr/bin/gjs\n"
@@ -8714,7 +9170,8 @@ msgstr ""
"let app = new ComboBoxTextExample ();\n"
"app.application.run (ARGV);\n"
-#: C/comboboxtext.js.page:182(item/p)
+#. (itstool) path: item/p
+#: C/comboboxtext.js.page:182
msgid ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.ComboBoxText."
"html\">Gtk.ComboBoxText</link>"
@@ -8722,8 +9179,9 @@ msgstr ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.ComboBoxText."
"html\">Gtk.ComboBoxText</link>"
-#: C/comboboxtext.js.page:183(item/p) C/combobox.js.page:243(item/p)
-#: C/entry.js.page:32(item/p) C/messagedialog.js.page:197(item/p)
+#. (itstool) path: item/p
+#: C/comboboxtext.js.page:183 C/combobox.js.page:243 C/entry.js.page:32
+#: C/messagedialog.js.page:197
msgid ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.MessageDialog."
"html\">Gtk.MessageDialog</link>"
@@ -8731,28 +9189,30 @@ msgstr ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.MessageDialog."
"html\">Gtk.MessageDialog</link>"
-#: C/combobox.c.page:7(info/title)
+#. (itstool) path: info/title
+#: C/combobox.c.page:7
msgctxt "text"
msgid "ComboBox (C)"
msgstr "ComboBox (C)"
-#: C/combobox.c.page:21(info/desc) C/combobox.py.page:19(info/desc)
-#: C/combobox.vala.page:17(info/desc)
-#: C/combobox_multicolumn.py.page:18(info/desc)
-#: C/combobox_multicolumn.vala.page:18(info/desc)
+#. (itstool) path: info/desc
+#: C/combobox.c.page:21 C/combobox.py.page:19 C/combobox.vala.page:17
+#: C/combobox_multicolumn.py.page:18 C/combobox_multicolumn.vala.page:18
msgid "A widget used to choose from a list of items"
msgstr "Un widget usado para elegir de una lista de elementos"
-#: C/combobox.c.page:24(page/title) C/combobox.js.page:24(page/title)
-#: C/combobox.vala.page:20(page/title)
+#. (itstool) path: page/title
+#: C/combobox.c.page:24 C/combobox.js.page:24 C/combobox.vala.page:20
msgid "ComboBox"
msgstr "ComboBox"
-#: C/combobox.c.page:26(page/p) C/combobox.vala.page:22(page/p)
+#. (itstool) path: page/p
+#: C/combobox.c.page:26 C/combobox.vala.page:22
msgid "This ComboBox prints to the terminal when you change your selection."
msgstr "Este ComboBox imprime en la terminal cuando cambia su selección."
-#: C/combobox.c.page:28(page/code)
+#. (itstool) path: page/code
+#: C/combobox.c.page:28
#, no-wrap
msgid ""
"\n"
@@ -8921,7 +9381,8 @@ msgstr ""
" return status;\n"
"}\n"
-#: C/combobox.c.page:36(item/p)
+#. (itstool) path: item/p
+#: C/combobox.c.page:36
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkComboBoxText.html"
"\">GtkComboBoxText</link>"
@@ -8929,22 +9390,13 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkComboBoxText.html"
"\">GtkComboBoxText</link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/combobox.js.page:25(media) C/combobox_multicolumn.py.page:22(media)
-#: C/combobox_multicolumn.vala.page:22(media)
+#: C/combobox.js.page:25 C/combobox_multicolumn.py.page:22
+#: C/combobox_multicolumn.vala.page:22
msgctxt "_"
msgid ""
"external ref='media/combobox_multicolumn.png' "
@@ -8953,16 +9405,19 @@ msgstr ""
"external ref='media/combobox_multicolumn.png' "
"md5='43f16648fb11ebc7d2f70825ed0f63b3'"
-#: C/combobox.js.page:7(info/title)
+#. (itstool) path: info/title
+#: C/combobox.js.page:7
msgctxt "text"
msgid "ComboBox (JavaScript)"
msgstr "ComboBox (JavaScript)"
-#: C/combobox.js.page:21(info/desc)
+#. (itstool) path: info/desc
+#: C/combobox.js.page:21
msgid "A customizable drop-down menu"
msgstr "Un menú desplegable personalizable."
-#: C/combobox.js.page:26(page/p)
+#. (itstool) path: page/p
+#: C/combobox.js.page:26
msgid ""
"A ComboBox is an extremely customizable drop-down menu. It holds the "
"equivalent of a <link xref=\"treeview_simple_liststore.js\">TreeView</link> "
@@ -8980,7 +9435,8 @@ msgstr ""
"en una columna, y el nombre de un elemento del almacén en la otra, que el "
"«ComboBox» convierte en un icono para cada opción."
-#: C/combobox.js.page:27(page/p)
+#. (itstool) path: page/p
+#: C/combobox.js.page:27
msgid ""
"You select a whole horizontal row at a time, so the icons aren't treated as "
"separate options. They and the text beside them make up each option you can "
@@ -8990,7 +9446,8 @@ msgstr ""
"tratan como opciones separadas. Ellos y su texto forman una opción que puede "
"pulsar."
-#: C/combobox.js.page:28(note/p)
+#. (itstool) path: note/p
+#: C/combobox.js.page:28
msgid ""
"Working with a ListStore can be time-consuming. If you just want a simple "
"text-only drop-down menu, take a look at the <link xref=\"comboboxtext.js"
@@ -9002,7 +9459,8 @@ msgstr ""
"\"comboboxtext.js\">ComboBoxText</link>. No toma tanto tiempo configurarlo, "
"y es más fácil trabajar con él."
-#: C/combobox.js.page:33(section/code)
+#. (itstool) path: section/code
+#: C/combobox.js.page:33
#, no-wrap
msgid ""
"\n"
@@ -9019,7 +9477,8 @@ msgstr ""
"const Gtk = imports.gi.Gtk;\n"
"const Lang = imports.lang;\n"
-#: C/combobox.js.page:45(section/code)
+#. (itstool) path: section/code
+#: C/combobox.js.page:45
#, no-wrap
msgid ""
"\n"
@@ -9070,7 +9529,8 @@ msgstr ""
" this._buildUI ();\n"
" },\n"
-#: C/combobox.js.page:69(section/p)
+#. (itstool) path: section/p
+#: C/combobox.js.page:69
msgid ""
"All the code for this sample goes in the ComboBoxExample class. The above "
"code creates a <link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/"
@@ -9082,12 +9542,13 @@ msgstr ""
"Gtk.Application.html\">Gtk.Application</link> para que vayan los widgets y "
"la ventana."
-#: C/combobox.js.page:86(section/title)
-#: C/treeview_simple_liststore.js.page:93(section/title)
+#. (itstool) path: section/title
+#: C/combobox.js.page:86 C/treeview_simple_liststore.js.page:93
msgid "Creating the ListStore"
msgstr "Crear el ListStore"
-#: C/combobox.js.page:87(section/code)
+#. (itstool) path: section/code
+#: C/combobox.js.page:87
#, no-wrap
msgid ""
"\n"
@@ -9104,7 +9565,8 @@ msgstr ""
" GObject.TYPE_STRING,\n"
" GObject.TYPE_STRING]);\n"
-#: C/combobox.js.page:94(section/p)
+#. (itstool) path: section/p
+#: C/combobox.js.page:94
msgid ""
"This ListStore works like the one used in the <link xref="
"\"treeview_simple_liststore.js\">TreeView</link> example. We're giving it "
@@ -9118,7 +9580,8 @@ msgstr ""
"developer.gnome.org/gtk3/3.4/gtk3-Stock-Items.html\">iconos del almacén de "
"GTK+</link>."
-#: C/combobox.js.page:95(section/p)
+#. (itstool) path: section/p
+#: C/combobox.js.page:95
msgid ""
"If we'd wanted to use our own icons that weren't already built in to GNOME, "
"we'd have needed to use the <file>gtk.gdk.Pixbuf</file> type instead. Here "
@@ -9128,13 +9591,13 @@ msgstr ""
"que usar el tipo <file>gtk.gdk.Pixbuf</file> en su lugar. Aquí hay algunos "
"tipos más que puede usar:"
-#: C/combobox.js.page:97(item/p)
-#: C/treeview_simple_liststore.js.page:106(item/p)
+#. (itstool) path: item/p
+#: C/combobox.js.page:97 C/treeview_simple_liststore.js.page:106
msgid "<file>GObject.TYPE_BOOLEAN</file> -- True or false"
msgstr "<file>GObject.TYPE_BOOLEAN</file>: verdadero o falso"
-#: C/combobox.js.page:98(item/p)
-#: C/treeview_simple_liststore.js.page:107(item/p)
+#. (itstool) path: item/p
+#: C/combobox.js.page:98 C/treeview_simple_liststore.js.page:107
msgid ""
"<file>GObject.TYPE_FLOAT</file> -- A floating point number (one with a "
"decimal point)"
@@ -9142,13 +9605,13 @@ msgstr ""
"<file>GObject.TYPE_FLOAT</file>: un número de coma flotante (uno con coma "
"decimal)"
-#: C/combobox.js.page:99(item/p)
-#: C/treeview_simple_liststore.js.page:108(item/p)
+#. (itstool) path: item/p
+#: C/combobox.js.page:99 C/treeview_simple_liststore.js.page:108
msgid "<file>GObject.TYPE_STRING</file> -- A string of letters and numbers"
msgstr "<file>GObject.TYPE_STRING</file>: una cadena de letras y números"
-#: C/combobox.js.page:101(note/p)
-#: C/treeview_simple_liststore.js.page:112(note/p)
+#. (itstool) path: note/p
+#: C/combobox.js.page:101 C/treeview_simple_liststore.js.page:112
msgid ""
"You need to put the line <file>const GObject = imports.gi.GObject;</file> at "
"the start of your application's code, like we did in this example, if you "
@@ -9158,7 +9621,8 @@ msgstr ""
"principio del código de su aplicación, como se hizo en este ejemplo, si "
"quiere poder usar tipos de GObject."
-#: C/combobox.js.page:103(section/code)
+#. (itstool) path: section/code
+#: C/combobox.js.page:103
#, no-wrap
msgid ""
"\n"
@@ -9193,7 +9657,8 @@ msgstr ""
" this._listStore.set (iter, [1], [option.icon]);\n"
" }\n"
-#: C/combobox.js.page:119(section/p)
+#. (itstool) path: section/p
+#: C/combobox.js.page:119
msgid ""
"Here we create an array of the text options and their corresponding icons, "
"then put them into the ListStore in much the same way we would for a <link "
@@ -9208,7 +9673,8 @@ msgstr ""
"icono si hay uno en la matriz de opciones, por lo que primero hay que "
"asegurarse de verificar esto."
-#: C/combobox.js.page:120(note/p)
+#. (itstool) path: note/p
+#: C/combobox.js.page:120
msgid ""
"\"Select\" isn't really an option so much as an invitation to click on our "
"ComboBox, so it doesn't need an icon."
@@ -9216,11 +9682,13 @@ msgstr ""
"«Select» no es realmente una opción, sino una invitación a pulsar en el "
"«ComboBox», por lo que no necesita un icono."
-#: C/combobox.js.page:124(section/title)
+#. (itstool) path: section/title
+#: C/combobox.js.page:124
msgid "Creating the ComboBox"
msgstr "Crear el ComboBox"
-#: C/combobox.js.page:125(section/code)
+#. (itstool) path: section/code
+#: C/combobox.js.page:125
#, no-wrap
msgid ""
"\n"
@@ -9233,7 +9701,8 @@ msgstr ""
" this._comboBox = new Gtk.ComboBox({\n"
" model: this._listStore});\n"
-#: C/combobox.js.page:130(section/p)
+#. (itstool) path: section/p
+#: C/combobox.js.page:130
msgid ""
"Each ComboBox has an underlying \"model\" it takes all its options from. You "
"can use a TreeStore if you want to have a ComboBox with branching options. "
@@ -9244,7 +9713,8 @@ msgstr ""
"opciones de bifurcación. En este caso, solo se está usando el «ListStore» "
"que ya se creó."
-#: C/combobox.js.page:131(section/code)
+#. (itstool) path: section/code
+#: C/combobox.js.page:131
#, no-wrap
msgid ""
"\n"
@@ -9273,7 +9743,8 @@ msgstr ""
" this._comboBox.add_attribute (rendererText, \"text\", 0);\n"
" this._comboBox.add_attribute (rendererPixbuf, \"stock_id\", 1);\n"
-#: C/combobox.js.page:144(section/p)
+#. (itstool) path: section/p
+#: C/combobox.js.page:144
msgid ""
"This part, again, works much like creating CellRenderers and packing them "
"into the columns of a <link xref=\"treeview_simple_liststore.js\">TreeView</"
@@ -9290,7 +9761,8 @@ msgstr ""
"que obtengan información del «ListStore» (y qué tipo de información tienen "
"que esperar)."
-#: C/combobox.js.page:145(section/p)
+#. (itstool) path: section/p
+#: C/combobox.js.page:145
msgid ""
"We use a CellRendererText to show the text, and a CellRendererPixbuf to show "
"the icons. We can store the names of the icons' stock types as strings, but "
@@ -9301,7 +9773,8 @@ msgstr ""
"nombres de los tipos del almacén de iconos como cadenas, pero cuando se "
"muestran se necesita un «CellRenderer» diseñado para imágenes."
-#: C/combobox.js.page:146(note/p)
+#. (itstool) path: note/p
+#: C/combobox.js.page:146
msgid ""
"Just like with a TreeView, the \"model\" (in this case a ListStore) and the "
"\"view\" (in this case our ComboBox) are separate. Because of that, we can "
@@ -9319,7 +9792,8 @@ msgstr ""
"que muestre la información en el «ListStore» de una manera diferente, sin "
"afectar el «ComboBox»."
-#: C/combobox.js.page:148(section/code)
+#. (itstool) path: section/code
+#: C/combobox.js.page:148
#, no-wrap
msgid ""
"\n"
@@ -9336,7 +9810,8 @@ msgstr ""
" // Connect the combobox's 'changed' signal to our callback function\n"
" this._comboBox.connect ('changed', Lang.bind (this, this._onComboChanged));\n"
-#: C/combobox.js.page:155(section/p)
+#. (itstool) path: section/p
+#: C/combobox.js.page:155
msgid ""
"We want the \"Select\" text to be the part people see at first, that gets "
"them to click on the ComboBox. So we set it to be the active entry. We also "
@@ -9351,7 +9826,8 @@ msgstr ""
"opción nueva suceda algo. En este caso, sólo se va a mostrar una ventana "
"emergente con un pequeño «haiku»."
-#: C/combobox.js.page:157(section/code)
+#. (itstool) path: section/code
+#: C/combobox.js.page:157
#, no-wrap
msgid ""
"\n"
@@ -9370,7 +9846,8 @@ msgstr ""
" this._window.show_all();\n"
" },\n"
-#: C/combobox.js.page:165(section/p)
+#. (itstool) path: section/p
+#: C/combobox.js.page:165
msgid ""
"Finally, we add the ComboBox to the window, and tell the window to show "
"itself and everything inside it."
@@ -9378,7 +9855,8 @@ msgstr ""
"Finalmente, se añade el «ComboBox» a la ventana, y se le dice que se muestre "
"con todo lo que contiene."
-#: C/combobox.js.page:170(section/code)
+#. (itstool) path: section/code
+#: C/combobox.js.page:170
#, no-wrap
msgid ""
"\n"
@@ -9399,7 +9877,8 @@ msgstr ""
" \"Like a simple clam\\nrevealing a lustrous pearl\\nit opens for you.\",\n"
" \"A moment in time\\na memory on the breeze\\nthese things can't be saved.\"];\n"
-#: C/combobox.js.page:179(section/p)
+#. (itstool) path: section/p
+#: C/combobox.js.page:179
msgid ""
"We're going to create a pop-up <link xref=\"messagedialog.js"
"\">MessageDialog</link>, which shows you a silly haiku based on which distro "
@@ -9413,7 +9892,8 @@ msgstr ""
"cadena en el «ComboBox» es sólo el mensaje «Select», la primera cadena en la "
"matriz se hace vacía."
-#: C/combobox.js.page:181(section/code)
+#. (itstool) path: section/code
+#: C/combobox.js.page:181
#, no-wrap
msgid ""
"\n"
@@ -9460,7 +9940,8 @@ msgstr ""
"\n"
" },\n"
-#: C/combobox.js.page:203(section/p)
+#. (itstool) path: section/p
+#: C/combobox.js.page:203
msgid ""
"Before showing a MessageDialog, we first test to make sure you didn't choose "
"the \"Select\" message. After that, we set its text to be the haiku in the "
@@ -9474,7 +9955,8 @@ msgstr ""
"hace usando el método <file>get_active</file>, que devuelve la "
"identificación numérica de su selección."
-#: C/combobox.js.page:204(note/p)
+#. (itstool) path: note/p
+#: C/combobox.js.page:204
msgid ""
"Other methods you can use include <file>get_active_id</file>, which returns "
"the text ID assigned by <file>append</file>, and <file>get_active_text</"
@@ -9485,7 +9967,8 @@ msgstr ""
"<file>get_active_text</file>, que devuelve el texto completo de la cadena "
"que seleccionó."
-#: C/combobox.js.page:218(section/code)
+#. (itstool) path: section/code
+#: C/combobox.js.page:218
#, no-wrap
msgid ""
"\n"
@@ -9498,7 +9981,8 @@ msgstr ""
"let app = new ComboBoxExample ();\n"
"app.application.run (ARGV);\n"
-#: C/combobox.js.page:223(section/p)
+#. (itstool) path: section/p
+#: C/combobox.js.page:223
msgid ""
"Finally, we create a new instance of the finished ComboBoxExample class, and "
"set the application running."
@@ -9506,7 +9990,8 @@ msgstr ""
"Finalmente, se crea una instancia nueva de la clase «ComboBoxExample» "
"terminada, y se ejecuta la aplicación."
-#: C/combobox.js.page:228(section/code)
+#. (itstool) path: section/code
+#: C/combobox.js.page:228
#, no-wrap
msgid ""
"#!/usr/bin/gjs\n"
@@ -9783,7 +10268,8 @@ msgstr ""
"let app = new ComboBoxExample ();\n"
"app.application.run (ARGV);\n"
-#: C/combobox.js.page:239(item/p)
+#. (itstool) path: item/p
+#: C/combobox.js.page:239
msgid ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk."
"CellRendererPixbuf.html\">Gtk.CellRendererPixbuf</link>"
@@ -9791,8 +10277,8 @@ msgstr ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk."
"CellRendererPixbuf.html\">Gtk.CellRendererPixbuf</link>"
-#: C/combobox.js.page:240(item/p)
-#: C/treeview_simple_liststore.js.page:278(item/p)
+#. (itstool) path: item/p
+#: C/combobox.js.page:240 C/treeview_simple_liststore.js.page:278
msgid ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk."
"CellRendererText.html\">Gtk.CellRendererText</link>"
@@ -9800,7 +10286,8 @@ msgstr ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk."
"CellRendererText.html\">Gtk.CellRendererText</link>"
-#: C/combobox.js.page:241(item/p)
+#. (itstool) path: item/p
+#: C/combobox.js.page:241
msgid ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.ComboBox.html"
"\">Gtk.ComboBox</link>"
@@ -9808,8 +10295,8 @@ msgstr ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.ComboBox.html"
"\">Gtk.ComboBox</link>"
-#: C/combobox.js.page:242(item/p)
-#: C/treeview_simple_liststore.js.page:279(item/p)
+#. (itstool) path: item/p
+#: C/combobox.js.page:242 C/treeview_simple_liststore.js.page:279
msgid ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.ListStore.html"
"\">Gtk.ListStore</link>"
@@ -9817,8 +10304,8 @@ msgstr ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.ListStore.html"
"\">Gtk.ListStore</link>"
-#: C/combobox.js.page:244(item/p)
-#: C/treeview_simple_liststore.js.page:280(item/p)
+#. (itstool) path: item/p
+#: C/combobox.js.page:244 C/treeview_simple_liststore.js.page:280
msgid ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.TreeIter.html"
"\">Gtk.TreeIter</link>"
@@ -9826,31 +10313,97 @@ msgstr ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.TreeIter.html"
"\">Gtk.TreeIter</link>"
-#: C/combobox.py.page:7(info/title)
-#: C/combobox_multicolumn.py.page:7(info/title)
+#. (itstool) path: info/title
+#: C/combobox.py.page:7 C/combobox_multicolumn.py.page:7
msgctxt "text"
msgid "ComboBox (Python)"
msgstr "ComboBox (Python)"
-#: C/combobox.py.page:22(page/title)
+#. (itstool) path: page/title
+#: C/combobox.py.page:22
msgid "ComboBox (one column)"
msgstr "ComboBox (una columna)"
-#: C/combobox.py.page:24(page/p) C/combobox_multicolumn.py.page:23(page/p)
-#: C/combobox_multicolumn.vala.page:23(page/p)
+#. (itstool) path: page/p
+#: C/combobox.py.page:24 C/combobox_multicolumn.py.page:23
+#: C/combobox_multicolumn.vala.page:23
msgid "This ComboBox prints to the terminal your selection when you change it."
msgstr ""
"Esta ComboBox imprime su selección en la terminal cuando cambia la cambia."
-#: C/combobox.py.page:30(section/code)
+#. (itstool) path: section/code
+#: C/combobox.py.page:30
#, no-wrap
+#| msgid ""
+#| "from gi.repository import Gtk\n"
+#| "import sys\n"
+#| "\n"
+#| "distros = [[\"Select distribution\"], [\"Fedora\"], [\"Mint\"], [\"Suse\"]]\n"
+#| "\n"
+#| "class MyWindow(Gtk.ApplicationWindow):\n"
+#| " def __init__(self, app):\n"
+#| " Gtk.Window.__init__(self, title=\"Welcome to GNOME\", application=app)\n"
+#| " self.set_default_size(200, -1)\n"
+#| " self.set_border_width(10)\n"
+#| "\n"
+#| " # the data in the model, of type string\n"
+#| " listmodel = Gtk.ListStore(str)\n"
+#| " # append the data in the model\n"
+#| " for i in range(len(distros)):\n"
+#| " listmodel.append(distros[i])\n"
+#| "\n"
+#| " # a combobox to see the data stored in the model\n"
+#| " combobox = Gtk.ComboBox(model=listmodel)\n"
+#| "\n"
+#| " # a cellrenderer to render the text\n"
+#| " cell = Gtk.CellRendererText()\n"
+#| "\n"
+#| " # pack the cell into the beginning of the combobox, allocating\n"
+#| " # no more space than needed\n"
+#| " combobox.pack_start(cell, False)\n"
+#| " # associate a property (\"text\") of the cellrenderer (cell) to a column (column 0)\n"
+#| " # in the model used by the combobox\n"
+#| " combobox.add_attribute(cell, \"text\", 0)\n"
+#| "\n"
+#| " # the first row is the active one by default at the beginning\n"
+#| " combobox.set_active(0)\n"
+#| "\n"
+#| " # connect the signal emitted when a row is selected to the callback function\n"
+#| " combobox.connect(\"changed\", self.on_changed)\n"
+#| "\n"
+#| " # add the combobox to the window\n"
+#| " self.add(combobox)\n"
+#| "\n"
+#| " def on_changed(self, combo):\n"
+#| " # if the row selected is not the first one, write its value on the terminal\n"
+#| " if combo.get_active() != 0:\n"
+#| " print \"You chose \" + str(distros[combo.get_active()][0]) +\".\"\n"
+#| " return True\n"
+#| "\n"
+#| "\n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " def __init__(self):\n"
+#| " Gtk.Application.__init__(self)\n"
+#| "\n"
+#| " def do_activate(self):\n"
+#| " win = MyWindow(self)\n"
+#| " win.show_all()\n"
+#| "\n"
+#| " def do_startup(self):\n"
+#| " Gtk.Application.do_startup(self)\n"
+#| "\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
"distros = [[\"Select distribution\"], [\"Fedora\"], [\"Mint\"], [\"Suse\"]]\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"Welcome to GNOME\", application=app)\n"
" self.set_default_size(200, -1)\n"
@@ -9878,20 +10431,23 @@ msgid ""
" # the first row is the active one by default at the beginning\n"
" combobox.set_active(0)\n"
"\n"
-" # connect the signal emitted when a row is selected to the callback function\n"
+" # connect the signal emitted when a row is selected to the callback\n"
+" # function\n"
" combobox.connect(\"changed\", self.on_changed)\n"
"\n"
" # add the combobox to the window\n"
" self.add(combobox)\n"
"\n"
" def on_changed(self, combo):\n"
-" # if the row selected is not the first one, write its value on the terminal\n"
+" # if the row selected is not the first one, write its value on the\n"
+" # terminal\n"
" if combo.get_active() != 0:\n"
-" print \"You chose \" + str(distros[combo.get_active()][0]) +\".\"\n"
+" print \"You chose \" + str(distros[combo.get_active()][0]) + \".\"\n"
" return True\n"
"\n"
"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -9911,7 +10467,9 @@ msgstr ""
"\n"
"distros = [[\"Select distribution\"], [\"Fedora\"], [\"Mint\"], [\"Suse\"]]\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"Welcome to GNOME\", application=app)\n"
" self.set_default_size(200, -1)\n"
@@ -9939,20 +10497,23 @@ msgstr ""
" # the first row is the active one by default at the beginning\n"
" combobox.set_active(0)\n"
"\n"
-" # connect the signal emitted when a row is selected to the callback function\n"
+" # connect the signal emitted when a row is selected to the callback\n"
+" # function\n"
" combobox.connect(\"changed\", self.on_changed)\n"
"\n"
" # add the combobox to the window\n"
" self.add(combobox)\n"
"\n"
" def on_changed(self, combo):\n"
-" # if the row selected is not the first one, write its value on the terminal\n"
+" # if the row selected is not the first one, write its value on the\n"
+" # terminal\n"
" if combo.get_active() != 0:\n"
-" print \"You chose \" + str(distros[combo.get_active()][0]) +\".\"\n"
+" print \"You chose \" + str(distros[combo.get_active()][0]) + \".\"\n"
" return True\n"
"\n"
"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -9967,13 +10528,13 @@ msgstr ""
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/combobox.py.page:34(section/title)
-#: C/combobox_multicolumn.py.page:34(section/title)
+#. (itstool) path: section/title
+#: C/combobox.py.page:34 C/combobox_multicolumn.py.page:34
msgid "Useful methods for a ComboBox widget"
msgstr "Métodos útiles para un widget «ComboBox»"
-#: C/combobox.py.page:35(section/p)
-#: C/combobox_multicolumn.py.page:35(section/p)
+#. (itstool) path: section/p
+#: C/combobox.py.page:35 C/combobox_multicolumn.py.page:35
msgid ""
"The ComboBox widget is designed around a <em>Model/View/Controller</em> "
"design: the <em>Model</em> stores the data; the <em>View</em> gets change "
@@ -9990,7 +10551,8 @@ msgstr ""
"de «ComboBox» y «TreeModel», consulte la <link xref=\"model-view-controller."
"py\"/>."
-#: C/combobox.py.page:36(section/p)
+#. (itstool) path: section/p
+#: C/combobox.py.page:36
msgid ""
"In line 35 the <code>\"changed\"</code> signal is connected to the callback "
"function <code>on_changed()</code> using <code><var>widget</var>.connect"
@@ -10003,8 +10565,9 @@ msgstr ""
"Consulte la <link xref=\"signals-callbacks.py\"/> para obtener una "
"explicación más detallada."
-#: C/combobox.py.page:44(item/p) C/combobox_multicolumn.py.page:43(item/p)
-#: C/model-view-controller.py.page:189(item/p)
+#. (itstool) path: item/p
+#: C/combobox.py.page:44 C/combobox_multicolumn.py.page:43
+#: C/model-view-controller.py.page:189
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkComboBox.html"
"\">GtkComboBox</link>"
@@ -10012,9 +10575,10 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkComboBox.html"
"\">GtkComboBox</link>"
-#: C/combobox.py.page:45(item/p) C/combobox_multicolumn.py.page:44(item/p)
-#: C/treeview_advanced_liststore.py.page:45(item/p)
-#: C/treeview_simple_liststore.py.page:46(item/p)
+#. (itstool) path: item/p
+#: C/combobox.py.page:45 C/combobox_multicolumn.py.page:44
+#: C/treeview_advanced_liststore.py.page:45
+#: C/treeview_simple_liststore.py.page:46
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkListStore.html"
"\">GtkListStore</link>"
@@ -10022,11 +10586,11 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkListStore.html"
"\">GtkListStore</link>"
-#: C/combobox.py.page:46(item/p) C/combobox_multicolumn.py.page:45(item/p)
-#: C/treeview_advanced_liststore.py.page:46(item/p)
-#: C/treeview_cellrenderertoggle.py.page:46(item/p)
-#: C/treeview_simple_liststore.py.page:47(item/p)
-#: C/treeview_treestore.py.page:46(item/p)
+#. (itstool) path: item/p
+#: C/combobox.py.page:46 C/combobox_multicolumn.py.page:45
+#: C/treeview_advanced_liststore.py.page:46
+#: C/treeview_cellrenderertoggle.py.page:46
+#: C/treeview_simple_liststore.py.page:47 C/treeview_treestore.py.page:46
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkCellRendererText."
"html\">GtkCellRendererText</link>"
@@ -10034,7 +10598,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkCellRendererText."
"html\">GtkCellRendererText</link>"
-#: C/combobox.py.page:47(item/p)
+#. (itstool) path: item/p
+#: C/combobox.py.page:47
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkCellLayout.html"
"\">GtkCellLayout</link>"
@@ -10042,9 +10607,10 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkCellLayout.html"
"\">GtkCellLayout</link>"
-#: C/combobox.py.page:48(item/p) C/combobox_multicolumn.py.page:48(item/p)
-#: C/treeview_advanced_liststore.py.page:48(item/p)
-#: C/treeview_simple_liststore.py.page:49(item/p)
+#. (itstool) path: item/p
+#: C/combobox.py.page:48 C/combobox_multicolumn.py.page:48
+#: C/treeview_advanced_liststore.py.page:48
+#: C/treeview_simple_liststore.py.page:49
msgid ""
"<link href=\"http://git.gnome.org/browse/pygobject/tree/gi/overrides/Gtk.py"
"\">pygobject - Python bindings for GObject Introspection</link>"
@@ -10052,13 +10618,14 @@ msgstr ""
"<link href=\"http://git.gnome.org/browse/pygobject/tree/gi/overrides/Gtk.py"
"\">pygobject: vinculaciones de Python para introspección de GObject</link>"
-#: C/combobox.vala.page:7(info/title)
-#: C/combobox_multicolumn.vala.page:7(info/title)
+#. (itstool) path: info/title
+#: C/combobox.vala.page:7 C/combobox_multicolumn.vala.page:7
msgctxt "text"
msgid "ComboBox (Vala)"
msgstr "ComboBox (Vala)"
-#: C/combobox.vala.page:24(page/code)
+#. (itstool) path: page/code
+#: C/combobox.vala.page:24
#, no-wrap
msgid ""
"/* A window in the application */\n"
@@ -10221,8 +10788,8 @@ msgstr ""
"\treturn new MyApplication ().run (args);\n"
"}\n"
-#: C/combobox.vala.page:29(item/p)
-#: C/treeview_simple_liststore.vala.page:32(item/p)
+#. (itstool) path: item/p
+#: C/combobox.vala.page:29 C/treeview_simple_liststore.vala.page:32
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.ListStore.html\">Gtk."
"ListStore</link>"
@@ -10230,7 +10797,8 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.ListStore.html\">Gtk."
"ListStore</link>"
-#: C/combobox.vala.page:30(item/p)
+#. (itstool) path: item/p
+#: C/combobox.vala.page:30
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.ComboBox.html\">Gtk."
"ComboBox</link>"
@@ -10238,7 +10806,8 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.ComboBox.html\">Gtk."
"ComboBox</link>"
-#: C/combobox.vala.page:31(item/p)
+#. (itstool) path: item/p
+#: C/combobox.vala.page:31
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.CellRendererText.html\">Gtk."
"CellRendererText</link>"
@@ -10246,7 +10815,8 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.CellRendererText.html\">Gtk."
"CellRendererText</link>"
-#: C/combobox.vala.page:32(item/p)
+#. (itstool) path: item/p
+#: C/combobox.vala.page:32
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.CellLayout.set_attributes."
"html\">set_attributes</link>"
@@ -10254,13 +10824,86 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.CellLayout.set_attributes."
"html\">set_attributes</link>"
-#: C/combobox_multicolumn.py.page:21(page/title)
-#: C/combobox_multicolumn.vala.page:21(page/title)
+#. (itstool) path: page/title
+#: C/combobox_multicolumn.py.page:21 C/combobox_multicolumn.vala.page:21
msgid "ComboBox (two columns)"
msgstr "ComboBox (dos columnas)"
-#: C/combobox_multicolumn.py.page:29(section/code)
+#. (itstool) path: section/code
+#: C/combobox_multicolumn.py.page:29
#, no-wrap
+#| msgid ""
+#| "from gi.repository import Gtk\n"
+#| "import sys\n"
+#| "\n"
+#| "actions = [[\"Select\", None],\n"
+#| " [\"New\", Gtk.STOCK_NEW],\n"
+#| " [\"Open\", Gtk.STOCK_OPEN],\n"
+#| " [\"Save\", Gtk.STOCK_SAVE]]\n"
+#| "\n"
+#| "class MyWindow(Gtk.ApplicationWindow):\n"
+#| " def __init__(self, app):\n"
+#| " Gtk.Window.__init__(self, title=\"Welcome to GNOME\", application=app)\n"
+#| " self.set_default_size(200, -1)\n"
+#| " self.set_border_width(10)\n"
+#| "\n"
+#| " # the data in the model, of type string on two columns\n"
+#| " listmodel = Gtk.ListStore(str, str)\n"
+#| " # append the data\n"
+#| " for i in range(len(actions)):\n"
+#| " listmodel.append(actions[i])\n"
+#| "\n"
+#| " # a combobox to see the data stored in the model\n"
+#| " combobox = Gtk.ComboBox(model=listmodel)\n"
+#| "\n"
+#| " # cellrenderers to render the data\n"
+#| " renderer_pixbuf = Gtk.CellRendererPixbuf()\n"
+#| " renderer_text = Gtk.CellRendererText()\n"
+#| "\n"
+#| " # we pack the cell into the beginning of the combobox, allocating\n"
+#| " # no more space than needed;\n"
+#| " # first the image, then the text;\n"
+#| " # note that it does not matter in which order they are in the model,\n"
+#| " # the visualization is decided by the order of the cellrenderers\n"
+#| " combobox.pack_start(renderer_pixbuf, False)\n"
+#| " combobox.pack_start(renderer_text, False)\n"
+#| "\n"
+#| " # associate a property of the cellrenderer to a column in the model\n"
+#| " # used by the combobox\n"
+#| " combobox.add_attribute(renderer_text, \"text\", 0)\n"
+#| " combobox.add_attribute(renderer_pixbuf, \"stock_id\", 1)\n"
+#| "\n"
+#| " # the first row is the active one at the beginning\n"
+#| " combobox.set_active(0)\n"
+#| "\n"
+#| " # connect the signal emitted when a row is selected to the callback function\n"
+#| " combobox.connect(\"changed\", self.on_changed)\n"
+#| "\n"
+#| " # add the combobox to the window\n"
+#| " self.add(combobox)\n"
+#| "\n"
+#| " def on_changed(self, combo):\n"
+#| " # if the row selected is not the first one, write on the terminal\n"
+#| " # the value of the first column in the model\n"
+#| " if combo.get_active() != 0:\n"
+#| "\t\t\tprint \"You chose \" + str(actions[combo.get_active()][0]) +\"\\n\"\n"
+#| " return True\n"
+#| "\n"
+#| "\n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " def __init__(self):\n"
+#| " Gtk.Application.__init__(self)\n"
+#| "\n"
+#| " def do_activate(self):\n"
+#| " win = MyWindow(self)\n"
+#| " win.show_all()\n"
+#| "\n"
+#| " def do_startup(self):\n"
+#| " Gtk.Application.do_startup(self)\n"
+#| "\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"from gi.repository import Gtk\n"
"import sys\n"
@@ -10270,7 +10913,9 @@ msgid ""
" [\"Open\", Gtk.STOCK_OPEN],\n"
" [\"Save\", Gtk.STOCK_SAVE]]\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"Welcome to GNOME\", application=app)\n"
" self.set_default_size(200, -1)\n"
@@ -10305,7 +10950,8 @@ msgid ""
" # the first row is the active one at the beginning\n"
" combobox.set_active(0)\n"
"\n"
-" # connect the signal emitted when a row is selected to the callback function\n"
+" # connect the signal emitted when a row is selected to the callback\n"
+" # function\n"
" combobox.connect(\"changed\", self.on_changed)\n"
"\n"
" # add the combobox to the window\n"
@@ -10315,11 +10961,12 @@ msgid ""
" # if the row selected is not the first one, write on the terminal\n"
" # the value of the first column in the model\n"
" if combo.get_active() != 0:\n"
-"\t\t\tprint \"You chose \" + str(actions[combo.get_active()][0]) +\"\\n\"\n"
+" print \"You chose \" + str(actions[combo.get_active()][0]) + \"\\n\"\n"
" return True\n"
"\n"
"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -10342,7 +10989,9 @@ msgstr ""
" [\"Open\", Gtk.STOCK_OPEN],\n"
" [\"Save\", Gtk.STOCK_SAVE]]\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"Welcome to GNOME\", application=app)\n"
" self.set_default_size(200, -1)\n"
@@ -10377,7 +11026,8 @@ msgstr ""
" # the first row is the active one at the beginning\n"
" combobox.set_active(0)\n"
"\n"
-" # connect the signal emitted when a row is selected to the callback function\n"
+" # connect the signal emitted when a row is selected to the callback\n"
+" # function\n"
" combobox.connect(\"changed\", self.on_changed)\n"
"\n"
" # add the combobox to the window\n"
@@ -10387,11 +11037,12 @@ msgstr ""
" # if the row selected is not the first one, write on the terminal\n"
" # the value of the first column in the model\n"
" if combo.get_active() != 0:\n"
-"\t\t\tprint \"You chose \" + str(actions[combo.get_active()][0]) +\"\\n\"\n"
+" print \"You chose \" + str(actions[combo.get_active()][0]) + \"\\n\"\n"
" return True\n"
"\n"
"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -10406,7 +11057,8 @@ msgstr ""
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/combobox_multicolumn.py.page:36(section/p)
+#. (itstool) path: section/p
+#: C/combobox_multicolumn.py.page:36
msgid ""
"In line 45 the <code>\"changed\"</code> signal is connected to the callback "
"function <code>on_changed()</code> using <code><var>widget</var>.connect"
@@ -10419,7 +11071,8 @@ msgstr ""
"Consulte la <link xref=\"signals-callbacks.py\"/> para obtener una "
"explicación más detallada."
-#: C/combobox_multicolumn.py.page:46(item/p)
+#. (itstool) path: item/p
+#: C/combobox_multicolumn.py.page:46
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkCellRendererPixbuf."
"html\">GtkCellRendererPixbuf</link>"
@@ -10427,8 +11080,9 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkCellRendererPixbuf."
"html\">GtkCellRendererPixbuf</link>"
-#: C/combobox_multicolumn.py.page:47(item/p)
-#: C/combobox_multicolumn.vala.page:41(item/p) C/toolbar.py.page:57(item/p)
+#. (itstool) path: item/p
+#: C/combobox_multicolumn.py.page:47 C/combobox_multicolumn.vala.page:41
+#: C/toolbar.py.page:57
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/gtk3-Stock-Items.html"
"\">Stock Items</link>"
@@ -10436,7 +11090,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/gtk3-Stock-Items.html"
"\">Elementos del almacén</link>"
-#: C/combobox_multicolumn.vala.page:29(section/code)
+#. (itstool) path: section/code
+#: C/combobox_multicolumn.vala.page:29
#, no-wrap
msgid ""
"class MyWindow : Gtk.ApplicationWindow {\n"
@@ -10593,7 +11248,8 @@ msgstr ""
"\treturn new MyApplication ().run (args);\n"
"}\n"
-#: C/combobox_multicolumn.vala.page:37(item/p)
+#. (itstool) path: item/p
+#: C/combobox_multicolumn.vala.page:37
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.ComboBox.html"
"\">GtkComboBox</link>"
@@ -10601,7 +11257,8 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.ComboBox.html"
"\">GtkComboBox</link>"
-#: C/combobox_multicolumn.vala.page:38(item/p)
+#. (itstool) path: item/p
+#: C/combobox_multicolumn.vala.page:38
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.ListStore.html"
"\">GtkListStore</link>"
@@ -10609,7 +11266,8 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.ListStore.html"
"\">GtkListStore</link>"
-#: C/combobox_multicolumn.vala.page:39(item/p)
+#. (itstool) path: item/p
+#: C/combobox_multicolumn.vala.page:39
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.CellRendererText.html"
"\">GtkCellRendererText</link>"
@@ -10617,7 +11275,8 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.CellRendererText.html"
"\">GtkCellRendererText</link>"
-#: C/combobox_multicolumn.vala.page:40(item/p)
+#. (itstool) path: item/p
+#: C/combobox_multicolumn.vala.page:40
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.CellRendererPixbuf.html"
"\">GtkCellRendererPixbuf</link>"
@@ -10625,60 +11284,53 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.CellRendererPixbuf.html"
"\">GtkCellRendererPixbuf</link>"
-#: C/cpp.page:6(info/title)
+#. (itstool) path: info/title
+#: C/cpp.page:6
msgctxt "link"
msgid "C++"
msgstr "C++"
-#: C/cpp.page:15(page/title)
+#. (itstool) path: page/title
+#: C/cpp.page:15
msgid "Code samples and platform demos in C++"
msgstr "Ejemplos de código y demostraciones de la plataforma en C++"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/dialog.c.page:24(media) C/dialog.js.page:21(media)
-#: C/dialog.py.page:23(media) C/dialog.vala.page:21(media)
+#: C/dialog.c.page:24 C/dialog.js.page:21 C/dialog.py.page:23
+#: C/dialog.vala.page:21
msgctxt "_"
msgid "external ref='media/dialog.png' md5='c90a33386a600e892fe623d4072c8c38'"
msgstr "external ref='media/dialog.png' md5='c90a33386a600e892fe623d4072c8c38'"
-#: C/dialog.c.page:7(info/title)
+#. (itstool) path: info/title
+#: C/dialog.c.page:7
msgctxt "text"
msgid "Dialog (C)"
msgstr "Diálogo (C)"
-#: C/dialog.c.page:19(info/desc) C/dialog.js.page:17(info/desc)
-#: C/dialog.py.page:19(info/desc) C/dialog.vala.page:17(info/desc)
+#. (itstool) path: info/desc
+#: C/dialog.c.page:19 C/dialog.js.page:17 C/dialog.py.page:19
+#: C/dialog.vala.page:17
msgid "A popup window"
msgstr "Una ventana emergente"
-#: C/dialog.c.page:22(page/title) C/dialog.js.page:20(page/title)
-#: C/dialog.py.page:22(page/title) C/dialog.vala.page:20(page/title)
+#. (itstool) path: page/title
+#: C/dialog.c.page:22 C/dialog.js.page:20 C/dialog.py.page:22
+#: C/dialog.vala.page:20
msgid "Dialog"
msgstr "Diálogo"
-#: C/dialog.c.page:25(page/p)
+#. (itstool) path: page/p
+#: C/dialog.c.page:25
msgid "A dialog window that pops up when a button is pressed."
msgstr "Una ventana de diálogo que aparece cuando se pulsa un botón"
-#: C/dialog.c.page:27(page/code)
+#. (itstool) path: page/code
+#: C/dialog.c.page:27
#, no-wrap
msgid ""
"\n"
@@ -10885,7 +11537,8 @@ msgstr ""
" return status;\n"
"}\n"
-#: C/dialog.c.page:35(item/p)
+#. (itstool) path: item/p
+#: C/dialog.c.page:35
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkDialog.html"
"\">GtkDialog</link>"
@@ -10893,8 +11546,9 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkDialog.html"
"\">GtkDialog</link>"
-#: C/dialog.c.page:36(item/p) C/radiobutton.c.page:35(item/p)
-#: C/spinbutton.c.page:37(item/p) C/switch.c.page:34(item/p)
+#. (itstool) path: item/p
+#: C/dialog.c.page:36 C/radiobutton.c.page:35 C/spinbutton.c.page:37
+#: C/switch.c.page:34
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkLabel.html"
"\">GtkLabel</link>"
@@ -10902,12 +11556,14 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkLabel.html"
"\">GtkLabel</link>"
-#: C/dialog.js.page:7(info/title)
+#. (itstool) path: info/title
+#: C/dialog.js.page:7
msgctxt "text"
msgid "Dialog (JavaScript)"
msgstr "Diálogo (JavaScript)"
-#: C/dialog.js.page:22(page/p)
+#. (itstool) path: page/p
+#: C/dialog.js.page:22
msgid ""
"A customizable popup window, which has a content area and an action area. "
"This example dialog's content area contains a short message, and its action "
@@ -10917,7 +11573,8 @@ msgstr ""
"área de acción. Esta área de contenido del diálogo de ejemplo contiene un "
"mensaje, y su área de acción contiene un botón que cierra el diálogo."
-#: C/dialog.js.page:24(page/code)
+#. (itstool) path: page/code
+#: C/dialog.js.page:24
#, no-wrap
msgid ""
"#!/usr/bin/gjs\n"
@@ -11096,7 +11753,8 @@ msgstr ""
"let app = new DialogExample ();\n"
"app.application.run (ARGV);\n"
-#: C/dialog.js.page:31(item/p)
+#. (itstool) path: item/p
+#: C/dialog.js.page:31
msgid ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.Dialog.html"
"\">Gtk.Dialog</link>"
@@ -11104,37 +11762,103 @@ msgstr ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.Dialog.html"
"\">Gtk.Dialog</link>"
-#: C/dialog.py.page:7(info/title)
+#. (itstool) path: info/title
+#: C/dialog.py.page:7
msgctxt "text"
msgid "Dialog (Python)"
msgstr "Diálogo (Python)"
-#: C/dialog.py.page:24(page/p)
+#. (itstool) path: page/p
+#: C/dialog.py.page:24
msgid "A dialog with the response signal connected to a callback function."
msgstr ""
"Un diálogo con la señal de respuesta conectada a una función de retorno de "
"llamada."
-#: C/dialog.py.page:31(section/code)
+#. (itstool) path: section/code
+#: C/dialog.py.page:31
#, no-wrap
+#| msgid ""
+#| "from gi.repository import Gtk\n"
+#| "import sys\n"
+#| "\n"
+#| "class MyWindow(Gtk.ApplicationWindow):\n"
+#| " # construct a window (the parent window)\n"
+#| " def __init__(self, app):\n"
+#| " Gtk.Window.__init__(self, title=\"GNOME Button\", application=app)\n"
+#| " self.set_default_size(250, 50)\n"
+#| "\n"
+#| " # a button on the parent window\n"
+#| " button = Gtk.Button(\"Click me\")\n"
+#| " # connect the signal \"clicked\" of the button with the function on_button_click()\n"
+#| " button.connect(\"clicked\", self.on_button_click)\n"
+#| " # add the button to the window\n"
+#| " self.add(button)\n"
+#| "\n"
+#| " # callback function for the signal \"clicked\" of the button in the parent window\n"
+#| " def on_button_click(self, widget):\n"
+#| " # create a Gtk.Dialog\n"
+#| " dialog = Gtk.Dialog()\n"
+#| " dialog.set_title(\"A Gtk+ Dialog\")\n"
+#| " # The window defined in the constructor (self) is the parent of the dialog.\n"
+#| " # Furthermore, the dialog is on top of the parent window\n"
+#| " dialog.set_transient_for(self)\n"
+#| " # set modal true: no interaction with other windows of the application\n"
+#| " dialog.set_modal(True)\n"
+#| " # add a button to the dialog window\n"
+#| " dialog.add_button(button_text=\"OK\", response_id=Gtk.ResponseType.OK)\n"
+#| " # connect the \"response\" signal (the button has been clicked) to the function on_response()\n"
+#| " dialog.connect(\"response\", self.on_response)\n"
+#| "\n"
+#| " # get the content area of the dialog, add a label to it\n"
+#| " content_area = dialog.get_content_area()\n"
+#| " label = Gtk.Label(\"This demonstrates a dialog with a label\")\n"
+#| " content_area.add(label)\n"
+#| " # show the dialog\n"
+#| " dialog.show_all()\n"
+#| "\n"
+#| " def on_response(self, widget, response_id):\n"
+#| " print \"response_id is\", response_id\n"
+#| " # destroy the widget (the dialog) when the function on_response() is called\n"
+#| " # (that is, when the button of the dialog has been clicked)\n"
+#| " widget.destroy()\n"
+#| "\n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " def __init__(self):\n"
+#| " Gtk.Application.__init__(self)\n"
+#| "\n"
+#| " def do_activate(self):\n"
+#| " win = MyWindow(self)\n"
+#| " win.show_all()\n"
+#| "\n"
+#| " def do_startup (self):\n"
+#| " Gtk.Application.do_startup(self)\n"
+#| "\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
" # construct a window (the parent window)\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"GNOME Button\", application=app)\n"
" self.set_default_size(250, 50)\n"
"\n"
" # a button on the parent window\n"
" button = Gtk.Button(\"Click me\")\n"
-" # connect the signal \"clicked\" of the button with the function on_button_click()\n"
+" # connect the signal \"clicked\" of the button with the function\n"
+" # on_button_click()\n"
" button.connect(\"clicked\", self.on_button_click)\n"
" # add the button to the window\n"
" self.add(button)\n"
"\n"
-" # callback function for the signal \"clicked\" of the button in the parent window\n"
+" # callback function for the signal \"clicked\" of the button in the parent\n"
+" # window\n"
" def on_button_click(self, widget):\n"
" # create a Gtk.Dialog\n"
" dialog = Gtk.Dialog()\n"
@@ -11146,7 +11870,8 @@ msgid ""
" dialog.set_modal(True)\n"
" # add a button to the dialog window\n"
" dialog.add_button(button_text=\"OK\", response_id=Gtk.ResponseType.OK)\n"
-" # connect the \"response\" signal (the button has been clicked) to the function on_response()\n"
+" # connect the \"response\" signal (the button has been clicked) to the\n"
+" # function on_response()\n"
" dialog.connect(\"response\", self.on_response)\n"
"\n"
" # get the content area of the dialog, add a label to it\n"
@@ -11162,7 +11887,9 @@ msgid ""
" # (that is, when the button of the dialog has been clicked)\n"
" widget.destroy()\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -11170,7 +11897,7 @@ msgid ""
" win = MyWindow(self)\n"
" win.show_all()\n"
"\n"
-" def do_startup (self):\n"
+" def do_startup(self):\n"
" Gtk.Application.do_startup(self)\n"
"\n"
"app = MyApplication()\n"
@@ -11180,20 +11907,24 @@ msgstr ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
" # construct a window (the parent window)\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"GNOME Button\", application=app)\n"
" self.set_default_size(250, 50)\n"
"\n"
" # a button on the parent window\n"
" button = Gtk.Button(\"Click me\")\n"
-" # connect the signal \"clicked\" of the button with the function on_button_click()\n"
+" # connect the signal \"clicked\" of the button with the function\n"
+" # on_button_click()\n"
" button.connect(\"clicked\", self.on_button_click)\n"
" # add the button to the window\n"
" self.add(button)\n"
"\n"
-" # callback function for the signal \"clicked\" of the button in the parent window\n"
+" # callback function for the signal \"clicked\" of the button in the parent\n"
+" # window\n"
" def on_button_click(self, widget):\n"
" # create a Gtk.Dialog\n"
" dialog = Gtk.Dialog()\n"
@@ -11205,7 +11936,8 @@ msgstr ""
" dialog.set_modal(True)\n"
" # add a button to the dialog window\n"
" dialog.add_button(button_text=\"OK\", response_id=Gtk.ResponseType.OK)\n"
-" # connect the \"response\" signal (the button has been clicked) to the function on_response()\n"
+" # connect the \"response\" signal (the button has been clicked) to the\n"
+" # function on_response()\n"
" dialog.connect(\"response\", self.on_response)\n"
"\n"
" # get the content area of the dialog, add a label to it\n"
@@ -11221,7 +11953,9 @@ msgstr ""
" # (that is, when the button of the dialog has been clicked)\n"
" widget.destroy()\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -11229,18 +11963,20 @@ msgstr ""
" win = MyWindow(self)\n"
" win.show_all()\n"
"\n"
-" def do_startup (self):\n"
+" def do_startup(self):\n"
" Gtk.Application.do_startup(self)\n"
"\n"
"app = MyApplication()\n"
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/dialog.py.page:36(section/title)
+#. (itstool) path: section/title
+#: C/dialog.py.page:36
msgid "Useful methods for a Dialog widget"
msgstr "Métodos útiles para un widget «Dialog»"
-#: C/dialog.py.page:37(section/p)
+#. (itstool) path: section/p
+#: C/dialog.py.page:37
msgid ""
"In line 16 the signal <code>\"clicked\"</code> is connected to the callback "
"function <code>on_button_click()</code> using <code><var>widget</var>.connect"
@@ -11253,7 +11989,8 @@ msgstr ""
"code>. Consulte la <link xref=\"signals-callbacks.py\"/> para obtener una "
"explicación más detallada."
-#: C/dialog.py.page:39(item/p)
+#. (itstool) path: item/p
+#: C/dialog.py.page:39
msgid ""
"Instead of <code>set_modal(True)</code> we could have <code>set_modal(False)"
"</code> followed by <code>set_destroy_with_parent(True)</code> that would "
@@ -11263,7 +12000,8 @@ msgstr ""
"(False)</code> seguido de <code>set_destroy_with_parent(True)</code> que "
"destruiría la ventana de diálogo si se cerrara la ventana principal."
-#: C/dialog.py.page:40(item/p)
+#. (itstool) path: item/p
+#: C/dialog.py.page:40
msgid ""
"<code>add_button(button_text=\"The Answer\", response_id=42)</code>, where "
"<code>42</code> is any integer, is an alternative to <code>add_button"
@@ -11279,7 +12017,8 @@ msgstr ""
"APPLY, HELP</code>, que a su vez corresponden a los enteros <code>-5, "
"-6,..., -11</code>."
-#: C/dialog.py.page:50(item/p) C/messagedialog.py.page:59(item/p)
+#. (itstool) path: item/p
+#: C/dialog.py.page:50 C/messagedialog.py.page:59
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkDialog.html"
"\">GtkDialog</link>"
@@ -11287,18 +12026,21 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkDialog.html"
"\">GtkDialog</link>"
-#: C/dialog.vala.page:7(info/title)
+#. (itstool) path: info/title
+#: C/dialog.vala.page:7
msgctxt "text"
msgid "Dialog (Vala)"
msgstr "Diálogo (Vala)"
-#: C/dialog.vala.page:22(page/p)
+#. (itstool) path: page/p
+#: C/dialog.vala.page:22
msgid "A dialog with the response signal hooked up to a callback function."
msgstr ""
"Un diálogo con la señal de respuesta enlazada a una función de retorno de "
"llamada."
-#: C/dialog.vala.page:24(page/code)
+#. (itstool) path: page/code
+#: C/dialog.vala.page:24
#, no-wrap
msgid ""
"\n"
@@ -11459,7 +12201,8 @@ msgstr ""
"\treturn new MyApplication ().run (args);\n"
"}\n"
-#: C/dialog.vala.page:31(item/p)
+#. (itstool) path: item/p
+#: C/dialog.vala.page:31
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Dialog.html\">Gtk.Dialog</"
"link>"
@@ -11467,7 +12210,8 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Dialog.html\">Gtk.Dialog</"
"link>"
-#: C/dialog.vala.page:32(item/p)
+#. (itstool) path: item/p
+#: C/dialog.vala.page:32
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Dialog.Dialog.with_buttons."
"html\">Gtk.Dialog.with_buttons</link>"
@@ -11475,7 +12219,8 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Dialog.Dialog.with_buttons."
"html\">Gtk.Dialog.with_buttons</link>"
-#: C/dialog.vala.page:33(item/p) C/label.vala.page:32(item/p)
+#. (itstool) path: item/p
+#: C/dialog.vala.page:33 C/label.vala.page:32
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Label.html\">Gtk.Label</"
"link>"
@@ -11483,7 +12228,8 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Label.html\">Gtk.Label</"
"link>"
-#: C/dialog.vala.page:34(item/p)
+#. (itstool) path: item/p
+#: C/dialog.vala.page:34
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Dialog.get_content_area.html"
"\">get_content_area</link>"
@@ -11491,11 +12237,13 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Dialog.get_content_area.html"
"\">get_content_area</link>"
-#: C/documentation.page:19(page/title)
+#. (itstool) path: page/title
+#: C/documentation.page:19
msgid "Help develop"
msgstr "Ayudar al desarrollo"
-#: C/documentation.page:20(page/p)
+#. (itstool) path: page/p
+#: C/documentation.page:20
msgid ""
"The <app>GNOME Developer Tutorials</app> are developed and maintained by a "
"volunteer community. You are welcome to participate."
@@ -11503,7 +12251,8 @@ msgstr ""
"Los <app>Tutoriales del desarrollador de GNOME</app> los desarrolla y los "
"mantiene una comunidad de voluntarios. Si quiere participar es bienvenido."
-#: C/documentation.page:23(page/p)
+#. (itstool) path: page/p
+#: C/documentation.page:23
msgid ""
"If you would like to <link href=\"https://live.gnome.org/"
"DocumentationProject/Tasks/DeveloperDocs\">help develop <app>GNOME Developer "
@@ -11520,51 +12269,41 @@ msgstr ""
"\"http://mail.gnome.org/mailman/listinfo/gnome-doc-devel-list\">lista "
"decorreo</link>."
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/entry.c.page:22(media) C/entry.js.page:21(media)
-#: C/entry.py.page:28(media) C/entry.vala.page:21(media)
+#: C/entry.c.page:22 C/entry.js.page:21 C/entry.py.page:28
+#: C/entry.vala.page:21
msgctxt "_"
msgid "external ref='media/entry.png' md5='8a828cffdcbaa4bad83342e109f28cc8'"
msgstr "external ref='media/entry.png' md5='8a828cffdcbaa4bad83342e109f28cc8'"
-#: C/entry.c.page:7(info/title)
+#. (itstool) path: info/title
+#: C/entry.c.page:7
msgctxt "text"
msgid "Entry (C)"
msgstr "Entry (C)"
-#: C/entry.c.page:17(info/desc) C/entry.py.page:24(info/desc)
-#: C/entry.vala.page:17(info/desc)
+#. (itstool) path: info/desc
+#: C/entry.c.page:17 C/entry.py.page:24 C/entry.vala.page:17
msgid "A single line text entry field"
msgstr "Un campo de entrada de texto de una sola línea"
-#: C/entry.c.page:20(page/title) C/entry.js.page:20(page/title)
-#: C/entry.py.page:27(page/title) C/entry.vala.page:20(page/title)
+#. (itstool) path: page/title
+#: C/entry.c.page:20 C/entry.js.page:20 C/entry.py.page:27
+#: C/entry.vala.page:20
msgid "Entry"
msgstr "Entry"
-#: C/entry.c.page:23(page/p) C/entry.vala.page:22(page/p)
+#. (itstool) path: page/p
+#: C/entry.c.page:23 C/entry.vala.page:22
msgid "This application greets you in the terminal."
msgstr "Esta aplicación le saluda en la terminal."
-#: C/entry.c.page:25(page/code)
+#. (itstool) path: page/code
+#: C/entry.c.page:25
#, no-wrap
msgid ""
"\n"
@@ -11689,20 +12428,24 @@ msgstr ""
" return status;\n"
"}\n"
-#: C/entry.js.page:7(info/title)
+#. (itstool) path: info/title
+#: C/entry.js.page:7
msgctxt "text"
msgid "Entry (JavaScript)"
msgstr "Entry (JavaScript)"
-#: C/entry.js.page:17(info/desc)
+#. (itstool) path: info/desc
+#: C/entry.js.page:17
msgid "A single-line text entry field"
msgstr "Un campo de entrada de texto de una sola línea"
-#: C/entry.js.page:22(page/p)
+#. (itstool) path: page/p
+#: C/entry.js.page:22
msgid "This application greets you by name through a pop-up window."
msgstr "Esta aplicación le saluda por su nombre con una ventana emergente."
-#: C/entry.js.page:24(page/code)
+#. (itstool) path: page/code
+#: C/entry.js.page:24
#, no-wrap
msgid ""
"#!/usr/bin/gjs\n"
@@ -11879,7 +12622,8 @@ msgstr ""
"let app = new EntryExample ();\n"
"app.application.run (ARGV);\n"
-#: C/entry.js.page:31(item/p)
+#. (itstool) path: item/p
+#: C/entry.js.page:31
msgid ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.Entry.html"
"\">Gtk.Entry</link>"
@@ -11887,31 +12631,74 @@ msgstr ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.Entry.html"
"\">Gtk.Entry</link>"
-#: C/entry.py.page:7(info/title)
+#. (itstool) path: info/title
+#: C/entry.py.page:7
msgctxt "text"
msgid "Entry (Python)"
msgstr "Entry (Python)"
-#: C/entry.py.page:20(credit/name) C/label.py.page:20(credit/name)
-#: C/model-view-controller.py.page:15(credit/name)
-#: C/properties.py.page:15(credit/name)
-#: C/signals-callbacks.py.page:15(credit/name)
-#: C/strings.py.page:15(credit/name) C/textview.py.page:15(credit/name)
-#: C/toolbar_builder.py.page:27(credit/name)
+#. (itstool) path: credit/name
+#: C/entry.py.page:20 C/label.py.page:20 C/model-view-controller.py.page:15
+#: C/properties.py.page:15 C/signals-callbacks.py.page:15 C/strings.py.page:15
+#: C/textview.py.page:15 C/toolbar_builder.py.page:27
msgid "Sebastian Pölsterl"
msgstr "Sebastian Pölsterl"
-#: C/entry.py.page:29(page/p)
+#. (itstool) path: page/p
+#: C/entry.py.page:29
msgid "This application greets you in the terminal with the name you provide."
msgstr "Esta aplicación le saluda en la terminal con el nombre que le indique."
-#: C/entry.py.page:35(section/code)
+#. (itstool) path: section/code
+#: C/entry.py.page:35
#, no-wrap
+#| msgid ""
+#| "from gi.repository import Gtk\n"
+#| "import sys\n"
+#| "\n"
+#| "class MyWindow(Gtk.ApplicationWindow):\n"
+#| " def __init__(self, app):\n"
+#| " Gtk.Window.__init__(self, title=\"What is your name?\", application=app)\n"
+#| " self.set_default_size(300, 100)\n"
+#| " self.set_border_width(10)\n"
+#| "\n"
+#| " # a single line entry\n"
+#| " name_box = Gtk.Entry()\n"
+#| " # emits a signal when the Enter key is pressed, connected to the\n"
+#| " # callback function cb_activate\n"
+#| " name_box.connect(\"activate\", self.cb_activate)\n"
+#| "\n"
+#| " # add the Gtk.Entry to the window\n"
+#| " self.add(name_box)\n"
+#| "\n"
+#| " # the content of the entry is used to write in the terminal\n"
+#| " def cb_activate(self, entry):\n"
+#| " # retrieve the content of the widget\n"
+#| "\t\tname = entry.get_text()\n"
+#| "\t\t# print it in a nice form in the terminal\n"
+#| "\t\tprint \"Hello \" + name + \"!\"\n"
+#| "\n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " def __init__(self):\n"
+#| " Gtk.Application.__init__(self)\n"
+#| "\n"
+#| " def do_activate(self):\n"
+#| " win = MyWindow(self)\n"
+#| " win.show_all()\n"
+#| "\n"
+#| " def do_startup(self):\n"
+#| " Gtk.Application.do_startup(self)\n"
+#| "\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"What is your name?\", application=app)\n"
" self.set_default_size(300, 100)\n"
@@ -11929,11 +12716,13 @@ msgid ""
" # the content of the entry is used to write in the terminal\n"
" def cb_activate(self, entry):\n"
" # retrieve the content of the widget\n"
-"\t\tname = entry.get_text()\n"
-"\t\t# print it in a nice form in the terminal\n"
-"\t\tprint \"Hello \" + name + \"!\"\n"
+" name = entry.get_text()\n"
+" # print it in a nice form in the terminal\n"
+" print \"Hello \" + name + \"!\"\n"
+"\n"
"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -11951,7 +12740,9 @@ msgstr ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"What is your name?\", application=app)\n"
" self.set_default_size(300, 100)\n"
@@ -11969,11 +12760,13 @@ msgstr ""
" # the content of the entry is used to write in the terminal\n"
" def cb_activate(self, entry):\n"
" # retrieve the content of the widget\n"
-"\t\tname = entry.get_text()\n"
-"\t\t# print it in a nice form in the terminal\n"
-"\t\tprint \"Hello \" + name + \"!\"\n"
+" name = entry.get_text()\n"
+" # print it in a nice form in the terminal\n"
+" print \"Hello \" + name + \"!\"\n"
+"\n"
"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -11988,11 +12781,13 @@ msgstr ""
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/entry.py.page:39(section/title)
+#. (itstool) path: section/title
+#: C/entry.py.page:39
msgid "Useful methods for an Entry widget"
msgstr "Métodos útiles para un widget «Entry»"
-#: C/entry.py.page:40(section/p)
+#. (itstool) path: section/p
+#: C/entry.py.page:40
msgid ""
"In line 14 the signal <code>\"activate\"</code> is connected to the callback "
"function <code>cb_activate()</code> using <code><var>widget</var>.connect"
@@ -12030,7 +12825,8 @@ msgstr ""
"movimiento del cursor); <code>«populate-popup»</code> (antes de mostrar el "
"menú contextual de una entrada; puede usarse para añadirle elementos)."
-#: C/entry.py.page:42(item/p)
+#. (itstool) path: item/p
+#: C/entry.py.page:42
msgid ""
"<code>get_buffer()</code> and <code>set_buffer(buffer)</code>, where "
"<code>buffer</code> is a Gtk.EntryBuffer object, can be used to get and set "
@@ -12040,7 +12836,8 @@ msgstr ""
"<code>búfer</code> es un objeto «Gtk.EntryBuffer», pueden usarse para "
"obtener y establecer el búfer de la entrada."
-#: C/entry.py.page:43(item/p)
+#. (itstool) path: item/p
+#: C/entry.py.page:43
msgid ""
"<code>get_text()</code> and <code>set_text(\"some text\")</code> can be used "
"to get and set the content for the entry."
@@ -12048,18 +12845,21 @@ msgstr ""
"<code>get_text()</code> y <code>set_text(\"texto\")</code> pueden usarse "
"para obtener y establecer el contenido de la entrada."
-#: C/entry.py.page:44(item/p)
+#. (itstool) path: item/p
+#: C/entry.py.page:44
msgid "<code>get_text_length()</code> is self-explanatory."
msgstr "<code>get_text_length()</code> obtiene la longitud del texto."
-#: C/entry.py.page:45(item/p)
+#. (itstool) path: item/p
+#: C/entry.py.page:45
msgid ""
"<code>get_text_area()</code> gets the area where the entry's text is drawn."
msgstr ""
"<code>get_text_area()</code> obtiene el área en la que se dibuja el texto de "
"la entrada."
-#: C/entry.py.page:46(item/p)
+#. (itstool) path: item/p
+#: C/entry.py.page:46
msgid ""
"If we set <code>set_visibility(False)</code> the characters in the entry are "
"displayed as the invisible char. This is the best available in the current "
@@ -12073,7 +12873,8 @@ msgstr ""
"(ch)</code>, donde <code>ch</code> es un carácter Unicode. El último método "
"se revierte con <code>unset_invisbile_char()</code>."
-#: C/entry.py.page:47(item/p)
+#. (itstool) path: item/p
+#: C/entry.py.page:47
msgid ""
"<code>set_max_length(int)</code>, where <code>int</code> is an integer, "
"truncates every entry longer than <code>int</code> to have the desired "
@@ -12083,7 +12884,8 @@ msgstr ""
"trunca todas las entradas más largas que <code>int</code> para tener la "
"longitud máxima deseada."
-#: C/entry.py.page:48(item/p)
+#. (itstool) path: item/p
+#: C/entry.py.page:48
msgid ""
"By default, if you press the Entry key the Gtk.Entry emits the signal <code>"
"\"activate\"</code>. If you would like to activate the default widget for "
@@ -12095,13 +12897,15 @@ msgstr ""
"predeterminado de la ventana (establecido usando <code>set_default(widget)</"
"code> en la ventana), entonces use <code>set_activates_default(True)</code>."
-#: C/entry.py.page:49(item/p)
+#. (itstool) path: item/p
+#: C/entry.py.page:49
msgid "To set a frame around the entry: <code>set_has_frame(True)</code>."
msgstr ""
"Para poner un marco alrededor de la entrada: <code>set_has_frame(True)</"
"code>."
-#: C/entry.py.page:50(item/p)
+#. (itstool) path: item/p
+#: C/entry.py.page:50
msgid ""
"<code>set_placeholder_text(\"some text\")</code> sets the text to be "
"displayed in the entry when it is empty and unfocused."
@@ -12109,7 +12913,8 @@ msgstr ""
"<code>set_placeholder_text(\"texto\")</code> establece el texto que mostrar "
"en la entrada cuando esté vacía y sin foco."
-#: C/entry.py.page:51(item/p)
+#. (itstool) path: item/p
+#: C/entry.py.page:51
msgid ""
"<code>set_overwrite_mode(True)</code> and <code>set_overwrite_mode(False)</"
"code> are self-explanatory."
@@ -12117,7 +12922,8 @@ msgstr ""
"<code>set_overwrite_mode(True)</code> y <code>set_overwrite_mode(False)</"
"code> activa o desactiva el modo de sobreescritura."
-#: C/entry.py.page:52(item/p)
+#. (itstool) path: item/p
+#: C/entry.py.page:52
msgid ""
"If we have <code>set_editable(False)</code> the user cannot edit the text in "
"the widget."
@@ -12125,7 +12931,8 @@ msgstr ""
"Si tiene <code>set_editable(False)</code> el usuario no puede editar el "
"texto en el widget."
-#: C/entry.py.page:53(item/p)
+#. (itstool) path: item/p
+#: C/entry.py.page:53
msgid ""
"<code>set_completion(completion)</code>, where <code>completion</code> is a "
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkEntryCompletion.html"
@@ -12137,7 +12944,8 @@ msgstr ""
"\"><code>Gtk.EntryCompletion</code></link>, configura el completado; o lo "
"desactiva si <code>completado</code> es <code>None</code>."
-#: C/entry.py.page:54(item/p)
+#. (itstool) path: item/p
+#: C/entry.py.page:54
msgid ""
"An Entry widget can display progress or activity information behind the "
"text. We use <code>set_progress_fraction(fraction)</code>, where "
@@ -12165,7 +12973,8 @@ msgstr ""
"(la cantidad de movimiento por pulso la determina, como se dijo "
"anteriormente, <code>set_progress_pulse_step()</code>)."
-#: C/entry.py.page:55(item/p)
+#. (itstool) path: item/p
+#: C/entry.py.page:55
msgid ""
"An Entry widget can also show icons. These icons can be activatable by "
"clicking, can be set up as drag source and can have tooltips. To add an "
@@ -12191,7 +13000,8 @@ msgstr ""
"(\"texto del consejo\")</code> o <code>set_icon_tooltip_markup(\"texto del "
"consejo en el lenguaje de marcado Pango\")</code>."
-#: C/entry.py.page:63(item/p)
+#. (itstool) path: item/p
+#: C/entry.py.page:63
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkEntry.html"
"\">GtkEntry</link>"
@@ -12199,12 +13009,14 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkEntry.html"
"\">GtkEntry</link>"
-#: C/entry.vala.page:7(info/title)
+#. (itstool) path: info/title
+#: C/entry.vala.page:7
msgctxt "text"
msgid "Entry (Vala)"
msgstr "Entry (Vala)"
-#: C/entry.vala.page:24(page/code)
+#. (itstool) path: page/code
+#: C/entry.vala.page:24
#, no-wrap
msgid ""
"/* A window in the application. */\n"
@@ -12311,7 +13123,8 @@ msgstr ""
"\treturn new MyApplication ().run (args);\n"
"}\n"
-#: C/entry.vala.page:29(item/p)
+#. (itstool) path: item/p
+#: C/entry.vala.page:29
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Entry.html\">Gtk.Entry</"
"link>"
@@ -12319,11 +13132,12 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Entry.html\">Gtk.Entry</"
"link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#: C/filechooserdialog.py.page:25(media)
+#: C/filechooserdialog.py.page:25
msgctxt "_"
msgid ""
"external ref='media/filechooserdialog_save.png' "
@@ -12332,11 +13146,12 @@ msgstr ""
"external ref='media/filechooserdialog_save.png' "
"md5='3a7a3b71b9d3a36066857843b68ff27f'"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#: C/filechooserdialog.py.page:27(media)
+#: C/filechooserdialog.py.page:27
msgctxt "_"
msgid ""
"external ref='media/filechooserdialog_menu.png' "
@@ -12345,21 +13160,24 @@ msgstr ""
"external ref='media/filechooserdialog_menu.png' "
"md5='8a75f04127a70eba0ed68a9eb1d3bbca'"
-#: C/filechooserdialog.py.page:7(info/title)
+#. (itstool) path: info/title
+#: C/filechooserdialog.py.page:7
msgctxt "text"
msgid "FileChooserDialog (Python)"
msgstr "FileChooserDialog (Python)"
-#: C/filechooserdialog.py.page:21(info/desc)
+#. (itstool) path: info/desc
+#: C/filechooserdialog.py.page:21
msgid "A dialog suitable for \"Open\" and \"Save\" commands"
msgstr "Un diálogo adecuado para comandos «Abrir» y «Guardar»"
-#: C/filechooserdialog.py.page:24(page/title)
-#: C/filechooserdialog.vala.page:23(page/title)
+#. (itstool) path: page/title
+#: C/filechooserdialog.py.page:24 C/filechooserdialog.vala.page:23
msgid "FileChooserDialog"
msgstr "FileChooserDialog"
-#: C/filechooserdialog.py.page:26(page/p)
+#. (itstool) path: page/p
+#: C/filechooserdialog.py.page:26
msgid ""
"This FileChooserDialog saves a text document, which can be opened or written "
"from scratch in a TextView (see below)."
@@ -12367,17 +13185,20 @@ msgstr ""
"Este «FileChooserDialog» guarda un documento de texto, que puede abrirse o "
"escribirse desde cero en un «TextView» (vea a continuación)."
-#: C/filechooserdialog.py.page:28(page/p)
+#. (itstool) path: page/p
+#: C/filechooserdialog.py.page:28
msgid "It is also possible to call a FileChooserDialog to open a new document."
msgstr ""
"También es posible llamar a un «FileChooserDialog» para abrir un documento "
"nuevo."
-#: C/filechooserdialog.py.page:33(section/title)
+#. (itstool) path: section/title
+#: C/filechooserdialog.py.page:33
msgid "Steps to recreate the example"
msgstr "Pasos para recrear el ejemplo"
-#: C/filechooserdialog.py.page:35(item/p)
+#. (itstool) path: item/p
+#: C/filechooserdialog.py.page:35
msgid ""
"Create a file .ui to describe an app-menu with items \"New\", \"Open\", "
"\"Save\", \"Save as\", and \"Quit\". This can be done with Glade or in a "
@@ -12387,7 +13208,8 @@ msgstr ""
"«New», «Open», «Save», «Save as», y «Quit». Esto puede hacerse con Glade o "
"en un editor de texto. Consulte <link xref=\"#xml\"/>"
-#: C/filechooserdialog.py.page:36(item/p)
+#. (itstool) path: item/p
+#: C/filechooserdialog.py.page:36
msgid ""
"Create a Python program for a Gtk.TextView with a Gtk.Buffer <code>self."
"buffer</code>, and a <code>self.file</code> which will be a Gio.File and we "
@@ -12397,7 +13219,8 @@ msgstr ""
"<code>self.buffer</code>, y un <code>self.file</code> que será un «Gio.File» "
"establecido inicialmente a <code>None</code>."
-#: C/filechooserdialog.py.page:37(item/p)
+#. (itstool) path: item/p
+#: C/filechooserdialog.py.page:37
msgid ""
"In this program, create also the actions corresponding to the items in the "
"app-menu, connect them to callback functions, and import the menu in the "
@@ -12407,7 +13230,8 @@ msgstr ""
"en el menú de aplicación, conéctelos a funciones de retorno de llamada, e "
"importe el menú en el método <code>do_startup()</code> con un «Gtk.Builder»."
-#: C/filechooserdialog.py.page:38(item/p)
+#. (itstool) path: item/p
+#: C/filechooserdialog.py.page:38
msgid ""
"\"New\" and \"Quit\" actions and callback functions are quite "
"straightforward, see <link xref=\"#code\"/>. See <link xref=\"signals-"
@@ -12419,7 +13243,8 @@ msgstr ""
"callbacks.py\"/> para obtener una explicación más detallada de señales y "
"funciones de retorno de llamada."
-#: C/filechooserdialog.py.page:39(item/p)
+#. (itstool) path: item/p
+#: C/filechooserdialog.py.page:39
msgid ""
"\"Open\" callback should create and open a Gtk.FileChooserDialog for \"Open"
"\", connected with another callback function for each of the two \"Open\" "
@@ -12430,7 +13255,8 @@ msgstr ""
"llamada por cada uno de los dos botones «Open» y «Cancel» del "
"«FileChooserDialog»."
-#: C/filechooserdialog.py.page:40(item/p)
+#. (itstool) path: item/p
+#: C/filechooserdialog.py.page:40
msgid ""
"\"Save as\" works basically as \"Open\", but the callback function of the "
"\"Save\" button depends on a more complex method <code>save_to_file()</code>."
@@ -12439,7 +13265,8 @@ msgstr ""
"llamada del botón «Save» depende en un método más complejo, "
"<code>save_to_file()</code>."
-#: C/filechooserdialog.py.page:41(item/p)
+#. (itstool) path: item/p
+#: C/filechooserdialog.py.page:41
msgid ""
"\"Save\" can be reduced to the case where the file is <code>None</code>, "
"that is the case where <code>self.file</code> is a new file, which in turn "
@@ -12451,7 +13278,8 @@ msgstr ""
"su vez es el caso de «Save as»; y al caso en el que el archivo no es "
"<code>None</code>, que a su vez se reduce a <code>save_to_file()</code>."
-#: C/filechooserdialog.py.page:42(item/p)
+#. (itstool) path: item/p
+#: C/filechooserdialog.py.page:42
msgid ""
"Finally, the method <code>save_to_file()</code>: see <link xref=\"#code\"/>, "
"lines 146 - 175."
@@ -12459,12 +13287,13 @@ msgstr ""
"Finalmente, el método <code>save_to_file()</code>: consulte <link xref="
"\"#code\"/>, líneas 146 - 175."
-#: C/filechooserdialog.py.page:47(section/title)
+#. (itstool) path: section/title
+#: C/filechooserdialog.py.page:47
msgid "XML file which creates the app-menu"
msgstr "Archivo XML que crea el menú de aplicación"
-#: C/filechooserdialog.py.page:48(section/code)
-#: C/filechooserdialog.vala.page:29(section/code)
+#. (itstool) path: section/code
+#: C/filechooserdialog.py.page:48 C/filechooserdialog.vala.page:29
#, no-wrap
msgid ""
"<?xml version=\"1.0\"?>\n"
@@ -12531,8 +13360,219 @@ msgstr ""
" </menu>\n"
"</interface>\n"
-#: C/filechooserdialog.py.page:53(section/code)
+#. (itstool) path: section/code
+#: C/filechooserdialog.py.page:53
#, no-wrap
+#| msgid ""
+#| "from gi.repository import Gtk\n"
+#| "from gi.repository import Gdk\n"
+#| "from gi.repository import Gio\n"
+#| "from gi.repository import GObject\n"
+#| "import sys\n"
+#| "\n"
+#| "class MyWindow(Gtk.ApplicationWindow):\n"
+#| " def __init__(self, app):\n"
+#| " Gtk.Window.__init__(self, title=\"FileChooserDialog Example\", application=app)\n"
+#| " self.set_default_size(400, 400)\n"
+#| "\n"
+#| " # the actions for the window menu, connected to the callback functions\n"
+#| " new_action = Gio.SimpleAction.new(\"new\", None)\n"
+#| " new_action.connect(\"activate\", self.new_callback)\n"
+#| " self.add_action(new_action)\n"
+#| " \n"
+#| " open_action = Gio.SimpleAction.new(\"open\", None)\n"
+#| " open_action.connect(\"activate\", self.open_callback)\n"
+#| " self.add_action(open_action)\n"
+#| " \n"
+#| " save_action = Gio.SimpleAction.new(\"save\", None)\n"
+#| " save_action.connect(\"activate\", self.save_callback)\n"
+#| " self.add_action(save_action)\n"
+#| " \n"
+#| " save_as_action = Gio.SimpleAction.new(\"save-as\", None)\n"
+#| " save_as_action.connect(\"activate\", self.save_as_callback)\n"
+#| " self.add_action(save_as_action)\n"
+#| " \n"
+#| " # the file\n"
+#| " self.file = None\n"
+#| " \n"
+#| " # the textview with the buffer\n"
+#| " self.buffer = Gtk.TextBuffer()\n"
+#| " textview = Gtk.TextView(buffer=self.buffer)\n"
+#| " textview.set_wrap_mode(Gtk.WrapMode.WORD)\n"
+#| " \n"
+#| " # a scrolled window for the textview\n"
+#| " self.scrolled_window = Gtk.ScrolledWindow()\n"
+#| " self.scrolled_window.set_policy(Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC)\n"
+#| " self.scrolled_window.add(textview)\n"
+#| " self.scrolled_window.set_border_width(5)\n"
+#| " \n"
+#| " # add the scrolled window to the window\n"
+#| " self.add(self.scrolled_window)\n"
+#| "\n"
+#| " # callback for new\n"
+#| " def new_callback(self, action, parameter):\n"
+#| " self.buffer.set_text(\"\")\n"
+#| " print \"New file created\"\n"
+#| " \n"
+#| " # callback for open\n"
+#| " def open_callback(self, action, parameter):\n"
+#| " # create a filechooserdialog to open: \n"
+#| " # the arguments are: title of the window, parent_window, action, (buttons, response)\n"
+#| " open_dialog = Gtk.FileChooserDialog (\"Pick a file\", self,\n"
+#| " Gtk.FileChooserAction.OPEN, \n"
+#| " (Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL, \n"
+#| " Gtk.STOCK_OPEN, Gtk.ResponseType.ACCEPT))\n"
+#| " \n"
+#| " # not only local files can be selected in the file selector\n"
+#| " open_dialog.set_local_only(False)\n"
+#| " # dialog always on top of the textview window\n"
+#| " open_dialog.set_modal(True)\n"
+#| " # connect the dialog with the callback function open_response_cb()\n"
+#| " open_dialog.connect(\"response\", self.open_response_cb)\n"
+#| " # show the dialog\n"
+#| " open_dialog.show()\n"
+#| "\n"
+#| " # callback function for the dialog open_dialog\n"
+#| " def open_response_cb(self, dialog, response_id):\n"
+#| " open_dialog = dialog\n"
+#| " # if response is \"ACCEPT\" (the button \"Open\" has been clicked)\n"
+#| " if response_id == Gtk.ResponseType.ACCEPT:\n"
+#| " # self.file is the file that we get from the FileChooserDialog\n"
+#| " self.file = open_dialog.get_file()\n"
+#| " # an empty string (provisionally)\n"
+#| " content = \"\"\n"
+#| " try:\n"
+#| " # load the content of the file into memory:\n"
+#| " # success is a boolean depending on the success of the operation\n"
+#| " # content is self-explanatory\n"
+#| " # etags is an entity tag (can be used to quickly determine if the\n"
+#| " # file has been modified from the version on the file system)\n"
+#| " [success, content, etags] = self.file.load_contents(None)\n"
+#| " except GObject.GError as e:\n"
+#| " print \"Error: \" + e.message\n"
+#| " # set the content as the text into the buffer\n"
+#| " self.buffer.set_text(content, len(content))\n"
+#| " print \"opened: \" + open_dialog.get_filename()\n"
+#| " # if response is \"CANCEL\" (the button \"Cancel\" has been clicked)\n"
+#| " elif response_id == Gtk.ResponseType.CANCEL:\n"
+#| " print \"cancelled: FileChooserAction.OPEN\"\n"
+#| " # destroy the FileChooserDialog\n"
+#| " dialog.destroy()\n"
+#| "\n"
+#| " # callback function for save_as\n"
+#| " def save_as_callback(self, action, parameter):\n"
+#| " # create a filechooserdialog to save: \n"
+#| " # the arguments are: title of the window, parent_window, action, (buttons, response)\n"
+#| " save_dialog = Gtk.FileChooserDialog (\"Pick a file\", self,\n"
+#| " Gtk.FileChooserAction.SAVE, \n"
+#| " (Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL, \n"
+#| " Gtk.STOCK_SAVE, Gtk.ResponseType.ACCEPT))\n"
+#| " # the dialog will present a confirmation dialog if the user types a file name that\n"
+#| " # already exists\n"
+#| " save_dialog.set_do_overwrite_confirmation(True)\n"
+#| " # dialog always on top of the textview window\n"
+#| " save_dialog.set_modal(True)\n"
+#| " # if self.file has already been saved\n"
+#| " if self.file is not None:\n"
+#| " try:\n"
+#| " # set self.file as the current filename for the file chooser\n"
+#| " save_dialog.set_file(self.file)\n"
+#| " except GObject.GError as e:\n"
+#| " print \"Error: \" + e.message\n"
+#| " # connect the dialog to the callback function save_response_cb()\n"
+#| " save_dialog.connect(\"response\", self.save_response_cb)\n"
+#| " # show the dialog\n"
+#| " save_dialog.show()\n"
+#| " \n"
+#| " # callback function for the dialog save_dialog\n"
+#| " def save_response_cb(self, dialog, response_id):\n"
+#| " save_dialog = dialog\n"
+#| " # if response is \"ACCEPT\" (the button \"Save\" has been clicked)\n"
+#| " if response_id == Gtk.ResponseType.ACCEPT:\n"
+#| " # self.file is the currently selected file\n"
+#| " self.file = save_dialog.get_file()\n"
+#| " # save to file (see below)\n"
+#| " self.save_to_file()\n"
+#| " # if response is \"CANCEL\" (the button \"Cancel\" has been clicked)\n"
+#| " elif response_id == Gtk.ResponseType.CANCEL:\n"
+#| " print \"cancelled: FileChooserAction.SAVE\"\n"
+#| " # destroy the FileChooserDialog\n"
+#| " dialog.destroy()\n"
+#| " \n"
+#| " # callback function for save \n"
+#| " def save_callback(self, action, parameter):\n"
+#| " # if self.file is not already there\n"
+#| " if self.file is not None:\n"
+#| " self.save_to_file()\n"
+#| " # self.file is a new file\n"
+#| " else:\n"
+#| " # use save_as\n"
+#| " self.save_as_callback(action, parameter)\n"
+#| "\n"
+#| " # save_to_file\n"
+#| " def save_to_file(self):\n"
+#| " # get the content of the buffer, without hidden characters\n"
+#| " [start, end] = self.buffer.get_bounds()\n"
+#| " current_contents = self.buffer.get_text(start, end, False)\n"
+#| " # if there is some content\n"
+#| " if current_contents != \"\":\n"
+#| " # set the content as content of self.file.\n"
+#| " # arguments: contents, etags, make_backup, flags, GError\n"
+#| " try:\n"
+#| " self.file.replace_contents(current_contents,\n"
+#| " None,\n"
+#| " False,\n"
+#| " Gio.FileCreateFlags.NONE,\n"
+#| " None)\n"
+#| " print \"saved: \" + self.file.get_path()\n"
+#| " except GObject.GError as e:\n"
+#| " print \"Error: \" + e.message\n"
+#| " # if the contents are empty\n"
+#| " else:\n"
+#| " # create (if the file does not exist) or overwrite the file in readwrite mode.\n"
+#| " # arguments: etags, make_backup, flags, GError \n"
+#| " try:\n"
+#| " self.file.replace_readwrite(None,\n"
+#| " False,\n"
+#| " Gio.FileCreateFlags.NONE, \n"
+#| " None)\n"
+#| " print \"saved: \" + self.file.get_path()\n"
+#| " except GObject.GError as e:\n"
+#| " print \"Error: \" + e.message\n"
+#| " \n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " def __init__(self):\n"
+#| " Gtk.Application.__init__(self)\n"
+#| "\n"
+#| " def do_activate(self):\n"
+#| " win = MyWindow(self)\n"
+#| " win.show_all()\n"
+#| "\n"
+#| " def do_startup(self):\n"
+#| " Gtk.Application.do_startup(self)\n"
+#| "\n"
+#| " # app action quit, connected to the callback function\n"
+#| " quit_action = Gio.SimpleAction.new(\"quit\", None)\n"
+#| " quit_action.connect(\"activate\", self.quit_callback)\n"
+#| " self.add_action(quit_action)\n"
+#| "\n"
+#| " # get the menu from the ui file with a builder\n"
+#| " builder = Gtk.Builder()\n"
+#| " try:\n"
+#| " builder.add_from_file(\"filechooserdialog.ui\")\n"
+#| " except:\n"
+#| " print \"file not found\"\n"
+#| " sys.exit()\n"
+#| " menu = builder.get_object(\"appmenu\")\n"
+#| " self.set_app_menu(menu)\n"
+#| " \n"
+#| " # callback function for quit\n"
+#| " def quit_callback(self, action, parameter):\n"
+#| " self.quit()\n"
+#| "\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"from gi.repository import Gtk\n"
"from gi.repository import Gdk\n"
@@ -12540,42 +13580,46 @@ msgid ""
"from gi.repository import GObject\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
-" Gtk.Window.__init__(self, title=\"FileChooserDialog Example\", application=app)\n"
+" Gtk.Window.__init__(\n"
+" self, title=\"FileChooserDialog Example\", application=app)\n"
" self.set_default_size(400, 400)\n"
"\n"
" # the actions for the window menu, connected to the callback functions\n"
" new_action = Gio.SimpleAction.new(\"new\", None)\n"
" new_action.connect(\"activate\", self.new_callback)\n"
" self.add_action(new_action)\n"
-" \n"
+"\n"
" open_action = Gio.SimpleAction.new(\"open\", None)\n"
" open_action.connect(\"activate\", self.open_callback)\n"
" self.add_action(open_action)\n"
-" \n"
+"\n"
" save_action = Gio.SimpleAction.new(\"save\", None)\n"
" save_action.connect(\"activate\", self.save_callback)\n"
" self.add_action(save_action)\n"
-" \n"
+"\n"
" save_as_action = Gio.SimpleAction.new(\"save-as\", None)\n"
" save_as_action.connect(\"activate\", self.save_as_callback)\n"
" self.add_action(save_as_action)\n"
-" \n"
+"\n"
" # the file\n"
" self.file = None\n"
-" \n"
+"\n"
" # the textview with the buffer\n"
" self.buffer = Gtk.TextBuffer()\n"
" textview = Gtk.TextView(buffer=self.buffer)\n"
" textview.set_wrap_mode(Gtk.WrapMode.WORD)\n"
-" \n"
+"\n"
" # a scrolled window for the textview\n"
" self.scrolled_window = Gtk.ScrolledWindow()\n"
-" self.scrolled_window.set_policy(Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC)\n"
+" self.scrolled_window.set_policy(\n"
+" Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC)\n"
" self.scrolled_window.add(textview)\n"
" self.scrolled_window.set_border_width(5)\n"
-" \n"
+"\n"
" # add the scrolled window to the window\n"
" self.add(self.scrolled_window)\n"
"\n"
@@ -12583,16 +13627,17 @@ msgid ""
" def new_callback(self, action, parameter):\n"
" self.buffer.set_text(\"\")\n"
" print \"New file created\"\n"
-" \n"
+"\n"
" # callback for open\n"
" def open_callback(self, action, parameter):\n"
-" # create a filechooserdialog to open: \n"
-" # the arguments are: title of the window, parent_window, action, (buttons, response)\n"
-" open_dialog = Gtk.FileChooserDialog (\"Pick a file\", self,\n"
-" Gtk.FileChooserAction.OPEN, \n"
-" (Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL, \n"
-" Gtk.STOCK_OPEN, Gtk.ResponseType.ACCEPT))\n"
-" \n"
+" # create a filechooserdialog to open:\n"
+" # the arguments are: title of the window, parent_window, action,\n"
+" # (buttons, response)\n"
+" open_dialog = Gtk.FileChooserDialog(\"Pick a file\", self,\n"
+" Gtk.FileChooserAction.OPEN,\n"
+" (Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL,\n"
+" Gtk.STOCK_OPEN, Gtk.ResponseType.ACCEPT))\n"
+"\n"
" # not only local files can be selected in the file selector\n"
" open_dialog.set_local_only(False)\n"
" # dialog always on top of the textview window\n"
@@ -12631,12 +13676,13 @@ msgid ""
"\n"
" # callback function for save_as\n"
" def save_as_callback(self, action, parameter):\n"
-" # create a filechooserdialog to save: \n"
-" # the arguments are: title of the window, parent_window, action, (buttons, response)\n"
-" save_dialog = Gtk.FileChooserDialog (\"Pick a file\", self,\n"
-" Gtk.FileChooserAction.SAVE, \n"
-" (Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL, \n"
-" Gtk.STOCK_SAVE, Gtk.ResponseType.ACCEPT))\n"
+" # create a filechooserdialog to save:\n"
+" # the arguments are: title of the window, parent_window, action,\n"
+" # (buttons, response)\n"
+" save_dialog = Gtk.FileChooserDialog(\"Pick a file\", self,\n"
+" Gtk.FileChooserAction.SAVE,\n"
+" (Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL,\n"
+" Gtk.STOCK_SAVE, Gtk.ResponseType.ACCEPT))\n"
" # the dialog will present a confirmation dialog if the user types a file name that\n"
" # already exists\n"
" save_dialog.set_do_overwrite_confirmation(True)\n"
@@ -12653,7 +13699,7 @@ msgid ""
" save_dialog.connect(\"response\", self.save_response_cb)\n"
" # show the dialog\n"
" save_dialog.show()\n"
-" \n"
+"\n"
" # callback function for the dialog save_dialog\n"
" def save_response_cb(self, dialog, response_id):\n"
" save_dialog = dialog\n"
@@ -12668,8 +13714,8 @@ msgid ""
" print \"cancelled: FileChooserAction.SAVE\"\n"
" # destroy the FileChooserDialog\n"
" dialog.destroy()\n"
-" \n"
-" # callback function for save \n"
+"\n"
+" # callback function for save\n"
" def save_callback(self, action, parameter):\n"
" # if self.file is not already there\n"
" if self.file is not None:\n"
@@ -12700,17 +13746,19 @@ msgid ""
" # if the contents are empty\n"
" else:\n"
" # create (if the file does not exist) or overwrite the file in readwrite mode.\n"
-" # arguments: etags, make_backup, flags, GError \n"
+" # arguments: etags, make_backup, flags, GError\n"
" try:\n"
" self.file.replace_readwrite(None,\n"
" False,\n"
-" Gio.FileCreateFlags.NONE, \n"
+" Gio.FileCreateFlags.NONE,\n"
" None)\n"
" print \"saved: \" + self.file.get_path()\n"
" except GObject.GError as e:\n"
" print \"Error: \" + e.message\n"
-" \n"
+"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -12735,7 +13783,7 @@ msgid ""
" sys.exit()\n"
" menu = builder.get_object(\"appmenu\")\n"
" self.set_app_menu(menu)\n"
-" \n"
+"\n"
" # callback function for quit\n"
" def quit_callback(self, action, parameter):\n"
" self.quit()\n"
@@ -12750,42 +13798,46 @@ msgstr ""
"from gi.repository import GObject\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
-" Gtk.Window.__init__(self, title=\"FileChooserDialog Example\", application=app)\n"
+" Gtk.Window.__init__(\n"
+" self, title=\"FileChooserDialog Example\", application=app)\n"
" self.set_default_size(400, 400)\n"
"\n"
" # the actions for the window menu, connected to the callback functions\n"
" new_action = Gio.SimpleAction.new(\"new\", None)\n"
" new_action.connect(\"activate\", self.new_callback)\n"
" self.add_action(new_action)\n"
-" \n"
+"\n"
" open_action = Gio.SimpleAction.new(\"open\", None)\n"
" open_action.connect(\"activate\", self.open_callback)\n"
" self.add_action(open_action)\n"
-" \n"
+"\n"
" save_action = Gio.SimpleAction.new(\"save\", None)\n"
" save_action.connect(\"activate\", self.save_callback)\n"
" self.add_action(save_action)\n"
-" \n"
+"\n"
" save_as_action = Gio.SimpleAction.new(\"save-as\", None)\n"
" save_as_action.connect(\"activate\", self.save_as_callback)\n"
" self.add_action(save_as_action)\n"
-" \n"
+"\n"
" # the file\n"
" self.file = None\n"
-" \n"
+"\n"
" # the textview with the buffer\n"
" self.buffer = Gtk.TextBuffer()\n"
" textview = Gtk.TextView(buffer=self.buffer)\n"
" textview.set_wrap_mode(Gtk.WrapMode.WORD)\n"
-" \n"
+"\n"
" # a scrolled window for the textview\n"
" self.scrolled_window = Gtk.ScrolledWindow()\n"
-" self.scrolled_window.set_policy(Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC)\n"
+" self.scrolled_window.set_policy(\n"
+" Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC)\n"
" self.scrolled_window.add(textview)\n"
" self.scrolled_window.set_border_width(5)\n"
-" \n"
+"\n"
" # add the scrolled window to the window\n"
" self.add(self.scrolled_window)\n"
"\n"
@@ -12793,16 +13845,17 @@ msgstr ""
" def new_callback(self, action, parameter):\n"
" self.buffer.set_text(\"\")\n"
" print \"New file created\"\n"
-" \n"
+"\n"
" # callback for open\n"
" def open_callback(self, action, parameter):\n"
-" # create a filechooserdialog to open: \n"
-" # the arguments are: title of the window, parent_window, action, (buttons, response)\n"
-" open_dialog = Gtk.FileChooserDialog (\"Pick a file\", self,\n"
-" Gtk.FileChooserAction.OPEN, \n"
-" (Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL, \n"
-" Gtk.STOCK_OPEN, Gtk.ResponseType.ACCEPT))\n"
-" \n"
+" # create a filechooserdialog to open:\n"
+" # the arguments are: title of the window, parent_window, action,\n"
+" # (buttons, response)\n"
+" open_dialog = Gtk.FileChooserDialog(\"Pick a file\", self,\n"
+" Gtk.FileChooserAction.OPEN,\n"
+" (Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL,\n"
+" Gtk.STOCK_OPEN, Gtk.ResponseType.ACCEPT))\n"
+"\n"
" # not only local files can be selected in the file selector\n"
" open_dialog.set_local_only(False)\n"
" # dialog always on top of the textview window\n"
@@ -12841,12 +13894,13 @@ msgstr ""
"\n"
" # callback function for save_as\n"
" def save_as_callback(self, action, parameter):\n"
-" # create a filechooserdialog to save: \n"
-" # the arguments are: title of the window, parent_window, action, (buttons, response)\n"
-" save_dialog = Gtk.FileChooserDialog (\"Pick a file\", self,\n"
-" Gtk.FileChooserAction.SAVE, \n"
-" (Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL, \n"
-" Gtk.STOCK_SAVE, Gtk.ResponseType.ACCEPT))\n"
+" # create a filechooserdialog to save:\n"
+" # the arguments are: title of the window, parent_window, action,\n"
+" # (buttons, response)\n"
+" save_dialog = Gtk.FileChooserDialog(\"Pick a file\", self,\n"
+" Gtk.FileChooserAction.SAVE,\n"
+" (Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL,\n"
+" Gtk.STOCK_SAVE, Gtk.ResponseType.ACCEPT))\n"
" # the dialog will present a confirmation dialog if the user types a file name that\n"
" # already exists\n"
" save_dialog.set_do_overwrite_confirmation(True)\n"
@@ -12863,7 +13917,7 @@ msgstr ""
" save_dialog.connect(\"response\", self.save_response_cb)\n"
" # show the dialog\n"
" save_dialog.show()\n"
-" \n"
+"\n"
" # callback function for the dialog save_dialog\n"
" def save_response_cb(self, dialog, response_id):\n"
" save_dialog = dialog\n"
@@ -12878,8 +13932,8 @@ msgstr ""
" print \"cancelled: FileChooserAction.SAVE\"\n"
" # destroy the FileChooserDialog\n"
" dialog.destroy()\n"
-" \n"
-" # callback function for save \n"
+"\n"
+" # callback function for save\n"
" def save_callback(self, action, parameter):\n"
" # if self.file is not already there\n"
" if self.file is not None:\n"
@@ -12910,17 +13964,19 @@ msgstr ""
" # if the contents are empty\n"
" else:\n"
" # create (if the file does not exist) or overwrite the file in readwrite mode.\n"
-" # arguments: etags, make_backup, flags, GError \n"
+" # arguments: etags, make_backup, flags, GError\n"
" try:\n"
" self.file.replace_readwrite(None,\n"
" False,\n"
-" Gio.FileCreateFlags.NONE, \n"
+" Gio.FileCreateFlags.NONE,\n"
" None)\n"
" print \"saved: \" + self.file.get_path()\n"
" except GObject.GError as e:\n"
" print \"Error: \" + e.message\n"
-" \n"
+"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -12945,7 +14001,7 @@ msgstr ""
" sys.exit()\n"
" menu = builder.get_object(\"appmenu\")\n"
" self.set_app_menu(menu)\n"
-" \n"
+"\n"
" # callback function for quit\n"
" def quit_callback(self, action, parameter):\n"
" self.quit()\n"
@@ -12954,11 +14010,13 @@ msgstr ""
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/filechooserdialog.py.page:57(section/title)
+#. (itstool) path: section/title
+#: C/filechooserdialog.py.page:57
msgid "Useful methods for a FileChooserDialog"
msgstr "Métodos útiles para un «FileChooserDialog»"
-#: C/filechooserdialog.py.page:58(section/p)
+#. (itstool) path: section/p
+#: C/filechooserdialog.py.page:58
msgid ""
"Note that the action of the FileChooserDialog can be one of the following: "
"<code>Gtk.FileChooserAction.OPEN</code> (the file chooser will only let the "
@@ -12978,11 +14036,13 @@ msgstr ""
"existente), o <code>Gtk.FileChooserAction.CREATE_FOLDER</code> (se le "
"permitirá al usuario elegir una carpeta nueva o existente)."
-#: C/filechooserdialog.py.page:59(section/p)
+#. (itstool) path: section/p
+#: C/filechooserdialog.py.page:59
msgid "Besides the methods used in the <link xref=\"#code\"/>, we have:"
msgstr "Además de los métodos usados en el <link xref=\"#code\"/>, existen:"
-#: C/filechooserdialog.py.page:61(item/p)
+#. (itstool) path: item/p
+#: C/filechooserdialog.py.page:61
msgid ""
"<code>set_show_hidden(True)</code> is used to display hidden files and "
"folders."
@@ -12990,7 +14050,8 @@ msgstr ""
"<code>set_show_hidden(True)</code> se usa para mostrar carpetas y archivos "
"ocultos."
-#: C/filechooserdialog.py.page:62(item/p)
+#. (itstool) path: item/p
+#: C/filechooserdialog.py.page:62
msgid ""
"<code>set_select_multiple(True)</code> sets that multiple files can be "
"selected. This is only relevant if the mode is <code>Gtk.FileChooserAction."
@@ -13001,7 +14062,8 @@ msgstr ""
"FileChooserAction.OPEN</code> o <code>Gtk.FileChooserAction.SELECT_FOLDER</"
"code>."
-#: C/filechooserdialog.py.page:63(item/p)
+#. (itstool) path: item/p
+#: C/filechooserdialog.py.page:63
msgid ""
"In a \"Save as\" dialog, <code>set_current_name(current_name)</code> sets "
"<code>current_name</code> in the file selector, as if entered by the user; "
@@ -13014,7 +14076,8 @@ msgstr ""
"como <code>Sin nombre.txt</code>. Este método no debe usarse excepto en un "
"diálogo «Save as»."
-#: C/filechooserdialog.py.page:64(item/p)
+#. (itstool) path: item/p
+#: C/filechooserdialog.py.page:64
msgid ""
"The default current folder is \"recent items\". To set another folder use "
"<code>set_current_folder_uri(uri)</code>; but note you should use this "
@@ -13027,7 +14090,8 @@ msgstr ""
"una carpeta específica sólo cuando está ejecutando un comando «Save as» y ya "
"tenga un archivo guardado en algún lado."
-#: C/filechooserdialog.py.page:72(item/p)
+#. (itstool) path: item/p
+#: C/filechooserdialog.py.page:72
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkFileChooserDialog.html"
"\">GtkFileChooserDialog</link>"
@@ -13035,7 +14099,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkFileChooserDialog.html"
"\">GtkFileChooserDialog</link>"
-#: C/filechooserdialog.py.page:73(item/p)
+#. (itstool) path: item/p
+#: C/filechooserdialog.py.page:73
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkFileChooser.html"
"\">GtkFileChooser</link>"
@@ -13043,9 +14108,9 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkFileChooser.html"
"\">GtkFileChooser</link>"
-#: C/filechooserdialog.py.page:74(item/p) C/image.c.page:33(item/p)
-#: C/label.c.page:37(item/p) C/menubar.c.page:37(item/p)
-#: C/scrolledwindow.c.page:34(item/p)
+#. (itstool) path: item/p
+#: C/filechooserdialog.py.page:74 C/image.c.page:33 C/label.c.page:37
+#: C/menubar.c.page:37 C/scrolledwindow.c.page:34
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkWindow.html"
"\">GtkWindow</link>"
@@ -13053,7 +14118,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkWindow.html"
"\">GtkWindow</link>"
-#: C/filechooserdialog.py.page:75(item/p) C/textview.c.page:38(item/p)
+#. (itstool) path: item/p
+#: C/filechooserdialog.py.page:75 C/textview.c.page:38
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkTextView.html"
"\">GtkTextView</link>"
@@ -13061,7 +14127,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkTextView.html"
"\">GtkTextView</link>"
-#: C/filechooserdialog.py.page:76(item/p) C/textview.c.page:37(item/p)
+#. (itstool) path: item/p
+#: C/filechooserdialog.py.page:76 C/textview.c.page:37
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkTextBuffer.html"
"\">GtkTextBuffer</link>"
@@ -13069,8 +14136,9 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkTextBuffer.html"
"\">GtkTextBuffer</link>"
-#: C/filechooserdialog.py.page:77(item/p) C/scrolledwindow.c.page:35(item/p)
-#: C/textview.c.page:39(item/p)
+#. (itstool) path: item/p
+#: C/filechooserdialog.py.page:77 C/scrolledwindow.c.page:35
+#: C/textview.c.page:39
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkScrolledWindow.html"
"\">GtkScrolledWindow</link>"
@@ -13078,13 +14146,15 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkScrolledWindow.html"
"\">GtkScrolledWindow</link>"
-#: C/filechooserdialog.py.page:78(item/p)
+#. (itstool) path: item/p
+#: C/filechooserdialog.py.page:78
msgid ""
"<link href=\"http://developer.gnome.org/gio/stable/GFile.html\">GFile</link>"
msgstr ""
"<link href=\"http://developer.gnome.org/gio/stable/GFile.html\">GFile</link>"
-#: C/filechooserdialog.py.page:80(item/p)
+#. (itstool) path: item/p
+#: C/filechooserdialog.py.page:80
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkBuilder.html"
"\">GtkBuilder</link>"
@@ -13092,20 +14162,24 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkBuilder.html"
"\">GtkBuilder</link>"
-#: C/filechooserdialog.vala.page:7(info/title)
+#. (itstool) path: info/title
+#: C/filechooserdialog.vala.page:7
msgctxt "text"
msgid "FileChooserDialog (Vala)"
msgstr "FileChooserDialog (Vala)"
-#: C/filechooserdialog.vala.page:20(info/desc)
+#. (itstool) path: info/desc
+#: C/filechooserdialog.vala.page:20
msgid "A dialog suitable for \"Open\" and \"Save\" commands."
msgstr "Un diálogo adecuado para comandos «Abrir» y «Guardar»."
-#: C/filechooserdialog.vala.page:25(section/title)
+#. (itstool) path: section/title
+#: C/filechooserdialog.vala.page:25
msgid "Overview of the example"
msgstr "Visión general del ejemplo"
-#: C/filechooserdialog.vala.page:26(section/p)
+#. (itstool) path: section/p
+#: C/filechooserdialog.vala.page:26
msgid ""
"This example demonstrates how the FileChooserDialog can be used. It is "
"incorporated into a very simple text editor application. All the <link xref="
@@ -13121,15 +14195,18 @@ msgstr ""
"de la aplicación</link>. Aquí, el menú se crea usando un archivo de IU XML, "
"que a su vez se importa a la aplicación usando «Gtk.Builder»."
-#: C/filechooserdialog.vala.page:28(section/title)
+#. (itstool) path: section/title
+#: C/filechooserdialog.vala.page:28
msgid "XML UI file which creates the app-menu"
msgstr "Archivo de IU XML que crea el menú de la aplicación"
-#: C/filechooserdialog.vala.page:31(section/title)
+#. (itstool) path: section/title
+#: C/filechooserdialog.vala.page:31
msgid "Vala Code"
msgstr "Código en Vala"
-#: C/filechooserdialog.vala.page:32(section/code)
+#. (itstool) path: section/code
+#: C/filechooserdialog.vala.page:32
#, no-wrap
msgid ""
"class MyWindow: Gtk.ApplicationWindow {\n"
@@ -13526,12 +14603,13 @@ msgstr ""
"\treturn new MyApplication ().run (args);\n"
"}\n"
-#: C/filechooserdialog.vala.page:34(section/title)
-#: C/menubar.vala.page:186(section/title)
+#. (itstool) path: section/title
+#: C/filechooserdialog.vala.page:34 C/menubar.vala.page:186
msgid "Relevant API documentation"
msgstr "Documentación de la API relevante"
-#: C/filechooserdialog.vala.page:39(item/p)
+#. (itstool) path: item/p
+#: C/filechooserdialog.vala.page:39
msgid ""
"<link href=\"http://valadoc.org/gtk+-3.0/Gtk.FileChooser.html\">FileChooser</"
"link>"
@@ -13539,7 +14617,8 @@ msgstr ""
"<link href=\"http://valadoc.org/gtk+-3.0/Gtk.FileChooser.html\">FileChooser</"
"link>"
-#: C/filechooserdialog.vala.page:40(item/p)
+#. (itstool) path: item/p
+#: C/filechooserdialog.vala.page:40
msgid ""
"<link href=\"http://valadoc.org/gtk+-3.0/Gtk.FileChooserDialog.html"
"\">FileChooserDialog</link>"
@@ -13547,7 +14626,8 @@ msgstr ""
"<link href=\"http://valadoc.org/gtk+-3.0/Gtk.FileChooserDialog.html"
"\">FileChooserDialog</link>"
-#: C/filechooserdialog.vala.page:41(item/p)
+#. (itstool) path: item/p
+#: C/filechooserdialog.vala.page:41
msgid ""
"<link href=\"http://valadoc.org/gtk+-3.0/Gtk.Builder.html\">Gtk.Builder</"
"link>"
@@ -13555,7 +14635,8 @@ msgstr ""
"<link href=\"http://valadoc.org/gtk+-3.0/Gtk.Builder.html\">Gtk.Builder</"
"link>"
-#: C/filechooserdialog.vala.page:42(item/p)
+#. (itstool) path: item/p
+#: C/filechooserdialog.vala.page:42
msgid ""
"<link href=\"http://valadoc.org/gio-2.0/GLib.ActionEntry.html\">GLib."
"ActionEntry</link>"
@@ -13563,22 +14644,13 @@ msgstr ""
"<link href=\"http://valadoc.org/gio-2.0/GLib.ActionEntry.html\">GLib."
"ActionEntry</link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/fontchooserwidget.js.page:22(media) C/fontchooserwidget.py.page:24(media)
-#: C/fontchooserwidget.vala.page:22(media)
+#: C/fontchooserwidget.js.page:22 C/fontchooserwidget.py.page:24
+#: C/fontchooserwidget.vala.page:22
msgctxt "_"
msgid ""
"external ref='media/fontchooserwidget.png' "
@@ -13587,29 +14659,31 @@ msgstr ""
"external ref='media/fontchooserwidget.png' "
"md5='9161245e307b432ae1313e9a9941edae'"
-#: C/fontchooserwidget.js.page:7(info/title)
+#. (itstool) path: info/title
+#: C/fontchooserwidget.js.page:7
msgctxt "text"
msgid "FontChooserWidget (JavaScript)"
msgstr "FontChooserWidget (JavaScript)"
-#: C/fontchooserwidget.js.page:17(info/desc)
-#: C/fontchooserwidget.py.page:19(info/desc)
-#: C/fontchooserwidget.vala.page:17(info/desc)
+#. (itstool) path: info/desc
+#: C/fontchooserwidget.js.page:17 C/fontchooserwidget.py.page:19
+#: C/fontchooserwidget.vala.page:17
msgid "A widget to choose a font"
msgstr "Un widget para elegir la tipografía"
-#: C/fontchooserwidget.js.page:20(page/title)
-#: C/fontchooserwidget.py.page:22(page/title)
-#: C/fontchooserwidget.vala.page:20(page/title)
+#. (itstool) path: page/title
+#: C/fontchooserwidget.js.page:20 C/fontchooserwidget.py.page:22
+#: C/fontchooserwidget.vala.page:20
msgid "FontChooserWidget"
msgstr "FontChooserWidget"
-#: C/fontchooserwidget.js.page:23(page/p)
-#: C/fontchooserwidget.py.page:25(page/p)
+#. (itstool) path: page/p
+#: C/fontchooserwidget.js.page:23 C/fontchooserwidget.py.page:25
msgid "A FontChooserWidget with a callback function."
msgstr "Un FontChooserWidget con una función de retorno de llamada."
-#: C/fontchooserwidget.js.page:29(section/code)
+#. (itstool) path: section/code
+#: C/fontchooserwidget.js.page:29
#, no-wrap
msgid ""
"//!/usr/bin/gjs\n"
@@ -13736,8 +14810,8 @@ msgstr ""
"let app = new FontChooserWidgetExample();\n"
"app.application.run (ARGV);\n"
-#: C/fontchooserwidget.js.page:36(item/p)
-#: C/fontchooserwidget.py.page:46(item/p)
+#. (itstool) path: item/p
+#: C/fontchooserwidget.js.page:36 C/fontchooserwidget.py.page:46
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkFontChooserWidget."
"html\">GtkFontChooserWidget</link>"
@@ -13745,18 +14819,62 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkFontChooserWidget."
"html\">GtkFontChooserWidget</link>"
-#: C/fontchooserwidget.py.page:7(info/title)
+#. (itstool) path: info/title
+#: C/fontchooserwidget.py.page:7
msgctxt "text"
msgid "FontChooserWidget (Python)"
msgstr "FontChooserWidget (Python)"
-#: C/fontchooserwidget.py.page:31(section/code)
+#. (itstool) path: section/code
+#: C/fontchooserwidget.py.page:31
#, no-wrap
+#| msgid ""
+#| "from gi.repository import Gtk\n"
+#| "import sys\n"
+#| "\n"
+#| "class MyWindow(Gtk.ApplicationWindow):\n"
+#| " def __init__(self, app):\n"
+#| " Gtk.Window.__init__(self, title=\"FontChooserWidget\", application=app)\n"
+#| "\n"
+#| " # a font chooser\n"
+#| " self.font_chooser = Gtk.FontChooserWidget()\n"
+#| " # a default font\n"
+#| " self.font_chooser.set_font(\"Sans\")\n"
+#| " # a text to preview the font\n"
+#| " self.font_chooser.set_preview_text(\"This is an example of preview text!\")\n"
+#| "\n"
+#| " # connect signal from the font chooser to the callback function\n"
+#| " self.font_chooser.connect(\"notify::font\", self.font_cb)\n"
+#| "\n"
+#| " # add the font chooser to the window\n"
+#| " self.add(self.font_chooser)\n"
+#| "\n"
+#| " # callback function:\n"
+#| " def font_cb(self, event, user_data):\n"
+#| " # print in the terminal\n"
+#| " print \"You chose the font \" + self.font_chooser.get_font()\n"
+#| "\n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " def __init__(self):\n"
+#| " Gtk.Application.__init__(self)\n"
+#| "\n"
+#| " def do_activate(self):\n"
+#| " win = MyWindow(self)\n"
+#| " win.show_all()\n"
+#| "\n"
+#| " def do_startup(self):\n"
+#| " Gtk.Application.do_startup(self)\n"
+#| "\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"FontChooserWidget\", application=app)\n"
"\n"
@@ -13765,7 +14883,8 @@ msgid ""
" # a default font\n"
" self.font_chooser.set_font(\"Sans\")\n"
" # a text to preview the font\n"
-" self.font_chooser.set_preview_text(\"This is an example of preview text!\")\n"
+" self.font_chooser.set_preview_text(\n"
+" \"This is an example of preview text!\")\n"
"\n"
" # connect signal from the font chooser to the callback function\n"
" self.font_chooser.connect(\"notify::font\", self.font_cb)\n"
@@ -13778,7 +14897,9 @@ msgid ""
" # print in the terminal\n"
" print \"You chose the font \" + self.font_chooser.get_font()\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -13796,7 +14917,9 @@ msgstr ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"FontChooserWidget\", application=app)\n"
"\n"
@@ -13805,7 +14928,8 @@ msgstr ""
" # a default font\n"
" self.font_chooser.set_font(\"Sans\")\n"
" # a text to preview the font\n"
-" self.font_chooser.set_preview_text(\"This is an example of preview text!\")\n"
+" self.font_chooser.set_preview_text(\n"
+" \"This is an example of preview text!\")\n"
"\n"
" # connect signal from the font chooser to the callback function\n"
" self.font_chooser.connect(\"notify::font\", self.font_cb)\n"
@@ -13818,7 +14942,9 @@ msgstr ""
" # print in the terminal\n"
" print \"You chose the font \" + self.font_chooser.get_font()\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -13833,11 +14959,13 @@ msgstr ""
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/fontchooserwidget.py.page:34(section/title)
+#. (itstool) path: section/title
+#: C/fontchooserwidget.py.page:34
msgid "Useful methods for a FontChooserWidget"
msgstr "Métodos útiles para un «FontChooserWidget»"
-#: C/fontchooserwidget.py.page:35(section/p)
+#. (itstool) path: section/p
+#: C/fontchooserwidget.py.page:35
msgid ""
"In line 16 the <code>\"notify::font\"</code> signal from the widget is "
"connected to the callback function <code>font_cb()</code> using "
@@ -13851,7 +14979,8 @@ msgstr ""
"llamada</var>)</code>. Consulte la <link xref=\"signals-callbacks.py\"/> "
"para obtener una explicación más detallada."
-#: C/fontchooserwidget.py.page:37(item/p)
+#. (itstool) path: item/p
+#: C/fontchooserwidget.py.page:37
msgid ""
"To set the font which is initially selected, use <code>set_font(font)</code> "
"(where <code>font</code> is the font name) or <code>set_font_desc(font)</"
@@ -13862,7 +14991,8 @@ msgstr ""
"tipografía) o <code>set_font_desc(tipografía)</code> (donde "
"<code>tipografía</code> es la PangoFontDescription)."
-#: C/fontchooserwidget.py.page:38(item/p)
+#. (itstool) path: item/p
+#: C/fontchooserwidget.py.page:38
msgid ""
"To get the selected font use <code>get_font()</code> or <code>get_font_desc()"
"</code>."
@@ -13870,7 +15000,8 @@ msgstr ""
"Para obtener la fuente seleccionada use <code>get_font()</code> o "
"<code>get_font_desc()</code>."
-#: C/fontchooserwidget.py.page:39(item/p)
+#. (itstool) path: item/p
+#: C/fontchooserwidget.py.page:39
msgid ""
"To change the text which is shown in the preview area, use "
"<code>set_preview_text()</code>."
@@ -13878,20 +15009,24 @@ msgstr ""
"Para cambiar el texto que se muestra en el área de previsualización, use "
"<code>set_preview_text()</code>."
-#: C/fontchooserwidget.vala.page:7(info/title)
+#. (itstool) path: info/title
+#: C/fontchooserwidget.vala.page:7
msgctxt "text"
msgid "FontChooserWidget (Vala)"
msgstr "FontChooserWidget (Vala)"
-#: C/fontchooserwidget.vala.page:12(credit/name)
+#. (itstool) path: credit/name
+#: C/fontchooserwidget.vala.page:12
msgid "Tiffany Antpoolski"
msgstr "Tiffany Antpoolski"
-#: C/fontchooserwidget.vala.page:23(page/p)
+#. (itstool) path: page/p
+#: C/fontchooserwidget.vala.page:23
msgid "A FontChooserWidget with a lambda callback function."
msgstr "Un FontChooserWidget con una función de retorno de llamada lambda."
-#: C/fontchooserwidget.vala.page:29(section/code)
+#. (itstool) path: section/code
+#: C/fontchooserwidget.vala.page:29
#, no-wrap
msgid ""
"public class MyWindow : Gtk.ApplicationWindow {\n"
@@ -13960,7 +15095,8 @@ msgstr ""
"}\n"
"\n"
-#: C/fontchooserwidget.vala.page:36(item/p)
+#. (itstool) path: item/p
+#: C/fontchooserwidget.vala.page:36
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.FontChooserWidget.html"
"\">GtkFontChooserWidget</link>"
@@ -13968,49 +15104,56 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.FontChooserWidget.html"
"\">GtkFontChooserWidget</link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#: C/getting-ready.page:39(media)
+#: C/getting-ready.page:33
msgctxt "_"
msgid "external ref='media/ubuntu.png' md5='40845e4a40b335b1958da1403f01c13f'"
msgstr "external ref='media/ubuntu.png' md5='40845e4a40b335b1958da1403f01c13f'"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#: C/getting-ready.page:44(media)
+#: C/getting-ready.page:38
msgctxt "_"
msgid "external ref='media/fedora.png' md5='19add55f4349fd9e90f3a50b344ba626'"
msgstr "external ref='media/fedora.png' md5='19add55f4349fd9e90f3a50b344ba626'"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#: C/getting-ready.page:49(media)
+#: C/getting-ready.page:43
msgctxt "_"
msgid ""
"external ref='media/opensuse.png' md5='a852a94199328e2f978c7f6a55bf8b54'"
msgstr ""
"external ref='media/opensuse.png' md5='a852a94199328e2f978c7f6a55bf8b54'"
-#: C/getting-ready.page:6(info/title)
+#. (itstool) path: info/title
+#: C/getting-ready.page:6
msgctxt "link"
msgid "Install GNOME development tools"
msgstr "Instalar las herramientas de desarrollo de GNOME"
-#: C/getting-ready.page:16(page/title)
+#. (itstool) path: page/title
+#: C/getting-ready.page:16
msgid "Getting ready for GNOME development"
msgstr "Prepárese para desarrollar en GNOME"
-#: C/getting-ready.page:19(section/title)
+#. (itstool) path: section/title
+#: C/getting-ready.page:19
msgid "Install the required tools"
msgstr "Instalar las herramientas necesarias"
-#: C/getting-ready.page:20(section/p)
+#. (itstool) path: section/p
+#: C/getting-ready.page:20
msgid ""
"Before you can start coding you will have to install the required tools for "
"GNOME development on your computer. This shouldn't take you more than ten "
@@ -14019,78 +15162,93 @@ msgstr ""
"Antes de empezar a programar, deberá instalar las herramientas de desarrollo "
"de GNOME requeridas en su equipo. Esto no debería llevarle más de 10 minutos."
-#: C/getting-ready.page:25(section/title)
-msgid "Automatic installation"
-msgstr "Instalación automática"
-
-#: C/getting-ready.page:26(section/p)
-msgid ""
-"On an up-to-date distribution you should be able to simply install the "
-"required packages by clicking on <link href=\"media/gnome-devtools.catalog"
-"\">Install now</link>."
-msgstr ""
-"Un una distribución actualizada, debería ser capaz de instalar los paquetes "
-"simplemente pulsando en <link href=\"media/gnome-devtools.catalog\">Instalar "
-"ahora</link>."
-
-#: C/getting-ready.page:31(section/title)
+#. (itstool) path: section/title
+#: C/getting-ready.page:25
msgid "Manual installation"
msgstr "Instalación manual"
-#: C/getting-ready.page:32(section/p)
+#. (itstool) path: section/p
+#: C/getting-ready.page:26
+#| msgid ""
+#| "If you prefer manual installation you can find the instructions for the "
+#| "various distributions in the <link href=\"http://live.gnome.org/"
+#| "DeveloperTools/Installation\">GNOME wiki</link>. Click on the image to go "
+#| "directly to the installation page for your distribution:"
msgid ""
"If you prefer manual installation you can find the instructions for the "
-"various distributions in the <link href=\"http://live.gnome.org/"
+"various distributions in the <link href=\"https://wiki.gnome.org/Apps/"
"DeveloperTools/Installation\">GNOME wiki</link>. Click on the image to go "
"directly to the installation page for your distribution:"
msgstr ""
"Si prefiere la instalación manual, puede encontrar instrucciones para las "
-"diversas distribuciones en la <link href=\"http://live.gnome.org/"
+"diversas distribuciones en el <link href=\"https://wiki.gnome.org/Apps/"
"DeveloperTools/Installation\">wiki de GNOME</link>. Pulse sobre la imagen "
"para ir directamente a la página de instalación de su distribución."
-#: C/getting-ready.page:37(item/p)
+#. (itstool) path: item/p
+#: C/getting-ready.page:31
+#| msgid ""
+#| "<link href=\"http://live.gnome.org/DeveloperTools/Installation/Ubuntu\"> "
+#| "<media type=\"image\" mime=\"image/png\" src=\"media/ubuntu.png\">Ubuntu</"
+#| "media> </link>"
msgid ""
-"<link href=\"http://live.gnome.org/DeveloperTools/Installation/Ubuntu\"> "
-"<media type=\"image\" mime=\"image/png\" src=\"media/ubuntu.png\">Ubuntu</"
-"media> </link>"
+"<link href=\"https://wiki.gnome.org/Apps/DeveloperTools/Installation/Ubuntu"
+"\"> <media type=\"image\" mime=\"image/png\" src=\"media/ubuntu.png"
+"\">Ubuntu</media> </link>"
msgstr ""
-"<link href=\"http://live.gnome.org/DeveloperTools/Installation/Ubuntu\"> "
-"<media type=\"image\" mime=\"image/png\" src=\"media/ubuntu.png\">Ubuntu</"
-"media> </link>"
+"<link href=\"https://wiki.gnome.org/Apps/DeveloperTools/Installation/Ubuntu"
+"\"> <media type=\"image\" mime=\"image/png\" src=\"media/ubuntu.png"
+"\">Ubuntu</media> </link>"
-#: C/getting-ready.page:42(item/p)
+#. (itstool) path: item/p
+#: C/getting-ready.page:36
+#| msgid ""
+#| "<link href=\"http://live.gnome.org/DeveloperTools/Installation/Fedora\"> "
+#| "<media type=\"image\" mime=\"image/png\" src=\"media/fedora.png\">Fedora</"
+#| "media> </link>"
msgid ""
-"<link href=\"http://live.gnome.org/DeveloperTools/Installation/Fedora\"> "
-"<media type=\"image\" mime=\"image/png\" src=\"media/fedora.png\">Fedora</"
-"media> </link>"
+"<link href=\"https://wiki.gnome.org/Apps/DeveloperTools/Installation/Fedora"
+"\"> <media type=\"image\" mime=\"image/png\" src=\"media/fedora.png"
+"\">Fedora</media> </link>"
msgstr ""
-"<link href=\"http://live.gnome.org/DeveloperTools/Installation/Fedora\"> "
-"<media type=\"image\" mime=\"image/png\" src=\"media/fedora.png\">Fedora</"
-"media> </link>"
+"<link href=\"https://wiki.gnome.org/Apps/DeveloperTools/Installation/Fedora"
+"\"> <media type=\"image\" mime=\"image/png\" src=\"media/fedora.png"
+"\">Fedora</media> </link>"
-#: C/getting-ready.page:47(item/p)
+#. (itstool) path: item/p
+#: C/getting-ready.page:41
+#| msgid ""
+#| "<link href=\"http://live.gnome.org/DeveloperTools/Installation/OpenSuSE"
+#| "\"> <media type=\"image\" mime=\"image/png\" src=\"media/opensuse.png"
+#| "\">OpenSuSE</media> </link>"
msgid ""
-"<link href=\"http://live.gnome.org/DeveloperTools/Installation/OpenSuSE\"> "
-"<media type=\"image\" mime=\"image/png\" src=\"media/opensuse.png"
+"<link href=\"https://wiki.gnome.org/Apps/DeveloperTools/Installation/OpenSuSE"
+"\"> <media type=\"image\" mime=\"image/png\" src=\"media/opensuse.png"
"\">OpenSuSE</media> </link>"
msgstr ""
-"<link href=\"http://live.gnome.org/DeveloperTools/Installation/OpenSuSE\"> "
-"<media type=\"image\" mime=\"image/png\" src=\"media/opensuse.png"
+"<link href=\"https://wiki.gnome.org/Apps/DeveloperTools/Installation/OpenSuSE"
+"\"> <media type=\"image\" mime=\"image/png\" src=\"media/opensuse.png"
"\">OpenSuSE</media> </link>"
-#: C/getting-ready.page:52(item/p)
+#. (itstool) path: item/p
+#: C/getting-ready.page:46
+#| msgid ""
+#| "<link href=\"http://live.gnome.org/DeveloperTools/Installation\">Others</"
+#| "link>"
msgid ""
-"<link href=\"http://live.gnome.org/DeveloperTools/Installation\">Others</"
-"link>"
+"<link href=\"https://wiki.gnome.org/Apps/DeveloperTools/Installation"
+"\">Others</link>"
msgstr ""
-"<link href=\"http://live.gnome.org/DeveloperTools/Installation\">Otras</link>"
+"<link href=\"https://wiki.gnome.org/Apps/DeveloperTools/Installation"
+"\">Otras</link>"
-#: C/getting-ready.page:59(section/title)
+#. (itstool) path: section/title
+#: C/getting-ready.page:53
msgid "Required versions"
msgstr "Versiones necesarias"
-#: C/getting-ready.page:60(section/p)
+#. (itstool) path: section/p
+#: C/getting-ready.page:54
msgid ""
"The guides assume that you have at least the following versions of the tools "
"installed:"
@@ -14098,19 +15256,23 @@ msgstr ""
"Las guías asumen que tiene instaladas, al menos, las siguientes versiones de "
"las herramientas."
-#: C/getting-ready.page:63(item/p)
+#. (itstool) path: item/p
+#: C/getting-ready.page:57
msgid "Anjuta - 3.0"
msgstr "Anjuta - 3.0"
-#: C/getting-ready.page:64(item/p)
+#. (itstool) path: item/p
+#: C/getting-ready.page:58
msgid "Devhelp - 3.0"
msgstr "Devhelp - 3.0"
-#: C/getting-ready.page:65(item/p)
+#. (itstool) path: item/p
+#: C/getting-ready.page:59
msgid "Glade - 3.10"
msgstr "Glade - 3.10"
-#: C/getting-ready.page:67(section/p)
+#. (itstool) path: section/p
+#: C/getting-ready.page:61
msgid ""
"Of course, any newer version will also work. Now, we wish you a lot of fun "
"with the <link xref=\"index\">Demos</link>."
@@ -14118,37 +15280,42 @@ msgstr ""
"Por supuesto, cualquier versión más moderna también funcionará. Ahora, le "
"deseamos que disfrute con las <link xref=\"index\">demostraciones</link>."
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#: C/gmenu.c.page:21(media)
+#: C/gmenu.c.page:21
msgctxt "_"
msgid "external ref='media/gmenu.c.png' md5='f305fc3cae8d16d72b734ee53b559e33'"
msgstr ""
"external ref='media/gmenu.c.png' md5='f305fc3cae8d16d72b734ee53b559e33'"
-#: C/gmenu.c.page:7(info/title)
+#. (itstool) path: info/title
+#: C/gmenu.c.page:7
msgctxt "text"
msgid "GMenu (C)"
msgstr "GMenu (C)"
-#: C/gmenu.c.page:17(info/desc) C/gmenu.js.page:17(info/desc)
-#: C/gmenu.vala.page:23(info/desc)
+#. (itstool) path: info/desc
+#: C/gmenu.c.page:17 C/gmenu.js.page:17 C/gmenu.vala.page:23
msgid "A simple implementation of GMenuModel"
msgstr "Una implementación sencilla del GMenuModel"
-#: C/gmenu.c.page:20(page/title) C/gmenu.js.page:20(page/title)
-#: C/gmenu.py.page:28(page/title) C/gmenu.vala.page:26(page/title)
+#. (itstool) path: page/title
+#: C/gmenu.c.page:20 C/gmenu.js.page:20 C/gmenu.py.page:28
+#: C/gmenu.vala.page:26
msgid "GMenu"
msgstr "GMenu"
-#: C/gmenu.c.page:22(page/p) C/gmenu.js.page:22(page/p)
-#: C/gmenu.py.page:30(page/p) C/gmenu.vala.page:34(page/p)
+#. (itstool) path: page/p
+#: C/gmenu.c.page:22 C/gmenu.js.page:22 C/gmenu.py.page:30
+#: C/gmenu.vala.page:34
msgid "A GtkApplication with a simple GMenu and SimpleActions"
msgstr "Una GtkApplication con un GMenu sencillo y SimpleActions"
-#: C/gmenu.c.page:25(page/code)
+#. (itstool) path: page/code
+#: C/gmenu.c.page:25
#, no-wrap
msgid ""
"\n"
@@ -14289,23 +15456,26 @@ msgstr ""
" return status;\n"
"}\n"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#: C/gmenu.js.page:21(media)
+#: C/gmenu.js.page:21
msgctxt "_"
msgid ""
"external ref='media/gmenu.js.png' md5='16b8bee122197771ec8498dac42f196b'"
msgstr ""
"external ref='media/gmenu.js.png' md5='16b8bee122197771ec8498dac42f196b'"
-#: C/gmenu.js.page:7(info/title)
+#. (itstool) path: info/title
+#: C/gmenu.js.page:7
msgctxt "text"
msgid "GMenu (JavaScript)"
msgstr "GMenu (JavaScript)"
-#: C/gmenu.js.page:24(page/code)
+#. (itstool) path: page/code
+#: C/gmenu.js.page:24
#, no-wrap
msgid ""
"#!/usr/bin/gjs\n"
@@ -14488,39 +15658,111 @@ msgstr ""
"let app = new Application ();\n"
"app.application.run (ARGV);\n"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#: C/gmenu.py.page:29(media)
+#: C/gmenu.py.page:29
msgctxt "_"
msgid ""
"external ref='media/gmenu.py.png' md5='52c68b34d5d566f37e9f803dedb6353a'"
msgstr ""
"external ref='media/gmenu.py.png' md5='52c68b34d5d566f37e9f803dedb6353a'"
-#: C/gmenu.py.page:7(info/title)
+#. (itstool) path: info/title
+#: C/gmenu.py.page:7
msgctxt "text"
msgid "GMenu (Python)"
msgstr "GMenu (Python)"
-#: C/gmenu.py.page:25(info/desc)
+#. (itstool) path: info/desc
+#: C/gmenu.py.page:25
msgid "A simple implementation of GMenu"
msgstr "Una implementación sencilla de GMenu"
-#: C/gmenu.py.page:36(section/code)
+#. (itstool) path: section/code
+#: C/gmenu.py.page:36
#, no-wrap
+#| msgid ""
+#| "\n"
+#| " from gi.repository import Gtk\n"
+#| "from gi.repository import Gio\n"
+#| "import sys\n"
+#| "\n"
+#| "class MyWindow(Gtk.ApplicationWindow):\n"
+#| " def __init__(self, app):\n"
+#| " Gtk.Window.__init__(self, title=\"GMenu Example\", application=app)\n"
+#| "\n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " def __init__(self):\n"
+#| " Gtk.Application.__init__(self)\n"
+#| "\n"
+#| " def do_activate(self):\n"
+#| " win = MyWindow(self)\n"
+#| " win.show_all()\n"
+#| "\n"
+#| " def do_startup (self):\n"
+#| " # start the application\n"
+#| " Gtk.Application.do_startup(self)\n"
+#| "\n"
+#| " # create a menu\n"
+#| " menu = Gio.Menu()\n"
+#| " # append to the menu three options\n"
+#| " menu.append(\"New\", \"app.new\")\n"
+#| " menu.append(\"About\", \"app.about\")\n"
+#| " menu.append(\"Quit\", \"app.quit\")\n"
+#| " # set the menu as menu of the application\n"
+#| " self.set_app_menu(menu)\n"
+#| "\n"
+#| " # create an action for the option \"new\" of the menu\n"
+#| " new_action = Gio.SimpleAction.new(\"new\", None)\n"
+#| " # connect it to the callback function new_cb\n"
+#| " new_action.connect(\"activate\", self.new_cb)\n"
+#| " # add the action to the application\n"
+#| " self.add_action(new_action)\n"
+#| "\n"
+#| " # option \"about\"\n"
+#| " about_action = Gio.SimpleAction.new(\"about\", None)\n"
+#| " about_action.connect(\"activate\", self.about_cb)\n"
+#| " self.add_action(about_action)\n"
+#| "\n"
+#| " # option \"quit\"\n"
+#| " quit_action = Gio.SimpleAction.new(\"quit\", None)\n"
+#| " quit_action.connect(\"activate\", self.quit_cb)\n"
+#| " self.add_action(quit_action)\n"
+#| "\n"
+#| " # callback function for \"new\"\n"
+#| " def new_cb(self, action, parameter):\n"
+#| " print \"This does nothing. It is only a demonstration.\"\n"
+#| "\n"
+#| " # callback function for \"about\"\n"
+#| " def about_cb(self, action, parameter):\n"
+#| " print \"No AboutDialog for you. This is only a demonstration.\"\n"
+#| "\n"
+#| " # callback function for \"quit\"\n"
+#| " def quit_cb(self, action, parameter):\n"
+#| " print \"You have quit.\"\n"
+#| " self.quit()\n"
+#| "\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"\n"
" from gi.repository import Gtk\n"
"from gi.repository import Gio\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"GMenu Example\", application=app)\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -14528,7 +15770,7 @@ msgid ""
" win = MyWindow(self)\n"
" win.show_all()\n"
"\n"
-" def do_startup (self):\n"
+" def do_startup(self):\n"
" # start the application\n"
" Gtk.Application.do_startup(self)\n"
"\n"
@@ -14580,11 +15822,15 @@ msgstr ""
"from gi.repository import Gio\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"GMenu Example\", application=app)\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -14592,7 +15838,7 @@ msgstr ""
" win = MyWindow(self)\n"
" win.show_all()\n"
"\n"
-" def do_startup (self):\n"
+" def do_startup(self):\n"
" # start the application\n"
" Gtk.Application.do_startup(self)\n"
"\n"
@@ -14639,11 +15885,13 @@ msgstr ""
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/gmenu.py.page:41(section/title)
+#. (itstool) path: section/title
+#: C/gmenu.py.page:41
msgid "Useful methods for a GSimpleAction and a GMenu"
msgstr "Métodos útiles para una «GSimpleAction» y un GMenu"
-#: C/gmenu.py.page:43(section/p)
+#. (itstool) path: section/p
+#: C/gmenu.py.page:43
msgid ""
"In line 33 the signal <code>\"activate\"</code> from the action "
"<code>new_action</code> (not the menu!) is connected to the callback "
@@ -14658,11 +15906,13 @@ msgstr ""
"Consulte la <link xref=\"signals-callbacks.py\"/> para obtener una "
"explicación más detallada."
-#: C/gmenu.py.page:45(section/p)
+#. (itstool) path: section/p
+#: C/gmenu.py.page:45
msgid "Useful methods for a GSimpleAction:"
msgstr "Métodos útiles para una «GSimpleAction»:"
-#: C/gmenu.py.page:47(item/p)
+#. (itstool) path: item/p
+#: C/gmenu.py.page:47
msgid ""
"To create a new action that is <em>stateless</em>, that is, an action that "
"do not retain or depend on a state given by the action itself, use"
@@ -14670,7 +15920,8 @@ msgstr ""
"Para crear una acción nueva que <em>no dependa del estado</em>, es decir, "
"una acción que no retenga o dependa de un estado dado a la acción en sí, use"
-#: C/gmenu.py.page:48(item/code)
+#. (itstool) path: item/code
+#: C/gmenu.py.page:48
#, no-wrap
msgid ""
"\n"
@@ -14679,7 +15930,8 @@ msgstr ""
"\n"
"action = Gio.SimpleAction.new(\"name\", parameter_type)"
-#: C/gmenu.py.page:50(item/p)
+#. (itstool) path: item/p
+#: C/gmenu.py.page:50
msgid ""
"where <code>\"name\"</code> is the name of the action and "
"<code>parameter_type</code> is the type of the parameters that the action "
@@ -14697,7 +15949,8 @@ msgstr ""
"gnome.org/glib/unstable/glib-GVariantType.html\">aquí</link>. Para crear una "
"acción nueva <em>con estado</em>, use"
-#: C/gmenu.py.page:51(item/code)
+#. (itstool) path: item/code
+#: C/gmenu.py.page:51
#, no-wrap
msgid ""
"\n"
@@ -14706,7 +15959,8 @@ msgstr ""
"\n"
"action = Gio.SimpleAction.new_stateful(\"name\", parameter_type, initial_state)"
-#: C/gmenu.py.page:53(item/p)
+#. (itstool) path: item/p
+#: C/gmenu.py.page:53
msgid ""
"where <code>initial_state</code> is defined as a GVariant - for instance "
"<code>Glib.Variant.new_string('start')</code>; for a list of possiblities "
@@ -14718,7 +15972,8 @@ msgstr ""
"posibilidades consulte <link href=\"http://developer.gnome.org/glib/unstable/"
"glib-GVariant.html\">aquí</link>."
-#: C/gmenu.py.page:54(item/p)
+#. (itstool) path: item/p
+#: C/gmenu.py.page:54
msgid ""
"<code>set_enabled(True)</code> sets the action as enabled; an action must be "
"enabled in order to be activated or in order to have its state changed from "
@@ -14730,7 +15985,8 @@ msgstr ""
"cambien su estado. Sólo el que implementa la acción debe llamarlo. Los "
"usuarios de la acción no deben intentar modificar su opción «enabled»."
-#: C/gmenu.py.page:55(item/p)
+#. (itstool) path: item/p
+#: C/gmenu.py.page:55
msgid ""
"<code>set_state(state)</code>, where <code>state</code> is a GVariant, sets "
"the state of the action, updating the 'state' property to the given value. "
@@ -14744,11 +16000,13 @@ msgstr ""
"la acción, en cambio, deben llamar a <code>change_state(estado)</code> "
"(donde <code>estado</code> es como se mencionó) para solicitar el cambio."
-#: C/gmenu.py.page:58(section/p)
+#. (itstool) path: section/p
+#: C/gmenu.py.page:58
msgid "Useful methods for a GMenu:"
msgstr "Métodos útiles para un GMenu:"
-#: C/gmenu.py.page:60(item/p)
+#. (itstool) path: item/p
+#: C/gmenu.py.page:60
msgid ""
"To insert an item in the menu in position <code>position</code>, use "
"<code>insert(position, label, detailed_action)</code>, where <code>label</"
@@ -14765,7 +16023,8 @@ msgstr ""
"una discusión más detallada de esto en la <link xref=\"menubar.py#win-app\"/"
">."
-#: C/gmenu.py.page:61(item/p)
+#. (itstool) path: item/p
+#: C/gmenu.py.page:61
msgid ""
"To append or prepend an item in the menu use respectively <code>append"
"(label, detailed_action)</code> and <code>prepend(label, detailed_action)</"
@@ -14775,7 +16034,8 @@ msgstr ""
"<code>append(etiqueta, acción_detallada)</code> y <code>prepend(etiqueta, "
"acción_detallada)</code>."
-#: C/gmenu.py.page:62(item/p)
+#. (itstool) path: item/p
+#: C/gmenu.py.page:62
msgid ""
"Another way of adding items to the menu is to create them as "
"<code>GMenuItem</code>s and use <code>insert_item(position, item)</code>, "
@@ -14787,7 +16047,8 @@ msgstr ""
"(elemento)</code>, o <code>prepend_item(elemento)</code>; por lo que por "
"ejemplo se podría tener:"
-#: C/gmenu.py.page:63(item/code)
+#. (itstool) path: item/code
+#: C/gmenu.py.page:63
#, no-wrap
msgid ""
"\n"
@@ -14798,7 +16059,8 @@ msgstr ""
"about = Gio.MenuItem.new(\"About\", \"app.about\")\n"
"menu.append_item(about)"
-#: C/gmenu.py.page:67(item/p)
+#. (itstool) path: item/p
+#: C/gmenu.py.page:67
msgid ""
"We can also add a whole subsection in a menu using <code>insert_section"
"(position, label, section)</code>, <code>append_section(label, section)</"
@@ -14811,7 +16073,8 @@ msgstr ""
"(etiqueta, sección)</code>, donde <code>etiqueta</code> es el título de la "
"subsección."
-#: C/gmenu.py.page:68(item/p)
+#. (itstool) path: item/p
+#: C/gmenu.py.page:68
msgid ""
"To add a submenu that will expand and collapse, use <code>insert_submenu"
"(position, label, section)</code>, <code>append_submenu(label, section)</"
@@ -14823,17 +16086,20 @@ msgstr ""
"</code>, o <code>prepend_submenu(etiqueta, sección)</code>, donde "
"<code>etiqueta</code> es el título de la subsección."
-#: C/gmenu.py.page:69(item/p)
+#. (itstool) path: item/p
+#: C/gmenu.py.page:69
msgid "To remove an item from the menu, use <code>remove(postion)</code>."
msgstr "Para eliminar un elemento del menú, use <code>remove(posición)</code>."
-#: C/gmenu.py.page:70(item/p)
+#. (itstool) path: item/p
+#: C/gmenu.py.page:70
msgid "To set a label for the menu, use <code>set_label(label)</code>."
msgstr ""
"Para establecer una etiqueta para el menú, use <code>set_label(etiqueta)</"
"code>."
-#: C/gmenu.py.page:81(item/p)
+#. (itstool) path: item/p
+#: C/gmenu.py.page:81
msgid ""
"<link href=\"http://developer.gnome.org/glib/unstable/glib-GVariantType.html"
"\">GVariantType</link>"
@@ -14841,7 +16107,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/glib/unstable/glib-GVariantType.html"
"\">GVariantType</link>"
-#: C/gmenu.py.page:82(item/p)
+#. (itstool) path: item/p
+#: C/gmenu.py.page:82
msgid ""
"<link href=\"http://developer.gnome.org/glib/unstable/glib-GVariant.html"
"\">GVariant</link>"
@@ -14849,23 +16116,26 @@ msgstr ""
"<link href=\"http://developer.gnome.org/glib/unstable/glib-GVariant.html"
"\">GVariant</link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#: C/gmenu.vala.page:27(media)
+#: C/gmenu.vala.page:27
msgctxt "_"
msgid ""
"external ref='media/gmenu.vala.png' md5='7a9f381fc3ed5bf8d1c50d2acb095400'"
msgstr ""
"external ref='media/gmenu.vala.png' md5='7a9f381fc3ed5bf8d1c50d2acb095400'"
-#: C/gmenu.vala.page:7(info/title)
+#. (itstool) path: info/title
+#: C/gmenu.vala.page:7
msgctxt "text"
msgid "GMenu (Vala)"
msgstr "GMenu (Vala)"
-#: C/gmenu.vala.page:29(note/p)
+#. (itstool) path: note/p
+#: C/gmenu.vala.page:29
msgid ""
"<em style=\"strong\">You need to be running GTK+-3.4 or later for this to "
"work</em>"
@@ -14873,7 +16143,8 @@ msgstr ""
"<em style=\"strong\">Necesita ejecutar GTK+-3.4 o superior para que "
"funcione</em>"
-#: C/gmenu.vala.page:32(note/p)
+#. (itstool) path: note/p
+#: C/gmenu.vala.page:32
msgid ""
"This program will not compile with the quit action connected until <link "
"href=\"https://bugzilla.gnome.org/show_bug.cgi?id=674090\">Bug #674090</"
@@ -14883,7 +16154,8 @@ msgstr ""
"resuelva el <link href=\"https://bugzilla.gnome.org/show_bug.cgi?"
"id=674090\">error nº 674090</link>. Por lo tanto, esa línea se ha comentado"
-#: C/gmenu.vala.page:36(page/code)
+#. (itstool) path: page/code
+#: C/gmenu.vala.page:36
#, no-wrap
msgid ""
"/* A window in the application. */\n"
@@ -15008,13 +16280,15 @@ msgstr ""
"\treturn new Application ().run (args);\n"
"}\n"
-#: C/gmenu.vala.page:43(item/p)
+#. (itstool) path: item/p
+#: C/gmenu.vala.page:43
msgid ""
"<link href=\"http://www.valadoc.org/gio-2.0/GLib.Menu.Menu.html\">Menu</link>"
msgstr ""
"<link href=\"http://www.valadoc.org/gio-2.0/GLib.Menu.Menu.html\">Menu</link>"
-#: C/gmenu.vala.page:44(item/p)
+#. (itstool) path: item/p
+#: C/gmenu.vala.page:44
msgid ""
"<link href=\"http://www.valadoc.org/gio-2.0/GLib.Menu.append.html\">append</"
"link>"
@@ -15022,7 +16296,8 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gio-2.0/GLib.Menu.append.html\">append</"
"link>"
-#: C/gmenu.vala.page:45(item/p)
+#. (itstool) path: item/p
+#: C/gmenu.vala.page:45
msgid ""
"<link href=\"http://www.valadoc.org/gio-2.0/GLib.SimpleAction.html"
"\">SimpleAction</link>"
@@ -15030,7 +16305,8 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gio-2.0/GLib.SimpleAction.html"
"\">SimpleAction</link>"
-#: C/gmenu.vala.page:46(item/p)
+#. (itstool) path: item/p
+#: C/gmenu.vala.page:46
msgid ""
"<link href=\"http://www.valadoc.org/gio-2.0/GLib.ActionMap.add_action.html"
"\">add_action</link>"
@@ -15038,45 +16314,39 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gio-2.0/GLib.ActionMap.add_action.html"
"\">add_action</link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/grid.c.page:22(media) C/grid.js.page:25(media) C/grid.vala.page:23(media)
+#: C/grid.c.page:22 C/grid.js.page:25 C/grid.vala.page:23
msgctxt "_"
msgid "external ref='media/grid.png' md5='27d45da115401127456a3b854dcfc5be'"
msgstr "external ref='media/grid.png' md5='27d45da115401127456a3b854dcfc5be'"
-#: C/grid.c.page:7(info/title)
+#. (itstool) path: info/title
+#: C/grid.c.page:7
msgctxt "text"
msgid "Grid (C)"
msgstr "Grid (C)"
-#: C/grid.c.page:17(info/desc) C/grid.js.page:21(info/desc)
-#: C/grid.py.page:25(info/desc) C/grid.vala.page:19(info/desc)
+#. (itstool) path: info/desc
+#: C/grid.c.page:17 C/grid.js.page:21 C/grid.py.page:25 C/grid.vala.page:19
msgid "Pack widgets in rows and columns"
msgstr "Empaquetar widgets en filas y columnas"
-#: C/grid.c.page:20(page/title) C/grid.js.page:24(page/title)
-#: C/grid.py.page:28(page/title)
+#. (itstool) path: page/title
+#: C/grid.c.page:20 C/grid.js.page:24 C/grid.py.page:28
msgid "Grid"
msgstr "Rejilla"
-#: C/grid.c.page:23(page/p) C/grid.vala.page:24(page/p)
+#. (itstool) path: page/p
+#: C/grid.c.page:23 C/grid.vala.page:24
msgid "A button widget connected to a progress bar."
msgstr "Un widget de botón conectado a una barra de progreso."
-#: C/grid.c.page:25(page/code)
+#. (itstool) path: page/code
+#: C/grid.c.page:25
#, no-wrap
msgid ""
"\n"
@@ -15219,7 +16489,8 @@ msgstr ""
" return status;\n"
"}\n"
-#: C/grid.c.page:33(item/p) C/progressbar.c.page:34(item/p)
+#. (itstool) path: item/p
+#: C/grid.c.page:33 C/progressbar.c.page:34
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkProgressBar.html"
"\">GtkProgressBar</link>"
@@ -15227,12 +16498,14 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkProgressBar.html"
"\">GtkProgressBar</link>"
-#: C/grid.js.page:7(info/title)
+#. (itstool) path: info/title
+#: C/grid.js.page:7
msgctxt "text"
msgid "Grid (JavaScript)"
msgstr "Grid (JavaScript)"
-#: C/grid.js.page:26(page/p)
+#. (itstool) path: page/p
+#: C/grid.js.page:26
msgid ""
"A button widget connected to a progress bar, inside of a grid which handles "
"the layout."
@@ -15240,7 +16513,8 @@ msgstr ""
"Un widget de botón conectado a una barra de progreso., dentro de una rejilla "
"que gestiona la distribución."
-#: C/grid.js.page:28(page/code)
+#. (itstool) path: page/code
+#: C/grid.js.page:28
#, no-wrap
msgid ""
"#!/usr/bin/gjs\n"
@@ -15389,7 +16663,8 @@ msgstr ""
"let app = new GridExample ();\n"
"app.application.run (ARGV);\n"
-#: C/grid.js.page:36(item/p)
+#. (itstool) path: item/p
+#: C/grid.js.page:36
msgid ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.Grid.html"
"\">Gtk.Grid</link>"
@@ -15397,7 +16672,8 @@ msgstr ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.Grid.html"
"\">Gtk.Grid</link>"
-#: C/grid.js.page:37(item/p) C/progressbar.js.page:41(item/p)
+#. (itstool) path: item/p
+#: C/grid.js.page:37 C/progressbar.js.page:41
msgid ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.ProgressBar."
"html\">Gtk.ProgressBar</link>"
@@ -15405,33 +16681,80 @@ msgstr ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.ProgressBar."
"html\">Gtk.ProgressBar</link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#: C/grid.py.page:30(media)
+#: C/grid.py.page:30
msgctxt "_"
msgid ""
"external ref='media/grid_simple.png' md5='c806f2e69b30373d4d2e08b41d6cc1f6'"
msgstr ""
"external ref='media/grid_simple.png' md5='c806f2e69b30373d4d2e08b41d6cc1f6'"
-#: C/grid.py.page:7(info/title)
+#. (itstool) path: info/title
+#: C/grid.py.page:7
msgctxt "text"
msgid "Grid (Python)"
msgstr "Grid (Python)"
-#: C/grid.py.page:31(page/p)
+#. (itstool) path: page/p
+#: C/grid.py.page:31
msgid "Some labels in a grid."
msgstr "Algunas etiquetas en una rejilla."
-#: C/grid.py.page:37(section/code)
+#. (itstool) path: section/code
+#: C/grid.py.page:37
#, no-wrap
+#| msgid ""
+#| "from gi.repository import Gtk\n"
+#| "import sys\n"
+#| "\n"
+#| "class MyWindow(Gtk.ApplicationWindow):\n"
+#| " def __init__(self, app):\n"
+#| " Gtk.Window.__init__(self, title=\"Grid Example\", application=app)\n"
+#| "\n"
+#| " # three labels\n"
+#| " label_top_left = Gtk.Label(label=\"This is Top Left\")\n"
+#| " label_top_right = Gtk.Label(label=\"This is Top Right\")\n"
+#| " label_bottom = Gtk.Label(label=\"This is Bottom\")\n"
+#| "\n"
+#| " # a grid\n"
+#| " grid = Gtk.Grid()\n"
+#| "\n"
+#| " # some space between the columns of the grid\n"
+#| " grid.set_column_spacing(20)\n"
+#| "\n"
+#| " # in the grid:\n"
+#| " # attach the first label in the top left corner\n"
+#| " grid.attach(label_top_left, 0, 0, 1, 1)\n"
+#| " # attach the second label\n"
+#| " grid.attach(label_top_right, 1, 0, 1, 1)\n"
+#| " # attach the third label below the first label\n"
+#| " grid.attach_next_to(label_bottom, label_top_left, Gtk.PositionType.BOTTOM, 2, 1)\n"
+#| "\n"
+#| " # add the grid to the window\n"
+#| " self.add(grid)\n"
+#| "\n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " def __init__(self):\n"
+#| " Gtk.Application.__init__(self)\n"
+#| "\n"
+#| " def do_activate(self):\n"
+#| " win = MyWindow(self)\n"
+#| " win.show_all()\n"
+#| "\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"Grid Example\", application=app)\n"
"\n"
@@ -15452,12 +16775,15 @@ msgid ""
" # attach the second label\n"
" grid.attach(label_top_right, 1, 0, 1, 1)\n"
" # attach the third label below the first label\n"
-" grid.attach_next_to(label_bottom, label_top_left, Gtk.PositionType.BOTTOM, 2, 1)\n"
+" grid.attach_next_to(\n"
+" label_bottom, label_top_left, Gtk.PositionType.BOTTOM, 2, 1)\n"
"\n"
" # add the grid to the window\n"
" self.add(grid)\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -15472,7 +16798,9 @@ msgstr ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"Grid Example\", application=app)\n"
"\n"
@@ -15493,12 +16821,15 @@ msgstr ""
" # attach the second label\n"
" grid.attach(label_top_right, 1, 0, 1, 1)\n"
" # attach the third label below the first label\n"
-" grid.attach_next_to(label_bottom, label_top_left, Gtk.PositionType.BOTTOM, 2, 1)\n"
+" grid.attach_next_to(\n"
+" label_bottom, label_top_left, Gtk.PositionType.BOTTOM, 2, 1)\n"
"\n"
" # add the grid to the window\n"
" self.add(grid)\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -15510,11 +16841,13 @@ msgstr ""
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/grid.py.page:41(section/title)
+#. (itstool) path: section/title
+#: C/grid.py.page:41
msgid "Useful methods for a Grid widget"
msgstr "Métodos útiles para un widget «Grid»"
-#: C/grid.py.page:44(item/p)
+#. (itstool) path: item/p
+#: C/grid.py.page:44
msgid ""
"To attach a widget <code>child</code> in position <code>left, top</code> in "
"a slot of given <code>width, height</code> use <code>attach(child, top, "
@@ -15532,7 +16865,8 @@ msgstr ""
"<code>lado</code> puede ser <code>Gtk.PositionType.LEFT, Gtk.PositionType."
"RIGHT, Gtk.PositionType.TOP, Gtk.PositionType.BOTTOM</code>."
-#: C/grid.py.page:45(item/p)
+#. (itstool) path: item/p
+#: C/grid.py.page:45
msgid ""
"<code>insert_row(position)</code> and <code>insert_column(position)</code> "
"do exactly what they say; children which are attached at or below this "
@@ -15555,7 +16889,8 @@ msgstr ""
"BOTTOM</code>, se inserta una fila; si es <code>Gtk.PositionType.LEFT</code> "
"o <code>Gtk.PositionType.RIGHT</code>, se inserta una columna."
-#: C/grid.py.page:46(item/p)
+#. (itstool) path: item/p
+#: C/grid.py.page:46
msgid ""
"<code>set_row_homogeneous(True)</code> and <code>set_column_homogeneous(True)"
"</code> ensure that (respectively) every row or every column has the same "
@@ -15565,7 +16900,8 @@ msgstr ""
"code> se aseguran de que (respectivamente) cada fila o cada columna tengan "
"la misma anchura o altura."
-#: C/grid.py.page:47(item/p)
+#. (itstool) path: item/p
+#: C/grid.py.page:47
msgid ""
"<code>set_row_spacing(spacing)</code> and <code>set_column_spacing(spacing)</"
"code> force a spacing between (respectively) rows or columns. The value of "
@@ -15577,9 +16913,9 @@ msgstr ""
"valor de <code>espaciado</code> puede estar entre <code>0</code>, que es el "
"valor predeterminado, y <code>32767</code>."
-#: C/grid.py.page:58(item/p) C/label.py.page:89(item/p)
-#: C/separator.c.page:40(item/p) C/separator.py.page:41(item/p)
-#: C/switch.py.page:45(item/p)
+#. (itstool) path: item/p
+#: C/grid.py.page:58 C/label.py.page:89 C/separator.c.page:40
+#: C/separator.py.page:41 C/switch.py.page:45
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkLabel.html"
"\">GtkLabel</link>"
@@ -15587,9 +16923,9 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkLabel.html"
"\">GtkLabel</link>"
-#: C/grid.py.page:59(item/p) C/image.py.page:102(item/p)
-#: C/paned.c.page:37(item/p) C/paned.py.page:43(item/p)
-#: C/scrolledwindow.py.page:46(item/p)
+#. (itstool) path: item/p
+#: C/grid.py.page:59 C/image.py.page:102 C/paned.c.page:37 C/paned.py.page:43
+#: C/scrolledwindow.py.page:46
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkImage.html"
"\">GtkImage</link>"
@@ -15597,9 +16933,9 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkImage.html"
"\">GtkImage</link>"
-#: C/grid.py.page:60(item/p) C/radiobutton.py.page:49(item/p)
-#: C/separator.c.page:39(item/p) C/separator.py.page:40(item/p)
-#: C/switch.py.page:46(item/p) C/toolbar_builder.py.page:195(item/p)
+#. (itstool) path: item/p
+#: C/grid.py.page:60 C/radiobutton.py.page:49 C/separator.c.page:39
+#: C/separator.py.page:40 C/switch.py.page:46 C/toolbar_builder.py.page:195
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkGrid.html"
"\">GtkGrid</link>"
@@ -15607,16 +16943,19 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkGrid.html"
"\">GtkGrid</link>"
-#: C/grid.vala.page:7(info/title)
+#. (itstool) path: info/title
+#: C/grid.vala.page:7
msgctxt "text"
msgid "Grid (Vala)"
msgstr "Grid (Vala)"
-#: C/grid.vala.page:22(page/title)
+#. (itstool) path: page/title
+#: C/grid.vala.page:22
msgid "Grid widget"
msgstr "Widget de rejilla"
-#: C/grid.vala.page:26(page/code)
+#. (itstool) path: page/code
+#: C/grid.vala.page:26
#, no-wrap
msgid ""
"public class MyWindow : Gtk.ApplicationWindow {\n"
@@ -15701,84 +17040,52 @@ msgstr ""
"\treturn new MyApplication ().run (args);\n"
"}\n"
-#: C/grid.vala.page:31(item/p)
+#. (itstool) path: item/p
+#: C/grid.vala.page:31
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Grid.html\">Gtk.Grid</link>"
msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Grid.html\">Gtk.Grid</link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/GtkApplicationWindow.c.page:21(media)
-#: C/GtkApplicationWindow.js.page:21(media)
-#: C/GtkApplicationWindow.py.page:28(media)
-#: C/GtkApplicationWindow.vala.page:21(media) C/window.c.page:21(media)
-#: C/window.js.page:24(media) C/window.py.page:32(media)
-#: C/window.vala.page:24(media)
+#: C/GtkApplicationWindow.c.page:21 C/GtkApplicationWindow.js.page:21
+#: C/GtkApplicationWindow.py.page:28 C/GtkApplicationWindow.vala.page:21
+#: C/window.c.page:21 C/window.js.page:24 C/window.py.page:32
+#: C/window.vala.page:24
msgctxt "_"
msgid "external ref='media/window.png' md5='eb0cde3530978619c25bddfaeb453345'"
msgstr "external ref='media/window.png' md5='eb0cde3530978619c25bddfaeb453345'"
-#: C/GtkApplicationWindow.c.page:7(info/title)
+#. (itstool) path: info/title
+#: C/GtkApplicationWindow.c.page:7
msgctxt "text"
msgid "ApplicationWindow (C)"
msgstr "ApplicationWindow (C)"
-#: C/GtkApplicationWindow.c.page:17(info/desc)
+#. (itstool) path: info/desc
+#: C/GtkApplicationWindow.c.page:17
msgid "A toplevel window which can contain other widgets, and support GMenu"
msgstr ""
"Una ventana de nivel superior que puede contener otros widgets, y que "
"soporta GMenu"
-#: C/GtkApplicationWindow.c.page:20(page/title)
-#: C/GtkApplicationWindow.js.page:20(page/title)
-#: C/GtkApplicationWindow.py.page:27(page/title)
-#: C/GtkApplicationWindow.vala.page:20(page/title)
+#. (itstool) path: page/title
+#: C/GtkApplicationWindow.c.page:20 C/GtkApplicationWindow.js.page:20
+#: C/GtkApplicationWindow.py.page:27 C/GtkApplicationWindow.vala.page:20
msgid "ApplicationWindow"
msgstr "ApplicationWindow"
-#: C/GtkApplicationWindow.c.page:22(page/p)
+#. (itstool) path: page/p
+#: C/GtkApplicationWindow.c.page:22
msgid "A minimal GtkApplication with a GtkApplicationWindow"
msgstr "Una GtkApplication con una GtkApplicationWindow"
-#: C/GtkApplicationWindow.c.page:24(page/code)
+#. (itstool) path: page/code
+#: C/GtkApplicationWindow.c.page:24
#, no-wrap
msgid ""
"#include <gtk/gtk.h>\n"
@@ -15833,7 +17140,8 @@ msgstr ""
" return status;\n"
"}\n"
-#: C/GtkApplicationWindow.c.page:30(item/p)
+#. (itstool) path: item/p
+#: C/GtkApplicationWindow.c.page:30
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/3.4/GtkApplicationWindow.html"
"\">GtkApplicationWindow</link>"
@@ -15841,22 +17149,25 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/3.4/GtkApplicationWindow.html"
"\">GtkApplicationWindow</link>"
-#: C/GtkApplicationWindow.js.page:7(info/title)
+#. (itstool) path: info/title
+#: C/GtkApplicationWindow.js.page:7
msgctxt "text"
msgid "ApplicationWindow (JavaScript)"
msgstr "ApplicationWindow (JavaScript)"
-#: C/GtkApplicationWindow.js.page:17(info/desc)
-#: C/GtkApplicationWindow.py.page:24(info/desc)
-#: C/GtkApplicationWindow.vala.page:17(info/desc)
+#. (itstool) path: info/desc
+#: C/GtkApplicationWindow.js.page:17 C/GtkApplicationWindow.py.page:24
+#: C/GtkApplicationWindow.vala.page:17
msgid "GtkWindow subclass with GtkApplication support"
msgstr "Subclase GtkWindow con soporte de GtkApplication"
-#: C/GtkApplicationWindow.js.page:22(page/p)
+#. (itstool) path: page/p
+#: C/GtkApplicationWindow.js.page:22
msgid "A simple GtkApplicationWindow which can support Menus."
msgstr "Una GtkApplicationWindow sencilla que soporta menús."
-#: C/GtkApplicationWindow.js.page:24(page/code)
+#. (itstool) path: page/code
+#: C/GtkApplicationWindow.js.page:24
#, no-wrap
msgid ""
"\n"
@@ -15961,31 +17272,73 @@ msgstr ""
"let app = new Application ();\n"
"app.application.run (ARGV);\n"
-#: C/GtkApplicationWindow.py.page:7(info/title)
+#. (itstool) path: info/title
+#: C/GtkApplicationWindow.py.page:7
msgctxt "text"
msgid "ApplicationWindow (Python)"
msgstr "ApplicationWindow (Python)"
-#: C/GtkApplicationWindow.py.page:29(page/p)
-#: C/GtkApplicationWindow.vala.page:22(page/p)
+#. (itstool) path: page/p
+#: C/GtkApplicationWindow.py.page:29 C/GtkApplicationWindow.vala.page:22
msgid "The simplest GtkApplication Window which can support Menus."
msgstr "La ventana de GtkApplication más sencilla que puede soportar menús."
-#: C/GtkApplicationWindow.py.page:36(section/code)
+#. (itstool) path: section/code
+#: C/GtkApplicationWindow.py.page:36
#, no-wrap
+#| msgid ""
+#| "from gi.repository import Gtk\n"
+#| "import sys\n"
+#| "\n"
+#| "# a Gtk ApplicationWindow\n"
+#| "class MyWindow(Gtk.ApplicationWindow):\n"
+#| " # constructor: the title is \"Welcome to GNOME\" and the window belongs\n"
+#| " # to the application app\n"
+#| " def __init__(self, app):\n"
+#| " Gtk.Window.__init__(self, title=\"Welcome to GNOME\", application=app)\n"
+#| "\n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " # constructor of the Gtk Application\n"
+#| " def __init__(self):\n"
+#| " Gtk.Application.__init__(self)\n"
+#| "\n"
+#| " # create and activate a MyWindow, with self (the MyApplication) as\n"
+#| " # application the window belongs to.\n"
+#| " # Note that the function in C activate() becomes do_activate() in Python\n"
+#| " def do_activate(self):\n"
+#| " win = MyWindow(self)\n"
+#| " # show the window and all its content\n"
+#| " # this line could go in the constructor of MyWindow as well\n"
+#| " win.show_all()\n"
+#| "\n"
+#| " # start up the application\n"
+#| " # Note that the function in C startup() becomes do_startup() in Python\n"
+#| " def do_startup(self):\n"
+#| " Gtk.Application.do_startup(self)\n"
+#| "\n"
+#| "# create and run the application, exit with the value returned by\n"
+#| "# running the program\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
"# a Gtk ApplicationWindow\n"
+"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
" # constructor: the title is \"Welcome to GNOME\" and the window belongs\n"
" # to the application app\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"Welcome to GNOME\", application=app)\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
" # constructor of the Gtk Application\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -16013,14 +17366,19 @@ msgstr ""
"import sys\n"
"\n"
"# a Gtk ApplicationWindow\n"
+"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
" # constructor: the title is \"Welcome to GNOME\" and the window belongs\n"
" # to the application app\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"Welcome to GNOME\", application=app)\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
" # constructor of the Gtk Application\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -16044,11 +17402,13 @@ msgstr ""
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/GtkApplicationWindow.py.page:40(section/title)
+#. (itstool) path: section/title
+#: C/GtkApplicationWindow.py.page:40
msgid "Useful methods for a Gtk.ApplicationWindow widget"
msgstr "Métodos útiles para un widget «Gtk.ApplicationWindow»"
-#: C/GtkApplicationWindow.py.page:43(item/p) C/window.py.page:53(item/p)
+#. (itstool) path: item/p
+#: C/GtkApplicationWindow.py.page:43 C/window.py.page:53
msgid ""
"<code>set_default_size(200, 100)</code> sets the default size of the window "
"to a width of <code>200</code> and a height of <code>100</code>; if instead "
@@ -16059,7 +17419,8 @@ msgstr ""
"code>; si en lugar de un número positivo le pasa <code>-1</code> tendrá el "
"tamaño predeterminado."
-#: C/GtkApplicationWindow.py.page:44(item/p) C/window.py.page:54(item/p)
+#. (itstool) path: item/p
+#: C/GtkApplicationWindow.py.page:44 C/window.py.page:54
msgid ""
"<code>set_position(Gtk.WindowPosition.CENTER)</code> centers the window. "
"Other options are <code>Gtk.WindowPosition.NONE, Gtk.WindowPosition.MOUSE, "
@@ -16069,12 +17430,14 @@ msgstr ""
"Otras opciones son <code>Gtk.WindowPosition.NONE, Gtk.WindowPosition.MOUSE, "
"Gtk.WindowPosition.CENTER_ALWAYS, Gtk.WindowPosition.CENTER_ON_PARENT</code>."
-#: C/GtkApplicationWindow.vala.page:7(info/title)
+#. (itstool) path: info/title
+#: C/GtkApplicationWindow.vala.page:7
msgctxt "text"
msgid "ApplicationWindow (Vala)"
msgstr "ApplicationWindow (Vala)"
-#: C/GtkApplicationWindow.vala.page:24(page/code)
+#. (itstool) path: page/code
+#: C/GtkApplicationWindow.vala.page:24
#, no-wrap
msgid ""
"\n"
@@ -16111,7 +17474,8 @@ msgstr ""
"\treturn new MyApplication ().run (args);\n"
"}\n"
-#: C/GtkApplicationWindow.vala.page:30(item/p) C/label.vala.page:30(item/p)
+#. (itstool) path: item/p
+#: C/GtkApplicationWindow.vala.page:30 C/label.vala.page:30
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Application.html.content.tpl"
"\">Gtk.Application</link>"
@@ -16119,60 +17483,27 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Application.html.content.tpl"
"\">Gtk.Application</link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/guitar-tuner.c.page:44(media) C/guitar-tuner.cpp.page:42(media)
-#: C/guitar-tuner.js.page:36(media) C/guitar-tuner.py.page:49(media)
-#: C/guitar-tuner.vala.page:47(media)
+#: C/guitar-tuner.c.page:44 C/guitar-tuner.cpp.page:42
+#: C/guitar-tuner.js.page:36 C/guitar-tuner.py.page:49
+#: C/guitar-tuner.vala.page:47
msgctxt "_"
msgid ""
"external ref='media/guitar-tuner.png' md5='35e615e0f5e293671d00c5c414ac2f6b'"
msgstr ""
"external ref='media/guitar-tuner.png' md5='35e615e0f5e293671d00c5c414ac2f6b'"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/guitar-tuner.c.page:99(media) C/guitar-tuner.cpp.page:93(media)
-#: C/guitar-tuner.py.page:100(media) C/guitar-tuner.vala.page:100(media)
+#: C/guitar-tuner.c.page:99 C/guitar-tuner.cpp.page:93
+#: C/guitar-tuner.py.page:100 C/guitar-tuner.vala.page:100
msgctxt "_"
msgid ""
"external ref='media/guitar-tuner-glade.png' "
@@ -16181,33 +17512,14 @@ msgstr ""
"external ref='media/guitar-tuner-glade.png' "
"md5='f6606525443ab2160f53a87a454364d0'"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/guitar-tuner.c.page:144(media) C/guitar-tuner.cpp.page:122(media)
-#: C/guitar-tuner.js.page:42(media) C/guitar-tuner.py.page:143(media)
-#: C/guitar-tuner.vala.page:134(media)
+#: C/guitar-tuner.c.page:144 C/guitar-tuner.cpp.page:122
+#: C/guitar-tuner.js.page:42 C/guitar-tuner.py.page:143
+#: C/guitar-tuner.vala.page:134
msgctxt "_"
msgid ""
"external ref='media/guitar-tuner-pipeline.png' "
@@ -16216,12 +17528,14 @@ msgstr ""
"external ref='media/guitar-tuner-pipeline.png' "
"md5='5adc952909d92af5dae6954781b4ad5f'"
-#: C/guitar-tuner.c.page:7(info/title)
+#. (itstool) path: info/title
+#: C/guitar-tuner.c.page:7
msgctxt "text"
msgid "Guitar tuner (C)"
msgstr "Afinador de guitarra (C)"
-#: C/guitar-tuner.c.page:10(info/desc) C/guitar-tuner.py.page:10(info/desc)
+#. (itstool) path: info/desc
+#: C/guitar-tuner.c.page:10 C/guitar-tuner.py.page:10
msgid ""
"Use GTK+ and GStreamer to build a simple guitar tuner application for GNOME. "
"Shows off how to use the interface designer."
@@ -16229,14 +17543,26 @@ msgstr ""
"Usar GTK+ y GStreamer para construir un sencillo afinador de guitarra para "
"GNOME. Muestra cómo usar el diseñador de interfaces."
-#: C/guitar-tuner.c.page:28(page/title) C/guitar-tuner.cpp.page:26(page/title)
-#: C/guitar-tuner.js.page:19(page/title) C/guitar-tuner.py.page:33(page/title)
-#: C/guitar-tuner.vala.page:31(page/title)
+#. (itstool) path: credit/name
+#: C/guitar-tuner.c.page:18 C/guitar-tuner.cpp.page:16
+#: C/guitar-tuner.py.page:18 C/guitar-tuner.vala.page:17
+#: C/image-viewer.c.page:18 C/image-viewer.cpp.page:16
+#: C/image-viewer.js.page:18 C/image-viewer.py.page:18
+#: C/image-viewer.vala.page:18 C/index.page:17 C/magic-mirror.vala.page:18
+#: C/photo-wall.c.page:17 C/record-collection.js.page:18
+msgid "Johannes Schmid"
+msgstr "Johannes Schmid"
+
+#. (itstool) path: page/title
+#: C/guitar-tuner.c.page:28 C/guitar-tuner.cpp.page:26
+#: C/guitar-tuner.js.page:19 C/guitar-tuner.py.page:33
+#: C/guitar-tuner.vala.page:31
msgid "Guitar tuner"
msgstr "Afinador de guitarra"
-#: C/guitar-tuner.c.page:31(synopsis/p) C/guitar-tuner.cpp.page:29(synopsis/p)
-#: C/guitar-tuner.py.page:36(synopsis/p)
+#. (itstool) path: synopsis/p
+#: C/guitar-tuner.c.page:31 C/guitar-tuner.cpp.page:29
+#: C/guitar-tuner.py.page:36
msgid ""
"In this tutorial, we're going to make a program which plays tones that you "
"can use to tune a guitar. You will learn how to:"
@@ -16244,62 +17570,61 @@ msgstr ""
"En este tutorial se va a hacer un programa que reproduce tonos que puede "
"usar para afinar su guitarra. Aprenderá a:"
-#: C/guitar-tuner.c.page:33(item/p) C/guitar-tuner.cpp.page:31(item/p)
-#: C/guitar-tuner.py.page:38(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.c.page:33 C/guitar-tuner.cpp.page:31
+#: C/guitar-tuner.py.page:38
msgid "Set up a basic project in Anjuta"
msgstr "Configurar un proyecto básico en Anjuta"
-#: C/guitar-tuner.c.page:34(item/p) C/guitar-tuner.cpp.page:32(item/p)
-#: C/guitar-tuner.py.page:39(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.c.page:34 C/guitar-tuner.cpp.page:32
+#: C/guitar-tuner.py.page:39
msgid "Create a simple GUI with Anjuta's UI designer"
msgstr "Crear una IGU sencilla con el diseñador IU de Anjuta"
-#: C/guitar-tuner.c.page:35(item/p) C/guitar-tuner.cpp.page:33(item/p)
-#: C/guitar-tuner.py.page:40(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.c.page:35 C/guitar-tuner.cpp.page:33
+#: C/guitar-tuner.py.page:40
msgid "Use GStreamer to play sounds"
msgstr "Usar GStreamer para reproducir sonidos"
-#: C/guitar-tuner.c.page:37(synopsis/p) C/guitar-tuner.cpp.page:35(synopsis/p)
-#: C/guitar-tuner.py.page:42(synopsis/p)
-#: C/guitar-tuner.vala.page:40(synopsis/p)
-#: C/image-viewer.js.page:38(synopsis/p) C/image-viewer.py.page:38(synopsis/p)
-#: C/image-viewer.vala.page:45(synopsis/p)
-#: C/magic-mirror.vala.page:38(synopsis/p)
+#. (itstool) path: synopsis/p
+#: C/guitar-tuner.c.page:37 C/guitar-tuner.cpp.page:35
+#: C/guitar-tuner.py.page:42 C/guitar-tuner.vala.page:40
+#: C/image-viewer.js.page:38 C/image-viewer.py.page:38
+#: C/image-viewer.vala.page:45 C/magic-mirror.vala.page:38
msgid "You'll need the following to be able to follow this tutorial:"
msgstr "Necesitará lo siguiente para poder seguir este tutorial:"
-#: C/guitar-tuner.c.page:39(item/p) C/guitar-tuner.cpp.page:37(item/p)
-#: C/guitar-tuner.py.page:44(item/p) C/image-viewer.js.page:40(item/p)
-#: C/image-viewer.py.page:40(item/p) C/magic-mirror.vala.page:40(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.c.page:39 C/guitar-tuner.cpp.page:37
+#: C/guitar-tuner.py.page:44 C/image-viewer.js.page:40
+#: C/image-viewer.py.page:40 C/magic-mirror.vala.page:40
msgid "An installed copy of the <link xref=\"getting-ready\">Anjuta IDE</link>"
msgstr "Una copia instalada del <link xref=\"getting-ready\">EID Anjuta</link>"
-#: C/guitar-tuner.c.page:40(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.c.page:40
msgid "Basic knowledge of the C programming language"
msgstr "Conocimiento básico del lenguaje de programación C"
-#: C/guitar-tuner.c.page:47(section/title)
-#: C/guitar-tuner.cpp.page:45(section/title)
-#: C/guitar-tuner.py.page:52(section/title)
-#: C/image-viewer.c.page:41(section/title)
-#: C/image-viewer.cpp.page:39(section/title)
-#: C/image-viewer.js.page:49(section/title)
-#: C/image-viewer.py.page:48(section/title)
-#: C/image-viewer.vala.page:56(section/title)
-#: C/magic-mirror.vala.page:49(section/title)
-#: C/message-board.c.page:45(section/title)
-#: C/photo-wall.c.page:51(section/title)
-#: C/record-collection.js.page:52(section/title)
+#. (itstool) path: section/title
+#: C/guitar-tuner.c.page:47 C/guitar-tuner.cpp.page:45
+#: C/guitar-tuner.py.page:52 C/image-viewer.c.page:41
+#: C/image-viewer.cpp.page:39 C/image-viewer.js.page:49
+#: C/image-viewer.py.page:48 C/image-viewer.vala.page:56
+#: C/magic-mirror.vala.page:49 C/message-board.c.page:45
+#: C/photo-wall.c.page:51 C/record-collection.js.page:52
msgid "Create a project in Anjuta"
msgstr "Crear un proyecto en Anjuta"
-#: C/guitar-tuner.c.page:48(section/p) C/guitar-tuner.cpp.page:46(section/p)
-#: C/guitar-tuner.py.page:53(section/p) C/guitar-tuner.vala.page:51(section/p)
-#: C/image-viewer.c.page:42(section/p) C/image-viewer.cpp.page:40(section/p)
-#: C/image-viewer.js.page:50(section/p) C/image-viewer.py.page:49(section/p)
-#: C/image-viewer.vala.page:57(section/p)
-#: C/magic-mirror.vala.page:50(section/p) C/photo-wall.c.page:52(section/p)
-#: C/record-collection.js.page:53(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.c.page:48 C/guitar-tuner.cpp.page:46
+#: C/guitar-tuner.py.page:53 C/guitar-tuner.vala.page:51
+#: C/image-viewer.c.page:42 C/image-viewer.cpp.page:40
+#: C/image-viewer.js.page:50 C/image-viewer.py.page:49
+#: C/image-viewer.vala.page:57 C/magic-mirror.vala.page:50
+#: C/photo-wall.c.page:52 C/record-collection.js.page:53
msgid ""
"Before you start coding, you'll need to set up a new project in Anjuta. This "
"will create all of the files you need to build and run the code later on. "
@@ -16309,11 +17634,12 @@ msgstr ""
"Esto creará todos los archivos que necesite para construir y ejecutar el "
"código más adelante. También es útil para mantener todo ordenado."
-#: C/guitar-tuner.c.page:51(item/p) C/guitar-tuner.cpp.page:49(item/p)
-#: C/guitar-tuner.py.page:56(item/p) C/image-viewer.c.page:45(item/p)
-#: C/image-viewer.cpp.page:43(item/p) C/image-viewer.js.page:53(item/p)
-#: C/image-viewer.py.page:52(item/p) C/magic-mirror.vala.page:53(item/p)
-#: C/photo-wall.c.page:55(item/p) C/record-collection.js.page:56(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.c.page:51 C/guitar-tuner.cpp.page:49
+#: C/guitar-tuner.py.page:56 C/image-viewer.c.page:45
+#: C/image-viewer.cpp.page:43 C/image-viewer.js.page:53
+#: C/image-viewer.py.page:52 C/magic-mirror.vala.page:53
+#: C/photo-wall.c.page:55 C/record-collection.js.page:56
msgid ""
"Start Anjuta and click <guiseq><gui>File</gui><gui>New</gui><gui>Project</"
"gui></guiseq> to open the project wizard."
@@ -16321,7 +17647,8 @@ msgstr ""
"Inicie Anjuta y pulse <guiseq><gui>Archivo</gui><gui>Nuevo</"
"gui><gui>Proyecto</gui></guiseq> para abrir el asistente de proyectos."
-#: C/guitar-tuner.c.page:54(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.c.page:54
msgid ""
"Choose <gui>GTK+ (Simple)</gui> from the <gui>C</gui> tab, click "
"<gui>Continue</gui>, and fill out your details on the next few pages. Use "
@@ -16331,7 +17658,8 @@ msgstr ""
"<gui>Continuar</gui>, y rellene sus detalles en las siguientes páginas. Use "
"<file>afinador-guitarra</file> como nombre del proyecto y de la carpeta."
-#: C/guitar-tuner.c.page:57(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.c.page:57
msgid ""
"Make sure that <gui>Configure external packages</gui> is switched <gui>ON</"
"gui>. On the next page, select <em>gstreamer-0.10</em> from the list to "
@@ -16341,8 +17669,8 @@ msgstr ""
"gui>. En la siguiente página, seleccione <em>gstreamer-0.10</em> de la lista "
"para incluir la biblioteca GStreamer en su proyecto."
-#: C/guitar-tuner.c.page:61(item/p) C/image-viewer.c.page:56(item/p)
-#: C/photo-wall.c.page:70(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.c.page:61 C/image-viewer.c.page:56 C/photo-wall.c.page:70
msgid ""
"Click <gui>Apply</gui> and the project will be created for you. Open "
"<file>src/main.c</file> from the <gui>Project</gui> or <gui>File</gui> tabs. "
@@ -16352,8 +17680,8 @@ msgstr ""
"file> desde las pestañas <gui>Proyecto</gui> o <gui>Archivo</gui>. Debería "
"ver algo de código que comience con las líneas:"
-#: C/guitar-tuner.c.page:62(item/code) C/image-viewer.c.page:57(item/code)
-#: C/photo-wall.c.page:71(item/code)
+#. (itstool) path: item/code
+#: C/guitar-tuner.c.page:62 C/image-viewer.c.page:57 C/photo-wall.c.page:71
#, no-wrap
msgid ""
"\n"
@@ -16364,17 +17692,16 @@ msgstr ""
"#include <config.h>\n"
"#include <gtk/gtk.h>"
-#: C/guitar-tuner.c.page:70(section/title)
-#: C/guitar-tuner.cpp.page:68(section/title)
-#: C/guitar-tuner.vala.page:73(section/title)
-#: C/image-viewer.c.page:65(section/title)
-#: C/image-viewer.cpp.page:65(section/title)
-#: C/image-viewer.vala.page:112(section/title)
-#: C/magic-mirror.vala.page:77(section/title)
+#. (itstool) path: section/title
+#: C/guitar-tuner.c.page:70 C/guitar-tuner.cpp.page:68
+#: C/guitar-tuner.vala.page:73 C/image-viewer.c.page:65
+#: C/image-viewer.cpp.page:65 C/image-viewer.vala.page:112
+#: C/magic-mirror.vala.page:77
msgid "Build the code for the first time"
msgstr "Construir el código por primera vez"
-#: C/guitar-tuner.c.page:71(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.c.page:71
msgid ""
"C is a rather verbose language, so don't be surprised that the file contains "
"quite a lot of code. Most of it is template code. It loads an (empty) window "
@@ -16387,7 +17714,8 @@ msgstr ""
"usuario y la muestra. A continuación se ofrecen más detalles; omita esta "
"lista si entiende los conceptos básicos:"
-#: C/guitar-tuner.c.page:75(item/p) C/image-viewer.c.page:70(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.c.page:75 C/image-viewer.c.page:70
msgid ""
"The three <code>#include</code> lines at the top include the <code>config</"
"code> (useful autoconf build defines), <code>gtk</code> (user interface) and "
@@ -16400,7 +17728,8 @@ msgstr ""
"(internacionalización). Las funciones de estas bibliotecas se usan en el "
"resto del código."
-#: C/guitar-tuner.c.page:78(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.c.page:78
msgid ""
"The <code>create_window</code> function creates a new window by opening a "
"GtkBuilder file (<file>src/guitar-tuner.ui</file>, defined a few lines "
@@ -16415,8 +17744,9 @@ msgstr ""
"de todos sus elementos. Puede usar el editor Anjuta para diseñar interfaces "
"de usuario con GtkBuilder."
-#: C/guitar-tuner.c.page:79(item/p) C/image-viewer.c.page:74(item/p)
-#: C/image-viewer.vala.page:122(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.c.page:79 C/image-viewer.c.page:74
+#: C/image-viewer.vala.page:122
msgid ""
"Connecting signals is how you define what happens when you push a button, or "
"when some other event happens. Here, the <code>destroy</code> function is "
@@ -16426,7 +17756,8 @@ msgstr ""
"cuando ocurre algún otro evento. Aquí, se llama a la función <code>destroy</"
"code> (y se sale de la aplicación) cuando cierra la ventana."
-#: C/guitar-tuner.c.page:82(item/p) C/image-viewer.c.page:77(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.c.page:82 C/image-viewer.c.page:77
msgid ""
"The <code>main</code> function is run by default when you start a C "
"application. It calls a few functions which set up and then run the "
@@ -16440,7 +17771,8 @@ msgstr ""
"principal de GTK+, que ejecuta la interfaz de usuario y comienza a escuchar "
"eventos (como pulsaciones del ratón y del teclado)."
-#: C/guitar-tuner.c.page:85(item/p) C/image-viewer.c.page:80(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.c.page:85 C/image-viewer.c.page:80
msgid ""
"The <code>ENABLE_NLS</code> conditional definition sets up <code>gettext</"
"code>, which is a framework for translating applications. These functions "
@@ -16451,10 +17783,10 @@ msgstr ""
"funciones especifican cómo deben manejar su aplicación las herramientas de "
"traducción cuando las ejecuta."
-#: C/guitar-tuner.c.page:89(section/p) C/guitar-tuner.cpp.page:83(section/p)
-#: C/image-viewer.c.page:84(section/p) C/image-viewer.cpp.page:81(section/p)
-#: C/image-viewer.vala.page:132(section/p)
-#: C/magic-mirror.vala.page:92(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.c.page:89 C/guitar-tuner.cpp.page:83
+#: C/image-viewer.c.page:84 C/image-viewer.cpp.page:81
+#: C/image-viewer.vala.page:132 C/magic-mirror.vala.page:92
msgid ""
"This code is ready to be used, so you can compile it by clicking "
"<guiseq><gui>Build</gui><gui>Build Project</gui></guiseq> (or press "
@@ -16464,8 +17796,9 @@ msgstr ""
"<guiseq><gui>Construir</gui><gui>Construir proyecto</gui></guiseq> (o "
"pulsando <keyseq><key>Mayús</key><key>F7</key></keyseq>)."
-#: C/guitar-tuner.c.page:90(section/p) C/guitar-tuner.cpp.page:84(section/p)
-#: C/image-viewer.c.page:85(section/p) C/image-viewer.cpp.page:82(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.c.page:90 C/guitar-tuner.cpp.page:84
+#: C/image-viewer.c.page:85 C/image-viewer.cpp.page:82
msgid ""
"Press <gui>Execute</gui> on the next window that appears to configure a "
"debug build. You only need to do this once, for the first build."
@@ -16474,14 +17807,14 @@ msgstr ""
"configurar una construcción de depuración. Esto sólo necesita hacer una vez "
"para la primera construcción."
-#: C/guitar-tuner.c.page:94(section/title)
-#: C/guitar-tuner.cpp.page:88(section/title)
-#: C/guitar-tuner.py.page:95(section/title)
-#: C/guitar-tuner.vala.page:95(section/title)
+#. (itstool) path: section/title
+#: C/guitar-tuner.c.page:94 C/guitar-tuner.cpp.page:88
+#: C/guitar-tuner.py.page:95 C/guitar-tuner.vala.page:95
msgid "Create the user interface"
msgstr "Crear la interfaz de usuario"
-#: C/guitar-tuner.c.page:95(section/p) C/guitar-tuner.cpp.page:89(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.c.page:95 C/guitar-tuner.cpp.page:89
msgid ""
"A description of the user interface (UI) is contained in the GtkBuilder "
"file. To edit the user interface, open <file>src/guitar_tuner.ui</file>. "
@@ -16495,8 +17828,9 @@ msgstr ""
"en el centro; los widgets y sus propiedades están a la izquierda, y la "
"paleta de los widgets disponibles está a la derecha."
-#: C/guitar-tuner.c.page:97(section/p) C/guitar-tuner.cpp.page:91(section/p)
-#: C/guitar-tuner.py.page:98(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.c.page:97 C/guitar-tuner.cpp.page:91
+#: C/guitar-tuner.py.page:98
msgid ""
"The layout of every UI in GTK+ is organized using boxes and tables. Let's "
"use a vertical <gui>GtkButtonBox</gui> here to assign six <gui>GtkButtons</"
@@ -16506,8 +17840,9 @@ msgstr ""
"Aquí se usará una <gui>GtkButtonBox</gui> vertical para asignar seis "
"<gui>GtkButtons</gui>, uno para cada una de las cuerdas de la guitarra."
-#: C/guitar-tuner.c.page:103(item/p) C/guitar-tuner.cpp.page:97(item/p)
-#: C/guitar-tuner.py.page:104(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.c.page:103 C/guitar-tuner.cpp.page:97
+#: C/guitar-tuner.py.page:104
msgid ""
"Select a <gui>GtkButtonBox</gui> from the <gui>Container</gui> section of "
"the <gui>Palette</gui> on the right and put it into the window. In the "
@@ -16519,8 +17854,9 @@ msgstr ""
"de <gui>Propiedades</gui>, establezca el número de elementos a «6» (para las "
"seis cuerdas) y la orientación a «vertical»."
-#: C/guitar-tuner.c.page:107(item/p) C/guitar-tuner.cpp.page:101(item/p)
-#: C/guitar-tuner.py.page:108(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.c.page:107 C/guitar-tuner.cpp.page:101
+#: C/guitar-tuner.py.page:108
msgid ""
"Now, choose a <gui>GtkButton</gui> from the palette and put it into the "
"first part of the box."
@@ -16528,7 +17864,8 @@ msgstr ""
"Ahora, elija un <gui>GtkButton</gui> de la paleta y póngalo en la primera "
"parte de la caja."
-#: C/guitar-tuner.c.page:110(item/p) C/guitar-tuner.py.page:111(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.c.page:110 C/guitar-tuner.py.page:111
msgid ""
"While the button is still selected, change the <gui>Label</gui> property in "
"the <gui>Widgets</gui> tab to <gui>E</gui>. This will be the low E string."
@@ -16537,7 +17874,8 @@ msgstr ""
"en la pestaña <gui>Widgets</gui> a <gui>E</gui>. Esta será la cuerda Mi "
"grave."
-#: C/guitar-tuner.c.page:113(item/p) C/guitar-tuner.py.page:114(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.c.page:113 C/guitar-tuner.py.page:114
msgid ""
"Switch to the <gui>Signals</gui> tab (inside the <gui>Widgets</gui> tab) and "
"look for the <code>clicked</code> signal of the button. You can use this to "
@@ -16552,8 +17890,9 @@ msgstr ""
"<code>on_button_clicked</code> en la columna <gui>Manejador</gui> y pulse "
"<key>Intro</key>."
-#: C/guitar-tuner.c.page:116(item/p) C/guitar-tuner.py.page:117(item/p)
-#: C/guitar-tuner.vala.page:121(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.c.page:116 C/guitar-tuner.py.page:117
+#: C/guitar-tuner.vala.page:121
msgid ""
"Repeat the above steps for the other buttons, adding the next 5 strings with "
"the names <em>A</em>, <em>D</em>, <em>G</em>, <em>B</em>, and <em>e</em>."
@@ -16562,8 +17901,9 @@ msgstr ""
"cuerdas restantes con los nombres <em>A</em>, <em>D</em>, <em>G</em>, <em>B</"
"em>, y <em>e</em>."
-#: C/guitar-tuner.c.page:119(item/p) C/guitar-tuner.py.page:120(item/p)
-#: C/guitar-tuner.vala.page:124(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.c.page:119 C/guitar-tuner.py.page:120
+#: C/guitar-tuner.vala.page:124
msgid ""
"Save the UI design (by clicking <guiseq><gui>File</gui><gui>Save</gui></"
"guiseq>) and keep it open."
@@ -16571,12 +17911,13 @@ msgstr ""
"Guarde el diseño de la IU (pulsando <guiseq><gui>Archivo</gui><gui>Guardar</"
"gui></guiseq>) y déjelo abierto."
-#: C/guitar-tuner.c.page:125(section/title)
-#: C/guitar-tuner.vala.page:202(section/title)
+#. (itstool) path: section/title
+#: C/guitar-tuner.c.page:125 C/guitar-tuner.vala.page:202
msgid "Creating the signal handler"
msgstr "Crear el manejador de señales"
-#: C/guitar-tuner.c.page:126(section/p) C/guitar-tuner.py.page:127(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.c.page:126 C/guitar-tuner.py.page:127
msgid ""
"In the UI designer, you made it so that all of the buttons will call the "
"same function, <gui>on_button_clicked</gui>, when they are clicked. We need "
@@ -16586,7 +17927,8 @@ msgstr ""
"misma función, <gui>on_button_clicked</gui>, cuando se pulsan. Se debe "
"añadir esta función al archivo de código fuente."
-#: C/guitar-tuner.c.page:127(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.c.page:127
msgid ""
"To do this, open <file>main.c</file> while the user interface file is still "
"open. Switch to the <gui>Signals</gui> tab, which you already used to set "
@@ -16601,7 +17943,8 @@ msgstr ""
"fuente, fuera de cualquier función. Se añadirá el siguiente código a su "
"archivo de código fuente:"
-#: C/guitar-tuner.c.page:130(section/code)
+#. (itstool) path: section/code
+#: C/guitar-tuner.c.page:130
#, no-wrap
msgid ""
"\n"
@@ -16616,7 +17959,8 @@ msgstr ""
"\n"
"}"
-#: C/guitar-tuner.c.page:135(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.c.page:135
msgid ""
"This signal handler has two arguments: a pointer to the <code>GtkWidget</"
"code> that called the function (in our case, always a <code>GtkButton</"
@@ -16634,7 +17978,8 @@ msgstr ""
"pasar un puntero a una estructura de datos a la que puede necesitar acceder "
"dentro del manejador de la señal.)"
-#: C/guitar-tuner.c.page:136(section/p) C/guitar-tuner.py.page:135(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.c.page:136 C/guitar-tuner.py.page:135
msgid ""
"For now, we'll leave the signal handler empty while we work on writing the "
"code to produce sounds."
@@ -16642,16 +17987,16 @@ msgstr ""
"Por ahora, se dejará el manejador de la señal vacío mientras se escribe el "
"código para producir sonidos."
-#: C/guitar-tuner.c.page:140(section/title)
-#: C/guitar-tuner.cpp.page:117(section/title)
-#: C/guitar-tuner.js.page:38(section/title)
-#: C/guitar-tuner.py.page:139(section/title)
-#: C/guitar-tuner.vala.page:130(section/title)
+#. (itstool) path: section/title
+#: C/guitar-tuner.c.page:140 C/guitar-tuner.cpp.page:117
+#: C/guitar-tuner.js.page:38 C/guitar-tuner.py.page:139
+#: C/guitar-tuner.vala.page:130
msgid "GStreamer pipelines"
msgstr "Tuberías de Gstreamer"
-#: C/guitar-tuner.c.page:141(section/p) C/guitar-tuner.js.page:39(section/p)
-#: C/guitar-tuner.py.page:140(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.c.page:141 C/guitar-tuner.js.page:39
+#: C/guitar-tuner.py.page:140
msgid ""
"GStreamer is GNOME's multimedia framework — you can use it for playing, "
"recording, and processing video, audio, webcam streams and the like. Here, "
@@ -16661,8 +18006,9 @@ msgstr ""
"reproducir, grabar y procesar vídeo, sonido, flujos de la cámara web y "
"similares. En este caso, se usará para generar tonos de frecuencia única."
-#: C/guitar-tuner.c.page:142(section/p) C/guitar-tuner.cpp.page:120(section/p)
-#: C/guitar-tuner.js.page:40(section/p) C/guitar-tuner.py.page:141(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.c.page:142 C/guitar-tuner.cpp.page:120
+#: C/guitar-tuner.js.page:40 C/guitar-tuner.py.page:141
msgid ""
"Conceptually, GStreamer works as follows: You create a <em>pipeline</em> "
"containing several processing elements going from the <em>source</em> to the "
@@ -16675,9 +18021,10 @@ msgstr ""
"por ejemplo, un archivo de imagen, un vídeo o un archivo de música, y la "
"salida puede ser un widget o la tarjeta de sonido."
-#: C/guitar-tuner.c.page:143(section/p) C/guitar-tuner.cpp.page:121(section/p)
-#: C/guitar-tuner.js.page:41(section/p) C/guitar-tuner.py.page:142(section/p)
-#: C/guitar-tuner.vala.page:133(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.c.page:143 C/guitar-tuner.cpp.page:121
+#: C/guitar-tuner.js.page:41 C/guitar-tuner.py.page:142
+#: C/guitar-tuner.vala.page:133
msgid ""
"Between source and sink, you can apply various filters and converters to "
"handle effects, format conversions and so on. Each element of the pipeline "
@@ -16688,20 +18035,22 @@ msgstr ""
"tubería tiene propiedades que se pueden usar para cambiar este "
"comportamiento."
-#: C/guitar-tuner.c.page:145(media/p) C/guitar-tuner.cpp.page:123(media/p)
-#: C/guitar-tuner.js.page:43(media/p) C/guitar-tuner.py.page:144(media/p)
-#: C/guitar-tuner.vala.page:135(media/p)
+#. (itstool) path: media/p
+#: C/guitar-tuner.c.page:145 C/guitar-tuner.cpp.page:123
+#: C/guitar-tuner.js.page:43 C/guitar-tuner.py.page:144
+#: C/guitar-tuner.vala.page:135
msgid "An example GStreamer pipeline."
msgstr "Un ejemplo de tubería de GStreamer."
-#: C/guitar-tuner.c.page:150(section/title)
-#: C/guitar-tuner.py.page:149(section/title)
-#: C/guitar-tuner.vala.page:140(section/title)
+#. (itstool) path: section/title
+#: C/guitar-tuner.c.page:150 C/guitar-tuner.py.page:149
+#: C/guitar-tuner.vala.page:140
msgid "Set up the pipeline"
msgstr "Configurar la tubería"
-#: C/guitar-tuner.c.page:151(section/p) C/guitar-tuner.cpp.page:134(section/p)
-#: C/guitar-tuner.py.page:150(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.c.page:151 C/guitar-tuner.cpp.page:134
+#: C/guitar-tuner.py.page:150
msgid ""
"In this simple example we will use a tone generator source called "
"<code>audiotestsrc</code> and send the output to the default system sound "
@@ -16715,7 +18064,8 @@ msgstr ""
"configurar la frecuencia del generador de tonos; esto es accesible a través "
"de la propiedad <code>freq</code> de <code>audiotestsrc</code>."
-#: C/guitar-tuner.c.page:153(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.c.page:153
msgid ""
"Insert the following line into <file>main.c</file>, just below the "
"<code>#include <gtk/gtk.h></code> line:"
@@ -16723,12 +18073,14 @@ msgstr ""
"Inserte la siguiente línea en <file>main.c</file>, justo a continuación de "
"la línea <code>#include <gtk/gtk.h></code>:"
-#: C/guitar-tuner.c.page:154(section/code)
+#. (itstool) path: section/code
+#: C/guitar-tuner.c.page:154
#, no-wrap
msgid "#include <gst/gst.h>"
msgstr "#include <gst/gst.h>"
-#: C/guitar-tuner.c.page:155(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.c.page:155
msgid ""
"This includes the GStreamer library. You also need to add a line to "
"initialize GStreamer; put the following code on the line above the "
@@ -16738,12 +18090,14 @@ msgstr ""
"inicializar GStreamer; ponga la siguiente línea de código antes de la "
"llamada <code>gtk_init</code> en la función <code>main</code>:"
-#: C/guitar-tuner.c.page:156(section/code)
+#. (itstool) path: section/code
+#: C/guitar-tuner.c.page:156
#, no-wrap
msgid "gst_init (&argc, &argv);"
msgstr "gst_init (&argc, &argv);"
-#: C/guitar-tuner.c.page:157(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.c.page:157
msgid ""
"Then, copy the following function into <file>main.c</file> above the empty "
"<code>on_button_clicked</code> function:"
@@ -16751,7 +18105,8 @@ msgstr ""
"Después, copie la siguiente función en <file>main.c</file> encima de la "
"función <code>on_button_clicked</code> vacía:"
-#: C/guitar-tuner.c.page:158(section/code)
+#. (itstool) path: section/code
+#: C/guitar-tuner.c.page:158
#, no-wrap
msgid ""
"static void\n"
@@ -16802,7 +18157,8 @@ msgstr ""
"\tg_timeout_add (LENGTH, (GSourceFunc) pipeline_stop, pipeline);\n"
"}"
-#: C/guitar-tuner.c.page:184(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.c.page:184
msgid ""
"The first five lines create source and sink GStreamer elements "
"(<code>GstElement</code>), and a pipeline element (which will be used as a "
@@ -16819,7 +18175,8 @@ msgstr ""
"sumidero <code>autoaudiosink</code> (la salida de la tarjeta de sonido "
"predeterminada)."
-#: C/guitar-tuner.c.page:187(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.c.page:187
msgid ""
"The call to <code>g_object_set</code> sets the <code>freq</code> property of "
"the source element to <code>frequency</code>, which is passed as an argument "
@@ -16831,7 +18188,8 @@ msgstr ""
"argumento a la función <code>play_sound</code>. Esto sólo es la frecuencia "
"de la nota en Hercios; más adelante se definirán algunas frecuencias útiles."
-#: C/guitar-tuner.c.page:190(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.c.page:190
msgid ""
"<code>gst_bin_add_many</code> puts the source and sink into the pipeline. "
"The pipeline is a <code>GstBin</code>, which is just an element that can "
@@ -16845,7 +18203,8 @@ msgstr ""
"elementos como quiera a una tubería añadiendo más argumentos a "
"<code>gst_bin_add_many</code>."
-#: C/guitar-tuner.c.page:193(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.c.page:193
msgid ""
"Next, <code>gst_element_link</code> is used to connect the elements "
"together, so the output of <code>source</code> (a tone) goes into the input "
@@ -16861,12 +18220,13 @@ msgstr ""
"reproducción, configurando el estado de la tubería a reproduciendo "
"(<code>GST_STATE_PLAYING</code>)."
-#: C/guitar-tuner.c.page:200(section/title)
-#: C/guitar-tuner.py.page:190(section/title)
+#. (itstool) path: section/title
+#: C/guitar-tuner.c.page:200 C/guitar-tuner.py.page:190
msgid "Stopping playback"
msgstr "Detener la reproducción"
-#: C/guitar-tuner.c.page:201(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.c.page:201
msgid ""
"We don't want to play an annoying tone forever, so the last thing "
"<code>play_sound</code> does is to call <code>g_timeout_add</code>. This "
@@ -16882,7 +18242,8 @@ msgstr ""
"<code>pipeline_stop</code>, y se queda llamando a <code>pipeline_stop</code> "
"hasta que devuelve <code>FALSE</code>."
-#: C/guitar-tuner.c.page:202(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.c.page:202
msgid ""
"Now, we'll write the <code>pipeline_stop</code> function which is called by "
"<code>g_timeout_add</code>. Insert the following code <em>above</em> the "
@@ -16892,7 +18253,8 @@ msgstr ""
"llamada por <code>g_timeout_add</code>. Inserte el código siguiente "
"<em>encima</em> de la función <code>play_sound</code>:"
-#: C/guitar-tuner.c.page:203(section/code)
+#. (itstool) path: section/code
+#: C/guitar-tuner.c.page:203
#, no-wrap
msgid ""
"\n"
@@ -16919,7 +18281,8 @@ msgstr ""
"\treturn FALSE;\n"
"}"
-#: C/guitar-tuner.c.page:214(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.c.page:214
msgid ""
"The call to <code>gst_element_set_state</code> stops the playback of the "
"pipeline and <code>g_object_unref</code> unreferences the pipeline, "
@@ -16929,12 +18292,13 @@ msgstr ""
"la tubería y <code>g_object_unref</code> desreferencia la tubería, la "
"destruye y libera su memoria."
-#: C/guitar-tuner.c.page:218(section/title)
-#: C/guitar-tuner.py.page:207(section/title)
+#. (itstool) path: section/title
+#: C/guitar-tuner.c.page:218 C/guitar-tuner.py.page:207
msgid "Define the tones"
msgstr "Definir los tonos"
-#: C/guitar-tuner.c.page:219(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.c.page:219
msgid ""
"We want to play the correct sound when the user clicks a button. First of "
"all, we need to know the frequencies for the six guitar strings, which are "
@@ -16945,7 +18309,8 @@ msgstr ""
"guitarra, que están definidas (al principio de <file>main.c</file>) de la "
"siguiente manera:"
-#: C/guitar-tuner.c.page:220(section/code)
+#. (itstool) path: section/code
+#: C/guitar-tuner.c.page:220
#, no-wrap
msgid ""
"\n"
@@ -16966,7 +18331,8 @@ msgstr ""
"#define NOTE_B 987.77\n"
"#define NOTE_e 1318.5"
-#: C/guitar-tuner.c.page:228(section/p) C/guitar-tuner.py.page:221(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.c.page:228 C/guitar-tuner.py.page:221
msgid ""
"Now to flesh out the signal handler that we defined earlier, "
"<code>on_button_clicked</code>. We could have connected every button to a "
@@ -16980,7 +18346,8 @@ msgstr ""
"código. En su lugar, se puede usar la etiqueta del botón para saber cuál de "
"ellos se ha pulsado:"
-#: C/guitar-tuner.c.page:229(section/code)
+#. (itstool) path: section/code
+#: C/guitar-tuner.c.page:229
#, no-wrap
msgid ""
"\n"
@@ -17025,7 +18392,8 @@ msgstr ""
"\t play_sound (NOTE_e);\n"
"}\n"
-#: C/guitar-tuner.c.page:250(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.c.page:250
msgid ""
"A pointer to the <code>GtkButton</code> that was clicked is passed as an "
"argument (<code>button</code>) to <code>on_button_clicked</code>. We can get "
@@ -17035,7 +18403,8 @@ msgstr ""
"code>) un puntero al <code>GtkButton</code> que se ha pulsado. Se puede "
"obtener el texto de este botón usando <code>gtk_label_get_label</code>."
-#: C/guitar-tuner.c.page:251(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.c.page:251
msgid ""
"The text is then compared to the notes that we have using <code>g_str_equal</"
"code>, and <code>play_sound</code> is called with the frequency appropriate "
@@ -17046,20 +18415,18 @@ msgstr ""
"correspondiente a cada nota. Esto reproduce el tono; el afinador de guitarra "
"ya está funcionando."
-#: C/guitar-tuner.c.page:255(section/title)
-#: C/guitar-tuner.cpp.page:254(section/title)
-#: C/guitar-tuner.vala.page:252(section/title)
-#: C/image-viewer.c.page:221(section/title)
-#: C/image-viewer.cpp.page:209(section/title)
-#: C/image-viewer.vala.page:279(section/title)
-#: C/photo-wall.c.page:391(section/title)
+#. (itstool) path: section/title
+#: C/guitar-tuner.c.page:255 C/guitar-tuner.cpp.page:254
+#: C/guitar-tuner.vala.page:252 C/image-viewer.c.page:221
+#: C/image-viewer.cpp.page:209 C/image-viewer.vala.page:279
+#: C/photo-wall.c.page:391
msgid "Build and run the application"
msgstr "Construir y ejecutar la aplicación"
-#: C/guitar-tuner.c.page:256(section/p)
-#: C/guitar-tuner.vala.page:253(section/p)
-#: C/image-viewer.c.page:222(section/p) C/image-viewer.cpp.page:210(section/p)
-#: C/image-viewer.vala.page:280(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.c.page:256 C/guitar-tuner.vala.page:253
+#: C/image-viewer.c.page:222 C/image-viewer.cpp.page:210
+#: C/image-viewer.vala.page:280
msgid ""
"All of the code should now be ready to go. Click <guiseq><gui>Build</"
"gui><gui>Build Project</gui></guiseq> to build everything again, and then "
@@ -17070,8 +18437,9 @@ msgstr ""
"construir todo otra vez y pulse <guiseq><gui>Ejecutar</gui><gui>Ejecutar</"
"gui></guiseq> para iniciar la aplicación."
-#: C/guitar-tuner.c.page:257(section/p) C/guitar-tuner.cpp.page:256(section/p)
-#: C/guitar-tuner.vala.page:254(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.c.page:257 C/guitar-tuner.cpp.page:256
+#: C/guitar-tuner.vala.page:254
msgid ""
"If you haven't already done so, choose the <file>Debug/src/guitar-tuner</"
"file> application in the dialog that appears. Finally, hit <gui>Run</gui> "
@@ -17081,23 +18449,19 @@ msgstr ""
"guitarra</file> en el diálogo que aparece. Finalmente, pulse <gui>Ejecutar</"
"gui> y disfrute."
-#: C/guitar-tuner.c.page:261(section/title)
-#: C/guitar-tuner.cpp.page:260(section/title)
-#: C/guitar-tuner.js.page:241(section/title)
-#: C/guitar-tuner.py.page:239(section/title)
-#: C/guitar-tuner.vala.page:258(section/title)
-#: C/image-viewer.c.page:227(section/title)
-#: C/image-viewer.cpp.page:215(section/title)
-#: C/image-viewer.js.page:315(section/title)
-#: C/image-viewer.py.page:229(section/title)
-#: C/image-viewer.vala.page:287(section/title)
-#: C/magic-mirror.vala.page:149(section/title)
-#: C/photo-wall.c.page:399(section/title)
-#: C/record-collection.js.page:296(section/title)
+#. (itstool) path: section/title
+#: C/guitar-tuner.c.page:261 C/guitar-tuner.cpp.page:260
+#: C/guitar-tuner.js.page:241 C/guitar-tuner.py.page:239
+#: C/guitar-tuner.vala.page:258 C/image-viewer.c.page:227
+#: C/image-viewer.cpp.page:215 C/image-viewer.js.page:315
+#: C/image-viewer.py.page:229 C/image-viewer.vala.page:287
+#: C/magic-mirror.vala.page:149 C/photo-wall.c.page:399
+#: C/record-collection.js.page:296
msgid "Reference Implementation"
msgstr "Implementación de referencia"
-#: C/guitar-tuner.c.page:262(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.c.page:262
msgid ""
"If you run into problems with the tutorial, compare your code with this "
"<link href=\"guitar-tuner/guitar-tuner.c\">reference code</link>."
@@ -17105,42 +18469,42 @@ msgstr ""
"Si tiene problemas con este tutorial, compare su código con este <link href="
"\"guitar-tuner/guitar-tuner.c\">código de referencia</link>."
-#: C/guitar-tuner.c.page:266(section/title)
-#: C/guitar-tuner.cpp.page:273(section/title)
-#: C/guitar-tuner.py.page:244(section/title)
-#: C/guitar-tuner.vala.page:269(section/title)
-#: C/image-viewer.c.page:232(section/title)
-#: C/image-viewer.cpp.page:220(section/title)
-#: C/image-viewer.js.page:320(section/title)
-#: C/image-viewer.py.page:234(section/title)
-#: C/image-viewer.vala.page:292(section/title)
+#. (itstool) path: section/title
+#: C/guitar-tuner.c.page:266 C/guitar-tuner.cpp.page:273
+#: C/guitar-tuner.py.page:244 C/guitar-tuner.vala.page:269
+#: C/image-viewer.c.page:232 C/image-viewer.cpp.page:220
+#: C/image-viewer.js.page:320 C/image-viewer.py.page:234
+#: C/image-viewer.vala.page:292
msgid "Next steps"
msgstr "Siguientes pasos"
-#: C/guitar-tuner.c.page:267(section/p) C/guitar-tuner.cpp.page:274(section/p)
-#: C/guitar-tuner.py.page:245(section/p)
-#: C/guitar-tuner.vala.page:270(section/p)
-#: C/image-viewer.c.page:233(section/p) C/image-viewer.cpp.page:221(section/p)
-#: C/image-viewer.js.page:321(section/p) C/image-viewer.py.page:235(section/p)
-#: C/image-viewer.vala.page:293(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.c.page:267 C/guitar-tuner.cpp.page:274
+#: C/guitar-tuner.py.page:245 C/guitar-tuner.vala.page:270
+#: C/image-viewer.c.page:233 C/image-viewer.cpp.page:221
+#: C/image-viewer.js.page:321 C/image-viewer.py.page:235
+#: C/image-viewer.vala.page:293
msgid "Here are some ideas for how you can extend this simple demonstration:"
msgstr ""
"Aquí hay algunas ideas sobre cómo puede extender esta sencilla demostración:"
-#: C/guitar-tuner.c.page:270(item/p) C/guitar-tuner.cpp.page:277(item/p)
-#: C/guitar-tuner.py.page:248(item/p) C/guitar-tuner.vala.page:273(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.c.page:270 C/guitar-tuner.cpp.page:277
+#: C/guitar-tuner.py.page:248 C/guitar-tuner.vala.page:273
msgid "Have the program automatically cycle through the notes."
msgstr "Hacer que el programa recorra las notas automáticamente."
-#: C/guitar-tuner.c.page:273(item/p) C/guitar-tuner.cpp.page:280(item/p)
-#: C/guitar-tuner.py.page:251(item/p) C/guitar-tuner.vala.page:276(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.c.page:273 C/guitar-tuner.cpp.page:280
+#: C/guitar-tuner.py.page:251 C/guitar-tuner.vala.page:276
msgid "Make the program play recordings of real guitar strings being plucked."
msgstr ""
"Hacer que el programa reproduzca grabaciones de cuerdas de guitarras que se "
"están afinando."
-#: C/guitar-tuner.c.page:274(item/p) C/guitar-tuner.cpp.page:281(item/p)
-#: C/guitar-tuner.py.page:252(item/p) C/guitar-tuner.vala.page:277(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.c.page:274 C/guitar-tuner.cpp.page:281
+#: C/guitar-tuner.py.page:252 C/guitar-tuner.vala.page:277
msgid ""
"To do this, you would need to set up a more complicated GStreamer pipeline "
"which allows you to load and play back music files. You'll have to choose "
@@ -17156,8 +18520,9 @@ msgstr ""
"en el formato del archivo de sus sonidos grabados; los MP3 usan elementos "
"diferentes de los de los archivos Ogg Vorbis, por ejemplo."
-#: C/guitar-tuner.c.page:275(item/p) C/guitar-tuner.cpp.page:282(item/p)
-#: C/guitar-tuner.py.page:253(item/p) C/guitar-tuner.vala.page:278(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.c.page:275 C/guitar-tuner.cpp.page:282
+#: C/guitar-tuner.py.page:253 C/guitar-tuner.vala.page:278
msgid ""
"You might need to connect the elements in more complicated ways too. This "
"could involve using <link href=\"http://gstreamer.freedesktop.org/data/doc/"
@@ -17175,13 +18540,15 @@ msgstr ""
"section-intro-basics-pads.html\">interfaces</link>. Es posible que encuentre "
"útil el comando <cmd>gst-inspect</cmd>."
-#: C/guitar-tuner.c.page:278(item/p) C/guitar-tuner.cpp.page:285(item/p)
-#: C/guitar-tuner.py.page:256(item/p) C/guitar-tuner.vala.page:281(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.c.page:278 C/guitar-tuner.cpp.page:285
+#: C/guitar-tuner.py.page:256 C/guitar-tuner.vala.page:281
msgid "Automatically analyze notes that the user plays."
msgstr "Analizar automáticamente las notas que toca el músico."
-#: C/guitar-tuner.c.page:279(item/p) C/guitar-tuner.cpp.page:286(item/p)
-#: C/guitar-tuner.py.page:257(item/p) C/guitar-tuner.vala.page:282(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.c.page:279 C/guitar-tuner.cpp.page:286
+#: C/guitar-tuner.py.page:257 C/guitar-tuner.vala.page:282
msgid ""
"You could connect a microphone and record sounds from it using an <link href="
"\"http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-"
@@ -17199,7 +18566,8 @@ msgstr ""
"plugins-good-plugins-plugin-spectrum.html\">análisis de espectro</link> le "
"permita saber qué notas se están reproduciendo?"
-#: C/guitar-tuner.cpp.page:8(info/desc)
+#. (itstool) path: info/desc
+#: C/guitar-tuner.cpp.page:8
msgid ""
"Use GTKmm and GStreamermm to build a simple guitar tuner application for "
"GNOME. Shows off how to use the interface designer."
@@ -17207,11 +18575,13 @@ msgstr ""
"Usar GTKmm y GStreamermm para construir un sencillo afinador de guitarra "
"para GNOME. Muestra cómo usar el diseñador de interfaces."
-#: C/guitar-tuner.cpp.page:38(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.cpp.page:38
msgid "Basic knowledge of the C++ programming language"
msgstr "Conocimiento básico del lenguaje de programación C++"
-#: C/guitar-tuner.cpp.page:52(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.cpp.page:52
msgid ""
"Choose <gui>GTKmm (Simple)</gui> from the <gui>C++</gui> tab, click "
"<gui>Forward</gui>, and fill out your details on the next few pages. Use "
@@ -17221,7 +18591,8 @@ msgstr ""
"<gui>Adelante</gui> y rellene los detalles en las siguientes páginas. Use "
"<file>afinador-guitarra</file> como nombre de proyecto y de carpeta."
-#: C/guitar-tuner.cpp.page:55(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.cpp.page:55
msgid ""
"Make sure that <gui>Configure external packages</gui> is selected. On the "
"next page, select <em>gstreamermm-0.10</em> from the list to include the "
@@ -17231,7 +18602,8 @@ msgstr ""
"En la siguiente página, seleccione <em>gstreamermm-0.10</em> de la lista "
"para incluir la biblioteca GStreamermm en su proyecto."
-#: C/guitar-tuner.cpp.page:59(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.cpp.page:59
msgid ""
"Click <gui>Finished</gui> and the project will be created for you. Open "
"<file>src/main.cc</file> from the <gui>Project</gui> or <gui>File</gui> "
@@ -17241,7 +18613,8 @@ msgstr ""
"file> desde las pestañas <gui>Proyecto</gui> o <gui>Archivo</gui>. Debería "
"ver algo de código que comience con las líneas:"
-#: C/guitar-tuner.cpp.page:60(item/code)
+#. (itstool) path: item/code
+#: C/guitar-tuner.cpp.page:60
#, no-wrap
msgid ""
"\n"
@@ -17252,7 +18625,8 @@ msgstr ""
"#include <gtkmm.h>\n"
"#include <iostream>"
-#: C/guitar-tuner.cpp.page:69(section/p) C/image-viewer.cpp.page:66(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.cpp.page:69 C/image-viewer.cpp.page:66
msgid ""
"This is a very basic C++ code setting up GTKmm. More details are given "
"below; skip this list if you understand the basics:"
@@ -17260,7 +18634,8 @@ msgstr ""
"Esto es una configuración de código C++ usando GTKmm. Se ofrecen más "
"detalles a continuación; omita esta lista si entiende los conceptos básicos:"
-#: C/guitar-tuner.cpp.page:73(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.cpp.page:73
msgid ""
"The three <code>#include</code> lines at the top include the <code>config</"
"code> (useful autoconf build defines), <code>gtkmm</code> (user interface) "
@@ -17272,7 +18647,8 @@ msgstr ""
"autoconf), <code>gtkmm</code> (interfaz de usuario) <code>iostream</code> "
"(STL). Las funciones de estas bibliotecas se usan en el resto del código."
-#: C/guitar-tuner.cpp.page:76(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.cpp.page:76
msgid ""
"The <code>main</code> function creates a new window by opening a GtkBuilder "
"file (<file>src/guitar-tuner.ui</file>, defined a few lines above) and then "
@@ -17286,7 +18662,8 @@ msgstr ""
"descripción de la interfaz de usuario y de todos sus elementos. Puede usar "
"el editor Anjuta para diseñar interfaces de usuario con GtkBuilder."
-#: C/guitar-tuner.cpp.page:79(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.cpp.page:79
msgid ""
"Afterwards it calls a few functions which set up and then run the "
"application. The <code>kit.run</code> function starts the GTKmm main loop, "
@@ -17298,7 +18675,8 @@ msgstr ""
"GTKmm, que ejecuta la interfaz de usuario y empieza a escuchar eventos (como "
"pulsaciones del ratón y del teclado)."
-#: C/guitar-tuner.cpp.page:104(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.cpp.page:104
msgid ""
"While the button is still selected, change the <gui>Label</gui> property in "
"the <gui>Widgets</gui> tab to <gui>E</gui>. This will be the low E string. "
@@ -17310,7 +18688,8 @@ msgstr ""
"grave. Cambie también la propiedad <gui>Nombre</gui> a <gui>button_E</gui>. "
"Este es el nombre al que se hará referencia más tarde en el código."
-#: C/guitar-tuner.cpp.page:108(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.cpp.page:108
msgid ""
"Repeat the above steps for the other buttons, adding the next 5 strings with "
"the labels <em>A</em>, <em>D</em>, <em>G</em>, <em>B</em>, and <em>e</em> "
@@ -17320,7 +18699,8 @@ msgstr ""
"cuerdas restantes con las etiquetas <em>A</em>, <em>D</em>, <em>G</em>, "
"<em>B</em>, y <em>e</em> y los nombres <em>boton_A</em>, etc."
-#: C/guitar-tuner.cpp.page:111(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.cpp.page:111
msgid ""
"Save the UI design (by clicking <guiseq><gui>File</gui><gui>Save</gui></"
"guiseq>) and close the file."
@@ -17328,7 +18708,8 @@ msgstr ""
"Guarde el diseño de la IU (pulsando <guiseq><gui>Archivo</gui><gui>Guardar</"
"gui></guiseq>) y cierre el archivo."
-#: C/guitar-tuner.cpp.page:118(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.cpp.page:118
msgid ""
"GStreamer is GNOME's multimedia framework — you can use it for playing, "
"recording, and processing video, audio, webcam streams and the like. Here, "
@@ -17340,11 +18721,13 @@ msgstr ""
"similares. En este caso, se usará para generar tonos de frecuencia única. "
"GStreamermm es la implementación de GStreamer en C++ que se usará aquí."
-#: C/guitar-tuner.cpp.page:128(section/title)
+#. (itstool) path: section/title
+#: C/guitar-tuner.cpp.page:128
msgid "Using GStreamermm"
msgstr "Usar GStreamermm"
-#: C/guitar-tuner.cpp.page:129(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.cpp.page:129
msgid ""
"To use GStreamermm, it has to be initialised. We do that by adding the "
"following line of code next to the <code>Gtk::Main kit(argc, argv);</code> "
@@ -17354,12 +18737,14 @@ msgstr ""
"siguiente línea de código junto a la línea <code>Gtk::Main kit(argc, argv);</"
"code> en <file>main.cc</file>:"
-#: C/guitar-tuner.cpp.page:131(section/code)
+#. (itstool) path: section/code
+#: C/guitar-tuner.cpp.page:131
#, no-wrap
msgid "\tGst::init (argc, argv);"
msgstr "\tGst::init (argc, argv);"
-#: C/guitar-tuner.cpp.page:132(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.cpp.page:132
msgid ""
"While we are on it, also make sure that the <file>gstreamermm.h</file> is "
"included in <file>main.cc</file> properly."
@@ -17367,7 +18752,8 @@ msgstr ""
"Mientras está con esto, asegúrese de que <file>gstreamermm.h</file> se "
"incluye correctamente en <file>main.cc</file>."
-#: C/guitar-tuner.cpp.page:136(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.cpp.page:136
msgid ""
"To simplify the handling of the pipeline we will define a helper class "
"<code>Sound</code>. We do that in <file>main.cc</file> in order to keep this "
@@ -17377,7 +18763,8 @@ msgstr ""
"code> auxiliar. Esto se hace en <file>main.cc</file> para mantener la "
"sencillez de este ejemplo, pero puede querer usar un archivo aparte."
-#: C/guitar-tuner.cpp.page:139(section/code)
+#. (itstool) path: section/code
+#: C/guitar-tuner.cpp.page:139
#, no-wrap
msgid ""
"\n"
@@ -17466,11 +18853,13 @@ msgstr ""
"\treturn false;\n"
"}\n"
-#: C/guitar-tuner.cpp.page:183(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.cpp.page:183
msgid "The code has the following purpose:"
msgstr "El código tiene el propósito siguiente:"
-#: C/guitar-tuner.cpp.page:186(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.cpp.page:186
msgid ""
"In the constructor, source and sink GStreamer elements (<code>Gst::Element</"
"code>) are created, and a pipeline element (which will be used as a "
@@ -17490,7 +18879,8 @@ msgstr ""
"predeterminada). Después de añadir los elementos a la tubería y de "
"enlazarlos unos con otros, la tubería está lista para ejecutarse."
-#: C/guitar-tuner.cpp.page:189(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.cpp.page:189
msgid ""
"<code>start_playing</code> sets the source element to play a particular "
"frequency and then starts the pipeline so the sound actually starts playing. "
@@ -17503,7 +18893,8 @@ msgstr ""
"tiempo, se establece un tiempo de expiración para detener la tubería después "
"de 200 ms, llamando a <code>stop_playing</code>."
-#: C/guitar-tuner.cpp.page:194(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.cpp.page:194
msgid ""
"In <code>stop_playing</code> which is called when the timeout has elapsed, "
"the pipeline is stopped and as such there isn't any sound output anymore. As "
@@ -17517,11 +18908,13 @@ msgstr ""
"<code>Glib::RefPtr</code>, la memoria se libera automáticamente una vez que "
"la clase <code>Sound</code> se ha destruido."
-#: C/guitar-tuner.cpp.page:202(section/title)
+#. (itstool) path: section/title
+#: C/guitar-tuner.cpp.page:202
msgid "Connecting the signals"
msgstr "Conectar las señales"
-#: C/guitar-tuner.cpp.page:203(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.cpp.page:203
msgid ""
"We want to play the correct sound when the user clicks a button. That means "
"that we have to connect to the signal that is fired when the user clicks the "
@@ -17535,7 +18928,8 @@ msgstr ""
"llamada dependiendo del tono que reproducir. GTKmm hace que esto sea fácil "
"ya que se puede vincular información con la biblioteca <em>sigc</em>."
-#: C/guitar-tuner.cpp.page:208(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.cpp.page:208
msgid ""
"The function that is called when the user clicks a button can be pretty "
"simple, as all the interesting stuff is done in the helper class now:"
@@ -17543,7 +18937,8 @@ msgstr ""
"La función a la que se llama cuando el usuario pulsa un botón puede ser muy "
"sencilla, ya que todo lo interesante se hace ahora en la clase auxiliar:"
-#: C/guitar-tuner.cpp.page:210(section/code)
+#. (itstool) path: section/code
+#: C/guitar-tuner.cpp.page:210
#, no-wrap
msgid ""
"\n"
@@ -17560,7 +18955,8 @@ msgstr ""
"\tsound->start_playing (frequency);\n"
"}\n"
-#: C/guitar-tuner.cpp.page:217(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.cpp.page:217
msgid ""
"It only calls the helper class we defined before to play the correct "
"frequencies. With some more clever code we would also have been able to "
@@ -17572,7 +18968,8 @@ msgstr ""
"conectado directamente con la clase sin usar la función, pero esto se dejará "
"como ejercicio."
-#: C/guitar-tuner.cpp.page:221(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.cpp.page:221
msgid ""
"The code to set up the signals should be added to the <code>main()</code> "
"function just after the <code>builder->get_widget(\"main_window\", "
@@ -17582,7 +18979,8 @@ msgstr ""
"()</code>, justo después de la línea <code>builder->get_widget"
"(\"main_window\", main_win);</code>:"
-#: C/guitar-tuner.cpp.page:223(section/code)
+#. (itstool) path: section/code
+#: C/guitar-tuner.cpp.page:223
#, no-wrap
msgid ""
"\n"
@@ -17601,7 +18999,8 @@ msgstr ""
"button->signal_clicked().connect (sigc::bind<double,
Sound*>(sigc::ptr_fun(&on_button_clicked),\n"
" 329.63, &sound));\n"
-#: C/guitar-tuner.cpp.page:233(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.cpp.page:233
msgid ""
"At first we create an instance of our helper class that we want to use now "
"and declare a variable for the button we want to connect to."
@@ -17609,7 +19008,8 @@ msgstr ""
"En primer lugar, se crea una instancia de la clase auxiliar que se quiere "
"usar ahora y se declara una variable para el botón al que se quiere conectar."
-#: C/guitar-tuner.cpp.page:237(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.cpp.page:237
msgid ""
"Next, we receive the button object from the user interface that was created "
"out of the user interface file. Remember that <em>button_E</em> is the name "
@@ -17619,7 +19019,8 @@ msgstr ""
"creó fuera del archivo de la interfaz de usuario. Recuerde que <em>button_E</"
"em> es el nombre que se dio al primer botón."
-#: C/guitar-tuner.cpp.page:241(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.cpp.page:241
msgid ""
"Finally we connect the <em>clicked</em> signal. This isn't fully "
"straightforward because this is done in a fully type-safe way and we "
@@ -17639,7 +19040,8 @@ msgstr ""
"adicionales al slot y, en este caso, se pasa la frecuencia (como «double») y "
"la clase auxiliar."
-#: C/guitar-tuner.cpp.page:248(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.cpp.page:248
msgid ""
"Now that we have set up the <em>E</em> button we also need to connect the "
"other buttons according to their frequencies: 440 for A, 587.33 for D, "
@@ -17651,7 +19053,8 @@ msgstr ""
"para G, 987.77 para B y 1318.5 para E agudo. Esto se hace de la misma "
"manera, pasando simplemente una frecuencia diferente al manejador."
-#: C/guitar-tuner.cpp.page:255(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.cpp.page:255
msgid ""
"All of the code should now be ready to go. Click <guiseq><gui>Build</"
"gui><gui>Build Project</gui></guiseq> to build everything again, and then "
@@ -17662,7 +19065,8 @@ msgstr ""
"construir todo otra vez y pulse <guiseq><gui>Ejecutar</gui><gui>Ejecutar</"
"gui></guiseq> para iniciar la aplicación."
-#: C/guitar-tuner.cpp.page:261(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.cpp.page:261
msgid ""
"If you run into problems with the tutorial, compare your code with this "
"<link href=\"guitar-tuner/guitar-tuner.cc\">reference code</link>."
@@ -17670,11 +19074,13 @@ msgstr ""
"Si tiene problemas con este tutorial, compare su código con este <link href="
"\"guitar-tuner/guitar-tuner.cc\">código de referencia</link>."
-#: C/guitar-tuner.cpp.page:265(section/title)
+#. (itstool) path: section/title
+#: C/guitar-tuner.cpp.page:265
msgid "Further Reading"
msgstr "Lecturas adicionales"
-#: C/guitar-tuner.cpp.page:266(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.cpp.page:266
msgid ""
"Many of the things shown above are explained in detail in the <link href="
"\"http://library.gnome.org/devel/gtkmm-tutorial/stable/\">GTKmm book</link> "
@@ -17689,19 +19095,22 @@ msgstr ""
"href=\"http://library.gnome.org/devel/gstreamermm/\">documentación de "
"referencia de GStreamermm</link>."
-#: C/guitar-tuner.js.page:6(info/title)
+#. (itstool) path: info/title
+#: C/guitar-tuner.js.page:6
msgctxt "text"
msgid "Guitar tuner (JavaScript)"
msgstr "Afinador de guitarra (JavaScript)"
-#: C/guitar-tuner.js.page:16(info/desc)
+#. (itstool) path: info/desc
+#: C/guitar-tuner.js.page:16
msgid ""
"Use GTK+ and GStreamer to build a simple guitar tuner application for GNOME."
msgstr ""
"Usar GTK+ y GStreamer para construir un sencillo afinador de guitarra para "
"GNOME."
-#: C/guitar-tuner.js.page:22(synopsis/p)
+#. (itstool) path: synopsis/p
+#: C/guitar-tuner.js.page:22
msgid ""
"In this tutorial we'll construct a small application, Guitar Tuner, using "
"JavaScript and GTK+ and GStreamer. To do and run all the code examples "
@@ -17713,58 +19122,68 @@ msgstr ""
"ejecutar los ejemplos, necesitará un editor en el que escribir el código, "
"una terminal y GNOME 3 o superior instalado en su equipo."
-#: C/guitar-tuner.js.page:24(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.js.page:24
msgid "<link xref=\"#gstreamer\">GStreamer pipelines</link>"
msgstr "<link xref=\"#gstreamer\">Tuberías de GStreamer</link>"
-#: C/guitar-tuner.js.page:25(item/p) C/weatherAppMain.js.page:22(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.js.page:25 C/weatherAppMain.js.page:22
msgid "<link xref=\"#script\">Script for running the application</link>"
msgstr "<link xref=\"#script\">Script para ejecutar la aplicación</link>"
-#: C/guitar-tuner.js.page:26(item/p) C/weatherAppMain.js.page:23(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.js.page:26 C/weatherAppMain.js.page:23
msgid "<link xref=\"#imports\">Libraries to import</link>"
msgstr "<link xref=\"#imports\">Bibliotecas que importar</link>"
-#: C/guitar-tuner.js.page:27(item/p) C/weatherAppMain.js.page:24(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.js.page:27 C/weatherAppMain.js.page:24
msgid ""
"<link xref=\"#mainwindow\">Creating the main window for the application</"
"link>"
msgstr ""
"<link xref=\"#mainwindow\">Crear la ventana principal de la aplicación</link>"
-#: C/guitar-tuner.js.page:28(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.js.page:28
msgid "<link xref=\"#buttons\">Buttons for the tunes</link>"
msgstr "<link xref=\"#buttons\">Botones para las melodías</link>"
-#: C/guitar-tuner.js.page:29(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.js.page:29
msgid "<link xref=\"#playSound\">Making the sounds with GStreamer</link>"
msgstr "<link xref=\"#playSound\">Crear sonidos con GStreamer</link>"
-#: C/guitar-tuner.js.page:30(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.js.page:30
msgid "<link xref=\"#connecting\">Connecting buttons to playSound</link>"
msgstr "<link xref=\"#connecting\">Conectar los botones a playSound</link>"
-#: C/guitar-tuner.js.page:31(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.js.page:31
msgid "<link xref=\"#guitarjs\">The whole program</link>"
msgstr "<link xref=\"#guitarjs\">El programa completo</link>"
-#: C/guitar-tuner.js.page:32(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.js.page:32
msgid "<link xref=\"#terminal\">Running the application form Terminal</link>"
msgstr ""
"<link xref=\"#terminal\">Ejecutar la aplicación desde la terminal</link>"
-#: C/guitar-tuner.js.page:35(page/p) C/weatherApp.js.page:39(page/p)
+#. (itstool) path: page/p
+#: C/guitar-tuner.js.page:35 C/weatherApp.js.page:39
msgid "After reading this tutorial, you should see this in your screen:"
msgstr "Después de leer este tutorial, debería ver esto en su pantalla:"
-#: C/guitar-tuner.js.page:47(section/title)
-#: C/hello-world.js.page:45(section/title)
-#: C/weatherAppMain.js.page:32(section/title)
+#. (itstool) path: section/title
+#: C/guitar-tuner.js.page:47 C/hello-world.js.page:45
+#: C/weatherAppMain.js.page:32
msgid "Script for running the application"
msgstr "Script para ejecutar la aplicación"
-#: C/guitar-tuner.js.page:48(section/code)
-#: C/weatherAppMain.js.page:33(section/code)
+#. (itstool) path: section/code
+#: C/guitar-tuner.js.page:48 C/weatherAppMain.js.page:33
#, no-wrap
msgid ""
"\n"
@@ -17773,7 +19192,8 @@ msgstr ""
"\n"
" #!/usr/bin/gjs"
-#: C/guitar-tuner.js.page:50(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.js.page:50
msgid ""
"This line tells how to run the script. It needs to be the first line of the "
"code and it needs to be executable. To get the execution rights go to "
@@ -17790,7 +19210,8 @@ msgstr ""
"código y elija «Propiedades», pulse en la pestaña «Permisos» y marque la "
"casilla para permitir ejecutar el archivo como un programa."
-#: C/guitar-tuner.js.page:55(section/code)
+#. (itstool) path: section/code
+#: C/guitar-tuner.js.page:55
#, no-wrap
msgid ""
"\n"
@@ -17805,7 +19226,8 @@ msgstr ""
"\n"
"const Mainloop = imports.mainloop;"
-#: C/guitar-tuner.js.page:60(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.js.page:60
msgid ""
"In order to have a working program we need to import a few GObject "
"Introspection -libraries to our use. For working UI, we need Gtk and for "
@@ -17820,16 +19242,15 @@ msgstr ""
"se importa el constructor Mainloop para gestionar el tiempo de espera que "
"usar para los tonos de afinación."
-#: C/guitar-tuner.js.page:63(section/title)
-#: C/hello-world.c.page:48(section/title)
-#: C/hello-world.js.page:58(section/title)
-#: C/hello-world.py.page:51(section/title)
-#: C/hello-world.vala.page:43(section/title)
-#: C/weatherAppMain.js.page:48(section/title)
+#. (itstool) path: section/title
+#: C/guitar-tuner.js.page:63 C/hello-world.c.page:48 C/hello-world.js.page:58
+#: C/hello-world.py.page:51 C/hello-world.vala.page:43
+#: C/weatherAppMain.js.page:48
msgid "Creating the main window for the application"
msgstr "Crear la ventana principal de la aplicación"
-#: C/guitar-tuner.js.page:64(section/code)
+#. (itstool) path: section/code
+#: C/guitar-tuner.js.page:64
#, no-wrap
msgid ""
"\n"
@@ -17854,7 +19275,8 @@ msgstr ""
"guitarwindow.show();\n"
"Gtk.main();"
-#: C/guitar-tuner.js.page:74(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.js.page:74
msgid ""
"Importing Gtk and Gst is not enough, we need to initialize them in order to "
"get them working. When Gtk and Gst are up and running we need to create the "
@@ -17869,11 +19291,13 @@ msgstr ""
"necesario decirle que se muestre y se debe ejecutar el código con la función "
"Gtk.main()."
-#: C/guitar-tuner.js.page:77(section/title)
+#. (itstool) path: section/title
+#: C/guitar-tuner.js.page:77
msgid "Buttons for the tunes"
msgstr "Botones para los tonos"
-#: C/guitar-tuner.js.page:78(section/code)
+#. (itstool) path: section/code
+#: C/guitar-tuner.js.page:78
#, no-wrap
msgid ""
"\n"
@@ -17918,7 +19342,8 @@ msgstr ""
"\n"
"guitar_box.show_all();"
-#: C/guitar-tuner.js.page:98(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.js.page:98
msgid ""
"Because Gtk.Window can only contain a single widget, we need to create "
"something under it to be able to add all the necessary buttons inside it. In "
@@ -17934,7 +19359,8 @@ msgstr ""
"añadirlos a la Buttonbox, que se debe añadir a la Gtk.Window, y se mostrará "
"todo el contenido de la Buttonbox."
-#: C/guitar-tuner.js.page:99(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.js.page:99
msgid ""
"After this stage you should have a window appearing to your screen showing 6 "
"buttons. Right now the buttons don't do anything and we shall address that "
@@ -17946,11 +19372,13 @@ msgstr ""
"poder conectar las señales de los botones a algo, es necesario codificar eso "
"primero."
-#: C/guitar-tuner.js.page:102(section/title)
+#. (itstool) path: section/title
+#: C/guitar-tuner.js.page:102
msgid "Making the sounds with GStreamer"
msgstr "Crear sonidos con GStreamer"
-#: C/guitar-tuner.js.page:103(section/code)
+#. (itstool) path: section/code
+#: C/guitar-tuner.js.page:103
#, no-wrap
msgid ""
"\n"
@@ -17993,7 +19421,8 @@ msgstr ""
" });\n"
"}"
-#: C/guitar-tuner.js.page:122(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.js.page:122
msgid ""
"The first thing we need to do is decide what tunes we want to make when we "
"push a button. The frequencies list takes care of that. After that we get to "
@@ -18013,7 +19442,8 @@ msgstr ""
"sumidero y se indica que la reproduzca. El último paso es usar la constante "
"Mainloop para hacer que la tubería se pare después de 500ms."
-#: C/guitar-tuner.js.page:123(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.js.page:123
msgid ""
"Now we have the method of playing a tune when clicking a button. Next well "
"make the conncetions between pushing a button and playing the correct sound "
@@ -18023,11 +19453,13 @@ msgstr ""
"botón. Lo siguiente es hacer las conexiones para que al pulsar un botón se "
"reproduzca el sonido correcto para ese botón."
-#: C/guitar-tuner.js.page:126(section/title)
+#. (itstool) path: section/title
+#: C/guitar-tuner.js.page:126
msgid "Connecting buttons to playSound"
msgstr "Conectar los botones a playSound"
-#: C/guitar-tuner.js.page:127(section/code)
+#. (itstool) path: section/code
+#: C/guitar-tuner.js.page:127
#, no-wrap
msgid ""
"\n"
@@ -18070,7 +19502,8 @@ msgstr ""
" playSound(frequencies.e);\n"
"});"
-#: C/guitar-tuner.js.page:146(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.js.page:146
msgid ""
"The method of connecting button clicks to playSound with the correct tune is "
"by using the connect method of the button widget. So we choose a button to "
@@ -18088,11 +19521,13 @@ msgstr ""
"de acción sucediendo sobre «E» y después en la <code>function(){};</code> se "
"llama a «playSound» con la melodía correcta que debe asociarse al botón."
-#: C/guitar-tuner.js.page:156(section/title)
+#. (itstool) path: section/title
+#: C/guitar-tuner.js.page:156
msgid "The whole program"
msgstr "El programa completo"
-#: C/guitar-tuner.js.page:157(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.js.page:157
msgid ""
"So this is what all the parts combined looks like. When running this code, "
"you should be able to tune your guitar(if you have correctly calibrated "
@@ -18102,7 +19537,8 @@ msgstr ""
"debería poder afinar su guitarra (si tiene sus altavoces calibrados "
"correctamente)."
-#: C/guitar-tuner.js.page:158(section/code)
+#. (itstool) path: section/code
+#: C/guitar-tuner.js.page:158
#, no-wrap
msgid ""
"\n"
@@ -18257,11 +19693,13 @@ msgstr ""
"guitarwindow.show();\n"
"Gtk.main();"
-#: C/guitar-tuner.js.page:236(section/title)
+#. (itstool) path: section/title
+#: C/guitar-tuner.js.page:236
msgid "Running the application form Terminal"
msgstr "Ejecutar la aplicación desde la terminal"
-#: C/guitar-tuner.js.page:237(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.js.page:237
msgid ""
"To run this application open Terminal, go to the folder where your "
"application is stored and then run"
@@ -18269,12 +19707,14 @@ msgstr ""
"Para ejecutar esta aplicación ,abra una terminal, vaya a la carpeta donde "
"está la aplicación y ejecute"
-#: C/guitar-tuner.js.page:237(section/screen)
+#. (itstool) path: section/screen
+#: C/guitar-tuner.js.page:237
#, no-wrap
msgid " <output style=\"prompt\">$ </output><input> GJS_PATH=`pwd` gjs guitarTuner.js</input> "
msgstr " <output style=\"prompt\">$ </output><input> GJS_PATH=`pwd` gjs guitarTuner.js</input> "
-#: C/guitar-tuner.js.page:242(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.js.page:242
msgid ""
"If you run into problems with the tutorial, compare your code with this "
"<link href=\"guitar-tuner/guitar-tuner.js\">reference code</link>."
@@ -18282,16 +19722,19 @@ msgstr ""
"Si tiene problemas con este tutorial, compare su código con este <link href="
"\"guitar-tuner/guitar-tuner.js\">código de referencia</link>."
-#: C/guitar-tuner.py.page:7(info/title)
+#. (itstool) path: info/title
+#: C/guitar-tuner.py.page:7
msgctxt "text"
msgid "Guitar tuner (Python)"
msgstr "Afinador de guitarra (Python)"
-#: C/guitar-tuner.py.page:45(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.py.page:45
msgid "Basic knowledge of the Python programming language"
msgstr "Conocimiento básico del lenguaje de programación Python"
-#: C/guitar-tuner.py.page:59(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.py.page:59
msgid ""
"Choose <gui>PyGTK (automake)</gui> from the <gui>Python</gui> tab, click "
"<gui>Continue</gui>, and fill out your details on the next few pages. Use "
@@ -18302,7 +19745,8 @@ msgstr ""
"páginas. Use <file>afinador-guiterra</file> como nombre del proyecto y de la "
"carpeta."
-#: C/guitar-tuner.py.page:62(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.py.page:62
msgid ""
"Click <gui>Apply</gui> and the project will be created for you. Open "
"<file>src/guitar_tuner.py</file> from the <gui>Project</gui> or <gui>File</"
@@ -18312,7 +19756,8 @@ msgstr ""
"guitarra.py</file> desde las pestañas <gui>Proyecto</gui> o <gui>Archivo</"
"gui>. Debería ver algo de código que comience con las líneas:"
-#: C/guitar-tuner.py.page:63(item/code)
+#. (itstool) path: item/code
+#: C/guitar-tuner.py.page:63
#, no-wrap
msgid ""
"\n"
@@ -18323,11 +19768,13 @@ msgstr ""
"from gi.repository import Gtk, GdkPixbuf, Gdk\n"
"import os, sys"
-#: C/guitar-tuner.py.page:71(section/title)
+#. (itstool) path: section/title
+#: C/guitar-tuner.py.page:71
msgid "Run the code for the first time"
msgstr "Ejecutar el código por primera vez"
-#: C/guitar-tuner.py.page:72(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.py.page:72
msgid ""
"Most of the code in the file is template code. It loads an (empty) window "
"from the user interface description file and shows it. More details are "
@@ -18338,7 +19785,8 @@ msgstr ""
"muestra. Se ofrecen más detalles a continuación; omita esta lista si "
"entiende los conceptos básicos:"
-#: C/guitar-tuner.py.page:76(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.py.page:76
msgid ""
"The <code>import</code> lines at the top include the tell Python to load the "
"user interface and system libraries needed."
@@ -18346,7 +19794,8 @@ msgstr ""
"Las líneas <code>import</code> en la parte superior indican a Python que "
"cargue la interfaz de usuario y las bibliotecas del sistema necesarias."
-#: C/guitar-tuner.py.page:80(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.py.page:80
msgid ""
"A class is declared that will be the main class for our application. In the "
"<code>__init__</code> method the main window is loaded from the GtkBuilder "
@@ -18357,7 +19806,8 @@ msgstr ""
"archivo de GtkBuilder (<file>src/guitar-tuner.ui</file>) y se conectan las "
"señales."
-#: C/guitar-tuner.py.page:83(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.py.page:83
msgid ""
"Connecting signals is how you define what happens when you push a button, or "
"when some other event happens. Here, the <code>destroy</code> method is "
@@ -18367,7 +19817,8 @@ msgstr ""
"cuando ocurre algún otro evento. Aquí, se llama al método <code>destroy</"
"code> (y se sale de la aplicación) cuando cierra la ventana."
-#: C/guitar-tuner.py.page:86(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.py.page:86
msgid ""
"The <code>main</code> function is run by default when you start a Python "
"application. It just creates an instance of the main class and starts the "
@@ -18377,7 +19828,8 @@ msgstr ""
"inicia una aplicación Python. Simplemente crea una instancia de la clase "
"principal e inicia el bucle principal para mostrar la ventana."
-#: C/guitar-tuner.py.page:91(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.py.page:91
msgid ""
"This code is ready to be used, so you can run it by clicking "
"<guiseq><gui>Run</gui><gui>Execute</gui></guiseq>."
@@ -18385,7 +19837,8 @@ msgstr ""
"Este código está listo para usarse, por lo que puede ejecutarlo pulsando "
"<guiseq><gui>Ejecutar</gui><gui>Ejecutar</gui></guiseq>."
-#: C/guitar-tuner.py.page:96(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.py.page:96
msgid ""
"A description of the user interface (UI) is contained in the GtkBuilder "
"file. To edit the user interface, open <file>src/guitar_tuner.ui</file>. "
@@ -18399,11 +19852,13 @@ msgstr ""
"en el centro; los widgets y sus propiedades están a la derecha, y la paleta "
"de los widgets disponibles está a la izquierda."
-#: C/guitar-tuner.py.page:126(section/title)
+#. (itstool) path: section/title
+#: C/guitar-tuner.py.page:126
msgid "Write the signal handler"
msgstr "Escribir el manejador de señales"
-#: C/guitar-tuner.py.page:128(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.py.page:128
msgid ""
"To do this, open <file>guitar_tuner.py</file> while the user interface file "
"is still open. Switch to the <gui>Signals</gui> tab, which you already used "
@@ -18418,7 +19873,8 @@ msgstr ""
"código fuente, dentro de la clase principal. Se añadirá el siguiente código "
"a su archivo de código fuente:"
-#: C/guitar-tuner.py.page:130(section/code)
+#. (itstool) path: section/code
+#: C/guitar-tuner.py.page:130
#, no-wrap
msgid ""
"\n"
@@ -18427,7 +19883,8 @@ msgstr ""
"\n"
"def on_button_clicked (self, button):\n"
-#: C/guitar-tuner.py.page:134(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.py.page:134
msgid ""
"This signal handler has two arguments: the usual Python class pointer, and "
"the <code>Gtk.Button</code> that called the function."
@@ -18435,7 +19892,8 @@ msgstr ""
"Este manejador de la señal tiene dos argumentos: el puntero de clase Python "
"habitual y el <code>Gtk.Button</code> que llamó a la función."
-#: C/guitar-tuner.py.page:152(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.py.page:152
msgid ""
"Change the import line in <file>guitar_tuner.py</file>, just at the "
"beginning to :"
@@ -18443,12 +19901,14 @@ msgstr ""
"Cambie la línea de importación en <file>afinador_guitarra.py</file>, justo "
"al principio, por:"
-#: C/guitar-tuner.py.page:153(section/code)
+#. (itstool) path: section/code
+#: C/guitar-tuner.py.page:153
#, no-wrap
msgid "from gi.repository import Gtk, Gst, GObject "
msgstr "from gi.repository import Gtk, Gst, GObject "
-#: C/guitar-tuner.py.page:154(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.py.page:154
msgid ""
"The <code>Gst</code> includes the GStreamer library. You also need to "
"initialise GStreamer properly which is done in the <code>main()</code> "
@@ -18459,12 +19919,14 @@ msgstr ""
"<code>main()</code> con esta llamada añadida encima de la línea <code>app = "
"GUI()</code>:"
-#: C/guitar-tuner.py.page:157(section/code)
+#. (itstool) path: section/code
+#: C/guitar-tuner.py.page:157
#, no-wrap
msgid "Gst.init_check(sys.argv)"
msgstr "Gst.init_check(sys.argv)"
-#: C/guitar-tuner.py.page:158(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.py.page:158
msgid ""
"Then, copy the following function into the class in <file>guitar_tuner.py</"
"file> somewhere:"
@@ -18472,7 +19934,8 @@ msgstr ""
"Después, copie la siguiente función en la de <file>guitar_tuner.py</file>, "
"en cualquier sitio:"
-#: C/guitar-tuner.py.page:159(section/code)
+#. (itstool) path: section/code
+#: C/guitar-tuner.py.page:159
#, no-wrap
msgid ""
"\n"
@@ -18503,7 +19966,8 @@ msgstr ""
"\n"
"\tGObject.timeout_add(self.LENGTH, self.pipeline_stop, pipeline)"
-#: C/guitar-tuner.py.page:174(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.py.page:174
msgid ""
"The first three lines create source and sink GStreamer elements and a "
"pipeline element (which will be used as a container for the other two "
@@ -18519,7 +19983,8 @@ msgstr ""
"sumidero se llama «output» y se asocia con el sumidero <code>autoaudiosink</"
"code> (la salida de la tarjeta de sonido predeterminada)."
-#: C/guitar-tuner.py.page:177(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.py.page:177
msgid ""
"The call to <code>source.set_property</code> sets the <code>freq</code> "
"property of the source element to <code>frequency</code>, which was passed "
@@ -18533,7 +19998,8 @@ msgstr ""
"frecuencia de la nota en Hercios; más adelante se definirán algunas "
"frecuencias útiles."
-#: C/guitar-tuner.py.page:180(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.py.page:180
msgid ""
"The next two lines call <code>pipeline.add</code>, putting the source and "
"sink into the pipeline. The pipeline can contain multiple other GStreamer "
@@ -18545,7 +20011,8 @@ msgstr ""
"elementos de GStreamer. En general, puede añadir tantos elementos como "
"quiera a una tubería llamando al método <code>add</code> repetidamente."
-#: C/guitar-tuner.py.page:183(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.py.page:183
msgid ""
"Next <code>pipeline.set_state</code> is used to start playback, by setting "
"the state of the pipeline to playing (<code>Gst.State.PLAYING</code>)."
@@ -18554,7 +20021,8 @@ msgstr ""
"reproducción, estableciendo el estado de la tubería a «playing» (<code>Gst."
"State.PLAYING</code>)."
-#: C/guitar-tuner.py.page:191(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.py.page:191
msgid ""
"We don't want to play an annoying tone forever, so the last thing "
"<code>play_sound</code> does is to call <code>GObject.timeout_add</code>. "
@@ -18570,7 +20038,8 @@ msgstr ""
"<code>pipeline_stop</code>, y se queda llamando a <code>pipeline_stop</code> "
"hasta que devuelve <code>False</code>."
-#: C/guitar-tuner.py.page:192(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.py.page:192
msgid ""
"Now, we'll write the <code>pipeline_stop</code> function which is called by "
"<code>GObject.timeout_add</code>. Insert the following code <em>above</em> "
@@ -18580,7 +20049,8 @@ msgstr ""
"llamada por <code>GObject.timeout_add</code>. Inserte el código siguiente "
"<em>encima</em> de la función <code>play_sound</code>:"
-#: C/guitar-tuner.py.page:193(section/code)
+#. (itstool) path: section/code
+#: C/guitar-tuner.py.page:193
#, no-wrap
msgid ""
"\n"
@@ -18593,7 +20063,8 @@ msgstr ""
"\tpipeline.set_state(Gst.State.NULL)\n"
"\treturn False\n"
-#: C/guitar-tuner.py.page:198(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.py.page:198
msgid ""
"You need to define the <code>LENGTH</code> constant inside the class, so add "
"this code at the beginning of the main class:"
@@ -18601,7 +20072,8 @@ msgstr ""
"Necesita definir la constante <code>LENGTH</code> dentro de la clase, por lo "
"que debe añadir este código al principio de la clase principal:"
-#: C/guitar-tuner.py.page:200(section/code)
+#. (itstool) path: section/code
+#: C/guitar-tuner.py.page:200
#, no-wrap
msgid ""
"\n"
@@ -18610,7 +20082,8 @@ msgstr ""
"\n"
"LENGTH = 500\n"
-#: C/guitar-tuner.py.page:203(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.py.page:203
msgid ""
"The call to <code>pipeline.set_state</code> stops the playback of the "
"pipeline."
@@ -18618,7 +20091,8 @@ msgstr ""
"La llamada a <code>pipeline.set_state</code> detiene la reproducción de la "
"tubería."
-#: C/guitar-tuner.py.page:208(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.py.page:208
msgid ""
"We want to play the correct sound when the user clicks a button. First of "
"all, we need to know the frequencies for the six guitar strings, which are "
@@ -18631,7 +20105,8 @@ msgstr ""
"un diccionario, por lo que se pueden mapear fácilmente con los nombres de "
"las cuerdas:"
-#: C/guitar-tuner.py.page:210(section/code)
+#. (itstool) path: section/code
+#: C/guitar-tuner.py.page:210
#, no-wrap
msgid ""
"\n"
@@ -18656,7 +20131,8 @@ msgstr ""
"\t'e': 1318.5\n"
"}\n"
-#: C/guitar-tuner.py.page:222(section/code)
+#. (itstool) path: section/code
+#: C/guitar-tuner.py.page:222
#, no-wrap
msgid ""
"\n"
@@ -18673,7 +20149,8 @@ msgstr ""
"\n"
"\tself.play_sound (self.frequencies[text])\n"
-#: C/guitar-tuner.py.page:229(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.py.page:229
msgid ""
"The button that was clicked is passed as an argument (<code>button</code>) "
"to <code>on_button_clicked</code>. We can get the label of that button by "
@@ -18685,7 +20162,8 @@ msgstr ""
"usando <code>button.get_child</code>, y obteniendo entonces el texto de esa "
"etiqueta usando <code>label.get_label</code>."
-#: C/guitar-tuner.py.page:230(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.py.page:230
msgid ""
"The label text is then used as a key for the dictionary and "
"<code>play_sound</code> is called with the frequency appropriate for that "
@@ -18695,14 +20173,14 @@ msgstr ""
"<code>play_sound</code> con la frecuencia correspondiente a esa nota. Esto "
"reproduce el tono; el afinador de guitarra ya está funcionando."
-#: C/guitar-tuner.py.page:234(section/title)
-#: C/image-viewer.js.page:310(section/title)
-#: C/image-viewer.py.page:224(section/title)
-#: C/record-collection.js.page:291(section/title)
+#. (itstool) path: section/title
+#: C/guitar-tuner.py.page:234 C/image-viewer.js.page:310
+#: C/image-viewer.py.page:224 C/record-collection.js.page:291
msgid "Run the application"
msgstr "Ejecutar la aplicación"
-#: C/guitar-tuner.py.page:235(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.py.page:235
msgid ""
"All of the code should now be ready to go. Click <guiseq><gui>Run</"
"gui><gui>Execute</gui></guiseq> to start the application. Enjoy!"
@@ -18711,7 +20189,8 @@ msgstr ""
"<guiseq><gui>Ejecutar</gui><gui>Ejecutar</gui></guiseq> para iniciar la "
"aplicación y disfrute."
-#: C/guitar-tuner.py.page:240(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.py.page:240
msgid ""
"If you run into problems with the tutorial, compare your code with this "
"<link href=\"guitar-tuner/guitar-tuner.py\">reference code</link>."
@@ -18719,7 +20198,8 @@ msgstr ""
"Si tiene problemas con este tutorial, compare su código con este <link href="
"\"guitar-tuner/guitar-tuner.py\">código de referencia</link>."
-#: C/guitar-tuner.vala.page:9(info/desc)
+#. (itstool) path: info/desc
+#: C/guitar-tuner.vala.page:9
msgid ""
"Use <link href=\"http://developer.gnome.org/platform-overview/stable/gtk"
"\">GTK+</link> and <link href=\"http://developer.gnome.org/platform-overview/"
@@ -18732,7 +20212,8 @@ msgstr ""
"de afinador de guitarra para GNOME. Muestra cómo usar el diseñador de "
"interfaces."
-#: C/guitar-tuner.vala.page:34(synopsis/p)
+#. (itstool) path: synopsis/p
+#: C/guitar-tuner.vala.page:34
msgid ""
"In this tutorial you will create an application which plays tones that you "
"can use to tune a guitar. You will learn how to:"
@@ -18740,7 +20221,8 @@ msgstr ""
"En este tutorial se va a hacer un programa que reproduce tonos que puede "
"usar para afinar su guitarra. Aprenderá a:"
-#: C/guitar-tuner.vala.page:36(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.vala.page:36
msgid ""
"Set up a basic project using the <link xref=\"getting-ready\">Anjuta IDE</"
"link>."
@@ -18748,11 +20230,13 @@ msgstr ""
"Configurar un proyecto básico usando el <link xref=\"getting-ready\">EID "
"Anjuta</link>."
-#: C/guitar-tuner.vala.page:37(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.vala.page:37
msgid "Create a simple GUI with <app>Anjuta</app>'s UI designer."
msgstr "Crear una IGU sencilla con el diseñador de IU de <app>Anjuta</app>."
-#: C/guitar-tuner.vala.page:38(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.vala.page:38
msgid ""
"Use the <link href=\"http://developer.gnome.org/platform-overview/stable/"
"gstreamer\">GStreamer</link> library to play sounds."
@@ -18760,7 +20244,8 @@ msgstr ""
"Usar la biblioteca <link href=\"http://developer.gnome.org/platform-overview/"
"stable/gstreamer\">GStreamer</link> para reproducir sonidos."
-#: C/guitar-tuner.vala.page:42(item/p) C/image-viewer.vala.page:47(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.vala.page:42 C/image-viewer.vala.page:47
msgid ""
"Basic knowledge of the <link href=\"https://live.gnome.org/Vala/Tutorial"
"\">Vala</link> programming language."
@@ -18768,15 +20253,18 @@ msgstr ""
"Conocimiento básico del lenguaje de programación <link href=\"https://live."
"gnome.org/Vala/Tutorial\">Vala</link>."
-#: C/guitar-tuner.vala.page:43(item/p) C/image-viewer.vala.page:48(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.vala.page:43 C/image-viewer.vala.page:48
msgid "An installed copy of <app>Anjuta</app>."
msgstr "Una copia instalada de <app>Anjuta</app>."
-#: C/guitar-tuner.vala.page:50(section/title)
+#. (itstool) path: section/title
+#: C/guitar-tuner.vala.page:50
msgid "Create a project in <app>Anjuta</app>"
msgstr "Crear un proyecto en <app>Anjuta</app>"
-#: C/guitar-tuner.vala.page:54(item/p) C/image-viewer.vala.page:62(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.vala.page:54 C/image-viewer.vala.page:62
msgid ""
"Start <app>Anjuta</app> and click <gui>Create a new project</gui> or "
"<guiseq><gui>File</gui><gui>New</gui><gui>Project</gui></guiseq> to open the "
@@ -18786,7 +20274,8 @@ msgstr ""
"<guiseq><gui>Archivo</gui><gui>Nuevo</gui><gui>Proyecto</gui></guiseq> para "
"abrir el asistente de proyectos."
-#: C/guitar-tuner.vala.page:57(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.vala.page:57
msgid ""
"Click on the <gui>Vala</gui> tab and select <gui>GTK+ (Simple)</gui>. Click "
"<gui>Continue</gui>, and fill out your details on the next few pages. Use "
@@ -18797,7 +20286,8 @@ msgstr ""
"páginas. Use <file>afinador-guitarra</file> como nombre del proyecto y de la "
"carpeta."
-#: C/guitar-tuner.vala.page:60(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.vala.page:60
msgid ""
"Make sure that <gui>Configure external packages</gui> is switched <gui>ON</"
"gui>. On the next page, select <link href=\"http://valadoc.org/"
@@ -18809,7 +20299,8 @@ msgstr ""
"gstreamer-0.10/index.htm\"><em>gstreamer-0.10</em></link> de la lista para "
"incluir la biblioteca GStreamer en su proyecto. Pulse <gui>Continuar</gui>"
-#: C/guitar-tuner.vala.page:64(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.vala.page:64
msgid ""
"Click <gui>Apply</gui> and the project will be created for you. From the "
"<gui>Project</gui> or <gui>Files</gui> tab, open <file>src/guitar_tuner."
@@ -18821,8 +20312,8 @@ msgstr ""
"<gui>Archivo</gui> pulsando dos veces sobre él. Debería ver algo de código "
"que comience con las líneas:"
-#: C/guitar-tuner.vala.page:65(item/code)
-#: C/magic-mirror.vala.page:69(item/code)
+#. (itstool) path: item/code
+#: C/guitar-tuner.vala.page:65 C/magic-mirror.vala.page:69
#, no-wrap
msgid ""
"\n"
@@ -18833,7 +20324,8 @@ msgstr ""
"using GLib;\n"
"using Gtk;"
-#: C/guitar-tuner.vala.page:74(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.vala.page:74
msgid ""
"The code loads an (empty) window from the user interface description file "
"and displays it. More details are given below; you may choose to skip this "
@@ -18843,7 +20335,8 @@ msgstr ""
"interfaz de usuario y la muestra. Se ofrecen más detalles a continuación; "
"omita esta lista si entiende los conceptos básicos:"
-#: C/guitar-tuner.vala.page:78(item/p) C/magic-mirror.vala.page:81(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.vala.page:78 C/magic-mirror.vala.page:81
msgid ""
"The two <code>using</code> lines import namespaces so we don't have to name "
"them explicitly."
@@ -18851,7 +20344,8 @@ msgstr ""
"Las dos líneas <code>using</code> importan espacios de nombres, por lo que "
"no hay que nombrarlas explícitamente."
-#: C/guitar-tuner.vala.page:81(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.vala.page:81
msgid ""
"The constructor of the <code>Main</code> class creates a new window by "
"opening a GtkBuilder file (<file>src/guitar-tuner.ui</file>, defined a few "
@@ -18867,7 +20361,8 @@ msgstr ""
"de usuario y de todos sus elementos. Puede usar el editor Anjuta para "
"diseñar interfaces de usuario con GtkBuilder."
-#: C/guitar-tuner.vala.page:83(note/p)
+#. (itstool) path: note/p
+#: C/guitar-tuner.vala.page:83
msgid ""
"Connecting signals is how you define what happens when you push a button, or "
"when some other event happens. Here, the <code>on_destroy</code> function is "
@@ -18878,7 +20373,8 @@ msgstr ""
"<code>on_destroy</code> (y se sale de la aplicación) cuando cierra la "
"ventana."
-#: C/guitar-tuner.vala.page:87(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.vala.page:87
msgid ""
"The static <code>main</code> function is run by default when you start a "
"Vala application. It calls a few functions which create the Main class, set "
@@ -18893,7 +20389,8 @@ msgstr ""
"usuario y empieza a escuchar eventos (como pulsaciones del ratón y del "
"teclado)."
-#: C/guitar-tuner.vala.page:91(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.vala.page:91
msgid ""
"This code is ready to be used, so you can compile it by clicking "
"<guiseq><gui>Build</gui><gui>Build Project</gui></guiseq> (or press "
@@ -18910,7 +20407,8 @@ msgstr ""
"carpeta de construcción. Sólo tendrá que hacer esto una vez, para la primera "
"construcción."
-#: C/guitar-tuner.vala.page:96(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.vala.page:96
msgid ""
"A description of the user interface (UI) is contained in the GtkBuilder file "
"<file>src/guitar_tuner.ui</file> defined at the top of the class. To edit "
@@ -18929,7 +20427,8 @@ msgstr ""
"sus propiedades están a la izquierda, y la <gui>Paleta</gui> de los widgets "
"disponibles está a la derecha."
-#: C/guitar-tuner.vala.page:98(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.vala.page:98
msgid ""
"The layout of every UI in GTK+ is organized using boxes and tables. Let's "
"use a vertical GtkButtonBox here to assign six GtkButtons, one for each of "
@@ -18939,7 +20438,8 @@ msgstr ""
"Aquí se usará una GtkButtonBox vertical para asignar seis GtkButtons, uno "
"para cada una de las cuerdas de la guitarra."
-#: C/guitar-tuner.vala.page:104(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.vala.page:104
msgid ""
"In the <gui>Palette</gui> tab, from the <gui>Containers</gui> section, "
"select a <gui>Button Box</gui> (GtkButtonBox) by clicking on the icon. Then "
@@ -18953,7 +20453,8 @@ msgstr ""
"ventana. Se mostrará un diálogo donde puede establecer el <gui>Número de "
"elementos</gui> a <input>6</input>. Luego pulse en <gui>Crear</gui>."
-#: C/guitar-tuner.vala.page:105(note/p)
+#. (itstool) path: note/p
+#: C/guitar-tuner.vala.page:105
msgid ""
"You can also change the <gui>Number of elements</gui> and the "
"<gui>Orientation</gui> in the <gui>General</gui> tab on the right."
@@ -18961,7 +20462,8 @@ msgstr ""
"También puede cambiar el <gui>Número de elementos</gui> y la "
"<gui>Orientación</gui> en la pestaña <gui>General</gui> a la derecha."
-#: C/guitar-tuner.vala.page:109(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.vala.page:109
msgid ""
"Now, from the <gui>Control and Display</gui> section of the <gui>Palette</"
"gui> choose a <gui>Button</gui> (GtkButton) by clicking on it. Place it into "
@@ -18971,7 +20473,8 @@ msgstr ""
"gui> elija un <gui>Botón</gui> (GtkButton) pulsando sobre él. Sitúelo en la "
"primera sección de la GtkButtonBox pulsando sobre ella."
-#: C/guitar-tuner.vala.page:112(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.vala.page:112
msgid ""
"While the button is still selected, scroll down in the <gui>General</gui> "
"tab on the right to the <gui>Label</gui> property, and change it to <gui>E</"
@@ -18981,7 +20484,8 @@ msgstr ""
"en la pestaña <gui>General</gui> a <gui>E</gui>. Esta será la cuerda Mi "
"grave de la guitarra."
-#: C/guitar-tuner.vala.page:113(note/p)
+#. (itstool) path: note/p
+#: C/guitar-tuner.vala.page:113
msgid ""
"The <gui>General</gui> tab is located in the <gui>Widgets</gui> section on "
"the right."
@@ -18989,7 +20493,8 @@ msgstr ""
"La pestaña <gui>General</gui> se encuentra en la sección <gui>Widgets</gui> "
"de la derecha."
-#: C/guitar-tuner.vala.page:118(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.vala.page:118
msgid ""
"Click on the <gui>Signals</gui> tab in the <gui>Widgets</gui> section on the "
"right, and look for the <code>clicked</code> signal of the button. You can "
@@ -19005,7 +20510,8 @@ msgstr ""
"<code>main_on_button_clicked</code> en la columna <gui>Manejador</gui> y "
"pulse <key>Intro</key>."
-#: C/guitar-tuner.vala.page:131(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.vala.page:131
msgid ""
"This section will show you how to create the code to produce sounds. <link "
"href=\"http://developer.gnome.org/platform-overview/stable/gstreamer"
@@ -19020,7 +20526,8 @@ msgstr ""
"web y similares. En este caso, se usará para generar tonos de frecuencia "
"única."
-#: C/guitar-tuner.vala.page:132(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.vala.page:132
msgid ""
"Conceptually, GStreamer works as follows: You create a <link href=\"http://"
"gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-intro-"
@@ -19037,7 +20544,8 @@ msgstr ""
"imagen, un vídeo o un archivo de música, y la salida puede ser un widget o "
"la tarjeta de sonido."
-#: C/guitar-tuner.vala.page:141(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.vala.page:141
msgid ""
"In this example we will use a tone generator source called "
"<code>audiotestsrc</code> and send the output to the default system sound "
@@ -19051,7 +20559,8 @@ msgstr ""
"frecuencia del generador de tonos; esto es accesible a través de la "
"propiedad <code>freq</code> de <code>audiotestsrc</code>."
-#: C/guitar-tuner.vala.page:143(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.vala.page:143
msgid ""
"We need to add a line to initialize GStreamer; put the following code on the "
"line above the <code>Gtk.init</code> call in the <code>main</code> function:"
@@ -19060,12 +20569,14 @@ msgstr ""
"código encima de la llamada a <code>Gtk.init</code>, en la función "
"<code>main</code>:"
-#: C/guitar-tuner.vala.page:144(section/code)
+#. (itstool) path: section/code
+#: C/guitar-tuner.vala.page:144
#, no-wrap
msgid "Gst.init (ref args);"
msgstr "Gst.init (ref args);"
-#: C/guitar-tuner.vala.page:145(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.vala.page:145
msgid ""
"Then, copy the following function into <file>guitar_tuner.vala</file> inside "
"our <code>Main</code> class:"
@@ -19073,7 +20584,8 @@ msgstr ""
"Después, copie la siguiente función en <file>guitar_tuner.vala</file> dentro "
"de la clase <code>Main</code>:"
-#: C/guitar-tuner.vala.page:146(section/code)
+#. (itstool) path: section/code
+#: C/guitar-tuner.vala.page:146
#, no-wrap
msgid ""
"\n"
@@ -19140,7 +20652,8 @@ msgstr ""
"\ttime.attach(null);\n"
"}"
-#: C/guitar-tuner.vala.page:180(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.vala.page:180
msgid ""
"The first three lines create source and sink GStreamer elements (<link href="
"\"http://valadoc.org/gstreamer-0.10/Gst.Element.html\"><code>Gst.Element</"
@@ -19163,7 +20676,8 @@ msgstr ""
"<code>autoaudiosink</code> (la salida de la tarjeta de sonido "
"predeterminada)."
-#: C/guitar-tuner.vala.page:183(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.vala.page:183
msgid ""
"The call to <link href=\"http://valadoc.org/gobject-2.0/GLib.Object.set.html"
"\"><code>source.set</code></link> sets the <code>freq</code> property of the "
@@ -19177,7 +20691,8 @@ msgstr ""
"la función <code>play_sound</code>. Esto sólo es la frecuencia de la nota en "
"Hercios; más adelante se definirán algunas frecuencias útiles."
-#: C/guitar-tuner.vala.page:186(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.vala.page:186
msgid ""
"<link href=\"http://valadoc.org/gstreamer-0.10/Gst.Bin.add.html"
"\"><code>pipeline.add</code></link> puts the source and sink into the "
@@ -19195,7 +20710,8 @@ msgstr ""
"tantos elementos como quiera a una tubería añadiendo más argumentos a "
"<code>pipeline.add</code>."
-#: C/guitar-tuner.vala.page:189(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.vala.page:189
msgid ""
"Next, <link href=\"http://valadoc.org/gstreamer-0.10/Gst.Element.link.html"
"\"><code>sink.link</code></link> is used to connect the elements together, "
@@ -19215,7 +20731,8 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gstreamer-0.10/Gst.State.html\">estado "
"de la tubería</link> a «playing» (<code>Gst.State.PLAYING</code>)."
-#: C/guitar-tuner.vala.page:192(item/p)
+#. (itstool) path: item/p
+#: C/guitar-tuner.vala.page:192
msgid ""
"We don't want to play an annoying tone forever, so the last thing "
"<code>play_sound</code> does is to add a <link href=\"http://www.valadoc.org/"
@@ -19234,7 +20751,8 @@ msgstr ""
"mismo del tiempo de expiración, ya que de otro modo, seguiría llamándose "
"cada 200ms,"
-#: C/guitar-tuner.vala.page:203(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.vala.page:203
msgid ""
"In the UI designer, you made it so that all of the buttons will call the "
"same function, <gui>on_button_clicked</gui>, when they are clicked. Actually "
@@ -19248,7 +20766,8 @@ msgstr ""
"interfaces que este método es parte de la función <code>Main</code>. Se debe "
"añadir esta función al archivo de código fuente."
-#: C/guitar-tuner.vala.page:204(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.vala.page:204
msgid ""
"To do this, in the user interface file (guitar_tuner.ui) select one of the "
"buttons by clicking on it, then open <file>guitar_tuner.vala</file> (by "
@@ -19266,7 +20785,8 @@ msgstr ""
"<gui>clicked</gui> y arrástrela al archivo de código fuente, al principio de "
"la clase. Se añadirá el siguiente código a su archivo de código fuente:"
-#: C/guitar-tuner.vala.page:206(section/code)
+#. (itstool) path: section/code
+#: C/guitar-tuner.vala.page:206
#, no-wrap
msgid ""
"\n"
@@ -19279,7 +20799,8 @@ msgstr ""
"\n"
"}"
-#: C/guitar-tuner.vala.page:211(note/p)
+#. (itstool) path: note/p
+#: C/guitar-tuner.vala.page:211
msgid ""
"You can also just type the code at the beginning of the class instead of "
"using the drag and drop."
@@ -19287,7 +20808,8 @@ msgstr ""
"También puede escribir simplemente el texto al principio de la clase en vez "
"de arrastrar y soltar."
-#: C/guitar-tuner.vala.page:212(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.vala.page:212
msgid ""
"This signal handler has only one argument: the <link href=\"http://valadoc."
"org/gtk+-3.0/Gtk.Widget.html\"><code>Gtk.Widget</code></link> that called "
@@ -19299,11 +20821,13 @@ msgstr ""
"llama a la función (en este caso, siempre es un <link href=\"http://valadoc."
"org/gtk+-3.0/Gtk.Button.html\"><code>Gtk.Button</code></link>)."
-#: C/guitar-tuner.vala.page:218(section/title)
+#. (itstool) path: section/title
+#: C/guitar-tuner.vala.page:218
msgid "Define the signal handler"
msgstr "Definir el manejador de señales"
-#: C/guitar-tuner.vala.page:219(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.vala.page:219
msgid ""
"We want to play the correct sound when the user clicks a button. For this, "
"we flesh out the signal handler which we defined above, "
@@ -19319,7 +20843,8 @@ msgstr ""
"código. En su lugar, se puede usar la etiqueta del botón para saber cuál de "
"ellos se ha pulsado:"
-#: C/guitar-tuner.vala.page:220(section/code)
+#. (itstool) path: section/code
+#: C/guitar-tuner.vala.page:220
#, no-wrap
msgid ""
"\n"
@@ -19376,7 +20901,8 @@ msgstr ""
"\t}\n"
"}\n"
-#: C/guitar-tuner.vala.page:247(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.vala.page:247
msgid ""
"The <code>Gtk.Button</code> that was clicked is passed as an argument "
"(<code>sender</code>) to <code>on_button_clicked</code>. We can get the "
@@ -19388,7 +20914,8 @@ msgstr ""
"etiqueta de ese botón usando <code>get_child</code>, y entonces obtener el "
"texto de esa etiqueta usando <code>get_label</code>."
-#: C/guitar-tuner.vala.page:248(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.vala.page:248
msgid ""
"The switch statement compares the label text to the notes that we can play, "
"and <code>play_sound</code> is called with the frequency appropriate for "
@@ -19399,7 +20926,8 @@ msgstr ""
"correspondiente a esa nota. Esto reproduce el tono; el afinador de guitarra "
"ya está funcionando."
-#: C/guitar-tuner.vala.page:259(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.vala.page:259
msgid ""
"If you run into problems with the tutorial, compare your code with this "
"<link href=\"guitar-tuner/guitar-tuner.vala\">reference code</link>."
@@ -19407,12 +20935,13 @@ msgstr ""
"Si tiene problemas con este tutorial, compare su código con este <link href="
"\"guitar-tuner/guitar-tuner.vala\">código de referencia</link>."
-#: C/guitar-tuner.vala.page:263(section/title)
-#: C/magic-mirror.vala.page:156(section/title)
+#. (itstool) path: section/title
+#: C/guitar-tuner.vala.page:263 C/magic-mirror.vala.page:156
msgid "Further reading"
msgstr "Lectura complementaria"
-#: C/guitar-tuner.vala.page:264(section/p)
+#. (itstool) path: section/p
+#: C/guitar-tuner.vala.page:264
msgid ""
"To find out more about the Vala programming language you might want to check "
"out the <link href=\"http://live.gnome.org/Vala/Tutorial\">Vala Tutorial</"
@@ -19424,11 +20953,12 @@ msgstr ""
"\">Tutorial de Vala</link> y la <link href=\"http://valadoc.org/"
"\">documentación de la API de Vala</link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#: C/hellognome.js.page:64(media)
+#: C/hellognome.js.page:64
msgctxt "_"
msgid ""
"external ref='media/hellognomewebapp.png' "
@@ -19437,15 +20967,18 @@ msgstr ""
"external ref='media/hellognomewebapp.png' "
"md5='948efb6148ede3bc6b47b4b0bbe4a74f'"
-#: C/hellognome.js.page:16(info/desc)
+#. (itstool) path: info/desc
+#: C/hellognome.js.page:16
msgid "Your first GNOME application!"
msgstr "Su primera aplicación de GNOME"
-#: C/hellognome.js.page:19(page/title)
+#. (itstool) path: page/title
+#: C/hellognome.js.page:19
msgid "1. Hello, GNOME!"
msgstr "1. ¡Hola, GNOME!"
-#: C/hellognome.js.page:21(synopsis/p)
+#. (itstool) path: synopsis/p
+#: C/hellognome.js.page:21
msgid ""
"This tutorial will show you how to write your first GNOME application in "
"JavaScript. You will use JavaScript to write for GNOME the same way you "
@@ -19457,7 +20990,8 @@ msgstr ""
"lo haría para la web. Después, aprenderá cómo usar widgets «nativos», para "
"escribir aplicaciones que se ven como otras aplicaciones de GNOME."
-#: C/hellognome.js.page:22(note/p)
+#. (itstool) path: note/p
+#: C/hellognome.js.page:22
msgid ""
"Have you gotten GNOME installed on your computer, and <link xref=\"set-up-"
"gedit.js\">gedit</link> set up to write code with? You'll want to do these "
@@ -19467,16 +21001,19 @@ msgstr ""
"\">gedit</link> configurado para escribir código? Querrá hacer estas cosas "
"primero."
-#: C/hellognome.js.page:28(section/title)
+#. (itstool) path: section/title
+#: C/hellognome.js.page:28
msgid "Let's start with a web page"
msgstr "Comience con una página web"
-#: C/hellognome.js.page:30(section/p)
+#. (itstool) path: section/p
+#: C/hellognome.js.page:30
msgid ""
"Here's some basic HTML, CSS, and JavaScript code. Does this look familiar?"
msgstr "Aquí hay código HTML, CSS, y JavaScript básico. ¿Le resulta familiar?"
-#: C/hellognome.js.page:31(section/code)
+#. (itstool) path: section/code
+#: C/hellognome.js.page:31
#, no-wrap
msgid ""
"\n"
@@ -19539,7 +21076,8 @@ msgstr ""
" </body>\n"
"</html>\n"
-#: C/hellognome.js.page:62(section/p)
+#. (itstool) path: section/p
+#: C/hellognome.js.page:62
msgid ""
"Let's save this as <file>hellognome.html</file>, and see what it looks like "
"when we run it!"
@@ -19547,7 +21085,8 @@ msgstr ""
"Guarde esto como <file>hellognome.html</file>, y observe cómo se ve cuando "
"lo ejecuta."
-#: C/hellognome.js.page:66(section/p)
+#. (itstool) path: section/p
+#: C/hellognome.js.page:66
msgid ""
"You <em>can</em> run the above code by opening <file>hellognome.html</file> "
"in a web browser. But here, we're going to create a GNOME application that "
@@ -19563,7 +21102,8 @@ msgstr ""
"para cerrarla, al igual que esperaría de cualquier otra aplicación de GNOME. "
"La diferencia es que esta ejecutará el código web de dentro."
-#: C/hellognome.js.page:67(section/p)
+#. (itstool) path: section/p
+#: C/hellognome.js.page:67
msgid ""
"The best part? We're going to continue to use JavaScript, to write all the "
"parts that make our app work with GNOME. Let's look at the code, and see how "
@@ -19573,11 +21113,13 @@ msgstr ""
"partes que hacen que la aplicación funcione con GNOME. Échele un vistazo al "
"código y vea cómo se hace."
-#: C/hellognome.js.page:71(section/title)
+#. (itstool) path: section/title
+#: C/hellognome.js.page:71
msgid "Creating a GNOME window to frame our web app"
msgstr "Crear una ventana de GNOME para enmarcar la aplicación web"
-#: C/hellognome.js.page:73(section/p)
+#. (itstool) path: section/p
+#: C/hellognome.js.page:73
msgid ""
"First, we need to tell GNOME that this is a JavaScript application, which "
"uses gjs. Gjs is GNOME's way of turning your JavaScript code into "
@@ -19589,7 +21131,8 @@ msgstr ""
"JavaScript en instrucciones que entiende, por lo que esta línea siempre debe "
"ir al principio de sus aplicaciones."
-#: C/hellognome.js.page:74(section/code)
+#. (itstool) path: section/code
+#: C/hellognome.js.page:74
#, no-wrap
msgid ""
"\n"
@@ -19598,12 +21141,14 @@ msgstr ""
"\n"
"#!/usr/bin/gjs\n"
-#: C/hellognome.js.page:77(section/p)
+#. (itstool) path: section/p
+#: C/hellognome.js.page:77
msgid "After that, we need to tell GNOME which libraries we want to import."
msgstr ""
"Después de eso, necesita decirle a GNOME qué bibliotecas quiere importar."
-#: C/hellognome.js.page:78(section/code)
+#. (itstool) path: section/code
+#: C/hellognome.js.page:78
#, no-wrap
msgid ""
"\n"
@@ -19618,7 +21163,8 @@ msgstr ""
"const Lang = imports.lang;\n"
"const Webkit = imports.gi.WebKit;\n"
-#: C/hellognome.js.page:84(section/p)
+#. (itstool) path: section/p
+#: C/hellognome.js.page:84
msgid ""
"Just like how add-on libraries like jQuery let us do extra things with "
"JavaScript, each of these libraries gives us new capabilities for our GNOME "
@@ -19628,7 +21174,8 @@ msgstr ""
"cosas adicionales con JavaScript, cada una de estas bibliotecas le da "
"capacidades nuevas a las aplicaciones de GNOME:"
-#: C/hellognome.js.page:86(item/p)
+#. (itstool) path: item/p
+#: C/hellognome.js.page:86
msgid ""
"<file>Gtk</file> and <file>Lang</file> are basic parts of any GNOME "
"application, which let you create windows and widgets and tie them together."
@@ -19636,7 +21183,8 @@ msgstr ""
"<file>Gtk</file> y <file>Lang</file> son partes básicas de cualquier "
"aplicación de GNOME, que le permiten crear ventanas y widgets, y juntarlos."
-#: C/hellognome.js.page:87(item/p)
+#. (itstool) path: item/p
+#: C/hellognome.js.page:87
msgid ""
"<file>GLib</file> is a helper library, which lets us do things like tell "
"GNOME where the <file>hellognome.html</file> file we created is."
@@ -19644,7 +21192,8 @@ msgstr ""
"<file>GLib</file> es una biblioteca de ayuda, que permite hacer cosas como "
"decirle a GNOME dónde está el archivo <file>hellognome.html</file> que creó."
-#: C/hellognome.js.page:88(item/p)
+#. (itstool) path: item/p
+#: C/hellognome.js.page:88
msgid ""
"And <file>Webkit</file> is a web rendering engine, which we'll use to "
"basically create a browser window to open our HTML file with."
@@ -19653,11 +21202,13 @@ msgstr ""
"básicamente para crear una ventana de navegador con la que abrir el archivo "
"HTML."
-#: C/hellognome.js.page:91(section/p)
+#. (itstool) path: section/p
+#: C/hellognome.js.page:91
msgid "Now we create the application itself:"
msgstr "Ahora se crea la aplicación en sí:"
-#: C/hellognome.js.page:92(section/code)
+#. (itstool) path: section/code
+#: C/hellognome.js.page:92
#, no-wrap
msgid ""
"\n"
@@ -19668,7 +21219,8 @@ msgstr ""
"const HelloGNOME = new Lang.Class ({\n"
" Name: 'Hello GNOME',\n"
-#: C/hellognome.js.page:96(section/p)
+#. (itstool) path: section/p
+#: C/hellognome.js.page:96
msgid ""
"This will look familiar to you if you've worked with object-oriented "
"JavaScript before. That's right; our whole application is a class called "
@@ -19680,7 +21232,8 @@ msgstr ""
"«HelloGNOME». Y como puede ver, se le ha dado una propiedad que dice cuál es "
"su nombre."
-#: C/hellognome.js.page:98(section/code)
+#. (itstool) path: section/code
+#: C/hellognome.js.page:98
#, no-wrap
msgid ""
"\n"
@@ -19723,7 +21276,8 @@ msgstr ""
" this._buildUI ();\n"
" },\n"
-#: C/hellognome.js.page:118(section/p)
+#. (itstool) path: section/p
+#: C/hellognome.js.page:118
msgid ""
"Here's some code you will more or less copy-and-paste for every JavaScript "
"application you build. It creates a new Application, and then binds its "
@@ -19735,7 +21289,8 @@ msgstr ""
"señales «activate» y «startup» a funciones que muestran la ventana y "
"construyen su interfaz de usuario, respectivamente."
-#: C/hellognome.js.page:119(section/p)
+#. (itstool) path: section/p
+#: C/hellognome.js.page:119
msgid ""
"What does that mean? Well, everything in a GNOME application sends out a "
"signal when something important happens. A button might send out the clicked "
@@ -19754,7 +21309,8 @@ msgstr ""
"que quiere manejar, y la función «Lang.bind», que hay que usar para decirle "
"a «connect» qué función quiere que maneje la señal."
-#: C/hellognome.js.page:120(section/p)
+#. (itstool) path: section/p
+#: C/hellognome.js.page:120
msgid ""
"In this case, we want _onActivate to handle the activate signal, and "
"_onStartup to handle the startup signal. _onActivate just tells the window "
@@ -19770,7 +21326,8 @@ msgstr ""
"«_onStartup» llama a «_buildUI», que es la función que crea la interfaz de "
"usuario y que verá a continuación."
-#: C/hellognome.js.page:121(note/p)
+#. (itstool) path: note/p
+#: C/hellognome.js.page:121
msgid ""
"When you copy and paste the above code for your own applications, be sure to "
"change the name to a unique one each time."
@@ -19778,11 +21335,13 @@ msgstr ""
"Cuando copie y pegue el código anterior para sus propias aplicaciones, "
"asegúrese de cambiar el nombre por uno único cada vez."
-#: C/hellognome.js.page:125(section/title)
+#. (itstool) path: section/title
+#: C/hellognome.js.page:125
msgid "Designing our window's UI"
msgstr "Diseñar la IU de la ventana"
-#: C/hellognome.js.page:126(section/p)
+#. (itstool) path: section/p
+#: C/hellognome.js.page:126
msgid ""
"In the _buildUI function, we're going to tell GNOME about our window and the "
"things inside it, one at a time. After that, we're going to connect "
@@ -19792,7 +21351,8 @@ msgstr ""
"elementos, uno a la vez. Después de eso, se conectará y se mostrará todo "
"junto."
-#: C/hellognome.js.page:128(section/code)
+#. (itstool) path: section/code
+#: C/hellognome.js.page:128
#, no-wrap
msgid ""
"\n"
@@ -19819,7 +21379,8 @@ msgstr ""
" default_width: 400,\n"
" window_position: Gtk.WindowPosition.CENTER });\n"
-#: C/hellognome.js.page:141(section/p)
+#. (itstool) path: section/p
+#: C/hellognome.js.page:141
msgid ""
"The first object we create is an ApplicationWindow. It needs a title to go "
"in the title bar, and its application property needs to be the application "
@@ -19839,7 +21400,8 @@ msgstr ""
"en píxeles), y se le dijo a GNOME que se quiere que la ventana aparezca en "
"el centro de la pantalla."
-#: C/hellognome.js.page:142(section/code)
+#. (itstool) path: section/code
+#: C/hellognome.js.page:142
#, no-wrap
msgid ""
"\n"
@@ -19858,7 +21420,8 @@ msgstr ""
" this._webView.load_uri (GLib.filename_to_uri (GLib.get_current_dir() +\n"
" \"/hellognome.html\", null));\n"
-#: C/hellognome.js.page:150(section/p)
+#. (itstool) path: section/p
+#: C/hellognome.js.page:150
msgid ""
"Remember how we imported Webkit right at the start? Here we're creating a "
"new instance of a Webkit class called a WebView, which is more or less a "
@@ -19870,7 +21433,8 @@ msgstr ""
"una ventana de navegador que puede poner dentro de su aplicación. Después de "
"eso, se le da el URI que quiere que cargue cuando la aplicación inicia."
-#: C/hellognome.js.page:151(section/p)
+#. (itstool) path: section/p
+#: C/hellognome.js.page:151
msgid ""
"We <em>could</em> just give it a web URI, like <link href=\"http://gnome.org"
"\">http://gnome.org</link>. Instead, here we use a couple of GLib helper "
@@ -19890,7 +21454,8 @@ msgstr ""
"«WebView» entiende (el segundo parámetro de «filename_to_uri» debe ser "
"«null» a menos que sepa para qué se usa y tenga una razón para cambiarlo)."
-#: C/hellognome.js.page:152(section/code)
+#. (itstool) path: section/code
+#: C/hellognome.js.page:152
#, no-wrap
msgid ""
"\n"
@@ -19913,7 +21478,8 @@ msgstr ""
"\n"
"});\n"
-#: C/hellognome.js.page:162(section/p)
+#. (itstool) path: section/p
+#: C/hellognome.js.page:162
msgid ""
"Each window can hold one, and only one, widget. Normally, we'd use a "
"container widget like a <link xref=\"grid.js\">Grid</link> to put multiple "
@@ -19929,7 +21495,8 @@ msgstr ""
"se añade. Después de eso, al final de la función «_buildUI» que crea la "
"ventana, se le dice que se muestre con su contenido."
-#: C/hellognome.js.page:163(section/code)
+#. (itstool) path: section/code
+#: C/hellognome.js.page:163
#, no-wrap
msgid ""
"\n"
@@ -19942,7 +21509,8 @@ msgstr ""
"let app = new HelloGNOME ();\n"
"app.application.run (ARGV);\n"
-#: C/hellognome.js.page:168(section/p)
+#. (itstool) path: section/p
+#: C/hellognome.js.page:168
msgid ""
"Finally, we create a new instance of our HelloGNOME class, and tell GNOME to "
"run it."
@@ -19950,11 +21518,13 @@ msgstr ""
"Finalmente, se crea una instancia nueva de la clase «HelloGNOME» y se le "
"dice a GNOME que la ejecute."
-#: C/hellognome.js.page:172(section/title)
+#. (itstool) path: section/title
+#: C/hellognome.js.page:172
msgid "Running your GNOME application"
msgstr "Ejecutar la aplicación de GNOME"
-#: C/hellognome.js.page:174(section/p)
+#. (itstool) path: section/p
+#: C/hellognome.js.page:174
msgid ""
"Now that we've created our first GNOME application, it's time to test it "
"out! You don't need to compile your app or install any special software for "
@@ -19972,12 +21542,14 @@ msgstr ""
"personal, la que se llama como su usuario). Después de eso, abra una "
"terminal, vaya allí, e introduzca:"
-#: C/hellognome.js.page:175(section/screen)
+#. (itstool) path: section/screen
+#: C/hellognome.js.page:175
#, no-wrap
msgid " <output style=\"prompt\">$ </output>gjs hellognome.js "
msgstr " <output style=\"prompt\">$ </output>gjs hellognome.js "
-#: C/hellognome.js.page:176(section/p)
+#. (itstool) path: section/p
+#: C/hellognome.js.page:176
msgid ""
"You should see more or less the same screenshot as before, with a button "
"that you can click to make a short message appear."
@@ -19985,16 +21557,19 @@ msgstr ""
"Debería ver más o menos la misma captura de pantalla de antes, con un botón "
"que puede pulsar para hacer aparecer un mensaje corto."
-#: C/hellognome.js.page:179(note/p)
+#. (itstool) path: note/p
+#: C/hellognome.js.page:179
msgid "You can use the terminal command"
msgstr "Puede usar el comando de la terminal"
-#: C/hellognome.js.page:180(note/screen)
+#. (itstool) path: note/screen
+#: C/hellognome.js.page:180
#, no-wrap
msgid " <output style=\"prompt\">$ </output>cd <var>(directory name)</var> "
msgstr " <output style=\"prompt\">$ </output>cd <var>(nombre de la carpeta)</var> "
-#: C/hellognome.js.page:181(note/p)
+#. (itstool) path: note/p
+#: C/hellognome.js.page:181
msgid ""
"to navigate between directories inside the Terminal, in order to get to "
"where you saved the files. There is also an extension for Nautilus, GNOME's "
@@ -20008,7 +21583,8 @@ msgstr ""
"abrir una terminal allí. Búsquela en la aplicación que usa para instalar "
"software nuevo (como «Añadir/Quitar programas» o el «Centro de software»)."
-#: C/hellognome.js.page:188(section/p)
+#. (itstool) path: section/p
+#: C/hellognome.js.page:188
msgid ""
"<link xref=\"02_welcome_to_the_grid.js\">Continue on to the next tutorial</"
"link> to learn how to build \"native\" GNOME applications that look and feel "
@@ -20022,7 +21598,8 @@ msgstr ""
"vistazo a algunas <link xref=\"beginner.js#samples\">muestras de código</"
"link>, si quiere ver código de ejemplo para cada widget de GTK+."
-#: C/hellognome.js.page:189(section/p)
+#. (itstool) path: section/p
+#: C/hellognome.js.page:189
msgid ""
"Finally, if you want to just build GNOME applications using JavaScript "
"libraries designed for the web, you can basically stop here and go do that! "
@@ -20038,7 +21615,8 @@ msgstr ""
"para su aplicación, que le permitirá aparecer en el menú de actividades de "
"su escritorio junto a las otras."
-#: C/hellognome.js.page:194(section/code)
+#. (itstool) path: section/code
+#: C/hellognome.js.page:194
#, no-wrap
msgid ""
"#!/usr/bin/gjs\n"
@@ -20161,45 +21739,34 @@ msgstr ""
"let app = new HelloGNOME ();\n"
"app.application.run (ARGV);\n"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/hello-world.c.page:27(media) C/hello-world.js.page:27(media)
-#: C/hello-world.py.page:27(media) C/hello-world.vala.page:27(media)
+#: C/hello-world.c.page:27 C/hello-world.js.page:27 C/hello-world.py.page:27
+#: C/hello-world.vala.page:27
msgctxt "_"
msgid ""
"external ref='media/hello-world.png' md5='4c88a27211dfd1b33e504c9f78602f2d'"
msgstr ""
"external ref='media/hello-world.png' md5='4c88a27211dfd1b33e504c9f78602f2d'"
-#: C/hello-world.c.page:8(info/title)
+#. (itstool) path: info/title
+#: C/hello-world.c.page:8
msgctxt "text"
msgid "Hello World (C)"
msgstr "Hola mundo (C)"
-#: C/hello-world.c.page:23(info/desc) C/hello-world.js.page:23(info/desc)
-#: C/hello-world.py.page:23(info/desc) C/hello-world.vala.page:23(info/desc)
+#. (itstool) path: info/desc
+#: C/hello-world.c.page:23 C/hello-world.js.page:23 C/hello-world.py.page:23
+#: C/hello-world.vala.page:23
msgid "A basic \"hello, world\" application"
msgstr "Una aplicación «Hola mundo» básica"
-#: C/hello-world.c.page:26(page/title) C/hello-world.js.page:26(page/title)
-#: C/hello-world.py.page:26(page/title) C/hello-world.vala.page:26(page/title)
+#. (itstool) path: page/title
+#: C/hello-world.c.page:26 C/hello-world.js.page:26 C/hello-world.py.page:26
+#: C/hello-world.vala.page:26
msgid ""
"How to build, install and create a <file>tar.xz</file> of a Hello World "
"program"
@@ -20207,38 +21774,43 @@ msgstr ""
"Cómo construir, instalar y crear un <file>tar.xz</file> de un programa Hola "
"mundo"
-#: C/hello-world.c.page:29(synopsis/p) C/hello-world.js.page:29(synopsis/p)
-#: C/hello-world.py.page:29(synopsis/p) C/hello-world.vala.page:29(synopsis/p)
+#. (itstool) path: synopsis/p
+#: C/hello-world.c.page:29 C/hello-world.js.page:29 C/hello-world.py.page:29
+#: C/hello-world.vala.page:29
msgid "This tutorial will demonstrate how to:"
msgstr "Este tutorial le demostrará cómo:"
-#: C/hello-world.c.page:31(item/p) C/hello-world.vala.page:31(item/p)
+#. (itstool) path: item/p
+#: C/hello-world.c.page:31 C/hello-world.vala.page:31
msgid "create a small \"Hello, World\" application using GTK+"
msgstr "crear una pequeña aplicación «Hola, mundo» usando GTK+"
-#: C/hello-world.c.page:32(item/p) C/hello-world.js.page:32(item/p)
-#: C/hello-world.py.page:32(item/p) C/hello-world.vala.page:32(item/p)
+#. (itstool) path: item/p
+#: C/hello-world.c.page:32 C/hello-world.js.page:32 C/hello-world.py.page:32
+#: C/hello-world.vala.page:32
msgid "make the <file>.desktop</file> file"
msgstr "hacer el archivo <file>.desktop</file>"
-#: C/hello-world.c.page:33(item/p) C/hello-world.js.page:33(item/p)
-#: C/hello-world.py.page:33(item/p) C/hello-world.vala.page:33(item/p)
+#. (itstool) path: item/p
+#: C/hello-world.c.page:33 C/hello-world.js.page:33 C/hello-world.py.page:33
+#: C/hello-world.vala.page:33
msgid "how to set up the build system"
msgstr "configurar el sistema de construcción"
-#: C/hello-world.c.page:39(section/title)
-#: C/hello-world.js.page:41(section/title)
-#: C/hello-world.py.page:41(section/title)
-#: C/hello-world.vala.page:39(section/title)
+#. (itstool) path: section/title
+#: C/hello-world.c.page:39 C/hello-world.js.page:41 C/hello-world.py.page:41
+#: C/hello-world.vala.page:39
msgid "Create the program"
msgstr "Crear el programa"
-#: C/hello-world.c.page:44(section/code)
+#. (itstool) path: section/code
+#: C/hello-world.c.page:44
#, no-wrap
msgid "#include <gtk/gtk.h>\n"
msgstr "#include <gtk/gtk.h>\n"
-#: C/hello-world.c.page:49(section/code)
+#. (itstool) path: section/code
+#: C/hello-world.c.page:49
#, no-wrap
msgid ""
"static void\n"
@@ -20265,7 +21837,8 @@ msgstr ""
" gtk_widget_show_all (window);\n"
"}\n"
-#: C/hello-world.c.page:62(section/p) C/hello-world.js.page:91(section/p)
+#. (itstool) path: section/p
+#: C/hello-world.c.page:62 C/hello-world.js.page:91
msgid ""
"GtkApplication initializes GTK+. It also connects the <gui>x</gui> button "
"that's automatically generated along with the window to the \"destroy\" "
@@ -20274,7 +21847,8 @@ msgstr ""
"«GtkApplication» inicializa GTK+. También conecta el botón <gui>x</gui> que "
"se genera automáticamente junto con la ventana a la señal «destroy»."
-#: C/hello-world.c.page:63(section/p)
+#. (itstool) path: section/p
+#: C/hello-world.c.page:63
msgid ""
"We can start building our first window. We do this by creating a variable "
"called <var>window</var> and assigning it a gtk_application_window_new"
@@ -20283,7 +21857,8 @@ msgstr ""
"variable llamada <var>window</var> y asignándole una "
"gtk_application_window_new"
-#: C/hello-world.c.page:64(section/p)
+#. (itstool) path: section/p
+#: C/hello-world.c.page:64
msgid ""
"The window title can be any string you want it to be. To be on the safe "
"side, it's best to stick to UTF-8 encoding."
@@ -20291,8 +21866,9 @@ msgstr ""
"El título de la ventana puede ser la cadena que quiera pero, para estar "
"seguro, es conveniente que tenga una codificación UTF-8."
-#: C/hello-world.c.page:65(section/p) C/hello-world.js.page:94(section/p)
-#: C/hello-world.py.page:73(section/p) C/hello-world.vala.page:56(section/p)
+#. (itstool) path: section/p
+#: C/hello-world.c.page:65 C/hello-world.js.page:94 C/hello-world.py.page:73
+#: C/hello-world.vala.page:56
msgid ""
"Now we have a window which has a title and a working \"close\" button. Let's "
"add the actual \"Hello World\" text."
@@ -20300,14 +21876,14 @@ msgstr ""
"Ya tiene una ventana que contiene un título y un botón «cerrar» que "
"funciona. Ahora, añada el texto «Hola mundo»."
-#: C/hello-world.c.page:68(section/title)
-#: C/hello-world.js.page:97(section/title)
-#: C/hello-world.py.page:76(section/title)
-#: C/hello-world.vala.page:59(section/title)
+#. (itstool) path: section/title
+#: C/hello-world.c.page:68 C/hello-world.js.page:97 C/hello-world.py.page:76
+#: C/hello-world.vala.page:59
msgid "Label for the window"
msgstr "Etiqueta para la ventana"
-#: C/hello-world.c.page:69(section/code)
+#. (itstool) path: section/code
+#: C/hello-world.c.page:69
#, no-wrap
msgid ""
"GtkWidget *label;\n"
@@ -20320,11 +21896,13 @@ msgstr ""
" label = gtk_label_new (\"Hello World!\");\n"
" gtk_container_add (GTK_CONTAINER (window), label);\n"
-#: C/hello-world.c.page:75(section/p) C/hello-world.vala.page:64(section/p)
+#. (itstool) path: section/p
+#: C/hello-world.c.page:75 C/hello-world.vala.page:64
msgid "Finally, we create and run the application:"
msgstr "Por último, se crea y ejecuta la aplicación"
-#: C/hello-world.c.page:77(section/code)
+#. (itstool) path: section/code
+#: C/hello-world.c.page:77
#, no-wrap
msgid ""
"int\n"
@@ -20357,7 +21935,8 @@ msgstr ""
" return status;\n"
"}"
-#: C/hello-world.c.page:92(section/p)
+#. (itstool) path: section/p
+#: C/hello-world.c.page:92
msgid ""
"GtkApplicationWindow can only hold one widget at a time. To construct more "
"elaborate programs you need to create a holder widget like GtkGrid inside "
@@ -20367,16 +21946,19 @@ msgstr ""
"construir programas más elaborados necesita crear un widget contenedor como "
"«GtkGrid» dentro de la ventana, y después añadirle los otros."
-#: C/hello-world.c.page:96(section/title)
+#. (itstool) path: section/title
+#: C/hello-world.c.page:96
msgid "hello-world.c"
msgstr "hello-world.c"
-#: C/hello-world.c.page:97(section/p) C/hello-world.js.page:114(section/p)
-#: C/hello-world.py.page:101(section/p) C/hello-world.vala.page:75(section/p)
+#. (itstool) path: section/p
+#: C/hello-world.c.page:97 C/hello-world.js.page:114 C/hello-world.py.page:101
+#: C/hello-world.vala.page:75
msgid "The complete file:"
msgstr "El archivo completo:"
-#: C/hello-world.c.page:98(section/code)
+#. (itstool) path: section/code
+#: C/hello-world.c.page:98
#, no-wrap
msgid ""
"#include <gtk/gtk.h>\n"
@@ -20443,14 +22025,14 @@ msgstr ""
" return status;\n"
"}\n"
-#: C/hello-world.c.page:101(section/title)
-#: C/hello-world.js.page:118(section/title)
-#: C/hello-world.py.page:105(section/title)
-#: C/hello-world.vala.page:79(section/title)
+#. (itstool) path: section/title
+#: C/hello-world.c.page:101 C/hello-world.js.page:118
+#: C/hello-world.py.page:105 C/hello-world.vala.page:79
msgid "Running the application from terminal"
msgstr "Ejecutar la aplicación desde la terminal"
-#: C/hello-world.c.page:102(section/p)
+#. (itstool) path: section/p
+#: C/hello-world.c.page:102
msgid ""
"To run this application, first save it as hello-world.c. Then open Terminal, "
"go to the folder where your application is stored."
@@ -20458,34 +22040,37 @@ msgstr ""
"Para ejecutar esta aplicación, primero guárdela como «hello-world.c». Luego, "
"vaya a la carpeta donde está la aplicación."
-#: C/hello-world.c.page:103(section/p) C/hello-world.vala.page:81(section/p)
+#. (itstool) path: section/p
+#: C/hello-world.c.page:103 C/hello-world.vala.page:81
msgid "Compile the program:"
msgstr "Compilar el programa:"
-#: C/hello-world.c.page:104(section/screen)
+#. (itstool) path: section/screen
+#: C/hello-world.c.page:104
#, no-wrap
msgid "gcc <var>hello-world</var>.c `pkg-config --cflags --libs gtk+-3.0` -o <var>hello-world</var>"
msgstr "gcc <var>hello-world</var>.c `pkg-config --cflags --libs gtk+-3.0` -o <var>hello-world</var>"
-#: C/hello-world.c.page:105(section/p) C/hello-world.vala.page:83(section/p)
+#. (itstool) path: section/p
+#: C/hello-world.c.page:105 C/hello-world.vala.page:83
msgid "Run the program:"
msgstr "Ejecutar el programa:"
-#: C/hello-world.c.page:106(section/screen)
-#: C/hello-world.vala.page:84(section/screen)
+#. (itstool) path: section/screen
+#: C/hello-world.c.page:106 C/hello-world.vala.page:84
#, no-wrap
msgid "./<var>hello-world</var>"
msgstr "./<var>hello-world</var>"
-#: C/hello-world.c.page:110(section/title)
-#: C/hello-world.js.page:126(section/title)
-#: C/hello-world.py.page:111(section/title)
-#: C/hello-world.vala.page:88(section/title)
+#. (itstool) path: section/title
+#: C/hello-world.c.page:110 C/hello-world.js.page:126
+#: C/hello-world.py.page:111 C/hello-world.vala.page:88
msgid "The <file>.desktop.in</file> file"
msgstr "El archivo <file>.desktop.in</file>"
-#: C/hello-world.c.page:111(section/p) C/hello-world.js.page:127(section/p)
-#: C/hello-world.py.page:112(section/p) C/hello-world.vala.page:89(section/p)
+#. (itstool) path: section/p
+#: C/hello-world.c.page:111 C/hello-world.js.page:127
+#: C/hello-world.py.page:112 C/hello-world.vala.page:89
msgid ""
"Running applications from the Terminal is useful at the beginning of the "
"application making process. To have fully working <link href=\"https://"
@@ -20507,8 +22092,9 @@ msgstr ""
"file> <link href=\"http://developer.gnome.org/desktop-entry-spec/\">aquí</"
"link>. El archivo <file>.desktop.in</file> creará el <file>.desktop</file>."
-#: C/hello-world.c.page:113(section/p) C/hello-world.js.page:134(section/p)
-#: C/hello-world.py.page:114(section/p) C/hello-world.vala.page:91(section/p)
+#. (itstool) path: section/p
+#: C/hello-world.c.page:113 C/hello-world.js.page:134
+#: C/hello-world.py.page:114 C/hello-world.vala.page:91
msgid ""
"The example shows you the minimum requirements for a <code>.desktop.in</"
"code> file."
@@ -20516,10 +22102,9 @@ msgstr ""
"El ejemplo muestra los requerimientos mínimos de un archivo <code>.desktop."
"in</code>."
-#: C/hello-world.c.page:114(section/code)
-#: C/hello-world.js.page:135(section/code)
-#: C/hello-world.py.page:115(section/code)
-#: C/hello-world.vala.page:92(section/code)
+#. (itstool) path: section/code
+#: C/hello-world.c.page:114 C/hello-world.js.page:135
+#: C/hello-world.py.page:115 C/hello-world.vala.page:92
#, no-wrap
msgid ""
"[Desktop Entry]\n"
@@ -20546,42 +22131,47 @@ msgstr ""
"StartupNotify=true\n"
"Categories=GNOME;GTK;Utility;\n"
-#: C/hello-world.c.page:116(section/p) C/hello-world.js.page:137(section/p)
-#: C/hello-world.py.page:117(section/p) C/hello-world.vala.page:94(section/p)
+#. (itstool) path: section/p
+#: C/hello-world.c.page:116 C/hello-world.js.page:137
+#: C/hello-world.py.page:117 C/hello-world.vala.page:94
msgid "Now let's go through some parts of the <code>.desktop.in</code> file."
msgstr "Ahora se verán algunas partes del archivo <code>.desktop.in</code>."
-#: C/hello-world.c.page:118(item/title) C/hello-world.js.page:139(item/title)
-#: C/hello-world.py.page:119(item/title)
-#: C/hello-world.vala.page:96(item/title) C/toolbar_builder.py.page:94(td/p)
-#: C/toolbar_builder.vala.page:77(td/p)
+#. (itstool) path: item/title
+#. (itstool) path: td/p
+#: C/hello-world.c.page:118 C/hello-world.js.page:139
+#: C/hello-world.py.page:119 C/hello-world.vala.page:96
+#: C/toolbar_builder.py.page:94 C/toolbar_builder.vala.page:77
msgid "Name"
msgstr "Name"
-#: C/hello-world.c.page:118(item/p) C/hello-world.js.page:139(item/p)
-#: C/hello-world.py.page:119(item/p) C/hello-world.vala.page:96(item/p)
+#. (itstool) path: item/p
+#: C/hello-world.c.page:118 C/hello-world.js.page:139
+#: C/hello-world.py.page:119 C/hello-world.vala.page:96
msgid "The application name."
msgstr "El nombre de la aplicación."
-#: C/hello-world.c.page:119(item/title) C/hello-world.js.page:140(item/title)
-#: C/hello-world.py.page:120(item/title)
-#: C/hello-world.vala.page:97(item/title)
+#. (itstool) path: item/title
+#: C/hello-world.c.page:119 C/hello-world.js.page:140
+#: C/hello-world.py.page:120 C/hello-world.vala.page:97
msgid "Comment"
msgstr "Comment"
-#: C/hello-world.c.page:119(item/p) C/hello-world.js.page:140(item/p)
-#: C/hello-world.py.page:120(item/p) C/hello-world.vala.page:97(item/p)
+#. (itstool) path: item/p
+#: C/hello-world.c.page:119 C/hello-world.js.page:140
+#: C/hello-world.py.page:120 C/hello-world.vala.page:97
msgid "A short description of the application."
msgstr "Una descripción corta de la aplicación."
-#: C/hello-world.c.page:120(item/title) C/hello-world.js.page:141(item/title)
-#: C/hello-world.py.page:121(item/title)
-#: C/hello-world.vala.page:98(item/title)
+#. (itstool) path: item/title
+#: C/hello-world.c.page:120 C/hello-world.js.page:141
+#: C/hello-world.py.page:121 C/hello-world.vala.page:98
msgid "Exec"
msgstr "Exec"
-#: C/hello-world.c.page:120(item/p) C/hello-world.js.page:141(item/p)
-#: C/hello-world.py.page:121(item/p) C/hello-world.vala.page:98(item/p)
+#. (itstool) path: item/p
+#: C/hello-world.c.page:120 C/hello-world.js.page:141
+#: C/hello-world.py.page:121 C/hello-world.vala.page:98
msgid ""
"Specifies a command to execute when you choose the application from the "
"menu. In this example exec just tells where to find the <file>hello-world</"
@@ -20591,22 +22181,24 @@ msgstr ""
"En este ejemplo, «exec» sólo indica dónde encontrar el archivo <code>hello-"
"world</code> y el archivo se hace cargo del resto."
-#: C/hello-world.c.page:121(item/title) C/hello-world.js.page:142(item/title)
-#: C/hello-world.py.page:122(item/title)
-#: C/hello-world.vala.page:99(item/title)
+#. (itstool) path: item/title
+#: C/hello-world.c.page:121 C/hello-world.js.page:142
+#: C/hello-world.py.page:122 C/hello-world.vala.page:99
msgid "Terminal"
msgstr "Terminal"
-#: C/hello-world.c.page:121(item/p) C/hello-world.js.page:142(item/p)
-#: C/hello-world.py.page:122(item/p) C/hello-world.vala.page:99(item/p)
+#. (itstool) path: item/p
+#: C/hello-world.c.page:121 C/hello-world.js.page:142
+#: C/hello-world.py.page:122 C/hello-world.vala.page:99
msgid ""
"Specifies whether the command in the Exec key runs in a terminal window."
msgstr ""
"Especifica si el comando del campo «Exec» se ejecuta en una ventana de la "
"terminal."
-#: C/hello-world.c.page:124(section/p) C/hello-world.js.page:145(section/p)
-#: C/hello-world.py.page:125(section/p) C/hello-world.vala.page:102(section/p)
+#. (itstool) path: section/p
+#: C/hello-world.c.page:124 C/hello-world.js.page:145
+#: C/hello-world.py.page:125 C/hello-world.vala.page:102
msgid ""
"To put your application into the appropriate category, you need to add the "
"necessary categories to the Categories line. More information on the "
@@ -20619,8 +22211,9 @@ msgstr ""
"standards.freedesktop.org/menu-spec/latest/apa.html\">especificación del "
"menú</link>."
-#: C/hello-world.c.page:125(section/p) C/hello-world.js.page:146(section/p)
-#: C/hello-world.py.page:126(section/p) C/hello-world.vala.page:103(section/p)
+#. (itstool) path: section/p
+#: C/hello-world.c.page:125 C/hello-world.js.page:146
+#: C/hello-world.py.page:126 C/hello-world.vala.page:103
msgid ""
"In this example we use an existing icon. For a custom icon you need to have "
"a .svg file of your icon, stored in <file>/usr/share/icons/hicolor/scalable/"
@@ -20640,15 +22233,15 @@ msgstr ""
"temas</link> y en <link href=\"http://freedesktop.org/wiki/Specifications/"
"icon-theme-spec\">freedesktop.org: especificaciones/icon-theme-spec</link>."
-#: C/hello-world.c.page:128(section/title)
-#: C/hello-world.js.page:149(section/title)
-#: C/hello-world.py.page:129(section/title)
-#: C/hello-world.vala.page:106(section/title)
+#. (itstool) path: section/title
+#: C/hello-world.c.page:128 C/hello-world.js.page:149
+#: C/hello-world.py.page:129 C/hello-world.vala.page:106
msgid "The build system"
msgstr "El sistema de construcción"
-#: C/hello-world.c.page:129(section/p) C/hello-world.js.page:150(section/p)
-#: C/hello-world.py.page:130(section/p) C/hello-world.vala.page:107(section/p)
+#. (itstool) path: section/p
+#: C/hello-world.c.page:129 C/hello-world.js.page:150
+#: C/hello-world.py.page:130 C/hello-world.vala.page:107
msgid ""
"To make your application truly a part of the GNOME 3 system you need to "
"install it with the help of autotools. The autotools build will install all "
@@ -20658,23 +22251,23 @@ msgstr ""
"instalarla con la ayuda de autotools. La construcción autotools instalará "
"todos los archivos necesarios en las ubicaciones correctas."
-#: C/hello-world.c.page:130(section/p) C/hello-world.js.page:151(section/p)
-#: C/hello-world.py.page:131(section/p) C/hello-world.vala.page:108(section/p)
+#. (itstool) path: section/p
+#: C/hello-world.c.page:130 C/hello-world.js.page:151
+#: C/hello-world.py.page:131 C/hello-world.vala.page:108
msgid "For this you need to have the following files:"
msgstr "Para esto deberá tener los siguientes archivos:"
-#: C/hello-world.c.page:133(section/title)
-#: C/hello-world.js.page:154(section/title)
-#: C/hello-world.py.page:134(section/title)
-#: C/hello-world.vala.page:111(section/title)
-#: C/weatherAutotools.js.page:39(item/p)
+#. (itstool) path: section/title
+#. (itstool) path: item/p
+#: C/hello-world.c.page:133 C/hello-world.js.page:154
+#: C/hello-world.py.page:134 C/hello-world.vala.page:111
+#: C/weatherAutotools.js.page:39
msgid "autogen.sh"
msgstr "autogen.sh"
-#: C/hello-world.c.page:134(section/code)
-#: C/hello-world.js.page:155(section/code)
-#: C/hello-world.py.page:135(section/code)
-#: C/hello-world.vala.page:112(section/code)
+#. (itstool) path: section/code
+#: C/hello-world.c.page:134 C/hello-world.js.page:155
+#: C/hello-world.py.page:135 C/hello-world.vala.page:112
#, no-wrap
msgid ""
"#!/bin/sh\n"
@@ -20715,31 +22308,32 @@ msgstr ""
" \"$srcdir\"/configure \"$ \"\n"
"fi\n"
-#: C/hello-world.c.page:136(section/p) C/hello-world.js.page:157(section/p)
-#: C/hello-world.py.page:137(section/p) C/hello-world.vala.page:114(section/p)
+#. (itstool) path: section/p
+#: C/hello-world.c.page:136 C/hello-world.js.page:157
+#: C/hello-world.py.page:137 C/hello-world.vala.page:114
msgid "After the <file>autogen.sh</file> file is ready and saved, run:"
msgstr ""
"Una vez que el archivo <file>autogen.sh</file> esté listo y guardado, "
"ejecute:"
-#: C/hello-world.c.page:137(section/screen)
-#: C/hello-world.js.page:158(section/screen)
-#: C/hello-world.py.page:138(section/screen)
-#: C/hello-world.vala.page:115(section/screen)
+#. (itstool) path: section/screen
+#: C/hello-world.c.page:137 C/hello-world.js.page:158
+#: C/hello-world.py.page:138 C/hello-world.vala.page:115
#, no-wrap
msgid "<output style=\"prompt\">$ </output><input>chmod +x autogen.sh</input>"
msgstr "<output style=\"prompt\">$ </output><input>chmod +x autogen.sh</input>"
-#: C/hello-world.c.page:141(section/title)
-#: C/hello-world.js.page:162(section/title)
-#: C/hello-world.py.page:142(section/title)
-#: C/hello-world.vala.page:119(section/title)
-#: C/weatherAutotools.js.page:37(item/p)
-#: C/weatherAutotools.js.page:63(section/p)
+#. (itstool) path: section/title
+#. (itstool) path: item/p
+#. (itstool) path: section/p
+#: C/hello-world.c.page:141 C/hello-world.js.page:162
+#: C/hello-world.py.page:142 C/hello-world.vala.page:119
+#: C/weatherAutotools.js.page:37 C/weatherAutotools.js.page:63
msgid "Makefile.am"
msgstr "Makefile.am"
-#: C/hello-world.c.page:142(section/code)
+#. (itstool) path: section/code
+#: C/hello-world.c.page:142
#, no-wrap
msgid ""
"# The actual runnable program is set to the SCRIPTS primitive.\n"
@@ -20764,17 +22358,17 @@ msgstr ""
"desktop_DATA = \\\n"
"\thello-world.desktop\n"
-#: C/hello-world.c.page:146(section/title)
-#: C/hello-world.js.page:167(section/title)
-#: C/hello-world.py.page:147(section/title)
-#: C/hello-world.vala.page:124(section/title)
-#: C/weatherAutotools.js.page:38(item/p)
-#: C/weatherAutotools.js.page:130(section/p)
+#. (itstool) path: section/title
+#. (itstool) path: item/p
+#. (itstool) path: section/p
+#: C/hello-world.c.page:146 C/hello-world.js.page:167
+#: C/hello-world.py.page:147 C/hello-world.vala.page:124
+#: C/weatherAutotools.js.page:38 C/weatherAutotools.js.page:130
msgid "configure.ac"
msgstr "configure.ac"
-#: C/hello-world.c.page:147(section/code)
-#: C/hello-world.vala.page:125(section/code)
+#. (itstool) path: section/code
+#: C/hello-world.c.page:147 C/hello-world.vala.page:125
#, no-wrap
msgid ""
"# This file is processed by autoconf to create a configure script\n"
@@ -20797,21 +22391,22 @@ msgstr ""
"\n"
"AC_OUTPUT\n"
-#: C/hello-world.c.page:151(section/title)
-#: C/hello-world.js.page:172(section/title)
-#: C/hello-world.py.page:152(section/title)
-#: C/hello-world.vala.page:129(section/title)
+#. (itstool) path: section/title
+#: C/hello-world.c.page:151 C/hello-world.js.page:172
+#: C/hello-world.py.page:152 C/hello-world.vala.page:129
msgid "README"
msgstr "README"
-#: C/hello-world.c.page:152(section/p) C/hello-world.js.page:173(section/p)
-#: C/hello-world.py.page:153(section/p) C/hello-world.vala.page:130(section/p)
+#. (itstool) path: section/p
+#: C/hello-world.c.page:152 C/hello-world.js.page:173
+#: C/hello-world.py.page:153 C/hello-world.vala.page:130
msgid "Information users should read first. This file can be blank."
msgstr ""
"Información que los usuarios deben leer primero. Este archivo puede estar "
"vacío."
-#: C/hello-world.c.page:154(section/p) C/hello-world.vala.page:132(section/p)
+#. (itstool) path: section/p
+#: C/hello-world.c.page:154 C/hello-world.vala.page:132
msgid ""
"When you have the <file>hello-world.c</file>, <file>hello-world.desktop.in</"
"file>, <file>Makefile.am</file>, <file>configure.ac</file> and <file>autogen."
@@ -20823,7 +22418,8 @@ msgstr ""
"<file>autogen.sh</file> con la información y los permisos correctos, el "
"archivo <file>README</file> puede incluir las siguientes instrucciones:"
-#: C/hello-world.c.page:155(section/code)
+#. (itstool) path: section/code
+#: C/hello-world.c.page:155
#, no-wrap
msgid ""
"To build and install this program:\n"
@@ -20910,25 +22506,30 @@ msgstr ""
"\n"
"Esto creará el archivo hello-world-1.0.tar.xz\n"
-#: C/hello-world.js.page:8(info/title)
+#. (itstool) path: info/title
+#: C/hello-world.js.page:8
msgctxt "text"
msgid "Hello World (JavaScript)"
msgstr "Hola mundo (JavaScript)"
-#: C/hello-world.js.page:31(item/p)
+#. (itstool) path: item/p
+#: C/hello-world.js.page:31
msgid "create a small \"Hello, World\" application using JavaScript and GTK+"
msgstr "crear una pequeña aplicación «Hola, mundo» usando JavaScript y GTK+"
-#: C/hello-world.js.page:46(section/p)
+#. (itstool) path: section/p
+#: C/hello-world.js.page:46
msgid "This needs to be the first line of your script:"
msgstr "Esta tiene que ser la primera línea de su script:"
-#: C/hello-world.js.page:47(section/code)
+#. (itstool) path: section/code
+#: C/hello-world.js.page:47
#, no-wrap
msgid "#!/usr/bin/gjs"
msgstr "#!/usr/bin/gjs"
-#: C/hello-world.js.page:48(section/p)
+#. (itstool) path: section/p
+#: C/hello-world.js.page:48
msgid ""
"It tells the script to use <link href=\"https://live.gnome.org/Gjs/\">Gjs</"
"link>. Gjs is a JavaScript binding for GNOME."
@@ -20936,7 +22537,8 @@ msgstr ""
"Le dice al script que use <link href=\"https://live.gnome.org/Gjs/\">Gjs</"
"link>. Gjs es una vinculación de JavaScript para GNOME."
-#: C/hello-world.js.page:53(section/code)
+#. (itstool) path: section/code
+#: C/hello-world.js.page:53
#, no-wrap
msgid ""
"const Lang = imports.lang;\n"
@@ -20945,7 +22547,8 @@ msgstr ""
"const Lang = imports.lang;\n"
"const Gtk = imports.gi.Gtk;"
-#: C/hello-world.js.page:55(section/p) C/hello-world.py.page:48(section/p)
+#. (itstool) path: section/p
+#: C/hello-world.js.page:55 C/hello-world.py.page:48
msgid ""
"In order for our script to work with GNOME, we need to import GNOME "
"libraries via GObject Introspection. Here we import the language bindings "
@@ -20957,7 +22560,8 @@ msgstr ""
"las vinculaciones de lenguaje y GTK+, la biblioteca que contiene los widgets "
"gráficos usados para crear aplicaciones de GNOME."
-#: C/hello-world.js.page:59(section/code)
+#. (itstool) path: section/code
+#: C/hello-world.js.page:59
#, no-wrap
msgid ""
"const Application = new Lang.Class({\n"
@@ -21022,7 +22626,8 @@ msgstr ""
" }\n"
"});\n"
-#: C/hello-world.js.page:92(section/p)
+#. (itstool) path: section/p
+#: C/hello-world.js.page:92
msgid ""
"We can start building our first window. We do this by creating a variable "
"called <var>_window</var> and assigning it a new Gtk.ApplicationWindow."
@@ -21031,7 +22636,8 @@ msgstr ""
"variable llamada <var>_window</var> y asignándole una «Gtk."
"ApplicationWindow» nueva."
-#: C/hello-world.js.page:93(section/p) C/hello-world.py.page:72(section/p)
+#. (itstool) path: section/p
+#: C/hello-world.js.page:93 C/hello-world.py.page:72
msgid ""
"We give the window a property called <var>title</var>. The title can be any "
"string you want it to be. To be on the safe side, it's best to stick to "
@@ -21041,7 +22647,8 @@ msgstr ""
"la cadena que quiera pero, para estar seguro, es conveniente que tenga una "
"codificación UTF-8."
-#: C/hello-world.js.page:98(section/code)
+#. (itstool) path: section/code
+#: C/hello-world.js.page:98
#, no-wrap
msgid ""
"// Add a label widget to your window\n"
@@ -21054,7 +22661,8 @@ msgstr ""
"this._window.add(this.label);\n"
"this._window.set_default_size(200, 200);"
-#: C/hello-world.js.page:103(section/p)
+#. (itstool) path: section/p
+#: C/hello-world.js.page:103
msgid ""
"A text label is one of the GTK+ widgets we can use, on account of having "
"imported the GTK+ library. To use it, we create a new variable called label, "
@@ -21068,7 +22676,8 @@ msgstr ""
"las llaves «{}». En este caso, se está estableciendo el texto que la "
"etiqueta contendrá. Finalmente, se crea y ejecuta la aplicación:"
-#: C/hello-world.js.page:105(section/code)
+#. (itstool) path: section/code
+#: C/hello-world.js.page:105
#, no-wrap
msgid ""
"//run the application\n"
@@ -21079,8 +22688,9 @@ msgstr ""
"let app = new Application();\n"
"app.application.run(ARGV);"
-#: C/hello-world.js.page:109(section/p) C/hello-world.py.page:96(section/p)
-#: C/hello-world.vala.page:70(section/p)
+#. (itstool) path: section/p
+#: C/hello-world.js.page:109 C/hello-world.py.page:96
+#: C/hello-world.vala.page:70
msgid ""
"Gtk.ApplicationWindow can only hold one widget at a time. To construct more "
"elaborate programs you need to create a holder widget like Gtk.Grid inside "
@@ -21090,11 +22700,13 @@ msgstr ""
"construir programas más elaborados necesita crear un widget contenedor como "
"«Gtk.Grid» dentro de la ventana, y después añadirle los otros."
-#: C/hello-world.js.page:113(section/title)
+#. (itstool) path: section/title
+#: C/hello-world.js.page:113
msgid "hello-world.js"
msgstr "hello-world.js"
-#: C/hello-world.js.page:115(section/code)
+#. (itstool) path: section/code
+#: C/hello-world.js.page:115
#, no-wrap
msgid ""
"#!/usr/bin/gjs\n"
@@ -21183,7 +22795,8 @@ msgstr ""
"let app = new Application();\n"
"app.application.run(ARGV);\n"
-#: C/hello-world.js.page:119(section/p)
+#. (itstool) path: section/p
+#: C/hello-world.js.page:119
msgid ""
"To run this application, first save it as hello-world.js. Then open "
"Terminal, go to the folder where your application is stored and run:"
@@ -21191,12 +22804,14 @@ msgstr ""
"Para ejecutar esta aplicación, primero guárdela como hello-world.js. Luego, "
"abra una terminal, vaya a la carpeta donde está la aplicación y ejecute:"
-#: C/hello-world.js.page:120(section/screen)
+#. (itstool) path: section/screen
+#: C/hello-world.js.page:120
#, no-wrap
msgid "<output style=\"prompt\">$ </output><input>gjs hello-world.js</input>"
msgstr "<output style=\"prompt\">$ </output><input>gjs hello-world.js</input>"
-#: C/hello-world.js.page:130(note/p)
+#. (itstool) path: note/p
+#: C/hello-world.js.page:130
msgid ""
"Before continuing, resave <file>hello-world.js</file> as <file>hello-world</"
"file>. Then run this in the command line:"
@@ -21204,12 +22819,14 @@ msgstr ""
"Antes de continuar, guarde nuevamente <file>hello-world.js</file> como "
"<file>hello-world</file>. Después ejecute esto en la terminal:"
-#: C/hello-world.js.page:131(note/screen)
+#. (itstool) path: note/screen
+#: C/hello-world.js.page:131
#, no-wrap
msgid "<output style=\"prompt\">$ </output><input>chmod +x hello-world</input>"
msgstr "<output style=\"prompt\">$ </output><input>chmod +x hello-world</input>"
-#: C/hello-world.js.page:163(section/code)
+#. (itstool) path: section/code
+#: C/hello-world.js.page:163
#, no-wrap
msgid ""
"# The actual runnable program is set to the SCRIPTS primitive.\n"
@@ -21236,8 +22853,8 @@ msgstr ""
"desktop_DATA = \\\n"
"\thello-world.desktop\n"
-#: C/hello-world.js.page:168(section/code)
-#: C/hello-world.py.page:148(section/code)
+#. (itstool) path: section/code
+#: C/hello-world.js.page:168 C/hello-world.py.page:148
#, no-wrap
msgid ""
"# This file is processed by autoconf to create a configure script\n"
@@ -21252,7 +22869,8 @@ msgstr ""
"AC_CONFIG_FILES([Makefile hello-world.desktop])\n"
"AC_OUTPUT\n"
-#: C/hello-world.js.page:175(section/p) C/hello-world.py.page:155(section/p)
+#. (itstool) path: section/p
+#: C/hello-world.js.page:175 C/hello-world.py.page:155
msgid ""
"When you have the <file>hello-world</file>, <file>hello-world.desktop.in</"
"file>, <file>Makefile.am</file>, <file>configure.ac</file> and <file>autogen."
@@ -21264,8 +22882,8 @@ msgstr ""
"<file>autogen.sh</file> con la información y los permisos correctos, el "
"archivo <file>README</file> puede incluir las siguientes instrucciones:"
-#: C/hello-world.js.page:176(section/code)
-#: C/hello-world.py.page:156(section/code)
+#. (itstool) path: section/code
+#: C/hello-world.js.page:176 C/hello-world.py.page:156
#, no-wrap
msgid ""
"To build and install this program:\n"
@@ -21341,16 +22959,19 @@ msgstr ""
"Esto creará el archivo hello-world-1.0.tar.xz\n"
"\n"
-#: C/hello-world.py.page:8(info/title)
+#. (itstool) path: info/title
+#: C/hello-world.py.page:8
msgctxt "text"
msgid "Hello World (Python)"
msgstr "Hola mundo (Python)"
-#: C/hello-world.py.page:31(item/p)
+#. (itstool) path: item/p
+#: C/hello-world.py.page:31
msgid "create a small \"Hello, World\" application using Python and GTK+"
msgstr "crear una pequeña aplicación «Hola, mundo» usando Python y GTK+"
-#: C/hello-world.py.page:46(section/code)
+#. (itstool) path: section/code
+#: C/hello-world.py.page:46
#, no-wrap
msgid ""
"from gi.repository import Gtk\n"
@@ -21359,7 +22980,8 @@ msgstr ""
"from gi.repository import Gtk\n"
"import sys"
-#: C/hello-world.py.page:52(section/code)
+#. (itstool) path: section/code
+#: C/hello-world.py.page:52
#, no-wrap
msgid ""
"class MyWindow(Gtk.ApplicationWindow):\n"
@@ -21398,7 +23020,8 @@ msgstr ""
" def do_startup(self):\n"
" Gtk.Application.do_startup(self)"
-#: C/hello-world.py.page:70(section/p) C/hello-world.vala.page:53(section/p)
+#. (itstool) path: section/p
+#: C/hello-world.py.page:70 C/hello-world.vala.page:53
msgid ""
"Gtk.Application initializes GTK+. It also connects the <gui>x</gui> button "
"that's automatically generated along with the window to the \"destroy\" "
@@ -21407,7 +23030,8 @@ msgstr ""
"«Gtk.Application» inicializa GTK+. También conecta el botón <gui>x</gui>, "
"que se genera automáticamente junto con la ventana, a la señal «destroy»."
-#: C/hello-world.py.page:71(section/p)
+#. (itstool) path: section/p
+#: C/hello-world.py.page:71
msgid ""
"We can start building our first window. We do this by creating a class "
"called <var>MyWindow</var> and assigning it a Gtk.ApplicationWindow."
@@ -21415,7 +23039,8 @@ msgstr ""
"Se puede empezar a construir la primera ventana. Esto se hace creando una "
"clase llamada <var>MyWindow</var> y asignándole una «Gtk.ApplicationWindow»."
-#: C/hello-world.py.page:77(section/code)
+#. (itstool) path: section/code
+#: C/hello-world.py.page:77
#, no-wrap
msgid ""
"# Add a label widget to your window\n"
@@ -21440,7 +23065,8 @@ msgstr ""
" # add the label to the window\n"
" self.add(label)"
-#: C/hello-world.py.page:88(section/p)
+#. (itstool) path: section/p
+#: C/hello-world.py.page:88
msgid ""
"A text label is one of the GTK+ widgets we can use, on account of having "
"imported the GTK+ library. To use it, we create a variable called "
@@ -21452,7 +23078,8 @@ msgstr ""
"<var>label</var> y establezca el texto que la etiqueta contendrá. "
"Finalmente, se crea y ejecuta la aplicación:"
-#: C/hello-world.py.page:90(section/code)
+#. (itstool) path: section/code
+#: C/hello-world.py.page:90
#, no-wrap
msgid ""
"#run the application\n"
@@ -21467,18 +23094,53 @@ msgstr ""
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)"
-#: C/hello-world.py.page:100(section/title)
+#. (itstool) path: section/title
+#: C/hello-world.py.page:100
msgid "hello-world.py"
msgstr "hola-mundo.py"
-#: C/hello-world.py.page:102(section/code) C/label.py.page:37(section/code)
+#. (itstool) path: section/code
+#: C/hello-world.py.page:102 C/label.py.page:37
#, no-wrap
+#| msgid ""
+#| "from gi.repository import Gtk\n"
+#| "import sys\n"
+#| "\n"
+#| "class MyWindow(Gtk.ApplicationWindow):\n"
+#| " # constructor for a Gtk.ApplicationWindow\n"
+#| " def __init__(self, app):\n"
+#| " Gtk.Window.__init__(self, title=\"Welcome to GNOME\", application=app)\n"
+#| " self.set_default_size(200, 100)\n"
+#| "\n"
+#| " # create a label\n"
+#| " label = Gtk.Label()\n"
+#| " # set the text of the label\n"
+#| " label.set_text(\"Hello GNOME!\")\n"
+#| " # add the label to the window\n"
+#| " self.add(label)\n"
+#| "\n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " def __init__(self):\n"
+#| " Gtk.Application.__init__(self)\n"
+#| "\n"
+#| " def do_activate(self):\n"
+#| " win = MyWindow(self)\n"
+#| " win.show_all()\n"
+#| "\n"
+#| " def do_startup(self):\n"
+#| " Gtk.Application.do_startup(self)\n"
+#| "\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
" # constructor for a Gtk.ApplicationWindow\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"Welcome to GNOME\", application=app)\n"
" self.set_default_size(200, 100)\n"
@@ -21490,7 +23152,9 @@ msgid ""
" # add the label to the window\n"
" self.add(label)\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -21508,8 +23172,10 @@ msgstr ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
" # constructor for a Gtk.ApplicationWindow\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"Welcome to GNOME\", application=app)\n"
" self.set_default_size(200, 100)\n"
@@ -21521,7 +23187,9 @@ msgstr ""
" # add the label to the window\n"
" self.add(label)\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -21536,7 +23204,8 @@ msgstr ""
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/hello-world.py.page:106(section/p)
+#. (itstool) path: section/p
+#: C/hello-world.py.page:106
msgid ""
"To run this application, first save it as hello-world.py. Then open "
"Terminal, go to the folder where your application is stored and run:"
@@ -21544,12 +23213,14 @@ msgstr ""
"Para ejecutar esta aplicación, primero guárdela como hello-world.py. Luego, "
"vaya a la carpeta donde está la aplicación."
-#: C/hello-world.py.page:107(section/screen)
+#. (itstool) path: section/screen
+#: C/hello-world.py.page:107
#, no-wrap
msgid "<output style=\"prompt\">$ </output><input>python hello-world.py</input>"
msgstr "<output style=\"prompt\">$ </output><input>python hola-mundo.py</input>"
-#: C/hello-world.py.page:143(section/code)
+#. (itstool) path: section/code
+#: C/hello-world.py.page:143
#, no-wrap
msgid ""
"# The actual runnable program is set to the SCRIPTS primitive.\n"
@@ -21576,12 +23247,14 @@ msgstr ""
"desktop_DATA = \\\n"
"\thello-world.desktop\n"
-#: C/hello-world.vala.page:8(info/title)
+#. (itstool) path: info/title
+#: C/hello-world.vala.page:8
msgctxt "text"
msgid "Hello World (Vala)"
msgstr "Hola mundo (Vala)"
-#: C/hello-world.vala.page:44(section/code)
+#. (itstool) path: section/code
+#: C/hello-world.vala.page:44
#, no-wrap
msgid ""
"class MyApplication : Gtk.Application {\n"
@@ -21602,7 +23275,8 @@ msgstr ""
" }\n"
"}"
-#: C/hello-world.vala.page:54(section/p)
+#. (itstool) path: section/p
+#: C/hello-world.vala.page:54
msgid ""
"We can start building our first window. We do this by creating a variable "
"called <var>window</var> and assigning it a new Gtk.ApplicationWindow."
@@ -21610,7 +23284,8 @@ msgstr ""
"Se puede empezar a construir la primera ventana. Esto se hace creando una "
"variable llamada <var>window</var> y asignándole una «Gtk.ApplicationWindow»."
-#: C/hello-world.vala.page:55(section/p)
+#. (itstool) path: section/p
+#: C/hello-world.vala.page:55
msgid ""
"We give the window a title using <code>set_title</code>. The title can be "
"any string you want it to be. To be on the safe side, it's best to stick to "
@@ -21620,7 +23295,8 @@ msgstr ""
"ser la cadena que quiera pero, para estar seguro, es conveniente que tenga "
"una codificación UTF-8."
-#: C/hello-world.vala.page:60(section/code)
+#. (itstool) path: section/code
+#: C/hello-world.vala.page:60
#, no-wrap
msgid ""
"var label = new Gtk.Label (\"Hello GNOME!\");\n"
@@ -21629,7 +23305,8 @@ msgstr ""
"var label = new Gtk.Label (\"Hello GNOME!\");\n"
" window.add (label);\n"
-#: C/hello-world.vala.page:66(section/code)
+#. (itstool) path: section/code
+#: C/hello-world.vala.page:66
#, no-wrap
msgid ""
"int main (string[] args) {\n"
@@ -21640,11 +23317,13 @@ msgstr ""
" return new MyApplication ().run (args);\n"
"}"
-#: C/hello-world.vala.page:74(section/title)
+#. (itstool) path: section/title
+#: C/hello-world.vala.page:74
msgid "hello-world.vala"
msgstr "hello-world.vala"
-#: C/hello-world.vala.page:76(section/code)
+#. (itstool) path: section/code
+#: C/hello-world.vala.page:76
#, no-wrap
msgid ""
"public class MyApplication : Gtk.Application {\n"
@@ -21677,7 +23356,8 @@ msgstr ""
"\treturn new MyApplication ().run (args);\n"
"}\n"
-#: C/hello-world.vala.page:80(section/p)
+#. (itstool) path: section/p
+#: C/hello-world.vala.page:80
msgid ""
"To run this application, first save it as hello-world.vala. Then open "
"Terminal, go to the folder where your application is stored."
@@ -21685,12 +23365,14 @@ msgstr ""
"Para ejecutar esta aplicación, primero guárdela como hello-world.vala. "
"Luego, vaya a la carpeta donde está la aplicación."
-#: C/hello-world.vala.page:82(section/screen)
+#. (itstool) path: section/screen
+#: C/hello-world.vala.page:82
#, no-wrap
msgid "valac --pkg gtk+-3.0 <file>hello-world.vala</file>"
msgstr "valac --pkg gtk+-3.0 <file>hello-world.vala</file>"
-#: C/hello-world.vala.page:120(section/code)
+#. (itstool) path: section/code
+#: C/hello-world.vala.page:120
#, no-wrap
msgid ""
"# The actual runnable program is set to the SCRIPTS primitive.\n"
@@ -21717,7 +23399,8 @@ msgstr ""
"desktop_DATA = \\\n"
"\thello-world.desktop\n"
-#: C/hello-world.vala.page:133(section/code)
+#. (itstool) path: section/code
+#: C/hello-world.vala.page:133
#, no-wrap
msgid ""
"To build and install this program:\n"
@@ -21801,54 +23484,44 @@ msgstr ""
"Esto creará el archivo hello-world-1.0.tar.xz\n"
"\n"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/image.c.page:21(media) C/image.js.page:20(media)
-#: C/image.py.page:23(media) C/image.vala.page:21(media)
+#: C/image.c.page:21 C/image.js.page:20 C/image.py.page:23
+#: C/image.vala.page:21
msgctxt "_"
msgid "external ref='media/image.png' md5='9416aa74d9d6a857783f7a36338e7a02'"
msgstr "external ref='media/image.png' md5='9416aa74d9d6a857783f7a36338e7a02'"
-#: C/image.c.page:7(info/title)
+#. (itstool) path: info/title
+#: C/image.c.page:7
msgctxt "text"
msgid "Image (C)"
msgstr "Image (C)"
-#: C/image.c.page:17(info/desc) C/image.js.page:16(info/desc)
-#: C/image.py.page:19(info/desc) C/image.vala.page:17(info/desc)
+#. (itstool) path: info/desc
+#: C/image.c.page:17 C/image.js.page:16 C/image.py.page:19
+#: C/image.vala.page:17
msgid "A widget displaying an image"
msgstr "Un widget que muestra una imagen"
-#: C/image.c.page:20(page/title) C/image.js.page:19(page/title)
-#: C/image.py.page:22(page/title) C/image.vala.page:20(page/title)
+#. (itstool) path: page/title
+#: C/image.c.page:20 C/image.js.page:19 C/image.py.page:22
+#: C/image.vala.page:20
msgid "Image"
msgstr "Image"
-#: C/image.c.page:22(page/p) C/image.js.page:21(page/p)
-#: C/image.py.page:24(page/p) C/image.vala.page:22(page/p)
+#. (itstool) path: page/p
+#: C/image.c.page:22 C/image.js.page:21 C/image.py.page:24
+#: C/image.vala.page:22
msgid "This GtkApplication displays an image file from the current directory."
msgstr ""
"Esta GtkApplication muestra una archivo de imagen de la carpeta actual."
-#: C/image.c.page:23(note/p) C/image.js.page:22(note/p)
-#: C/image.vala.page:23(note/p)
+#. (itstool) path: note/p
+#: C/image.c.page:23 C/image.js.page:22 C/image.vala.page:23
msgid ""
"If the image file isn't loaded successfully, the image will contain a "
"\"broken image\" icon. The <file>filename.png</file> needs to be in the "
@@ -21858,7 +23531,8 @@ msgstr ""
"icono de «imagen rota» El archivo <file>nombre_archivo.png</file> debe estar "
"en la carpeta actual para que este código funcione. Use su imagen favorita."
-#: C/image.c.page:27(page/code)
+#. (itstool) path: page/code
+#: C/image.c.page:27
#, no-wrap
msgid ""
"#include <gtk/gtk.h>\n"
@@ -21937,7 +23611,8 @@ msgstr ""
" return status;\n"
"}\n"
-#: C/image.c.page:34(item/p)
+#. (itstool) path: item/p
+#: C/image.c.page:34
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkImage.html"
"\">GtkImage</link>"
@@ -21945,12 +23620,14 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkImage.html"
"\">GtkImage</link>"
-#: C/image.js.page:6(info/title)
+#. (itstool) path: info/title
+#: C/image.js.page:6
msgctxt "text"
msgid "Image (JavaScript)"
msgstr "Image (JavaScript)"
-#: C/image.js.page:26(page/code)
+#. (itstool) path: page/code
+#: C/image.js.page:26
#, no-wrap
msgid ""
"#!/usr/bin/gjs\n"
@@ -22075,7 +23752,8 @@ msgstr ""
"let app = new ImageExample ();\n"
"app.application.run (ARGV);\n"
-#: C/image.js.page:33(item/p)
+#. (itstool) path: item/p
+#: C/image.js.page:33
msgid ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.Image.html"
"\">Gtk.Image</link>"
@@ -22083,12 +23761,14 @@ msgstr ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.Image.html"
"\">Gtk.Image</link>"
-#: C/image.py.page:7(info/title)
+#. (itstool) path: info/title
+#: C/image.py.page:7
msgctxt "text"
msgid "Image (Python)"
msgstr "Image (Python)"
-#: C/image.py.page:26(note/p)
+#. (itstool) path: note/p
+#: C/image.py.page:26
msgid ""
"If the image file is not loaded successfully, the image will contain a "
"\"broken image\" icon. The <file>filename.png</file> needs to be in the "
@@ -22098,14 +23778,48 @@ msgstr ""
"de «imagen rota». El archivo <file>nombre_archivo.png</file> debe estar en "
"la carpeta actual para que este código funcione."
-#: C/image.py.page:35(section/code)
+#. (itstool) path: section/code
+#: C/image.py.page:35
#, no-wrap
+#| msgid ""
+#| "from gi.repository import Gtk\n"
+#| "import sys\n"
+#| "\n"
+#| "class MyWindow(Gtk.ApplicationWindow):\n"
+#| " # create a window\n"
+#| " def __init__(self, app):\n"
+#| " Gtk.Window.__init__(self, title=\"Welcome to GNOME\", application=app)\n"
+#| " self.set_default_size(300, 300)\n"
+#| "\n"
+#| " # create an image\n"
+#| " image = Gtk.Image()\n"
+#| " # set the content of the image as the file filename.png\n"
+#| " image.set_from_file(\"gnome-image.png\")\n"
+#| " # add the image to the window\n"
+#| " self.add(image)\n"
+#| "\n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " def __init__(self):\n"
+#| " Gtk.Application.__init__(self)\n"
+#| "\n"
+#| " def do_activate(self):\n"
+#| " win = MyWindow(self)\n"
+#| " win.show_all()\n"
+#| "\n"
+#| " def do_startup(self):\n"
+#| " Gtk.Application.do_startup(self)\n"
+#| "\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
" # create a window\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"Welcome to GNOME\", application=app)\n"
" self.set_default_size(300, 300)\n"
@@ -22117,7 +23831,9 @@ msgid ""
" # add the image to the window\n"
" self.add(image)\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -22135,8 +23851,10 @@ msgstr ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
" # create a window\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"Welcome to GNOME\", application=app)\n"
" self.set_default_size(300, 300)\n"
@@ -22148,7 +23866,9 @@ msgstr ""
" # add the image to the window\n"
" self.add(image)\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -22163,7 +23883,8 @@ msgstr ""
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/image.py.page:37(section/p)
+#. (itstool) path: section/p
+#: C/image.py.page:37
msgid ""
"Another way to obtain what we have in the example is to create the image as "
"an instance of another class and add it to the instance of <code>MyWindow</"
@@ -22173,7 +23894,8 @@ msgstr ""
"una instancia de otra clase y añadírsela a la instancia de <code>MyWindow</"
"code> en el método <code>do_activate(self)</code>:"
-#: C/image.py.page:38(section/code)
+#. (itstool) path: section/code
+#: C/image.py.page:38
#, no-wrap
msgid ""
"\n"
@@ -22226,11 +23948,13 @@ msgstr ""
" # show the window and everything on it\n"
" win.show_all()"
-#: C/image.py.page:65(section/title)
+#. (itstool) path: section/title
+#: C/image.py.page:65
msgid "Useful methods for an Image widget"
msgstr "Métodos útiles para un widget «Image»"
-#: C/image.py.page:68(item/p)
+#. (itstool) path: item/p
+#: C/image.py.page:68
msgid ""
"To set a stock icon as image, you can use <code>set_from_stock(stock_id, "
"size)</code> where <code>stock_id</code> is a stock icon such as <code>Gtk."
@@ -22251,7 +23975,8 @@ msgstr ""
"IconSize.SMALL_TOOLBAR, Gtk.IconSize.LARGE_TOOLBAR, Gtk.IconSize.BUTTON, Gtk."
"IconSize.DND, Gtk.IconSize.DIALOG</code>."
-#: C/image.py.page:69(item/p)
+#. (itstool) path: item/p
+#: C/image.py.page:69
msgid ""
"You can also use <code>set_from_icon_name(icon_name, size)</code>, where "
"<code>icon_name</code> is a stock icon name such as <code>\"gtk-about\"</"
@@ -22262,7 +23987,8 @@ msgstr ""
"<code>«gtk-about»</code> (puede encontrar más como se mencionó) y "
"<code>tamaño</code> es igual que con «set_from_stock»."
-#: C/image.py.page:70(item/p)
+#. (itstool) path: item/p
+#: C/image.py.page:70
msgid ""
"To load an image over a network use <code>set_from_pixbuf(pixbuf)</code>, "
"where <code>pixbuf</code> is a <link href=\"http://developer.gnome.org/gdk-"
@@ -22272,7 +23998,8 @@ msgstr ""
"donde <code>pixbuf</code> es un <link href=\"http://developer.gnome.org/gdk-"
"pixbuf/unstable//index.html\">GdkPixbuf</link>."
-#: C/image.py.page:71(item/code)
+#. (itstool) path: item/code
+#: C/image.py.page:71
#, no-wrap
msgid ""
"\n"
@@ -22319,7 +24046,8 @@ msgstr ""
" # add the image to the window\n"
" self.add(image)"
-#: C/image.py.page:92(item/p)
+#. (itstool) path: item/p
+#: C/image.py.page:92
msgid ""
"If <code>preserve_aspect_ratio=True</code> we can use "
"<code>new_from_file_at_size(filename, width, height)</code>. If <code>width</"
@@ -22330,7 +24058,8 @@ msgstr ""
"<code>anchura</code> o <code>altura</code> son <code>-1</code>, no se "
"restringen."
-#: C/image.py.page:93(item/p)
+#. (itstool) path: item/p
+#: C/image.py.page:93
msgid ""
"For loading from an input stream, see <code>new_from_stream()</code> and "
"<code>new_from_stream_at_scale()</code> in the documentation"
@@ -22338,12 +24067,14 @@ msgstr ""
"Para cargar de un flujo de entrada, consulte <code>new_from_stream()</code> "
"y <code>new_from_stream_at_scale()</code> en la documentación"
-#: C/image.vala.page:7(info/title)
+#. (itstool) path: info/title
+#: C/image.vala.page:7
msgctxt "text"
msgid "Image (Vala)"
msgstr "Imagen (Vala)"
-#: C/image.vala.page:26(page/code)
+#. (itstool) path: page/code
+#: C/image.vala.page:26
#, no-wrap
msgid ""
"public class MyWindow : Gtk.ApplicationWindow {\n"
@@ -22396,7 +24127,8 @@ msgstr ""
"\treturn new MyApplication ().run (args);\n"
"}\n"
-#: C/image.vala.page:31(item/p) C/separator.vala.page:39(item/p)
+#. (itstool) path: item/p
+#: C/image.vala.page:31 C/separator.vala.page:39
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Application.html"
"\">GtkApplication</link>"
@@ -22404,7 +24136,8 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Application.html"
"\">GtkApplication</link>"
-#: C/image.vala.page:32(item/p)
+#. (itstool) path: item/p
+#: C/image.vala.page:32
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.ApplicationWindow.html"
"\">GtkApplicationWindow</link>"
@@ -22412,75 +24145,63 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.ApplicationWindow.html"
"\">GtkApplicationWindow</link>"
-#: C/image.vala.page:33(item/p) C/paned.vala.page:37(item/p)
+#. (itstool) path: item/p
+#: C/image.vala.page:33 C/paned.vala.page:37
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Image.html\">GtkImage</link>"
msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Image.html\">GtkImage</link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/image-viewer.c.page:38(media) C/image-viewer.cpp.page:36(media)
-#: C/image-viewer.js.page:46(media) C/image-viewer.py.page:45(media)
-#: C/image-viewer.vala.page:53(media)
+#: C/image-viewer.c.page:38 C/image-viewer.cpp.page:36
+#: C/image-viewer.js.page:46 C/image-viewer.py.page:45
+#: C/image-viewer.vala.page:53
msgctxt "_"
msgid ""
"external ref='media/image-viewer.png' md5='7720360611243b14283b83527be968c2'"
msgstr ""
"external ref='media/image-viewer.png' md5='7720360611243b14283b83527be968c2'"
-#: C/image-viewer.c.page:7(info/title)
+#. (itstool) path: info/title
+#: C/image-viewer.c.page:7
msgctxt "text"
msgid "Image viewer (C)"
msgstr "Visor de imágenes (C)"
-#: C/image-viewer.c.page:10(info/desc)
+#. (itstool) path: info/desc
+#: C/image-viewer.c.page:10
msgid "A little bit more than a simple \"Hello world\" Gtk application."
msgstr "Algo más que una sencilla aplicación «Hola mundo» en GTK."
-#: C/image-viewer.c.page:28(page/title) C/image-viewer.cpp.page:26(page/title)
-#: C/image-viewer.js.page:28(page/title) C/image-viewer.py.page:28(page/title)
-#: C/image-viewer.vala.page:36(page/title)
+#. (itstool) path: page/title
+#: C/image-viewer.c.page:28 C/image-viewer.cpp.page:26
+#: C/image-viewer.js.page:28 C/image-viewer.py.page:28
+#: C/image-viewer.vala.page:36
msgid "Image viewer"
msgstr "Visor de imágenes"
-#: C/image-viewer.c.page:31(synopsis/p) C/image-viewer.cpp.page:29(synopsis/p)
-#: C/message-board.c.page:28(synopsis/p)
-#: C/record-collection.js.page:31(synopsis/p)
+#. (itstool) path: synopsis/p
+#: C/image-viewer.c.page:31 C/image-viewer.cpp.page:29
+#: C/message-board.c.page:28 C/record-collection.js.page:31
msgid "In this tutorial, you will learn:"
msgstr "En este tutorial aprenderá:"
-#: C/image-viewer.c.page:33(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.c.page:33
msgid "Some basic concepts of C/GObject programming"
msgstr "Algunos conceptos básicos de programación en C/GObject"
-#: C/image-viewer.c.page:34(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.c.page:34
msgid "How to write a Gtk application in C"
msgstr "Cómo escribir una aplicación GTK en C"
-#: C/image-viewer.c.page:48(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.c.page:48
msgid ""
"Choose <gui>GTK+ (Simple)</gui> from the <gui>C</gui> tab, click "
"<gui>Continue</gui>, and fill out your details on the next few pages. Use "
@@ -22490,7 +24211,8 @@ msgstr ""
"<gui>Continuar</gui>, y rellene los detalles en las siguientes páginas. Use "
"<file>visor-imagenes</file> como nombre del proyecto y de la carpeta."
-#: C/image-viewer.c.page:51(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.c.page:51
msgid ""
"Make sure that <gui>Use GtkBuilder for user interface</gui> is disabled as "
"we will create the UI manually in this tutorial. Check the <link xref="
@@ -22502,7 +24224,8 @@ msgstr ""
"Revise el tutorial del <link xref=\"guitar-tuner.c\">afinador de guitarra</"
"link> si quiere aprender a usar el constructor de interfaces."
-#: C/image-viewer.c.page:66(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.c.page:66
msgid ""
"C is a rather verbose language, so don't be surprised that the file contains "
"quite a lot of code. Most of it is template code. It loads an (empty) window "
@@ -22514,7 +24237,8 @@ msgstr ""
"Carga una ventana (vacía) y se muestra. A continuación se ofrecen más "
"detalles; omita esta lista si entiende los conceptos básicos:"
-#: C/image-viewer.c.page:73(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.c.page:73
msgid ""
"The <code>create_window</code> function creates a new (empty) window and "
"connects a signal to exit the application when that window is closed."
@@ -22522,13 +24246,14 @@ msgstr ""
"La función <code>create_window</code> crea una ventana (vacía) nueva y "
"conecta una señal para salir de la aplicación cuando se cierra esa ventana."
-#: C/image-viewer.c.page:89(section/title)
-#: C/image-viewer.cpp.page:86(section/title)
-#: C/image-viewer.vala.page:138(section/title)
+#. (itstool) path: section/title
+#: C/image-viewer.c.page:89 C/image-viewer.cpp.page:86
+#: C/image-viewer.vala.page:138
msgid "Creating the user interface"
msgstr "Crear la interfaz de usuario"
-#: C/image-viewer.c.page:90(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.c.page:90
msgid ""
"Now we will bring life into the empty window. GTK organizes the user "
"interface with <code>GtkContainer</code>s that can contain other widgets and "
@@ -22540,7 +24265,8 @@ msgstr ""
"incluso otros contenedores. Aquí se usará el contenedor más sencillo "
"disponible, una <code>GtkBox</code>:"
-#: C/image-viewer.c.page:93(section/code)
+#. (itstool) path: section/code
+#: C/image-viewer.c.page:93
#, no-wrap
msgid ""
"\n"
@@ -22609,7 +24335,8 @@ msgstr ""
"\treturn window;\n"
"}\n"
-#: C/image-viewer.c.page:128(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.c.page:128
msgid ""
"The first lines create the widgets we want to use: a button for opening up "
"an image, the image view widget itself and the box we will use as a "
@@ -22623,7 +24350,8 @@ msgstr ""
"de tipos dinámicos y conversiones de tipos necesarias, ya que C no soporta "
"orientación a objetos."
-#: C/image-viewer.c.page:133(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.c.page:133
msgid ""
"The calls to <code>gtk_box_pack_start</code> add the two widgets to the box "
"and define their behaviour. The image will expand into any available space "
@@ -22640,7 +24368,8 @@ msgstr ""
"tener una distribución que se ve bien con diferentes tamaños de la ventana. "
"A continuación, se añade la caja a la ventana."
-#: C/image-viewer.c.page:139(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.c.page:139
msgid ""
"We need to define what happens when the user clicks on the button. GTK uses "
"the concept of <em>signals</em>. When the button is clicked, it fires the "
@@ -22658,7 +24387,8 @@ msgstr ""
"la imagen como un argumento adicional a la función. El <em>retorno de la "
"llamada</em> se definirá en la siguiente sección."
-#: C/image-viewer.c.page:144(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.c.page:144
msgid ""
"The last <code>g_signal_connect()</code> makes sure that the application "
"exits when the window is closed."
@@ -22666,7 +24396,8 @@ msgstr ""
"La última <code>g_signal_connect()</code> se asegura de que la aplicación "
"finaliza al cerrar la ventana."
-#: C/image-viewer.c.page:147(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.c.page:147
msgid ""
"As a last step, make sure to replace the <code>gtk_widget_show</code> call "
"in the <code>main()</code> function by <code>gtk_widget_show_all()</code> to "
@@ -22676,13 +24407,14 @@ msgstr ""
"code>, en la función <code>main()</code>, por <code>gtk_widget_show_all()</"
"code>, para mostrar todos los widgets que contiene la ventana."
-#: C/image-viewer.c.page:154(section/title)
-#: C/image-viewer.cpp.page:141(section/title)
-#: C/image-viewer.vala.page:209(section/title)
+#. (itstool) path: section/title
+#: C/image-viewer.c.page:154 C/image-viewer.cpp.page:141
+#: C/image-viewer.vala.page:209
msgid "Showing the image"
msgstr "Mostrar la imagen"
-#: C/image-viewer.c.page:155(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.c.page:155
msgid ""
"We will now define the signal handler for the <em>clicked</em> signal or the "
"button we mentioned before. Add this code before the <code>create_window()</"
@@ -22692,7 +24424,8 @@ msgstr ""
"el botón mencionado anteriormente. Añada este código antes del método "
"<code>create_window()</code>."
-#: C/image-viewer.c.page:158(section/code)
+#. (itstool) path: section/code
+#: C/image-viewer.c.page:158
#, no-wrap
msgid ""
"\n"
@@ -22761,8 +24494,9 @@ msgstr ""
"\tgtk_widget_destroy (dialog);\n"
"}\n"
-#: C/image-viewer.c.page:191(section/p) C/image-viewer.cpp.page:177(section/p)
-#: C/image-viewer.js.page:282(section/p) C/image-viewer.py.page:196(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.c.page:191 C/image-viewer.cpp.page:177
+#: C/image-viewer.js.page:282 C/image-viewer.py.page:196
msgid ""
"This is a bit more complicated than anything we've attempted so far, so "
"let's break it down:"
@@ -22770,7 +24504,8 @@ msgstr ""
"Esto es un poco más complicado que todo lo que se ha intentado hasta ahora, "
"así que se puede desglosar:"
-#: C/image-viewer.c.page:193(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.c.page:193
msgid ""
"The first argument of the signal is always the widget that sent the signal. "
"Sometimes other arguments related to the signal come after that, but "
@@ -22784,7 +24519,8 @@ msgstr ""
"<code>user_data</code>, que es un puntero a los datos que se han pasado al "
"conectar la señal. En este caso, es el objeto <code>GtkImage</code>."
-#: C/image-viewer.c.page:199(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.c.page:199
msgid ""
"The next interesting line is where the dialog for choosing the file is "
"created using <code>gtk_file_chooser_dialog_new</code>. The function takes "
@@ -22796,8 +24532,9 @@ msgstr ""
"el título del diálogo, la ventana padre del diálogo y varias opciones como "
"el número de botones y sus valores correspondientes."
-#: C/image-viewer.c.page:203(item/p) C/image-viewer.cpp.page:185(item/p)
-#: C/image-viewer.js.page:289(item/p) C/image-viewer.py.page:203(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.c.page:203 C/image-viewer.cpp.page:185
+#: C/image-viewer.js.page:289 C/image-viewer.py.page:203
msgid ""
"Notice that we are using <em>stock</em> button names from Gtk, instead of "
"manually typing \"Cancel\" or \"Open\". The advantage of using stock names "
@@ -22809,7 +24546,8 @@ msgstr ""
"nombres del almacén es que las etiquetas de los botones ya estarán "
"traducidas en el idioma del usuario."
-#: C/image-viewer.c.page:206(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.c.page:206
msgid ""
"The next two lines restrict the <gui>Open</gui> dialog to only display files "
"which can be opened by GtkImage. A filter object is created first; we then "
@@ -22824,7 +24562,8 @@ msgstr ""
"como PNG y JPEG) al filtro. Por último, se establece que este filtro sea el "
"filtro del diálogo <gui>Abrir</gui>."
-#: C/image-viewer.c.page:209(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.c.page:209
msgid ""
"<code>gtk_dialog_run</code> displays the <gui>Open</gui> dialog. The dialog "
"will wait for the user to choose an image; when they do, "
@@ -22838,7 +24577,8 @@ msgstr ""
"code> (devolvería <code>GTK_RESPONSE_CANCEL</code> si el usuario pulsara "
"<gui>Cancelar</gui>). La sentencia <code>switch</code> comprueba esto."
-#: C/image-viewer.c.page:211(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.c.page:211
msgid ""
"Assuming that the user did click <gui>Open</gui>, the next line sets the "
"<code>file</code> property of the GtkImage to the filename of the image "
@@ -22850,7 +24590,8 @@ msgstr ""
"archivo de imagen seleccionado por el usuario. La «GtkImage» cargará y "
"mostrará la imagen elegida."
-#: C/image-viewer.c.page:214(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.c.page:214
msgid ""
"In the final line of this method, we destroy the <gui>Open</gui> dialog "
"because we don't need it any more. Destroying automatically hides the dialog."
@@ -22859,7 +24600,8 @@ msgstr ""
"porque ya no se necesita más. El diálogo se oculta automáticamente al "
"destruirlo."
-#: C/image-viewer.c.page:223(section/p) C/image-viewer.cpp.page:211(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.c.page:223 C/image-viewer.cpp.page:211
msgid ""
"If you haven't already done so, choose the <file>Debug/src/image-viewer</"
"file> application in the dialog that appears. Finally, hit <gui>Run</gui> "
@@ -22869,7 +24611,8 @@ msgstr ""
"imagenes</file> en el diálogo que aparece. Finalmente, pulse <gui>Ejecutar</"
"gui> y disfrute."
-#: C/image-viewer.c.page:228(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.c.page:228
msgid ""
"If you run into problems with the tutorial, compare your code with this "
"<link href=\"image-viewer/image-viewer.c\">reference code</link>."
@@ -22877,9 +24620,10 @@ msgstr ""
"Si tiene problemas con este tutorial, compare su código con este <link href="
"\"image-viewer/image-viewer.c\">código de referencia</link>."
-#: C/image-viewer.c.page:236(item/p) C/image-viewer.cpp.page:224(item/p)
-#: C/image-viewer.js.page:324(item/p) C/image-viewer.py.page:238(item/p)
-#: C/image-viewer.vala.page:297(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.c.page:236 C/image-viewer.cpp.page:224
+#: C/image-viewer.js.page:324 C/image-viewer.py.page:238
+#: C/image-viewer.vala.page:297
msgid ""
"Have the user select a directory rather than a file, and provide controls to "
"cycle through all of the images in a directory."
@@ -22887,9 +24631,10 @@ msgstr ""
"Haga que el usuario selecciona una carpeta en vez de un archivo, y "
"proporcione controles para moverse por todas las imágenes de una carpeta."
-#: C/image-viewer.c.page:239(item/p) C/image-viewer.cpp.page:227(item/p)
-#: C/image-viewer.js.page:327(item/p) C/image-viewer.py.page:241(item/p)
-#: C/image-viewer.vala.page:300(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.c.page:239 C/image-viewer.cpp.page:227
+#: C/image-viewer.js.page:327 C/image-viewer.py.page:241
+#: C/image-viewer.vala.page:300
msgid ""
"Apply random filters and effects to the image when it is loaded and allow "
"the user to save the modified image."
@@ -22897,9 +24642,10 @@ msgstr ""
"Aplicar filtros aleatorios y efectos a la imagen cuando se carga y permitir "
"al usuario guardar la imagen modificada."
-#: C/image-viewer.c.page:240(item/p) C/image-viewer.cpp.page:228(item/p)
-#: C/image-viewer.js.page:328(item/p) C/image-viewer.py.page:242(item/p)
-#: C/image-viewer.vala.page:301(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.c.page:240 C/image-viewer.cpp.page:228
+#: C/image-viewer.js.page:328 C/image-viewer.py.page:242
+#: C/image-viewer.vala.page:301
msgid ""
"<link href=\"http://www.gegl.org/api.html\">GEGL</link> provides powerful "
"image manipulation capabilities."
@@ -22907,9 +24653,10 @@ msgstr ""
"<link href=\"http://www.gegl.org/api.html\">GEGL</link> proporciona la "
"capacidad de manipular imágenes de manera potente."
-#: C/image-viewer.c.page:243(item/p) C/image-viewer.cpp.page:231(item/p)
-#: C/image-viewer.js.page:331(item/p) C/image-viewer.py.page:245(item/p)
-#: C/image-viewer.vala.page:304(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.c.page:243 C/image-viewer.cpp.page:231
+#: C/image-viewer.js.page:331 C/image-viewer.py.page:245
+#: C/image-viewer.vala.page:304
msgid ""
"Allow the user to load images from network shares, scanners, and other more "
"complicated sources."
@@ -22917,9 +24664,10 @@ msgstr ""
"Permitir al usuario cargar imágenes desde recursos de red compartidos, "
"escáneres y otras fuentes más complicadas."
-#: C/image-viewer.c.page:244(item/p) C/image-viewer.cpp.page:232(item/p)
-#: C/image-viewer.js.page:332(item/p) C/image-viewer.py.page:246(item/p)
-#: C/image-viewer.vala.page:305(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.c.page:244 C/image-viewer.cpp.page:232
+#: C/image-viewer.js.page:332 C/image-viewer.py.page:246
+#: C/image-viewer.vala.page:305
msgid ""
"You can use <link href=\"http://library.gnome.org/devel/gio/unstable/\">GIO</"
"link> to handle network file tranfers and the like, and <link href=\"http://"
@@ -22931,19 +24679,23 @@ msgstr ""
"href=\"http://library.gnome.org/devel/gnome-scan/unstable/\">GNOME Scan</"
"link> para gestionar el escaneado."
-#: C/image-viewer.cpp.page:8(info/desc)
+#. (itstool) path: info/desc
+#: C/image-viewer.cpp.page:8
msgid "A little bit more than a simple \"Hello world\" GTKmm application."
msgstr "Algo más que una sencilla aplicación «Hola mundo» en GTKmm."
-#: C/image-viewer.cpp.page:31(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.cpp.page:31
msgid "Some basic concepts of C++/GObject programming"
msgstr "Algunos conceptos básicos de programación en C++/GObject"
-#: C/image-viewer.cpp.page:32(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.cpp.page:32
msgid "How to write a Gtk application in C++"
msgstr "Cómo escribir una aplicación GTK en C++"
-#: C/image-viewer.cpp.page:46(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.cpp.page:46
msgid ""
"Choose <gui>GTKmm (Simple)</gui> from the <gui>C++</gui> tab, click "
"<gui>Forward</gui>, and fill out your details on the next few pages. Use "
@@ -22953,7 +24705,8 @@ msgstr ""
"<gui>Adelante</gui> y rellene los detalles en las siguientes páginas. Use "
"<file>visor-imagenes</file> como nombre de proyecto y de carpeta."
-#: C/image-viewer.cpp.page:49(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.cpp.page:49
msgid ""
"Make sure that <gui>Use GtkBuilder for user interface</gui> is disabled as "
"we will create the UI manually in this tutorial. Check the <link xref="
@@ -22965,7 +24718,8 @@ msgstr ""
"Revise el tutorial del <link xref=\"guitar-tuner.cpp\">afinador de guitarra</"
"link> si quiere aprender a usar el constructor de interfaces."
-#: C/image-viewer.cpp.page:54(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.cpp.page:54
msgid ""
"Click <gui>Apply</gui> and the project will be created for you. Open "
"<file>src/main.cc</file> from the <gui>Project</gui> or <gui>File</gui> "
@@ -22975,7 +24729,8 @@ msgstr ""
"file> desde las pestañas <gui>Proyecto</gui> o <gui>Archivo</gui>. Debería "
"ver algo de código que comience con las líneas:"
-#: C/image-viewer.cpp.page:55(item/code)
+#. (itstool) path: item/code
+#: C/image-viewer.cpp.page:55
#, no-wrap
msgid ""
"\n"
@@ -22990,7 +24745,8 @@ msgstr ""
"\n"
"#include \"config.h\">"
-#: C/image-viewer.cpp.page:69(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.cpp.page:69
msgid ""
"The three <code>#include</code> lines at the top include the <code>config</"
"code> (useful autoconf build defines), <code>gtkmm</code> (user interface) "
@@ -23002,7 +24758,8 @@ msgstr ""
"autoconf), <code>gtkmm</code> (interfaz de usuario) <code>iostream</code> (C+"
"+-STL). Las funciones de estas bibliotecas se usan en el resto del código."
-#: C/image-viewer.cpp.page:72(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.cpp.page:72
msgid ""
"The <code>main</code> function creates a new (empty) window and sets the "
"window title."
@@ -23010,7 +24767,8 @@ msgstr ""
"La función <code>main</code> crea una ventana (vacía) nueva y establece el "
"título de la ventana."
-#: C/image-viewer.cpp.page:75(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.cpp.page:75
msgid ""
"The <code>kit::run()</code> call starts the GTKmm main loop, which runs the "
"user interface and starts listening for events (like clicks and key "
@@ -23023,7 +24781,8 @@ msgstr ""
"argumento a esta función, la aplicación se cerrará automáticamente cuando se "
"cierre la ventana."
-#: C/image-viewer.cpp.page:87(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.cpp.page:87
msgid ""
"Now we will bring life into the empty window. GTKmm organizes the user "
"interface with <code>Gtk::Container</code>s that can contain other widgets "
@@ -23035,7 +24794,8 @@ msgstr ""
"incluso otros contenedores. Aquí se usará el contenedor más sencillo "
"disponible, una <code>Gtk::Box</code>:"
-#: C/image-viewer.cpp.page:90(section/code)
+#. (itstool) path: section/code
+#: C/image-viewer.cpp.page:90
#, no-wrap
msgid ""
"\n"
@@ -23094,7 +24854,8 @@ msgstr ""
"\treturn 0;\n"
"}\n"
-#: C/image-viewer.cpp.page:120(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.cpp.page:120
msgid ""
"The first lines create the widgets we want to use: a button for opening up "
"an image, the image view widget itself and the box we will use as a "
@@ -23104,7 +24865,8 @@ msgstr ""
"una imagen, el widget del visor de imágenes en sí y la caja que se usará "
"como contenedor."
-#: C/image-viewer.cpp.page:123(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.cpp.page:123
msgid ""
"The calls to <code>pack_start</code> add the two widgets to the box and "
"define their behaviour. The image will expand into any available space while "
@@ -23121,7 +24883,8 @@ msgstr ""
"tener una distribución que se ve bien con diferentes tamaños de la ventana. "
"A continuación, se añade la caja a la ventana."
-#: C/image-viewer.cpp.page:129(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.cpp.page:129
msgid ""
"We need to define what happens when the user clicks on the button. GTKmm "
"uses the concept of <em>signals</em>. When the button is clicked, it fires "
@@ -23138,7 +24901,8 @@ msgstr ""
"que pase la imagen como un argumento adicional a la función. El <em>retorno "
"de la llamada</em> se definirá en la siguiente sección."
-#: C/image-viewer.cpp.page:133(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.cpp.page:133
msgid ""
"The last step is to show all widgets in the window using "
"<code>show_all_children()</code>. This is equivalent to using the <code>show"
@@ -23148,7 +24912,8 @@ msgstr ""
"<code>show_all_children()</code>. Esto es equivalente a usar el método "
"<code>show()</code> en cada uno de los widgets."
-#: C/image-viewer.cpp.page:142(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.cpp.page:142
msgid ""
"We will now define the signal handler for the <em>clicked</em> signal or the "
"button we mentioned before. Add this code before the <code>main</code> "
@@ -23158,7 +24923,8 @@ msgstr ""
"mencionado anteriormente. Añada este código antes del método <code>main</"
"code>."
-#: C/image-viewer.cpp.page:145(section/code)
+#. (itstool) path: section/code
+#: C/image-viewer.cpp.page:145
#, no-wrap
msgid ""
"\n"
@@ -23225,7 +24991,8 @@ msgstr ""
"\t}\n"
"}\n"
-#: C/image-viewer.cpp.page:180(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.cpp.page:180
msgid ""
"The dialog for choosing the file is created using the <code>Gtk::"
"FileChooserDialog</code> constructor. This takes the title and type of the "
@@ -23235,7 +25002,8 @@ msgstr ""
"<code>Gtk::FileChooserDialog</code>. La función toma el título y el tipo del "
"diálogo. En este caso, es un diálogo de tipo <em>Open</em>."
-#: C/image-viewer.cpp.page:184(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.cpp.page:184
msgid ""
"The next two lines add an <em>Open</em> and a <em>Close</em> button to the "
"dialog."
@@ -23243,7 +25011,8 @@ msgstr ""
"Las siguientes dos líneas añaden un botón <em>Abrir</em> y <em>Cerrar</em> "
"en el diálogo."
-#: C/image-viewer.cpp.page:186(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.cpp.page:186
msgid ""
"The second argument to the <code>add_button()</code> method is a value to "
"identify the clicked button. We use predefined values provided by GTKmm "
@@ -23253,7 +25022,8 @@ msgstr ""
"identificar el botón pulsado. Aquí también se usan valores predefinidos "
"proporcionados por GTKmm."
-#: C/image-viewer.cpp.page:191(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.cpp.page:191
msgid ""
"The next two lines restrict the <gui>Open</gui> dialog to only display files "
"which can be opened by <code>Gtk::Image</code>. A filter object is created "
@@ -23268,7 +25038,8 @@ msgstr ""
"formatos de imagen como PNG y JPEG) al filtro. Por último, se establece que "
"este filtro sea el filtro del diálogo <gui>Abrir</gui>."
-#: C/image-viewer.cpp.page:192(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.cpp.page:192
msgid ""
"<code>Glib::RefPtr</code> is a smart pointer used here, that makes sure that "
"the filter is destroyed when there is no reference to it anymore."
@@ -23277,7 +25048,8 @@ msgstr ""
"asegura de que el filtro se destruye cuando ya no se hace ninguna referencia "
"a él."
-#: C/image-viewer.cpp.page:196(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.cpp.page:196
msgid ""
"<code>dialog.run</code> displays the <gui>Open</gui> dialog. The dialog will "
"wait for the user to choose an image; when they do, <code>dialog.run</code> "
@@ -23291,7 +25063,8 @@ msgstr ""
"(devolvería <code>Gtk::RESPONSE_CANCEL</code> si el usuario pulsara "
"<gui>Cancel</gui>). La sentencia <code>switch</code> comprueba esto."
-#: C/image-viewer.cpp.page:199(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.cpp.page:199
msgid ""
"We hide the <gui>Open</gui> dialog because we don't need it any more. The "
"dialog would be hidden later anyway, as it is only a local variable and is "
@@ -23301,7 +25074,8 @@ msgstr ""
"diálogo se ocultará de todos modos, ya que sólo es una variable local, y se "
"destruye (y por lo tanto se oculta) cuando el ámbito termina."
-#: C/image-viewer.cpp.page:202(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.cpp.page:202
msgid ""
"Assuming that the user did click <gui>Open</gui>, the next line loads the "
"file into the <code>Gtk::Image</code> so that it is displayed."
@@ -23309,7 +25083,8 @@ msgstr ""
"Asumiendo que el usuario pulsó <gui>Abrir</gui>, la siguiente línea carga el "
"archivo en la <code>Gtk::Image</code>, por lo que se muestra."
-#: C/image-viewer.cpp.page:216(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.cpp.page:216
msgid ""
"If you run into problems with the tutorial, compare your code with this "
"<link href=\"image-viewer/image-viewer.cc\">reference code</link>."
@@ -23317,12 +25092,14 @@ msgstr ""
"Si tiene problemas con este tutorial, compare su código con este <link href="
"\"image-viewer/image-viewer.cc\">código de referencia</link>."
-#: C/image-viewer.js.page:7(info/title)
+#. (itstool) path: info/title
+#: C/image-viewer.js.page:7
msgctxt "text"
msgid "Image viewer (JavaScript)"
msgstr "Visor de imágenes (JavaScript)"
-#: C/image-viewer.js.page:10(info/desc)
+#. (itstool) path: info/desc
+#: C/image-viewer.js.page:10
msgid ""
"A little bit more than a simple \"Hello world\" application - write an image "
"viewer in GTK+. Includes an introduction to the JavaScript language."
@@ -23330,12 +25107,13 @@ msgstr ""
"Algo más que una sencilla aplicación «Hola mundo»; escriba un visor de "
"imágenes en GTK+. Incluye una introducción al lenguaje JavaScript."
-#: C/image-viewer.js.page:14(credit/name)
-#: C/image-viewer.py.page:14(credit/name)
+#. (itstool) path: credit/name
+#: C/image-viewer.js.page:14 C/image-viewer.py.page:14
msgid "Jonh Wendell"
msgstr "Jonh Wendell"
-#: C/image-viewer.js.page:31(synopsis/p) C/image-viewer.py.page:31(synopsis/p)
+#. (itstool) path: synopsis/p
+#: C/image-viewer.js.page:31 C/image-viewer.py.page:31
msgid ""
"In this tutorial, we're going to write a very simple GTK application that "
"loads and displays an image file. You will learn how to:"
@@ -23343,32 +25121,39 @@ msgstr ""
"En este tutorial se va a escribir una aplicación GTK+ muy sencilla que carga "
"un archivo e imagen y lo muestra. Aprenderá a:"
-#: C/image-viewer.js.page:33(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.js.page:33
msgid "Write a basic GTK user interface in JavaScript"
msgstr "Escribir una interfaz GTK+ de usuario básica usando JavaScript"
-#: C/image-viewer.js.page:34(item/p) C/image-viewer.py.page:34(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.js.page:34 C/image-viewer.py.page:34
msgid "Deal with events by connecting signals to signal handlers"
msgstr "Trabajar con eventos conectando señales a manejadores de señales"
-#: C/image-viewer.js.page:35(item/p) C/image-viewer.py.page:35(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.js.page:35 C/image-viewer.py.page:35
msgid "Lay out GTK user interfaces using containers"
msgstr "La disposición de las interfaces de usuario usando contenedores"
-#: C/image-viewer.js.page:36(item/p) C/image-viewer.py.page:36(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.js.page:36 C/image-viewer.py.page:36
msgid "Load and display image files"
msgstr "Cargar y mostrar archivos de imagen"
-#: C/image-viewer.js.page:41(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.js.page:41
msgid "An installed copy of the <em>gjs</em> interpreter"
msgstr "Una copia instalada del intérprete <em>gjs</em>"
-#: C/image-viewer.js.page:42(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.js.page:42
msgid "Basic knowledge of any object-orientated programming language"
msgstr ""
"Conocimiento básico de cualquier lenguaje de programación orientado a objetos"
-#: C/image-viewer.js.page:56(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.js.page:56
msgid ""
"Choose <gui>Generic Javascript</gui> from the <gui>JS</gui> tab, click "
"<gui>Forward</gui>, and fill out your details on the next few pages. Use "
@@ -23378,7 +25163,8 @@ msgstr ""
"<gui>Adelante</gui> y rellene los detalles en las siguientes páginas. Use "
"<file>visor-imágenes</file> como nombre de proyecto y de carpeta."
-#: C/image-viewer.js.page:59(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.js.page:59
msgid ""
"Click <gui>Apply</gui> and the project will be created for you. Open "
"<file>src/main.js</file> from the <gui>Project</gui> or <gui>File</gui> "
@@ -23388,11 +25174,13 @@ msgstr ""
"file> desde las pestañas <gui>Proyecto</gui> o <gui>Archivo</gui>. Contiene "
"un ejemplo de código muy básico:"
-#: C/image-viewer.js.page:66(section/title)
+#. (itstool) path: section/title
+#: C/image-viewer.js.page:66
msgid "JavaScript basics: Hello World"
msgstr "JavaScript básico: hola mundo"
-#: C/image-viewer.js.page:67(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.js.page:67
msgid ""
"Before we start writing the image viewer, let's find out more about the way "
"JavaScript is used in GNOME. Of course, your very first contact with any "
@@ -23404,12 +25192,14 @@ msgstr ""
"lenguaje de programación debe ser el programa «Hola mundo», que se puede "
"encontrar en el archivo <file>main.js</file>:"
-#: C/image-viewer.js.page:68(section/code)
+#. (itstool) path: section/code
+#: C/image-viewer.js.page:68
#, no-wrap
msgid "print (\"Hello world!\");"
msgstr "print (\"¡Hola mundo!\");"
-#: C/image-viewer.js.page:69(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.js.page:69
msgid ""
"This should look quite natural if you're familiar with almost any other "
"programming language. The function <code>print</code> is called with the "
@@ -23421,15 +25211,18 @@ msgstr ""
"con el argumento <code>\"¡Hola mundo!\"</code>, que se mostrará en la "
"pantalla. Tenga en cuenta que cada línea de código termina en «;»."
-#: C/image-viewer.js.page:73(section/title)
+#. (itstool) path: section/title
+#: C/image-viewer.js.page:73
msgid "Classes in JavaScript"
msgstr "Clases en JavaScript"
-#: C/image-viewer.js.page:74(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.js.page:74
msgid "This is the standard way to define a class in JavaScript:"
msgstr "Esta es la manera estándar de definir una clase en JavaScript:"
-#: C/image-viewer.js.page:75(section/code)
+#. (itstool) path: section/code
+#: C/image-viewer.js.page:75
#, no-wrap
msgid ""
"\n"
@@ -23478,7 +25271,8 @@ msgstr ""
"\n"
"}"
-#: C/image-viewer.js.page:97(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.js.page:97
msgid ""
"This defines a class called <code>MyClass</code>. Let's go through each part "
"of the class definition:"
@@ -23486,7 +25280,8 @@ msgstr ""
"Esto define una clase llamada <code>MyClass</code>. Vea cada una de las "
"partes de la definición de la clase:"
-#: C/image-viewer.js.page:100(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.js.page:100
msgid ""
"<code>function MyClass</code> is the constructor of the class — its name "
"must match the class's name. You can access any member of the class by using "
@@ -23498,7 +25293,8 @@ msgstr ""
"usando el objeto <code>this</code>; aquí, el constructor llama al método "
"<code>_init</code> de la clase."
-#: C/image-viewer.js.page:103(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.js.page:103
msgid ""
"The <code>MyClass.prototype</code> block is where you define the "
"<em>structure</em> of the class. Each class is made up of methods "
@@ -23509,7 +25305,8 @@ msgstr ""
"em> de la clase. Cada clase se compone de métodos (funciones) y campos "
"(variables); en este ejemplo, hay tres métodos y dos campos."
-#: C/image-viewer.js.page:106(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.js.page:106
msgid ""
"The first method defined here is called <code>_init</code>, and we specify "
"that it is a function with no arguments:"
@@ -23517,12 +25314,14 @@ msgstr ""
"El primer método definido se llama <code>_init</code>, y se especifica que "
"es una función sin argumentos:"
-#: C/image-viewer.js.page:107(item/code)
+#. (itstool) path: item/code
+#: C/image-viewer.js.page:107
#, no-wrap
msgid "_init: function ()"
msgstr "_init: function ()"
-#: C/image-viewer.js.page:108(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.js.page:108
msgid ""
"We write the function inside some curly braces. Two fields are defined here, "
"<code>propertyA</code> and <code>propertyB</code>. The first is set to a "
@@ -23534,7 +25333,8 @@ msgstr ""
"como una cadena, y la segunda se establece como un entero (10). La función "
"no retorna ningún valor."
-#: C/image-viewer.js.page:111(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.js.page:111
msgid ""
"The next method is called <code>aMethod</code> and has two arguments, which "
"it prints out when you call it. The final method is <code>dumpProperties</"
@@ -23545,7 +25345,8 @@ msgstr ""
"imprime cuando se invoca. El último método es <code>dumpProperties</code>, "
"que imprime los campos <code>propertyA</code> y <code>propertyB</code>."
-#: C/image-viewer.js.page:114(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.js.page:114
msgid ""
"Note how the class definition (prototype) is arranged; each function "
"definition is separated by a comma."
@@ -23553,11 +25354,13 @@ msgstr ""
"Tenga en cuenta cómo se ordena la definición de la clase (prototipo); cada "
"definición de función se separa con una coma."
-#: C/image-viewer.js.page:118(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.js.page:118
msgid "Now that MyClass has been defined, we can play with it:"
msgstr "Ahora que «MyClass» se ha definido, se puede jugar con ella:"
-#: C/image-viewer.js.page:119(section/code)
+#. (itstool) path: section/code
+#: C/image-viewer.js.page:119
#, no-wrap
msgid ""
"\n"
@@ -23572,7 +25375,8 @@ msgstr ""
"o.propertyA = \"Just changed its value!\";\n"
"o.dumpProperties ();"
-#: C/image-viewer.js.page:124(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.js.page:124
msgid ""
"This code creates a new instance of the class called <code>o</code>, runs "
"<code>aMethod</code>, changes <code>propertyA</code> to a different string, "
@@ -23583,7 +25387,8 @@ msgstr ""
"diferente y entonces llama a <code>dumpProperties</code> (que muestra los "
"campos)."
-#: C/image-viewer.js.page:125(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.js.page:125
msgid ""
"Save the code in the <file>main.js</file> and then run it by using "
"<guiseq><gui>Run</gui><gui>Execute</gui></guiseq> from the menu or using the "
@@ -23593,16 +25398,18 @@ msgstr ""
"<guiseq><gui>Ejecutar</gui><gui>Ejecutar</gui></guiseq> desde el menú o "
"usando la barra de herramientas."
-#: C/image-viewer.js.page:130(section/title)
-#: C/image-viewer.py.page:69(section/title)
+#. (itstool) path: section/title
+#: C/image-viewer.js.page:130 C/image-viewer.py.page:69
msgid "A first Gtk application"
msgstr "Una primera aplicación en GTK"
-#: C/image-viewer.js.page:131(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.js.page:131
msgid "Let's see what a very basic Gtk application looks like in JavaScript:"
msgstr "Vea como queda una aplicación GTK+ muy básica en JavaScript:"
-#: C/image-viewer.js.page:132(section/code)
+#. (itstool) path: section/code
+#: C/image-viewer.js.page:132
#, no-wrap
msgid ""
"\n"
@@ -23625,11 +25432,13 @@ msgstr ""
"\n"
"Gtk.main ();"
-#: C/image-viewer.js.page:141(section/p) C/image-viewer.py.page:94(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.js.page:141 C/image-viewer.py.page:94
msgid "Let's take a look at what's happening:"
msgstr "Eche un vistazo a lo que está pasando:"
-#: C/image-viewer.js.page:144(item/p) C/image-viewer.py.page:97(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.js.page:144 C/image-viewer.py.page:97
msgid ""
"The first line imports the Gtk namespace (that is, it includes the Gtk "
"library). The libraries are provided by GObject Introspection (gi), which "
@@ -23640,7 +25449,8 @@ msgstr ""
"(gi)», que implementa asociaciones de lenguajes para la mayoría de las "
"bilbiotecas de GNOME."
-#: C/image-viewer.js.page:147(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.js.page:147
msgid ""
"<code>Gtk.init</code> initializes the Gtk library; this statement is "
"mandatory for all Gtk programs."
@@ -23648,7 +25458,8 @@ msgstr ""
"<code>Gtk.init</code> inicializa la biblioteca GTK; esta sentencia es "
"obligatoria para todos los programas GTK."
-#: C/image-viewer.js.page:150(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.js.page:150
msgid ""
"The next line creates the main window by creating a new <code>Gtk.Window</"
"code> object. You can pass several properties to the window's constructor by "
@@ -23660,7 +25471,8 @@ msgstr ""
"usando la sintaxis <code>{property: value, property: value, ...}</code>. En "
"este caso, se está estableciendo el título de la ventana."
-#: C/image-viewer.js.page:151(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.js.page:151
msgid ""
"The next line explicitly shows the window. In Gtk, every widget is hidden by "
"default."
@@ -23668,7 +25480,8 @@ msgstr ""
"La siguiente línea muestra explícitamente la ventana. En GTK+, cada widget "
"está oculto de manera predeterminada."
-#: C/image-viewer.js.page:152(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.js.page:152
msgid ""
"Finally, <code>Gtk.main</code> runs the main loop — in other words, it "
"executes the program. The main loop listens for events (signals) from the "
@@ -23680,7 +25493,8 @@ msgstr ""
"(señales) de la interfaz del usuario y llama a un manejador de la señal que "
"hará algo útil. En breve aprenderá más cosas sobre las señales."
-#: C/image-viewer.js.page:155(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.js.page:155
msgid ""
"Save the code in <file>main.js</file> and run it. You will notice that the "
"application does not quit when you close the window. This is because we "
@@ -23696,11 +25510,13 @@ msgstr ""
"puede pulsar <keyseq><key>Ctrl</key><key>C</key></keyseq> en la ventana de "
"la terminal para salir del programa."
-#: C/image-viewer.js.page:160(section/title)
+#. (itstool) path: section/title
+#: C/image-viewer.js.page:160
msgid "Adding classes"
msgstr "Añadir clases"
-#: C/image-viewer.js.page:161(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.js.page:161
msgid ""
"The proper way of doing Gtk programming is by using classes. Let's rewrite "
"the simple code you just wrote using classes:"
@@ -23708,8 +25524,27 @@ msgstr ""
"La manera correcta de programar en GTK+ es usando clases. Reescriba el "
"código que acaba de escribir usando clases:"
-#: C/image-viewer.js.page:162(section/code)
+#. (itstool) path: section/code
+#: C/image-viewer.js.page:162
#, no-wrap
+#| msgid ""
+#| "\n"
+#| "const Gtk = imports.gi.Gtk;\n"
+#| "\n"
+#| "function ImageViewer () {\n"
+#| " this._init ();\n"
+#| "}\n"
+#| "\n"
+#| "ImageViewer.prototype = {\n"
+#| " _init: function () {\n"
+#| " this.window = new Gtk.Window ({title: \"Image Viewer Demo\"});\n"
+#| " this.window.show ();\n"
+#| " }\n"
+#| "}\n"
+#| "\n"
+#| "Gtk.init (0, null);\n"
+#| "var iv = new ImageViewer ();\n"
+#| "Gtk.main ();"
msgid ""
"\n"
"const Gtk = imports.gi.Gtk;\n"
@@ -23725,7 +25560,7 @@ msgid ""
" }\n"
"}\n"
"\n"
-"Gtk.init (0, null);\n"
+"Gtk.init (null, null);\n"
"var iv = new ImageViewer ();\n"
"Gtk.main ();"
msgstr ""
@@ -23743,11 +25578,12 @@ msgstr ""
" }\n"
"}\n"
"\n"
-"Gtk.init (0, null);\n"
+"Gtk.init (null, null);\n"
"var iv = new ImageViewer ();\n"
"Gtk.main ();"
-#: C/image-viewer.js.page:180(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.js.page:180
msgid ""
"Notice that the program is the same; we just moved the window creation code "
"to our own <code>ImageViewer</code> class. The class's constructor calls the "
@@ -23761,7 +25597,8 @@ msgstr ""
"muestra la ventana. Se crea entonces una instancia de la clase antes de "
"ejecutar el bucle principal (<code>Gtk.main</code>)."
-#: C/image-viewer.js.page:181(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.js.page:181
msgid ""
"This code is modular and can be split into multiple files easily. This makes "
"it cleaner and easier to read."
@@ -23769,12 +25606,13 @@ msgstr ""
"El código es modular y se puede dividir el varios archivos fácilmente. Esto "
"hace que sea más limpio y fácil de leer."
-#: C/image-viewer.js.page:185(section/title)
-#: C/image-viewer.py.page:118(section/title)
+#. (itstool) path: section/title
+#: C/image-viewer.js.page:185 C/image-viewer.py.page:118
msgid "Signals"
msgstr "Señales"
-#: C/image-viewer.js.page:186(section/p) C/image-viewer.py.page:119(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.js.page:186 C/image-viewer.py.page:119
msgid ""
"Signals are one of the key concepts in Gtk programming. Whenever something "
"happens to an object, it emits a signal; for example, when a button is "
@@ -23788,7 +25626,8 @@ msgstr ""
"cuando ocurre ese evento, debe conectar una función (un «manejador de la "
"señal») a esa señal. Aquí hay un ejemplo:"
-#: C/image-viewer.js.page:187(section/code)
+#. (itstool) path: section/code
+#: C/image-viewer.js.page:187
#, no-wrap
msgid ""
"\n"
@@ -23805,7 +25644,8 @@ msgstr ""
"var b = new Gtk.Button ({label:\"Click me\"});\n"
"b.connect (\"clicked\", button_clicked);"
-#: C/image-viewer.js.page:193(section/p) C/image-viewer.py.page:126(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.js.page:193 C/image-viewer.py.page:126
msgid ""
"The last two lines create a <code>Gtk.Button</code> called <code>b</code> "
"and connect its <code>clicked</code> signal to the <code>button_clicked</"
@@ -23819,11 +25659,13 @@ msgstr ""
"se pulsa un botón, se ejecuta el código de la función <code>button_clicked</"
"code>. Esto sólo imprime un mensaje aquí."
-#: C/image-viewer.js.page:194(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.js.page:194
msgid "The syntax for connecting any signal to a function is:"
msgstr "La sintaxis para conectar cualquier señal a una función es:"
-#: C/image-viewer.js.page:195(section/code)
+#. (itstool) path: section/code
+#: C/image-viewer.js.page:195
#, no-wrap
msgid ""
"\n"
@@ -23832,7 +25674,8 @@ msgstr ""
"\n"
"object.connect (<signal_name>, <function_to_be_called>);"
-#: C/image-viewer.js.page:197(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.js.page:197
msgid ""
"You can find signal definitions for any object in the <link href=\"https://"
"developer.gnome.org/gtk3/stable/gtkobjects.html\">GTK class reference</link>."
@@ -23841,12 +25684,14 @@ msgstr ""
"href=\"https://developer.gnome.org/gtk3/stable/gtkobjects.html\">referencia "
"de clases de GTK+</link>."
-#: C/image-viewer.js.page:200(note/p)
+#. (itstool) path: note/p
+#: C/image-viewer.js.page:200
msgid ""
"You can simplify the code by making use of an inline function definition:"
msgstr "Puede simplificar el código usando una definición de función en línea:"
-#: C/image-viewer.js.page:201(note/code)
+#. (itstool) path: note/code
+#: C/image-viewer.js.page:201
#, no-wrap
msgid ""
"\n"
@@ -23855,11 +25700,13 @@ msgstr ""
"\n"
"b.connect (\"clicked\", function () { print (\"you clicked me!\"); });"
-#: C/image-viewer.js.page:208(section/title)
+#. (itstool) path: section/title
+#: C/image-viewer.js.page:208
msgid "Closing the window"
msgstr "Cerrar la ventana"
-#: C/image-viewer.js.page:209(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.js.page:209
msgid ""
"When you close a Gtk window it's not really closed, it's hidden. This allows "
"you to keep the window around (which is useful if you want to ask the user "
@@ -23869,7 +25716,8 @@ msgstr ""
"permite mantener la ventana (lo que es útil si quiere preguntar al usuario "
"si realmente quiere cerrar la ventana, por ejemplo)."
-#: C/image-viewer.js.page:210(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.js.page:210
msgid ""
"In our case, we really do just want to close the window. The simplest way of "
"doing this is by connecting the <code>hide</code> signal of the GtkWindow "
@@ -23883,12 +25731,14 @@ msgstr ""
"<file>image-viewer.js</file> y añada el siguiente código al método "
"<code>_init</code>, en la línea anterior a <code>this.window.show</code>:"
-#: C/image-viewer.js.page:211(section/code)
+#. (itstool) path: section/code
+#: C/image-viewer.js.page:211
#, no-wrap
msgid "this.window.connect (\"hide\", Gtk.main_quit);"
msgstr "this.window.connect (\"hide\", Gtk.main_quit);"
-#: C/image-viewer.js.page:212(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.js.page:212
msgid ""
"This connects the <code>hide</code> signal of the window to Gtk's "
"<code>main_quit</code> function, which ends the execution of the Gtk main "
@@ -23904,12 +25754,13 @@ msgstr ""
"haya después de la línea <code>Gtk.main ();</code>, pero como no hay ningún "
"código después de ese punto, el programa simplemente termina."
-#: C/image-viewer.js.page:216(section/title)
-#: C/image-viewer.py.page:130(section/title)
+#. (itstool) path: section/title
+#: C/image-viewer.js.page:216 C/image-viewer.py.page:130
msgid "Containers: Laying-out the user interface"
msgstr "Contenedores: diseñar la interfaz de usuario"
-#: C/image-viewer.js.page:217(section/p) C/image-viewer.py.page:131(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.js.page:217 C/image-viewer.py.page:131
msgid ""
"Widgets (controls, such as buttons and labels) can be arranged in the window "
"by making use of <em>containers</em>. You can organize the layout by mixing "
@@ -23919,7 +25770,8 @@ msgstr ""
"ventana usando <em>contenedores</em>. Puede organizar el diseño mezclando "
"diferentes tipos de contenedores, como cajas y rejillas."
-#: C/image-viewer.js.page:218(section/p) C/image-viewer.py.page:132(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.js.page:218 C/image-viewer.py.page:132
msgid ""
"A <code>Gtk.Window</code> is itself a type of container, but you can only "
"put one widget directly into it. We would like to have two widgets, an image "
@@ -23941,7 +25793,8 @@ msgstr ""
"widgets, organizados horizontal o verticalmente. Se pueden hacer diseños más "
"complejos poniendo varias cajas dentro de otras, y así sucesivamente."
-#: C/image-viewer.js.page:220(note/p) C/image-viewer.py.page:134(note/p)
+#. (itstool) path: note/p
+#: C/image-viewer.js.page:220 C/image-viewer.py.page:134
msgid ""
"There is a graphical user interface designer called <app>Glade</app> "
"integrated in <app>Anjuta</app> which makes UI design really easy. For this "
@@ -23951,7 +25804,8 @@ msgstr ""
"en <app>Anjuta</app> que hace que el diseño de IU sea realmente fácil. Sin "
"embargo, para este ejemplo, se va a codificar todo manualmente."
-#: C/image-viewer.js.page:222(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.js.page:222
msgid ""
"Let's add the box and widgets to the window. Insert the following code into "
"the <code>_init</code> method, immediately above the <code>this.window.show</"
@@ -23961,7 +25815,8 @@ msgstr ""
"método <code>_init</code>, justo debajo de la línea <code>this.window.show</"
"code>:"
-#: C/image-viewer.js.page:223(section/code)
+#. (itstool) path: section/code
+#: C/image-viewer.js.page:223
#, no-wrap
msgid ""
"\n"
@@ -23972,7 +25827,8 @@ msgstr ""
"var main_box = new Gtk.Box ({orientation: Gtk.Orientation.VERTICAL, spacing: 0});\n"
"this.window.add (main_box);"
-#: C/image-viewer.js.page:226(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.js.page:226
msgid ""
"The first line creates a <code>Gtk.Box</code> called <code>main_box</code> "
"and sets two of its properties: the <code>orientation</code> is set to "
@@ -23986,7 +25842,8 @@ msgstr ""
"<code>spacing</code> entre los widgets, que se establece a 0 píxeles. La "
"siguiente línea añade la <code>Gtk.Box</code> recién creada a la ventana."
-#: C/image-viewer.js.page:227(section/p) C/image-viewer.py.page:145(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.js.page:227 C/image-viewer.py.page:145
msgid ""
"So far the window only contains an empty <code>Gtk.Box</code>, and if you "
"run the program now you will see no changes at all (the <code>Gtk.Box</code> "
@@ -23996,12 +25853,13 @@ msgstr ""
"ejecuta el programa ahora no verá ningún cambio (la <code>Gtk.Box</code> es "
"un contenedor transparente, por lo que no puede que está ahí)."
-#: C/image-viewer.js.page:231(section/title)
-#: C/image-viewer.py.page:149(section/title)
+#. (itstool) path: section/title
+#: C/image-viewer.js.page:231 C/image-viewer.py.page:149
msgid "Packing: Adding widgets to the container"
msgstr "Empaquetado: añadir widgets al contenedor"
-#: C/image-viewer.js.page:232(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.js.page:232
msgid ""
"To add some widgets to the <code>Gtk.Box</code>, insert the following code "
"directly below the <code>this.window.add (main_box)</code> line:"
@@ -24009,7 +25867,8 @@ msgstr ""
"Para añadir algunos widgets a la <code>Gtk.Box</code>, inserte el siguiente "
"código justo debajo de la línea <code>this.window.add (main_box)</code>:"
-#: C/image-viewer.js.page:233(section/code)
+#. (itstool) path: section/code
+#: C/image-viewer.js.page:233
#, no-wrap
msgid ""
"\n"
@@ -24020,7 +25879,8 @@ msgstr ""
"this.image = new Gtk.Image ();\n"
"main_box.pack_start (this.image, true, true, 0);"
-#: C/image-viewer.js.page:236(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.js.page:236
msgid ""
"The first line creates a new <code>Gtk.Image</code> called <code>image</"
"code>, which will be used to display an image file. Then, the image widget "
@@ -24036,7 +25896,8 @@ msgstr ""
"GtkBox.html#gtk-box-pack-start\"><code>pack_start</code></link> de <code>Gtk."
"Box</code>."
-#: C/image-viewer.js.page:237(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.js.page:237
msgid ""
"<code>pack_start</code> takes 4 arguments: the widget that is to be added to "
"the <code>Gtk.Box</code> (<code>child</code>); whether the <code>Gtk.Box</"
@@ -24054,7 +25915,8 @@ msgstr ""
"cuánto espacio debe haber, en píxeles, entre el widget y los demás widgets "
"dentro de la <code>Gtk.Box</code> (<code>padding</code>)."
-#: C/image-viewer.js.page:238(section/p) C/image-viewer.py.page:157(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.js.page:238 C/image-viewer.py.page:157
msgid ""
"Gtk containers (and widgets) dynamically expand to fill the available space, "
"if you let them. You don't position widgets by giving them a precise x,y-"
@@ -24069,7 +25931,8 @@ msgstr ""
"sea más fácil, y que los widgets tengan un tamaño sensible automática en la "
"mayoría de las situaciones."
-#: C/image-viewer.js.page:239(section/p) C/image-viewer.py.page:158(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.js.page:239 C/image-viewer.py.page:158
msgid ""
"Also note how the widgets are organized in a hierarchy. Once packed in the "
"<code>Gtk.Box</code>, the <code>Gtk.Image</code> is considered a <em>child</"
@@ -24084,12 +25947,14 @@ msgstr ""
"ocultar la <code>Gtk.Box</code>, lo que haría que también se ocultaran todos "
"sus hijos a la vez."
-#: C/image-viewer.js.page:240(section/p) C/image-viewer.py.page:159(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.js.page:240 C/image-viewer.py.page:159
msgid "Now insert these two lines, below the two you just added:"
msgstr ""
"Ahora inserte estas dos líneas, justo debajo de las dos que acaba de añadir."
-#: C/image-viewer.js.page:241(section/code)
+#. (itstool) path: section/code
+#: C/image-viewer.js.page:241
#, no-wrap
msgid ""
"\n"
@@ -24100,7 +25965,8 @@ msgstr ""
"var open_button = new Gtk.Button ({label: \"Open a picture...\"});\n"
"main_box.pack_start (open_button, false, false, 0);"
-#: C/image-viewer.js.page:244(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.js.page:244
msgid ""
"These lines are similar to the first two, but this time they create a "
"<code>Gtk.Button</code> and add it to <code>main_box</code>. Notice that we "
@@ -24120,19 +25986,22 @@ msgstr ""
"se maximiza la ventana, el tamaño del botón será el mismo, pero el tamaño de "
"la imagen aumentará junto con el resto de la ventana."
-#: C/image-viewer.js.page:245(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.js.page:245
msgid ""
"Finally, we must change the <code>this.window.show ();</code> line to read:"
msgstr ""
"Finalmente, se debe cambiar la línea <code>this.window.show ();</code> para "
"leer:"
-#: C/image-viewer.js.page:246(section/code)
+#. (itstool) path: section/code
+#: C/image-viewer.js.page:246
#, no-wrap
msgid "this.window.show_all ();"
msgstr "this.window.show_all ();"
-#: C/image-viewer.js.page:247(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.js.page:247
msgid ""
"This will show the child of the Gtk window, and all of its children, and its "
"children's children, and so on. (Remember that Gtk widgets are all hidden by "
@@ -24142,13 +26011,14 @@ msgstr ""
"de sus hijos, etcétera. (Recuerde que los widgets de GTK están ocultos de "
"manera predeterminada.)"
-#: C/image-viewer.js.page:251(section/title)
-#: C/image-viewer.py.page:168(section/title)
+#. (itstool) path: section/title
+#: C/image-viewer.js.page:251 C/image-viewer.py.page:168
msgid ""
"Loading the image: Connecting to the button's <code>clicked</code> signal"
msgstr "Cargar la imagen: conectar con la señal <code>clicked</code> del botón"
-#: C/image-viewer.js.page:252(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.js.page:252
msgid ""
"When the user clicks on the <gui>Open</gui> button, a dialog should appear "
"so that the user can choose a picture. Once chosen, the picture should be "
@@ -24158,7 +26028,8 @@ msgstr ""
"diálogo en el que el usuario pueda elegir una imagen. una vez elegida, la "
"imagen se debe cargar y mostrar en el widget de imagen."
-#: C/image-viewer.js.page:253(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.js.page:253
msgid ""
"The first step is to connect the <code>clicked</code> signal of the button "
"to a signal handler function, which we call <code>_openClicked</code>. Put "
@@ -24170,7 +26041,8 @@ msgstr ""
"este código inmediatamente después de la línea <code>var open_button = new "
"Gtk.Button</code> en la que se creó el botón:"
-#: C/image-viewer.js.page:254(section/code)
+#. (itstool) path: section/code
+#: C/image-viewer.js.page:254
#, no-wrap
msgid ""
"\n"
@@ -24179,7 +26051,8 @@ msgstr ""
"\n"
"open_button.connect (\"clicked\", Lang.bind (this, this._openClicked));"
-#: C/image-viewer.js.page:256(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.js.page:256
msgid ""
"We are using the <em>Lang</em> JavaScript helper here. It allows us to "
"connect a <em>class method</em> to the signal, rather than a plain function "
@@ -24195,17 +26068,19 @@ msgstr ""
"funcione, debe poner también la siguiente línea en la parte superior del "
"archivo:"
-#: C/image-viewer.js.page:257(section/code)
+#. (itstool) path: section/code
+#: C/image-viewer.js.page:257
#, no-wrap
msgid "const Lang = imports.lang;"
msgstr "const Lang = imports.lang;"
-#: C/image-viewer.js.page:261(section/title)
-#: C/image-viewer.py.page:179(section/title)
+#. (itstool) path: section/title
+#: C/image-viewer.js.page:261 C/image-viewer.py.page:179
msgid "Loading the image: Writing the signal's callback"
msgstr "Cargar la imagen: escribir la llamada de retorno de la señal"
-#: C/image-viewer.js.page:262(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.js.page:262
msgid ""
"Now we can create the <code>_openClicked()</code> method. Insert the "
"following into the <code>ImageViewer.prototype</code> code block, after the "
@@ -24215,7 +26090,8 @@ msgstr ""
"siguiente código en el bloque de código de <code>ImageViewer.prototype</"
"code>, después del método <code>_init</code> (y no olvide la coma):"
-#: C/image-viewer.js.page:263(section/code)
+#. (itstool) path: section/code
+#: C/image-viewer.js.page:263
#, no-wrap
msgid ""
"\n"
@@ -24258,7 +26134,8 @@ msgstr ""
" chooser.destroy ();\n"
" }"
-#: C/image-viewer.js.page:285(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.js.page:285
msgid ""
"The line beginning with <code>var chooser</code> creates an <gui>Open</gui> "
"dialog, which the user can use to choose files. We set four properties: the "
@@ -24278,7 +26155,8 @@ msgstr ""
"establecer a <code>true</code> evita que el usuario pueda pulsar en otra "
"área de la aplicación hasta que no se cierre el diálogo."
-#: C/image-viewer.js.page:288(item/p) C/image-viewer.py.page:202(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.js.page:288 C/image-viewer.py.page:202
msgid ""
"The next two lines add <gui>Cancel</gui> and <gui>Open</gui> buttons to the "
"dialog. The second argument of the <code>add_button</code> method is the "
@@ -24290,7 +26168,8 @@ msgstr ""
"<code>add_button</code> es el valor (entero) que se devuelve cuando se pulsa "
"el botón: 0 para <gui>Cancelar</gui> y 1 para <gui>Abrir</gui>."
-#: C/image-viewer.js.page:292(item/p) C/image-viewer.py.page:206(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.js.page:292 C/image-viewer.py.page:206
msgid ""
"<code>set_default_response</code> determines the button that will be "
"activated if the user double-clicks a file or presses <key>Enter</key>. In "
@@ -24302,7 +26181,8 @@ msgstr ""
"se usa el botón <gui>Abrir</gui> como predeterminado (que tiene el valor "
"«1»)."
-#: C/image-viewer.js.page:295(item/p) C/image-viewer.py.page:209(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.js.page:295 C/image-viewer.py.page:209
msgid ""
"The next three lines restrict the <gui>Open</gui> dialog to only display "
"files which can be opened by <code>Gtk.Image</code>. A filter object is "
@@ -24317,7 +26197,8 @@ msgstr ""
"formatos de imagen como PNG y JPEG) al filtro. Por último, se establece que "
"este filtro sea el filtro del diálogo <gui>Abrir</gui>."
-#: C/image-viewer.js.page:298(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.js.page:298
msgid ""
"<code>chooser.run</code> displays the <gui>Open</gui> dialog. The dialog "
"will wait for the user to choose an image; when they do, <code>chooser.run</"
@@ -24331,7 +26212,8 @@ msgstr ""
"output> si el usuario pulsara <gui>Cancelar</gui>). La sentencia <code>if</"
"code> comprueba esto."
-#: C/image-viewer.js.page:300(item/p) C/image-viewer.py.page:214(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.js.page:300 C/image-viewer.py.page:214
msgid ""
"Assuming that the user did click <gui>Open</gui>, the next line sets the "
"<code>file</code> property of the <code>Gtk.Image</code> to the filename of "
@@ -24343,8 +26225,9 @@ msgstr ""
"nombre del archivo de imagen seleccionada por el usuario. La <code>Gtk."
"Image</code> cargará y mostrará la imagen elegida."
-#: C/image-viewer.js.page:303(item/p) C/image-viewer.py.page:217(item/p)
-#: C/image-viewer.vala.page:272(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.js.page:303 C/image-viewer.py.page:217
+#: C/image-viewer.vala.page:272
msgid ""
"In the final line of this method, we destroy the <gui>Open</gui> dialog "
"because we don't need it any more."
@@ -24352,7 +26235,8 @@ msgstr ""
"En la última línea de este método se destruye el diálogo <gui>Abrir</gui> "
"porque ya no se necesita."
-#: C/image-viewer.js.page:311(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.js.page:311
msgid ""
"All of the code you need should now be in place, so try running the code. "
"That should be it; a fully-functioning image viewer (and a whistlestop tour "
@@ -24363,7 +26247,8 @@ msgstr ""
"completamente funcional (y un completo tour sobre JavaScript y GTK+) en poco "
"tiempo."
-#: C/image-viewer.js.page:316(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.js.page:316
msgid ""
"If you run into problems with the tutorial, compare your code with this "
"<link href=\"image-viewer/image-viewer.js\">reference code</link>."
@@ -24371,12 +26256,14 @@ msgstr ""
"Si tiene problemas con este tutorial, compare su código con este <link href="
"\"image-viewer/image-viewer.js\">código de referencia</link>."
-#: C/image-viewer.py.page:7(info/title)
+#. (itstool) path: info/title
+#: C/image-viewer.py.page:7
msgctxt "text"
msgid "Image viewer (Python)"
msgstr "Visor de imágenes (Python)"
-#: C/image-viewer.py.page:10(info/desc)
+#. (itstool) path: info/desc
+#: C/image-viewer.py.page:10
msgid ""
"A little bit more than a simple \"Hello world\" application - write an image "
"viewer in GTK."
@@ -24384,15 +26271,18 @@ msgstr ""
"Algo más que una sencilla aplicación «Hola mundo»; escribir un visor de "
"imágenes en GTK."
-#: C/image-viewer.py.page:33(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.py.page:33
msgid "Write a basic GTK user interface in Python"
msgstr "Escribir una interfaz de usuario básica en Python"
-#: C/image-viewer.py.page:41(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.py.page:41
msgid "Basic knowledge of the python programming language"
msgstr "Conocimiento básico del lenguaje de programación Python"
-#: C/image-viewer.py.page:55(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.py.page:55
msgid ""
"Choose <gui>PyGTK (automake)</gui> from the <gui>Python</gui> tab, click "
"<gui>Continue</gui>, and fill out your details on the next few pages. Use "
@@ -24403,7 +26293,8 @@ msgstr ""
"páginas. Use <file>visor-imagenes</file> como nombre del proyecto y de la "
"carpeta."
-#: C/image-viewer.py.page:58(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.py.page:58
msgid ""
"Be sure to disable <gui>Use GtkBuilder for user interface</gui> as we will "
"build the user interface manually in this example. For an example of using "
@@ -24416,7 +26307,8 @@ msgstr ""
"revise la <link xref=\"guitar-tuner.py\">demostración de afinador de "
"guitarra</link>."
-#: C/image-viewer.py.page:63(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.py.page:63
msgid ""
"Click <gui>Apply</gui> and the project will be created for you. Open "
"<file>src/image_viewer.py</file> from the <gui>Project</gui> or <gui>File</"
@@ -24426,11 +26318,13 @@ msgstr ""
"imagenes.py</file> desde las pestañas <gui>Proyecto</gui> o <gui>Archivo</"
"gui>. Contiene un ejemplo de código muy básico:"
-#: C/image-viewer.py.page:70(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.py.page:70
msgid "Let's see what a very basic Gtk application looks like in Python:"
msgstr "Vea como queda una aplicación GTK+ muy básica en Python:"
-#: C/image-viewer.py.page:71(section/code)
+#. (itstool) path: section/code
+#: C/image-viewer.py.page:71
#, no-wrap
msgid ""
"\n"
@@ -24481,7 +26375,8 @@ msgstr ""
"\n"
" "
-#: C/image-viewer.py.page:100(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.py.page:100
msgid ""
"In the <code>__init__</code> method of the <code>GUI</code> class creates an "
"(empty) <code>Gtk.Window</code>, sets its title and then connects a signal "
@@ -24493,7 +26388,8 @@ msgstr ""
"señal para salir de la aplicación una vez que se cierra la ventana. Es "
"bastante simple, más acerca de señales en adelante."
-#: C/image-viewer.py.page:105(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.py.page:105
msgid ""
"Next, <code>destroy</code> is defined which just quits the application. It "
"is called by the <code>destroy</code> signal connected above."
@@ -24502,12 +26398,14 @@ msgstr ""
"aplicación. Se le llama a través de la señal <code>destroy</code> conectada "
"anteriormente."
-#: C/image-viewer.py.page:109(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.py.page:109
msgid "The rest of the file does initialisation for Gtk and displays the GUI."
msgstr ""
"El resto del archivo realiza la inicialización de GTK+ y muestra la IGU."
-#: C/image-viewer.py.page:113(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.py.page:113
msgid ""
"This code is ready to run, so try it using <guiseq><gui>Run</"
"gui><gui>Execute</gui></guiseq>. It should show you an empty window."
@@ -24516,7 +26414,8 @@ msgstr ""
"<guiseq><gui>Ejecutar</gui><gui>Ejecutar</gui></guiseq>. Debería mostrar una "
"ventana vacía."
-#: C/image-viewer.py.page:120(section/code)
+#. (itstool) path: section/code
+#: C/image-viewer.py.page:120
#, no-wrap
msgid ""
"\n"
@@ -24533,7 +26432,8 @@ msgstr ""
"b = new Gtk.Button (\"Click me\")\n"
"b.connect_after ('clicked', button_clicked)"
-#: C/image-viewer.py.page:136(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.py.page:136
msgid ""
"Let's add the box and widgets to the window. Insert the following code into "
"the <code>__init__</code> method, immediately after the <code>window."
@@ -24543,7 +26443,8 @@ msgstr ""
"método <code>__init__</code>, justo debajo de la línea <code>window."
"connect_after</code>:"
-#: C/image-viewer.py.page:137(section/code)
+#. (itstool) path: section/code
+#: C/image-viewer.py.page:137
#, no-wrap
msgid ""
"\n"
@@ -24560,7 +26461,8 @@ msgstr ""
"window.add (box)\n"
"\n"
-#: C/image-viewer.py.page:144(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.py.page:144
msgid ""
"The first line creates a <code>Gtk.Box</code> called <code>box</code> and "
"the following lines set two of its properties: the <code>orientation</code> "
@@ -24575,7 +26477,8 @@ msgstr ""
"widgets se establece a 5 píxeles. La siguiente línea añade la <code>Gtk.Box</"
"code> recién creada a la ventana."
-#: C/image-viewer.py.page:150(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.py.page:150
msgid ""
"To add some widgets to the <code>Gtk.Box</code>, insert the following code "
"directly below the <code>window.add (box)</code> line:"
@@ -24583,7 +26486,8 @@ msgstr ""
"Para añadir algunos widgets a la <code>Gtk.Box</code>, inserte el siguiente "
"código justo debajo de la línea <code>window.add (box)</code>:"
-#: C/image-viewer.py.page:151(section/code)
+#. (itstool) path: section/code
+#: C/image-viewer.py.page:151
#, no-wrap
msgid ""
"\n"
@@ -24594,7 +26498,8 @@ msgstr ""
"self.image = Gtk.Image()\n"
"box.pack_start (self.image, False, False, 0)"
-#: C/image-viewer.py.page:154(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.py.page:154
msgid ""
"The first line creates a new <code>Gtk.Image</code> called <code>image</"
"code>, which will be used to display an image file. As we need that later on "
@@ -24614,7 +26519,8 @@ msgstr ""
"gnome.org/devel/gtk/stable/GtkBox.html#gtk-box-pack-start"
"\"><code>pack_start</code></link> de GtkBox."
-#: C/image-viewer.py.page:156(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.py.page:156
msgid ""
"<code>pack_start</code> takes 4 arguments: the widget that is to be added to "
"the GtkBox (<code>child</code>); whether the <code>Gtk.Box</code> should "
@@ -24631,7 +26537,8 @@ msgstr ""
"code>); y cuánto espacio debe haber, en píxeles, entre el widget y sus "
"vecinos dentro de la <code>Gtk.Box</code> (<code>padding</code>)."
-#: C/image-viewer.py.page:160(section/code)
+#. (itstool) path: section/code
+#: C/image-viewer.py.page:160
#, no-wrap
msgid ""
"\n"
@@ -24642,7 +26549,8 @@ msgstr ""
"button = Gtk.Button (\"Open a picture...\")\n"
"box.pack_start (button, False, False, 0)\n"
-#: C/image-viewer.py.page:164(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.py.page:164
msgid ""
"These lines are similar to the first two, but this time they create a "
"<code>Gtk.Button</code> and add it to <code>box</code>. Notice that we are "
@@ -24662,7 +26570,8 @@ msgstr ""
"maximiza la ventana, el tamaño del botón será el mismo, pero el tamaño de la "
"imagen aumentará junto con el resto de la ventana."
-#: C/image-viewer.py.page:169(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.py.page:169
msgid ""
"When the user clicks on the <gui>Open Image...</gui> button, a dialog should "
"appear so that the user can choose a picture. Once chosen, the picture "
@@ -24672,7 +26581,8 @@ msgstr ""
"aparece un diálogo en el que el usuario pueda elegir una imagen. una vez "
"elegida, la imagen debería cargarse y mostrarse en el widget de imagen."
-#: C/image-viewer.py.page:170(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.py.page:170
msgid ""
"The first step is to connect the <code>clicked</code> signal of the button "
"to a signal handler function, which we call <code>on_open_clicked</code>. "
@@ -24684,7 +26594,8 @@ msgstr ""
"este código inmediatamente después de la línea <code>button = Gtk.Button()</"
"code> en la que se creó el botón:"
-#: C/image-viewer.py.page:171(section/code)
+#. (itstool) path: section/code
+#: C/image-viewer.py.page:171
#, no-wrap
msgid ""
"\n"
@@ -24693,7 +26604,8 @@ msgstr ""
"\n"
"button.connect_after('clicked', self.on_open_clicked)\n"
-#: C/image-viewer.py.page:174(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.py.page:174
msgid ""
"This will connect the <code>clicked</code> signal to <code>on_open_clicked</"
"code> method that we will define below."
@@ -24701,7 +26613,8 @@ msgstr ""
"Esto conectará la señal <code>clicked</code> al método "
"<code>on_open_clicked</code> que se definirá más adelante."
-#: C/image-viewer.py.page:180(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.py.page:180
msgid ""
"Now we can create the <code>on_open_clicked</code> method. Insert the "
"following into the <code>GUI</code> class code block, after the "
@@ -24711,7 +26624,8 @@ msgstr ""
"siguente dentro del bloque de clase <code>GUI</code>, después del método "
"<code>__init__</code>:"
-#: C/image-viewer.py.page:181(section/code)
+#. (itstool) path: section/code
+#: C/image-viewer.py.page:181
#, no-wrap
msgid ""
"\n"
@@ -24746,7 +26660,8 @@ msgstr ""
"\n"
"\tdialog.destroy()"
-#: C/image-viewer.py.page:199(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.py.page:199
msgid ""
"The line beginning with <code>dialog</code> creates an <gui>Open</gui> "
"dialog, which the user can use to choose files. We set three properties: the "
@@ -24762,7 +26677,8 @@ msgstr ""
"guardar un archivo; y <code>transient_for</code>, que establecer la ventana "
"padre del diálogo."
-#: C/image-viewer.py.page:212(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.py.page:212
msgid ""
"<code>dialog.run</code> displays the <gui>Open</gui> dialog. The dialog will "
"wait for the user to choose an image; when they do, <code>dialog.run</code> "
@@ -24776,7 +26692,8 @@ msgstr ""
"output> si el usuario pulsara <gui>Cancelar</gui>). La sentencia <code>if</"
"code> comprueba esto."
-#: C/image-viewer.py.page:225(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.py.page:225
msgid ""
"All of the code you need should now be in place, so try running the code. "
"That should be it; a fully-functioning image viewer (and a whistlestop tour "
@@ -24787,7 +26704,8 @@ msgstr ""
"completamente funcional (y un completo tour sobre Python y GTK+) en poco "
"tiempo."
-#: C/image-viewer.py.page:230(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.py.page:230
msgid ""
"If you run into problems with the tutorial, compare your code with this "
"<link href=\"image-viewer/image-viewer.py\">reference code</link>."
@@ -24795,20 +26713,24 @@ msgstr ""
"Si tiene problemas con este tutorial, compare su código con este <link href="
"\"image-viewer/image-viewer.py\">código de referencia</link>."
-#: C/image-viewer.vala.page:7(info/title)
+#. (itstool) path: info/title
+#: C/image-viewer.vala.page:7
msgctxt "text"
msgid "Image viewer (Vala)"
msgstr "Visor de imágenes (Vala)"
-#: C/image-viewer.vala.page:10(info/desc)
+#. (itstool) path: info/desc
+#: C/image-viewer.vala.page:10
msgid "A little bit more than a simple \"Hello world\" GTK+ application."
msgstr "Algo más que una sencilla aplicación «Hola mundo» en GTK+."
-#: C/image-viewer.vala.page:22(credit/name)
+#. (itstool) path: credit/name
+#: C/image-viewer.vala.page:22
msgid "Philip Chimento"
msgstr "Philip Chimento"
-#: C/image-viewer.vala.page:38(synopsis/p)
+#. (itstool) path: synopsis/p
+#: C/image-viewer.vala.page:38
msgid ""
"In this tutorial you will create an application which opens and displays an "
"image file. You will learn:"
@@ -24816,7 +26738,8 @@ msgstr ""
"En este tutorial se va a crear un programa que abre un archivo de imagen y "
"lo muestra. Aprenderá a:"
-#: C/image-viewer.vala.page:40(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.vala.page:40
msgid ""
"How to set up a basic project using the <link xref=\"getting-ready\">Anjuta "
"IDE</link>."
@@ -24824,7 +26747,8 @@ msgstr ""
"Cómo configurar un proyecto básico usando el <link xref=\"getting-ready"
"\">EID Anjuta</link>."
-#: C/image-viewer.vala.page:41(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.vala.page:41
msgid ""
"How to write a <link href=\"http://developer.gnome.org/platform-overview/"
"stable/gtk\">Gtk application</link> in Vala"
@@ -24832,7 +26756,8 @@ msgstr ""
"Cómo escribir una <link href=\"http://developer.gnome.org/platform-overview/"
"stable/gtk\">aplicación de GTK+</link> en Vala"
-#: C/image-viewer.vala.page:42(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.vala.page:42
msgid ""
"Some basic concepts of <link href=\"http://developer.gnome.org/gobject/"
"stable/\">GObject</link> programming"
@@ -24840,7 +26765,8 @@ msgstr ""
"Algunos conceptos básicos de programación en <link href=\"http://developer."
"gnome.org/gobject/stable/\">GObject</link>"
-#: C/image-viewer.vala.page:49(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.vala.page:49
msgid ""
"You may find the <link href=\"http://valadoc.org/gtk+-3.0/\">gtk+-3.0</link> "
"API Reference useful, although it is not necessary to follow the tutorial."
@@ -24849,7 +26775,8 @@ msgstr ""
"+-3.0/\">gtk+-3.0</link> le resulte útil, aunque no es necesaria para seguir "
"el tutorial."
-#: C/image-viewer.vala.page:65(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.vala.page:65
msgid ""
"From the <gui>Vala</gui> tab choose <gui>GTK+ (Simple)</gui>, click "
"<gui>Continue</gui>, and fill out your details on the next page. Use "
@@ -24859,7 +26786,8 @@ msgstr ""
"<gui>Continuar</gui>, y rellene los detalles en las siguientes páginas. Use "
"<file>visor-imagenes</file> como nombre del proyecto y de la carpeta."
-#: C/image-viewer.vala.page:69(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.vala.page:69
msgid ""
"Make sure that <gui>Use GtkBuilder for user interface</gui> is unchecked as "
"we will create the UI manually in this tutorial."
@@ -24867,7 +26795,8 @@ msgstr ""
"Asegúrese de que <gui>Usar GtkBuilder para la interfaz del usuario</gui> "
"está desactivado, ya que, en este tutorial, la IU se creará manualmente."
-#: C/image-viewer.vala.page:70(note/p)
+#. (itstool) path: note/p
+#: C/image-viewer.vala.page:70
msgid ""
"You will learn how to use the interface builder in the <link xref=\"guitar-"
"tuner.vala\">Guitar-Tuner</link> tutorial."
@@ -24875,7 +26804,8 @@ msgstr ""
"Aprenderá a usar el constructor de interfaces en el tutorial del <link xref="
"\"guitar-tuner.vala\">afinador de guitarra</link>."
-#: C/image-viewer.vala.page:74(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.vala.page:74
msgid ""
"Click <gui>Continue</gui> then <gui>Apply</gui> and the project will be "
"created for you. Open <file>src/image_viewer.vala</file> from the "
@@ -24885,7 +26815,8 @@ msgstr ""
"proyecto. Abra <file>src/visor-imagenes.vala</file> desde las pestañas "
"<gui>Proyecto</gui> o <gui>Archivo</gui>. Verá el siguiente código:"
-#: C/image-viewer.vala.page:77(item/code)
+#. (itstool) path: item/code
+#: C/image-viewer.vala.page:77
#, no-wrap
msgid ""
"\n"
@@ -24950,7 +26881,8 @@ msgstr ""
"\t}\n"
"}"
-#: C/image-viewer.vala.page:113(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.vala.page:113
msgid ""
"The code loads an (empty) window from the user interface description file "
"and shows it. More details are given below; skip this list if you understand "
@@ -24960,7 +26892,8 @@ msgstr ""
"interfaz de usuario y la muestra. Se ofrecen más detalles a continuación; "
"omita esta lista si entiende los conceptos básicos:"
-#: C/image-viewer.vala.page:118(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.vala.page:118
msgid ""
"The two <code>using</code> lines at the top import namespaces so we don't "
"have to name them explicitly."
@@ -24968,7 +26901,8 @@ msgstr ""
"Las dos líneas <code>using</code> importan espacios de nombres, por lo que "
"no hay que nombrarlas explícitamente."
-#: C/image-viewer.vala.page:121(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.vala.page:121
msgid ""
"The constructor of the <code>Main</code> class creates a new (empty) window "
"and connects a <link href=\"https://live.gnome.org/Vala/SignalsAndCallbacks"
@@ -24978,7 +26912,8 @@ msgstr ""
"y conecta una <link href=\"https://live.gnome.org/Vala/SignalsAndCallbacks"
"\">señal</link> para salir de la aplicación cuando se cierra esa ventana."
-#: C/image-viewer.vala.page:126(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.vala.page:126
msgid ""
"The <code>static main</code> function is run by default when you start a "
"Vala application. It calls a few functions which create the <code>Main</"
@@ -24996,8 +26931,8 @@ msgstr ""
"\">bucle principal</link> de GTK+, que ejecuta la interfaz de usuario y "
"empieza a escuchar eventos (como pulsaciones del ratón y del teclado)."
-#: C/image-viewer.vala.page:133(section/p)
-#: C/magic-mirror.vala.page:93(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.vala.page:133 C/magic-mirror.vala.page:93
msgid ""
"Change the <gui>Configuration</gui> to <gui>Default</gui> and then press "
"<gui>Execute</gui> to configure the build directory. You only need to do "
@@ -25007,7 +26942,8 @@ msgstr ""
"<gui>Ejecutar</gui> para configurar la carpeta de construcción. Sólo "
"necesita hacer esto una vez, para la primera construcción."
-#: C/image-viewer.vala.page:139(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.vala.page:139
msgid ""
"Now we will bring life into the empty window. GTK organizes the user "
"interface with <link href=\"http://www.valadoc.org/gtk+-2.0/Gtk.Container."
@@ -25023,13 +26959,15 @@ msgstr ""
"disponible, una <link href=\"http://unstable.valadoc.org/gtk+-2.0/Gtk.Box."
"html\"><code>Gtk.Box</code></link>."
-#: C/image-viewer.vala.page:143(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.vala.page:143
msgid "Add the following lines to the top of the <code>Main</code> class:"
msgstr ""
"Añada las siguientes líneas a la parte superior de la clase <code>Main</"
"code>:"
-#: C/image-viewer.vala.page:144(section/code)
+#. (itstool) path: section/code
+#: C/image-viewer.vala.page:144
#, no-wrap
msgid ""
"\n"
@@ -25040,11 +26978,13 @@ msgstr ""
"private Window window;\n"
"private Image image;\n"
-#: C/image-viewer.vala.page:149(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.vala.page:149
msgid "Now replace the current constructor with the one below:"
msgstr "Ahora reemplace el constructor actual con el siguiente:"
-#: C/image-viewer.vala.page:150(section/code)
+#. (itstool) path: section/code
+#: C/image-viewer.vala.page:150
#, no-wrap
msgid ""
"\n"
@@ -25093,7 +27033,8 @@ msgstr ""
"\twindow.destroy.connect (main_quit);\n"
"}\n"
-#: C/image-viewer.vala.page:175(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.vala.page:175
msgid ""
"The first two lines are the parts of the GUI that we will need to access "
"from more than one method. We declare them up here so that they are "
@@ -25104,7 +27045,8 @@ msgstr ""
"más de un método. Se declaran aquí, por lo que son accesibles mediante la "
"clase en vez de serlo solamente en el método en el que se crearon."
-#: C/image-viewer.vala.page:179(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.vala.page:179
msgid ""
"The first lines of the constructor create the empty window. The next lines "
"create the widgets we want to use: a button for opening up an image, the "
@@ -25115,7 +27057,8 @@ msgstr ""
"imagen, el widget de la vista de la imagen en sí y la caja que se usará como "
"contenedor."
-#: C/image-viewer.vala.page:183(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.vala.page:183
msgid ""
"The calls to <link href=\"http://unstable.valadoc.org/gtk+-2.0/Gtk.Box."
"pack_start.html\"><code>pack_start</code></link> add the two widgets to the "
@@ -25134,7 +27077,8 @@ msgstr ""
"tener una distribución que se ve bien con diferentes tamaños de la ventana. "
"A continuación, se añade la caja a la ventana."
-#: C/image-viewer.vala.page:190(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.vala.page:190
msgid ""
"We need to define what happens when the user clicks on the button. GTK uses "
"the concept of <em>signals</em>."
@@ -25142,7 +27086,8 @@ msgstr ""
"Se debe definir qué pasa cuando el usuario pulsa en el botón. GTK+ usa el "
"concepto de <em>señales</em>."
-#: C/image-viewer.vala.page:191(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.vala.page:191
msgid ""
"When the <link href=\"http://valadoc.org/gtk+-3.0/Gtk.Button.html\">button</"
"link> is clicked, it fires the <link href=\"http://valadoc.org/gtk+-3.0/Gtk."
@@ -25156,7 +27101,8 @@ msgstr ""
"a alguna acción (definida en un método de un <link href=\"https://live.gnome."
"org/Vala/SignalsAndCallbacks\">retorno de la llamada</link>)."
-#: C/image-viewer.vala.page:194(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.vala.page:194
msgid ""
"This is done using the <code>connect</code> method of the button's "
"<code>clicked</code> signal, which in this case tells GTK to call the (yet "
@@ -25169,7 +27115,8 @@ msgstr ""
"(todavía no definida) cuando se pulsa el botón. El <em>retorno de la "
"llamada</em> se definirá en la siguiente sección."
-#: C/image-viewer.vala.page:198(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.vala.page:198
msgid ""
"In the callback, we need to access the <code>window</code> and <code>image</"
"code> widgets, which is why we defined them as private members at the top of "
@@ -25179,7 +27126,8 @@ msgstr ""
"code> y <code>image</code> que es por lo que se definen como miembros "
"privados en la parte superior de la clase."
-#: C/image-viewer.vala.page:202(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.vala.page:202
msgid ""
"The last <code>connect</code> call makes sure that the application exits "
"when the window is closed. The code generated by Anjuta called an "
@@ -25195,7 +27143,8 @@ msgstr ""
"simplemente conectando la señal <code>main_quit</code> directamente es más "
"fácil. Puede eliminar el método <code>on_destroy</code>."
-#: C/image-viewer.vala.page:210(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.vala.page:210
msgid ""
"We will now define the signal handler for the <code>clicked</code> signal "
"for the button we mentioned before. Add this code after the constructor:"
@@ -25203,7 +27152,8 @@ msgstr ""
"Ahora se definirá el manejador de la señal <em>clicked</em> para el botón "
"mencionado anteriormente. Añada este código después del constructor."
-#: C/image-viewer.vala.page:213(section/code)
+#. (itstool) path: section/code
+#: C/image-viewer.vala.page:213
#, no-wrap
msgid ""
"\n"
@@ -25252,11 +27202,13 @@ msgstr ""
"\tdialog.destroy ();\n"
"}\n"
-#: C/image-viewer.vala.page:236(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.vala.page:236
msgid "This is a bit complicated, so let's break it down:"
msgstr "Esto es un poco más complicado, así que se puede desglosar:"
-#: C/image-viewer.vala.page:237(note/p)
+#. (itstool) path: note/p
+#: C/image-viewer.vala.page:237
msgid ""
"A signal handler is a type of callback method that is called when a signal "
"is emitted. Here the terms are used interchangeably."
@@ -25264,7 +27216,8 @@ msgstr ""
"Un manejador de señal es un tipo de método de retorno de la llamada al que "
"se llama cuando se emite la señal. Aquí se usan los términos intercambiados."
-#: C/image-viewer.vala.page:240(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.vala.page:240
msgid ""
"The first argument of the callback method is always the widget that sent the "
"signal. Sometimes other arguments related to the signal come after that, but "
@@ -25274,7 +27227,8 @@ msgstr ""
"widget que envía la señal. A veces hay otros argumentos relativos a la señal "
"que vienen después, pero <em>clicked</em> no tiene ninguno."
-#: C/image-viewer.vala.page:242(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.vala.page:242
msgid ""
"In this case the <code>button</code> sent the <code>clicked</code> signal, "
"which is connected to the <code>on_open_image</code> callback method:"
@@ -25283,7 +27237,8 @@ msgstr ""
"que se conecta al método del retorno de la llamada <code>on_open_image</"
"code>:"
-#: C/image-viewer.vala.page:243(item/code)
+#. (itstool) path: item/code
+#: C/image-viewer.vala.page:243
#, no-wrap
msgid ""
"\n"
@@ -25292,7 +27247,8 @@ msgstr ""
"\n"
" button.clicked.connect (on_open_image);\n"
-#: C/image-viewer.vala.page:247(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.vala.page:247
msgid ""
"The <code>on_open_image</code> method takes the button that emitted the "
"signal as an argument:"
@@ -25300,7 +27256,8 @@ msgstr ""
"El método <code>on_open_image</code> toma como argumento el botón que ha "
"emitido la señal:"
-#: C/image-viewer.vala.page:248(item/code)
+#. (itstool) path: item/code
+#: C/image-viewer.vala.page:248
#, no-wrap
msgid ""
"\n"
@@ -25309,7 +27266,8 @@ msgstr ""
"\n"
" public void on_open_image (Button self)\n"
-#: C/image-viewer.vala.page:253(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.vala.page:253
msgid ""
"The next interesting line is where the dialog for choosing the file is "
"created. <link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.FileChooserDialog."
@@ -25323,7 +27281,8 @@ msgstr ""
"título del diálogo, la ventana padre del diálogo y varias opciones como el "
"número de botones y sus valores correspondientes."
-#: C/image-viewer.vala.page:255(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.vala.page:255
msgid ""
"Notice that we are using <link href=\"http://unstable.valadoc.org/gtk+-3.0/"
"Gtk.Stock.html\"><em>stock</em></link> button names from Gtk, instead of "
@@ -25337,7 +27296,8 @@ msgstr ""
"ventaja de usar nombres del almacén es que las etiquetas de los botones ya "
"estarán traducidas en el idioma del usuario."
-#: C/image-viewer.vala.page:259(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.vala.page:259
msgid ""
"The next two lines restrict the <gui>Open</gui> dialog to only display files "
"which can be opened by <em>GtkImage</em>. GtkImage is a widget which "
@@ -25356,7 +27316,8 @@ msgstr ""
"filtro. Por último, se establece que este filtro sea el filtro del diálogo "
"<gui>Abrir</gui>."
-#: C/image-viewer.vala.page:264(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.vala.page:264
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Dialog.run.html"
"\"><code>dialog.run</code></link> displays the <gui>Open</gui> dialog. The "
@@ -25375,7 +27336,8 @@ msgstr ""
"usuario pulsara <gui>Cancel</gui>). La sentencia <code>switch</code> "
"comprueba esto."
-#: C/image-viewer.vala.page:269(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.vala.page:269
msgid ""
"Assuming that the user did click <gui>Open</gui>, the next lines get the "
"filename of the image selected by the user, and tell the <code>GtkImage</"
@@ -25386,11 +27348,13 @@ msgstr ""
"indican al widget <code>GtkImage</code> que cargue y muestre la imagen "
"elegida."
-#: C/image-viewer.vala.page:273(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.vala.page:273
msgid "Destroying automatically hides the dialog."
msgstr "Al destruir se oculta el diálogo automáticamente."
-#: C/image-viewer.vala.page:282(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.vala.page:282
msgid ""
"If you haven't already done so, choose the <file>src/image-viewer</file> "
"application in the dialog that appears. Finally, hit <gui>Run</gui> and "
@@ -25400,7 +27364,8 @@ msgstr ""
"file> en el diálogo que aparece. Finalmente, pulse <gui>Ejecutar</gui> y "
"disfrute."
-#: C/image-viewer.vala.page:288(section/p)
+#. (itstool) path: section/p
+#: C/image-viewer.vala.page:288
msgid ""
"If you run into problems with the tutorial, compare your code with this "
"<link href=\"image-viewer/image-viewer.vala\">reference code</link>."
@@ -25408,7 +27373,8 @@ msgstr ""
"Si tiene problemas con este tutorial, compare su código con este <link href="
"\"image-viewer/image-viewer.vala\">código de referencia</link>."
-#: C/image-viewer.vala.page:295(item/p)
+#. (itstool) path: item/p
+#: C/image-viewer.vala.page:295
msgid ""
"Set it up so that when the window opens it is of a specific size to start "
"off with. For example, 200 X 200 pixels."
@@ -25416,71 +27382,108 @@ msgstr ""
"Configúrela de tal manera que la ventana se abra con un tamaño determinado. "
"Por ejemplo, 200x200 píxeles."
-#: C/js.page:7(info/title)
+#. (itstool) path: credit/name
+#: C/index.page:7
+msgid "GNOME Documentation Team"
+msgstr "Equipo de documentación de GNOME"
+
+#. (itstool) path: credit/years
+#: C/index.page:9
+msgid "2010, 2011"
+msgstr "2010, 2011"
+
+#. (itstool) path: credit/name
+#: C/index.page:12 C/message-board.c.page:14
+msgid "Shaun McCance"
+msgstr "Shaun McCance"
+
+#. (itstool) path: credit/years
+#: C/index.page:14 C/message-board.c.page:16
+msgid "2010"
+msgstr "2010"
+
+#. (itstool) path: page/title
+#: C/index.page:27
+msgid "GNOME Developer Platform Demos"
+msgstr "Demostraciones de la plataforma de desarrollo de GNOME"
+
+#. (itstool) path: section/title
+#: C/index.page:30
+msgid "How to set up your development environment"
+msgstr "Cómo configurar el entorno de desarrollo"
+
+#. (itstool) path: section/title
+#: C/index.page:34
+msgid "Tutorials, code samples, platform demos and more"
+msgstr ""
+"Tutoriales, ejemplos de código, demostraciones de la plataforma y más cosas"
+
+#. (itstool) path: section/title
+#: C/index.page:38
+msgid "Get Involved"
+msgstr "Involucrarse"
+
+#. (itstool) path: info/title
+#: C/js.page:7
msgctxt "link"
msgid "JavaScript"
msgstr "JavaScript"
-#: C/js.page:20(credit/name)
+#. (itstool) path: credit/name
+#: C/js.page:20
msgid "Ekaterina Gerasimova"
msgstr "Ekaterina Gerasimova"
-#: C/js.page:25(page/title)
+#. (itstool) path: page/title
+#: C/js.page:25
msgid "Tutorials, code samples and platform demos in JavaScript"
msgstr ""
"Tutoriales, ejemplos de código y demostraciones de la plataforma en "
"JavaScript"
-#: C/js.page:30(section/title)
+#. (itstool) path: section/title
+#: C/js.page:30
msgid "Code samples and tutorials"
msgstr "Código de ejemplo tutoriales"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/label.c.page:25(media) C/label.js.page:21(media)
-#: C/label.py.page:29(media) C/label.vala.page:21(media)
+#: C/label.c.page:25 C/label.js.page:21 C/label.py.page:29
+#: C/label.vala.page:21
msgctxt "_"
msgid "external ref='media/label.png' md5='734975c18653d88379f983e4501c3fc0'"
msgstr "external ref='media/label.png' md5='734975c18653d88379f983e4501c3fc0'"
-#: C/label.c.page:7(info/title)
+#. (itstool) path: info/title
+#: C/label.c.page:7
msgctxt "text"
msgid "Label (C)"
msgstr "Label (C)"
-#: C/label.c.page:18(info/desc) C/label.vala.page:17(info/desc)
+#. (itstool) path: info/desc
+#: C/label.c.page:18 C/label.vala.page:17
msgid "A widget which displays text"
msgstr "Un widget que muestra un texto"
-#: C/label.c.page:21(page/title) C/label.js.page:20(page/title)
-#: C/label.py.page:28(page/title) C/label.vala.page:20(page/title)
-#: C/toolbar_builder.py.page:97(td/p) C/toolbar_builder.vala.page:80(td/p)
+#. (itstool) path: page/title
+#. (itstool) path: td/p
+#: C/label.c.page:21 C/label.js.page:20 C/label.py.page:28
+#: C/label.vala.page:20 C/toolbar_builder.py.page:97
+#: C/toolbar_builder.vala.page:80
msgid "Label"
msgstr "Etiqueta"
-#: C/label.c.page:26(td/p) C/label.py.page:30(page/p)
-#: C/label.vala.page:22(page/p)
+#. (itstool) path: td/p
+#. (itstool) path: page/p
+#: C/label.c.page:26 C/label.py.page:30 C/label.vala.page:22
msgid "A simple label"
msgstr "Una etiqueta sencilla"
-#: C/label.c.page:31(page/code)
+#. (itstool) path: page/code
+#: C/label.c.page:31
#, no-wrap
msgid ""
"#include <gtk/gtk.h>\n"
@@ -25571,7 +27574,8 @@ msgstr ""
" return status;\n"
"}\n"
-#: C/label.c.page:38(item/p)
+#. (itstool) path: item/p
+#: C/label.c.page:38
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/3.4/GtkLabel.html\">GtkLabel</"
"link>"
@@ -25579,20 +27583,24 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/3.4/GtkLabel.html\">GtkLabel</"
"link>"
-#: C/label.js.page:7(info/title)
+#. (itstool) path: info/title
+#: C/label.js.page:7
msgctxt "text"
msgid "Label (JavaScript)"
msgstr "Label (JavaScript)"
-#: C/label.js.page:17(info/desc)
+#. (itstool) path: info/desc
+#: C/label.js.page:17
msgid "A label which can contain text"
msgstr "Una etiqueta que puede contener texto"
-#: C/label.js.page:22(page/p)
+#. (itstool) path: page/p
+#: C/label.js.page:22
msgid "A label displaying a friendly message."
msgstr "Un widget que muestra un mensaje amigable"
-#: C/label.js.page:24(page/code)
+#. (itstool) path: page/code
+#: C/label.js.page:24
#, no-wrap
msgid ""
"#!/usr/bin/gjs\n"
@@ -25717,7 +27725,8 @@ msgstr ""
"let app = new LabelExample ();\n"
"app.application.run (ARGV);\n"
-#: C/label.js.page:31(item/p)
+#. (itstool) path: item/p
+#: C/label.js.page:31
msgid ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.Label.html"
"\">Gtk.Label</link>"
@@ -25725,16 +27734,19 @@ msgstr ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.Label.html"
"\">Gtk.Label</link>"
-#: C/label.py.page:7(info/title)
+#. (itstool) path: info/title
+#: C/label.py.page:7
msgctxt "text"
msgid "Label (Python)"
msgstr "Label (Python)"
-#: C/label.py.page:25(info/desc)
+#. (itstool) path: info/desc
+#: C/label.py.page:25
msgid "A widget that displays a small to medium amount of text"
msgstr "Un widget que muestra una cantidad pequeña o mediana de texto"
-#: C/label.py.page:39(section/p)
+#. (itstool) path: section/p
+#: C/label.py.page:39
msgid ""
"Another way to obtain what we have in the example is to create the label as "
"an instance of another class and add it to the instance of <code>MyWindow</"
@@ -25744,7 +27756,8 @@ msgstr ""
"como una instancia de otra clase y añadirle la instancia de <code>MyWindow</"
"code> en el método <code>do_activate(self)</code>:"
-#: C/label.py.page:40(section/code)
+#. (itstool) path: section/code
+#: C/label.py.page:40
#, no-wrap
msgid ""
"\n"
@@ -25801,11 +27814,13 @@ msgstr ""
" # show the window and everything on it\n"
" win.show_all()"
-#: C/label.py.page:70(section/title)
+#. (itstool) path: section/title
+#: C/label.py.page:70
msgid "Useful methods for a Label widget"
msgstr "Métodos útiles para un widget «Label»"
-#: C/label.py.page:71(section/p)
+#. (itstool) path: section/p
+#: C/label.py.page:71
msgid ""
"An explanation of how to deal with strings in GTK+ can be found in <link "
"xref=\"strings.py\"/>."
@@ -25813,7 +27828,8 @@ msgstr ""
"Una explicación de cómo manejarse con cadenas en GTK+ puede encontrarse en "
"la <link xref=\"strings.py\"/>."
-#: C/label.py.page:73(item/p)
+#. (itstool) path: item/p
+#: C/label.py.page:73
msgid ""
"<code>set_line_wrap(True)</code> breaks lines if the text of the label "
"exceeds the size of the widget."
@@ -25821,7 +27837,8 @@ msgstr ""
"<code>set_line_wrap(True)</code> rompe líneas si el texto de la etiqueta "
"excede el tamaño del widget."
-#: C/label.py.page:74(item/p)
+#. (itstool) path: item/p
+#: C/label.py.page:74
msgid ""
"<code>set_justify(Gtk.Justification.LEFT)</code> (or <code>Gtk.Justification."
"RIGHT, Gtk.Justification.CENTER, Gtk.Justification.FILL</code>) sets the "
@@ -25833,7 +27850,8 @@ msgstr ""
"alineación de las líneas en el texto de la etiqueta respecto de sí. El "
"método no tiene efecto en una etiqueta de una sola línea."
-#: C/label.py.page:75(item/p)
+#. (itstool) path: item/p
+#: C/label.py.page:75
msgid ""
"For decorated text we can use <code>set_markup(\"text\")</code>, where <code>"
"\"text\"</code> is a text in the <link href=\"http://developer.gnome.org/"
@@ -25845,7 +27863,8 @@ msgstr ""
"gnome.org/pango/stable/PangoMarkupFormat.html\">lenguaje de marcación Pango</"
"link>. Un ejemplo:"
-#: C/label.py.page:76(item/code)
+#. (itstool) path: item/code
+#: C/label.py.page:76
#, no-wrap
msgid ""
"\n"
@@ -25860,12 +27879,14 @@ msgstr ""
" \"in the <a href=\\\"http://www.gtk.org\\\" \"\n"
" \"title=\\\"Click to find out more\\\">internets</a>.\")"
-#: C/label.vala.page:7(info/title)
+#. (itstool) path: info/title
+#: C/label.vala.page:7
msgctxt "text"
msgid "Label (Vala)"
msgstr "Label (Vala)"
-#: C/label.vala.page:24(page/code)
+#. (itstool) path: page/code
+#: C/label.vala.page:24
#, no-wrap
msgid ""
"\n"
@@ -25922,15 +27943,18 @@ msgstr ""
"\treturn new MyApplication ().run (args);\n"
"}\n"
-#: C/license.page:8(info/desc)
+#. (itstool) path: info/desc
+#: C/license.page:8
msgid "Legal information."
msgstr "Información legal."
-#: C/license.page:11(page/title)
+#. (itstool) path: page/title
+#: C/license.page:11
msgid "License"
msgstr "Licencia"
-#: C/license.page:12(page/p)
+#. (itstool) path: page/p
+#: C/license.page:12
msgid ""
"This work is distributed under a CreativeCommons Attribution-Share Alike 3.0 "
"Unported license."
@@ -25938,35 +27962,43 @@ msgstr ""
"Este trabajo está distribuido bajo una licencia Creative Commons Compartir-"
"Igual 3.0 sin soporte."
-#: C/license.page:20(page/p)
+#. (itstool) path: page/p
+#: C/license.page:20
msgid "You are free:"
msgstr "Es libre de:"
-#: C/license.page:25(item/title)
+#. (itstool) path: item/title
+#: C/license.page:25
msgid "<em>To share</em>"
msgstr "Compartir"
-#: C/license.page:26(item/p)
+#. (itstool) path: item/p
+#: C/license.page:26
msgid "To copy, distribute and transmit the work."
msgstr "Copiar, distribuir y comunicar públicamente la obra"
-#: C/license.page:29(item/title)
+#. (itstool) path: item/title
+#: C/license.page:29
msgid "<em>To remix</em>"
msgstr "Hacer obras derivadas"
-#: C/license.page:30(item/p)
+#. (itstool) path: item/p
+#: C/license.page:30
msgid "To adapt the work."
msgstr "Adaptar el trabajo."
-#: C/license.page:33(page/p)
+#. (itstool) path: page/p
+#: C/license.page:33
msgid "Under the following conditions:"
msgstr "Bajo las siguientes condiciones:"
-#: C/license.page:38(item/title)
+#. (itstool) path: item/title
+#: C/license.page:38
msgid "<em>Attribution</em>"
msgstr "Atribución"
-#: C/license.page:39(item/p)
+#. (itstool) path: item/p
+#: C/license.page:39
msgid ""
"You must attribute the work in the manner specified by the author or "
"licensor (but not in any way that suggests that they endorse you or your use "
@@ -25976,11 +28008,13 @@ msgstr ""
"autor o el licenciador (pero no de una manera que sugiera que tiene su apoyo "
"o apoyan el uso que hace de su obra)."
-#: C/license.page:46(item/title)
+#. (itstool) path: item/title
+#: C/license.page:46
msgid "<em>Share Alike</em>"
msgstr "Compartir igual"
-#: C/license.page:47(item/p)
+#. (itstool) path: item/p
+#: C/license.page:47
msgid ""
"If you alter, transform, or build upon this work, you may distribute the "
"resulting work only under the same, similar or a compatible license."
@@ -25988,7 +28022,8 @@ msgstr ""
"Si altera, transforma, o se basa en este trabajo, puede distribuir el "
"trabajo resultante sólo bajo una licencia igual, similar o compatible."
-#: C/license.page:53(page/p)
+#. (itstool) path: page/p
+#: C/license.page:53
msgid ""
"For the full text of the license, see the <link href=\"http://"
"creativecommons.org/licenses/by-sa/3.0/legalcode\">CreativeCommons website</"
@@ -26000,7 +28035,8 @@ msgstr ""
"CreativeCommons</link>, o lea el <link href=\"http://creativecommons.org/"
"licenses/by-sa/3.0/\">resumen de Commons</link> completo."
-#: C/license.page:60(note/p)
+#. (itstool) path: note/p
+#: C/license.page:60
msgid ""
"As a special exception, the copyright holders give you permission to copy, "
"modify, and distribute the example code contained in this documentation "
@@ -26010,52 +28046,43 @@ msgstr ""
"el permiso de copiar, modificar, y distribuir el código de ejemplo contenido "
"en esta documentación bajo sus propios términos, sin restricción."
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/linkbutton.c.page:22(media) C/linkbutton.js.page:21(media)
-#: C/linkbutton.py.page:23(media) C/linkbutton.vala.page:21(media)
+#: C/linkbutton.c.page:22 C/linkbutton.js.page:21 C/linkbutton.py.page:23
+#: C/linkbutton.vala.page:21
msgctxt "_"
msgid ""
"external ref='media/linkbutton.png' md5='3712eae8953e87c65a6aa74503b8e32b'"
msgstr ""
"external ref='media/linkbutton.png' md5='3712eae8953e87c65a6aa74503b8e32b'"
-#: C/linkbutton.c.page:7(info/title)
+#. (itstool) path: info/title
+#: C/linkbutton.c.page:7
msgctxt "text"
msgid "LinkButton (C)"
msgstr "LinkButton (C)"
-#: C/linkbutton.c.page:17(info/desc) C/linkbutton.vala.page:17(info/desc)
+#. (itstool) path: info/desc
+#: C/linkbutton.c.page:17 C/linkbutton.vala.page:17
msgid "Create buttons bound to a URL"
msgstr "Crear botones asociados a un URL"
-#: C/linkbutton.c.page:20(page/title) C/linkbutton.js.page:20(page/title)
-#: C/linkbutton.py.page:21(page/title) C/linkbutton.vala.page:20(page/title)
+#. (itstool) path: page/title
+#: C/linkbutton.c.page:20 C/linkbutton.js.page:20 C/linkbutton.py.page:21
+#: C/linkbutton.vala.page:20
msgid "LinkButton"
msgstr "LinkButton"
-#: C/linkbutton.c.page:23(page/p)
+#. (itstool) path: page/p
+#: C/linkbutton.c.page:23
msgid "This button links to the GNOME live webpage."
msgstr "Este botón enlaza con la página web de GNOME Live."
-#: C/linkbutton.c.page:25(page/code)
+#. (itstool) path: page/code
+#: C/linkbutton.c.page:25
#, no-wrap
msgid ""
"\n"
@@ -26132,7 +28159,8 @@ msgstr ""
" return status;\n"
"}\n"
-#: C/linkbutton.c.page:33(item/p)
+#. (itstool) path: item/p
+#: C/linkbutton.c.page:33
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkLinkButton.html"
"\">GtkLinkButton</link>"
@@ -26140,20 +28168,24 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkLinkButton.html"
"\">GtkLinkButton</link>"
-#: C/linkbutton.js.page:7(info/title)
+#. (itstool) path: info/title
+#: C/linkbutton.js.page:7
msgctxt "text"
msgid "LinkButton (JavaScript)"
msgstr "LinkButton (JavaScript)"
-#: C/linkbutton.js.page:17(info/desc)
+#. (itstool) path: info/desc
+#: C/linkbutton.js.page:17
msgid "A button that links to a web page"
msgstr "Un botón que enlaza con una página web"
-#: C/linkbutton.js.page:22(page/p)
+#. (itstool) path: page/p
+#: C/linkbutton.js.page:22
msgid "A button that links to live.gnome.org."
msgstr "Un botón que enlaza con live.gnome.org."
-#: C/linkbutton.js.page:24(page/code)
+#. (itstool) path: page/code
+#: C/linkbutton.js.page:24
#, no-wrap
msgid ""
"#!/usr/bin/gjs\n"
@@ -26268,7 +28300,8 @@ msgstr ""
"let app = new LinkButtonExample ();\n"
"app.application.run (ARGV);\n"
-#: C/linkbutton.js.page:31(item/p)
+#. (itstool) path: item/p
+#: C/linkbutton.js.page:31
msgid ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.LinkButton."
"html\">Gtk.LinkButton</link>"
@@ -26276,27 +28309,65 @@ msgstr ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.LinkButton."
"html\">Gtk.LinkButton</link>"
-#: C/linkbutton.py.page:7(info/title)
+#. (itstool) path: info/title
+#: C/linkbutton.py.page:7
msgctxt "text"
msgid "LinkButton (Python)"
msgstr "LinkButton (Python)"
-#: C/linkbutton.py.page:18(info/desc)
+#. (itstool) path: info/desc
+#: C/linkbutton.py.page:18
msgid "A button bound to an URL"
msgstr "Un botón asociado a un URL"
-#: C/linkbutton.py.page:24(page/p)
+#. (itstool) path: page/p
+#: C/linkbutton.py.page:24
msgid "A button that links to a web page."
msgstr "Un botón que enlaza con una página web."
-#: C/linkbutton.py.page:31(section/code)
+#. (itstool) path: section/code
+#: C/linkbutton.py.page:31
#, no-wrap
+#| msgid ""
+#| "from gi.repository import Gtk\n"
+#| "import sys\n"
+#| "\n"
+#| "class MyWindow(Gtk.ApplicationWindow):\n"
+#| " # a window\n"
+#| " def __init__(self, app):\n"
+#| " Gtk.Window.__init__(self, title=\"GNOME LinkButton\", application=app)\n"
+#| " self.set_default_size(250, 50)\n"
+#| "\n"
+#| " # a linkbutton pointing to the given URI\n"
+#| " button = Gtk.LinkButton(uri=\"http://live.gnome.org\")\n"
+#| " # with given text\n"
+#| " button.set_label(\"Link to GNOME live!\")\n"
+#| "\n"
+#| " # add the button to the window\n"
+#| " self.add(button)\n"
+#| "\n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " def __init__(self):\n"
+#| " Gtk.Application.__init__(self)\n"
+#| "\n"
+#| " def do_activate(self):\n"
+#| " win = MyWindow(self)\n"
+#| " win.show_all()\n"
+#| "\n"
+#| " def do_startup (self):\n"
+#| " Gtk.Application.do_startup (self)\n"
+#| "\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
" # a window\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"GNOME LinkButton\", application=app)\n"
" self.set_default_size(250, 50)\n"
@@ -26309,7 +28380,9 @@ msgid ""
" # add the button to the window\n"
" self.add(button)\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -26317,8 +28390,8 @@ msgid ""
" win = MyWindow(self)\n"
" win.show_all()\n"
"\n"
-" def do_startup (self):\n"
-" Gtk.Application.do_startup (self)\n"
+" def do_startup(self):\n"
+" Gtk.Application.do_startup(self)\n"
"\n"
"app = MyApplication()\n"
"exit_status = app.run(sys.argv)\n"
@@ -26327,8 +28400,10 @@ msgstr ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
" # a window\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"GNOME LinkButton\", application=app)\n"
" self.set_default_size(250, 50)\n"
@@ -26341,7 +28416,9 @@ msgstr ""
" # add the button to the window\n"
" self.add(button)\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -26349,18 +28426,20 @@ msgstr ""
" win = MyWindow(self)\n"
" win.show_all()\n"
"\n"
-" def do_startup (self):\n"
-" Gtk.Application.do_startup (self)\n"
+" def do_startup(self):\n"
+" Gtk.Application.do_startup(self)\n"
"\n"
"app = MyApplication()\n"
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/linkbutton.py.page:35(section/title)
+#. (itstool) path: section/title
+#: C/linkbutton.py.page:35
msgid "Useful methods for a LinkButton widget"
msgstr "Métodos útiles para un widget «LinkButton»"
-#: C/linkbutton.py.page:37(item/p)
+#. (itstool) path: item/p
+#: C/linkbutton.py.page:37
msgid ""
"<code>get_visited()</code> returns the 'visited' state (<code>True</code> or "
"<code>False</code>) of the URI where the LinkButton points. The button "
@@ -26370,7 +28449,8 @@ msgstr ""
"o <code>False</code>) del URI al que el «LinkButton» apunta. El botón se "
"vuelve «visitado» cuando se pulsa."
-#: C/linkbutton.py.page:38(item/p)
+#. (itstool) path: item/p
+#: C/linkbutton.py.page:38
msgid ""
"<code>set_visited(True)</code> sets the 'visited' state of the URI where the "
"LinkButton points as <code>True</code> (analogously for <code>False</code>)."
@@ -26379,7 +28459,8 @@ msgstr ""
"el LinkButton apunta a <code>True</code> (análogamente para <code>False</"
"code>)."
-#: C/linkbutton.py.page:39(item/p)
+#. (itstool) path: item/p
+#: C/linkbutton.py.page:39
msgid ""
"Each time the button is clicked, the signal <code>\"activate-link\"</code> "
"is emitted. For an explanation of signals and callback functions, see <link "
@@ -26389,7 +28470,8 @@ msgstr ""
"code>. Para obtener una explicación de señales y funciones de retorno de "
"llamada, consulte la <link xref=\"signals-callbacks.py\"/>."
-#: C/linkbutton.py.page:47(item/p)
+#. (itstool) path: item/p
+#: C/linkbutton.py.page:47
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkLinkButton.html"
"\">GtkLinkButton</link>"
@@ -26397,16 +28479,19 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkLinkButton.html"
"\">GtkLinkButton</link>"
-#: C/linkbutton.vala.page:7(info/title)
+#. (itstool) path: info/title
+#: C/linkbutton.vala.page:7
msgctxt "text"
msgid "LinkButton (Vala)"
msgstr "LinkButton (Vala)"
-#: C/linkbutton.vala.page:22(page/p)
+#. (itstool) path: page/p
+#: C/linkbutton.vala.page:22
msgid "This button links to GNOME live."
msgstr "Un botón que enlaza con GNOME live."
-#: C/linkbutton.vala.page:24(page/code)
+#. (itstool) path: page/code
+#: C/linkbutton.vala.page:24
#, no-wrap
msgid ""
"/* This is the application. */\n"
@@ -26453,7 +28538,8 @@ msgstr ""
"\treturn new MyApplication ().run (args);\n"
"}\n"
-#: C/linkbutton.vala.page:29(item/p)
+#. (itstool) path: item/p
+#: C/linkbutton.vala.page:29
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.LinkButton.html\">Gtk."
"LinkButton</link>"
@@ -26461,37 +28547,43 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.LinkButton.html\">Gtk."
"LinkButton</link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#: C/magic-mirror.vala.page:46(media)
+#: C/magic-mirror.vala.page:46
msgctxt "_"
msgid ""
"external ref='media/magic-mirror.png' md5='8171faea6ed3b6ddac0da084c29e4e22'"
msgstr ""
"external ref='media/magic-mirror.png' md5='8171faea6ed3b6ddac0da084c29e4e22'"
-#: C/magic-mirror.vala.page:7(info/title)
+#. (itstool) path: info/title
+#: C/magic-mirror.vala.page:7
msgctxt "text"
msgid "Magic mirror (Vala)"
msgstr "Espejo mágico (Vala)"
-#: C/magic-mirror.vala.page:10(info/desc)
+#. (itstool) path: info/desc
+#: C/magic-mirror.vala.page:10
msgid "Use your webcam as a mirror using the GStreamer framework and GTK+"
msgstr ""
"Utilice su cámara web como un espejo usando el entorno de trabajo GStreamer "
"y GTK+"
-#: C/magic-mirror.vala.page:14(credit/name)
+#. (itstool) path: credit/name
+#: C/magic-mirror.vala.page:14
msgid "Daniel G. Siegel"
msgstr "Daniel G. Siegel"
-#: C/magic-mirror.vala.page:28(page/title)
+#. (itstool) path: page/title
+#: C/magic-mirror.vala.page:28
msgid "Magic mirror"
msgstr "Espejo mágico"
-#: C/magic-mirror.vala.page:31(synopsis/p)
+#. (itstool) path: synopsis/p
+#: C/magic-mirror.vala.page:31
msgid ""
"<em>Your mirror just fell off the wall and broke into a thousand pieces — "
"but you need a mirror to shave your beard off or add some makeup! You only "
@@ -26502,7 +28594,8 @@ msgstr ""
"necesita un espejo para afeitarse o para maquillarse. Solo tiene 15 minutos "
"antes de coger el autobús para ir al trabajo. ¿Qué puede hacer?</em>"
-#: C/magic-mirror.vala.page:32(synopsis/p)
+#. (itstool) path: synopsis/p
+#: C/magic-mirror.vala.page:32
msgid ""
"In this tutorial, we're going to make a program which lets you use your "
"webcam as a mirror. You will learn how to:"
@@ -26510,30 +28603,36 @@ msgstr ""
"En este tutorial se va a hacer un programa que le permite usar su cámara web "
"como un espejo. Aprenderá a:"
-#: C/magic-mirror.vala.page:34(item/p)
+#. (itstool) path: item/p
+#: C/magic-mirror.vala.page:34
msgid "Create a GTK+ application"
msgstr "Crear una aplicación GTK+"
-#: C/magic-mirror.vala.page:35(item/p)
+#. (itstool) path: item/p
+#: C/magic-mirror.vala.page:35
msgid "Access your webcam using GStreamer and embed the result into a window"
msgstr ""
"Acceder a su cámara web usando GStreamer y empotrar el resultado en una "
"ventana"
-#: C/magic-mirror.vala.page:36(item/p)
+#. (itstool) path: item/p
+#: C/magic-mirror.vala.page:36
msgid "Grab photos off your webcam"
msgstr "Obtener las fotos de su cámara web"
-#: C/magic-mirror.vala.page:41(item/p)
+#. (itstool) path: item/p
+#: C/magic-mirror.vala.page:41
msgid "Installed copies of GTK, GStreamer, and a Vala compiler"
msgstr "Copias instaladas de GTK, GStreamer y de un compilador de Vala"
-#: C/magic-mirror.vala.page:42(item/p)
+#. (itstool) path: item/p
+#: C/magic-mirror.vala.page:42
msgid "Basic knowledge of an object-oriented programming language"
msgstr ""
"Conocimientos básico de un lenguaje de programación orientado a objetos"
-#: C/magic-mirror.vala.page:56(item/p)
+#. (itstool) path: item/p
+#: C/magic-mirror.vala.page:56
msgid ""
"Choose <gui>GTK+ (simple)</gui> from the <gui>Vala</gui> tab, click "
"<gui>Forward</gui>, and fill out your details on the next few pages. Use "
@@ -26543,7 +28642,8 @@ msgstr ""
"<gui>Adelante</gui> y rellene los detalles en las siguientes páginas. Use "
"<file>afinador-guitarra</file> como nombre de proyecto y de carpeta."
-#: C/magic-mirror.vala.page:59(item/p)
+#. (itstool) path: item/p
+#: C/magic-mirror.vala.page:59
msgid ""
"Disable <gui>Use GtkBuilder for user interface</gui> as we will create the "
"UI manually in this tutorial. Check the <link xref=\"guitar-tuner.vala"
@@ -26554,7 +28654,8 @@ msgstr ""
"Revise el tutorial <link xref=\"guitar-tuner.vala\">afinador-guitarra</link> "
"usando el constructor de interfaces."
-#: C/magic-mirror.vala.page:64(item/p)
+#. (itstool) path: item/p
+#: C/magic-mirror.vala.page:64
msgid ""
"Make sure that <gui>Configure external packages</gui> is selected. On the "
"next page, select <em>gstreamer-0.10</em> from the list to include the "
@@ -26564,7 +28665,8 @@ msgstr ""
"En la siguiente página, seleccione <em>gstreamermm-0.10</em> de la lista "
"para incluir la biblioteca <app>GStreamer</app> en su proyecto."
-#: C/magic-mirror.vala.page:68(item/p)
+#. (itstool) path: item/p
+#: C/magic-mirror.vala.page:68
msgid ""
"Click <gui>Apply</gui> and the project will be created for you. Open "
"<file>src/magic_mirror.vala</file> from the <gui>Project</gui> or <gui>File</"
@@ -26574,7 +28676,8 @@ msgstr ""
"magico.vala</file> desde las pestañas <gui>Proyecto</gui> o <gui>Archivo</"
"gui>. Debería ver algo de código que comience con las líneas:"
-#: C/magic-mirror.vala.page:78(section/p)
+#. (itstool) path: section/p
+#: C/magic-mirror.vala.page:78
msgid ""
"The code loads an (empty) window and shows it. More details are given below; "
"skip this list if you understand the basics:"
@@ -26582,7 +28685,8 @@ msgstr ""
"El código carga una ventana (vacía) y la muestra. A continuación hay más "
"detalles; omita esta lista si entiende los conceptos básicos:"
-#: C/magic-mirror.vala.page:84(item/p)
+#. (itstool) path: item/p
+#: C/magic-mirror.vala.page:84
msgid ""
"The constructor of the <code>Main</code> class creates a new window and sets "
"its title. Afterwards the window is shown and a signal is connected which "
@@ -26593,7 +28697,8 @@ msgstr ""
"que cierra la aplicación si se cierra la ventana. Se verán más señales más "
"adelante."
-#: C/magic-mirror.vala.page:88(item/p)
+#. (itstool) path: item/p
+#: C/magic-mirror.vala.page:88
msgid ""
"The static <code>main</code> function is run by default when you start a "
"Vala application. It calls a few functions which create the Main class, set "
@@ -26608,11 +28713,13 @@ msgstr ""
"interfaz de usuario y empieza a escuchar eventos (como pulsaciones del ratón "
"y del teclado)."
-#: C/magic-mirror.vala.page:97(section/title)
+#. (itstool) path: section/title
+#: C/magic-mirror.vala.page:97
msgid "Access the webcam video stream with GStreamer"
msgstr "Acceder al flujo de vídeo de la cámara web con GStreamer"
-#: C/magic-mirror.vala.page:98(section/p)
+#. (itstool) path: section/p
+#: C/magic-mirror.vala.page:98
msgid ""
"The GStreamer multimedia framework is able to handle video from webcams. "
"Let's add GStreamer to our application and so we can access the video stream."
@@ -26621,7 +28728,8 @@ msgstr ""
"cámaras web. Añada GStreamer a su aplicación y podrá acceder al flujo de "
"vídeo."
-#: C/magic-mirror.vala.page:100(section/code)
+#. (itstool) path: section/code
+#: C/magic-mirror.vala.page:100
#, no-wrap
msgid ""
"\n"
@@ -26672,7 +28780,8 @@ msgstr ""
"\t}\n"
"}\n"
-#: C/magic-mirror.vala.page:125(item/p)
+#. (itstool) path: item/p
+#: C/magic-mirror.vala.page:125
msgid ""
"First we remove the window we created before because GStreamer will take "
"care of showing the picture on screen."
@@ -26680,7 +28789,8 @@ msgstr ""
"Primero se quita la ventana creada anteriormente, ya que GStreamer se "
"encargará de mostrar la imagen en la pantalla."
-#: C/magic-mirror.vala.page:129(item/p)
+#. (itstool) path: item/p
+#: C/magic-mirror.vala.page:129
msgid ""
"Now we are creating a GStreamer element which accesses our webcam. We are "
"using the Camerabin element, which is an all-in-one camera element and is "
@@ -26696,7 +28806,8 @@ msgstr ""
"code> se indica a la tubería de GStreamer que se acaba de crear que empiece "
"a reproducir. Fácil, ¿no?"
-#: C/magic-mirror.vala.page:136(item/p)
+#. (itstool) path: item/p
+#: C/magic-mirror.vala.page:136
msgid ""
"Of course it is also possible to integrate the video more tighly into other "
"windows but that is an advanced topic that includes some details of the X "
@@ -26706,7 +28817,8 @@ msgstr ""
"otras ventanas, pero esto es un tema avanzado que incluye algunos detalles "
"sobre el sistema «X-Window» que aquí se omiten."
-#: C/magic-mirror.vala.page:140(item/p)
+#. (itstool) path: item/p
+#: C/magic-mirror.vala.page:140
msgid ""
"Compile and run it again. You will end up with two windows. In the next step "
"we will integrate the video into the GTK+ window."
@@ -26714,7 +28826,8 @@ msgstr ""
"Compile y ejecute de nuevo. Acabará teniendo dos ventanas. En el siguiente "
"paso, se integrará el vídeo en una ventana de GTK+."
-#: C/magic-mirror.vala.page:150(section/p)
+#. (itstool) path: section/p
+#: C/magic-mirror.vala.page:150
msgid ""
"If you run into problems with the tutorial, compare your code with this "
"<link href=\"magic-mirror/magic-mirror.vala\">reference code</link>. There "
@@ -26730,7 +28843,8 @@ msgstr ""
"implica algunas técnicas avanzadas, y añade botones para iniciar/parar la "
"imagen."
-#: C/magic-mirror.vala.page:157(section/p)
+#. (itstool) path: section/p
+#: C/magic-mirror.vala.page:157
msgid ""
"To find out more about the Vala programming language you might want to check "
"out the <link href=\"http://live.gnome.org/Vala/Tutorial\">Vala Tutorial</"
@@ -26740,11 +28854,13 @@ msgstr ""
"querer revisar el <link href=\"http://live.gnome.org/Vala/Tutorial"
"\">tutorial de Vala</link>."
-#: C/magic-mirror.vala.page:162(section/title)
+#. (itstool) path: section/title
+#: C/magic-mirror.vala.page:162
msgid "Conclusion"
msgstr "Conclusión"
-#: C/magic-mirror.vala.page:163(section/p)
+#. (itstool) path: section/p
+#: C/magic-mirror.vala.page:163
msgid ""
"That's it, you have managed to create a full-featured webcam photo "
"application in 15 minutes. Now you can shave your beard off or add some "
@@ -26758,47 +28874,40 @@ msgstr ""
"impresionar a sus amigos y colegas con una impresionante aplicación que ha "
"hecho en 15 minutos."
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/menubar.c.page:24(media) C/menubar.py.page:28(media)
-#: C/menubar.vala.page:23(media)
+#: C/menubar.c.page:24 C/menubar.py.page:28 C/menubar.vala.page:23
msgctxt "_"
msgid "external ref='media/menubar.png' md5='7b642aaa1628d5e43ab85ac230ac1c78'"
msgstr ""
"external ref='media/menubar.png' md5='7b642aaa1628d5e43ab85ac230ac1c78'"
-#: C/menubar.c.page:7(info/title)
+#. (itstool) path: info/title
+#: C/menubar.c.page:7
msgctxt "text"
msgid "MenuBar (C)"
msgstr "MenuBar (C)"
-#: C/menubar.c.page:19(info/desc) C/menubar.py.page:24(info/desc)
-#: C/menubar.vala.page:19(info/desc)
+#. (itstool) path: info/desc
+#: C/menubar.c.page:19 C/menubar.py.page:24 C/menubar.vala.page:19
msgid "A widget which holds GtkMenuItem widgets"
msgstr "Un widget que contiene widgets «GtkMenuItem»"
-#: C/menubar.c.page:22(page/title) C/menubar.vala.page:22(page/title)
+#. (itstool) path: page/title
+#: C/menubar.c.page:22 C/menubar.vala.page:22
msgid "MenuBar"
msgstr "MenuBar"
-#: C/menubar.c.page:25(page/p) C/menubar.py.page:29(page/p)
-#: C/menubar.vala.page:24(page/p)
+#. (itstool) path: page/p
+#: C/menubar.c.page:25 C/menubar.py.page:29 C/menubar.vala.page:24
msgid "A MenuBar created using XML and GtkBuilder."
msgstr "Una barra de menú usando XML y GtkBuilder."
-#: C/menubar.c.page:26(note/p)
+#. (itstool) path: note/p
+#: C/menubar.c.page:26
msgid ""
"For a more in-depth look at this sample, please do not hesitate to check out "
"the <link xref=\"menubar.vala\">Vala MenuBar</link> and/or <link xref="
@@ -26808,323 +28917,9 @@ msgstr ""
"los tutoriales de la <link xref=\"menubar.vala\">Barra de menú Vala</link> y/"
"o la <link xref=\"menubar.py\">Barra de menú Python</link>."
-#: C/menubar.c.page:30(page/code)
+#. (itstool) path: page/code
+#: C/menubar.c.page:30
#, no-wrap
-#| msgid ""
-#| "\n"
-#| "#include <gtk/gtk.h>\n"
-#| "\n"
-#| "\n"
-#| "\n"
-#| "/* Callback function for the \"copy\" action */\n"
-#| "static void\n"
-#| "copy_callback (GSimpleAction *simple,\n"
-#| " GVariant *parameter,\n"
-#| " gpointer user_data)\n"
-#| "{\n"
-#| " g_print (\"\\\"Copy\\\" activated\\n\");\n"
-#| "}\n"
-#| "\n"
-#| "\n"
-#| "\n"
-#| "/* Callback function for the \"paste\" action */\n"
-#| "static void\n"
-#| "paste_callback (GSimpleAction *simple,\n"
-#| " GVariant *parameter,\n"
-#| " gpointer user_data)\n"
-#| "{\n"
-#| " g_print (\"\\\"Paste\\\" activated\\n\");\n"
-#| "}\n"
-#| "\n"
-#| "\n"
-#| "\n"
-#| "/* Callback function for the \"shape\" action */\n"
-#| "static void\n"
-#| "shape_callback (GSimpleAction *simple,\n"
-#| " GVariant *parameter,\n"
-#| " gpointer user_data)\n"
-#| "{\n"
-#| " /* We first gather the value of the GVariant instance with a string type.\n"
-#| " * The overall goal here is to see if shape is set to line, triangle, etc,\n"
-#| " * and put that value within the variable \"answer\".\n"
-#| " */\n"
-#| " const gchar *answer = g_variant_get_string (parameter, NULL);\n"
-#| " g_printf (\"Shape is set to %s.\\n\", answer);\n"
-#| " /* Note that we set the state of the action */\n"
-#| " g_simple_action_set_state (simple, parameter);\n"
-#| "}\n"
-#| "\n"
-#| "\n"
-#| "\n"
-#| "/* Callback function in which closes the about_dialog created below */\n"
-#| "static void\n"
-#| "on_close (GtkDialog *dialog,\n"
-#| " gint response_id,\n"
-#| " gpointer user_data)\n"
-#| "{\n"
-#| " gtk_widget_destroy (GTK_WIDGET (dialog));\n"
-#| "}\n"
-#| "\n"
-#| "\n"
-#| "\n"
-#| "/* Callback function for the about action (see aboutdialog.c example) */\n"
-#| "static void\n"
-#| "about_callback (GSimpleAction *simple,\n"
-#| " GVariant *parameter,\n"
-#| " gpointer user_data)\n"
-#| "{\n"
-#| " GtkWidget *about_dialog;\n"
-#| "\n"
-#| " about_dialog = gtk_about_dialog_new ();\n"
-#| "\n"
-#| " const gchar *authors[] = {\"GNOME Documentation Team\", NULL};\n"
-#| " const gchar *documenters[] = {\"GNOME Documentation Team\", NULL};\n"
-#| "\n"
-#| " /* Fill in the about_dialog with the desired information */\n"
-#| " gtk_about_dialog_set_program_name (GTK_ABOUT_DIALOG (about_dialog), \"AboutDialog Example\");\n"
-#| " gtk_about_dialog_set_copyright (GTK_ABOUT_DIALOG (about_dialog), \"Copyright \\xc2\\xa9 2012 GNOME
Documentation Team\");\n"
-#| " gtk_about_dialog_set_authors (GTK_ABOUT_DIALOG (about_dialog), authors);\n"
-#| " gtk_about_dialog_set_documenters (GTK_ABOUT_DIALOG (about_dialog), documenters);\n"
-#| " gtk_about_dialog_set_website_label (GTK_ABOUT_DIALOG (about_dialog), \"GNOME Developer Website\");\n"
-#| " gtk_about_dialog_set_website (GTK_ABOUT_DIALOG (about_dialog), \"http://developer.gnome.org\");\n"
-#| "\n"
-#| " /* The \"response\" signal is emitted when the dialog receives a delete event,\n"
-#| " * therefore we connect that signal to the on_close callback function\n"
-#| " * created above.\n"
-#| " */\n"
-#| " g_signal_connect (GTK_DIALOG (about_dialog), \"response\",\n"
-#| " G_CALLBACK (on_close), NULL);\n"
-#| "\n"
-#| " /* Show the about dialog */\n"
-#| " gtk_widget_show (about_dialog);\n"
-#| "}\n"
-#| "\n"
-#| "\n"
-#| "\n"
-#| "static void\n"
-#| "activate (GtkApplication *app,\n"
-#| " gpointer user_data)\n"
-#| "{\n"
-#| " GtkWidget *window;\n"
-#| "\n"
-#| " GSimpleAction *copy_action;\n"
-#| " GSimpleAction *paste_action;\n"
-#| " GSimpleAction *shape_action;\n"
-#| " GSimpleAction *about_action;\n"
-#| "\n"
-#| " /* Create a window with a title and a default size */\n"
-#| " window = gtk_application_window_new (app);\n"
-#| " gtk_window_set_title (GTK_WINDOW (window), \"MenuBar Example\");\n"
-#| " gtk_window_set_default_size (GTK_WINDOW (window), 200, 200);\n"
-#| "\n"
-#| " /* Begin creating the \"copy\" action.\n"
-#| " * Note that it is an action without a state.\n"
-#| " */\n"
-#| " copy_action = g_simple_action_new (\"copy\", NULL);\n"
-#| " /* Connected to a callback function */\n"
-#| " g_signal_connect (copy_action, \"activate\", G_CALLBACK (copy_callback),\n"
-#| " GTK_WINDOW (window));\n"
-#| " /* Added to the window */\n"
-#| " g_action_map_add_action (G_ACTION_MAP (window), G_ACTION (copy_action));\n"
-#| "\n"
-#| " /* Begin creating the \"paste\" action.\n"
-#| " * Note that it is an action without a state.\n"
-#| " */\n"
-#| " paste_action = g_simple_action_new (\"paste\", NULL);\n"
-#| " /* Connect the action to a callback function */\n"
-#| " g_signal_connect (paste_action, \"activate\", G_CALLBACK (paste_callback),\n"
-#| " GTK_WINDOW (window));\n"
-#| " /* Add it to the window */\n"
-#| " g_action_map_add_action (G_ACTION_MAP (window), G_ACTION (paste_action));\n"
-#| "\n"
-#| " /* Begin creating the \"shape\" action.\n"
-#| " * Note that it is an action with a state.\n"
-#| " * First we state that the parameter type of the simple action is a string.\n"
-#| " * When using g_variant_type_new, it is appropriate to free the return value\n"
-#| " * once you're done with it.\n"
-#| " */\n"
-#| " GVariantType *type_string = g_variant_type_new (\"s\");\n"
-#| " /* parameters for the g_simple_action_new_stateful are: (name, parameter type,\n"
-#| " * initial state).\n"
-#| " */\n"
-#| " shape_action = g_simple_action_new_stateful (\"shape\", type_string,\n"
-#| " g_variant_new_string (\"line\"));\n"
-#| " /* Connect the action to a callback function */\n"
-#| " g_signal_connect (shape_action, \"activate\", G_CALLBACK (shape_callback),\n"
-#| " GTK_WINDOW (window));\n"
-#| " /* Add it to the window */\n"
-#| " g_action_map_add_action (G_ACTION_MAP (window), G_ACTION (shape_action));\n"
-#| " g_variant_type_free (type_string);\n"
-#| "\n"
-#| " /* Begin creating the \"about\" action.\n"
-#| " * Note that it is an action without a state.\n"
-#| " */\n"
-#| " about_action = g_simple_action_new (\"about\", NULL);\n"
-#| " /* Connect the action to a callback function */\n"
-#| " g_signal_connect (about_action, \"activate\", G_CALLBACK (about_callback),\n"
-#| " GTK_WINDOW (window));\n"
-#| " /* Add it to the window */\n"
-#| " g_action_map_add_action (G_ACTION_MAP (window), G_ACTION (about_action));\n"
-#| "\n"
-#| " gtk_widget_show_all (window);\n"
-#| "}\n"
-#| "\n"
-#| "\n"
-#| "\n"
-#| "/* Callback function for the \"new\" action */\n"
-#| "static void\n"
-#| "new_callback (GSimpleAction *simple,\n"
-#| " GVariant *parameter,\n"
-#| " gpointer user_data)\n"
-#| "{\n"
-#| " g_print (\"You clicked \\\"New\\\"\\n\");\n"
-#| "}\n"
-#| "\n"
-#| "\n"
-#| "\n"
-#| "/* Callback function for the \"quit\" action */\n"
-#| "static void\n"
-#| "quit_callback (GSimpleAction *simple,\n"
-#| " GVariant *parameter,\n"
-#| " gpointer user_data)\n"
-#| "{\n"
-#| " GApplication *application = user_data;\n"
-#| "\n"
-#| " g_print (\"You clicked \\\"Quit\\\"\\n\");\n"
-#| " g_application_quit (application);\n"
-#| "}\n"
-#| "\n"
-#| "\n"
-#| "\n"
-#| "/* Callback function for the \"state\" action */\n"
-#| "static void\n"
-#| "state_callback (GSimpleAction *simple,\n"
-#| " GVariant *parameter,\n"
-#| " gpointer user_data)\n"
-#| "{\n"
-#| " /* The two possibilies in this case for the \"answer\" variable are either\n"
-#| " * \"on\" or \"off\".\n"
-#| " */\n"
-#| " const gchar *answer = g_variant_get_string (parameter, NULL);\n"
-#| " /* We print the information to the user */\n"
-#| " g_printf (\"State is set to %s.\\n\", answer);\n"
-#| " /* Note that we set the state of the action */\n"
-#| " g_simple_action_set_state (simple, parameter);\n"
-#| "}\n"
-#| "\n"
-#| "\n"
-#| "\n"
-#| "/* Callback function for the \"awesome\" action */\n"
-#| "static void\n"
-#| "awesome_callback (GSimpleAction *simple,\n"
-#| " GVariant *parameter,\n"
-#| " gpointer user_data)\n"
-#| "{\n"
-#| " GVariant *action_state = g_action_get_state (G_ACTION (simple));\n"
-#| " gboolean active = g_variant_get_boolean (action_state);\n"
-#| " GVariant *new_state = g_variant_new_boolean (!active);\n"
-#| " /* Set the new state for the action.\n"
-#| " * (Keeps track of whether it was last checked or unchecked).\n"
-#| " */\n"
-#| " g_simple_action_set_state (simple, new_state);\n"
-#| "\n"
-#| " if (active)\n"
-#| " g_print (\"You unchecked \\\"Awesome\\\"\\n\");\n"
-#| " else\n"
-#| " g_print (\"You checked \\\"Awesome\\\"\\n\");\n"
-#| "}\n"
-#| "\n"
-#| "\n"
-#| "\n"
-#| "/* Startup function for the menu we are creating in this sample */\n"
-#| "static void\n"
-#| "startup (GApplication *app,\n"
-#| " gpointer user_data)\n"
-#| "{\n"
-#| " /* Initialize variables */\n"
-#| " GSimpleAction *new_action;\n"
-#| " GSimpleAction *quit_action;\n"
-#| " GSimpleAction *state_action;\n"
-#| " GSimpleAction *awesome_action;\n"
-#| "\n"
-#| " GtkBuilder *builder;\n"
-#| "\n"
-#| " GError *error = NULL;\n"
-#| "\n"
-#| " /* Begin creating the \"new\" action.\n"
-#| " * Note that it is an action without a state.\n"
-#| " */\n"
-#| " new_action = g_simple_action_new (\"new\", NULL);\n"
-#| " g_signal_connect (new_action, \"activate\", G_CALLBACK (new_callback), app);\n"
-#| " /* It is added to the overall application */\n"
-#| " g_action_map_add_action (G_ACTION_MAP (app), G_ACTION (new_action));\n"
-#| "\n"
-#| " /* Begin creating the \"quit\" action.\n"
-#| " * Note that it is an action without a state.\n"
-#| " */\n"
-#| " quit_action = g_simple_action_new (\"quit\", NULL);\n"
-#| " g_signal_connect (quit_action, \"activate\", G_CALLBACK (quit_callback), app);\n"
-#| " /* It is added to the overall application */\n"
-#| " g_action_map_add_action (G_ACTION_MAP (app), G_ACTION (quit_action));\n"
-#| "\n"
-#| " /* Begin creating the \"state\" action.\n"
-#| " * Note that it is an action with a state.\n"
-#| " */\n"
-#| " GVariantType *type_string2 = g_variant_type_new (\"s\");\n"
-#| " state_action = g_simple_action_new_stateful (\"state\", type_string2,\n"
-#| " g_variant_new_string (\"off\"));\n"
-#| " g_signal_connect (state_action, \"activate\", G_CALLBACK (state_callback), app);\n"
-#| " /* It is added to the overall application */\n"
-#| " g_action_map_add_action (G_ACTION_MAP (app), G_ACTION (state_action));\n"
-#| " g_variant_type_free (type_string2);\n"
-#| "\n"
-#| " /* Begin creating the \"awesome\" action.\n"
-#| " * Note that it is an action with a state.\n"
-#| " */\n"
-#| " awesome_action = g_simple_action_new_stateful (\"awesome\", NULL, g_variant_new_boolean (FALSE));\n"
-#| " g_signal_connect (awesome_action, \"activate\", G_CALLBACK (awesome_callback), app);\n"
-#| " /* It is added to the overall application */\n"
-#| " g_action_map_add_action (G_ACTION_MAP (app), G_ACTION (awesome_action));\n"
-#| "\n"
-#| " /* A builder to add the User Interface designed with GLADE to the grid: */\n"
-#| " builder = gtk_builder_new ();\n"
-#| " /* Get the file (if it is there):\n"
-#| " * Note: you must make sure that the file is in the current directory for\n"
-#| " * this to work. The function used here returns a value within our variable\n"
-#| " * \"error\", and it is equal to zero if an error is indeed found.\n"
-#| " */\n"
-#| " gtk_builder_add_from_file (builder, \"menubar.ui\", &error);\n"
-#| " if (error != NULL) {\n"
-#| " g_print (\"File not found.\\n\");\n"
-#| " g_error_free (error);\n"
-#| " }\n"
-#| "\n"
-#| " /* Extract the menubar */\n"
-#| " GObject *menubar = gtk_builder_get_object (builder, \"menubar\");\n"
-#| " gtk_application_set_menubar (GTK_APPLICATION (app), G_MENU_MODEL (menubar));\n"
-#| "\n"
-#| " /* Extract the appmenu */\n"
-#| " GObject *appmenu = gtk_builder_get_object (builder, \"appmenu\");\n"
-#| " gtk_application_set_app_menu (GTK_APPLICATION (app), G_MENU_MODEL (appmenu));\n"
-#| "}\n"
-#| "\n"
-#| "\n"
-#| "\n"
-#| "/* Startup function for the application */\n"
-#| "int\n"
-#| "main (int argc, char **argv)\n"
-#| "{\n"
-#| " GtkApplication *app;\n"
-#| " int status;\n"
-#| "\n"
-#| " app = gtk_application_new (\"org.gtk.example\", G_APPLICATION_FLAGS_NONE);\n"
-#| " g_signal_connect (app, \"activate\", G_CALLBACK (activate), NULL);\n"
-#| " g_signal_connect (app, \"startup\", G_CALLBACK (startup), NULL);\n"
-#| " status = g_application_run (G_APPLICATION (app), argc, argv);\n"
-#| " g_object_unref (app);\n"
-#| "\n"
-#| " return status;\n"
-#| "}\n"
msgid ""
"\n"
"#include <gtk/gtk.h>\n"
@@ -27756,7 +29551,8 @@ msgstr ""
" return status;\n"
"}\n"
-#: C/menubar.c.page:36(item/p) C/scrolledwindow.c.page:33(item/p)
+#. (itstool) path: item/p
+#: C/menubar.c.page:36 C/scrolledwindow.c.page:33
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkApplication.html"
"\">GtkApplication</link>"
@@ -27764,7 +29560,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkApplication.html"
"\">GtkApplication</link>"
-#: C/menubar.c.page:39(item/p)
+#. (itstool) path: item/p
+#: C/menubar.c.page:39
msgid ""
"<link href=\"http://developer.gnome.org/gtk/stable/GtkAboutDialog.html"
"\">GtkAboutDialog</link>"
@@ -27772,7 +29569,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk/stable/GtkAboutDialog.html"
"\">GtkAboutDialog</link>"
-#: C/menubar.c.page:40(item/p)
+#. (itstool) path: item/p
+#: C/menubar.c.page:40
msgid ""
"<link href=\"http://developer.gnome.org/glib/stable/glib-GVariantType.html"
"\">GtkVariantType</link>"
@@ -27780,16 +29578,12 @@ msgstr ""
"<link href=\"http://developer.gnome.org/glib/stable/glib-GVariantType.html"
"\">GtkVariantType</link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/menubar.py.page:131(media) C/menubar.vala.page:133(media)
+#: C/menubar.py.page:131 C/menubar.vala.page:133
msgctxt "_"
msgid ""
"external ref='media/menubar_choices.png' "
@@ -27798,32 +29592,39 @@ msgstr ""
"external ref='media/menubar_choices.png' "
"md5='47cdfa12caf85ba20dd3e835bd7f893f'"
-#: C/menubar.py.page:7(info/title)
+#. (itstool) path: info/title
+#: C/menubar.py.page:7
msgctxt "text"
msgid "MenuBar (Python)"
msgstr "MenuBar (Python)"
-#: C/menubar.py.page:27(page/title)
+#. (itstool) path: page/title
+#: C/menubar.py.page:27
msgid "MenuBar created using XML and GtkBuilder"
msgstr "Una barra de menú creada usando XML y GtkBuilder."
-#: C/menubar.py.page:33(section/title) C/menubar.vala.page:28(section/title)
+#. (itstool) path: section/title
+#: C/menubar.py.page:33 C/menubar.vala.page:28
msgid "Create a MenuBar using XML"
msgstr "Crear una barra de menú usando XML"
-#: C/menubar.py.page:34(section/p) C/menubar.vala.page:29(section/p)
+#. (itstool) path: section/p
+#: C/menubar.py.page:34 C/menubar.vala.page:29
msgid "To create the menubar using XML:"
msgstr "Para crear la barra de menú usando XML:"
-#: C/menubar.py.page:36(item/p) C/menubar.vala.page:31(item/p)
+#. (itstool) path: item/p
+#: C/menubar.py.page:36 C/menubar.vala.page:31
msgid "Create <file>menubar.ui</file> using your favorite text editor."
msgstr "Cree <file>menubar.ui</file> usando su editor de texto favorito."
-#: C/menubar.py.page:37(item/p) C/menubar.vala.page:32(item/p)
+#. (itstool) path: item/p
+#: C/menubar.py.page:37 C/menubar.vala.page:32
msgid "Enter the following line at the top of the file:"
msgstr "Añada la siguiente línea en la parte superior del archivo:"
-#: C/menubar.py.page:38(item/code) C/menubar.vala.page:33(item/code)
+#. (itstool) path: item/code
+#: C/menubar.py.page:38 C/menubar.vala.page:33
#, no-wrap
msgid ""
"\n"
@@ -27832,7 +29633,8 @@ msgstr ""
"\n"
"<?xml version=\"1.0\"? encoding=\"UTF-8\"?>"
-#: C/menubar.py.page:41(item/p) C/menubar.vala.page:36(item/p)
+#. (itstool) path: item/p
+#: C/menubar.py.page:41 C/menubar.vala.page:36
msgid ""
"We want to create the interface which will contain our menubar and its "
"submenus. Our menubar will contain <gui>File</gui>, <gui>Edit</gui>, "
@@ -27844,7 +29646,8 @@ msgstr ""
"<gui>Choices</gui> y <gui>Help</gui>. Se le añade el siguiente código XML al "
"archivo:"
-#: C/menubar.py.page:42(item/code) C/menubar.vala.page:37(item/code)
+#. (itstool) path: item/code
+#: C/menubar.py.page:42 C/menubar.vala.page:37
#, no-wrap
msgid ""
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
@@ -27883,7 +29686,8 @@ msgstr ""
" </menu>\n"
"</interface>\n"
-#: C/menubar.py.page:44(item/p)
+#. (itstool) path: item/p
+#: C/menubar.py.page:44
msgid ""
"Now we will create the .py file and use GtkBuilder to import the "
"<file>menubar.ui</file> we just created."
@@ -27891,22 +29695,64 @@ msgstr ""
"Ahora se crea el archivo .py y se usa «GtkBuilder» para importar el "
"<file>menubar.ui</file> que acaba de crear."
-#: C/menubar.py.page:48(section/title) C/menubar.vala.page:42(section/title)
+#. (itstool) path: section/title
+#: C/menubar.py.page:48 C/menubar.vala.page:42
msgid "Add the MenuBar to the window using GtkBuilder"
msgstr "Añadir la barra de menú a la ventana usando «GtkBuilder»"
-#: C/menubar.py.page:49(section/code)
+#. (itstool) path: section/code
+#: C/menubar.py.page:49
#, no-wrap
+#| msgid ""
+#| "from gi.repository import Gtk\n"
+#| "import sys\n"
+#| "\n"
+#| "class MyWindow(Gtk.ApplicationWindow):\n"
+#| " def __init__(self, app):\n"
+#| " Gtk.Window.__init__(self, title=\"MenuBar Example\", application=app)\n"
+#| " self.set_default_size(200, 200)\n"
+#| "\n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " def __init__(self):\n"
+#| " Gtk.Application.__init__(self)\n"
+#| "\n"
+#| " def do_activate(self):\n"
+#| " win = MyWindow(self)\n"
+#| " win.show_all()\n"
+#| "\n"
+#| " def do_startup(self):\n"
+#| " Gtk.Application.do_startup(self)\n"
+#| "\n"
+#| " # a builder to add the UI designed with Glade to the grid:\n"
+#| " builder = Gtk.Builder()\n"
+#| " # get the file (if it is there)\n"
+#| " try:\n"
+#| " builder.add_from_file(\"menubar_basis.ui\")\n"
+#| " except:\n"
+#| " print \"file not found\"\n"
+#| " sys.exit()\n"
+#| "\n"
+#| " # we use the method Gtk.Application.set_menubar(menubar) to add the menubar\n"
+#| " # to the application (Note: NOT the window!)\n"
+#| " self.set_menubar(builder.get_object(\"menubar\"))\n"
+#| "\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"MenuBar Example\", application=app)\n"
" self.set_default_size(200, 200)\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -27937,12 +29783,16 @@ msgstr ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"MenuBar Example\", application=app)\n"
" self.set_default_size(200, 200)\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -27970,7 +29820,8 @@ msgstr ""
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/menubar.py.page:50(section/p)
+#. (itstool) path: section/p
+#: C/menubar.py.page:50
msgid ""
"Now run the python application. It should look like the picture at the top "
"of this page."
@@ -27978,11 +29829,13 @@ msgstr ""
"Ahora ejecute la aplicación de Python. Se debería ver como la imagen en la "
"parte superior de esta página."
-#: C/menubar.py.page:54(section/title) C/menubar.vala.page:50(section/title)
+#. (itstool) path: section/title
+#: C/menubar.py.page:54 C/menubar.vala.page:50
msgid "Add items to the menus"
msgstr "Añadir elementos a los menús"
-#: C/menubar.py.page:55(section/p) C/menubar.vala.page:51(section/p)
+#. (itstool) path: section/p
+#: C/menubar.py.page:55 C/menubar.vala.page:51
msgid ""
"We start off by adding 2 menuitems to the <gui>File</gui> menu: <gui>New</"
"gui> and <gui>Quit</gui>. We do this by adding a <code>section</code> to the "
@@ -27995,11 +29848,14 @@ msgstr ""
"submenú <code>File</code> con estos elementos. El <file>menubar.ui</file> "
"debe verse así (líneas 6 a 13 inclusive conforman la sección nueva):"
-#: C/menubar.py.page:58(listing/title)
+#. (itstool) path: listing/title
+#: C/menubar.py.page:58
msgid "menubar.ui"
msgstr "menubar.ui"
-#: C/menubar.py.page:59(listing/code) C/menubar.vala.page:52(section/code)
+#. (itstool) path: listing/code
+#. (itstool) path: section/code
+#: C/menubar.py.page:59 C/menubar.vala.page:52
#, no-wrap
msgid ""
"\n"
@@ -28056,7 +29912,8 @@ msgstr ""
" </menu>\n"
"</interface>"
-#: C/menubar.py.page:87(section/p)
+#. (itstool) path: section/p
+#: C/menubar.py.page:87
msgid ""
"Following this pattern, you can now add a <code>Copy</code> and a "
"<code>Paste</code> item to the <code>Edit</code> submenu, and an "
@@ -28066,11 +29923,13 @@ msgstr ""
"<code>Paste</code> al submenú <code>Edit</code>, y un elemento <code>About</"
"code> al submenú <code>Help</code>."
-#: C/menubar.py.page:92(section/title) C/menubar.vala.page:86(section/title)
+#. (itstool) path: section/title
+#: C/menubar.py.page:92 C/menubar.vala.page:86
msgid "Setup actions"
msgstr "Configurar las acciones"
-#: C/menubar.py.page:94(section/p)
+#. (itstool) path: section/p
+#: C/menubar.py.page:94
msgid ""
"We now create the actions for \"New\" and \"Quit\" connected to a callback "
"function in the Python file; for instance we create \"new\" as:"
@@ -28078,7 +29937,8 @@ msgstr ""
"Ahora se crean las acciones para «New» y «Quit», conectadas a una función de "
"retorno de llamada en el archivo de Python; por ejemplo se crea «new» así:"
-#: C/menubar.py.page:95(section/code)
+#. (itstool) path: section/code
+#: C/menubar.py.page:95
#, no-wrap
msgid ""
"\n"
@@ -28089,11 +29949,13 @@ msgstr ""
"new_action = Gio.SimpleAction.new(\"new\", None)\n"
"new_action.connect(\"activate\", self.new_callback)"
-#: C/menubar.py.page:99(section/p)
+#. (itstool) path: section/p
+#: C/menubar.py.page:99
msgid "And we create the callback function of \"new\" as"
msgstr "Y se crea la función de retorno de llamada de «new» como"
-#: C/menubar.py.page:100(section/code)
+#. (itstool) path: section/code
+#: C/menubar.py.page:100
#, no-wrap
msgid ""
"\n"
@@ -28104,7 +29966,8 @@ msgstr ""
"def new_callback(self, action, parameter):\n"
" print \"You clicked \\\"New\\\"\""
-#: C/menubar.py.page:104(section/p)
+#. (itstool) path: section/p
+#: C/menubar.py.page:104
msgid ""
"Now, in the XML file, we connect the menu items to the actions in the XML "
"file by adding the \"action\" attribute:"
@@ -28112,7 +29975,8 @@ msgstr ""
"Ahora, en el archivo XML, se conectan los elementos del menú a las acciones "
"en el archivo XML añadiendo el atributo «action»:"
-#: C/menubar.py.page:105(section/code)
+#. (itstool) path: section/code
+#: C/menubar.py.page:105
#, no-wrap
msgid ""
"\n"
@@ -28127,7 +29991,8 @@ msgstr ""
" <attribute name=\"action\">app.new</attribute>\n"
"</item>"
-#: C/menubar.py.page:111(section/p)
+#. (itstool) path: section/p
+#: C/menubar.py.page:111
msgid ""
"Note that for an action that is relative to the application, we use the "
"prefix <code>app.</code>; for actions that are relative to the window we use "
@@ -28137,7 +30002,8 @@ msgstr ""
"prefijo <code>app.</code>; para acciones relativas a la ventana, se usa el "
"prefijo <code>win.</code>."
-#: C/menubar.py.page:113(section/p)
+#. (itstool) path: section/p
+#: C/menubar.py.page:113
msgid ""
"Finally, in the Python file, we add the action to the application or to the "
"window - so for instance <code>app.new</code> will be added to the "
@@ -28147,7 +30013,8 @@ msgstr ""
"la ventana: por ejemplo <code>app.new</code> se añadirá a la aplicación en "
"el método <code>do_startup(self)</code> así:"
-#: C/menubar.py.page:114(section/code)
+#. (itstool) path: section/code
+#: C/menubar.py.page:114
#, no-wrap
msgid ""
"\n"
@@ -28156,7 +30023,8 @@ msgstr ""
"\n"
"self.add_action(new_action)"
-#: C/menubar.py.page:117(section/p)
+#. (itstool) path: section/p
+#: C/menubar.py.page:117
msgid ""
"See <link xref=\"signals-callbacks.py\"/> for a more detailed explanation of "
"signals and callbacks."
@@ -28164,11 +30032,13 @@ msgstr ""
"Consulte la <link xref=\"signals-callbacks.py\"/> para obtener una "
"explicación más detallada sobre señales y retornos de llamada."
-#: C/menubar.py.page:121(section/title) C/menubar.vala.page:138(section/title)
+#. (itstool) path: section/title
+#: C/menubar.py.page:121 C/menubar.vala.page:138
msgid "Actions: Application or Window?"
msgstr "Acciones: ¿aplicación o ventana?"
-#: C/menubar.py.page:122(section/p) C/menubar.vala.page:139(section/p)
+#. (itstool) path: section/p
+#: C/menubar.py.page:122 C/menubar.vala.page:139
msgid ""
"Above, we created the \"new\" and \"open\" actions as part of the "
"MyApplication class. Actions which control the application itself, such as "
@@ -28178,7 +30048,8 @@ msgstr ""
"«MyApplication». Las acciones que controlan la aplicación en sí, como «quit» "
"deben crearse de manera similar."
-#: C/menubar.py.page:124(section/p) C/menubar.vala.page:142(section/p)
+#. (itstool) path: section/p
+#: C/menubar.py.page:124 C/menubar.vala.page:142
msgid ""
"Some actions, such as \"copy\" and \"paste\" deal with the window, not the "
"application. Window actions should be created as part of the window class."
@@ -28187,7 +30058,8 @@ msgstr ""
"aplicación. Las acciones de ventanas deben crearse como parte de la clase de "
"la ventana."
-#: C/menubar.py.page:126(section/p)
+#. (itstool) path: section/p
+#: C/menubar.py.page:126
msgid ""
"The complete example files contain both application actions and window "
"actions. The window actions are the ones usually included in the <link xref="
@@ -28207,11 +30079,13 @@ msgstr ""
"«Open», y estos están vinculados a las mismas acciones que los elementos de "
"la barra de menú del mismo nombre."
-#: C/menubar.py.page:130(section/title) C/menubar.vala.page:132(section/title)
+#. (itstool) path: section/title
+#: C/menubar.py.page:130 C/menubar.vala.page:132
msgid "Choices submenu and items with state"
msgstr "Submenú «choices» y elementos con estado"
-#: C/menubar.py.page:132(section/p)
+#. (itstool) path: section/p
+#: C/menubar.py.page:132
msgid ""
"Lines 30 to 80 inclusive of the <link xref=\"menubar.py#xml-code\"/> "
"demonstrate the XML code used to create the UI for <gui>Choices</gui> menu."
@@ -28219,7 +30093,8 @@ msgstr ""
"Las líneas 30 a 80 inclusive del <link xref=\"menubar.py#xml-code\"/> "
"demuestran el código XML usado para crear la IU del menú <gui>Choices</gui>."
-#: C/menubar.py.page:134(section/p)
+#. (itstool) path: section/p
+#: C/menubar.py.page:134
msgid ""
"The actions created so far are <em>stateless</em>, that is they do not "
"retain or depend on a state given by the action itself. The actions we need "
@@ -28231,7 +30106,8 @@ msgstr ""
"acciones que necesita crear para el submenú «Choices», por otro lado, "
"<em>tienen estado</em>. Un ejemplo de creación de una acción con estado es:"
-#: C/menubar.py.page:135(section/code)
+#. (itstool) path: section/code
+#: C/menubar.py.page:135
#, no-wrap
msgid ""
"\n"
@@ -28240,7 +30116,8 @@ msgstr ""
"\n"
"shape_action = Gio.SimpleAction.new_stateful(\"shape\", GLib.VariantType.new('s'),
GLib.Variant.new_string('line'))"
-#: C/menubar.py.page:138(section/p)
+#. (itstool) path: section/p
+#: C/menubar.py.page:138
msgid ""
"where the variables of the method are: name, parameter type (in this case, a "
"string - see <link href=\"http://developer.gnome.org/glib/unstable/glib-"
@@ -28258,7 +30135,8 @@ msgstr ""
"code>, y así sucesivamente, consulte <link href=\"http://developer.gnome.org/"
"glib/unstable/glib-GVariant.html\">aquí</link> para ver una lista completa)."
-#: C/menubar.py.page:140(section/p)
+#. (itstool) path: section/p
+#: C/menubar.py.page:140
msgid ""
"After creating the stateful SimpleAction we connect it to the callback "
"function and we add it to the window (or the application, if it is the "
@@ -28268,7 +30146,8 @@ msgstr ""
"de retorno de llamada y se añade a la ventana (o la aplicación, si es el "
"caso), como antes:"
-#: C/menubar.py.page:142(section/code)
+#. (itstool) path: section/code
+#: C/menubar.py.page:142
#, no-wrap
msgid ""
"\n"
@@ -28279,11 +30158,13 @@ msgstr ""
"shape_action.connect(\"activate\", self.shape_callback)\n"
"self.add_action(shape_action)"
-#: C/menubar.py.page:149(section/title) C/menubar.vala.page:153(section/title)
+#. (itstool) path: section/title
+#: C/menubar.py.page:149 C/menubar.vala.page:153
msgid "Complete XML UI file for this example"
msgstr "Archivo de IU XML completo de este ejemplo"
-#: C/menubar.py.page:150(section/code) C/menubar.vala.page:154(section/code)
+#. (itstool) path: section/code
+#: C/menubar.py.page:150 C/menubar.vala.page:154
#, no-wrap
msgid ""
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
@@ -28494,19 +30375,183 @@ msgstr ""
" </menu>\n"
"</interface>\n"
-#: C/menubar.py.page:154(section/title)
+#. (itstool) path: section/title
+#: C/menubar.py.page:154
msgid "Complete Python file for this example"
msgstr "Archivo de Python completo de este ejemplo"
-#: C/menubar.py.page:155(section/code)
+#. (itstool) path: section/code
+#: C/menubar.py.page:155
#, no-wrap
+#| msgid ""
+#| "from gi.repository import Gtk\n"
+#| "from gi.repository import GLib\n"
+#| "from gi.repository import Gio\n"
+#| "import sys\n"
+#| "\n"
+#| "class MyWindow(Gtk.ApplicationWindow):\n"
+#| " def __init__(self, app):\n"
+#| " Gtk.Window.__init__(self, title=\"MenuBar Example\", application=app)\n"
+#| " self.set_default_size(200, 200)\n"
+#| "\n"
+#| " # action without a state created (name, parameter type)\n"
+#| " copy_action = Gio.SimpleAction.new(\"copy\", None)\n"
+#| " # connected with the callback function\n"
+#| " copy_action.connect(\"activate\", self.copy_callback)\n"
+#| " # added to the window\n"
+#| " self.add_action(copy_action)\n"
+#| "\n"
+#| " # action without a state created (name, parameter type)\n"
+#| " paste_action = Gio.SimpleAction.new(\"paste\", None)\n"
+#| " # connected with the callback function\n"
+#| " paste_action.connect(\"activate\", self.paste_callback)\n"
+#| " # added to the window\n"
+#| " self.add_action(paste_action)\n"
+#| "\n"
+#| " # action with a state created (name, parameter type, initial state)\n"
+#| " shape_action = Gio.SimpleAction.new_stateful(\"shape\", GLib.VariantType.new('s'),
GLib.Variant.new_string('line'))\n"
+#| " # connected to the callback function\n"
+#| " shape_action.connect(\"activate\", self.shape_callback)\n"
+#| " # added to the window\n"
+#| " self.add_action(shape_action)\n"
+#| "\n"
+#| " # action with a state created\n"
+#| " about_action = Gio.SimpleAction.new(\"about\", None)\n"
+#| " # action connected to the callback function\n"
+#| " about_action.connect(\"activate\", self.about_callback)\n"
+#| " # action added to the application\n"
+#| " self.add_action(about_action)\n"
+#| "\n"
+#| " # callback function for copy_action\n"
+#| " def copy_callback(self, action, parameter):\n"
+#| " print \"\\\"Copy\\\" activated\"\n"
+#| "\n"
+#| " # callback function for paste_action\n"
+#| " def paste_callback(self, action, parameter):\n"
+#| " print \"\\\"Paste\\\" activated\"\n"
+#| "\n"
+#| " # callback function for shape_action\n"
+#| " def shape_callback(self, action, parameter):\n"
+#| "\t\tprint \"Shape is set to\", parameter.get_string()\n"
+#| "\t\t# Note that we set the state of the action!\n"
+#| "\t\taction.set_state(parameter)\n"
+#| "\n"
+#| " # callback function for about (see the AboutDialog example)\n"
+#| " def about_callback(self, action, parameter):\n"
+#| " # a Gtk.AboutDialog\n"
+#| " aboutdialog = Gtk.AboutDialog()\n"
+#| "\n"
+#| " # lists of authors and documenters (will be used later)\n"
+#| " authors = [\"GNOME Documentation Team\"]\n"
+#| " documenters = [\"GNOME Documentation Team\"]\n"
+#| "\n"
+#| " # we fill in the aboutdialog\n"
+#| " aboutdialog.set_program_name(\"MenuBar Example\")\n"
+#| " aboutdialog.set_copyright(\"Copyright \\xc2\\xa9 2012 GNOME Documentation Team\")\n"
+#| " aboutdialog.set_authors(authors)\n"
+#| " aboutdialog.set_documenters(documenters)\n"
+#| " aboutdialog.set_website(\"http://developer.gnome.org\")\n"
+#| " aboutdialog.set_website_label(\"GNOME Developer Website\")\n"
+#| "\n"
+#| " # to close the aboutdialog when \"close\" is clicked we connect the\n"
+#| " # \"response\" signal to on_close\n"
+#| " aboutdialog.connect(\"response\", self.on_close)\n"
+#| " # show the aboutdialog\n"
+#| " aboutdialog.show()\n"
+#| "\n"
+#| " # a callback function to destroy the aboutdialog\n"
+#| " def on_close(self, action, parameter):\n"
+#| " action.destroy()\n"
+#| "\n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " def __init__(self):\n"
+#| " Gtk.Application.__init__(self)\n"
+#| "\n"
+#| " def do_activate(self):\n"
+#| " win = MyWindow(self)\n"
+#| " win.show_all()\n"
+#| "\n"
+#| " def do_startup(self):\n"
+#| " # FIRST THING TO DO: do_startup()\n"
+#| " Gtk.Application.do_startup(self)\n"
+#| "\n"
+#| " # action without a state created\n"
+#| " new_action = Gio.SimpleAction.new(\"new\", None)\n"
+#| " # action connected to the callback function\n"
+#| " new_action.connect(\"activate\", self.new_callback)\n"
+#| " # action added to the application\n"
+#| " self.add_action(new_action)\n"
+#| "\n"
+#| " # action without a state created\n"
+#| " quit_action = Gio.SimpleAction.new(\"quit\", None)\n"
+#| " # action connected to the callback function\n"
+#| " quit_action.connect(\"activate\", self.quit_callback)\n"
+#| " # action added to the application\n"
+#| " self.add_action(quit_action)\n"
+#| "\n"
+#| " # action with a state created\n"
+#| " state_action = Gio.SimpleAction.new_stateful(\"state\", GLib.VariantType.new('s'),
GLib.Variant.new_string('off'))\n"
+#| " # action connected to the callback function\n"
+#| " state_action.connect(\"activate\", self.state_callback)\n"
+#| " # action added to the application\n"
+#| " self.add_action(state_action)\n"
+#| "\n"
+#| " # action with a state created\n"
+#| " awesome_action = Gio.SimpleAction.new_stateful(\"awesome\", None,
GLib.Variant.new_boolean(False))\n"
+#| " # action connected to the callback function\n"
+#| " awesome_action.connect(\"activate\", self.awesome_callback)\n"
+#| " # action added to the application\n"
+#| " self.add_action(awesome_action)\n"
+#| "\n"
+#| " # a builder to add the UI designed with Glade to the grid:\n"
+#| " builder = Gtk.Builder()\n"
+#| " # get the file (if it is there)\n"
+#| " try:\n"
+#| " builder.add_from_file(\"menubar.ui\")\n"
+#| " except:\n"
+#| " print \"file not found\"\n"
+#| " sys.exit()\n"
+#| "\n"
+#| " # we use the method Gtk.Application.set_menubar(menubar) to add the menubar\n"
+#| " # and the menu to the application (Note: NOT the window!)\n"
+#| " self.set_menubar(builder.get_object(\"menubar\"))\n"
+#| " self.set_app_menu(builder.get_object(\"appmenu\"))\n"
+#| "\n"
+#| " # callback function for new\n"
+#| " def new_callback(self, action, parameter):\n"
+#| " print \"You clicked \\\"New\\\"\"\n"
+#| "\n"
+#| " # callback function for quit\n"
+#| " def quit_callback(self, action, parameter):\n"
+#| " print \"You clicked \\\"Quit\\\"\"\n"
+#| " sys.exit()\n"
+#| "\n"
+#| " # callback function for state\n"
+#| " def state_callback(self, action, parameter):\n"
+#| " print \"State is set to\", parameter.get_string()\n"
+#| " action.set_state(parameter)\n"
+#| "\n"
+#| " # callback function for awesome\n"
+#| " def awesome_callback(self, action, parameter):\n"
+#| " action.set_state(GLib.Variant.new_boolean(not action.get_state()))\n"
+#| " if action.get_state().get_boolean() is True:\n"
+#| " print \"You checked \\\"Awesome\\\"\"\n"
+#| " else:\n"
+#| " print \"You unchecked \\\"Awesome\\\"\"\n"
+#| "\n"
+#| "\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"from gi.repository import Gtk\n"
"from gi.repository import GLib\n"
"from gi.repository import Gio\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"MenuBar Example\", application=app)\n"
" self.set_default_size(200, 200)\n"
@@ -28526,7 +30571,8 @@ msgid ""
" self.add_action(paste_action)\n"
"\n"
" # action with a state created (name, parameter type, initial state)\n"
-" shape_action = Gio.SimpleAction.new_stateful(\"shape\", GLib.VariantType.new('s'),
GLib.Variant.new_string('line'))\n"
+" shape_action = Gio.SimpleAction.new_stateful(\n"
+" \"shape\", GLib.VariantType.new('s'), GLib.Variant.new_string('line'))\n"
" # connected to the callback function\n"
" shape_action.connect(\"activate\", self.shape_callback)\n"
" # added to the window\n"
@@ -28549,9 +30595,9 @@ msgid ""
"\n"
" # callback function for shape_action\n"
" def shape_callback(self, action, parameter):\n"
-"\t\tprint \"Shape is set to\", parameter.get_string()\n"
-"\t\t# Note that we set the state of the action!\n"
-"\t\taction.set_state(parameter)\n"
+" print \"Shape is set to\", parameter.get_string()\n"
+" # Note that we set the state of the action!\n"
+" action.set_state(parameter)\n"
"\n"
" # callback function for about (see the AboutDialog example)\n"
" def about_callback(self, action, parameter):\n"
@@ -28564,7 +30610,8 @@ msgid ""
"\n"
" # we fill in the aboutdialog\n"
" aboutdialog.set_program_name(\"MenuBar Example\")\n"
-" aboutdialog.set_copyright(\"Copyright \\xc2\\xa9 2012 GNOME Documentation Team\")\n"
+" aboutdialog.set_copyright(\n"
+" \"Copyright \\xc2\\xa9 2012 GNOME Documentation Team\")\n"
" aboutdialog.set_authors(authors)\n"
" aboutdialog.set_documenters(documenters)\n"
" aboutdialog.set_website(\"http://developer.gnome.org\")\n"
@@ -28580,7 +30627,9 @@ msgid ""
" def on_close(self, action, parameter):\n"
" action.destroy()\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -28607,14 +30656,16 @@ msgid ""
" self.add_action(quit_action)\n"
"\n"
" # action with a state created\n"
-" state_action = Gio.SimpleAction.new_stateful(\"state\", GLib.VariantType.new('s'),
GLib.Variant.new_string('off'))\n"
+" state_action = Gio.SimpleAction.new_stateful(\n"
+" \"state\", GLib.VariantType.new('s'), GLib.Variant.new_string('off'))\n"
" # action connected to the callback function\n"
" state_action.connect(\"activate\", self.state_callback)\n"
" # action added to the application\n"
" self.add_action(state_action)\n"
"\n"
" # action with a state created\n"
-" awesome_action = Gio.SimpleAction.new_stateful(\"awesome\", None,
GLib.Variant.new_boolean(False))\n"
+" awesome_action = Gio.SimpleAction.new_stateful(\n"
+" \"awesome\", None, GLib.Variant.new_boolean(False))\n"
" # action connected to the callback function\n"
" awesome_action.connect(\"activate\", self.awesome_callback)\n"
" # action added to the application\n"
@@ -28666,7 +30717,9 @@ msgstr ""
"from gi.repository import Gio\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"MenuBar Example\", application=app)\n"
" self.set_default_size(200, 200)\n"
@@ -28686,7 +30739,8 @@ msgstr ""
" self.add_action(paste_action)\n"
"\n"
" # action with a state created (name, parameter type, initial state)\n"
-" shape_action = Gio.SimpleAction.new_stateful(\"shape\", GLib.VariantType.new('s'),
GLib.Variant.new_string('line'))\n"
+" shape_action = Gio.SimpleAction.new_stateful(\n"
+" \"shape\", GLib.VariantType.new('s'), GLib.Variant.new_string('line'))\n"
" # connected to the callback function\n"
" shape_action.connect(\"activate\", self.shape_callback)\n"
" # added to the window\n"
@@ -28709,9 +30763,9 @@ msgstr ""
"\n"
" # callback function for shape_action\n"
" def shape_callback(self, action, parameter):\n"
-"\t\tprint \"Shape is set to\", parameter.get_string()\n"
-"\t\t# Note that we set the state of the action!\n"
-"\t\taction.set_state(parameter)\n"
+" print \"Shape is set to\", parameter.get_string()\n"
+" # Note that we set the state of the action!\n"
+" action.set_state(parameter)\n"
"\n"
" # callback function for about (see the AboutDialog example)\n"
" def about_callback(self, action, parameter):\n"
@@ -28724,7 +30778,8 @@ msgstr ""
"\n"
" # we fill in the aboutdialog\n"
" aboutdialog.set_program_name(\"MenuBar Example\")\n"
-" aboutdialog.set_copyright(\"Copyright \\xc2\\xa9 2012 GNOME Documentation Team\")\n"
+" aboutdialog.set_copyright(\n"
+" \"Copyright \\xc2\\xa9 2012 GNOME Documentation Team\")\n"
" aboutdialog.set_authors(authors)\n"
" aboutdialog.set_documenters(documenters)\n"
" aboutdialog.set_website(\"http://developer.gnome.org\")\n"
@@ -28740,7 +30795,9 @@ msgstr ""
" def on_close(self, action, parameter):\n"
" action.destroy()\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -28767,14 +30824,16 @@ msgstr ""
" self.add_action(quit_action)\n"
"\n"
" # action with a state created\n"
-" state_action = Gio.SimpleAction.new_stateful(\"state\", GLib.VariantType.new('s'),
GLib.Variant.new_string('off'))\n"
+" state_action = Gio.SimpleAction.new_stateful(\n"
+" \"state\", GLib.VariantType.new('s'), GLib.Variant.new_string('off'))\n"
" # action connected to the callback function\n"
" state_action.connect(\"activate\", self.state_callback)\n"
" # action added to the application\n"
" self.add_action(state_action)\n"
"\n"
" # action with a state created\n"
-" awesome_action = Gio.SimpleAction.new_stateful(\"awesome\", None,
GLib.Variant.new_boolean(False))\n"
+" awesome_action = Gio.SimpleAction.new_stateful(\n"
+" \"awesome\", None, GLib.Variant.new_boolean(False))\n"
" # action connected to the callback function\n"
" awesome_action.connect(\"activate\", self.awesome_callback)\n"
" # action added to the application\n"
@@ -28821,11 +30880,13 @@ msgstr ""
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/menubar.py.page:158(section/title)
+#. (itstool) path: section/title
+#: C/menubar.py.page:158
msgid "Mnemonics and Accelerators"
msgstr "Atajos y aceleradores"
-#: C/menubar.py.page:159(section/p) C/menubar.vala.page:161(section/p)
+#. (itstool) path: section/p
+#: C/menubar.py.page:159 C/menubar.vala.page:161
msgid ""
"Labels may contain mnemonics. Mnemonics are underlined characters in the "
"label, used for keyboard navigation. Mnemonics are created by placing an "
@@ -28837,7 +30898,8 @@ msgstr ""
"guión bajo antes del carácter de atajo. Por ejemplo «_Archivo» en lugar de "
"solo «Archivo» en el atributo «label» del «menubar.ui»."
-#: C/menubar.py.page:160(section/p) C/menubar.vala.page:162(section/p)
+#. (itstool) path: section/p
+#: C/menubar.py.page:160 C/menubar.vala.page:162
msgid ""
"The mnemonics are visible when you press the <key>Alt</key> key. Pressing "
"<keyseq><key>Alt</key><key>F</key></keyseq> will open the <gui>File</gui> "
@@ -28847,7 +30909,8 @@ msgstr ""
"<keyseq><key>Alt</key><key>A</key></keyseq> abrirá el menú <gui>Archivo</"
"gui>."
-#: C/menubar.py.page:162(section/p) C/menubar.vala.page:167(section/p)
+#. (itstool) path: section/p
+#: C/menubar.py.page:162 C/menubar.vala.page:167
msgid ""
"Accelerators can be explicitly added in the UI definitions. For example, it "
"is common to be able to quit an application by pressing <keyseq><key>Ctrl</"
@@ -28862,7 +30925,8 @@ msgstr ""
"acelerador a la definición de IU, simplemente añádale un atributo «accel» al "
"elemento."
-#: C/menubar.py.page:163(section/p) C/menubar.vala.page:168(section/p)
+#. (itstool) path: section/p
+#: C/menubar.py.page:163 C/menubar.vala.page:168
msgid ""
"<code mime=\"application/xml\"><attribute name=\"accel\">&lt;"
"Primary&gt;q</attribute></code> will create the <keyseq><key>Ctrl</"
@@ -28876,7 +30940,8 @@ msgstr ""
"la etiqueta <code>Quit</code>. Aquí, «Primary» se refiere a la tecla "
"<key>Ctrl</key> en una PC o <key>⌘</key> en una Mac."
-#: C/menubar.py.page:165(section/code) C/menubar.vala.page:170(section/code)
+#. (itstool) path: section/code
+#: C/menubar.py.page:165 C/menubar.vala.page:170
#, no-wrap
msgid ""
"\n"
@@ -28893,11 +30958,13 @@ msgstr ""
" <attribute name=\"accel\">&lt;Primary&gt;q</attribute>\n"
"</item>"
-#: C/menubar.py.page:173(section/title) C/menubar.vala.page:178(section/title)
+#. (itstool) path: section/title
+#: C/menubar.py.page:173 C/menubar.vala.page:178
msgid "Translatable strings"
msgstr "Cadenas traducibles"
-#: C/menubar.py.page:174(section/p) C/menubar.vala.page:179(section/p)
+#. (itstool) path: section/p
+#: C/menubar.py.page:174 C/menubar.vala.page:179
msgid ""
"Since GNOME applications are being translated into <link href=\"http://l10n."
"gnome.org/languages/\">many languages</link>, it is important that the "
@@ -28909,12 +30976,14 @@ msgstr ""
"en su aplicación puedan traducirse. Para hacer una etiqueta traducible, "
"simplemente añada <code>translatable=\"yes\"</code>:"
-#: C/menubar.py.page:178(section/code)
+#. (itstool) path: section/code
+#: C/menubar.py.page:178
#, no-wrap
msgid "<attribute name=\"label\" translatable=\"yes\">Quit</attribute>"
msgstr "<attribute name=\"label\" translatable=\"yes\">Quit</attribute>"
-#: C/menubar.py.page:185(item/p)
+#. (itstool) path: item/p
+#: C/menubar.py.page:185
msgid ""
"<link href=\"http://developer.gnome.org/gio/unstable/GSimpleAction.html"
"\">GSimpleAction</link>"
@@ -28922,7 +30991,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gio/unstable/GSimpleAction.html"
"\">GSimpleAction</link>"
-#: C/menubar.py.page:186(item/p) C/toolbar_builder.py.page:196(item/p)
+#. (itstool) path: item/p
+#: C/menubar.py.page:186 C/toolbar_builder.py.page:196
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkBuilder.html"
"\">GtkBuilder</link>"
@@ -28930,12 +31000,14 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkBuilder.html"
"\">GtkBuilder</link>"
-#: C/menubar.vala.page:7(info/title)
+#. (itstool) path: info/title
+#: C/menubar.vala.page:7
msgctxt "text"
msgid "MenuBar (Vala)"
msgstr "MenuBar (Vala)"
-#: C/menubar.vala.page:39(item/p)
+#. (itstool) path: item/p
+#: C/menubar.vala.page:39
msgid ""
"Now we will create the .vala file and use GtkBuilder to import the "
"<file>menubar.ui</file> we just created."
@@ -28943,7 +31015,8 @@ msgstr ""
"Ahora se creará el archivo «.vala» y se usará «GtkBuilder» para importar el "
"<file>menubar.ui</file> que acaba de crear."
-#: C/menubar.vala.page:43(section/code)
+#. (itstool) path: section/code
+#: C/menubar.vala.page:43
#, no-wrap
msgid ""
"public class MyWindow : Gtk.ApplicationWindow {\n"
@@ -29014,7 +31087,8 @@ msgstr ""
"\treturn new MyApplication ().run (args);\n"
"}\n"
-#: C/menubar.vala.page:44(section/p)
+#. (itstool) path: section/p
+#: C/menubar.vala.page:44
msgid ""
"Now, compile the vala file, and run it. The application should look like the "
"picture at the top of this page."
@@ -29022,7 +31096,8 @@ msgstr ""
"Ahora, compile el archivo vala y ejecútelo. La aplicación debería verse como "
"la imagen en la parte superior de esta página."
-#: C/menubar.vala.page:79(section/p)
+#. (itstool) path: section/p
+#: C/menubar.vala.page:79
msgid ""
"Following this pattern, you can now add a <code>Copy</code> and a "
"<code>Paste</code> item to the <code>Edit</code> submenu, and an "
@@ -29036,7 +31111,8 @@ msgstr ""
"\"menubar.vala#choices\">submenú Choices</link> hasta más adelante en el "
"tutorial."
-#: C/menubar.vala.page:81(note/p)
+#. (itstool) path: note/p
+#: C/menubar.vala.page:81
msgid ""
"You do not need to recompile the vala program if you only made changes to "
"the UI file. Just run your previously compiled application, and the UI "
@@ -29046,11 +31122,13 @@ msgstr ""
"UI. Simplemente ejecute su aplicación anteriormente compilada y se "
"reflejarán los cambios en la IU."
-#: C/menubar.vala.page:87(section/p)
+#. (itstool) path: section/p
+#: C/menubar.vala.page:87
msgid "This is a three step process."
msgstr "Este es un proceso de tres pasos."
-#: C/menubar.vala.page:89(item/p)
+#. (itstool) path: item/p
+#: C/menubar.vala.page:89
msgid ""
"First we create the ActionEntry array in the MyApplication class. An "
"ActionEntry consists of:"
@@ -29058,11 +31136,13 @@ msgstr ""
"Primero se crea la matriz «ActionEntry» en la clase «MyApplication». Un "
"«ActionEntry» consiste de:"
-#: C/menubar.vala.page:92(item/p)
+#. (itstool) path: item/p
+#: C/menubar.vala.page:92
msgid "the \"action name\" (mandatory)"
msgstr "el «nombre de la acción» (obligatorio)"
-#: C/menubar.vala.page:93(item/p)
+#. (itstool) path: item/p
+#: C/menubar.vala.page:93
msgid ""
"the callback function to connect to the \"activate\" signal of the action "
"(if applicable)"
@@ -29070,7 +31150,8 @@ msgstr ""
"la función de retorno de llamada que conectar a la señal «activate» de la "
"acción (si corresponde)"
-#: C/menubar.vala.page:94(item/p)
+#. (itstool) path: item/p
+#: C/menubar.vala.page:94
msgid ""
"the type of the parameter that must be passed to the activate function for "
"the action (if applicable)"
@@ -29078,16 +31159,19 @@ msgstr ""
"el tipo de parámetro que debe pasarse a la función «activate» para la acción "
"(si corresponde)"
-#: C/menubar.vala.page:95(item/p)
+#. (itstool) path: item/p
+#: C/menubar.vala.page:95
msgid "the initial state for this action (if applicable)"
msgstr "el estado inicial de la acción (si corresponde)"
-#: C/menubar.vala.page:96(item/p)
+#. (itstool) path: item/p
+#: C/menubar.vala.page:96
msgid "the callback to connect to \"change-state\" signal (if applicable)"
msgstr ""
"el retorno de llamada que conectar a la señal «change-state» (si corresponde)"
-#: C/menubar.vala.page:98(item/code)
+#. (itstool) path: item/code
+#: C/menubar.vala.page:98
#, no-wrap
msgid ""
"\n"
@@ -29102,13 +31186,15 @@ msgstr ""
" { \"quit\", quit_cb }\n"
"};"
-#: C/menubar.vala.page:105(item/p)
+#. (itstool) path: item/p
+#: C/menubar.vala.page:105
msgid "Second, we create the callback functions the actions are connected to."
msgstr ""
"Segundo, se crean las funciones de retorno de llamada a las que se conectan "
"las acciones."
-#: C/menubar.vala.page:106(item/code)
+#. (itstool) path: item/code
+#: C/menubar.vala.page:106
#, no-wrap
msgid ""
"\n"
@@ -29133,7 +31219,8 @@ msgstr ""
" //this.quit (); **Bug #674090**\n"
"}"
-#: C/menubar.vala.page:117(item/p)
+#. (itstool) path: item/p
+#: C/menubar.vala.page:117
msgid ""
"And lastly, we connect the menu items to the actions in the XML file by "
"adding the \"action\" attribute:"
@@ -29141,7 +31228,8 @@ msgstr ""
"Y por último, se conectan los elementos del menú a las acciones en el "
"archivo XML añadiendo el atributo «action»:"
-#: C/menubar.vala.page:118(item/code)
+#. (itstool) path: item/code
+#: C/menubar.vala.page:118
#, no-wrap
msgid ""
"\n"
@@ -29164,7 +31252,8 @@ msgstr ""
" <attribute name=\"action\">app.quit</attribute>\n"
"</item>"
-#: C/menubar.vala.page:134(section/p)
+#. (itstool) path: section/p
+#: C/menubar.vala.page:134
msgid ""
"Lines 30 to 80 inclusive of the <link xref=\"menubar.vala#xml-code\"/> "
"demonstrate the XML code used to create the UI for <gui>Choices</gui> menu."
@@ -29172,7 +31261,8 @@ msgstr ""
"Las líneas 30 a 80 inclusive del <link xref=\"menubar.vala#xml-code\"/> "
"demuestran el código XML usado para crear la IU del menú <gui>Choices</gui>."
-#: C/menubar.vala.page:145(section/p)
+#. (itstool) path: section/p
+#: C/menubar.vala.page:145
msgid ""
"The complete example files contain both application actions and window "
"applications. The window actions are the ones usually included in the <link "
@@ -29192,11 +31282,13 @@ msgstr ""
"elementos «New» y «Open», vinculados a las mismas acciones que los elementos "
"de la barra de menú del mismo nombre."
-#: C/menubar.vala.page:156(section/title)
+#. (itstool) path: section/title
+#: C/menubar.vala.page:156
msgid "Complete Vala file for this example"
msgstr "Archivo de vala completo para este ejemplo"
-#: C/menubar.vala.page:157(section/code)
+#. (itstool) path: section/code
+#: C/menubar.vala.page:157
#, no-wrap
msgid ""
"public class MyWindow : Gtk.ApplicationWindow {\n"
@@ -29399,15 +31491,18 @@ msgstr ""
"\treturn new MyApplication ().run (args);\n"
"}\n"
-#: C/menubar.vala.page:160(section/title)
+#. (itstool) path: section/title
+#: C/menubar.vala.page:160
msgid "Mnemonics"
msgstr "Mnemónicos"
-#: C/menubar.vala.page:166(section/title)
+#. (itstool) path: section/title
+#: C/menubar.vala.page:166
msgid "Accelerators"
msgstr "Aceleradores"
-#: C/menubar.vala.page:182(section/p)
+#. (itstool) path: section/p
+#: C/menubar.vala.page:182
msgid ""
"<code mime=\"application/xml\"><attribute name=\"label\" translatable="
"\"yes\">Quit</attribute></code>"
@@ -29415,7 +31510,8 @@ msgstr ""
"<code mime=\"application/xml\"><attribute name=\"label\" translatable="
"\"yes\">Quit</attribute></code>"
-#: C/menubar.vala.page:191(item/p)
+#. (itstool) path: item/p
+#: C/menubar.vala.page:191
msgid ""
"<link href=\"http://valadoc.org/gio-2.0/GLib.ActionEntry.html\">Glib."
"ActionEntry</link>"
@@ -29423,56 +31519,47 @@ msgstr ""
"<link href=\"http://valadoc.org/gio-2.0/GLib.ActionEntry.html\">Glib."
"ActionEntry</link>"
-#: C/menubar.vala.page:192(item/p)
+#. (itstool) path: item/p
+#: C/menubar.vala.page:192
msgid ""
"<link href=\"http://valadoc.org/gio-2.0/Gtk.Builder.html\">Gtk.Builder</link>"
msgstr ""
"<link href=\"http://valadoc.org/gio-2.0/Gtk.Builder.html\">Gtk.Builder</link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/menubutton.c.page:21(media) C/menubutton.js.page:21(media)
-#: C/menubutton.py.page:28(media) C/menubutton.vala.page:21(media)
+#: C/menubutton.c.page:21 C/menubutton.js.page:21 C/menubutton.py.page:28
+#: C/menubutton.vala.page:21
msgctxt "_"
msgid ""
"external ref='media/menubutton.png' md5='99eedc5ef2d6c56d32ca9ae7f3f3320f'"
msgstr ""
"external ref='media/menubutton.png' md5='99eedc5ef2d6c56d32ca9ae7f3f3320f'"
-#: C/menubutton.c.page:7(info/title) C/menubutton.py.page:7(info/title)
+#. (itstool) path: info/title
+#: C/menubutton.c.page:7 C/menubutton.py.page:7
msgctxt "text"
msgid "MenuButton"
msgstr "MenuButton"
-#: C/menubutton.c.page:17(info/desc) C/menubutton.js.page:17(info/desc)
-#: C/menubutton.py.page:24(info/desc) C/menubutton.vala.page:17(info/desc)
+#. (itstool) path: info/desc
+#: C/menubutton.c.page:17 C/menubutton.js.page:17 C/menubutton.py.page:24
+#: C/menubutton.vala.page:17
msgid "A widget that shows a menu when clicked on"
msgstr "Un widget que muestra un menú cuando se pulsa"
-#: C/menubutton.c.page:20(page/title) C/menubutton.js.page:20(page/title)
-#: C/menubutton.py.page:27(page/title) C/menubutton.vala.page:20(page/title)
+#. (itstool) path: page/title
+#: C/menubutton.c.page:20 C/menubutton.js.page:20 C/menubutton.py.page:27
+#: C/menubutton.vala.page:20
msgid "MenuButton"
msgstr "MenuButton"
-#: C/menubutton.c.page:22(page/p) C/menubutton.js.page:22(page/p)
-#: C/menubutton.py.page:29(page/p) C/menubutton.vala.page:22(page/p)
+#. (itstool) path: page/p
+#: C/menubutton.c.page:22 C/menubutton.js.page:22 C/menubutton.py.page:29
+#: C/menubutton.vala.page:22
msgid ""
"The GtkMenuButton widget is used to display a menu when clicked on. This "
"menu can be provided either as a GtkMenu, or an abstract GMenuModel. The "
@@ -29486,12 +31573,14 @@ msgstr ""
"casi cualquier «GtkWidget» estándar. El hijo más comúnmente usado es el "
"«GtkArrow» proporcionado."
-#: C/menubutton.c.page:24(note/p) C/menubutton.js.page:26(note/p)
+#. (itstool) path: note/p
+#: C/menubutton.c.page:24 C/menubutton.js.page:26
msgid "You need to be running GNOME 3.6 or later for the MenuButton to work."
msgstr ""
"Necesita ejecutar GNOME 3.6 o superior para que el «MenuButton» funcione."
-#: C/menubutton.c.page:30(section/code)
+#. (itstool) path: section/code
+#: C/menubutton.c.page:30
#, no-wrap
msgid ""
"#include <gtk/gtk.h>\n"
@@ -29696,7 +31785,8 @@ msgstr ""
" return status;\n"
"}\n"
-#: C/menubutton.c.page:37(item/p)
+#. (itstool) path: item/p
+#: C/menubutton.c.page:37
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkMenuButton.html"
"\">GtkMenuButton</link>"
@@ -29704,7 +31794,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkMenuButton.html"
"\">GtkMenuButton</link>"
-#: C/menubutton.c.page:38(item/p)
+#. (itstool) path: item/p
+#: C/menubutton.c.page:38
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkMenu.html"
"\">GtkMenu</link>"
@@ -29712,7 +31803,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkMenu.html"
"\">GtkMenu</link>"
-#: C/menubutton.c.page:39(item/p)
+#. (itstool) path: item/p
+#: C/menubutton.c.page:39
msgid ""
"<link href=\"https://developer.gnome.org/gio/unstable/GMenuModel.html"
"\">GMenuModel</link>"
@@ -29720,7 +31812,8 @@ msgstr ""
"<link href=\"https://developer.gnome.org/gio/unstable/GMenuModel.html"
"\">GMenuModel</link>"
-#: C/menubutton.c.page:40(item/p)
+#. (itstool) path: item/p
+#: C/menubutton.c.page:40
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkArrow.html"
"\">GtkArrow</link>"
@@ -29728,16 +31821,19 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkArrow.html"
"\">GtkArrow</link>"
-#: C/menubutton.js.page:7(info/title)
+#. (itstool) path: info/title
+#: C/menubutton.js.page:7
msgctxt "text"
msgid "MenuButton (JavaScript)"
msgstr "MenuButton (JavaScript)"
-#: C/menubutton.js.page:12(credit/name)
+#. (itstool) path: credit/name
+#: C/menubutton.js.page:12
msgid "Anna Zacchi"
msgstr "Anna Zacchi"
-#: C/menubutton.js.page:27(page/code)
+#. (itstool) path: page/code
+#: C/menubutton.js.page:27
#, no-wrap
msgid ""
"#!/usr/bin/gjs\n"
@@ -29954,7 +32050,8 @@ msgstr ""
"let app = new Application();\n"
"app.application.run(ARGV);\n"
-#: C/menubutton.js.page:32(item/p) C/menubutton.vala.page:32(item/p)
+#. (itstool) path: item/p
+#: C/menubutton.js.page:32 C/menubutton.vala.page:32
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/3.5/gtk3-GtkMenuButton.html"
"\">MenuButton</link>"
@@ -29962,30 +32059,107 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/3.5/gtk3-GtkMenuButton.html"
"\">MenuButton</link>"
-#: C/menubutton.py.page:31(note/p) C/menubutton.vala.page:26(note/p)
+#. (itstool) path: note/p
+#: C/menubutton.py.page:31 C/menubutton.vala.page:26
msgid "You need to be running GNOME 3.6 for the MenuButton to work."
msgstr "Necesita ejecutar GNOME 3.6 para que el «MenuButton» funcione."
-#: C/menubutton.py.page:37(section/code)
+#. (itstool) path: section/code
+#: C/menubutton.py.page:37
#, no-wrap
+#| msgid ""
+#| "from gi.repository import Gtk\n"
+#| "from gi.repository import Gio\n"
+#| "import sys\n"
+#| "\n"
+#| "class MyWindow(Gtk.ApplicationWindow):\n"
+#| " def __init__(self, app):\n"
+#| " Gtk.Window.__init__(self, title=\"Menubutton Example\", application=app)\n"
+#| " self.set_default_size(600, 400)\n"
+#| "\n"
+#| " grid = Gtk.Grid()\n"
+#| " \n"
+#| " # a menubutton\n"
+#| " menubutton = Gtk.MenuButton()\n"
+#| " menubutton.set_size_request(80, 35)\n"
+#| " \n"
+#| " grid.attach(menubutton, 0, 0, 1, 1)\n"
+#| " \n"
+#| " # a menu with two actions\n"
+#| " menumodel = Gio.Menu()\n"
+#| " menumodel.append(\"New\", \"app.new\")\n"
+#| " menumodel.append(\"About\", \"win.about\")\n"
+#| "\n"
+#| " # a submenu with one action for the menu\n"
+#| " submenu = Gio.Menu()\n"
+#| " submenu.append(\"Quit\", \"app.quit\")\n"
+#| " menumodel.append_submenu(\"Other\", submenu)\n"
+#| "\n"
+#| " # the menu is set as the menu of the menubutton\n"
+#| " menubutton.set_menu_model(menumodel)\n"
+#| "\n"
+#| " # the action related to the window (about)\n"
+#| " about_action = Gio.SimpleAction.new(\"about\", None)\n"
+#| " about_action.connect(\"activate\", self.about_callback)\n"
+#| " self.add_action(about_action)\n"
+#| " \n"
+#| " self.add(grid)\n"
+#| "\n"
+#| " # callback for \"about\"\n"
+#| " def about_callback(self, action, parameter):\n"
+#| " print \"You clicked \\\"About\\\"\"\n"
+#| "\n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " def __init__(self):\n"
+#| " Gtk.Application.__init__(self)\n"
+#| "\n"
+#| " def do_activate(self):\n"
+#| " win = MyWindow(self)\n"
+#| " win.show_all()\n"
+#| "\n"
+#| " def do_startup(self):\n"
+#| " Gtk.Application.do_startup(self)\n"
+#| "\n"
+#| " # the actions related to the application\n"
+#| " new_action = Gio.SimpleAction.new(\"new\", None)\n"
+#| " new_action.connect(\"activate\", self.new_callback)\n"
+#| " self.add_action(new_action)\n"
+#| " \n"
+#| " quit_action = Gio.SimpleAction.new(\"quit\", None)\n"
+#| " quit_action.connect(\"activate\", self.quit_callback)\n"
+#| " self.add_action(quit_action)\n"
+#| " \n"
+#| " # callback functions for the actions related to the application\n"
+#| " def new_callback(self, action, parameter):\n"
+#| " print \"You clicked \\\"New\\\"\"\n"
+#| "\n"
+#| " def quit_callback(self, action, parameter):\n"
+#| " print \"You clicked \\\"Quit\\\"\"\n"
+#| " self.quit()\n"
+#| "\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"from gi.repository import Gtk\n"
"from gi.repository import Gio\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"Menubutton Example\", application=app)\n"
" self.set_default_size(600, 400)\n"
"\n"
" grid = Gtk.Grid()\n"
-" \n"
+"\n"
" # a menubutton\n"
" menubutton = Gtk.MenuButton()\n"
" menubutton.set_size_request(80, 35)\n"
-" \n"
+"\n"
" grid.attach(menubutton, 0, 0, 1, 1)\n"
-" \n"
+"\n"
" # a menu with two actions\n"
" menumodel = Gio.Menu()\n"
" menumodel.append(\"New\", \"app.new\")\n"
@@ -30003,14 +32177,16 @@ msgid ""
" about_action = Gio.SimpleAction.new(\"about\", None)\n"
" about_action.connect(\"activate\", self.about_callback)\n"
" self.add_action(about_action)\n"
-" \n"
+"\n"
" self.add(grid)\n"
"\n"
" # callback for \"about\"\n"
" def about_callback(self, action, parameter):\n"
" print \"You clicked \\\"About\\\"\"\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -30025,11 +32201,11 @@ msgid ""
" new_action = Gio.SimpleAction.new(\"new\", None)\n"
" new_action.connect(\"activate\", self.new_callback)\n"
" self.add_action(new_action)\n"
-" \n"
+"\n"
" quit_action = Gio.SimpleAction.new(\"quit\", None)\n"
" quit_action.connect(\"activate\", self.quit_callback)\n"
" self.add_action(quit_action)\n"
-" \n"
+"\n"
" # callback functions for the actions related to the application\n"
" def new_callback(self, action, parameter):\n"
" print \"You clicked \\\"New\\\"\"\n"
@@ -30046,19 +32222,21 @@ msgstr ""
"from gi.repository import Gio\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"Menubutton Example\", application=app)\n"
" self.set_default_size(600, 400)\n"
"\n"
" grid = Gtk.Grid()\n"
-" \n"
+"\n"
" # a menubutton\n"
" menubutton = Gtk.MenuButton()\n"
" menubutton.set_size_request(80, 35)\n"
-" \n"
+"\n"
" grid.attach(menubutton, 0, 0, 1, 1)\n"
-" \n"
+"\n"
" # a menu with two actions\n"
" menumodel = Gio.Menu()\n"
" menumodel.append(\"New\", \"app.new\")\n"
@@ -30076,14 +32254,16 @@ msgstr ""
" about_action = Gio.SimpleAction.new(\"about\", None)\n"
" about_action.connect(\"activate\", self.about_callback)\n"
" self.add_action(about_action)\n"
-" \n"
+"\n"
" self.add(grid)\n"
"\n"
" # callback for \"about\"\n"
" def about_callback(self, action, parameter):\n"
" print \"You clicked \\\"About\\\"\"\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -30098,11 +32278,11 @@ msgstr ""
" new_action = Gio.SimpleAction.new(\"new\", None)\n"
" new_action.connect(\"activate\", self.new_callback)\n"
" self.add_action(new_action)\n"
-" \n"
+"\n"
" quit_action = Gio.SimpleAction.new(\"quit\", None)\n"
" quit_action.connect(\"activate\", self.quit_callback)\n"
" self.add_action(quit_action)\n"
-" \n"
+"\n"
" # callback functions for the actions related to the application\n"
" def new_callback(self, action, parameter):\n"
" print \"You clicked \\\"New\\\"\"\n"
@@ -30115,11 +32295,13 @@ msgstr ""
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/menubutton.py.page:41(section/title)
+#. (itstool) path: section/title
+#: C/menubutton.py.page:41
msgid "Useful methods for a MenuButton widget"
msgstr "Métodos útiles para un widget «MenuButton»"
-#: C/menubutton.py.page:42(section/p)
+#. (itstool) path: section/p
+#: C/menubutton.py.page:42
msgid ""
"In line 33 the signal <code>\"activate\"</code> from the action "
"<code>about_action</code> is connected to the callback function "
@@ -30134,7 +32316,8 @@ msgstr ""
"Consulte la <link xref=\"signals-callbacks.py\"/> para obtener una "
"explicación más detallada."
-#: C/menubutton.py.page:44(section/p)
+#. (itstool) path: section/p
+#: C/menubutton.py.page:44
msgid ""
"The positioning of the menu is determined by the \"direction\" property of "
"the menu button and the \"halign\" or \"valign\" properties of the menu. For "
@@ -30157,7 +32340,8 @@ msgstr ""
"el botón, el menú, en cambio, se abre sobre él. Si la alineación mueve parte "
"del menú fuera de la pantalla, se «empuja hacia adentro»."
-#: C/menubutton.py.page:46(section/p)
+#. (itstool) path: section/p
+#: C/menubutton.py.page:46
msgid ""
"In the case of vertical alignment, the possible ArrowType directions are "
"<code>LEFT</code> and <code>RIGHT</code> and the vertical alignment is again "
@@ -30167,7 +32351,8 @@ msgstr ""
"son <code>LEFT</code> y <code>RIGHT</code>, y la alineación vertical es, "
"nuevamente, <code>START</code>, <code>CENTER</code> o <code>END</code>."
-#: C/menubutton.py.page:48(section/p)
+#. (itstool) path: section/p
+#: C/menubutton.py.page:48
msgid ""
"<code>set_align_widget(alignment)</code> and <code>set_direction(direction)</"
"code> can be used to set these properties."
@@ -30175,7 +32360,8 @@ msgstr ""
"<code>set_align_widget(alineación)</code> y <code>set_direction(dirección)</"
"code> pueden usarse para establecer estas propiedades."
-#: C/menubutton.py.page:55(item/p)
+#. (itstool) path: item/p
+#: C/menubutton.py.page:55
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkMenuButton.html"
"\">MenuButton</link>"
@@ -30183,12 +32369,14 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkMenuButton.html"
"\">MenuButton</link>"
-#: C/menubutton.vala.page:7(info/title)
+#. (itstool) path: info/title
+#: C/menubutton.vala.page:7
msgctxt "text"
msgid "MenuButton (Vala)"
msgstr "MenuButton (Vala)"
-#: C/menubutton.vala.page:27(page/code)
+#. (itstool) path: page/code
+#: C/menubutton.vala.page:27
#, no-wrap
msgid ""
"public class MyWindow : Gtk.ApplicationWindow {\n"
@@ -30323,42 +32511,49 @@ msgstr ""
"\treturn new MyApplication ().run (args);\n"
"}\n"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#: C/message-board.c.page:40(media)
+#: C/message-board.c.page:40
msgctxt "_"
msgid ""
"external ref='media/message-board.ogv' md5='beb80c4538776dc2cdd26c95abea5027'"
msgstr ""
"external ref='media/message-board.ogv' md5='beb80c4538776dc2cdd26c95abea5027'"
-#: C/message-board.c.page:7(info/title)
+#. (itstool) path: info/title
+#: C/message-board.c.page:7
msgctxt "text"
msgid "Message board (C)"
msgstr "Cuadro de mensajes (C)"
-#: C/message-board.c.page:10(info/desc)
+#. (itstool) path: info/desc
+#: C/message-board.c.page:10
msgid "A simple program using WebKitGTK+ and the DOM."
msgstr "Un programa sencillo usando WebKitGTK+ y el DOM."
-#: C/message-board.c.page:25(page/title)
+#. (itstool) path: page/title
+#: C/message-board.c.page:25
msgid "Message board"
msgstr "Cuadro de mensajes"
-#: C/message-board.c.page:30(item/p)
+#. (itstool) path: item/p
+#: C/message-board.c.page:30
msgid "How to display a web page with WebKit."
msgstr "Cómo mostrar una página web con WebKit"
-#: C/message-board.c.page:31(item/p)
+#. (itstool) path: item/p
+#: C/message-board.c.page:31
msgid ""
"How to manipulate the contents of a web page using WebKit's DOM functions."
msgstr ""
"Como manipular el contenido de una página web usando las funciones del DOM "
"del WebKit."
-#: C/message-board.c.page:34(synopsis/p)
+#. (itstool) path: synopsis/p
+#: C/message-board.c.page:34
msgid ""
"This tutorial assumes you are familiar with the C programming language and "
"have a basic understanding of GTK+, including how to create and place "
@@ -30371,7 +32566,8 @@ msgstr ""
"la llamadas a señales. Consulte la <link xref=\"image-viewer.c\"/> para "
"aprender las nociones básicas de GTK+."
-#: C/message-board.c.page:47(section/p)
+#. (itstool) path: section/p
+#: C/message-board.c.page:47
msgid ""
"The GNOME platform includes WebKitGTK+, built on top of the powerful WebKit "
"HTML framework. WebKit is used throughout GNOME, not just to view web pages "
@@ -30383,7 +32579,8 @@ msgstr ""
"en Internet, sino también para crear interfaces de usuario enriquecidas a "
"las que se pueden añadir estilos fácilmente con CSS."
-#: C/message-board.c.page:52(section/p)
+#. (itstool) path: section/p
+#: C/message-board.c.page:52
msgid ""
"In this tutorial, you will create a simple message board using WebKit. The "
"message board will allow you to enter some text and have it added to a list "
@@ -30395,7 +32592,8 @@ msgstr ""
"lista de mensajes en HTML. Antes de empezar, deberá configurar un proyecto "
"en Anjuta."
-#: C/message-board.c.page:58(item/p)
+#. (itstool) path: item/p
+#: C/message-board.c.page:58
msgid ""
"In Anjuta, click <guiseq><gui>File</gui><gui>New</gui> <gui>Project</gui></"
"guiseq> to open the new project assistant."
@@ -30403,7 +32601,8 @@ msgstr ""
"En Anjuta, pulse <guiseq><gui>Archivo</gui><gui>Nuevo</gui> <gui>Proyecto</"
"gui></guiseq> para abrir el asistente para proyecto nuevo."
-#: C/message-board.c.page:60(item/p)
+#. (itstool) path: item/p
+#: C/message-board.c.page:60
msgid ""
"Select <gui>GTK+ (simple)</gui> on the <gui>C</gui> tab, and click "
"<gui>Continue</gui>."
@@ -30411,7 +32610,8 @@ msgstr ""
"Seleccione <gui>GTK+ (simple)</gui> en la pestaña <gui>C</gui> y pulse "
"<gui>Continuar</gui>."
-#: C/message-board.c.page:62(item/p)
+#. (itstool) path: item/p
+#: C/message-board.c.page:62
msgid ""
"Fill out your details on the <gui>Basic information</gui> page. Use "
"<input>message-board</input> for the project name. Click <gui>Continue</gui>."
@@ -30420,7 +32620,8 @@ msgstr ""
"<input>cuadro-mensajes</input> para el nombre del proyecto. Pulse "
"<gui>Continuar</gui>."
-#: C/message-board.c.page:65(item/p)
+#. (itstool) path: item/p
+#: C/message-board.c.page:65
msgid ""
"Disable the <gui>Use GtkBuilder for user interface</gui> option as this "
"tutorial builds the user-interface manually."
@@ -30428,7 +32629,8 @@ msgstr ""
"Desactive la opción <gui>Usar GtkBuilder para la interfaz del usuario</gui>, "
"ya que, en este tutorial, la interfaz de usuario se construye manualmente."
-#: C/message-board.c.page:68(item/p)
+#. (itstool) path: item/p
+#: C/message-board.c.page:68
msgid ""
"You need to tell Anjuta you're using WebKitGTK+ on this project. On the "
"<gui>Project options</gui> page, select <gui>Configure external packages</"
@@ -30440,7 +32642,8 @@ msgstr ""
"externos</gui>. Pulse <gui>Continuar</gui>. En la página <gui>Configurar "
"paquetes externos</gui> seleccione <gui>webkitgtk-3.0</gui>."
-#: C/message-board.c.page:74(section/p)
+#. (itstool) path: section/p
+#: C/message-board.c.page:74
msgid ""
"After you finish the new project assistant, open the file <file>src/main.c</"
"file> from either the <gui>Project</gui> or the <gui>File</gui> tab. Anjuta "
@@ -30456,12 +32659,14 @@ msgstr ""
"incluir las cabeceras de WebKit. Después de la línea que incluye <code>gtk/"
"gtk.h</code>, añada la siguiente línea:"
-#: C/message-board.c.page:81(section/code)
+#. (itstool) path: section/code
+#: C/message-board.c.page:81
#, no-wrap
msgid "#include <webkit/webkit.h>"
msgstr "#include <webkit/webkit.h>"
-#: C/message-board.c.page:83(section/p)
+#. (itstool) path: section/p
+#: C/message-board.c.page:83
msgid ""
"Verify that everything works by building what you have so far. Click "
"<guiseq><gui>Build</gui><gui>Build Project</gui></guiseq> or just press "
@@ -30475,7 +32680,8 @@ msgstr ""
"vez que construya, se le pedirán algunas opciones de configuración. "
"Simplemente acepte los valores predeterminados y pulse <gui>Ejecutar</gui>."
-#: C/message-board.c.page:89(section/p)
+#. (itstool) path: section/p
+#: C/message-board.c.page:89
msgid ""
"You should now be able to run the program. Click <guiseq> <gui>Run</"
"gui><gui>Execute</gui></guiseq> or just press <key>F3</key>. You should see "
@@ -30485,11 +32691,13 @@ msgstr ""
"gui><gui>Ejecutar</gui></guiseq> o simplemente pulse <key>F3</key>. Debería "
"ver aparecer una ventana vacía."
-#: C/message-board.c.page:95(section/title)
+#. (itstool) path: section/title
+#: C/message-board.c.page:95
msgid "Lay out your window and web view"
msgstr "La disposición de la ventana y la vista web"
-#: C/message-board.c.page:97(section/p)
+#. (itstool) path: section/p
+#: C/message-board.c.page:97
msgid ""
"Now that you can show a window, it's time to start working with WebKit. For "
"this tutorial, you'll create a text entry and a web view and pack them both "
@@ -30501,7 +32709,8 @@ msgstr ""
"ambas se empaquetarán en una ventana. Busque la función <code>create_window</"
"code> y reemplácela con lo siguiente"
-#: C/message-board.c.page:102(section/code)
+#. (itstool) path: section/code
+#: C/message-board.c.page:102
#, no-wrap
msgid ""
"\n"
@@ -30572,7 +32781,8 @@ msgstr ""
" return window;\n"
"}\n"
-#: C/message-board.c.page:137(section/p)
+#. (itstool) path: section/p
+#: C/message-board.c.page:137
msgid ""
"You first create a <code>GtkWindow</code> object and set its title and "
"default size. You also connect the <code>gtk_main_quit</code> function to "
@@ -30586,7 +32796,8 @@ msgstr ""
"<code>delete-event</code> se emite cuando se cierra la ventana. La función "
"<code>gtk_main_quit</code> es parte de GTK+, y sale de la aplicación."
-#: C/message-board.c.page:143(section/p)
+#. (itstool) path: section/p
+#: C/message-board.c.page:143
msgid ""
"You then create a vertical box and add it to the window. A window can only "
"hold a single child widget, so you need to use a box to add multiple "
@@ -30600,7 +32811,8 @@ msgstr ""
"cantidad de espacio (en píxeles) entre cada hijo, y la siguiente línea añade "
"un borde de seis píxeles alrededor de la cosa completa."
-#: C/message-board.c.page:149(section/p)
+#. (itstool) path: section/p
+#: C/message-board.c.page:149
msgid ""
"You next create a <code>GtkEntry</code> object and pack it into the box. The "
"third and fourth arguments to <code>gtk_box_pack_start</code> specify that "
@@ -30616,7 +32828,8 @@ msgstr ""
"este caso, se establece el relleno a cero, ya que se está permitiendo que la "
"caja maneje todo el relleno."
-#: C/message-board.c.page:156(section/p)
+#. (itstool) path: section/p
+#: C/message-board.c.page:156
msgid ""
"Before you add a web view, you have to create a scrolled window to put it "
"inside of. The scrolled window will place scrollbars on the right and bottom "
@@ -30633,7 +32846,8 @@ msgstr ""
"desplazada (y por lo tanto, la vista web) usen el espacio adicional "
"disponible en la caja."
-#: C/message-board.c.page:163(section/p)
+#. (itstool) path: section/p
+#: C/message-board.c.page:163
msgid ""
"Finally, you create a <code>WebKitWebView</code> and add it to the scrolled "
"window. Then load a very basic HTML page into the web view by calling "
@@ -30644,11 +32858,13 @@ msgstr ""
"llamando a <code>webkit_web_view_load_string</code> con los siguientes "
"argumentos:"
-#: C/message-board.c.page:169(item/title)
+#. (itstool) path: item/title
+#: C/message-board.c.page:169
msgid "<code>WEBKIT_WEB_VIEW (view)</code>"
msgstr "<code>WEBKIT_WEB_VIEW (view)</code>"
-#: C/message-board.c.page:170(item/p)
+#. (itstool) path: item/p
+#: C/message-board.c.page:170
msgid ""
"The view itself. Because <code>view</code> is typed as a <code>GtkWidget*</"
"code>, you have to use <code>WEBKIT_WEB_VIEW</code> to safely cast the "
@@ -30658,19 +32874,23 @@ msgstr ""
"debe usar <code>WEBKIT_WEB_VIEW</code> para convertir el tipo del objeto con "
"seguridad."
-#: C/message-board.c.page:175(item/title)
+#. (itstool) path: item/title
+#: C/message-board.c.page:175
msgid "<code>\"<html><body></body></html>\"</code>"
msgstr "<code>\"<html><body></body></html>\"</code>"
-#: C/message-board.c.page:176(item/p)
+#. (itstool) path: item/p
+#: C/message-board.c.page:176
msgid "The simplest HTML file you could possibly write."
msgstr "El archivo HTML más simple que pueda escribir."
-#: C/message-board.c.page:179(item/title)
+#. (itstool) path: item/title
+#: C/message-board.c.page:179
msgid "<code>\"text/html\"</code>"
msgstr "<code>\"text/html\"</code>"
-#: C/message-board.c.page:180(item/p)
+#. (itstool) path: item/p
+#: C/message-board.c.page:180
msgid ""
"The MIME type of the content you provided. In this case, you're using plain "
"HTML."
@@ -30678,11 +32898,13 @@ msgstr ""
"El tipo MIME del contenido que ha proporcionado. En este caso, está usando "
"HTML plano."
-#: C/message-board.c.page:184(item/title)
+#. (itstool) path: item/title
+#: C/message-board.c.page:184
msgid "<code>\"UTF-8\"</code>"
msgstr "<code>\"UTF-8\"</code>"
-#: C/message-board.c.page:185(item/p)
+#. (itstool) path: item/p
+#: C/message-board.c.page:185
msgid ""
"The character encoding of the content you provided. Although you only used "
"ASCII characters, it's a good idea to specify UTF-8. UTF-8 is used as the "
@@ -30692,11 +32914,13 @@ msgstr ""
"sólo use caracteres ASCII, es una buena idea especificar UTF-8, ya que es la "
"codificación que se usa de manera predeterminada en toda la plataforma GNOME."
-#: C/message-board.c.page:190(item/title)
+#. (itstool) path: item/title
+#: C/message-board.c.page:190
msgid "<code>NULL</code>"
msgstr "<code>NULL</code>"
-#: C/message-board.c.page:191(item/p)
+#. (itstool) path: item/p
+#: C/message-board.c.page:191
msgid ""
"The base URI. You don't need it in this simple example, but you might want "
"to provide a <sys>file:</sys> URI if you add images or other features where "
@@ -30706,7 +32930,8 @@ msgstr ""
"un URI <sys>file:</sys> si añade imágenes u otras características cuando "
"quiera usar referencias a URI relativos."
-#: C/message-board.c.page:198(note/p)
+#. (itstool) path: note/p
+#: C/message-board.c.page:198
msgid ""
"Every time you add a widget, you have to call <code>gtk_widget_show</code> "
"on it for it to be visible. If you call <code>gtk_widget_show_all</code> on "
@@ -30723,7 +32948,8 @@ msgstr ""
"<code>gtk_widget_show_all</code>, como cuando se quieren ocultar o mostrar "
"dinámicamente algunos objetos en respuesta a determinados eventos."
-#: C/message-board.c.page:206(section/p)
+#. (itstool) path: section/p
+#: C/message-board.c.page:206
msgid ""
"Finally, you have to call <code>gtk_widget_show_all</code> on the box. "
"Otherwise, none of the widgets you created will be visible. (The window is "
@@ -30734,7 +32960,8 @@ msgstr ""
"(La ventana se muestra en la función <code>main</code> con "
"<code>gtk_widget_show</code>.)"
-#: C/message-board.c.page:210(section/p)
+#. (itstool) path: section/p
+#: C/message-board.c.page:210
msgid ""
"Build and run the message board again. You should see a window with a text "
"entry and a web view. It doesn't do anything yet because the text entry and "
@@ -30744,11 +32971,13 @@ msgstr ""
"con una entrada de texto y una vista web. Todavía no hace nada porque la "
"entrada de texto y la vista web no saben nada la una acerca de la otra."
-#: C/message-board.c.page:216(section/title)
+#. (itstool) path: section/title
+#: C/message-board.c.page:216
msgid "Hook up signals"
msgstr "Conectar señales"
-#: C/message-board.c.page:218(section/p)
+#. (itstool) path: section/p
+#: C/message-board.c.page:218
msgid ""
"Now you want to make the message board actually <em>do</em> something when "
"you enter text into the text entry. To do this, connect a callback function "
@@ -30765,7 +32994,8 @@ msgstr ""
"code>, en cualquier lugar después de que <code>entry</code> y <code>view</"
"code> se hayan definido:"
-#: C/message-board.c.page:225(section/code)
+#. (itstool) path: section/code
+#: C/message-board.c.page:225
#, no-wrap
msgid ""
"\n"
@@ -30774,7 +33004,8 @@ msgstr ""
"\n"
"g_signal_connect (entry, \"activate\", G_CALLBACK (entry_activate_cb), view);\n"
-#: C/message-board.c.page:229(section/p)
+#. (itstool) path: section/p
+#: C/message-board.c.page:229
msgid ""
"You then have to actually define <code>entry_activate_cb</code>. Define it "
"as follows, anywhere above <code>create_window</code>:"
@@ -30782,7 +33013,8 @@ msgstr ""
"Entonces se debe definir <code>entry_activate_cb</code>. Defínalo como "
"quiera, en cualquier lugar por encima de <code>create_window</code>:"
-#: C/message-board.c.page:232(section/code)
+#. (itstool) path: section/code
+#: C/message-board.c.page:232
#, no-wrap
msgid ""
"\n"
@@ -30823,7 +33055,8 @@ msgstr ""
" gtk_entry_set_text (entry, \"\");\n"
"}\n"
-#: C/message-board.c.page:252(section/p)
+#. (itstool) path: section/p
+#: C/message-board.c.page:252
msgid ""
"The first thing you do is get a <code>WebKitDOMDocument</code> object that "
"represents the HTML document displayed in <code>view</code>. The DOM classes "
@@ -30837,7 +33070,8 @@ msgstr ""
"documento HTML, y trabajar de manera similar a las API DOM que ya debería "
"conocer de JavaScript."
-#: C/message-board.c.page:258(section/p)
+#. (itstool) path: section/p
+#: C/message-board.c.page:258
msgid ""
"Once you have the document, you want to get the <code>body</code> element so "
"that you can add <code>div</code> elements to it. The "
@@ -30851,7 +33085,8 @@ msgstr ""
"elemento en el documento usando selectores CSS. Esto le evita tener que "
"escribir bucles tediosos para recorrer el documento."
-#: C/message-board.c.page:269(section/p)
+#. (itstool) path: section/p
+#: C/message-board.c.page:269
msgid ""
"Next, you create a new <code>div</code> element to hold the message. Every "
"element you create has to be attached to a document, so the function to "
@@ -30868,7 +33103,8 @@ msgstr ""
"code> devuelve un <code>const gchar*</code>, no tiene que liberar el "
"resultado."
-#: C/message-board.c.page:282(section/p)
+#. (itstool) path: section/p
+#: C/message-board.c.page:282
msgid ""
"Finally, you append the new <code>div</code> element to the body and clear "
"out the text entry so you can type something new. Build and run the program "
@@ -30878,11 +33114,13 @@ msgstr ""
"salida de texto para poder escribir algo nuevo. Construya y ejecute el "
"programa otra vez y pruébelo por su cuenta."
-#: C/message-board.c.page:289(section/title)
+#. (itstool) path: section/title
+#: C/message-board.c.page:289
msgid "Make it look better with CSS"
msgstr "Mejorar el aspecto con CSS"
-#: C/message-board.c.page:291(section/p)
+#. (itstool) path: section/p
+#: C/message-board.c.page:291
msgid ""
"At this point, your program is completely functional, but not very pretty. "
"You can style the message display with CSS, just like you can with any other "
@@ -30898,7 +33136,8 @@ msgstr ""
"línea usando el atributo <code>style</code> de los elementos <code>div</"
"code> o puede incluso construirlo con programación usando las API DOM."
-#: C/message-board.c.page:298(section/p)
+#. (itstool) path: section/p
+#: C/message-board.c.page:298
msgid ""
"In this tutorial, you'll attach the CSS using the <code>user-stylesheet-uri</"
"code> property of the <code>WebKitWebSetting</code> object attached to your "
@@ -30921,7 +33160,8 @@ msgstr ""
"primer lugar, se define el CSS como una cadena estática cerca del principio "
"del archivo."
-#: C/message-board.c.page:307(section/code)
+#. (itstool) path: section/code
+#: C/message-board.c.page:307
#, no-wrap
msgid ""
"\n"
@@ -30948,7 +33188,8 @@ msgstr ""
"\" margin: 12px; padding: 6px;\"\n"
"\"}\";\n"
-#: C/message-board.c.page:320(section/p)
+#. (itstool) path: section/p
+#: C/message-board.c.page:320
msgid ""
"All you have in this example are <code>div</code> elements inside a "
"<code>body</code> element. If you created more complicated HTML, you could "
@@ -30960,7 +33201,8 @@ msgstr ""
"cualquier CSS que sea necesario. Si se siente cómodo usando CSS debería "
"intentar cambiar esto por algo que le guste más."
-#: C/message-board.c.page:325(section/p)
+#. (itstool) path: section/p
+#: C/message-board.c.page:325
msgid ""
"To apply the CSS, you set the <code>user-stylesheet-uri</code> in the "
"<code>create_window</code> function, anywhere after <code>view</code> has "
@@ -30970,7 +33212,8 @@ msgstr ""
"función <code>create_window</code>, en cualquier lugar después de que "
"<code>view</code> se haya definido."
-#: C/message-board.c.page:331(section/code)
+#. (itstool) path: section/code
+#: C/message-board.c.page:331
#, no-wrap
msgid ""
"\n"
@@ -30991,7 +33234,8 @@ msgstr ""
"g_free (css);\n"
"g_free (tmp);\n"
-#: C/message-board.c.page:341(section/p)
+#. (itstool) path: section/p
+#: C/message-board.c.page:341
msgid ""
"Also, make sure to add variable declarations for <code>tmp</code> and "
"<code>css</code> to the top of <code>create_window</code>."
@@ -30999,7 +33243,8 @@ msgstr ""
"Asegúrese de añadir declaraciones de variables para <code>tmp</code> y "
"<code>css</code> a la parte superior de <code>create_window</code>."
-#: C/message-board.c.page:344(section/code)
+#. (itstool) path: section/code
+#: C/message-board.c.page:344
#, no-wrap
msgid ""
"\n"
@@ -31008,7 +33253,8 @@ msgstr ""
"\n"
"gchar *tmp, *css;\n"
-#: C/message-board.c.page:348(section/p)
+#. (itstool) path: section/p
+#: C/message-board.c.page:348
msgid ""
"A data URI starts with <sys>data:</sys> and some information about the "
"content type and how the data is encoded. The actual data follows after a "
@@ -31025,7 +33271,8 @@ msgstr ""
"un archivo que cargar. En vez de eso, ofrece el contenido completo del "
"archivo."
-#: C/message-board.c.page:355(section/p)
+#. (itstool) path: section/p
+#: C/message-board.c.page:355
msgid ""
"The code above first encodes your CSS definitions in Base64, then combines "
"that with a fixed string to create a data URI. The <code>g_strconcat</code> "
@@ -31041,7 +33288,8 @@ msgstr ""
"code> como argumento final para que sepa dónde parar. No olvide liberar esas "
"cadenas temporales después de establecer la propiedad de la hoja de estilos."
-#: C/message-board.c.page:362(section/p)
+#. (itstool) path: section/p
+#: C/message-board.c.page:362
msgid ""
"Build and run the program again. It should now work exactly the same as at "
"the end of the last section, except the messages will be nicely styled with "
@@ -31051,11 +33299,13 @@ msgstr ""
"igual que al final de la última sección, excepto que los mensajes tendrán "
"estilos con un borde y un degradado de fondo sutil."
-#: C/message-board.c.page:368(section/title)
+#. (itstool) path: section/title
+#: C/message-board.c.page:368
msgid "Learn more"
msgstr "Aprender más"
-#: C/message-board.c.page:370(section/p)
+#. (itstool) path: section/p
+#: C/message-board.c.page:370
msgid ""
"This tutorial showed you how to create a basic application using GTK+ and "
"WebKit, including showing a document and manipulating its contents. To "
@@ -31067,7 +33317,8 @@ msgstr ""
"Para crear una aplicación real, probablemente quiera hacer algo más. Pruebe "
"a añadir características usted mismo. Aquí hay algunas ideas:"
-#: C/message-board.c.page:376(item/p)
+#. (itstool) path: item/p
+#: C/message-board.c.page:376
msgid ""
"If you're comfortable with CSS, try changing the style of the message "
"display. CSS is easy to get started with, but increasingly more powerful. "
@@ -31079,7 +33330,8 @@ msgstr ""
"una gran cantidad de tutoriales de CSS en Internet, y casi todo lo que se "
"puede hacer en una página web, se puede hacer en esta aplicación."
-#: C/message-board.c.page:382(item/p)
+#. (itstool) path: item/p
+#: C/message-board.c.page:382
msgid ""
"Right now, you lose all your messages whenever you close the message board. "
"Try saving the HTML contents after each post, and loading the saved file (if "
@@ -31089,7 +33341,8 @@ msgstr ""
"Pruebe a guardar el contenido HTML después de cada envío, y a cargar el "
"archivo guardado (si existe) al inicio."
-#: C/message-board.c.page:390(item/p)
+#. (itstool) path: item/p
+#: C/message-board.c.page:390
msgid ""
"If you keep your messages around for a long time, you'll start wondering "
"when you posted them. Add a timestamp to each message when it's posted. "
@@ -31101,7 +33354,8 @@ msgstr ""
"Probablemente quiera crear algún elemento <code>div</code> hijo adicional "
"con diferentes clases que puede modelar en el CSS."
-#: C/message-board.c.page:397(item/p)
+#. (itstool) path: item/p
+#: C/message-board.c.page:397
msgid ""
"This program keeps messages around forever. Think about ways you could allow "
"the user to delete messages. Perhaps you want messages to disappear "
@@ -31118,55 +33372,44 @@ msgstr ""
"pulsa con el botón derecho sobe un mensaje. Esta características implican "
"explorar más la API del DOM de WebKit."
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/messagedialog.c.page:23(media) C/messagedialog.js.page:24(media)
-#: C/messagedialog.py.page:22(media) C/messagedialog.vala.page:21(media)
+#: C/messagedialog.c.page:23 C/messagedialog.js.page:24
+#: C/messagedialog.py.page:22 C/messagedialog.vala.page:21
msgctxt "_"
msgid ""
"external ref='media/messagedialog.png' md5='1956288274018e2386d9cba96a2101de'"
msgstr ""
"external ref='media/messagedialog.png' md5='1956288274018e2386d9cba96a2101de'"
-#: C/messagedialog.c.page:7(info/title)
+#. (itstool) path: info/title
+#: C/messagedialog.c.page:7
msgctxt "text"
msgid "MessageDialog (C)"
msgstr "MessageDialog (C)"
-#: C/messagedialog.c.page:18(info/desc) C/messagedialog.py.page:18(info/desc)
-#: C/messagedialog.vala.page:17(info/desc)
+#. (itstool) path: info/desc
+#: C/messagedialog.c.page:18 C/messagedialog.py.page:18
+#: C/messagedialog.vala.page:17
msgid "A message window"
msgstr "Una ventana de mensaje"
-#: C/messagedialog.c.page:21(page/title)
-#: C/messagedialog.js.page:23(page/title)
-#: C/messagedialog.py.page:21(page/title)
-#: C/messagedialog.vala.page:20(page/title)
+#. (itstool) path: page/title
+#: C/messagedialog.c.page:21 C/messagedialog.js.page:23
+#: C/messagedialog.py.page:21 C/messagedialog.vala.page:20
msgid "MessageDialog"
msgstr "MessageDialog"
-#: C/messagedialog.c.page:24(page/p) C/messagedialog.vala.page:22(page/p)
+#. (itstool) path: page/p
+#: C/messagedialog.c.page:24 C/messagedialog.vala.page:22
msgid "A modal message dialog which can cause the world to explode."
msgstr "Un diálogo de mensaje modas que puede hacer que el mundo explote."
-#: C/messagedialog.c.page:25(note/p)
+#. (itstool) path: note/p
+#: C/messagedialog.c.page:25
msgid ""
"To test out the application once it has started running, you can click on "
"the \"Message Dialog\" tab that appears in the top menubar of the screen."
@@ -31174,7 +33417,8 @@ msgstr ""
"Para probar la aplicación una vez que la ha ejecutado, puede pulsar la "
"pestaña «Message Dialog», en la barra de menú superior de la pantalla."
-#: C/messagedialog.c.page:29(page/code)
+#. (itstool) path: page/code
+#: C/messagedialog.c.page:29
#, no-wrap
msgid ""
"\n"
@@ -31521,7 +33765,8 @@ msgstr ""
" return status;\n"
"}\n"
-#: C/messagedialog.c.page:36(item/p)
+#. (itstool) path: item/p
+#: C/messagedialog.c.page:36
msgid ""
"<link href=\"http://developer.gnome.org/gio/stable/GApplication.html"
"\">GApplication</link>"
@@ -31529,7 +33774,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gio/stable/GApplication.html"
"\">GApplication</link>"
-#: C/messagedialog.c.page:38(item/p)
+#. (itstool) path: item/p
+#: C/messagedialog.c.page:38
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkMessageDialog.html"
"\">GtkMessageDialog</link>"
@@ -31537,7 +33783,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkMessageDialog.html"
"\">GtkMessageDialog</link>"
-#: C/messagedialog.c.page:39(item/p)
+#. (itstool) path: item/p
+#: C/messagedialog.c.page:39
msgid ""
"<link href=\"http://developer.gnome.org/gio/stable/GSimpleAction.html#g-"
"simple-action-new\">GSimpleAction</link>"
@@ -31545,16 +33792,19 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gio/stable/GSimpleAction.html#g-"
"simple-action-new\">GSimpleAction</link>"
-#: C/messagedialog.js.page:7(info/title)
+#. (itstool) path: info/title
+#: C/messagedialog.js.page:7
msgctxt "text"
msgid "MessageDialog (JavaScript)"
msgstr "MessageDialog (JavaScript)"
-#: C/messagedialog.js.page:20(info/desc)
+#. (itstool) path: info/desc
+#: C/messagedialog.js.page:20
msgid "A popup message attached to a window"
msgstr "Una mensaje emergente acoplado a una ventana"
-#: C/messagedialog.js.page:25(page/p)
+#. (itstool) path: page/p
+#: C/messagedialog.js.page:25
msgid ""
"A MessageDialog is a modal message dialog, which means a popup that you have "
"to respond to before you get back to what you were doing in the window that "
@@ -31572,7 +33822,8 @@ msgstr ""
"(el que aparece cuando pulsa en el nombre de la aplicación en la esquina "
"superior izquierda, junto a «Actividades»)."
-#: C/messagedialog.js.page:26(note/p)
+#. (itstool) path: note/p
+#: C/messagedialog.js.page:26
msgid ""
"The difference between a MessageDialog and a <link xref=\"dialog.js"
"\">Dialog</link> is that a Dialog can contain whatever widgets and content "
@@ -31585,7 +33836,8 @@ msgstr ""
"cómoda de hacer que aparezca un diálogo emergente con un mensaje básico y "
"botones."
-#: C/messagedialog.js.page:43(section/code)
+#. (itstool) path: section/code
+#: C/messagedialog.js.page:43
#, no-wrap
msgid ""
"\n"
@@ -31640,7 +33892,8 @@ msgstr ""
" this._buildUI ();\n"
" },\n"
-#: C/messagedialog.js.page:70(note/p) C/switch.js.page:75(note/p)
+#. (itstool) path: note/p
+#: C/messagedialog.js.page:70 C/switch.js.page:75
msgid ""
"Before we call _buildUI to create the window and the widgets inside it, we "
"need to call _initMenus, which tells GNOME to create the menu. We can put "
@@ -31654,7 +33907,8 @@ msgstr ""
"que no importa en qué orden se esté mientras que «_initMenus» se llame "
"primero en «_onStartup»."
-#: C/messagedialog.js.page:71(section/code)
+#. (itstool) path: section/code
+#: C/messagedialog.js.page:71
#, no-wrap
msgid ""
"\n"
@@ -31681,7 +33935,8 @@ msgstr ""
" default_height: 200,\n"
" default_width: 400 });\n"
-#: C/messagedialog.js.page:85(section/code)
+#. (itstool) path: section/code
+#: C/messagedialog.js.page:85
#, no-wrap
msgid ""
"\n"
@@ -31696,7 +33951,8 @@ msgstr ""
" label: \"This application goes boom! (Not really.)\"});\n"
" this._window.add (this.warningLabel);\n"
-#: C/messagedialog.js.page:91(section/p)
+#. (itstool) path: section/p
+#: C/messagedialog.js.page:91
msgid ""
"For this example, all that we have in the window the popup comes out of is a "
"silly warning <link xref=\"label.js\">Label</link>."
@@ -31704,11 +33960,13 @@ msgstr ""
"Para este ejemplo, todo lo que hay en la ventana de la que viene el diálogo "
"emergente es una <link xref=\"label.js\">Label</link> de advertencia tonta."
-#: C/messagedialog.js.page:95(section/title)
+#. (itstool) path: section/title
+#: C/messagedialog.js.page:95
msgid "Creating the application's menu"
msgstr "Crear el menú de la aplicación"
-#: C/messagedialog.js.page:96(section/code)
+#. (itstool) path: section/code
+#: C/messagedialog.js.page:96
#, no-wrap
msgid ""
"\n"
@@ -31761,7 +34019,8 @@ msgstr ""
" this.application.add_action(quitAction);\n"
" },\n"
-#: C/messagedialog.js.page:121(section/p)
+#. (itstool) path: section/p
+#: C/messagedialog.js.page:121
msgid ""
"Here, we build the <link xref=\"gmenu.js\">GMenu</link> where we'll be "
"putting the \"Message\" button which triggers the popup MessageDialog. The "
@@ -31775,11 +34034,13 @@ msgstr ""
"superior izquierda de la pantalla, junto al menú «Actividades». Este menú "
"sólo tiene dos opciones: «Message» y «Quit»."
-#: C/messagedialog.js.page:125(section/title)
+#. (itstool) path: section/title
+#: C/messagedialog.js.page:125
msgid "Creating the MessageDialog"
msgstr "Crear el «MessageDialog»"
-#: C/messagedialog.js.page:126(section/code)
+#. (itstool) path: section/code
+#: C/messagedialog.js.page:126
#, no-wrap
msgid ""
"\n"
@@ -31812,7 +34073,8 @@ msgstr ""
" this._messageDialog.show();\n"
" },\n"
-#: C/messagedialog.js.page:141(section/p)
+#. (itstool) path: section/p
+#: C/messagedialog.js.page:141
msgid ""
"To make our MessageDialog a popup attached to the main window, we set its "
"modal property to true and set it to be \"transient_for\" _window. After "
@@ -31828,11 +34090,13 @@ msgstr ""
"texto, antes de conectar su señal «response» a la función de retorno de "
"llamada que la maneja."
-#: C/messagedialog.js.page:142(note/p)
+#. (itstool) path: note/p
+#: C/messagedialog.js.page:142
msgid "Here are some resources for making your own MessageDialogs:"
msgstr "Aquí hay algunos recursos para hacer sus propios «MessageDialog»:"
-#: C/messagedialog.js.page:144(item/p)
+#. (itstool) path: item/p
+#: C/messagedialog.js.page:144
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkMessageDialog."
"html#GtkButtonsType\">List of button types</link>"
@@ -31840,7 +34104,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkMessageDialog."
"html#GtkButtonsType\">Lista de tipos de botones</link>"
-#: C/messagedialog.js.page:145(item/p)
+#. (itstool) path: item/p
+#: C/messagedialog.js.page:145
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkMessageDialog."
"html#GtkMessageType\">List of message types</link>"
@@ -31848,7 +34113,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkMessageDialog."
"html#GtkMessageType\">Lista de tipos de mensajes</link>"
-#: C/messagedialog.js.page:149(section/code)
+#. (itstool) path: section/code
+#: C/messagedialog.js.page:149
#, no-wrap
msgid ""
"\n"
@@ -31897,7 +34163,8 @@ msgstr ""
"\n"
"});\n"
-#: C/messagedialog.js.page:172(section/p)
+#. (itstool) path: section/p
+#: C/messagedialog.js.page:172
msgid ""
"This function takes two parameters, the MessageDialog and its response_id, "
"both of which are automatically supplied (you don't have to manually pass "
@@ -31915,7 +34182,8 @@ msgstr ""
"presionar «OK» o «Cancel». Elija lo que elija, el diálogo emergente de "
"destruirá a continuación."
-#: C/messagedialog.js.page:174(section/code)
+#. (itstool) path: section/code
+#: C/messagedialog.js.page:174
#, no-wrap
msgid ""
"\n"
@@ -31928,7 +34196,8 @@ msgstr ""
"let app = new MessageDialogExample ();\n"
"app.application.run (ARGV);\n"
-#: C/messagedialog.js.page:179(section/p)
+#. (itstool) path: section/p
+#: C/messagedialog.js.page:179
msgid ""
"Finally, we create a new instance of the finished MessageDialogExample "
"class, and set the application running."
@@ -31936,7 +34205,8 @@ msgstr ""
"Finalmente, se crea una instancia nueva de la clase «MessageDialogExample» "
"terminada, y se ejecuta la aplicación."
-#: C/messagedialog.js.page:184(section/code)
+#. (itstool) path: section/code
+#: C/messagedialog.js.page:184
#, no-wrap
msgid ""
"#!/usr/bin/gjs\n"
@@ -32185,12 +34455,14 @@ msgstr ""
"let app = new MessageDialogExample ();\n"
"app.application.run (ARGV);\n"
-#: C/messagedialog.py.page:7(info/title)
+#. (itstool) path: info/title
+#: C/messagedialog.py.page:7
msgctxt "text"
msgid "MessageDialog (Python)"
msgstr "MessageDialog (Python)"
-#: C/messagedialog.py.page:23(page/p)
+#. (itstool) path: page/p
+#: C/messagedialog.py.page:23
msgid ""
"A message dialog which prints messages on the terminal, depending on your "
"choices."
@@ -32198,16 +34470,99 @@ msgstr ""
"Un diálogo de mensajes que imprime mensajes en la terminal, según su "
"elección."
-#: C/messagedialog.py.page:30(section/code)
+#. (itstool) path: section/code
+#: C/messagedialog.py.page:30
#, no-wrap
+#| msgid ""
+#| "from gi.repository import Gtk\n"
+#| "from gi.repository import Gio\n"
+#| "import sys\n"
+#| "\n"
+#| "class MyWindow(Gtk.ApplicationWindow):\n"
+#| "\n"
+#| " # constructor for a window (the parent window) with a label\n"
+#| " def __init__(self, app):\n"
+#| " Gtk.Window.__init__(self, title=\"GMenu Example\", application=app)\n"
+#| " self.set_default_size(400, 200)\n"
+#| " label = Gtk.Label()\n"
+#| " label.set_text(\"This application goes boom!\")\n"
+#| " self.add(label)\n"
+#| "\n"
+#| " # create the message_action (a Gio.SimpleAction) - for the window\n"
+#| " message_action = Gio.SimpleAction.new(\"message\", None)\n"
+#| " # connect the signal from the action to the function message_cb()\n"
+#| " message_action.connect(\"activate\", self.message_cb)\n"
+#| " # add the action to the application\n"
+#| " app.add_action(message_action)\n"
+#| "\n"
+#| " # callback function for the signal \"activate\" from the message_action\n"
+#| " # in the menu of the parent window\n"
+#| " def message_cb(self, action, parameter):\n"
+#| " # a Gtk.MessageDialog\n"
+#| " messagedialog = Gtk.MessageDialog(parent=self,\n"
+#| " flags=Gtk.DialogFlags.MODAL,\n"
+#| " type=Gtk.MessageType.WARNING,\n"
+#| " buttons=Gtk.ButtonsType.OK_CANCEL,\n"
+#| " message_format=\"This action will cause the universe to stop
existing.\")\n"
+#| " # connect the response (of the button clicked) to the function\n"
+#| " # dialog_response()\n"
+#| " messagedialog.connect(\"response\", self.dialog_response)\n"
+#| " # show the messagedialog\n"
+#| " messagedialog.show()\n"
+#| "\n"
+#| " def dialog_response(self, widget, response_id):\n"
+#| " # if the button clicked gives response OK (-5)\n"
+#| " if response_id == Gtk.ResponseType.OK:\n"
+#| "\t\t print \"*boom*\"\n"
+#| "\t\t# if the button clicked gives response CANCEL (-6)\n"
+#| " elif response_id == Gtk.ResponseType.CANCEL:\n"
+#| " print \"good choice\"\n"
+#| " # if the messagedialog is destroyed (by pressing ESC)\n"
+#| " elif response_id == Gtk.ResponseType.DELETE_EVENT:\n"
+#| " print \"dialog closed or cancelled\"\n"
+#| " # finally, destroy the messagedialog\n"
+#| " widget.destroy()\n"
+#| "\n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " def __init__(self):\n"
+#| " Gtk.Application.__init__(self)\n"
+#| "\n"
+#| " def do_activate(self):\n"
+#| " win = MyWindow(self)\n"
+#| " win.show_all()\n"
+#| "\n"
+#| " def quit_cb(self, action, parameter):\n"
+#| " self.quit()\n"
+#| "\n"
+#| " def do_startup (self):\n"
+#| " Gtk.Application.do_startup(self)\n"
+#| "\n"
+#| " # create a menu (a Gio.Menu)\n"
+#| " menu = Gio.Menu()\n"
+#| " # append a menu item with label \"Message\" and action \"app.message\"\n"
+#| " menu.append(\"Message\", \"app.message\")\n"
+#| " # append a menu item with label \"Quit\" and action \"app.quit\"\n"
+#| " menu.append(\"Quit\", \"app.quit\")\n"
+#| " # set menu as the menu for the application\n"
+#| " self.set_app_menu(menu)\n"
+#| "\n"
+#| " # a new simpleaction - for the application\n"
+#| " quit_action = Gio.SimpleAction.new(\"quit\", None)\n"
+#| " quit_action.connect(\"activate\", self.quit_cb)\n"
+#| " self.add_action (quit_action)\n"
+#| "\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"from gi.repository import Gtk\n"
"from gi.repository import Gio\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
"\n"
-" # constructor for a window (the parent window) with a label\n"
+" # constructor for a window (the parent window) with a label\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"GMenu Example\", application=app)\n"
" self.set_default_size(400, 200)\n"
@@ -32240,8 +34595,8 @@ msgid ""
" def dialog_response(self, widget, response_id):\n"
" # if the button clicked gives response OK (-5)\n"
" if response_id == Gtk.ResponseType.OK:\n"
-"\t\t print \"*boom*\"\n"
-"\t\t# if the button clicked gives response CANCEL (-6)\n"
+" print \"*boom*\"\n"
+" # if the button clicked gives response CANCEL (-6)\n"
" elif response_id == Gtk.ResponseType.CANCEL:\n"
" print \"good choice\"\n"
" # if the messagedialog is destroyed (by pressing ESC)\n"
@@ -32250,7 +34605,9 @@ msgid ""
" # finally, destroy the messagedialog\n"
" widget.destroy()\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -32261,7 +34618,7 @@ msgid ""
" def quit_cb(self, action, parameter):\n"
" self.quit()\n"
"\n"
-" def do_startup (self):\n"
+" def do_startup(self):\n"
" Gtk.Application.do_startup(self)\n"
"\n"
" # create a menu (a Gio.Menu)\n"
@@ -32276,7 +34633,7 @@ msgid ""
" # a new simpleaction - for the application\n"
" quit_action = Gio.SimpleAction.new(\"quit\", None)\n"
" quit_action.connect(\"activate\", self.quit_cb)\n"
-" self.add_action (quit_action)\n"
+" self.add_action(quit_action)\n"
"\n"
"app = MyApplication()\n"
"exit_status = app.run(sys.argv)\n"
@@ -32286,9 +34643,10 @@ msgstr ""
"from gi.repository import Gio\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
"\n"
-" # constructor for a window (the parent window) with a label\n"
+" # constructor for a window (the parent window) with a label\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"GMenu Example\", application=app)\n"
" self.set_default_size(400, 200)\n"
@@ -32321,8 +34679,8 @@ msgstr ""
" def dialog_response(self, widget, response_id):\n"
" # if the button clicked gives response OK (-5)\n"
" if response_id == Gtk.ResponseType.OK:\n"
-"\t\t print \"*boom*\"\n"
-"\t\t# if the button clicked gives response CANCEL (-6)\n"
+" print \"*boom*\"\n"
+" # if the button clicked gives response CANCEL (-6)\n"
" elif response_id == Gtk.ResponseType.CANCEL:\n"
" print \"good choice\"\n"
" # if the messagedialog is destroyed (by pressing ESC)\n"
@@ -32331,7 +34689,9 @@ msgstr ""
" # finally, destroy the messagedialog\n"
" widget.destroy()\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -32342,7 +34702,7 @@ msgstr ""
" def quit_cb(self, action, parameter):\n"
" self.quit()\n"
"\n"
-" def do_startup (self):\n"
+" def do_startup(self):\n"
" Gtk.Application.do_startup(self)\n"
"\n"
" # create a menu (a Gio.Menu)\n"
@@ -32357,17 +34717,19 @@ msgstr ""
" # a new simpleaction - for the application\n"
" quit_action = Gio.SimpleAction.new(\"quit\", None)\n"
" quit_action.connect(\"activate\", self.quit_cb)\n"
-" self.add_action (quit_action)\n"
+" self.add_action(quit_action)\n"
"\n"
"app = MyApplication()\n"
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/messagedialog.py.page:35(section/title)
+#. (itstool) path: section/title
+#: C/messagedialog.py.page:35
msgid "Useful methods for a MessageDialog widget"
msgstr "Métodos útiles para un widget «MessageDialog»"
-#: C/messagedialog.py.page:36(section/p)
+#. (itstool) path: section/p
+#: C/messagedialog.py.page:36
msgid ""
"In line 18 the signal <code>\"activate\"</code> is connected to the callback "
"function <code>message_cb()</code> using <code><var>widget</var>.connect"
@@ -32380,7 +34742,8 @@ msgstr ""
"Consulte la <link xref=\"signals-callbacks.py\"/> para obtener una "
"explicación más detallada."
-#: C/messagedialog.py.page:38(item/p)
+#. (itstool) path: item/p
+#: C/messagedialog.py.page:38
msgid ""
"In the constructor of MessageDialog we could set flags as <code>Gtk."
"DialogFlags.DESTROY_WITH_PARENT</code> (to destroy the messagedialog window "
@@ -32392,7 +34755,8 @@ msgstr ""
"de diálogo cuando se destruya su ventana madre) o <code>Gtk.DialogFlags."
"MODAL</code> (sin interacción con otras ventanas de la aplicación)."
-#: C/messagedialog.py.page:39(item/p)
+#. (itstool) path: item/p
+#: C/messagedialog.py.page:39
msgid ""
"In the constructor of MessageDialog we could set type as any of <code>Gtk."
"MessageType.INFO, Gtk.MessageType.WARNING, Gtk.MessageType.QUESTION, Gtk."
@@ -32404,7 +34768,8 @@ msgstr ""
"QUESTION, Gtk.MessageType.ERROR, Gtk.MessageType.OTHER</code> dependiendo de "
"qué tipo de mensaje quiera."
-#: C/messagedialog.py.page:40(item/p)
+#. (itstool) path: item/p
+#: C/messagedialog.py.page:40
msgid ""
"In the constructor of MessageDialog we could set buttons as any of <code>Gtk."
"ButtonsType.NONE, Gtk.ButtonsType.OK, Gtk.ButtonsType.CLOSE, Gtk.ButtonsType."
@@ -32417,7 +34782,8 @@ msgstr ""
"code>, o cualquier botón usando <code>add_button()</code> como en un «Gtk."
"Dialog»."
-#: C/messagedialog.py.page:41(item/p)
+#. (itstool) path: item/p
+#: C/messagedialog.py.page:41
msgid ""
"We could substitute the default image of the MessageDialog with another "
"image using"
@@ -32425,7 +34791,8 @@ msgstr ""
"Se podría sustituir la imagen predeterminada del «MessageDialog» con otra "
"usando"
-#: C/messagedialog.py.page:42(item/code)
+#. (itstool) path: item/code
+#: C/messagedialog.py.page:42
#, no-wrap
msgid ""
"\n"
@@ -32440,7 +34807,8 @@ msgstr ""
"image.show()\n"
"messagedialog.set_image(image)"
-#: C/messagedialog.py.page:47(item/p)
+#. (itstool) path: item/p
+#: C/messagedialog.py.page:47
msgid ""
"where <code>Gtk.STOCK_CAPS_LOCK_WARNING</code> is any image from <link href="
"\"http://developer.gnome.org/gtk3/unstable/gtk3-Stock-Items.html\">Stock "
@@ -32453,7 +34821,8 @@ msgstr ""
"imagen como en el widget «Image», con <code>image.set_from_file(\"archivo.png"
"\")</code>."
-#: C/messagedialog.py.page:48(item/p)
+#. (itstool) path: item/p
+#: C/messagedialog.py.page:48
msgid ""
"<code>format_secondary_text(\"some secondary message\")</code> sets a "
"secondary message. The primary text becomes bold."
@@ -32461,7 +34830,8 @@ msgstr ""
"<code>format_secondary_text(\"algún mensaje secundario\")</code> establece "
"un mensaje secundario. El texto primario aparece en negrita."
-#: C/messagedialog.py.page:58(item/p)
+#. (itstool) path: item/p
+#: C/messagedialog.py.page:58
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkMessageDialog.html"
"\">GtkMessageDialog</link>"
@@ -32469,7 +34839,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkMessageDialog.html"
"\">GtkMessageDialog</link>"
-#: C/messagedialog.py.page:62(item/p)
+#. (itstool) path: item/p
+#: C/messagedialog.py.page:62
msgid ""
"<link href=\"http://developer.gnome.org/gio/unstable/GActionMap.html"
"\">GActionMap</link>"
@@ -32477,12 +34848,14 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gio/unstable/GActionMap.html"
"\">GActionMap</link>"
-#: C/messagedialog.vala.page:7(info/title)
+#. (itstool) path: info/title
+#: C/messagedialog.vala.page:7
msgctxt "text"
msgid "MessageDialog (Vala)"
msgstr "MessageDialog (Vala)"
-#: C/messagedialog.vala.page:24(page/code)
+#. (itstool) path: page/code
+#: C/messagedialog.vala.page:24
#, no-wrap
msgid ""
"\n"
@@ -32631,7 +35004,8 @@ msgstr ""
"\treturn new Application ().run (args);\n"
"}\n"
-#: C/messagedialog.vala.page:30(item/p)
+#. (itstool) path: item/p
+#: C/messagedialog.vala.page:30
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.ResponseType.html\">Gtk."
"ResponseType</link>"
@@ -32639,7 +35013,8 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.ResponseType.html\">Gtk."
"ResponseType</link>"
-#: C/messagedialog.vala.page:31(item/p)
+#. (itstool) path: item/p
+#: C/messagedialog.vala.page:31
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.MessageDialog.html\">Gtk."
"MessageDialog</link>"
@@ -32647,7 +35022,8 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.MessageDialog.html\">Gtk."
"MessageDialog</link>"
-#: C/messagedialog.vala.page:32(item/p)
+#. (itstool) path: item/p
+#: C/messagedialog.vala.page:32
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.DialogFlags.html\">Gtk."
"DialogFlags</link>"
@@ -32655,7 +35031,8 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.DialogFlags.html\">Gtk."
"DialogFlags</link>"
-#: C/messagedialog.vala.page:33(item/p)
+#. (itstool) path: item/p
+#: C/messagedialog.vala.page:33
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.MessageType.html\">Gtk."
"MessageType</link>"
@@ -32663,7 +35040,8 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.MessageType.html\">Gtk."
"MessageType</link>"
-#: C/messagedialog.vala.page:34(item/p)
+#. (itstool) path: item/p
+#: C/messagedialog.vala.page:34
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.ButtonsType.html\">Gtk."
"ButtonsType</link>"
@@ -32671,23 +35049,26 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.ButtonsType.html\">Gtk."
"ButtonsType</link>"
-#: C/model-view-controller.py.page:8(info/title)
+#. (itstool) path: info/title
+#: C/model-view-controller.py.page:8
msgctxt "text"
msgid "The Model/View/Controller design (Python)"
msgstr "El diseño modelo/vista/controlador (Python)"
-#: C/model-view-controller.py.page:13(info/desc)
-#: C/model-view-controller.py.page:26(page/title)
+#. (itstool) path: info/desc
+#. (itstool) path: page/title
+#: C/model-view-controller.py.page:13 C/model-view-controller.py.page:26
msgid "The Model/View/Controller design"
msgstr "El diseño modelo/vista/controlador"
-#: C/model-view-controller.py.page:31(section/title)
-#: C/properties.py.page:31(section/title)
-#: C/signals-callbacks.py.page:31(section/title)
+#. (itstool) path: section/title
+#: C/model-view-controller.py.page:31 C/properties.py.page:31
+#: C/signals-callbacks.py.page:31
msgid "Overview"
msgstr "Visión general"
-#: C/model-view-controller.py.page:33(section/p)
+#. (itstool) path: section/p
+#: C/model-view-controller.py.page:33
msgid ""
"Both the <link xref=\"treeview_simple_liststore.py\">TreeView</link> and the "
"<link xref=\"combobox.py\">ComboBox</link> widgets are built on the "
@@ -32714,11 +35095,13 @@ msgstr ""
"code>) y le notifica a la vista de estos cambios (a través de señales como "
"<code>«changed»</code>)."
-#: C/model-view-controller.py.page:38(section/title)
+#. (itstool) path: section/title
+#: C/model-view-controller.py.page:38
msgid "The Model"
msgstr "El modelo"
-#: C/model-view-controller.py.page:40(section/p)
+#. (itstool) path: section/p
+#: C/model-view-controller.py.page:40
msgid ""
"The main difference between the two main implementations of <code>Gtk."
"TreeModel</code> is that <code>Gtk.ListStore</code> contains simple rows of "
@@ -32732,7 +35115,8 @@ msgstr ""
"contiene filas de datos, pero cada fila puede tener filas hijas (que a su "
"vez pueden tener filas hijas, y así sucesivamente)."
-#: C/model-view-controller.py.page:42(section/p)
+#. (itstool) path: section/p
+#: C/model-view-controller.py.page:42
msgid ""
"The data in the Model can be retrieved or modified using the tree iter and "
"column index, or <code>Gtk.TreeIter</code>, or <code>Gtk.TreePath</code>."
@@ -32741,7 +35125,8 @@ msgstr ""
"árbol y el índice de columna, <code>Gtk.TreeIter</code>, o <code>Gtk."
"TreePath</code>."
-#: C/model-view-controller.py.page:44(section/p)
+#. (itstool) path: section/p
+#: C/model-view-controller.py.page:44
msgid ""
"As with Python's built-in list object you can use <code>len()</code> to get "
"the number of rows and use slices to retrieve or set values. Otherwise, the "
@@ -32756,7 +35141,8 @@ msgstr ""
"insertada recientemente. También puede obtener un <code>Gtk.TreeIter</code> "
"llamando a <code>get_iter()</code>."
-#: C/model-view-controller.py.page:46(section/p)
+#. (itstool) path: section/p
+#: C/model-view-controller.py.page:46
msgid ""
"As <code>Gtk.ListStore</code> contains only one level, i.e. nodes do not "
"have any child nodes, a path is essentially the index of the row you want to "
@@ -32774,11 +35160,13 @@ msgstr ""
"nivel. Entonces, la ruta <code>«0»</code> se refiere al nodo raíz y la ruta "
"<code>«2:4»</code> al quinto hijo del tercer nodo."
-#: C/model-view-controller.py.page:48(section/p)
+#. (itstool) path: section/p
+#: C/model-view-controller.py.page:48
msgid "Useful methods for a <code>Gtk.TreeModel</code>:"
msgstr "Métodos útiles para un <code>Gtk.TreeModel</code>:"
-#: C/model-view-controller.py.page:50(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:50
msgid ""
"<code>get_iter(path)</code> returns a <code>Gtk.TreeIter</code> instance "
"pointing to <code>path</code>. This is expected to be a colon-separated list "
@@ -32794,7 +35182,8 @@ msgstr ""
"ruta de profundidad 3 apuntando al 11º hijo del nodo raíz, el 5º hijo de ese "
"11º hijo, y el 1er hijo de ese 5º hijo."
-#: C/model-view-controller.py.page:51(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:51
msgid ""
"<code>iter_next(treeiter)</code> returns a <code>Gtk.TreeIter</code> "
"instance pointing the node following treeiter at the current level or "
@@ -32804,7 +35193,8 @@ msgstr ""
"TreeIter</code> apuntando siguiendo el «treeiter» en el nivel actual o "
"<code>None</code> si no hay un «iter» siguiente."
-#: C/model-view-controller.py.page:52(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:52
msgid ""
"<code>iter_has_child(treeiter)</code> returns <code>True</code> if "
"<code>treeiter</code> has children, <code>False</code> otherwise."
@@ -32812,7 +35202,8 @@ msgstr ""
"<code>iter_has_child(treeiter)</code> devuelve <code>True</code> si "
"<code>treeiter</code> tiene hijos, <code>False</code> de lo contrario."
-#: C/model-view-controller.py.page:53(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:53
msgid ""
"<code>iter_children(treeiter)</code> returns a <code>Gtk.TreeIter</code> "
"instance pointing to the first child of <code>treeiter</code> or <code>None</"
@@ -32822,7 +35213,8 @@ msgstr ""
"TreeIter</code> apuntando al primer hijo de <code>treeiter</code> o "
"<code>None</code> si <code>treeiter</code> no tiene hijos."
-#: C/model-view-controller.py.page:54(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:54
msgid ""
"<code>get_iter_first()</code> returns a <code>Gtk.TreeIter</code> instance "
"pointing to the first iterator in the tree (the one at the path <code>\"0\"</"
@@ -32832,11 +35224,13 @@ msgstr ""
"code> apuntando al primer iterador en el árbol (el que está en la ruta "
"<code>«0»</code>) o <code>None</code> si el árbol está vacío."
-#: C/model-view-controller.py.page:57(section/p)
+#. (itstool) path: section/p
+#: C/model-view-controller.py.page:57
msgid "Useful methods for a <code>Gtk.ListStore</code>:"
msgstr "Métodos útiles para un <code>Gtk.ListStore</code>:"
-#: C/model-view-controller.py.page:59(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:59
msgid ""
"<code>append(row)</code> appends a new row to this list store, where "
"<code>row</code> can be a list of values for each column; <code>row</code> "
@@ -32850,8 +35244,8 @@ msgstr ""
"caso se añade una fila vacía. El método devuelve un <code>Gtk.TreeIter</"
"code> apuntando a la fila añadida."
-#: C/model-view-controller.py.page:60(item/p)
-#: C/model-view-controller.py.page:66(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:60 C/model-view-controller.py.page:66
msgid ""
"<code>remove(iter)</code> removes <code>iter</code> from the <code>Gtk."
"ListStore</code>, and returns <code>True</code> if the iter is valid, and "
@@ -32863,11 +35257,13 @@ msgstr ""
"code> si no lo es. Después de eliminarse, <code>iter</code> se establece a "
"la siguiente fila válida."
-#: C/model-view-controller.py.page:63(section/p)
+#. (itstool) path: section/p
+#: C/model-view-controller.py.page:63
msgid "Useful methods for a <code>Gtk.TreeStore</code>:"
msgstr "Métodos útiles para un <code>Gtk.TreeStore</code>:"
-#: C/model-view-controller.py.page:65(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:65
msgid ""
"<code>append(parent, row)</code> appends a new row to this tree store; "
"<code>parent</code> must be a valid Gtk.TreeIter. If parent is not "
@@ -32885,11 +35281,13 @@ msgstr ""
"ser <code>None</code>; en este último caso se añadirá una fila vacía. El "
"método devuelve un <code>Gtk.TreeIter</code> apuntando a la fila añadida."
-#: C/model-view-controller.py.page:72(section/title)
+#. (itstool) path: section/title
+#: C/model-view-controller.py.page:72
msgid "The View: the TreeView case"
msgstr "La vista: el caso de «TreeView»"
-#: C/model-view-controller.py.page:74(section/p)
+#. (itstool) path: section/p
+#: C/model-view-controller.py.page:74
msgid ""
"A Treeview shows the structure of children and parent items as a tree. See "
"for instance <link xref=\"treeview_treestore.py\">this example</link>."
@@ -32897,18 +35295,21 @@ msgstr ""
"Una vista de árbol muestra la estructura de elementos padres e hijos como un "
"árbol. Consulte <link xref=\"treeview_treestore.py\">este ejemplo</link>."
-#: C/model-view-controller.py.page:76(section/p)
+#. (itstool) path: section/p
+#: C/model-view-controller.py.page:76
msgid ""
"The <code>Gtk.TreeViewColumn</code> is used to organize the vertical columns."
msgstr ""
"La <code>Gtk.TreeViewColumn</code> se usa para organizar las columnas "
"verticales."
-#: C/model-view-controller.py.page:78(section/p)
+#. (itstool) path: section/p
+#: C/model-view-controller.py.page:78
msgid "Useful methods for a <code>Gtk.TreeView</code>:"
msgstr "Métodos útiles para un <code>Gtk.TreeView</code>:"
-#: C/model-view-controller.py.page:80(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:80
msgid ""
"<code>set_model(model)</code> sets the model for this tree view. If this "
"tree view already has a model set, it will remove it before setting the new "
@@ -32918,7 +35319,8 @@ msgstr ""
"Si ya tiene un modelo, lo eliminará antes de establecer el nuevo. Si el "
"modelo es <code>None</code>, entonces quitará el modelo viejo. "
-#: C/model-view-controller.py.page:81(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:81
msgid ""
"<code>get_model()</code> returns the model this tree view is based on, "
"<code>None</code> if the model is unset."
@@ -32926,7 +35328,8 @@ msgstr ""
"<code>get_model()</code> devuelve el modelo en el que está basada esta vista "
"de árbol, <code>None</code> si no tiene modelo."
-#: C/model-view-controller.py.page:82(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:82
msgid ""
"<code>append_column(column)</code> appends <code>column</code> to the list "
"of columns."
@@ -32934,7 +35337,8 @@ msgstr ""
"<code>append_column(columna)</code> añade la <code>columna</code> a la lista "
"de columnas."
-#: C/model-view-controller.py.page:83(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:83
msgid ""
"<code>get_selection()</code> gets the <code>Gtk.TreeSelection</code> "
"associated with this tree view."
@@ -32942,11 +35346,13 @@ msgstr ""
"<code>get_selection()</code> obtiene la <code>Gtk.TreeSelection</code> "
"asociada a esta vista de árbol."
-#: C/model-view-controller.py.page:86(section/p)
+#. (itstool) path: section/p
+#: C/model-view-controller.py.page:86
msgid "Useful methods for a <code>Gtk.TreeViewColumn</code>:"
msgstr "Métodos útiles para un <code>Gtk.TreeViewColumn</code>:"
-#: C/model-view-controller.py.page:88(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:88
msgid ""
"<code>add_attribute(renderer, attribute, value)</code> adds an attribute "
"mapping to this column. <code>attribute</code> is the parameter on "
@@ -32956,7 +35362,8 @@ msgstr ""
"atributo a esta columna. <code>atributo</code> es el parámetro en "
"<code>renderizador</code> al que se le asigna el <code>valor</code>."
-#: C/model-view-controller.py.page:89(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:89
msgid ""
"<code>pack_start(renderer, expand)</code> packs <code>renderer</code> into "
"the beginning of this column. If <code>expand</code> is <code>False</code>, "
@@ -32971,7 +35378,8 @@ msgstr ""
"sin utilizar se divide equitativamente entre las celdas en las que "
"«expandir» es <code>True</code>."
-#: C/model-view-controller.py.page:90(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:90
msgid ""
"<code>pack_end(renderer, expand)</code> adds <code>renderer</code> to end of "
"this column. If <code>expand</code> is <code>False</code>, then "
@@ -32985,7 +35393,8 @@ msgstr ""
"que necesita. Cualquier espacio sin utilizar se divide equitativamente entre "
"celdas en las que <code>expandir</code> es <code>True</code>."
-#: C/model-view-controller.py.page:91(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:91
msgid ""
"<code>set_sort_column_id(sort_column_id)</code> sets the column of the model "
"by which this column (of the view) should be sorted. This also makes the "
@@ -32995,7 +35404,8 @@ msgstr ""
"del modelo por la que debe ordenarse la vista. Esto también hace que se "
"pueda pulsar la cabecera de la columna."
-#: C/model-view-controller.py.page:92(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:92
msgid ""
"<code>set_sort_indicator(setting)</code> sets whether a little arrow is "
"displayed in the column header; <code>setting</code> can either be "
@@ -33005,7 +35415,8 @@ msgstr ""
"flecha en la cabecera de la columna; <code>opción</code> puede ser "
"<code>True</code> (se muestra el indicador) o <code>False</code>."
-#: C/model-view-controller.py.page:93(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:93
msgid ""
"<code>set_sort_order(order)</code> changes the order by which the column is "
"sorted; <code>order</code> can either be <code>Gtk.SortType.ASCENDING</code> "
@@ -33015,11 +35426,13 @@ msgstr ""
"columna; <code>orden</code> puede ser <code>Gtk.SortType.ASCENDING</code> o "
"<code>Gtk.SortType.DESCENDING</code>."
-#: C/model-view-controller.py.page:99(section/title)
+#. (itstool) path: section/title
+#: C/model-view-controller.py.page:99
msgid "The View: the ComboBox case"
msgstr "La vista: el caso de la «ComboBox»"
-#: C/model-view-controller.py.page:101(section/p)
+#. (itstool) path: section/p
+#: C/model-view-controller.py.page:101
msgid ""
"A <code>Gtk.ComboBox</code> allows for the selection of an item from a "
"dropdown menu, see for instance <link xref=\"combobox.py\">this example</"
@@ -33033,11 +35446,13 @@ msgstr ""
"ComboBoxText</code>, que es más simple. Tanto <code>Gtk.ComboBox</code> como "
"<code>Gtk.ComboBoxText</code> pueden contener una entrada."
-#: C/model-view-controller.py.page:103(section/p)
+#. (itstool) path: section/p
+#: C/model-view-controller.py.page:103
msgid "Useful methods for a <code>Gtk.ComboBox</code>:"
msgstr "Métodos útiles para un <code>Gtk.ComboBox</code>:"
-#: C/model-view-controller.py.page:105(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:105
msgid ""
"The static method <code>new_with_entry()</code> creates a new empty "
"<code>Gtk.ComboBox</code> with an entry; the static method "
@@ -33051,7 +35466,8 @@ msgstr ""
"<code>modelo</code> nueva; y el método estático "
"<code>new_with_model_and_entry(modelo)</code> es una combinación de los dos."
-#: C/model-view-controller.py.page:106(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:106
msgid ""
"<code>get_active_iter()</code> returns a <code>Gtk.TreeIter</code> pointing "
"to the current active item. If no active item exists, <code>None</code> is "
@@ -33060,7 +35476,8 @@ msgstr ""
"<code>get_active_iter()</code> devuelve un <code>Gtk.TreeIter</code> que "
"apunta al elemento activo actual. Si no existe, devuelve <code>None</code>."
-#: C/model-view-controller.py.page:107(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:107
msgid ""
"<code>set_model(model)</code> sets the model used by this combo box to be "
"<code>model</code>, and it will unset a previously set model (if there is "
@@ -33072,7 +35489,8 @@ msgstr ""
"<code>modelo</code> es <code>None</code>, entonces lo quitará. Tenga en "
"cuenta que esta función no limpia los renderizadores de celda."
-#: C/model-view-controller.py.page:108(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:108
msgid ""
"<code>set_entry_text_column(text_column)</code> sets the model column which "
"this combo box should use to get strings from to be <code>text_column</"
@@ -33087,7 +35505,8 @@ msgstr ""
"es relevante si esta caja combinada se creó con la propiedad «has-entry» "
"establecida a «True»)."
-#: C/model-view-controller.py.page:109(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:109
msgid ""
"<code>set_wrap_width(width)</code> sets the wrap width of this combo box to "
"be <code>width</code>. The wrap width is basically the preferred number of "
@@ -33098,11 +35517,13 @@ msgstr ""
"línea es básicamente el número preferido de columnas en el que quiere que el "
"diálogo emergente se distribuya en una rejilla."
-#: C/model-view-controller.py.page:112(section/p)
+#. (itstool) path: section/p
+#: C/model-view-controller.py.page:112
msgid "Useful methods for a <code>Gtk.ComboBoxText</code>:"
msgstr "Métodos útiles para un <code>Gtk.ComboBoxText</code>:"
-#: C/model-view-controller.py.page:114(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:114
msgid ""
"The static method <code>new_with_entry()</code> creates a new empty "
"<code>Gtk.ComboBoxText</code> with an entry."
@@ -33110,7 +35531,8 @@ msgstr ""
"El método estático <code>new_with_entry()</code> crea una <code>Gtk."
"ComboBoxText</code> nueva vacía con una entrada."
-#: C/model-view-controller.py.page:115(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:115
msgid ""
"<code>append_text(text)</code> appends <code>text</code> to the list of "
"strings stored in this combo box."
@@ -33118,7 +35540,8 @@ msgstr ""
"<code>append_text(texto)</code> añade <code>texto</code> a la lista de "
"cadenas almacenadas en esta caja combinada."
-#: C/model-view-controller.py.page:116(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:116
msgid ""
"<code>get_active_text()</code> returns the currently active string in this "
"combo box, or <code>None</code> if none is selected. If this combo box "
@@ -33130,11 +35553,13 @@ msgstr ""
"caja combinada contiene una entrada, esta función devolverá su contenido "
"(que no será necesariamente un elemento de la lista)."
-#: C/model-view-controller.py.page:122(section/title)
+#. (itstool) path: section/title
+#: C/model-view-controller.py.page:122
msgid "The View: the Cellrenderers"
msgstr "La vista: los «CellRenderer»"
-#: C/model-view-controller.py.page:124(section/p)
+#. (itstool) path: section/p
+#: C/model-view-controller.py.page:124
msgid ""
"The View makes use of <code>Gtk.CellRenderer</code>s of various types to "
"draw the data."
@@ -33142,15 +35567,18 @@ msgstr ""
"La vista hace uso de <code>Gtk.CellRenderer</code> de varios tipos para "
"dibujar los datos."
-#: C/model-view-controller.py.page:126(section/p)
+#. (itstool) path: section/p
+#: C/model-view-controller.py.page:126
msgid "Implementations of <code>Gtk.CellRenderer</code> and useful methods:"
msgstr "Implementaciones de <code>Gtk.CellRenderer</code> y métodos útiles:"
-#: C/model-view-controller.py.page:128(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:128
msgid "<code>Gtk.CellRendererText</code> - renders text in a cell"
msgstr "<code>Gtk.CellRendererText</code>: muestra texto en una celda"
-#: C/model-view-controller.py.page:129(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:129
msgid ""
"<code>Gtk.CellRendererToggle</code> - renders a toggle or radio button in a "
"cell. Useful methods:"
@@ -33158,18 +35586,21 @@ msgstr ""
"<code>Gtk.CellRendererToggle</code>: muestra un interruptor o botón de radio "
"en una celda. Métodos útiles:"
-#: C/model-view-controller.py.page:131(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:131
msgid ""
"<code>set_active(setting)</code> - activates or deactivates a cell renderer"
msgstr ""
"<code>set_active(opción)</code>: activa o desactiva un renderizador de celda"
-#: C/model-view-controller.py.page:132(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:132
msgid "<code>get_active()</code> - returns whether the cell renderer is active"
msgstr ""
"<code>get_active()</code>: devuelve si el renderizador de celda está activado"
-#: C/model-view-controller.py.page:133(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:133
msgid ""
"<code>set_radio(radio)</code> - if radio is <code>True</code>, the cell "
"renderer renders a radio toggle (i.e. a toggle in a group of mutually-"
@@ -33181,7 +35612,8 @@ msgstr ""
"interruptor en un grupo mutuamente exclusivo); si es <code>False</code>, "
"muestra una casilla de verificación (una opción booleana independiente)"
-#: C/model-view-controller.py.page:134(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:134
msgid ""
"<code>get_radio()</code> - returns whether we are rendering radio toggles "
"rather than checkboxes."
@@ -33189,11 +35621,13 @@ msgstr ""
"<code>get_radio()</code>: devuelve si se están mostrando botones de radio en "
"lugar de casillas de verificación."
-#: C/model-view-controller.py.page:137(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:137
msgid "<code>Gtk.CellRendererPixbuf</code> - renders an image in a cell"
msgstr "<code>Gtk.CellRendererPixbuf</code>: muestra una imagen en una celda"
-#: C/model-view-controller.py.page:138(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:138
msgid ""
"<code>Gtk.CellRendererCombo</code> - renders text in a cell; but while "
"<code>Gtk.CellRendererText</code> offers a simple entry to edit the text, "
@@ -33207,7 +35641,8 @@ msgstr ""
"<code>Gtk.ComboBox</code> para editarlo. Puede usarse con o sin un widget "
"«Gtk.Entry» asociado, dependiendo del valor de la propiedad «has-entry»."
-#: C/model-view-controller.py.page:139(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:139
msgid ""
"<code>Gtk.CellRendererProgress</code> - renders a numeric value as a "
"progress bar in a cell; it can display a text on top of the progress bar"
@@ -33215,30 +35650,35 @@ msgstr ""
"<code>Gtk.CellRendererProgress</code>: muestra un valor numérico en forma de "
"barra de progreso en una celda; puede mostrar un texto sobre ella"
-#: C/model-view-controller.py.page:140(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:140
msgid ""
"<code>Gtk.CellRendererSpinner</code> - renders a spinning animation in a cell"
msgstr ""
"<code>Gtk.CellRendererSpinner</code>: muestra una animación giratoria en una "
"celda"
-#: C/model-view-controller.py.page:141(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:141
msgid "<code>Gtk.CellRendererSpin</code> - renders a spin button in a cell"
msgstr ""
"<code>Gtk.CellRendererSpin</code>: muestra un botón incremental en una celda"
-#: C/model-view-controller.py.page:142(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:142
msgid ""
"<code>Gtk.CellRendererAccel</code> - renders a keyboard accelerator in a cell"
msgstr ""
"<code>Gtk.CellRendererAccel</code>: muestra un acelerador de teclado en una "
"celda"
-#: C/model-view-controller.py.page:148(section/title)
+#. (itstool) path: section/title
+#: C/model-view-controller.py.page:148
msgid "The Controller: the Selection"
msgstr "El controlador: la selección"
-#: C/model-view-controller.py.page:150(section/p)
+#. (itstool) path: section/p
+#: C/model-view-controller.py.page:150
msgid ""
"Most applications will need to not only deal with displaying data, but also "
"receiving input events from users. To do this, simply get a reference to a "
@@ -33249,7 +35689,8 @@ msgstr ""
"simplemente obtenga una referencia a un objeto de selección y conéctela a la "
"señal <code>«changed»</code>."
-#: C/model-view-controller.py.page:152(section/code)
+#. (itstool) path: section/code
+#: C/model-view-controller.py.page:152
#, no-wrap
msgid ""
"\n"
@@ -33260,11 +35701,13 @@ msgstr ""
"select = tree.get_selection()\n"
"select.connect(\"changed\", on_tree_selection_changed)\n"
-#: C/model-view-controller.py.page:157(section/p)
+#. (itstool) path: section/p
+#: C/model-view-controller.py.page:157
msgid "Then to retrieve data for the row selected:"
msgstr "Después, para obtener datos de la fila seleccionada:"
-#: C/model-view-controller.py.page:159(section/code)
+#. (itstool) path: section/code
+#: C/model-view-controller.py.page:159
#, no-wrap
msgid ""
"\n"
@@ -33279,29 +35722,34 @@ msgstr ""
" if treeiter != None:\n"
" print \"You selected\", model[treeiter][0]\n"
-#: C/model-view-controller.py.page:166(section/p)
+#. (itstool) path: section/p
+#: C/model-view-controller.py.page:166
msgid "Useful methods for a <code>Gtk.TreeSelection</code>:"
msgstr "Métodos útiles para un <code>Gtk.TreeSelection</code>:"
-#: C/model-view-controller.py.page:169(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:169
msgid ""
"<code>set_mode(type)</code> sets the type of selection, where type is one of"
msgstr ""
"<code>set_mode(tipo)</code> establece el tipo de la selección, donde «tipo» "
"puede ser"
-#: C/model-view-controller.py.page:171(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:171
msgid "<code>Gtk.SelectionMode.NONE</code> - no selection is possible"
msgstr "<code>Gtk.SelectionMode.NONE</code>: la selección no es posible"
-#: C/model-view-controller.py.page:172(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:172
msgid ""
"<code>Gtk.SelectionMode.SINGLE</code> - zero or one element may be selected"
msgstr ""
"<code>Gtk.SelectionMode.SINGLE</code>: se puede seleccionar uno o ningún "
"elemento"
-#: C/model-view-controller.py.page:173(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:173
msgid ""
"<code>Gtk.SelectionMode.BROWSE</code> - exactly one element is selected. In "
"some circumstances, such as initially or during a search operation, it’s "
@@ -33315,7 +35763,8 @@ msgstr ""
"que realmente se prohíbe es que el usuario deseleccione un elemento "
"actualmente seleccionado excepto si selecciona otro."
-#: C/model-view-controller.py.page:174(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:174
msgid ""
"<code>Gtk.SelectionMode.MULTIPLE</code> -any number of elements may be "
"selected. Clicks toggle the state of an item. The Ctrl key may be used to "
@@ -33329,7 +35778,8 @@ msgstr ""
"seleccionar entre el foco y el hijo al que apunta. Algunos widgets también "
"pueden permitir arrastrar y soltar para seleccionar un rango de elementos."
-#: C/model-view-controller.py.page:177(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:177
msgid ""
"<code>get_selected()</code> returns a tuple <code>(model, treeiter)</code>, "
"where <code>model</code> is the current model and <code>treeiter</code> a "
@@ -33347,18 +35797,17 @@ msgstr ""
"<code>get_selected_rows()</code> en su lugar, que devuelve una lista de "
"instancias <code>Gtk.TreePath</code> de todas las filas seleccionadas."
-#: C/model-view-controller.py.page:183(section/title)
-#: C/properties.py.page:50(section/title)
-#: C/signals-callbacks.py.page:45(section/title)
-#: C/strings.py.page:111(section/title)
+#. (itstool) path: section/title
+#: C/model-view-controller.py.page:183 C/properties.py.page:50
+#: C/signals-callbacks.py.page:45 C/strings.py.page:111
msgid "References"
msgstr "Referencias"
-#: C/model-view-controller.py.page:186(item/p)
-#: C/treeview_advanced_liststore.py.page:44(item/p)
-#: C/treeview_cellrenderertoggle.py.page:44(item/p)
-#: C/treeview_simple_liststore.py.page:45(item/p)
-#: C/treeview_treestore.py.page:44(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:186
+#: C/treeview_advanced_liststore.py.page:44
+#: C/treeview_cellrenderertoggle.py.page:44
+#: C/treeview_simple_liststore.py.page:45 C/treeview_treestore.py.page:44
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkTreeModel.html"
"\">GtkTreeModel</link>"
@@ -33366,11 +35815,11 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkTreeModel.html"
"\">GtkTreeModel</link>"
-#: C/model-view-controller.py.page:187(item/p)
-#: C/treeview_advanced_liststore.py.page:43(item/p)
-#: C/treeview_cellrenderertoggle.py.page:43(item/p)
-#: C/treeview_simple_liststore.py.page:44(item/p)
-#: C/treeview_treestore.py.page:43(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:187
+#: C/treeview_advanced_liststore.py.page:43
+#: C/treeview_cellrenderertoggle.py.page:43
+#: C/treeview_simple_liststore.py.page:44 C/treeview_treestore.py.page:43
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkTreeView.html"
"\">GtkTreeView</link>"
@@ -33378,11 +35827,11 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkTreeView.html"
"\">GtkTreeView</link>"
-#: C/model-view-controller.py.page:188(item/p)
-#: C/treeview_advanced_liststore.py.page:47(item/p)
-#: C/treeview_cellrenderertoggle.py.page:48(item/p)
-#: C/treeview_simple_liststore.py.page:48(item/p)
-#: C/treeview_treestore.py.page:47(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:188
+#: C/treeview_advanced_liststore.py.page:47
+#: C/treeview_cellrenderertoggle.py.page:48
+#: C/treeview_simple_liststore.py.page:48 C/treeview_treestore.py.page:47
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkTreeViewColumn.html"
"\">GtkTreeViewColumn</link>"
@@ -33390,7 +35839,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkTreeViewColumn.html"
"\">GtkTreeViewColumn</link>"
-#: C/model-view-controller.py.page:190(item/p)
+#. (itstool) path: item/p
+#: C/model-view-controller.py.page:190
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkCellRenderer.html"
"\">GtkCellRenderer</link>"
@@ -33398,52 +35848,43 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkCellRenderer.html"
"\">GtkCellRenderer</link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/paned.c.page:21(media) C/paned.js.page:21(media)
-#: C/paned.py.page:22(media) C/paned.vala.page:21(media)
+#: C/paned.c.page:21 C/paned.js.page:21 C/paned.py.page:22
+#: C/paned.vala.page:21
msgctxt "_"
msgid "external ref='media/paned.png' md5='8c7e1df065395c9aafcd65036a293d8a'"
msgstr "external ref='media/paned.png' md5='8c7e1df065395c9aafcd65036a293d8a'"
-#: C/paned.c.page:7(info/title)
+#. (itstool) path: info/title
+#: C/paned.c.page:7
msgctxt "text"
msgid "Paned (C)"
msgstr "Paned (C)"
-#: C/paned.c.page:17(info/desc) C/paned.js.page:17(info/desc)
-#: C/paned.py.page:18(info/desc) C/paned.vala.page:17(info/desc)
+#. (itstool) path: info/desc
+#: C/paned.c.page:17 C/paned.js.page:17 C/paned.py.page:18
+#: C/paned.vala.page:17
msgid "A widget with two adjustable panes"
msgstr "Un widget con dos paneles ajustables"
-#: C/paned.c.page:20(page/title) C/paned.js.page:20(page/title)
-#: C/paned.py.page:21(page/title) C/paned.vala.page:20(page/title)
+#. (itstool) path: page/title
+#: C/paned.c.page:20 C/paned.js.page:20 C/paned.py.page:21
+#: C/paned.vala.page:20
msgid "Paned"
msgstr "Paned"
-#: C/paned.c.page:22(page/p) C/paned.js.page:22(page/p)
-#: C/paned.py.page:23(page/p) C/paned.vala.page:22(page/p)
+#. (itstool) path: page/p
+#: C/paned.c.page:22 C/paned.js.page:22 C/paned.py.page:23
+#: C/paned.vala.page:22
msgid "Two images in two adjustable panes, horizontally aligned."
msgstr "Dos imágenes en dos paneles ajustables, alineados horizontalmente."
-#: C/paned.c.page:28(section/code)
+#. (itstool) path: section/code
+#: C/paned.c.page:28
#, no-wrap
msgid ""
"#include <gtk/gtk.h>\n"
@@ -33526,7 +35967,8 @@ msgstr ""
" return status;\n"
"}\n"
-#: C/paned.c.page:35(item/p) C/paned.py.page:41(item/p)
+#. (itstool) path: item/p
+#: C/paned.c.page:35 C/paned.py.page:41
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkPaned.html"
"\">GtkPaned</link>"
@@ -33534,8 +35976,9 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkPaned.html"
"\">GtkPaned</link>"
-#: C/paned.c.page:36(item/p) C/paned.js.page:36(item/p)
-#: C/paned.py.page:42(item/p) C/paned.vala.page:36(item/p)
+#. (itstool) path: item/p
+#: C/paned.c.page:36 C/paned.js.page:36 C/paned.py.page:42
+#: C/paned.vala.page:36
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/stable/gtk3-Standard-"
"Enumerations.html#GtkOrientation\">Standard Enumerations</link>"
@@ -33543,12 +35986,14 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/stable/gtk3-Standard-"
"Enumerations.html#GtkOrientation\">Enumeraciones estándar</link>"
-#: C/paned.js.page:7(info/title)
+#. (itstool) path: info/title
+#: C/paned.js.page:7
msgctxt "text"
msgid "Paned (JavaScript)"
msgstr "Paned (JavaScript)"
-#: C/paned.js.page:28(section/code)
+#. (itstool) path: section/code
+#: C/paned.js.page:28
#, no-wrap
msgid ""
"#!/usr/bin/gjs\n"
@@ -33675,7 +36120,8 @@ msgstr ""
"let app = new PanedExample();\n"
"app.application.run (ARGV);\n"
-#: C/paned.js.page:35(item/p)
+#. (itstool) path: item/p
+#: C/paned.js.page:35
msgid ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.Paned.html"
"\">GtkPaned</link>"
@@ -33683,7 +36129,8 @@ msgstr ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.Paned.html"
"\">GtkPaned</link>"
-#: C/paned.js.page:37(item/p) C/scrolledwindow.js.page:37(item/p)
+#. (itstool) path: item/p
+#: C/paned.js.page:37 C/scrolledwindow.js.page:37
msgid ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.Image.html"
"\">GtkImage</link>"
@@ -33691,18 +36138,63 @@ msgstr ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.Image.html"
"\">GtkImage</link>"
-#: C/paned.py.page:7(info/title)
+#. (itstool) path: info/title
+#: C/paned.py.page:7
msgctxt "text"
msgid "Paned (Python)"
msgstr "Paned (Python)"
-#: C/paned.py.page:29(section/code)
+#. (itstool) path: section/code
+#: C/paned.py.page:29
#, no-wrap
+#| msgid ""
+#| "from gi.repository import Gtk\n"
+#| "import sys\n"
+#| "\n"
+#| "class MyWindow(Gtk.ApplicationWindow):\n"
+#| " def __init__(self, app):\n"
+#| " Gtk.Window.__init__(self, title=\"Paned Example\", application=app)\n"
+#| " self.set_default_size(450, 350)\n"
+#| "\n"
+#| " # a new widget with two adjustable panes,\n"
+#| " # one on the left and one on the right\n"
+#| " paned = Gtk.Paned.new(Gtk.Orientation.HORIZONTAL)\n"
+#| "\n"
+#| " # two images\n"
+#| " image1 = Gtk.Image()\n"
+#| " image1.set_from_file(\"gnome-image.png\")\n"
+#| " image2 = Gtk.Image()\n"
+#| " image2.set_from_file(\"tux.png\")\n"
+#| "\n"
+#| " # add the first image to the left pane\n"
+#| " paned.add1(image1)\n"
+#| " # add the second image to the right pane\n"
+#| " paned.add2(image2)\n"
+#| "\n"
+#| " # add the panes to the window\n"
+#| " self.add(paned)\n"
+#| "\n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " def __init__(self):\n"
+#| " Gtk.Application.__init__(self)\n"
+#| "\n"
+#| " def do_activate(self):\n"
+#| " win = MyWindow(self)\n"
+#| " win.show_all()\n"
+#| "\n"
+#| " def do_startup(self):\n"
+#| " Gtk.Application.do_startup(self)\n"
+#| "\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"Paned Example\", application=app)\n"
" self.set_default_size(450, 350)\n"
@@ -33725,7 +36217,9 @@ msgid ""
" # add the panes to the window\n"
" self.add(paned)\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -33743,7 +36237,9 @@ msgstr ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"Paned Example\", application=app)\n"
" self.set_default_size(450, 350)\n"
@@ -33766,7 +36262,9 @@ msgstr ""
" # add the panes to the window\n"
" self.add(paned)\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -33781,11 +36279,13 @@ msgstr ""
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/paned.py.page:33(section/title)
+#. (itstool) path: section/title
+#: C/paned.py.page:33
msgid "Useful methods for a Paned widget"
msgstr "Métodos útiles para un widget «Paned»"
-#: C/paned.py.page:34(section/p)
+#. (itstool) path: section/p
+#: C/paned.py.page:34
msgid ""
"To have two vertically aligned panes, use <code>Gtk.Orientation.VERTICAL</"
"code> instead of <code>Gtk.Orientation.HORIZONTAL</code>. The method "
@@ -33799,12 +36299,14 @@ msgstr ""
"superior, y <code>add2(widget2)</code> añadirá el <code>widget2</code> al "
"panel inferior."
-#: C/paned.vala.page:7(info/title)
+#. (itstool) path: info/title
+#: C/paned.vala.page:7
msgctxt "text"
msgid "Paned (Vala)"
msgstr "Paned (Vala)"
-#: C/paned.vala.page:28(section/code)
+#. (itstool) path: section/code
+#: C/paned.vala.page:28
#, no-wrap
msgid ""
"/* This is the application. */\n"
@@ -33879,28 +36381,31 @@ msgstr ""
"\treturn new MyApplication ().run (args);\n"
"}\n"
-#: C/paned.vala.page:35(item/p)
+#. (itstool) path: item/p
+#: C/paned.vala.page:35
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Paned.html\">GtkPaned</link>"
msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Paned.html\">GtkPaned</link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#: C/photo-wall.c.page:83(media)
+#: C/photo-wall.c.page:83
msgctxt "_"
msgid ""
"external ref='media/photo-wall.png' md5='f19590d97e8ec029cda3c44b769c11cd'"
msgstr ""
"external ref='media/photo-wall.png' md5='f19590d97e8ec029cda3c44b769c11cd'"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#: C/photo-wall.c.page:86(media)
+#: C/photo-wall.c.page:86
msgctxt "_"
msgid ""
"external ref='media/photo-wall-focused.png' "
@@ -33909,24 +36414,29 @@ msgstr ""
"external ref='media/photo-wall-focused.png' "
"md5='9f1ceecf3a28c1e468597b093a10cbae'"
-#: C/photo-wall.c.page:6(info/title)
+#. (itstool) path: info/title
+#: C/photo-wall.c.page:6
msgctxt "text"
msgid "Photo wall (C)"
msgstr "Mural de fotos (C)"
-#: C/photo-wall.c.page:9(info/desc)
+#. (itstool) path: info/desc
+#: C/photo-wall.c.page:9
msgid "A Clutter image viewer"
msgstr "Un visor de imágenes Clutter"
-#: C/photo-wall.c.page:13(credit/name)
+#. (itstool) path: credit/name
+#: C/photo-wall.c.page:13
msgid "Chris Kühl"
msgstr "Chris Kühl"
-#: C/photo-wall.c.page:27(page/title)
+#. (itstool) path: page/title
+#: C/photo-wall.c.page:27
msgid "Photo wall"
msgstr "Mural de fotos"
-#: C/photo-wall.c.page:30(synopsis/p)
+#. (itstool) path: synopsis/p
+#: C/photo-wall.c.page:30
msgid ""
"For this example we will build a simple image viewer using Clutter. You will "
"learn:"
@@ -33934,35 +36444,41 @@ msgstr ""
"Para este ejemplo se construirá un sencillo visor de imágenes usando "
"Clutter. Aprenderá:"
-#: C/photo-wall.c.page:32(item/p)
+#. (itstool) path: item/p
+#: C/photo-wall.c.page:32
msgid "How to size and position <code>ClutterActor</code>s"
msgstr "Cómo dimensionar y posicionar varios <code>ClutterActor</code>"
-#: C/photo-wall.c.page:33(item/p)
+#. (itstool) path: item/p
+#: C/photo-wall.c.page:33
msgid "How to place an image in a <code>ClutterActor</code>"
msgstr "Cómo situar una imagen en un <code>ClutterActor</code>"
-#: C/photo-wall.c.page:34(item/p)
+#. (itstool) path: item/p
+#: C/photo-wall.c.page:34
msgid "How to do simple transitions using Clutter's animation framework"
msgstr ""
"Cómo hacer transiciones sencillas usando el entorno de trabajo de "
"animaciones de Clutter"
-#: C/photo-wall.c.page:35(item/p)
+#. (itstool) path: item/p
+#: C/photo-wall.c.page:35
msgid "How to make <code>ClutterActor</code>s respond to mouse events"
msgstr ""
"Cómo hacer que un <code>ClutterActor</code> responda a los eventos del ratón"
-#: C/photo-wall.c.page:36(item/p)
+#. (itstool) path: item/p
+#: C/photo-wall.c.page:36
msgid "How to get file names from a directory"
msgstr "Cómo obtener nombres de archivos de una carpeta"
-#: C/photo-wall.c.page:41(section/title)
-#: C/record-collection.js.page:39(section/title)
+#. (itstool) path: section/title
+#: C/photo-wall.c.page:41 C/record-collection.js.page:39
msgid "Introduction"
msgstr "Introducción"
-#: C/photo-wall.c.page:42(section/p)
+#. (itstool) path: section/p
+#: C/photo-wall.c.page:42
msgid ""
"Clutter is a library for creating dynamic user interfaces using OpenGL for "
"hardware acceleration. This example demonstates a small, but central, part "
@@ -33974,7 +36490,8 @@ msgstr ""
"importante parte de la biblioteca Clutter para crear un sencillo pero "
"atractivo programa para ver imágenes."
-#: C/photo-wall.c.page:45(section/p)
+#. (itstool) path: section/p
+#: C/photo-wall.c.page:45
msgid ""
"To help us reach our goal we will be utilising a few other common pieces of "
"GLib as well. Most importantly, we'll use one <code>GPtrArray</code>, a "
@@ -33989,7 +36506,8 @@ msgstr ""
"utilidad para trabajar dentro de carpetas, para acceder a la carpeta de "
"imágenes y obtener las rutas de archivo."
-#: C/photo-wall.c.page:58(item/p)
+#. (itstool) path: item/p
+#: C/photo-wall.c.page:58
msgid ""
"Choose <gui>GTK+ (simple)</gui> from the <gui>C</gui> tab, click "
"<gui>Continue</gui>, and fill out your details on the next few pages. Use "
@@ -33999,7 +36517,8 @@ msgstr ""
"<gui>Continuar</gui>, y rellene los detalles en las siguientes páginas. Use "
"<file>mural-de-fotos</file> como nombre del proyecto y de la carpeta."
-#: C/photo-wall.c.page:61(item/p)
+#. (itstool) path: item/p
+#: C/photo-wall.c.page:61
msgid ""
"Make sure that <gui>Use GtkBuilder for user interface</gui> is disabled as "
"we will create the UI manually in this tutorial. Check the <link xref="
@@ -34010,7 +36529,8 @@ msgstr ""
"Revise el tutorial del <link xref=\"guitar-tuner.c\">afinador de guitarra</"
"link> usando el constructor de interfaces."
-#: C/photo-wall.c.page:66(item/p)
+#. (itstool) path: item/p
+#: C/photo-wall.c.page:66
msgid ""
"Enable <gui>Configure external packages</gui>. On the next page, select "
"<em>clutter-1.0</em> from the list to include the Clutter library in your "
@@ -34020,15 +36540,18 @@ msgstr ""
"seleccione <em>clutter-1.0</em> de la lista para incluir la biblioteca "
"Clutter en su proyecto."
-#: C/photo-wall.c.page:79(section/title)
+#. (itstool) path: section/title
+#: C/photo-wall.c.page:79
msgid "A look at Photo Wall"
msgstr "Un vistazo al mural de fotos"
-#: C/photo-wall.c.page:80(section/p)
+#. (itstool) path: section/p
+#: C/photo-wall.c.page:80
msgid "Our image viewer presents the user with a wall of images."
msgstr "El visor de imágenes muestra al usuario un mural de imágenes."
-#: C/photo-wall.c.page:84(section/p)
+#. (itstool) path: section/p
+#: C/photo-wall.c.page:84
msgid ""
"When an image is clicked, it is animated to fill the viewing area. When the "
"image having focus is clicked it is returned to its original position using "
@@ -34038,11 +36561,13 @@ msgstr ""
"visualización. Cuando se pulsa la imagen que tiene el foco, vuelve a su "
"tamaño original usando una animación que dura 500 milisegundos."
-#: C/photo-wall.c.page:90(section/title)
+#. (itstool) path: section/title
+#: C/photo-wall.c.page:90
msgid "Initial setup"
msgstr "Configuración inicial"
-#: C/photo-wall.c.page:91(section/p)
+#. (itstool) path: section/p
+#: C/photo-wall.c.page:91
msgid ""
"The following code segment contains many of the defines and variables we "
"will be using in the following sections. Use this as a reference for later "
@@ -34053,7 +36578,8 @@ msgstr ""
"próximas secciones. Copie este código al principio de <file>src/main.c</"
"file>:"
-#: C/photo-wall.c.page:94(section/code)
+#. (itstool) path: section/code
+#: C/photo-wall.c.page:94
#, no-wrap
msgid ""
"\n"
@@ -34098,11 +36624,13 @@ msgstr ""
"static ClutterPoint unfocused_pos;\n"
"\n"
-#: C/photo-wall.c.page:118(section/title)
+#. (itstool) path: section/title
+#: C/photo-wall.c.page:118
msgid "Jumping into the code"
msgstr "Saltar dentro del código"
-#: C/photo-wall.c.page:119(section/p)
+#. (itstool) path: section/p
+#: C/photo-wall.c.page:119
msgid ""
"We will start by taking a look at the <code>main()</code> function as a "
"whole. Then we'll discuss the other code sections in detail. Change the "
@@ -34116,7 +36644,8 @@ msgstr ""
"Puede eliminar la función <code>create_window()</code>, ya que no se usa en "
"este ejemplo."
-#: C/photo-wall.c.page:122(section/code)
+#. (itstool) path: section/code
+#: C/photo-wall.c.page:122
#, no-wrap
msgid ""
"\n"
@@ -34243,7 +36772,8 @@ msgstr ""
" return 0;\n"
"}"
-#: C/photo-wall.c.page:184(item/p)
+#. (itstool) path: item/p
+#: C/photo-wall.c.page:184
msgid ""
"Line 4: <code>ClutterColor</code> is defined by setting the red, green, blue "
"and transparency (alpha) values. The values range from 0-255. For "
@@ -34253,7 +36783,8 @@ msgstr ""
"rojo, verde, azul y de transparencia (alfa). Los valores van de 0 a 255. "
"Para la transparencia, el valor 255 es opaco."
-#: C/photo-wall.c.page:185(item/p)
+#. (itstool) path: item/p
+#: C/photo-wall.c.page:185
msgid ""
"Line 7: You must initialize Clutter. If you forget to do this, you will get "
"very strange errors. Be warned."
@@ -34261,7 +36792,8 @@ msgstr ""
"Línea 7: debe inicializar Clutter. Si olvida hacerlo, obtendrá mensajes muy "
"extraños. Queda advertido."
-#: C/photo-wall.c.page:186(item/p)
+#. (itstool) path: item/p
+#: C/photo-wall.c.page:186
msgid ""
"Lines 10‒14: Here we create a new <code>ClutterStage</code> . We then set "
"the size using the defines from the previous section and the address of the "
@@ -34271,7 +36803,8 @@ msgstr ""
"Entonces se establece el tamaño usando el definido en la sección anterior y "
"la dirección del <code>ClutterColor</code> que ya está definida."
-#: C/photo-wall.c.page:187(note/p)
+#. (itstool) path: note/p
+#: C/photo-wall.c.page:187
msgid ""
"A <code>ClutterStage</code> is the top-level <code>ClutterActor</code> onto "
"which other <code>ClutterActor</code>s are placed."
@@ -34279,7 +36812,8 @@ msgstr ""
"Un <code>ClutterStage</code> es el nivel superior de un <code>ClutterActor</"
"code> en el que se ubican otros <code>ClutterActor</code>."
-#: C/photo-wall.c.page:189(item/p)
+#. (itstool) path: item/p
+#: C/photo-wall.c.page:189
msgid ""
"Line 16: Here we call our function for getting the image file paths. We'll "
"look at this in a bit."
@@ -34287,7 +36821,8 @@ msgstr ""
"Línea 16: aquí se llama a la función para obtener las rutas de las imágenes. "
"Esto se verá en breve."
-#: C/photo-wall.c.page:190(item/p)
+#. (itstool) path: item/p
+#: C/photo-wall.c.page:190
msgid ""
"Lines 18‒49: This is where we set up the <code>ClutterActor</code>s, load "
"the images and place them into their spot in the image wall. We will look at "
@@ -34297,22 +36832,26 @@ msgstr ""
"cargan las imágenes y se colocan en su sitio en el mural de imágenes. Esto "
"se verá con más detalle en la siguiente sección."
-#: C/photo-wall.c.page:191(item/p)
+#. (itstool) path: item/p
+#: C/photo-wall.c.page:191
msgid ""
"Line 52: Show the stage and <em>all its children</em>, meaning our images."
msgstr ""
"Línea 52: mostrar el escenario y <em>todos sus hijos</em>, es decir, las "
"imágenes."
-#: C/photo-wall.c.page:192(item/p)
+#. (itstool) path: item/p
+#: C/photo-wall.c.page:192
msgid "Line 55: Start the Clutter main loop."
msgstr "Línea 55: iniciar el bucle principal de Clutter."
-#: C/photo-wall.c.page:197(section/title)
+#. (itstool) path: section/title
+#: C/photo-wall.c.page:197
msgid "Setting up our image actors"
msgstr "Configurar los actores de imagen"
-#: C/photo-wall.c.page:198(note/p)
+#. (itstool) path: note/p
+#: C/photo-wall.c.page:198
msgid ""
"In Clutter, an actor is the most basic visual element. Basically, everything "
"you see is an actor."
@@ -34320,7 +36859,8 @@ msgstr ""
"En Clutter, un actor es el elemento visual más simple. Básicamente, todo lo "
"que ve es un actor."
-#: C/photo-wall.c.page:199(section/p)
+#. (itstool) path: section/p
+#: C/photo-wall.c.page:199
msgid ""
"In this section, we are going to take a closer look at the loop used for "
"setting up the <code>ClutterActor</code>s that will display our images."
@@ -34328,7 +36868,8 @@ msgstr ""
"En esta sección, se va a mirar más detenidamente el bucle usado para "
"configurar los <code>ClutterActor</code> que mostrarán las imágenes."
-#: C/photo-wall.c.page:202(section/code)
+#. (itstool) path: section/code
+#: C/photo-wall.c.page:202
#, no-wrap
msgid ""
"\n"
@@ -34401,7 +36942,8 @@ msgstr ""
"}\n"
"\n"
-#: C/photo-wall.c.page:238(item/p)
+#. (itstool) path: item/p
+#: C/photo-wall.c.page:238
msgid ""
"Line 7: Here we want to get the path at the <var>n</var>th location in the "
"<code>GPtrArray</code> that is holding our image path names. The <var>n</"
@@ -34412,7 +36954,8 @@ msgstr ""
"imágenes. La posición número <var>n</var> se calcula basándose en <code>row</"
"code> y <code>col</code>."
-#: C/photo-wall.c.page:240(item/p)
+#. (itstool) path: item/p
+#: C/photo-wall.c.page:240
msgid ""
"Line 8‒23: This is where we actually create the <code>ClutterActor</code> "
"and place the image into the actor. The first argument is the path which we "
@@ -34424,7 +36967,8 @@ msgstr ""
"accede con el nodo de la <code>GSList</code>. El segundo argumento es para "
"informar de un error, pero se ignora para simplificar."
-#: C/photo-wall.c.page:242(item/p)
+#. (itstool) path: item/p
+#: C/photo-wall.c.page:242
msgid ""
"Line 47: This adds the <code>ClutterActor</code> to the stage, which is a "
"container. It also assumes ownership of the <code>ClutterActor</code> which "
@@ -34439,11 +36983,13 @@ msgstr ""
"detalles, consulte la <link href=\"http://library.gnome.org/devel/gobject/"
"stable/gobject-memory.html\">documentación de <code>GObject</code></link>."
-#: C/photo-wall.c.page:248(section/title)
+#. (itstool) path: section/title
+#: C/photo-wall.c.page:248
msgid "Loading the images"
msgstr "Cargar las imágenes"
-#: C/photo-wall.c.page:249(section/p)
+#. (itstool) path: section/p
+#: C/photo-wall.c.page:249
msgid ""
"Let's take a short break from Clutter to see how we can get the file names "
"from our image directory."
@@ -34451,7 +36997,8 @@ msgstr ""
"Tómese un pequeño descanso de Clutter para ver cómo se pueden obtener los "
"nombres de archivos desde la carpeta de imágenes."
-#: C/photo-wall.c.page:250(section/code)
+#. (itstool) path: section/code
+#: C/photo-wall.c.page:250
#, no-wrap
msgid ""
"\n"
@@ -34510,7 +37057,8 @@ msgstr ""
" }\n"
"}"
-#: C/photo-wall.c.page:278(item/p)
+#. (itstool) path: item/p
+#: C/photo-wall.c.page:278
msgid ""
"Lines 5 and 12: This opens our directory or, if an error occured, returns "
"after printing an error message."
@@ -34518,7 +37066,8 @@ msgstr ""
"Líneas 5 y 12: esto abre la carpeta o, si ocurre un error, termina después "
"de mostrar un mensaje de error."
-#: C/photo-wall.c.page:279(item/p)
+#. (itstool) path: item/p
+#: C/photo-wall.c.page:279
msgid ""
"Lines 16‒25: The first line gets another file name from the <code>GDir</"
"code> we opened earlier. If there was an image file (which we check by "
@@ -34535,11 +37084,13 @@ msgstr ""
"obtener el nombre de la siguiente ruta y se vuelve a entrar en el bucle si "
"se encuentra otro archivo."
-#: C/photo-wall.c.page:284(section/title)
+#. (itstool) path: section/title
+#: C/photo-wall.c.page:284
msgid "Set up the actors"
msgstr "Configurar los actores"
-#: C/photo-wall.c.page:285(section/p)
+#. (itstool) path: section/p
+#: C/photo-wall.c.page:285
msgid ""
"We now take a look at the sizing and positioning of <code>ClutterActor</"
"code>s and also readying the <code>ClutterActor</code> for user interaction."
@@ -34548,7 +37099,8 @@ msgstr ""
"code> y a cómo se deja listo el <code>ClutterActor</code> para la "
"interacción del usuario."
-#: C/photo-wall.c.page:288(section/code)
+#. (itstool) path: section/code
+#: C/photo-wall.c.page:288
#, no-wrap
msgid ""
"\n"
@@ -34581,7 +37133,8 @@ msgstr ""
" NULL);\n"
"}"
-#: C/photo-wall.c.page:304(item/p)
+#. (itstool) path: item/p
+#: C/photo-wall.c.page:304
msgid ""
"Line 7: Setting an actor reactive means that it reacts to events, such as "
"<code>button-press-event</code> in our case. For Photo Wall, all "
@@ -34592,7 +37145,8 @@ msgstr ""
"mural de fotos, todos los <code>ClutterActor</code> del mural deben ser "
"inicialmente reactivos."
-#: C/photo-wall.c.page:307(item/p)
+#. (itstool) path: item/p
+#: C/photo-wall.c.page:307
msgid ""
"Line 9‒12: Now we connect the <code>button-press-event</code> to the "
"<code>actor_clicked_cb</code> callback which we will look at next."
@@ -34600,15 +37154,18 @@ msgstr ""
"Líneas 9‒12: ahora se conecta el evento <code>button-press-event</code> al "
"retorno de la llamada <code>actor_clicked_cb</code> que veremos más adelante."
-#: C/photo-wall.c.page:310(section/p)
+#. (itstool) path: section/p
+#: C/photo-wall.c.page:310
msgid "At this point we've got a wall of images that are ready to be viewed."
msgstr "En este punto tiene un mural de fotos que está listo para verse."
-#: C/photo-wall.c.page:314(section/title)
+#. (itstool) path: section/title
+#: C/photo-wall.c.page:314
msgid "Reacting to the clicks"
msgstr "Reaccionar a las pulsaciones"
-#: C/photo-wall.c.page:318(section/code)
+#. (itstool) path: section/code
+#: C/photo-wall.c.page:318
#, no-wrap
msgid ""
"\n"
@@ -34705,7 +37262,8 @@ msgstr ""
" return TRUE;\n"
"}"
-#: C/photo-wall.c.page:365(item/p)
+#. (itstool) path: item/p
+#: C/photo-wall.c.page:365
msgid ""
"Lines 1‒4: We have to make sure our callback function matches the signature "
"required for the <code>button_clicked_event</code> signal. For our example, "
@@ -34717,7 +37275,8 @@ msgstr ""
"code>. En este ejemplo, sólo se usará el primer argumento, el "
"<code>ClutterActor</code> pulsado actualmente."
-#: C/photo-wall.c.page:367(note/p)
+#. (itstool) path: note/p
+#: C/photo-wall.c.page:367
msgid ""
"A few words on the arguments we are not using in this example. The "
"<code>ClutterEvent</code> is different depending on what event is being "
@@ -34736,7 +37295,8 @@ msgstr ""
"<code>x</code> e <code>y</code>. Consulte la documentación de Clutter para "
"obtener información sobre otros tipos de <code>ClutterEvent</code>."
-#: C/photo-wall.c.page:368(note/p)
+#. (itstool) path: note/p
+#: C/photo-wall.c.page:368
msgid ""
"The <code>user_data</code> is what one uses to pass data into the function. "
"A pointer to any data type can be passed in. If you need multiple data to be "
@@ -34748,7 +37308,8 @@ msgstr ""
"datos al retorno de la llamada, puede colocarlos en una estructura y pasar "
"un puntero a su dirección."
-#: C/photo-wall.c.page:372(item/p)
+#. (itstool) path: item/p
+#: C/photo-wall.c.page:372
msgid ""
"Line 7: We set up a static flag to track which state we are in: wall mode or "
"focus mode. We start out in wall mode so no image has focus. Thus, we set "
@@ -34759,21 +37320,24 @@ msgstr ""
"ninguna imagen tiene el foco. Por ello, el indicador se establece "
"inicialmente a <code>FALSE</code>."
-#: C/photo-wall.c.page:373(item/p)
+#. (itstool) path: item/p
+#: C/photo-wall.c.page:373
msgid ""
"Line 12‒14: These set the image actors to receive events if they are focused."
msgstr ""
"Líneas 12-14: configuran los actores de imágenes para recibir eventos si "
"obtienen el foco."
-#: C/photo-wall.c.page:374(item/p)
+#. (itstool) path: item/p
+#: C/photo-wall.c.page:374
msgid ""
"Line 16‒17: Here we set the animation duration and save the current state."
msgstr ""
"Línea 16-17: aquí se establece la duración de la animación y se guarda el "
"estado actual."
-#: C/photo-wall.c.page:375(item/p)
+#. (itstool) path: item/p
+#: C/photo-wall.c.page:375
msgid ""
"Lines 21‒23: Reaching this code means that one image currently has focus and "
"we want to return to wall mode. Setting a position on a <code>ClutterActor</"
@@ -34784,7 +37348,8 @@ msgstr ""
"un <code>ClutterActor</code> comienza una animación con la duración "
"configurada en la línea 17."
-#: C/photo-wall.c.page:377(item/p)
+#. (itstool) path: item/p
+#: C/photo-wall.c.page:377
msgid ""
"Line 24: Reaching this line of code means we are currently in the wall state "
"and are about to give a <code>ClutterActor</code> focus. Here we save the "
@@ -34794,7 +37359,8 @@ msgstr ""
"el modo mural y se va a dar el foco a un <code>ClutterActor</code>. Aquí se "
"guarda la posición inicial, por lo que se puede volver a ella más adelante."
-#: C/photo-wall.c.page:378(item/p)
+#. (itstool) path: item/p
+#: C/photo-wall.c.page:378
msgid ""
"Line 25: Setting the <code>ClutterActor</code>'s <code>reactive</code> "
"property to <code>TRUE</code> makes this <code>ClutterActor</code> react to "
@@ -34810,7 +37376,8 @@ msgstr ""
"<code>ClutterActor</code> que se está viendo. Al pulsar sobre el "
"<code>ClutterActor</code> volverá a su posición inicial."
-#: C/photo-wall.c.page:379(item/p)
+#. (itstool) path: item/p
+#: C/photo-wall.c.page:379
msgid ""
"Lines 27‒36: This is where we save the current position of the image, set it "
"to receive events and then make it appear above the other images and start "
@@ -34820,7 +37387,8 @@ msgstr ""
"configura para recibir eventos y se hace que aparezca sobre las otras, "
"comenzando la animación para que llene el escenario."
-#: C/photo-wall.c.page:380(item/p)
+#. (itstool) path: item/p
+#: C/photo-wall.c.page:380
msgid ""
"Line 39: Here we restore the easing state to what was set before we changed "
"it in line 16."
@@ -34828,14 +37396,16 @@ msgstr ""
"Línea 39: aquí se restaura el estado a lo que era antes de que se cambiara "
"en la línea 16."
-#: C/photo-wall.c.page:381(item/p)
+#. (itstool) path: item/p
+#: C/photo-wall.c.page:381
msgid ""
"Line 42: Here we toggle the <code>is_focused</code> flag to the current "
"state."
msgstr ""
"Línea 42: aquí se alterna la opción <code>is_focused</code> al estado actual."
-#: C/photo-wall.c.page:382(item/p)
+#. (itstool) path: item/p
+#: C/photo-wall.c.page:382
msgid ""
"As mentioned previously, the <code>ClutterActor</code>s with higher "
"<code>depth</code> values receive events but can allow <code>ClutterActor</"
@@ -34850,7 +37420,8 @@ msgstr ""
"eventos havia abajo, mientras que <code>FALSE</code> hará que los eventos "
"pasen hacia abajo."
-#: C/photo-wall.c.page:384(note/p)
+#. (itstool) path: note/p
+#: C/photo-wall.c.page:384
msgid ""
"Remember, however, that to receive events the <code>ClutterActor</code>s "
"must be set <code>reactive</code>."
@@ -34858,7 +37429,8 @@ msgstr ""
"Recuerde, sin embargo, que para que los <code>ClutterActor</code> reciban "
"eventos deben establecerse como <code>reactive</code>."
-#: C/photo-wall.c.page:392(section/p)
+#. (itstool) path: section/p
+#: C/photo-wall.c.page:392
msgid ""
"All of the code should now be ready to go. All you need now is some pictures "
"to load. By default, the pictures are loaded from a <file>berlin_images</"
@@ -34880,7 +37452,8 @@ msgstr ""
"la carpeta <file>mural-fotos</file>. Asegúrese de poner al menos doce "
"imágenes en la carpeta."
-#: C/photo-wall.c.page:394(section/p)
+#. (itstool) path: section/p
+#: C/photo-wall.c.page:394
msgid ""
"When you have done that, click <guiseq><gui>Build</gui><gui>Build Project</"
"gui></guiseq> to build everything again, then <guiseq><gui>Run</"
@@ -34891,7 +37464,8 @@ msgstr ""
"<guiseq><gui>Ejecutar</gui><gui>Ejecutar</gui></guiseq> para iniciar la "
"aplicación."
-#: C/photo-wall.c.page:395(section/p)
+#. (itstool) path: section/p
+#: C/photo-wall.c.page:395
msgid ""
"If you haven't already done so, choose the <file>Debug/src/photo-wall</file> "
"application in the dialog that appears. Finally, hit <gui>Run</gui> and "
@@ -34901,7 +37475,8 @@ msgstr ""
"file> en el diálogo que aparece. Finalmente, pulse <gui>Ejecutar</gui> y "
"disfrute."
-#: C/photo-wall.c.page:400(section/p)
+#. (itstool) path: section/p
+#: C/photo-wall.c.page:400
msgid ""
"If you run into problems with the tutorial, compare your code with this "
"<link href=\"photo-wall/photo-wall.c\">reference code</link>."
@@ -34909,16 +37484,12 @@ msgstr ""
"Si tiene problemas con este tutorial, compare su código con este <link href="
"\"photo-wall/photo-wall.c\">código de referencia</link>."
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/progressbar.c.page:23(media) C/progressbar.vala.page:21(media)
+#: C/progressbar.c.page:23 C/progressbar.vala.page:21
msgctxt "_"
msgid ""
"external ref='media/progressbar_fill.ogv' "
@@ -34927,26 +37498,31 @@ msgstr ""
"external ref='media/progressbar_fill.ogv' "
"md5='287763d1d3f4a328212ea2243910f5e4'"
-#: C/progressbar.c.page:7(info/title)
+#. (itstool) path: info/title
+#: C/progressbar.c.page:7
msgctxt "text"
msgid "ProgressBar (C)"
msgstr "ProgressBar (C)"
-#: C/progressbar.c.page:18(info/desc) C/progressbar.vala.page:17(info/desc)
+#. (itstool) path: info/desc
+#: C/progressbar.c.page:18 C/progressbar.vala.page:17
msgid "A widget which indicates progress visually"
msgstr "Un widget que indica el progreso de manera visual"
-#: C/progressbar.c.page:21(page/title) C/progressbar.js.page:19(page/title)
-#: C/progressbar.py.page:21(page/title) C/progressbar.vala.page:20(page/title)
+#. (itstool) path: page/title
+#: C/progressbar.c.page:21 C/progressbar.js.page:19 C/progressbar.py.page:21
+#: C/progressbar.vala.page:20
msgid "ProgressBar"
msgstr "ProgressBar"
-#: C/progressbar.c.page:24(page/p) C/progressbar.vala.page:22(page/p)
+#. (itstool) path: page/p
+#: C/progressbar.c.page:24 C/progressbar.vala.page:22
msgid ""
"This ProgressBar \"fills in\" by a fraction of the bar until it is full."
msgstr "Esta barra de progreso «se llena» una fracción hasta que está llena."
-#: C/progressbar.c.page:26(page/code)
+#. (itstool) path: page/code
+#: C/progressbar.c.page:26
#, no-wrap
msgid ""
"\n"
@@ -35091,7 +37667,8 @@ msgstr ""
" return status;\n"
"}\n"
-#: C/progressbar.c.page:35(item/p)
+#. (itstool) path: item/p
+#: C/progressbar.c.page:35
msgid ""
"<link href=\"http://developer.gnome.org/glib/stable/glib-The-Main-Event-Loop."
"html#g-timeout-add\">G_Timeout</link>"
@@ -35099,40 +37676,41 @@ msgstr ""
"<link href=\"http://developer.gnome.org/glib/stable/glib-The-Main-Event-Loop."
"html#g-timeout-add\">G_Timeout</link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/progressbar.js.page:20(media) C/progressbar.py.page:22(media)
+#: C/progressbar.js.page:20 C/progressbar.py.page:22
msgctxt "_"
msgid ""
"external ref='media/progressbar.ogv' md5='36deab3dd4b5be968828fa2ef416d612'"
msgstr ""
"external ref='media/progressbar.ogv' md5='36deab3dd4b5be968828fa2ef416d612'"
-#: C/progressbar.js.page:6(info/title)
+#. (itstool) path: info/title
+#: C/progressbar.js.page:6
msgctxt "text"
msgid "ProgressBar (JavaScript)"
msgstr "ProgressBar (JavaScript)"
-#: C/progressbar.js.page:16(info/desc)
+#. (itstool) path: info/desc
+#: C/progressbar.js.page:16
msgid "A bar which animates to indicate progress"
msgstr "Una barra que indica el progreso de manera visual"
-#: C/progressbar.js.page:24(div/p) C/progressbar.py.page:26(div/p)
+#. (itstool) path: div/p
+#: C/progressbar.js.page:24 C/progressbar.py.page:26
msgid "Pressing any key stops and starts this ProgressBar."
msgstr "Pulsar cualquier tecla detiene e inicia esta ProgressBar."
-#: C/progressbar.js.page:31(page/p) C/progressbar.py.page:33(page/p)
+#. (itstool) path: page/p
+#: C/progressbar.js.page:31 C/progressbar.py.page:33
msgid "This ProgressBar is stopped and started by pressing any key."
msgstr "La ProgressBar se detiene y se inicia pulsando una tecla."
-#: C/progressbar.js.page:33(page/code)
+#. (itstool) path: page/code
+#: C/progressbar.js.page:33
#, no-wrap
msgid ""
"#!/usr/bin/gjs\n"
@@ -35299,7 +37877,8 @@ msgstr ""
"let app = new ProgressBarExample ();\n"
"app.application.run (ARGV);\n"
-#: C/progressbar.js.page:38(item/p)
+#. (itstool) path: item/p
+#: C/progressbar.js.page:38
msgid ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/GLib.html\">GLib</"
"link>"
@@ -35307,24 +37886,86 @@ msgstr ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/GLib.html\">GLib</"
"link>"
-#: C/progressbar.py.page:7(info/title)
+#. (itstool) path: info/title
+#: C/progressbar.py.page:7
msgctxt "text"
msgid "ProgressBar (Python)"
msgstr "ProgressBar (Python)"
-#: C/progressbar.py.page:18(info/desc)
+#. (itstool) path: info/desc
+#: C/progressbar.py.page:18
msgid "A widget which indicates progress visually."
msgstr "Un widget que indica el progreso de manera visual."
-#: C/progressbar.py.page:40(section/code)
+#. (itstool) path: section/code
+#: C/progressbar.py.page:40
#, no-wrap
+#| msgid ""
+#| "from gi.repository import GLib\n"
+#| "from gi.repository import Gtk\n"
+#| "import sys\n"
+#| "\n"
+#| "class MyWindow(Gtk.ApplicationWindow):\n"
+#| " # a window\n"
+#| " def __init__(self, app):\n"
+#| " Gtk.Window.__init__(self, title=\"ProgressBar Example\", application=app)\n"
+#| " self.set_default_size(220, 20)\n"
+#| "\n"
+#| " # a progressbar\n"
+#| " self.progress_bar = Gtk.ProgressBar()\n"
+#| " # add the progressbar to the window\n"
+#| " self.add(self.progress_bar)\n"
+#| "\n"
+#| " # the method self.pulse is called each 100 milliseconds\n"
+#| " # and self.source_id is set to be the ID of the event source\n"
+#| " # (i.e. the bar changes position every 100 milliseconds)\n"
+#| " self.source_id = GLib.timeout_add(100, self.pulse)\n"
+#| "\n"
+#| " # event handler\n"
+#| " # any signal from the keyboard controls if the progressbar stops/starts\n"
+#| " def do_key_press_event(self, event):\n"
+#| " # if the progressbar has been stopped (therefore source_id == 0 - see\n"
+#| " # \"else\" below), turn it back on\n"
+#| " if (self.source_id == 0):\n"
+#| " self.source_id = GLib.timeout_add(100, self.pulse)\n"
+#| " # if the bar is moving, remove the source with the ID of source_id\n"
+#| " # from the main context (stop the bar) and set the source_id to 0\n"
+#| " else:\n"
+#| " GLib.source_remove(self.source_id)\n"
+#| " self.source_id = 0\n"
+#| " # stop the signal emission\n"
+#| " return True\n"
+#| "\n"
+#| " # source function\n"
+#| " # the progressbar is in \"activity mode\" when this method is called\n"
+#| " def pulse(self):\n"
+#| " self.progress_bar.pulse()\n"
+#| " # call the function again\n"
+#| " return True\n"
+#| "\n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " def __init__(self):\n"
+#| " Gtk.Application.__init__(self)\n"
+#| "\n"
+#| " def do_activate(self):\n"
+#| " win = MyWindow(self)\n"
+#| " win.show_all()\n"
+#| "\n"
+#| " def do_startup(self):\n"
+#| " Gtk.Application.do_startup(self)\n"
+#| "\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"from gi.repository import GLib\n"
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
" # a window\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"ProgressBar Example\", application=app)\n"
" self.set_default_size(220, 20)\n"
@@ -35361,7 +38002,9 @@ msgid ""
" # call the function again\n"
" return True\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -35380,8 +38023,10 @@ msgstr ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
" # a window\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"ProgressBar Example\", application=app)\n"
" self.set_default_size(220, 20)\n"
@@ -35418,7 +38063,9 @@ msgstr ""
" # call the function again\n"
" return True\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -35433,11 +38080,13 @@ msgstr ""
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/progressbar.py.page:45(section/title)
+#. (itstool) path: section/title
+#: C/progressbar.py.page:45
msgid "Useful methods for a ProgressBar widget"
msgstr "Métodos útiles para un widget «ProgressBar»"
-#: C/progressbar.py.page:47(item/p)
+#. (itstool) path: item/p
+#: C/progressbar.py.page:47
msgid ""
"Instead of <code>pulse()</code>, that makes the bar go back and forth, if we "
"want the ProgressBar to \"fill in\" a fraction (a <code>float</code> between "
@@ -35449,7 +38098,8 @@ msgstr ""
"code> entre <code>0.0</code> y <code>1.0</code> inclusive) de la barra que "
"se ha completado, use <code>set_fraction(fracción)</code>."
-#: C/progressbar.py.page:48(item/p)
+#. (itstool) path: item/p
+#: C/progressbar.py.page:48
msgid ""
"To set a text and show it (superimposed over the bar) use <code>set_text"
"(<var>\"text\"</var>)</code> and <code>set_show_text(True)</code>. If a text "
@@ -35461,7 +38111,8 @@ msgstr ""
"code>. Si no se establece un texto y <code>set_show_text(True)</code>, el "
"texto será el porcentaje del trabajo que se ha completado."
-#: C/progressbar.py.page:56(item/p)
+#. (itstool) path: item/p
+#: C/progressbar.py.page:56
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkProgressBar.html"
"\">GtkProgressBar</link>"
@@ -35469,7 +38120,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkProgressBar.html"
"\">GtkProgressBar</link>"
-#: C/progressbar.py.page:57(item/p)
+#. (itstool) path: item/p
+#: C/progressbar.py.page:57
msgid ""
"<link href=\"http://developer.gnome.org/glib/stable/glib-The-Main-Event-Loop."
"html\">GLib - The Main Event Loop</link>"
@@ -35477,7 +38129,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/glib/stable/glib-The-Main-Event-Loop."
"html\">GLib: el bucle de eventos principal</link>"
-#: C/progressbar.py.page:58(item/p)
+#. (itstool) path: item/p
+#: C/progressbar.py.page:58
msgid ""
"<link href=\"http://developer.gnome.org/gdk/stable/gdk-Keyboard-Handling"
"\">Gdk - Key Values</link>"
@@ -35485,12 +38138,14 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gdk/stable/gdk-Keyboard-Handling"
"\">Gdk: valores de teclas</link>"
-#: C/progressbar.vala.page:7(info/title)
+#. (itstool) path: info/title
+#: C/progressbar.vala.page:7
msgctxt "text"
msgid "ProgressBar (Vala)"
msgstr "ProgressBar (Vala)"
-#: C/progressbar.vala.page:24(page/code)
+#. (itstool) path: page/code
+#: C/progressbar.vala.page:24
#, no-wrap
msgid ""
"public class MyApplication : Gtk.Application {\n"
@@ -35567,7 +38222,8 @@ msgstr ""
"\treturn status;\n"
"}\n"
-#: C/progressbar.vala.page:29(item/p)
+#. (itstool) path: item/p
+#: C/progressbar.vala.page:29
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.ProgressBar.html\">Gtk."
"ProgressBar</link>"
@@ -35575,7 +38231,8 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.ProgressBar.html\">Gtk."
"ProgressBar</link>"
-#: C/progressbar.vala.page:30(item/p)
+#. (itstool) path: item/p
+#: C/progressbar.vala.page:30
msgid ""
"<link href=\"http://www.valadoc.org/glib-2.0/GLib.Timeout.html\">GLib."
"Timeout</link>"
@@ -35583,20 +38240,24 @@ msgstr ""
"<link href=\"http://www.valadoc.org/glib-2.0/GLib.Timeout.html\">GLib."
"Timeout</link>"
-#: C/properties.py.page:8(info/title)
+#. (itstool) path: info/title
+#: C/properties.py.page:8
msgctxt "text"
msgid "Properties (Python)"
msgstr "Properties (Python)"
-#: C/properties.py.page:13(info/desc)
+#. (itstool) path: info/desc
+#: C/properties.py.page:13
msgid "An explanation of properties, getters and setters."
msgstr "Una explicación de propiedades, funciones de obtención y asignación."
-#: C/properties.py.page:26(page/title)
+#. (itstool) path: page/title
+#: C/properties.py.page:26
msgid "Properties"
msgstr "Propiedades"
-#: C/properties.py.page:33(section/p)
+#. (itstool) path: section/p
+#: C/properties.py.page:33
msgid ""
"<em>Properties</em> describe the configuration and state of widgets, and "
"each widget has its own particular set of properties. For example, a widget "
@@ -35615,7 +38276,8 @@ msgstr ""
"alineada a la derecha con el texto «Hello World» y un ángulo de 25 grados, "
"puede usar:"
-#: C/properties.py.page:34(section/code)
+#. (itstool) path: section/code
+#: C/properties.py.page:34
#, no-wrap
msgid ""
"\n"
@@ -35624,11 +38286,13 @@ msgstr ""
"\n"
"label = Gtk.Label(label=\"Hello World\", angle=25, halign=Gtk.Align.END)"
-#: C/properties.py.page:37(section/p)
+#. (itstool) path: section/p
+#: C/properties.py.page:37
msgid "which is equivalent to using:"
msgstr "que es equivalente a usar:"
-#: C/properties.py.page:38(section/code)
+#. (itstool) path: section/code
+#: C/properties.py.page:38
#, no-wrap
msgid ""
"\n"
@@ -35643,7 +38307,8 @@ msgstr ""
"label.set_angle(25)\n"
"label.set_halign(Gtk.Align.END)"
-#: C/properties.py.page:44(section/p)
+#. (itstool) path: section/p
+#: C/properties.py.page:44
msgid ""
"Once you have created such a label, you can get the text of the label with "
"<code>label.get_label()</code>, and analogously for the other properties."
@@ -35651,7 +38316,8 @@ msgstr ""
"Una vez que haya creado esta etiqueta, puede obtener su texto con "
"<code>label.get_label()</code>, y análogamente para las otras propiedades."
-#: C/properties.py.page:46(section/p)
+#. (itstool) path: section/p
+#: C/properties.py.page:46
msgid ""
"Instead of using getters and setters you can also get and set the properties "
"with <code>get_property(<var>\"prop-name\"</var>)</code> and "
@@ -35663,7 +38329,8 @@ msgstr ""
"\"</var>)</code> y <code>set_property(\"<var>nombre-propiedad</var>\")</"
"code>, respectivamente."
-#: C/properties.py.page:52(section/p)
+#. (itstool) path: section/p
+#: C/properties.py.page:52
msgid ""
"<link href=\"http://python-gtk-3-tutorial.readthedocs.org/en/latest/basics."
"html\">Basics - Properties</link> in Python GTK+ 3 Tutorial"
@@ -35672,61 +38339,60 @@ msgstr ""
"html\">Conceptos básicos sobre propiedades</link> en el tutorial de GTK+3 "
"con Python"
-#: C/py.page:6(info/title)
+#. (itstool) path: info/title
+#: C/py.page:6
msgctxt "link"
msgid "Python"
msgstr "Python"
-#: C/py.page:20(page/title)
+#. (itstool) path: page/title
+#: C/py.page:20
msgid "Tutorials, code samples and platform demos in Python"
msgstr ""
"Tutoriales, ejemplos de código y demostraciones de la plataforma en Python"
-#: C/py.page:25(section/title) C/tutorial.py.page:30(page/title)
+#. (itstool) path: section/title
+#. (itstool) path: page/title
+#: C/py.page:25 C/tutorial.py.page:30
msgid "Tutorial for beginners"
msgstr "Tutoriales para principiantes"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/radiobutton.c.page:24(media) C/radiobutton.py.page:23(media)
-#: C/radiobutton.vala.page:24(media)
+#: C/radiobutton.c.page:24 C/radiobutton.py.page:23 C/radiobutton.vala.page:24
msgctxt "_"
msgid ""
"external ref='media/radiobutton.png' md5='d115460280d8e41493dd98054b5822a5'"
msgstr ""
"external ref='media/radiobutton.png' md5='d115460280d8e41493dd98054b5822a5'"
-#: C/radiobutton.c.page:7(info/title)
+#. (itstool) path: info/title
+#: C/radiobutton.c.page:7
msgctxt "text"
msgid "RadioButton (C)"
msgstr "RadioButton (C)"
-#: C/radiobutton.c.page:19(info/desc)
+#. (itstool) path: info/desc
+#: C/radiobutton.c.page:19
msgid "A choice from multiple checkbuttons"
msgstr "Una elección desde varios «CheckButton»."
-#: C/radiobutton.c.page:22(page/title) C/radiobutton.js.page:20(page/title)
-#: C/radiobutton.py.page:22(page/title) C/radiobutton.vala.page:23(page/title)
+#. (itstool) path: page/title
+#: C/radiobutton.c.page:22 C/radiobutton.js.page:20 C/radiobutton.py.page:22
+#: C/radiobutton.vala.page:23
msgid "RadioButton"
msgstr "RadioButton"
-#: C/radiobutton.c.page:25(page/p)
+#. (itstool) path: page/p
+#: C/radiobutton.c.page:25
msgid "These radiobuttons report their activity in the terminal."
msgstr "Estos RadioButton informan de su actividad en la terminal."
-#: C/radiobutton.c.page:27(page/code)
+#. (itstool) path: page/code
+#: C/radiobutton.c.page:27
#, no-wrap
msgid ""
"\n"
@@ -35927,7 +38593,8 @@ msgstr ""
" return status;\n"
"}\n"
-#: C/radiobutton.c.page:37(item/p) C/switch.c.page:35(item/p)
+#. (itstool) path: item/p
+#: C/radiobutton.c.page:37 C/switch.c.page:35
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkSwitch.html"
"\">GtkSwitch</link>"
@@ -35935,11 +38602,12 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkSwitch.html"
"\">GtkSwitch</link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#: C/radiobutton.js.page:21(media)
+#: C/radiobutton.js.page:21
msgctxt "_"
msgid ""
"external ref='media/radiobuttontravel.png' "
@@ -35948,16 +38616,19 @@ msgstr ""
"external ref='media/radiobuttontravel.png' "
"md5='0c5f01ee160bb42716ccf5dccbd080c0'"
-#: C/radiobutton.js.page:7(info/title)
+#. (itstool) path: info/title
+#: C/radiobutton.js.page:7
msgctxt "text"
msgid "RadioButton (JavaScript)"
msgstr "RadioButton (JavaScript)"
-#: C/radiobutton.js.page:17(info/desc)
+#. (itstool) path: info/desc
+#: C/radiobutton.js.page:17
msgid "Only one can be selected at a time"
msgstr "Sólo se puede seleccionar uno a la vez"
-#: C/radiobutton.js.page:22(page/p)
+#. (itstool) path: page/p
+#: C/radiobutton.js.page:22
msgid ""
"RadioButtons are named after old-style car radios, which had buttons for "
"switching between channel presets. Because the radio could only be tuned to "
@@ -35971,7 +38642,8 @@ msgstr ""
"por vez; si presionaba uno nuevo, el que ya estaba presionado saltaba. Así "
"es como estos botones funcionan."
-#: C/radiobutton.js.page:23(page/p)
+#. (itstool) path: page/p
+#: C/radiobutton.js.page:23
msgid ""
"Each RadioButton needs a text label and a group. Only one button in a group "
"can be selected at a time. You don't name each group; you just set new "
@@ -35985,7 +38657,8 @@ msgstr ""
"que otro existente. Si crea uno nuevo fuera de un grupo, automáticamente "
"crea un grupo nuevo para que forme parte."
-#: C/radiobutton.js.page:40(section/code)
+#. (itstool) path: section/code
+#: C/radiobutton.js.page:40
#, no-wrap
msgid ""
"\n"
@@ -36040,7 +38713,8 @@ msgstr ""
" this._buildUI ();\n"
" },\n"
-#: C/radiobutton.js.page:66(section/p) C/togglebutton.js.page:66(section/p)
+#. (itstool) path: section/p
+#: C/radiobutton.js.page:66 C/togglebutton.js.page:66
msgid ""
"All the code for this sample goes in the RadioButtonExample class. The above "
"code creates a <link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/"
@@ -36052,7 +38726,8 @@ msgstr ""
"Gtk.Application.html\">Gtk.Application</link> para que vayan los widgets y "
"la ventana."
-#: C/radiobutton.js.page:67(section/code)
+#. (itstool) path: section/code
+#: C/radiobutton.js.page:67
#, no-wrap
msgid ""
"\n"
@@ -36077,11 +38752,13 @@ msgstr ""
" border_width: 20,\n"
" title: \"Travel Planning\"});\n"
-#: C/radiobutton.js.page:82(section/title)
+#. (itstool) path: section/title
+#: C/radiobutton.js.page:82
msgid "Creating the radiobuttons"
msgstr "Crear los botones de radio"
-#: C/radiobutton.js.page:83(section/code)
+#. (itstool) path: section/code
+#: C/radiobutton.js.page:83
#, no-wrap
msgid ""
"\n"
@@ -36092,7 +38769,8 @@ msgstr ""
" // Create a label for the first group of buttons\n"
" this._placeLabel = new Gtk.Label ({label: \"Where would you like to travel to?\"});\n"
-#: C/radiobutton.js.page:88(section/p)
+#. (itstool) path: section/p
+#: C/radiobutton.js.page:88
msgid ""
"We use a <link xref=\"label.js\">Gtk.Label</link> to set each group of "
"RadioButtons apart. Nothing will stop you from putting RadioButtons from all "
@@ -36104,7 +38782,8 @@ msgstr ""
"diferentes donde quiera, así que si quiere que la gente sepa cuáles van "
"juntos, necesita ordenar las cosas adecuadamente."
-#: C/radiobutton.js.page:90(section/code)
+#. (itstool) path: section/code
+#: C/radiobutton.js.page:90
#, no-wrap
msgid ""
"\n"
@@ -36127,7 +38806,8 @@ msgstr ""
" this._place3 = Gtk.RadioButton.new_with_label_from_widget (this._place1, \"Antarctica\");\n"
" // this._place3.set_active (true);\n"
-#: C/radiobutton.js.page:101(section/p)
+#. (itstool) path: section/p
+#: C/radiobutton.js.page:101
msgid ""
"Here are three different ways to create RadioButtons. The first is the usual "
"way, where we create a new Gtk.RadioButton and assign its properties at the "
@@ -36145,7 +38825,8 @@ msgstr ""
"el nuevo. «new_with_label_from_widget», además, toma eso y la etiqueta del "
"botón de radio al mismo tiempo."
-#: C/radiobutton.js.page:102(section/p)
+#. (itstool) path: section/p
+#: C/radiobutton.js.page:102
msgid ""
"The first RadioButton in a group is the one that's selected by default. Try "
"uncommenting the last line in this sample code to see how you can set a "
@@ -36156,7 +38837,8 @@ msgstr ""
"ejemplo para ver cómo puede configurar uno diferente para que sea la "
"selección predeterminada."
-#: C/radiobutton.js.page:104(section/code)
+#. (itstool) path: section/code
+#: C/radiobutton.js.page:104
#, no-wrap
msgid ""
"\n"
@@ -36177,7 +38859,8 @@ msgstr ""
" this._thing2 = new Gtk.RadioButton ({label: \"Sunscreen\", group: this._thing1 });\n"
" this._thing3 = new Gtk.RadioButton ({label: \"A spacesuit\", group: this._thing1 });\n"
-#: C/radiobutton.js.page:113(section/p)
+#. (itstool) path: section/p
+#: C/radiobutton.js.page:113
msgid ""
"Here we create the label for the second group of buttons, and then create "
"them all the same way."
@@ -36185,12 +38868,13 @@ msgstr ""
"Aquí se crea la etiqueta para el segundo grupo de botones, y después se "
"crean todos de la misma manera."
-#: C/radiobutton.js.page:117(section/title)
-#: C/textview.js.page:131(section/title)
+#. (itstool) path: section/title
+#: C/radiobutton.js.page:117 C/textview.js.page:131
msgid "Creating the rest of the user interface"
msgstr "Crear el resto de la interfaz de usuario"
-#: C/radiobutton.js.page:119(section/code)
+#. (itstool) path: section/code
+#: C/radiobutton.js.page:119
#, no-wrap
msgid ""
"\n"
@@ -36213,7 +38897,8 @@ msgstr ""
" // Connect the button to the function which handles clicking it\n"
" this._okButton.connect ('clicked', Lang.bind (this, this._okClicked));\n"
-#: C/radiobutton.js.page:129(section/p)
+#. (itstool) path: section/p
+#: C/radiobutton.js.page:129
msgid ""
"This code creates a <link xref=\"button.js\">Gtk.Button</link> and binds it "
"to a function which will show people a silly message when they click OK, "
@@ -36223,7 +38908,8 @@ msgstr ""
"una función que mostrará un mensaje tonto cuando pulse «OK», dependiendo de "
"qué botones de radio se seleccionaron."
-#: C/radiobutton.js.page:130(section/p)
+#. (itstool) path: section/p
+#: C/radiobutton.js.page:130
msgid ""
"To make sure the button's \"OK\" label shows up properly in every language "
"that GNOME is translated into, remember to use one of Gtk's <link href="
@@ -36235,7 +38921,8 @@ msgstr ""
"\"https://developer.gnome.org/gtk3/3.4/gtk3-Stock-Items.html\">tipos de "
"botón del almacén</link> de GTK+."
-#: C/radiobutton.js.page:132(section/code)
+#. (itstool) path: section/code
+#: C/radiobutton.js.page:132
#, no-wrap
msgid ""
"\n"
@@ -36306,7 +38993,8 @@ msgstr ""
" // Add the grid to the window\n"
" this._window.add (this._grid);\n"
-#: C/radiobutton.js.page:166(section/p)
+#. (itstool) path: section/p
+#: C/radiobutton.js.page:166
msgid ""
"We use a separate <link xref=\"grid.js\">Gtk.Grid</link> to organize each "
"group of radio buttons. This way we can change the layout with less fuss "
@@ -36318,7 +39006,8 @@ msgstr ""
"distribución sin liarse más adelante. La segunda rejilla tiene un margen en "
"la parte superior, para separar visualmente los dos conjuntos de opciones."
-#: C/radiobutton.js.page:167(section/p)
+#. (itstool) path: section/p
+#: C/radiobutton.js.page:167
msgid ""
"After we've organized them, we put them into a third, master Grid, along "
"with the OK button. Then we attach that to the window."
@@ -36326,7 +39015,8 @@ msgstr ""
"Después de haberlos organizado, se ponen en una tercera rejilla maestra, "
"junto con el botón «OK». Luego se adjuntan a la ventana."
-#: C/radiobutton.js.page:175(section/p)
+#. (itstool) path: section/p
+#: C/radiobutton.js.page:175
msgid ""
"Finally, we tell the window and everything inside it to become visible when "
"the application is run."
@@ -36334,7 +39024,8 @@ msgstr ""
"Finalmente, se le dice a la ventana y a todo dentro que se vuelva visible "
"cuando se ejecute la aplicación."
-#: C/radiobutton.js.page:181(section/code)
+#. (itstool) path: section/code
+#: C/radiobutton.js.page:181
#, no-wrap
msgid ""
"\n"
@@ -36375,7 +39066,8 @@ msgstr ""
"\n"
" },\n"
-#: C/radiobutton.js.page:200(section/p)
+#. (itstool) path: section/p
+#: C/radiobutton.js.page:200
msgid ""
"When you click OK, a <link xref=\"messagedialog.js\">Gtk.MessageDialog</"
"link> appears. This function creates and displays the popup window, then "
@@ -36389,7 +39081,8 @@ msgstr ""
"en el mensaje emergente depende de la función «_messageText()», que devuelve "
"un valor diferente dependiendo de qué conjunto de opciones elija."
-#: C/radiobutton.js.page:202(section/code)
+#. (itstool) path: section/code
+#: C/radiobutton.js.page:202
#, no-wrap
msgid ""
"\n"
@@ -36480,7 +39173,8 @@ msgstr ""
"\n"
" },\n"
-#: C/radiobutton.js.page:246(section/p)
+#. (itstool) path: section/p
+#: C/radiobutton.js.page:246
msgid ""
"The get_active() method is how we can tell which RadioButton's pressed in. "
"This function returns a different silly message depending on which set of "
@@ -36492,7 +39186,8 @@ msgstr ""
"botones se presionó. Su valor de retorno se usa como propiedad «text» del "
"«MessageDialog»."
-#: C/radiobutton.js.page:248(section/code)
+#. (itstool) path: section/code
+#: C/radiobutton.js.page:248
#, no-wrap
msgid ""
"\n"
@@ -36513,7 +39208,8 @@ msgstr ""
"\n"
"});\n"
-#: C/radiobutton.js.page:257(section/p)
+#. (itstool) path: section/p
+#: C/radiobutton.js.page:257
msgid ""
"This function is called when the MessageDialog's OK button is pressed. It "
"simply makes the popup go away."
@@ -36521,7 +39217,8 @@ msgstr ""
"Esta función se llama cuando se presiona el botón «OK» del «MessageDialog». "
"Simplemente hace desaparecer el diálogo emergente."
-#: C/radiobutton.js.page:259(section/code)
+#. (itstool) path: section/code
+#: C/radiobutton.js.page:259
#, no-wrap
msgid ""
"\n"
@@ -36534,7 +39231,8 @@ msgstr ""
"let app = new RadioButtonExample ();\n"
"app.application.run (ARGV);\n"
-#: C/radiobutton.js.page:264(section/p) C/togglebutton.js.page:143(section/p)
+#. (itstool) path: section/p
+#: C/radiobutton.js.page:264 C/togglebutton.js.page:143
msgid ""
"Finally, we create a new instance of the finished RadioButtonExample class, "
"and set the application running."
@@ -36542,7 +39240,8 @@ msgstr ""
"Finalmente, se crea una instancia nueva de la clase RadioButtonExample "
"terminada, y se ejecuta la aplicación."
-#: C/radiobutton.js.page:269(section/code)
+#. (itstool) path: section/code
+#: C/radiobutton.js.page:269
#, no-wrap
msgid ""
"#!/usr/bin/gjs\n"
@@ -36923,8 +39622,8 @@ msgstr ""
"let app = new RadioButtonExample ();\n"
"app.application.run (ARGV);\n"
-#: C/radiobutton.js.page:277(item/p) C/statusbar.js.page:224(item/p)
-#: C/textview.js.page:251(item/p)
+#. (itstool) path: item/p
+#: C/radiobutton.js.page:277 C/statusbar.js.page:224 C/textview.js.page:251
msgid ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.Button.html"
"\">Gtk.Button</link>"
@@ -36932,9 +39631,9 @@ msgstr ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.Button.html"
"\">Gtk.Button</link>"
-#: C/radiobutton.js.page:278(item/p) C/scale.js.page:212(item/p)
-#: C/spinbutton.js.page:203(item/p) C/switch.js.page:269(item/p)
-#: C/textview.js.page:252(item/p) C/togglebutton.js.page:156(item/p)
+#. (itstool) path: item/p
+#: C/radiobutton.js.page:278 C/scale.js.page:212 C/spinbutton.js.page:203
+#: C/switch.js.page:269 C/textview.js.page:252 C/togglebutton.js.page:156
msgid ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.Grid.html"
"\">Gtk.Grid</link>"
@@ -36942,9 +39641,9 @@ msgstr ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.Grid.html"
"\">Gtk.Grid</link>"
-#: C/radiobutton.js.page:279(item/p) C/scale.js.page:213(item/p)
-#: C/spinbutton.js.page:204(item/p) C/switch.js.page:271(item/p)
-#: C/textview.js.page:253(item/p)
+#. (itstool) path: item/p
+#: C/radiobutton.js.page:279 C/scale.js.page:213 C/spinbutton.js.page:204
+#: C/switch.js.page:271 C/textview.js.page:253
msgid ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.Label.html"
"\">Gtk.Label</link>"
@@ -36952,7 +39651,8 @@ msgstr ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.Label.html"
"\">Gtk.Label</link>"
-#: C/radiobutton.js.page:280(item/p) C/textview.js.page:254(item/p)
+#. (itstool) path: item/p
+#: C/radiobutton.js.page:280 C/textview.js.page:254
msgid ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.RadioButton."
"html\">Gtk.RadioButton</link>"
@@ -36960,27 +39660,104 @@ msgstr ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.RadioButton."
"html\">Gtk.RadioButton</link>"
-#: C/radiobutton.py.page:7(info/title)
+#. (itstool) path: info/title
+#: C/radiobutton.py.page:7
msgctxt "text"
msgid "RadioButton (Python)"
msgstr "RadioButton (Python)"
-#: C/radiobutton.py.page:19(info/desc)
+#. (itstool) path: info/desc
+#: C/radiobutton.py.page:19
msgid "Mutually exclusive buttons."
msgstr "Botones mutuamente excluyentes."
-#: C/radiobutton.py.page:24(page/p)
+#. (itstool) path: page/p
+#: C/radiobutton.py.page:24
msgid ""
"Three RadioButtons. You can see in the terminal if they are turned off or on."
msgstr "Tres «RadioButton». Puede ver en la terminal si están activados o no."
-#: C/radiobutton.py.page:30(section/code)
+#. (itstool) path: section/code
+#: C/radiobutton.py.page:30
#, no-wrap
+#| msgid ""
+#| "from gi.repository import Gtk\n"
+#| "import sys\n"
+#| "\n"
+#| "class MyWindow(Gtk.ApplicationWindow):\n"
+#| " def __init__(self, app):\n"
+#| " Gtk.Window.__init__(self, title=\"RadioButton Example\", application=app)\n"
+#| " self.set_default_size(250, 100)\n"
+#| " self.set_border_width(20)\n"
+#| "\n"
+#| " # a new radiobutton with a label\n"
+#| " button1 = Gtk.RadioButton(label=\"Button 1\")\n"
+#| " # connect the signal \"toggled\" emitted by the radiobutton\n"
+#| " # with the callback function toggled_cb\n"
+#| " button1.connect(\"toggled\", self.toggled_cb)\n"
+#| "\n"
+#| " # another radiobutton, in the same group as button1\n"
+#| " button2 = Gtk.RadioButton.new_from_widget(button1)\n"
+#| " # with label \"Button 2\"\n"
+#| " button2.set_label(\"Button 2\")\n"
+#| " # connect the signal \"toggled\" emitted by the radiobutton\n"
+#| " # with the callback function toggled_cb\n"
+#| " button2.connect(\"toggled\", self.toggled_cb)\n"
+#| " # set button2 not active by default\n"
+#| " button2.set_active(False)\n"
+#| "\n"
+#| " # another radiobutton, in the same group as button1,\n"
+#| " # with label \"Button 3\"\n"
+#| " button3 = Gtk.RadioButton.new_with_label_from_widget(button1, \"Button 3\")\n"
+#| " # connect the signal \"toggled\" emitted by the radiobutton\n"
+#| " # with the callback function toggled_cb\n"
+#| " button3.connect(\"toggled\", self.toggled_cb)\n"
+#| " # set button3 not active by default\n"
+#| " button3.set_active(False)\n"
+#| "\n"
+#| " # a grid to place the buttons\n"
+#| " grid = Gtk.Grid.new()\n"
+#| " grid.attach(button1, 0, 0, 1, 1);\n"
+#| " grid.attach(button2, 0, 1, 1, 1);\n"
+#| " grid.attach(button3, 0, 2, 1, 1);\n"
+#| " # add the grid to the window\n"
+#| " self.add(grid)\n"
+#| "\n"
+#| " # callback function\n"
+#| " def toggled_cb(self, button):\n"
+#| " # a string to describe the state of the button\n"
+#| " state = \"unknown\"\n"
+#| " # whenever the button is turned on, state is on\n"
+#| " if button.get_active():\n"
+#| " state = \"on\"\n"
+#| " # else state is off\n"
+#| " else:\n"
+#| " state = \"off\"\n"
+#| " # whenever the function is called (a button is turned on or off)\n"
+#| " # print on the terminal which button was turned on/off\n"
+#| " print button.get_label() + \" was turned \" + state\n"
+#| "\n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " def __init__(self):\n"
+#| " Gtk.Application.__init__(self)\n"
+#| "\n"
+#| " def do_activate(self):\n"
+#| " win = MyWindow(self)\n"
+#| " win.show_all()\n"
+#| "\n"
+#| " def do_startup(self):\n"
+#| " Gtk.Application.do_startup(self)\n"
+#| "\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"RadioButton Example\", application=app)\n"
" self.set_default_size(250, 100)\n"
@@ -37004,7 +39781,8 @@ msgid ""
"\n"
" # another radiobutton, in the same group as button1,\n"
" # with label \"Button 3\"\n"
-" button3 = Gtk.RadioButton.new_with_label_from_widget(button1, \"Button 3\")\n"
+" button3 = Gtk.RadioButton.new_with_label_from_widget(\n"
+" button1, \"Button 3\")\n"
" # connect the signal \"toggled\" emitted by the radiobutton\n"
" # with the callback function toggled_cb\n"
" button3.connect(\"toggled\", self.toggled_cb)\n"
@@ -37013,9 +39791,9 @@ msgid ""
"\n"
" # a grid to place the buttons\n"
" grid = Gtk.Grid.new()\n"
-" grid.attach(button1, 0, 0, 1, 1);\n"
-" grid.attach(button2, 0, 1, 1, 1);\n"
-" grid.attach(button3, 0, 2, 1, 1);\n"
+" grid.attach(button1, 0, 0, 1, 1)\n"
+" grid.attach(button2, 0, 1, 1, 1)\n"
+" grid.attach(button3, 0, 2, 1, 1)\n"
" # add the grid to the window\n"
" self.add(grid)\n"
"\n"
@@ -37033,7 +39811,9 @@ msgid ""
" # print on the terminal which button was turned on/off\n"
" print button.get_label() + \" was turned \" + state\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -37051,7 +39831,9 @@ msgstr ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"RadioButton Example\", application=app)\n"
" self.set_default_size(250, 100)\n"
@@ -37075,7 +39857,8 @@ msgstr ""
"\n"
" # another radiobutton, in the same group as button1,\n"
" # with label \"Button 3\"\n"
-" button3 = Gtk.RadioButton.new_with_label_from_widget(button1, \"Button 3\")\n"
+" button3 = Gtk.RadioButton.new_with_label_from_widget(\n"
+" button1, \"Button 3\")\n"
" # connect the signal \"toggled\" emitted by the radiobutton\n"
" # with the callback function toggled_cb\n"
" button3.connect(\"toggled\", self.toggled_cb)\n"
@@ -37084,9 +39867,9 @@ msgstr ""
"\n"
" # a grid to place the buttons\n"
" grid = Gtk.Grid.new()\n"
-" grid.attach(button1, 0, 0, 1, 1);\n"
-" grid.attach(button2, 0, 1, 1, 1);\n"
-" grid.attach(button3, 0, 2, 1, 1);\n"
+" grid.attach(button1, 0, 0, 1, 1)\n"
+" grid.attach(button2, 0, 1, 1, 1)\n"
+" grid.attach(button3, 0, 2, 1, 1)\n"
" # add the grid to the window\n"
" self.add(grid)\n"
"\n"
@@ -37104,7 +39887,9 @@ msgstr ""
" # print on the terminal which button was turned on/off\n"
" print button.get_label() + \" was turned \" + state\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -37119,11 +39904,13 @@ msgstr ""
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/radiobutton.py.page:34(section/title)
+#. (itstool) path: section/title
+#: C/radiobutton.py.page:34
msgid "Useful methods for a RadioButton widget"
msgstr "Métodos útiles para un widget «RadioButton»"
-#: C/radiobutton.py.page:35(section/p)
+#. (itstool) path: section/p
+#: C/radiobutton.py.page:35
msgid ""
"In line 16 the signal <code>\"toggled\"</code> is connected to the callback "
"function <code>toggled_cb()</code> using <code><var>widget</var>.connect"
@@ -37136,7 +39923,8 @@ msgstr ""
"Consulte la <link xref=\"signals-callbacks.py\"/> para una explicación más "
"detallada."
-#: C/radiobutton.py.page:37(section/p)
+#. (itstool) path: section/p
+#: C/radiobutton.py.page:37
msgid ""
"As seen in <link xref=\"properties.py\"/>, instead of <code>button1 = Gtk."
"RadioButton(label=\"Button 1\")</code> we could create the button and label "
@@ -37146,7 +39934,8 @@ msgstr ""
"= Gtk.RadioButton(label=\"Button 1\")</code> se podría crear el botón y su "
"etiqueta con"
-#: C/radiobutton.py.page:38(section/code)
+#. (itstool) path: section/code
+#: C/radiobutton.py.page:38
#, no-wrap
msgid ""
"\n"
@@ -37157,7 +39946,8 @@ msgstr ""
"button1 = Gtk.RadioButton()\n"
"button1.set_label(\"Button 1\")."
-#: C/radiobutton.py.page:41(section/p)
+#. (itstool) path: section/p
+#: C/radiobutton.py.page:41
msgid ""
"Yet another way to create a new RadioButton with a label is <code>button1 = "
"Gtk.RadioButton.new_with_label(None, \"Button 1\")</code> (the first "
@@ -37169,7 +39959,8 @@ msgstr ""
"(El primer argumento es el grupo de botones de radio, que puede obtener con "
"<code>get_group()</code>, el segundo argumento es la etiqueta)."
-#: C/radiobutton.py.page:50(item/p)
+#. (itstool) path: item/p
+#: C/radiobutton.py.page:50
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkRadioButton.html"
"\">GtkRadioButton</link>"
@@ -37177,20 +39968,24 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkRadioButton.html"
"\">GtkRadioButton</link>"
-#: C/radiobutton.vala.page:7(info/title)
+#. (itstool) path: info/title
+#: C/radiobutton.vala.page:7
msgctxt "text"
msgid "RadioButton (Vala)"
msgstr "RadioButton (Vala)"
-#: C/radiobutton.vala.page:20(info/desc)
+#. (itstool) path: info/desc
+#: C/radiobutton.vala.page:20
msgid "A choice from multiple CheckButtons."
msgstr "Una elección desde varios CheckButton."
-#: C/radiobutton.vala.page:25(page/p)
+#. (itstool) path: page/p
+#: C/radiobutton.vala.page:25
msgid "These RadioButtons report their activity in the terminal."
msgstr "Estos RadioButton informan de su actividad en la terminal."
-#: C/radiobutton.vala.page:27(page/code)
+#. (itstool) path: page/code
+#: C/radiobutton.vala.page:27
#, no-wrap
msgid ""
"public class MyWindow : Gtk.ApplicationWindow {\n"
@@ -37321,7 +40116,8 @@ msgstr ""
"\treturn new MyApplication ().run (args);\n"
"}\n"
-#: C/radiobutton.vala.page:32(item/p)
+#. (itstool) path: item/p
+#: C/radiobutton.vala.page:32
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.RadioButton.html\">Gtk."
"RadioButton</link>"
@@ -37329,11 +40125,12 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.RadioButton.html\">Gtk."
"RadioButton</link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#: C/record-collection.js.page:69(media)
+#: C/record-collection.js.page:69
msgctxt "_"
msgid ""
"external ref='media/record-collection.png' "
@@ -37342,30 +40139,36 @@ msgstr ""
"external ref='media/record-collection.png' "
"md5='2d645997687ed5aacd36aafafc16e072'"
-#: C/record-collection.js.page:7(info/title)
+#. (itstool) path: info/title
+#: C/record-collection.js.page:7
msgctxt "text"
msgid "Record collection (JavaScript)"
msgstr "Colección de música (JavaScript)"
-#: C/record-collection.js.page:10(info/desc)
+#. (itstool) path: info/desc
+#: C/record-collection.js.page:10
msgid "Create a small database application for ordering your music collection"
msgstr ""
"Cree una pequeña aplicación con una base de datos para ordenar su colección "
"de música"
-#: C/record-collection.js.page:28(page/title)
+#. (itstool) path: page/title
+#: C/record-collection.js.page:28
msgid "Record collection"
msgstr "Colección de música"
-#: C/record-collection.js.page:33(item/p)
+#. (itstool) path: item/p
+#: C/record-collection.js.page:33
msgid "How to connect to a database using libgda"
msgstr "Cómo conectar con una base de datos usando libgda"
-#: C/record-collection.js.page:34(item/p)
+#. (itstool) path: item/p
+#: C/record-collection.js.page:34
msgid "How to insert and browse records in a database table"
msgstr "Cómo insertar y examinar registros en una tabla de una base de datos"
-#: C/record-collection.js.page:40(section/p)
+#. (itstool) path: section/p
+#: C/record-collection.js.page:40
msgid ""
"This demo uses the Javascript language. We are going to demonstrate how to "
"connect and use a database from a GTK program, by using the GDA (GNOME Data "
@@ -37376,7 +40179,8 @@ msgstr ""
"bilbioteca GDA («GNOME Data Access», Acceso a datos de GNOME). Por lo tanto, "
"es necesario tener instalada también esta biblioteca."
-#: C/record-collection.js.page:43(section/p)
+#. (itstool) path: section/p
+#: C/record-collection.js.page:43
msgid ""
"GNOME Data Access (GDA) is library whose purpose is to provide universal "
"access to different kinds and types of data sources. This goes from "
@@ -37393,7 +40197,8 @@ msgstr ""
"completa de la API, visite la <link href=\"http://library.gnome.org/devel/"
"libgda/stable/\">página web de GDA</link>."
-#: C/record-collection.js.page:46(section/p)
+#. (itstool) path: section/p
+#: C/record-collection.js.page:46
msgid ""
"Although a big part of the code is related to user interface (GUI), we are "
"going to focus our tutorial on the database parts (we might mention other "
@@ -37407,7 +40212,8 @@ msgstr ""
"más sobre los programas en Javascript en GNOME, consulte el tutorial del "
"programa<link xref=\"image-viewer.js\">Visor de Imágenes</link>"
-#: C/record-collection.js.page:59(item/p)
+#. (itstool) path: item/p
+#: C/record-collection.js.page:59
msgid ""
"Choose <gui>Generic Javascript</gui> from the <gui>JS</gui> tab, click "
"<gui>Forward</gui>, and fill-out your details on the next few pages. Use "
@@ -37417,7 +40223,8 @@ msgstr ""
"<gui>Adelante</gui> y rellene los detalles en las siguientes páginas. Use "
"<file>coleccion-de-albumes</file> como nombre de proyecto y de carpeta."
-#: C/record-collection.js.page:62(item/p)
+#. (itstool) path: item/p
+#: C/record-collection.js.page:62
msgid ""
"Click <gui>Finished</gui> and the project will be created for you. Open "
"<file>src/main.js</file> from the <gui>Project</gui> or <gui>File</gui> "
@@ -37427,11 +40234,13 @@ msgstr ""
"file> desde la pestaña <gui>Proyecto</gui> o <gui>Archivo</gui>. Contiene un "
"ejemplo de código muy básico."
-#: C/record-collection.js.page:68(section/title)
+#. (itstool) path: section/title
+#: C/record-collection.js.page:68
msgid "Program Structure"
msgstr "Estructura del programa"
-#: C/record-collection.js.page:70(section/p)
+#. (itstool) path: section/p
+#: C/record-collection.js.page:70
msgid ""
"This demo is a simple GTK application (with a single window) capable of "
"inserting records into a database table as well as browsing all records of "
@@ -37450,16 +40259,44 @@ msgstr ""
"ver todos los registros de la tabla. El contenido se actualiza cada vez que "
"se insertar un registro y al inicio de la aplicación."
-#: C/record-collection.js.page:75(section/title)
+#. (itstool) path: section/title
+#: C/record-collection.js.page:75
msgid "Starting the fun"
msgstr "Empezar la diversión"
-#: C/record-collection.js.page:76(section/p)
+#. (itstool) path: section/p
+#: C/record-collection.js.page:76
msgid "Let's start by examining the skeleton of the program:"
msgstr "Empezar examinando el esqueleto del programa:"
-#: C/record-collection.js.page:77(section/code)
+#. (itstool) path: section/code
+#: C/record-collection.js.page:77
#, no-wrap
+#| msgid ""
+#| "\n"
+#| "const GLib = imports.gi.GLib;\n"
+#| "const Gtk = imports.gi.Gtk;\n"
+#| "const Gda = imports.gi.Gda;\n"
+#| "const Lang = imports.lang;\n"
+#| "\n"
+#| "function Demo () {\n"
+#| " this._init ();\n"
+#| "}\n"
+#| "\n"
+#| "Demo.prototype = {\n"
+#| "\n"
+#| " _init: function () {\n"
+#| " this.setupWindow ();\n"
+#| " this.setupDatabase ();\n"
+#| " this.selectData ();\n"
+#| " }\n"
+#| "}\n"
+#| "\n"
+#| "Gtk.init (0, null);\n"
+#| "\n"
+#| "var demo = new Demo ();\n"
+#| "\n"
+#| "Gtk.main ();"
msgid ""
"\n"
"const GLib = imports.gi.GLib;\n"
@@ -37480,7 +40317,7 @@ msgid ""
" }\n"
"}\n"
"\n"
-"Gtk.init (0, null);\n"
+"Gtk.init (null, null);\n"
"\n"
"var demo = new Demo ();\n"
"\n"
@@ -37505,13 +40342,14 @@ msgstr ""
" }\n"
"}\n"
"\n"
-"Gtk.init (0, null);\n"
+"Gtk.init (null, null);\n"
"\n"
"var demo = new Demo ();\n"
"\n"
"Gtk.main ();"
-#: C/record-collection.js.page:102(item/p)
+#. (itstool) path: item/p
+#: C/record-collection.js.page:102
msgid ""
"Lines 1‒4: Initial imports. Pay special attention to line 3, which tells "
"Javascript to import the GDA library, our focus in this tutorial."
@@ -37520,7 +40358,8 @@ msgstr ""
"que indica a Javascript que importe la biblioteca GDA, nuestro objetivo en "
"este tutorial."
-#: C/record-collection.js.page:103(item/p)
+#. (itstool) path: item/p
+#: C/record-collection.js.page:103
msgid ""
"Lines 6‒17: Define our <code>Demo</code> class. Pay special attention to "
"lines 13‒15, where we call 3 methods which will do the whole job. They will "
@@ -37530,15 +40369,18 @@ msgstr ""
"las líneas 13‒15, donde se llama a 3 métodos que harán todo el trabajo. Se "
"detallarán más adelante."
-#: C/record-collection.js.page:104(item/p)
+#. (itstool) path: item/p
+#: C/record-collection.js.page:104
msgid "Lines 19‒23: Start the application."
msgstr "Líneas 19‒23: iniciar la aplicación."
-#: C/record-collection.js.page:109(section/title)
+#. (itstool) path: section/title
+#: C/record-collection.js.page:109
msgid "Designing the application"
msgstr "Diseñar la aplicación"
-#: C/record-collection.js.page:110(section/p)
+#. (itstool) path: section/p
+#: C/record-collection.js.page:110
msgid ""
"Let's take a look at the <code>setupWindow</code> method. It is responsible "
"for creating the User Interface (UI). As UI is not our focus, we will "
@@ -37548,7 +40390,8 @@ msgstr ""
"crear la interfaz de usuario (IU). Ya que la IU no es el objetivo, sólo se "
"explicarán las partes relevantes."
-#: C/record-collection.js.page:111(section/code)
+#. (itstool) path: section/code
+#: C/record-collection.js.page:111
#, no-wrap
msgid ""
"\n"
@@ -37651,7 +40494,8 @@ msgstr ""
" this.window.show_all ();\n"
" },"
-#: C/record-collection.js.page:161(item/p)
+#. (itstool) path: item/p
+#: C/record-collection.js.page:161
msgid ""
"Lines 22 and 27: Create the 2 entries (for the two fields) in which users "
"will type something to get inserted in the database."
@@ -37659,7 +40503,8 @@ msgstr ""
"Líneas 22 y 27: crear las dos entradas (para los dos campos) en las que el "
"usuario escribirá algo para insertarlo en la base de datos."
-#: C/record-collection.js.page:162(item/p)
+#. (itstool) path: item/p
+#: C/record-collection.js.page:162
msgid ""
"Lines 31‒34: Create the Insert button. We connect its <code>clicked</code> "
"signal to the <code>_insertClicked</code> private method of the class. This "
@@ -37669,7 +40514,8 @@ msgstr ""
"code> con el método privado <code>_insertClicked</code> de la clase. Este "
"método se detalla a continuación."
-#: C/record-collection.js.page:163(item/p)
+#. (itstool) path: item/p
+#: C/record-collection.js.page:163
msgid ""
"Line 39: Create the widget (<code>TextView</code>) where we will show the "
"contents of the table."
@@ -37677,7 +40523,8 @@ msgstr ""
"Línea 39: crear el widget (<code>TextView</code>) donde se mostrarán los "
"contenidos de la tabla."
-#: C/record-collection.js.page:164(item/p)
+#. (itstool) path: item/p
+#: C/record-collection.js.page:164
msgid ""
"Line 44: Create the label where we will show the number of records in the "
"table. Initially it's empty, it will be updated later."
@@ -37685,11 +40532,13 @@ msgstr ""
"Línea 44: crear la etiqueta donde se mostrará el número de registros de la "
"tabla. Inicialmente está vacía, se actualizará más tarde."
-#: C/record-collection.js.page:169(section/title)
+#. (itstool) path: section/title
+#: C/record-collection.js.page:169
msgid "Connecting to and initializing the database"
msgstr "Conectar e inicializar la base de datos"
-#: C/record-collection.js.page:170(section/p)
+#. (itstool) path: section/p
+#: C/record-collection.js.page:170
msgid ""
"The code which makes the connection to the database is in the "
"<code>setupDatabase</code> method below:"
@@ -37697,7 +40546,8 @@ msgstr ""
"El código que hace la conexión con la base de datos está en método "
"<code>setupDatabase</code> siguiente:"
-#: C/record-collection.js.page:173(section/code)
+#. (itstool) path: section/code
+#: C/record-collection.js.page:173
#, no-wrap
msgid ""
"\n"
@@ -37726,7 +40576,8 @@ msgstr ""
" }\n"
" },"
-#: C/record-collection.js.page:187(item/p)
+#. (itstool) path: item/p
+#: C/record-collection.js.page:187
msgid ""
"Lines 2‒3: Create the GDA's <code>Connection</code> object. We must supply "
"to its constructor some properties:"
@@ -37734,7 +40585,8 @@ msgstr ""
"Líneas 2‒3: crear el objeto de GDA <code>Connection</code>. Se deben "
"proporcionar a su constructor algunas propiedades:"
-#: C/record-collection.js.page:190(item/p)
+#. (itstool) path: item/p
+#: C/record-collection.js.page:190
msgid ""
"<code>provider</code>: One of GDA's supported providers. GDA supports "
"SQLite, MySQL, PostgreSQL, Oracle and many others. For demo purposes we will "
@@ -37747,7 +40599,8 @@ msgstr ""
"predeterminada en la mayoría de las distribuciones y es fácil de usar (sólo "
"usa un archivo como base de datos)."
-#: C/record-collection.js.page:193(item/p)
+#. (itstool) path: item/p
+#: C/record-collection.js.page:193
msgid ""
"<code>cnc_string</code>: The connection string. It may change from provider "
"to provider. The syntax for SQLite is: <code>DB_DIR=<var>PATH</var>;"
@@ -37761,7 +40614,8 @@ msgstr ""
"base de datos llamada «gnome_demo» en la carpeta del usaurio (tenga en "
"cuenta la llamada a la función <code>get_home_dir</code> de GLib)."
-#: C/record-collection.js.page:197(note/p)
+#. (itstool) path: note/p
+#: C/record-collection.js.page:197
msgid ""
"If the provider is not supported by GDA, or if the connection string is "
"missing some element, line 2 will raise an exception. So, in real life we "
@@ -37773,7 +40627,8 @@ msgstr ""
"que manejarlo con la sentencia <code>try</code>...<code>catch</code> de "
"JavaScript."
-#: C/record-collection.js.page:201(item/p)
+#. (itstool) path: item/p
+#: C/record-collection.js.page:201
msgid ""
"Line 4: Open the connection. In the SQLite provider, if the database does "
"not exist, it will be created in this step."
@@ -37781,7 +40636,8 @@ msgstr ""
"Línea 4: abrir la conexión. En el proveedor de SQLite, si la base de datos "
"no existe, se creará en este paso."
-#: C/record-collection.js.page:203(item/p)
+#. (itstool) path: item/p
+#: C/record-collection.js.page:203
msgid ""
"Lines 6‒10: Try to do a simple select to check if the table exists (line 7). "
"If it does not exist (because the database was just created), this command "
@@ -37795,7 +40651,8 @@ msgstr ""
"<code>catch</code> block. Si este es el caso, se ejecuta la sentencia para "
"crear tabla (línea 9)."
-#: C/record-collection.js.page:204(item/p)
+#. (itstool) path: item/p
+#: C/record-collection.js.page:204
msgid ""
"In order to run the SQL commands above we are using global GDA functions, "
"<code>execute_select_command</code> and <code>execute_non_select_command</"
@@ -37807,16 +40664,19 @@ msgstr ""
"code>. Son fáciles de usar, y sólo requieren dos argumentos: el objeto "
"<code>Connection</code> y el comando SQL que analizar."
-#: C/record-collection.js.page:208(section/p)
+#. (itstool) path: section/p
+#: C/record-collection.js.page:208
msgid "At this point we have the database set up, and are ready to use it."
msgstr ""
"En este punto, ya está configurada la base de datos y lista para usarse."
-#: C/record-collection.js.page:212(section/title)
+#. (itstool) path: section/title
+#: C/record-collection.js.page:212
msgid "Selecting"
msgstr "Seleccionar"
-#: C/record-collection.js.page:213(section/p)
+#. (itstool) path: section/p
+#: C/record-collection.js.page:213
msgid ""
"After connecting to the database, our demo's constructor calls the "
"<code>selectData</code> method. It is responsible for getting all the "
@@ -37828,7 +40688,8 @@ msgstr ""
"los registros de la tabla y de mostrarlos en el widget <code>TextView</"
"code>. Échele un vistazo:"
-#: C/record-collection.js.page:216(section/code)
+#. (itstool) path: section/code
+#: C/record-collection.js.page:216
#, no-wrap
msgid ""
"\n"
@@ -37867,7 +40728,8 @@ msgstr ""
" this.count_label.label = \"<i>\" + dm.get_n_rows () + \" record(s)</i>\";\n"
" },"
-#: C/record-collection.js.page:234(item/p)
+#. (itstool) path: item/p
+#: C/record-collection.js.page:234
msgid ""
"Line 2: The <code>SELECT</code> command. We are using the global GDA's "
"function <code>execute_select_command</code> for that. It returns a "
@@ -37877,7 +40739,8 @@ msgstr ""
"de GDA <code>execute_select_command</code>. Devuelve un objeto "
"<code>DataModel</code>, que se usa más tarde para obtener las filas."
-#: C/record-collection.js.page:235(item/p)
+#. (itstool) path: item/p
+#: C/record-collection.js.page:235
msgid ""
"Line 3: Create an <code>Iter</code> object, which is used to iterate over "
"the <code>DataModel</code>'s records."
@@ -37885,7 +40748,8 @@ msgstr ""
"Línea 3: crear un objeto <code>Iter</code>, que se usa para iterar sobre los "
"registros de <code>DataModel</code>."
-#: C/record-collection.js.page:236(item/p)
+#. (itstool) path: item/p
+#: C/record-collection.js.page:236
msgid ""
"Line 7: Loop through all the records, fetching them with the help of the "
"<code>Iter</code> object. At this point, the <code>iter</code> variable "
@@ -37897,11 +40761,13 @@ msgstr ""
"contiene los datos obtenidos actualmente. Su método <code>move_next</code> "
"devuelve <code>false</code> cuando se alcanza el último registro."
-#: C/record-collection.js.page:238(item/p)
+#. (itstool) path: item/p
+#: C/record-collection.js.page:238
msgid "Lines 8‒9: We do two things in each line:"
msgstr "Líneas 8‒9: se hacen dos cosas en cada línea:"
-#: C/record-collection.js.page:240(item/p)
+#. (itstool) path: item/p
+#: C/record-collection.js.page:240
msgid ""
"Use <code>Iter</code>'s method <code>get_value_at</code>, which requires "
"only one argument: the column number to retrieve, starting at 0. As our "
@@ -37913,7 +40779,8 @@ msgstr ""
"Ya que el comando <code>SELECT</code> sólo devuelve dos columnas, se están "
"recuperando las columnas 0 y 1."
-#: C/record-collection.js.page:241(item/p)
+#. (itstool) path: item/p
+#: C/record-collection.js.page:241
msgid ""
"The method <code>get_value_at</code> returns the field in GLib's "
"<code>GValue</code> format. A simple way to convert this format to a string "
@@ -37927,7 +40794,8 @@ msgstr ""
"lo que se está haciendo aquí, y el resultado se almacena en las variables "
"<code>id_field</code> y <code>name_field</code>."
-#: C/record-collection.js.page:244(item/p)
+#. (itstool) path: item/p
+#: C/record-collection.js.page:244
msgid ""
"Line 11: Concatenate the two fields to make one text line, separated by "
"<code>\"=>\"</code>, and store it in the <code>text</code> variable."
@@ -37936,7 +40804,8 @@ msgstr ""
"separados por <code>\"=>\"</code>, y almacenarla en la variable "
"<code>text</code>."
-#: C/record-collection.js.page:245(item/p)
+#. (itstool) path: item/p
+#: C/record-collection.js.page:245
msgid ""
"Line 14: After the loop is finished, we have all the records formatted in "
"the <code>text</code> variable. In this line we just set the contents of the "
@@ -37946,7 +40815,8 @@ msgstr ""
"formateados en la variable <code>text</code>. En esta línea, simplemente se "
"establece el contenido del <code>TextView</code> con esta variable."
-#: C/record-collection.js.page:246(item/p)
+#. (itstool) path: item/p
+#: C/record-collection.js.page:246
msgid ""
"Line 15: Display the number of records in the table, making use of the "
"<code>DataModel</code>'s <code>get_n_rows</code> method."
@@ -37954,11 +40824,13 @@ msgstr ""
"Línea 15: mostrar el número de registros en la tabla, usando el método "
"<code>get_n_rows</code> de <code>DataModel</code> <code>get_n_rows</code>."
-#: C/record-collection.js.page:251(section/title)
+#. (itstool) path: section/title
+#: C/record-collection.js.page:251
msgid "Inserting"
msgstr "Insertar"
-#: C/record-collection.js.page:252(section/p)
+#. (itstool) path: section/p
+#: C/record-collection.js.page:252
msgid ""
"OK, we know how to connect to a database and how to select rows from a "
"table. Now it's time to do an <code>INSERT</code> on the table. Do you "
@@ -37972,7 +40844,8 @@ msgstr ""
"conectó la señal <code>clicked</code> del botón <gui>Insertar</gui> al "
"método <code>_insertClicked</code>?. Vea la implementación de este método."
-#: C/record-collection.js.page:255(section/code)
+#. (itstool) path: section/code
+#: C/record-collection.js.page:255
#, no-wrap
msgid ""
"\n"
@@ -38013,7 +40886,8 @@ msgstr ""
" this.selectData ();\n"
" },"
-#: C/record-collection.js.page:273(section/p)
+#. (itstool) path: section/p
+#: C/record-collection.js.page:273
msgid ""
"We have learned how to use GDA's convenience functions "
"<code>execute_select_command</code> and <code>execute_non_select_command</"
@@ -38032,7 +40906,8 @@ msgstr ""
"usado (usará el mismo dialecto de SQL que usa el proveedor). Estudie el "
"código:"
-#: C/record-collection.js.page:277(item/p)
+#. (itstool) path: item/p
+#: C/record-collection.js.page:277
msgid ""
"Lines 2‒3: Check if the user filled all the fields. The code for the private "
"method <code>_validateFields</code> is really simple and you can read it in "
@@ -38042,7 +40917,8 @@ msgstr ""
"del método privado <code>_validateFields</code> es realmente simple y puede "
"leerlo en el código fuente completo de la demostración."
-#: C/record-collection.js.page:278(item/p)
+#. (itstool) path: item/p
+#: C/record-collection.js.page:278
msgid ""
"Line 5: The faster way of doing the <code>INSERT</code>. It's commented out "
"as we want to show how to use the <code>SqlBuilder</code> object to build a "
@@ -38052,7 +40928,8 @@ msgstr ""
"comentado que se quiere mostrar cómo usar el objeto <code>SqlBuilder</code> "
"para construir una sentencia SQL portable entre bases de datos."
-#: C/record-collection.js.page:279(item/p)
+#. (itstool) path: item/p
+#: C/record-collection.js.page:279
msgid ""
"Line 7: Create the <code>SqlBuilder</code> object. We must pass the type of "
"statement we are going to build. It can be <code>SELECT</code>, "
@@ -38062,7 +40939,8 @@ msgstr ""
"sentencia que se va a construir. Puede ser <code>SELECT</code>, "
"<code>UPDATE</code>, <code>INSERT</code> o <code>DELETE</code>."
-#: C/record-collection.js.page:280(item/p)
+#. (itstool) path: item/p
+#: C/record-collection.js.page:280
msgid ""
"Line 8: Set the name of the table on which the built statement will operate "
"(it will generate <code>INSERT INTO demo</code>)"
@@ -38070,7 +40948,8 @@ msgstr ""
"Línea 8: establecer el nombre de la base de datos en la que operará la "
"sentencia construida (generará <code>INSERT INTO demo</code>)"
-#: C/record-collection.js.page:281(item/p)
+#. (itstool) path: item/p
+#: C/record-collection.js.page:281
msgid ""
"Lines 9‒10: Set the fields and its values that will be part of the "
"statement. The first argument is the field name (as in the table). The "
@@ -38080,7 +40959,8 @@ msgstr ""
"valores. El primer argumento es el nombre del campo (como aparece en la "
"tabla). El segundo es el valor de este campo."
-#: C/record-collection.js.page:282(item/p)
+#. (itstool) path: item/p
+#: C/record-collection.js.page:282
msgid ""
"Line 11: Get the dynamically generated <code>Statement</code> object, which "
"represents a SQL statement."
@@ -38088,11 +40968,13 @@ msgstr ""
"Línea 11: obtener el objeto <code>Statement</code> generado dinámicamente, "
"que representa una sentencia SQL."
-#: C/record-collection.js.page:283(item/p)
+#. (itstool) path: item/p
+#: C/record-collection.js.page:283
msgid "Line 12: Finally, execute the SQL statement (<code>INSERT</code>)."
msgstr "Línea 12: finalmente, ejecutar la sentencia SQL (<code>INSERT</code>)."
-#: C/record-collection.js.page:284(item/p)
+#. (itstool) path: item/p
+#: C/record-collection.js.page:284
msgid ""
"Line 14: Clear the id and name fields on the screen. The code for the "
"private method <code>_clearFields</code> is really simple and you can read "
@@ -38102,14 +40984,16 @@ msgstr ""
"método privado <code>_clearFields</code> es muy sencillo, y puede leerlo en "
"el código fuente de la demostración completa."
-#: C/record-collection.js.page:285(item/p)
+#. (itstool) path: item/p
+#: C/record-collection.js.page:285
msgid ""
"Line 15: Refresh the view on the screen by doing another <code>SELECT</code>."
msgstr ""
"Línea 15: actualizar la vista en la pantalla haciendo otro <code>SELECT</"
"code>."
-#: C/record-collection.js.page:287(note/p)
+#. (itstool) path: note/p
+#: C/record-collection.js.page:287
msgid ""
"You can also make use of parameters while building the statement. By using "
"the <code>SqlBuilder</code> objects and parameters you are less subject to "
@@ -38123,7 +41007,8 @@ msgstr ""
"parámetros, consulte la <link href=\"http://library.gnome.org/devel/libgda/"
"stable/\">documentación de GDA</link>."
-#: C/record-collection.js.page:292(section/p)
+#. (itstool) path: section/p
+#: C/record-collection.js.page:292
msgid ""
"All of the code you need should now be in place, so try running the code. "
"You now have a database for your record collection!"
@@ -38132,7 +41017,8 @@ msgstr ""
"ejecutar el código. Ahora tiene una base de datos para su colección de "
"registros."
-#: C/record-collection.js.page:297(section/p)
+#. (itstool) path: section/p
+#: C/record-collection.js.page:297
msgid ""
"If you run into problems with the tutorial, compare your code with this "
"<link href=\"record-collection/record-collection.js\">reference code</link>."
@@ -38140,15 +41026,18 @@ msgstr ""
"Si tiene problemas con este tutorial, compare su código con este <link href="
"\"record-collection/record-collection.js\">código de referencia</link>."
-#: C/response-type.page:16(page/title)
+#. (itstool) path: page/title
+#: C/response-type.page:16
msgid "enum ResponseType"
msgstr "enum ResponseType"
-#: C/response-type.page:20(item/title)
+#. (itstool) path: item/title
+#: C/response-type.page:20
msgid "ResponseType.NONE = -1"
msgstr "ResponseType.NONE = -1"
-#: C/response-type.page:21(item/p)
+#. (itstool) path: item/p
+#: C/response-type.page:21
msgid ""
"Returned if an action widget has no response id, or if the dialog gets "
"programmatically hidden or destroyed"
@@ -38156,112 +41045,135 @@ msgstr ""
"Valor devuelto si un widget de acción no tiene ID de respuesta, o si el "
"diálogo se oculta o se destruye mediante código"
-#: C/response-type.page:24(item/title)
+#. (itstool) path: item/title
+#: C/response-type.page:24
msgid "ResponseType.REJECT = -2"
msgstr "ResponseType.REJECT = -2"
-#: C/response-type.page:25(item/p) C/response-type.page:29(item/p)
+#. (itstool) path: item/p
+#: C/response-type.page:25 C/response-type.page:29
msgid "Generic response id, not used by GTK+ dialogs"
msgstr "ID de respuesta genérica, no usado en diálogos de GTK+"
-#: C/response-type.page:28(item/title)
+#. (itstool) path: item/title
+#: C/response-type.page:28
msgid "ResponseType.ACCEPT = -3"
msgstr "ResponseType.ACCEPT = -3"
-#: C/response-type.page:32(item/title)
+#. (itstool) path: item/title
+#: C/response-type.page:32
msgid "ResponseType.DELETE_EVENT = -4"
msgstr "ResponseType.DELETE_EVENT = -4"
-#: C/response-type.page:33(item/p)
+#. (itstool) path: item/p
+#: C/response-type.page:33
msgid "Returned if the dialog is deleted"
msgstr "Valor devuelto si se elimina el diálogo"
-#: C/response-type.page:36(item/title)
+#. (itstool) path: item/title
+#: C/response-type.page:36
msgid "ResponseType.OK = -5"
msgstr "ResponseType.OK = -5"
-#: C/response-type.page:37(item/p)
+#. (itstool) path: item/p
+#: C/response-type.page:37
msgid "Returned by OK buttons in GTK+ dialogs"
msgstr "Valor devuelto por los botones «Aceptar» en diálogos de GTK+"
-#: C/response-type.page:40(item/title)
+#. (itstool) path: item/title
+#: C/response-type.page:40
msgid "ResponseType.CANCEL = -6"
msgstr "ResponseType.CANCEL = -6"
-#: C/response-type.page:41(item/p)
+#. (itstool) path: item/p
+#: C/response-type.page:41
msgid "Returned by Cancel buttons in GTK+ dialogs"
msgstr "Valor devuelto por los botones «Cancelar» en diálogos de GTK+"
-#: C/response-type.page:44(item/title)
+#. (itstool) path: item/title
+#: C/response-type.page:44
msgid "ResponseType.CLOSE = -7"
msgstr "ResponseType.CLOSE = -7"
-#: C/response-type.page:45(item/p)
+#. (itstool) path: item/p
+#: C/response-type.page:45
msgid "Returned by Close buttons in GTK+ dialogs"
msgstr "Valor devuelto por los botones «Cerrar» en diálogos de GTK+"
-#: C/response-type.page:48(item/title)
+#. (itstool) path: item/title
+#: C/response-type.page:48
msgid "ResponseType.YES = -8"
msgstr "ResponseType.YES = -8"
-#: C/response-type.page:49(item/p)
+#. (itstool) path: item/p
+#: C/response-type.page:49
msgid "Returned by Yes buttons in GTK+ dialogs"
msgstr "Valor devuelto por los botones «Sí» en diálogos de GTK+"
-#: C/response-type.page:52(item/title)
+#. (itstool) path: item/title
+#: C/response-type.page:52
msgid "ResponseType.NO = -9"
msgstr "ResponseType.NO = -9"
-#: C/response-type.page:53(item/p)
+#. (itstool) path: item/p
+#: C/response-type.page:53
msgid "Returned by No buttons in GTK+ dialogs"
msgstr "Valor devuelto por los botones «No» en diálogos de GTK+"
-#: C/response-type.page:56(item/title)
+#. (itstool) path: item/title
+#: C/response-type.page:56
msgid "ResponseType.APPLY = -10"
msgstr "ResponseType.APPLY = -10"
-#: C/response-type.page:57(item/p)
+#. (itstool) path: item/p
+#: C/response-type.page:57
msgid "Returned by Apply buttons in GTK+ dialogs"
msgstr "Valor devuelto por los botones «Aplicar» en diálogos de GTK+"
-#: C/response-type.page:60(item/title)
+#. (itstool) path: item/title
+#: C/response-type.page:60
msgid "ResponseType.HELP = -11"
msgstr "ResponseType.HELP = -11"
-#: C/response-type.page:61(item/p)
+#. (itstool) path: item/p
+#: C/response-type.page:61
msgid "Returned by Help buttons in GTK+ dialogs"
msgstr "Valor devuelto por los botones «Ayuda» en diálogos de GTK+"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#: C/scale.c.page:24(media)
+#: C/scale.c.page:24
msgctxt "_"
msgid "external ref='media/scale2.png' md5='ae2ba0a6675f3d9cdcd961cdf32f1a5c'"
msgstr "external ref='media/scale2.png' md5='ae2ba0a6675f3d9cdcd961cdf32f1a5c'"
-#: C/scale.c.page:7(info/title)
+#. (itstool) path: info/title
+#: C/scale.c.page:7
msgctxt "text"
msgid "Scale (C)"
msgstr "Escala (C)"
-#: C/scale.c.page:19(info/desc) C/scale.py.page:19(info/desc)
-#: C/scale.vala.page:19(info/desc)
+#. (itstool) path: info/desc
+#: C/scale.c.page:19 C/scale.py.page:19 C/scale.vala.page:19
msgid "A slider widget for selecting a value from a range"
msgstr "Un widget deslizador para seleccionar un valor de un rango"
-#: C/scale.c.page:22(page/title) C/scale.js.page:20(page/title)
-#: C/scale.py.page:22(page/title) C/scale.vala.page:22(page/title)
+#. (itstool) path: page/title
+#: C/scale.c.page:22 C/scale.js.page:20 C/scale.py.page:22
+#: C/scale.vala.page:22
msgid "Scale"
msgstr "Escala"
-#: C/scale.c.page:25(page/p) C/scale.py.page:24(page/p)
-#: C/scale.vala.page:24(page/p)
+#. (itstool) path: page/p
+#: C/scale.c.page:25 C/scale.py.page:24 C/scale.vala.page:24
msgid "Slide the scales!"
msgstr "Desplace las escalas."
-#: C/scale.c.page:27(page/code)
+#. (itstool) path: page/code
+#: C/scale.c.page:27
#, no-wrap
msgid ""
"\n"
@@ -38580,7 +41492,8 @@ msgstr ""
" return status;\n"
"}\n"
-#: C/scale.c.page:35(item/p)
+#. (itstool) path: item/p
+#: C/scale.c.page:35
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkScale.html"
"\">GtkScale</link>"
@@ -38588,7 +41501,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkScale.html"
"\">GtkScale</link>"
-#: C/scale.c.page:36(item/p)
+#. (itstool) path: item/p
+#: C/scale.c.page:36
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkRange.html"
"\">GtkRange</link>"
@@ -38596,7 +41510,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkRange.html"
"\">GtkRange</link>"
-#: C/scale.c.page:37(item/p) C/spinbutton.c.page:38(item/p)
+#. (itstool) path: item/p
+#: C/scale.c.page:37 C/spinbutton.c.page:38
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkAdjustment.html"
"\">GtkAdjustment</link>"
@@ -38604,7 +41519,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkAdjustment.html"
"\">GtkAdjustment</link>"
-#: C/scale.c.page:38(item/p)
+#. (itstool) path: item/p
+#: C/scale.c.page:38
msgid ""
"<link href=\"http://developer.gnome.org/glib/stable/glib-String-Utility-"
"Functions.html#g-strdup-printf\">String Utility Functions</link>"
@@ -38612,27 +41528,31 @@ msgstr ""
"<link href=\"http://developer.gnome.org/glib/stable/glib-String-Utility-"
"Functions.html#g-strdup-printf\">Funciones útiles de cadenas</link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#: C/scale.js.page:21(media)
+#: C/scale.js.page:21
msgctxt "_"
msgid ""
"external ref='media/scalepenguins.png' md5='2dbe6a833fec86fde71a5ddb421e2cd5'"
msgstr ""
"external ref='media/scalepenguins.png' md5='2dbe6a833fec86fde71a5ddb421e2cd5'"
-#: C/scale.js.page:7(info/title)
+#. (itstool) path: info/title
+#: C/scale.js.page:7
msgctxt "text"
msgid "Scale (JavaScript)"
msgstr "Escala (JavaScript)"
-#: C/scale.js.page:17(info/desc)
+#. (itstool) path: info/desc
+#: C/scale.js.page:17
msgid "A slider which corresponds to a numerical value"
msgstr "Un deslizador que corresponde a un valor numérico"
-#: C/scale.js.page:22(page/p)
+#. (itstool) path: page/p
+#: C/scale.js.page:22
msgid ""
"A Scale is a horizontal or vertical slider, that represents a value inside a "
"numerical range. When you create a new Scale, you set what its default "
@@ -38650,7 +41570,8 @@ msgstr ""
"cada vez que cree una escala nueva, puede crear un objeto llamado ajuste que "
"registra todo eso, y decirle a cada escala nueva que use ese ajuste."
-#: C/scale.js.page:23(page/p)
+#. (itstool) path: page/p
+#: C/scale.js.page:23
msgid ""
"This scale is a simple widget that lets you adjust the size of an iceberg "
"that penguins live on. The number of penguins on the iceberg is the product "
@@ -38662,7 +41583,8 @@ msgstr ""
"el producto de los valores de ambos deslizadores. Juegue con ellos y vea qué "
"sucede."
-#: C/scale.js.page:40(section/code)
+#. (itstool) path: section/code
+#: C/scale.js.page:40
#, no-wrap
msgid ""
"\n"
@@ -38715,7 +41637,8 @@ msgstr ""
" this._buildUI ();\n"
" },\n"
-#: C/scale.js.page:65(section/p)
+#. (itstool) path: section/p
+#: C/scale.js.page:65
msgid ""
"All the code for this sample goes in the ScaleExample class. The above code "
"creates a <link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk."
@@ -38727,7 +41650,8 @@ msgstr ""
"Gtk.Application.html\">Gtk.Application</link> para que vayan los widgets y "
"la ventana."
-#: C/scale.js.page:66(section/code)
+#. (itstool) path: section/code
+#: C/scale.js.page:66
#, no-wrap
msgid ""
"\n"
@@ -38752,11 +41676,13 @@ msgstr ""
" border_width: 20,\n"
" title: \"Birds on a Floe\"});\n"
-#: C/scale.js.page:81(section/title)
+#. (itstool) path: section/title
+#: C/scale.js.page:81
msgid "Creating the scales"
msgstr "Crear las escalas"
-#: C/scale.js.page:82(section/code)
+#. (itstool) path: section/code
+#: C/scale.js.page:82
#, no-wrap
msgid ""
"\n"
@@ -38775,7 +41701,8 @@ msgstr ""
" this._hScale.set_digits (0);\n"
" // this._hScale.set_draw_value (false);\n"
-#: C/scale.js.page:91(section/p)
+#. (itstool) path: section/p
+#: C/scale.js.page:91
msgid ""
"The new_with_range method is one way to create a new Scale widget. The "
"parameters it takes are a <link href=\"http://www.roojs.org/seed/gir-1.2-"
@@ -38793,7 +41720,8 @@ msgstr ""
"cuántos lugares decimales abarca. También se establece su alineación "
"vertical en este caso, para controlar dónde aparece en la ventana."
-#: C/scale.js.page:92(section/p)
+#. (itstool) path: section/p
+#: C/scale.js.page:92
msgid ""
"We can use the set_draw_value method to tell it whether or not to show the "
"number next to the sliding scale. It's commented out in this example."
@@ -38801,7 +41729,8 @@ msgstr ""
"Se puede usar el método «set_draw_value» para decirle si muestra o no el "
"número junto a la escala deslizante. En este ejemplo está comentado."
-#: C/scale.js.page:94(section/code)
+#. (itstool) path: section/code
+#: C/scale.js.page:94
#, no-wrap
msgid ""
"\n"
@@ -38822,7 +41751,8 @@ msgstr ""
" step_increment: 5,\n"
" page_increment: 10 });\n"
-#: C/scale.js.page:104(section/p)
+#. (itstool) path: section/p
+#: C/scale.js.page:104
msgid ""
"An Adjustment is an object we can use to simplify things when creating a new "
"Scale. The Adjustment's \"value\" property is what the Scale's default value "
@@ -38836,7 +41766,8 @@ msgstr ""
"superior e inferior del rango numérico. Además, las valores de incremento "
"muestran cuánto se mueve el deslizador cuando hace cosas como pulsarlo."
-#: C/scale.js.page:106(section/code)
+#. (itstool) path: section/code
+#: C/scale.js.page:106
#, no-wrap
msgid ""
"\n"
@@ -38857,7 +41788,8 @@ msgstr ""
" // draw_value: false,\n"
" margin_left: 10 });\n"
-#: C/scale.js.page:116(section/p)
+#. (itstool) path: section/p
+#: C/scale.js.page:116
msgid ""
"Here we create a new Scale object using _adjustment as its \"adjustment\" "
"property. This is a great shortcut. We still have to tell it to round off "
@@ -38871,7 +41803,8 @@ msgstr ""
"«draw_value» está comentada; así es como se le dice que no muestre el número "
"junto a la escala cuando está creando una de esta manera."
-#: C/scale.js.page:118(section/code)
+#. (itstool) path: section/code
+#: C/scale.js.page:118
#, no-wrap
msgid ""
"\n"
@@ -38900,7 +41833,8 @@ msgstr ""
" this._hScale.connect (\"value-changed\", Lang.bind (this, this._recalc));\n"
" this._vScale.connect (\"value-changed\", Lang.bind (this, this._recalc));\n"
-#: C/scale.js.page:132(section/p)
+#. (itstool) path: section/p
+#: C/scale.js.page:132
msgid ""
"We can use the get_value method to find out the numerical value a Scale is "
"set at. We can then do whatever we want with it, including multiply the two "
@@ -38915,7 +41849,8 @@ msgstr ""
"de la etiqueta para que ajuste su línea, porque también se hace que muestre "
"un mensaje tonto."
-#: C/scale.js.page:133(section/p)
+#. (itstool) path: section/p
+#: C/scale.js.page:133
msgid ""
"After we create the Label, we connect the two Scales' \"value-changed\" "
"signals to _recalc, a function that will recalculate the number of penguins "
@@ -38925,7 +41860,8 @@ msgstr ""
"dos escalas a «_recalc», una función que recalculará el número de pingüinos "
"en el iceberg y elaborará un mensaje nuevo."
-#: C/scale.js.page:135(section/code)
+#. (itstool) path: section/code
+#: C/scale.js.page:135
#, no-wrap
msgid ""
"\n"
@@ -38954,7 +41890,8 @@ msgstr ""
" this._UIGrid.attach (this._hScale, 0, 1, 1, 1);\n"
" this._UIGrid.attach (this._vScale, 1, 0, 1, 1);\n"
-#: C/scale.js.page:148(section/p)
+#. (itstool) path: section/p
+#: C/scale.js.page:148
msgid ""
"Here we create a <link xref=\"grid.js\">Grid</link> to put everything in, "
"then attach all our widgets to it. Note that here and on some of the widgets "
@@ -38965,7 +41902,8 @@ msgstr ""
"en algunos de los widgets se usan márgenes para mantener las cosas "
"prolijamente espaciadas."
-#: C/scale.js.page:149(section/code)
+#. (itstool) path: section/code
+#: C/scale.js.page:149
#, no-wrap
msgid ""
"\n"
@@ -38984,7 +41922,8 @@ msgstr ""
" this._window.show_all();\n"
" },\n"
-#: C/scale.js.page:157(section/p)
+#. (itstool) path: section/p
+#: C/scale.js.page:157
msgid ""
"Finally, we add the Grid to the window, then tell the window to show itself "
"and all the widgets inside of it."
@@ -38992,11 +41931,13 @@ msgstr ""
"Finalmente, se le añade la rejilla a la ventana, y después se le dice a la "
"ventana que se muestre con todos sus widgets dentro."
-#: C/scale.js.page:161(section/title)
+#. (itstool) path: section/title
+#: C/scale.js.page:161
msgid "Function which handles the scales' values changing"
msgstr "Función que maneja el cambio de los valores de las escalas"
-#: C/scale.js.page:163(section/code)
+#. (itstool) path: section/code
+#: C/scale.js.page:163
#, no-wrap
msgid ""
"\n"
@@ -39055,7 +41996,8 @@ msgstr ""
"\n"
"});\n"
-#: C/scale.js.page:191(section/p)
+#. (itstool) path: section/p
+#: C/scale.js.page:191
msgid ""
"Remember, we can get a Scale's value using its get_value method. Here we "
"simply recalculate what the product of the two values is after one of the "
@@ -39068,7 +42010,8 @@ msgstr ""
"tonto dependiendo de cuántos pingüinos quedan, y se cambian las palabras en "
"«_label» para mostrar el número y mensaje nuevos."
-#: C/scale.js.page:193(section/code)
+#. (itstool) path: section/code
+#: C/scale.js.page:193
#, no-wrap
msgid ""
"\n"
@@ -39081,7 +42024,8 @@ msgstr ""
"let app = new ScaleExample ();\n"
"app.application.run (ARGV);\n"
-#: C/scale.js.page:198(section/p)
+#. (itstool) path: section/p
+#: C/scale.js.page:198
msgid ""
"Finally, we create a new instance of the finished ScaleExample class, and "
"set the application running."
@@ -39089,7 +42033,8 @@ msgstr ""
"Finalmente, se crea una instancia nueva de la clase «ScaleExample» "
"terminada, y se ejecuta la aplicación."
-#: C/scale.js.page:203(section/code)
+#. (itstool) path: section/code
+#: C/scale.js.page:203
#, no-wrap
msgid ""
"#!/usr/bin/gjs\n"
@@ -39350,7 +42295,8 @@ msgstr ""
"let app = new ScaleExample ();\n"
"app.application.run (ARGV);\n"
-#: C/scale.js.page:209(item/p) C/spinbutton.js.page:200(item/p)
+#. (itstool) path: item/p
+#: C/scale.js.page:209 C/spinbutton.js.page:200
msgid ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.Adjustment."
"html\">Gtk.Adjustment</link>"
@@ -39358,7 +42304,8 @@ msgstr ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.Adjustment."
"html\">Gtk.Adjustment</link>"
-#: C/scale.js.page:214(item/p)
+#. (itstool) path: item/p
+#: C/scale.js.page:214
msgid ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.Scale.html"
"\">Gtk.Scale</link>"
@@ -39366,32 +42313,104 @@ msgstr ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.Scale.html"
"\">Gtk.Scale</link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/scale.py.page:23(media) C/scale.vala.page:23(media)
+#: C/scale.py.page:23 C/scale.vala.page:23
msgctxt "_"
msgid "external ref='media/scale.png' md5='462c52a53b773cb9e8c62c646bf88452'"
msgstr "external ref='media/scale.png' md5='462c52a53b773cb9e8c62c646bf88452'"
-#: C/scale.py.page:7(info/title)
+#. (itstool) path: info/title
+#: C/scale.py.page:7
msgctxt "text"
msgid "Scale (Python)"
msgstr "Escala (Python)"
-#: C/scale.py.page:30(section/code)
+#. (itstool) path: section/code
+#: C/scale.py.page:30
#, no-wrap
+#| msgid ""
+#| "from gi.repository import Gtk\n"
+#| "import sys\n"
+#| "\n"
+#| "class MyWindow(Gtk.ApplicationWindow):\n"
+#| " def __init__(self, app):\n"
+#| " Gtk.Window.__init__(self, title=\"Scale Example\", application=app)\n"
+#| " self.set_default_size(400, 300)\n"
+#| " self.set_border_width(5)\n"
+#| "\n"
+#| " # two adjustments (initial value, min value, max value,\n"
+#| " # step increment - press cursor keys to see!,\n"
+#| " # page increment - click around the handle to see!,\n"
+#| " # page size - not used here)\n"
+#| " ad1 = Gtk.Adjustment(0, 0, 100, 5, 10, 0)\n"
+#| " ad2 = Gtk.Adjustment(50, 0, 100, 5, 10, 0)\n"
+#| "\n"
+#| " # an horizontal scale\n"
+#| " self.h_scale = Gtk.Scale(orientation=Gtk.Orientation.HORIZONTAL, adjustment=ad1)\n"
+#| " # of integers (no digits)\n"
+#| " self.h_scale.set_digits(0)\n"
+#| " # that can expand horizontally if there is space in the grid (see below)\n"
+#| " self.h_scale.set_hexpand(True)\n"
+#| " # that is aligned at the top of the space allowed in the grid (see below)\n"
+#| " self.h_scale.set_valign(Gtk.Align.START)\n"
+#| "\n"
+#| " # we connect the signal \"value-changed\" emitted by the scale with the callback\n"
+#| " # function scale_moved\n"
+#| " self.h_scale.connect(\"value-changed\", self.scale_moved)\n"
+#| "\n"
+#| " # a vertical scale\n"
+#| " self.v_scale = Gtk.Scale(orientation=Gtk.Orientation.VERTICAL, adjustment=ad2)\n"
+#| " # that can expand vertically if there is space in the grid (see below)\n"
+#| " self.v_scale.set_vexpand(True)\n"
+#| "\n"
+#| " # we connect the signal \"value-changed\" emitted by the scale with the callback\n"
+#| " # function scale_moved\n"
+#| " self.v_scale.connect(\"value-changed\", self.scale_moved)\n"
+#| "\n"
+#| " # a label\n"
+#| " self.label = Gtk.Label()\n"
+#| " self.label.set_text(\"Move the scale handles...\")\n"
+#| "\n"
+#| " # a grid to attach the widgets\n"
+#| " grid = Gtk.Grid()\n"
+#| " grid.set_column_spacing(10)\n"
+#| " grid.set_column_homogeneous(True)\n"
+#| " grid.attach(self.h_scale, 0, 0, 1, 1)\n"
+#| " grid.attach_next_to(self.v_scale, self.h_scale, Gtk.PositionType.RIGHT, 1, 1)\n"
+#| " grid.attach(self.label, 0, 1, 2, 1)\n"
+#| "\n"
+#| " self.add(grid)\n"
+#| "\n"
+#| " # any signal from the scales is signaled to the label the text of which is changed\n"
+#| " def scale_moved(self, event):\n"
+#| " self.label.set_text(\"Horizontal scale is \" + str(int(self.h_scale.get_value())) +\n"
+#| " \"; vertical scale is \" + str(self.v_scale.get_value()) + \".\")\n"
+#| "\n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " def __init__(self):\n"
+#| " Gtk.Application.__init__(self)\n"
+#| "\n"
+#| " def do_activate(self):\n"
+#| " win = MyWindow(self)\n"
+#| " win.show_all()\n"
+#| "\n"
+#| " def do_startup(self):\n"
+#| " Gtk.Application.do_startup(self)\n"
+#| "\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"Scale Example\", application=app)\n"
" self.set_default_size(400, 300)\n"
@@ -39405,12 +42424,15 @@ msgid ""
" ad2 = Gtk.Adjustment(50, 0, 100, 5, 10, 0)\n"
"\n"
" # an horizontal scale\n"
-" self.h_scale = Gtk.Scale(orientation=Gtk.Orientation.HORIZONTAL, adjustment=ad1)\n"
+" self.h_scale = Gtk.Scale(\n"
+" orientation=Gtk.Orientation.HORIZONTAL, adjustment=ad1)\n"
" # of integers (no digits)\n"
" self.h_scale.set_digits(0)\n"
-" # that can expand horizontally if there is space in the grid (see below)\n"
+" # that can expand horizontally if there is space in the grid (see\n"
+" # below)\n"
" self.h_scale.set_hexpand(True)\n"
-" # that is aligned at the top of the space allowed in the grid (see below)\n"
+" # that is aligned at the top of the space allowed in the grid (see\n"
+" # below)\n"
" self.h_scale.set_valign(Gtk.Align.START)\n"
"\n"
" # we connect the signal \"value-changed\" emitted by the scale with the callback\n"
@@ -39418,7 +42440,8 @@ msgid ""
" self.h_scale.connect(\"value-changed\", self.scale_moved)\n"
"\n"
" # a vertical scale\n"
-" self.v_scale = Gtk.Scale(orientation=Gtk.Orientation.VERTICAL, adjustment=ad2)\n"
+" self.v_scale = Gtk.Scale(\n"
+" orientation=Gtk.Orientation.VERTICAL, adjustment=ad2)\n"
" # that can expand vertically if there is space in the grid (see below)\n"
" self.v_scale.set_vexpand(True)\n"
"\n"
@@ -39435,17 +42458,21 @@ msgid ""
" grid.set_column_spacing(10)\n"
" grid.set_column_homogeneous(True)\n"
" grid.attach(self.h_scale, 0, 0, 1, 1)\n"
-" grid.attach_next_to(self.v_scale, self.h_scale, Gtk.PositionType.RIGHT, 1, 1)\n"
+" grid.attach_next_to(\n"
+" self.v_scale, self.h_scale, Gtk.PositionType.RIGHT, 1, 1)\n"
" grid.attach(self.label, 0, 1, 2, 1)\n"
"\n"
" self.add(grid)\n"
"\n"
-" # any signal from the scales is signaled to the label the text of which is changed\n"
+" # any signal from the scales is signaled to the label the text of which is\n"
+" # changed\n"
" def scale_moved(self, event):\n"
" self.label.set_text(\"Horizontal scale is \" + str(int(self.h_scale.get_value())) +\n"
" \"; vertical scale is \" + str(self.v_scale.get_value()) + \".\")\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -39463,7 +42490,9 @@ msgstr ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"Scale Example\", application=app)\n"
" self.set_default_size(400, 300)\n"
@@ -39477,12 +42506,15 @@ msgstr ""
" ad2 = Gtk.Adjustment(50, 0, 100, 5, 10, 0)\n"
"\n"
" # an horizontal scale\n"
-" self.h_scale = Gtk.Scale(orientation=Gtk.Orientation.HORIZONTAL, adjustment=ad1)\n"
+" self.h_scale = Gtk.Scale(\n"
+" orientation=Gtk.Orientation.HORIZONTAL, adjustment=ad1)\n"
" # of integers (no digits)\n"
" self.h_scale.set_digits(0)\n"
-" # that can expand horizontally if there is space in the grid (see below)\n"
+" # that can expand horizontally if there is space in the grid (see\n"
+" # below)\n"
" self.h_scale.set_hexpand(True)\n"
-" # that is aligned at the top of the space allowed in the grid (see below)\n"
+" # that is aligned at the top of the space allowed in the grid (see\n"
+" # below)\n"
" self.h_scale.set_valign(Gtk.Align.START)\n"
"\n"
" # we connect the signal \"value-changed\" emitted by the scale with the callback\n"
@@ -39490,7 +42522,8 @@ msgstr ""
" self.h_scale.connect(\"value-changed\", self.scale_moved)\n"
"\n"
" # a vertical scale\n"
-" self.v_scale = Gtk.Scale(orientation=Gtk.Orientation.VERTICAL, adjustment=ad2)\n"
+" self.v_scale = Gtk.Scale(\n"
+" orientation=Gtk.Orientation.VERTICAL, adjustment=ad2)\n"
" # that can expand vertically if there is space in the grid (see below)\n"
" self.v_scale.set_vexpand(True)\n"
"\n"
@@ -39507,17 +42540,21 @@ msgstr ""
" grid.set_column_spacing(10)\n"
" grid.set_column_homogeneous(True)\n"
" grid.attach(self.h_scale, 0, 0, 1, 1)\n"
-" grid.attach_next_to(self.v_scale, self.h_scale, Gtk.PositionType.RIGHT, 1, 1)\n"
+" grid.attach_next_to(\n"
+" self.v_scale, self.h_scale, Gtk.PositionType.RIGHT, 1, 1)\n"
" grid.attach(self.label, 0, 1, 2, 1)\n"
"\n"
" self.add(grid)\n"
"\n"
-" # any signal from the scales is signaled to the label the text of which is changed\n"
+" # any signal from the scales is signaled to the label the text of which is\n"
+" # changed\n"
" def scale_moved(self, event):\n"
" self.label.set_text(\"Horizontal scale is \" + str(int(self.h_scale.get_value())) +\n"
" \"; vertical scale is \" + str(self.v_scale.get_value()) + \".\")\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -39532,11 +42569,13 @@ msgstr ""
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/scale.py.page:34(section/title)
+#. (itstool) path: section/title
+#: C/scale.py.page:34
msgid "Useful methods for a Scale widget"
msgstr "Métodos útiles para un widget «Escala»"
-#: C/scale.py.page:35(section/p)
+#. (itstool) path: section/p
+#: C/scale.py.page:35
msgid ""
"A Gtk.Adjustment is needed to construct the Gtk.Scale. This is the "
"representation of a value with a lower and upper bound, together with step "
@@ -39558,7 +42597,8 @@ msgstr ""
"en cuenta que <code>tamaño_de_página</code> no se usa en este caso, y debe "
"establecerse a <code>0</code>."
-#: C/scale.py.page:36(section/p)
+#. (itstool) path: section/p
+#: C/scale.py.page:36
msgid ""
"In line 28 the signal <code>\"value-changed\"</code> is connected to the "
"callback function <code>scale_moved()</code> using <code><var>widget</var>."
@@ -39571,7 +42611,8 @@ msgstr ""
"llamada</var>)</code>. Consulte la <link xref=\"signals-callbacks.py\"/> "
"para una explicación más detallada."
-#: C/scale.py.page:38(item/p)
+#. (itstool) path: item/p
+#: C/scale.py.page:38
msgid ""
"<code>get_value()</code> retrieves the current value of the scale; "
"<code>set_value(value)</code> sets it (if the <code>value</code>, of type "
@@ -39583,7 +42624,8 @@ msgstr ""
"tipo <code>float</code>, está fuera del rango mínimo o máximo, se ajustará "
"para que entre). Estos son métodos de la clase «Gtk.Range»."
-#: C/scale.py.page:39(item/p)
+#. (itstool) path: item/p
+#: C/scale.py.page:39
msgid ""
"Use <code>set_draw_value(False)</code> to avoid displaying the current value "
"as a string next to the slider."
@@ -39591,12 +42633,14 @@ msgstr ""
"Use <code>set_draw_value(False)</code> para evitar mostrar el valor actual "
"como una cadena junto al deslizador."
-#: C/scale.py.page:40(item/p)
+#. (itstool) path: item/p
+#: C/scale.py.page:40
msgid ""
"To highlight the part of the scale between the origin and the current value:"
msgstr "Para resaltar la parte de la escala entre el origen y el valor actual:"
-#: C/scale.py.page:41(item/code)
+#. (itstool) path: item/code
+#: C/scale.py.page:41
#, no-wrap
msgid ""
"\n"
@@ -39609,7 +42653,8 @@ msgstr ""
"self.h_scale.set_fill_level(self.h_scale.get_value())\n"
"self.h_scale.set_show_fill_level(True)"
-#: C/scale.py.page:45(item/p)
+#. (itstool) path: item/p
+#: C/scale.py.page:45
msgid ""
"in the callback function of the \"value-changed\" signal, so to have the new "
"filling every time the value is changed. These are methods of the class Gtk."
@@ -39619,7 +42664,8 @@ msgstr ""
"el relleno nuevo cada vez que cambie el valor. Estos son métodos de la clase "
"«Gtk.Range»."
-#: C/scale.py.page:47(item/p)
+#. (itstool) path: item/p
+#: C/scale.py.page:47
msgid ""
"<code>add_mark(value, position, markup)</code> adds a mark at the "
"<code>value</code> (<code>float</code> or <code>int</code> if that is the "
@@ -39635,7 +42681,8 @@ msgstr ""
"code>) con texto <code>Null</code> o <code>marca</code> en el lenguaje de "
"marcado de Pango. Para limpiar las marcas, <code>clear_marks()</code>."
-#: C/scale.py.page:48(item/p)
+#. (itstool) path: item/p
+#: C/scale.py.page:48
msgid ""
"<code>set_digits(digits)</code> sets the precision of the scale at "
"<code>digits</code> digits."
@@ -39643,7 +42690,8 @@ msgstr ""
"<code>set_digits(dígitos)</code> establece la precisión de la escala en "
"<code>dígitos</code> dígitos."
-#: C/scale.py.page:56(item/p)
+#. (itstool) path: item/p
+#: C/scale.py.page:56
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkScale.html"
"\">GtkScale</link>"
@@ -39651,7 +42699,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkScale.html"
"\">GtkScale</link>"
-#: C/scale.py.page:57(item/p) C/spinbutton.py.page:49(item/p)
+#. (itstool) path: item/p
+#: C/scale.py.page:57 C/spinbutton.py.page:49
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkAdjustment.html"
"\">GtkAdjustment</link>"
@@ -39659,8 +42708,9 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkAdjustment.html"
"\">GtkAdjustment</link>"
-#: C/scale.py.page:58(item/p) C/scrolledwindow.js.page:36(item/p)
-#: C/scrolledwindow.py.page:45(item/p) C/textview.py.page:99(item/p)
+#. (itstool) path: item/p
+#: C/scale.py.page:58 C/scrolledwindow.js.page:36 C/scrolledwindow.py.page:45
+#: C/textview.py.page:99
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/gtk3-Standard-"
"Enumerations.html\">Standard Enumerations</link>"
@@ -39668,12 +42718,14 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/gtk3-Standard-"
"Enumerations.html\">Enumeraciones estándar</link>"
-#: C/scale.vala.page:7(info/title)
+#. (itstool) path: info/title
+#: C/scale.vala.page:7
msgctxt "text"
msgid "Scale (Vala)"
msgstr "Escala (Vala)"
-#: C/scale.vala.page:26(page/code)
+#. (itstool) path: page/code
+#: C/scale.vala.page:26
#, no-wrap
msgid ""
"/* This is the application. */\n"
@@ -39782,7 +42834,8 @@ msgstr ""
"\treturn new MyApplication ().run (args);\n"
"}\n"
-#: C/scale.vala.page:31(item/p)
+#. (itstool) path: item/p
+#: C/scale.vala.page:31
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Scale.html\">Gtk.Scale</"
"link>"
@@ -39790,7 +42843,8 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Scale.html\">Gtk.Scale</"
"link>"
-#: C/scale.vala.page:32(item/p)
+#. (itstool) path: item/p
+#: C/scale.vala.page:32
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Adjustment.html\">Gtk."
"Adjustment</link>"
@@ -39798,7 +42852,8 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Adjustment.html\">Gtk."
"Adjustment</link>"
-#: C/scale.vala.page:33(item/p)
+#. (itstool) path: item/p
+#: C/scale.vala.page:33
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.PositionType.html\">Gtk."
"PositionType</link>"
@@ -39806,7 +42861,8 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.PositionType.html\">Gtk."
"PositionType</link>"
-#: C/scale.vala.page:34(item/p)
+#. (itstool) path: item/p
+#: C/scale.vala.page:34
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Orientation.html\">Gtk."
"Orientation</link>"
@@ -39814,27 +42870,13 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Orientation.html\">Gtk."
"Orientation</link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/scrolledwindow.c.page:24(media) C/scrolledwindow.js.page:21(media)
-#: C/scrolledwindow.py.page:22(media) C/scrolledwindow.vala.page:22(media)
+#: C/scrolledwindow.c.page:24 C/scrolledwindow.js.page:21
+#: C/scrolledwindow.py.page:22 C/scrolledwindow.vala.page:22
msgctxt "_"
msgid ""
"external ref='media/scrolledwindow.png' "
@@ -39843,31 +42885,32 @@ msgstr ""
"external ref='media/scrolledwindow.png' "
"md5='697bb3205d5c4fb0b4ea8db435843157'"
-#: C/scrolledwindow.c.page:7(info/title)
+#. (itstool) path: info/title
+#: C/scrolledwindow.c.page:7
msgctxt "text"
msgid "ScrolledWindow (C)"
msgstr "ScrolledWindow (C)"
-#: C/scrolledwindow.c.page:19(info/desc)
-#: C/scrolledwindow.js.page:17(info/desc)
-#: C/scrolledwindow.py.page:18(info/desc)
-#: C/scrolledwindow.vala.page:18(info/desc)
+#. (itstool) path: info/desc
+#: C/scrolledwindow.c.page:19 C/scrolledwindow.js.page:17
+#: C/scrolledwindow.py.page:18 C/scrolledwindow.vala.page:18
msgid "Adds scrollbars to its child widget"
msgstr "Añade barras de desplazamiento a su widget hijo"
-#: C/scrolledwindow.c.page:22(page/title)
-#: C/scrolledwindow.js.page:20(page/title)
-#: C/scrolledwindow.py.page:21(page/title)
-#: C/scrolledwindow.vala.page:21(page/title)
+#. (itstool) path: page/title
+#: C/scrolledwindow.c.page:22 C/scrolledwindow.js.page:20
+#: C/scrolledwindow.py.page:21 C/scrolledwindow.vala.page:21
msgid "ScrolledWindow"
msgstr "ScrolledWindow"
-#: C/scrolledwindow.c.page:25(page/p) C/scrolledwindow.js.page:22(page/p)
-#: C/scrolledwindow.py.page:23(page/p) C/scrolledwindow.vala.page:23(page/p)
+#. (itstool) path: page/p
+#: C/scrolledwindow.c.page:25 C/scrolledwindow.js.page:22
+#: C/scrolledwindow.py.page:23 C/scrolledwindow.vala.page:23
msgid "An image in a scrolled window."
msgstr "Una imagen en una ventana con barras de desplazamiento."
-#: C/scrolledwindow.c.page:27(page/code)
+#. (itstool) path: page/code
+#: C/scrolledwindow.c.page:27
#, no-wrap
msgid ""
"\n"
@@ -39988,7 +43031,8 @@ msgstr ""
" return status;\n"
"}\n"
-#: C/scrolledwindow.c.page:36(item/p)
+#. (itstool) path: item/p
+#: C/scrolledwindow.c.page:36
msgid ""
"<link href=\"http://developer.gnome.org/gtk/stable/gtk3-Standard-"
"Enumerations.html#GtkPolicyType\">GtkPolicyType</link>"
@@ -39996,12 +43040,14 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk/stable/gtk3-Standard-"
"Enumerations.html#GtkPolicyType\">GtkPolicyType</link>"
-#: C/scrolledwindow.js.page:7(info/title)
+#. (itstool) path: info/title
+#: C/scrolledwindow.js.page:7
msgctxt "text"
msgid "ScrolledWindow (JavaScript)"
msgstr "ScrolledWindow (JavaScript)"
-#: C/scrolledwindow.js.page:28(section/code)
+#. (itstool) path: section/code
+#: C/scrolledwindow.js.page:28
#, no-wrap
msgid ""
"#!/usr/bin/gjs\n"
@@ -40122,7 +43168,8 @@ msgstr ""
"let app = new ScrolledWindowExample();\n"
"app.application.run (ARGV);\n"
-#: C/scrolledwindow.js.page:35(item/p)
+#. (itstool) path: item/p
+#: C/scrolledwindow.js.page:35
msgid ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk."
"ScrolledWindow.html\">GtkScrolledWindow</link>"
@@ -40130,27 +43177,73 @@ msgstr ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk."
"ScrolledWindow.html\">GtkScrolledWindow</link>"
-#: C/scrolledwindow.py.page:7(info/title)
+#. (itstool) path: info/title
+#: C/scrolledwindow.py.page:7
msgctxt "text"
msgid "ScrolledWindow (Python)"
msgstr "ScrolledWindow (Python)"
-#: C/scrolledwindow.py.page:29(section/code)
+#. (itstool) path: section/code
+#: C/scrolledwindow.py.page:29
#, no-wrap
+#| msgid ""
+#| "from gi.repository import Gtk\n"
+#| "import sys\n"
+#| "\n"
+#| "class MyWindow(Gtk.ApplicationWindow):\n"
+#| " def __init__(self, app):\n"
+#| " Gtk.Window.__init__(self, title=\"ScrolledWindow Example\", application=app)\n"
+#| " self.set_default_size(200, 200)\n"
+#| "\n"
+#| " # the scrolledwindow\n"
+#| " scrolled_window = Gtk.ScrolledWindow()\n"
+#| " scrolled_window.set_border_width(10)\n"
+#| " # there is always the scrollbar (otherwise: AUTOMATIC - only if needed - or NEVER)\n"
+#| " scrolled_window.set_policy(Gtk.PolicyType.ALWAYS, Gtk.PolicyType.ALWAYS)\n"
+#| "\n"
+#| " # an image - slightly larger than the window...\n"
+#| " image = Gtk.Image()\n"
+#| " image.set_from_file(\"gnome-image.png\")\n"
+#| "\n"
+#| " # add the image to the scrolledwindow\n"
+#| " scrolled_window.add_with_viewport(image)\n"
+#| "\n"
+#| " # add the scrolledwindow to the window\n"
+#| " self.add(scrolled_window)\n"
+#| "\n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " def __init__(self):\n"
+#| " Gtk.Application.__init__(self)\n"
+#| "\n"
+#| " def do_activate(self):\n"
+#| " win = MyWindow(self)\n"
+#| " win.show_all()\n"
+#| "\n"
+#| " def do_startup(self):\n"
+#| " Gtk.Application.do_startup(self)\n"
+#| "\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
-" Gtk.Window.__init__(self, title=\"ScrolledWindow Example\", application=app)\n"
+" Gtk.Window.__init__(\n"
+" self, title=\"ScrolledWindow Example\", application=app)\n"
" self.set_default_size(200, 200)\n"
"\n"
" # the scrolledwindow\n"
" scrolled_window = Gtk.ScrolledWindow()\n"
" scrolled_window.set_border_width(10)\n"
-" # there is always the scrollbar (otherwise: AUTOMATIC - only if needed - or NEVER)\n"
-" scrolled_window.set_policy(Gtk.PolicyType.ALWAYS, Gtk.PolicyType.ALWAYS)\n"
+" # there is always the scrollbar (otherwise: AUTOMATIC - only if needed\n"
+" # - or NEVER)\n"
+" scrolled_window.set_policy(\n"
+" Gtk.PolicyType.ALWAYS, Gtk.PolicyType.ALWAYS)\n"
"\n"
" # an image - slightly larger than the window...\n"
" image = Gtk.Image()\n"
@@ -40162,7 +43255,9 @@ msgid ""
" # add the scrolledwindow to the window\n"
" self.add(scrolled_window)\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -40180,16 +43275,21 @@ msgstr ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
-" Gtk.Window.__init__(self, title=\"ScrolledWindow Example\", application=app)\n"
+" Gtk.Window.__init__(\n"
+" self, title=\"ScrolledWindow Example\", application=app)\n"
" self.set_default_size(200, 200)\n"
"\n"
" # the scrolledwindow\n"
" scrolled_window = Gtk.ScrolledWindow()\n"
" scrolled_window.set_border_width(10)\n"
-" # there is always the scrollbar (otherwise: AUTOMATIC - only if needed - or NEVER)\n"
-" scrolled_window.set_policy(Gtk.PolicyType.ALWAYS, Gtk.PolicyType.ALWAYS)\n"
+" # there is always the scrollbar (otherwise: AUTOMATIC - only if needed\n"
+" # - or NEVER)\n"
+" scrolled_window.set_policy(\n"
+" Gtk.PolicyType.ALWAYS, Gtk.PolicyType.ALWAYS)\n"
"\n"
" # an image - slightly larger than the window...\n"
" image = Gtk.Image()\n"
@@ -40201,7 +43301,9 @@ msgstr ""
" # add the scrolledwindow to the window\n"
" self.add(scrolled_window)\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -40216,11 +43318,13 @@ msgstr ""
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/scrolledwindow.py.page:32(section/title)
+#. (itstool) path: section/title
+#: C/scrolledwindow.py.page:32
msgid "Useful methods for a ScrolledWindow widget"
msgstr "Métodos útiles para un widget «ScrolledWindow»"
-#: C/scrolledwindow.py.page:34(item/p)
+#. (itstool) path: item/p
+#: C/scrolledwindow.py.page:34
msgid ""
"<code>set_policy(hscrollbar_policy, vscrollbar_policy)</code> where each of "
"the arguments is one of <code>Gtk.Policy.AUTOMATIC, Gtk.Policy.ALWAYS, Gtk."
@@ -40235,7 +43339,8 @@ msgstr ""
"aparecen si se necesitan, con <code>ALWAYS</code> aparecen siempre, y con "
"<code>NEVER</code> no aparecen nunca."
-#: C/scrolledwindow.py.page:35(item/p)
+#. (itstool) path: item/p
+#: C/scrolledwindow.py.page:35
msgid ""
"<code>add_with_viewport(widget)</code> is used to add the Gtk.Widget "
"<code>widget</code> without native scrolling capabilities inside the window."
@@ -40244,7 +43349,8 @@ msgstr ""
"code> «Gtk.Widget» sin capacidad de desplazamiento nativo dentro de la "
"ventana."
-#: C/scrolledwindow.py.page:36(item/p)
+#. (itstool) path: item/p
+#: C/scrolledwindow.py.page:36
msgid ""
"<code>set_placement(window_placement)</code> sets the placement of the "
"contents with respect to the scrollbars for the scrolled window. The options "
@@ -40260,7 +43366,8 @@ msgstr ""
"derecha de la ventana), <code>Gtk.CornerType.TOP_RIGHT, Gtk.CornerType."
"BOTTOM_LEFT, Gtk.CornerType.BOTTOM_RIGHT</code>."
-#: C/scrolledwindow.py.page:37(item/p)
+#. (itstool) path: item/p
+#: C/scrolledwindow.py.page:37
msgid ""
"<code>set_hadjustment(adjustment)</code> and <code>set_vadjustment"
"(adjustment)</code> set the Gtk.Adjustment <code>adjustment</code>. This is "
@@ -40280,7 +43387,8 @@ msgstr ""
"que <code>paso</code> no se usa en este caso, y puede establecerse a "
"<code>0</code>."
-#: C/scrolledwindow.py.page:44(item/p) C/textview.py.page:98(item/p)
+#. (itstool) path: item/p
+#: C/scrolledwindow.py.page:44 C/textview.py.page:98
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkScrolledWindow.html"
"\">GtkScrolledWindow</link>"
@@ -40288,12 +43396,14 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkScrolledWindow.html"
"\">GtkScrolledWindow</link>"
-#: C/scrolledwindow.vala.page:7(info/title)
+#. (itstool) path: info/title
+#: C/scrolledwindow.vala.page:7
msgctxt "text"
msgid "ScrolledWindow (Vala)"
msgstr "ScrolledWindow (Vala)"
-#: C/scrolledwindow.vala.page:25(page/code)
+#. (itstool) path: page/code
+#: C/scrolledwindow.vala.page:25
#, no-wrap
msgid ""
"/* This is the application. */\n"
@@ -40344,7 +43454,8 @@ msgstr ""
"\treturn new MyApplication ().run (args);\n"
"}\n"
-#: C/scrolledwindow.vala.page:30(item/p) C/textview.vala.page:36(item/p)
+#. (itstool) path: item/p
+#: C/scrolledwindow.vala.page:30 C/textview.vala.page:36
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.ScrolledWindow.html\">Gtk."
"ScrolledWindow</link>"
@@ -40352,7 +43463,8 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.ScrolledWindow.html\">Gtk."
"ScrolledWindow</link>"
-#: C/scrolledwindow.vala.page:31(item/p) C/textview.vala.page:38(item/p)
+#. (itstool) path: item/p
+#: C/scrolledwindow.vala.page:31 C/textview.vala.page:38
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.PolicyType.html\">Gtk."
"PolicyType</link>"
@@ -40360,49 +43472,41 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.PolicyType.html\">Gtk."
"PolicyType</link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/separator.c.page:23(media) C/separator.py.page:24(media)
-#: C/separator.vala.page:25(media)
+#: C/separator.c.page:23 C/separator.py.page:24 C/separator.vala.page:25
msgctxt "_"
msgid ""
"external ref='media/separator.png' md5='8769b27662ce5c77f99e9ce33751a21a'"
msgstr ""
"external ref='media/separator.png' md5='8769b27662ce5c77f99e9ce33751a21a'"
-#: C/separator.c.page:7(info/title)
+#. (itstool) path: info/title
+#: C/separator.c.page:7
msgctxt "text"
msgid "Separator (C)"
msgstr "Separador (C)"
-#: C/separator.c.page:18(info/desc) C/separator.py.page:19(info/desc)
-#: C/separator.vala.page:20(info/desc)
+#. (itstool) path: info/desc
+#: C/separator.c.page:18 C/separator.py.page:19 C/separator.vala.page:20
msgid "A separator widget"
msgstr "Un widget separador"
-#: C/separator.c.page:21(page/title) C/separator.py.page:22(page/title)
-#: C/separator.vala.page:23(page/title)
+#. (itstool) path: page/title
+#: C/separator.c.page:21 C/separator.py.page:22 C/separator.vala.page:23
msgid "Separator"
msgstr "Separador"
-#: C/separator.c.page:24(page/p) C/separator.py.page:25(page/p)
-#: C/separator.vala.page:26(page/p)
+#. (itstool) path: page/p
+#: C/separator.c.page:24 C/separator.py.page:25 C/separator.vala.page:26
msgid "A horizontal and a vertical separator divide some labels."
msgstr "Un separador horizontal y uno vertical dividen algunas etiquetas."
-#: C/separator.c.page:30(section/code)
+#. (itstool) path: section/code
+#: C/separator.c.page:30
#, no-wrap
msgid ""
"#include <gtk/gtk.h>\n"
@@ -40509,12 +43613,13 @@ msgstr ""
" return status;\n"
"}\n"
-#: C/separator.c.page:34(section/title) C/separator.py.page:35(section/title)
-#: C/separator.vala.page:36(section/title)
+#. (itstool) path: section/title
+#: C/separator.c.page:34 C/separator.py.page:35 C/separator.vala.page:36
msgid "API Reference"
msgstr "Referencias de la API"
-#: C/separator.c.page:38(item/p) C/separator.py.page:39(item/p)
+#. (itstool) path: item/p
+#: C/separator.c.page:38 C/separator.py.page:39
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkSeparator.html"
"\">GtkSeparator</link>"
@@ -40522,18 +43627,67 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkSeparator.html"
"\">GtkSeparator</link>"
-#: C/separator.py.page:7(info/title)
+#. (itstool) path: info/title
+#: C/separator.py.page:7
msgctxt "text"
msgid "Seperator (Python)"
msgstr "Separador (Python)"
-#: C/separator.py.page:31(section/code)
+#. (itstool) path: section/code
+#: C/separator.py.page:31
#, no-wrap
+#| msgid ""
+#| "from gi.repository import Gtk\n"
+#| "import sys\n"
+#| "\n"
+#| "class MyWindow(Gtk.ApplicationWindow):\n"
+#| " def __init__(self, app):\n"
+#| " Gtk.Window.__init__(self, title=\"Separator Example\", application=app)\n"
+#| "\n"
+#| " # three labels\n"
+#| " label1 = Gtk.Label()\n"
+#| " label1.set_text(\"Below, a horizontal separator.\")\n"
+#| "\n"
+#| " label2 = Gtk.Label()\n"
+#| " label2.set_text(\"On the right, a vertical separator.\")\n"
+#| "\n"
+#| " label3 = Gtk.Label()\n"
+#| " label3.set_text(\"On the left, a vertical separator.\")\n"
+#| "\n"
+#| " # a horizontal separator\n"
+#| " hseparator = Gtk.Separator(orientation=Gtk.Orientation.HORIZONTAL)\n"
+#| " # a vertical separator\n"
+#| " vseparator = Gtk.Separator(orientation=Gtk.Orientation.VERTICAL)\n"
+#| "\n"
+#| " # a grid to attach labels and separators\n"
+#| " grid = Gtk.Grid()\n"
+#| " grid.attach(label1, 0, 0, 3, 1)\n"
+#| " grid.attach(hseparator, 0, 1, 3, 1)\n"
+#| " grid.attach(label2, 0, 2, 1, 1)\n"
+#| " grid.attach(vseparator, 1, 2, 1, 1)\n"
+#| " grid.attach(label3, 2, 2, 1, 1)\n"
+#| " grid.set_column_homogeneous(True)\n"
+#| " # add the grid to the window\n"
+#| " self.add(grid)\n"
+#| "\n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " def __init__(self):\n"
+#| " Gtk.Application.__init__(self)\n"
+#| "\n"
+#| " def do_activate(self):\n"
+#| "\twin = MyWindow(self)\n"
+#| "\twin.show_all()\n"
+#| "\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"Separator Example\", application=app)\n"
"\n"
@@ -40563,13 +43717,15 @@ msgid ""
" # add the grid to the window\n"
" self.add(grid)\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
" def do_activate(self):\n"
-"\twin = MyWindow(self)\n"
-"\twin.show_all()\n"
+" win = MyWindow(self)\n"
+" win.show_all()\n"
"\n"
"app = MyApplication()\n"
"exit_status = app.run(sys.argv)\n"
@@ -40578,7 +43734,9 @@ msgstr ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"Separator Example\", application=app)\n"
"\n"
@@ -40608,24 +43766,28 @@ msgstr ""
" # add the grid to the window\n"
" self.add(grid)\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
" def do_activate(self):\n"
-"\twin = MyWindow(self)\n"
-"\twin.show_all()\n"
+" win = MyWindow(self)\n"
+" win.show_all()\n"
"\n"
"app = MyApplication()\n"
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/separator.vala.page:7(info/title)
+#. (itstool) path: info/title
+#: C/separator.vala.page:7
msgctxt "text"
msgid "Separator (Vala)"
msgstr "Separador (Vala)"
-#: C/separator.vala.page:32(section/code)
+#. (itstool) path: section/code
+#: C/separator.vala.page:32
#, no-wrap
msgid ""
"/* This is the application. */\n"
@@ -40716,7 +43878,8 @@ msgstr ""
"\treturn app.run (args);\n"
"}\n"
-#: C/separator.vala.page:40(item/p)
+#. (itstool) path: item/p
+#: C/separator.vala.page:40
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Window.html\">GtkWindow</"
"link>"
@@ -40724,7 +43887,8 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Window.html\">GtkWindow</"
"link>"
-#: C/separator.vala.page:41(item/p)
+#. (itstool) path: item/p
+#: C/separator.vala.page:41
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Separator.html"
"\">GtkSeparator</link>"
@@ -40732,45 +43896,51 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Separator.html"
"\">GtkSeparator</link>"
-#: C/separator.vala.page:42(item/p)
+#. (itstool) path: item/p
+#: C/separator.vala.page:42
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Grid.html\">GtkGrid</link>"
msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Grid.html\">GtkGrid</link>"
-#: C/separator.vala.page:43(item/p)
+#. (itstool) path: item/p
+#: C/separator.vala.page:43
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Label.html\">GtkLabel</link>"
msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Label.html\">GtkLabel</link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#: C/set-up-gedit.js.page:24(media)
+#: C/set-up-gedit.js.page:24
msgctxt "_"
msgid ""
"external ref='media/geditview.png' md5='f1438295662d95f56fcd1d8200efaaf2'"
msgstr ""
"external ref='media/geditview.png' md5='f1438295662d95f56fcd1d8200efaaf2'"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#: C/set-up-gedit.js.page:36(media)
+#: C/set-up-gedit.js.page:36
msgctxt "_"
msgid ""
"external ref='media/gediteditor.png' md5='50db1ee8f2c545744879ee9fba5b4b24'"
msgstr ""
"external ref='media/gediteditor.png' md5='50db1ee8f2c545744879ee9fba5b4b24'"
-#: C/set-up-gedit.js.page:18(page/title)
+#. (itstool) path: page/title
+#: C/set-up-gedit.js.page:18
msgid "Set up gedit for JavaScript development"
msgstr "Configurar gedit para el desarrollo de JavaScript"
-#: C/set-up-gedit.js.page:19(page/p)
+#. (itstool) path: page/p
+#: C/set-up-gedit.js.page:19
msgid ""
"This tutorial will show you how to set up <link href=\"http://projects.gnome."
"org/gedit/\">gedit</link>, GNOME's basic text editor, so that it has a "
@@ -40781,11 +43951,13 @@ msgstr ""
"algunas características adicionales que son útiles para escribir código de "
"JavaScript."
-#: C/set-up-gedit.js.page:22(section/title)
+#. (itstool) path: section/title
+#: C/set-up-gedit.js.page:22
msgid "Making code clearer"
msgstr "Simplificar el código"
-#: C/set-up-gedit.js.page:23(section/p)
+#. (itstool) path: section/p
+#: C/set-up-gedit.js.page:23
msgid ""
"Click on <gui>Edit</gui> in gedit's menu bar, then click on "
"<gui>Preferences</gui>. You should see something like this:"
@@ -40793,11 +43965,13 @@ msgstr ""
"Pulse en <gui>Editar</gui> en la barra de menú de gedit, después pulse en "
"<gui>Preferencias</gui>. Debería ver algo así:"
-#: C/set-up-gedit.js.page:25(section/p)
+#. (itstool) path: section/p
+#: C/set-up-gedit.js.page:25
msgid "Here are the options you want to make sure are turned on."
msgstr "Aquí están las opciones que quiere asegurarse que estén activadas."
-#: C/set-up-gedit.js.page:27(item/p)
+#. (itstool) path: item/p
+#: C/set-up-gedit.js.page:27
msgid ""
"<gui>Display line numbers</gui> will help you compare the code you type in "
"with the original, and make it easier to see which line is causing an error "
@@ -40807,7 +43981,8 @@ msgstr ""
"introduce con el original, y le hará más fácil ver qué línea está causando "
"un error si hay alguno."
-#: C/set-up-gedit.js.page:28(item/p)
+#. (itstool) path: item/p
+#: C/set-up-gedit.js.page:28
msgid ""
"<gui>Highlight current line</gui> makes it easier to see which line you're "
"on, when you have to go back and forth a lot."
@@ -40815,7 +43990,8 @@ msgstr ""
"<gui>Resaltar la línea actual</gui> hace más fácil ver en qué línea está, "
"cuando tiene que ir hacia atrás y adelante mucho."
-#: C/set-up-gedit.js.page:29(item/p)
+#. (itstool) path: item/p
+#: C/set-up-gedit.js.page:29
msgid ""
"<gui>Highlight matching brackets</gui> helps you make sure you didn't leave "
"out a bracket by accident."
@@ -40823,11 +43999,13 @@ msgstr ""
"<gui>Resaltar corchetes correspondientes</gui> le ayuda a asegurarse de que "
"no dejó fuera un corchete por accidente."
-#: C/set-up-gedit.js.page:34(section/title)
+#. (itstool) path: section/title
+#: C/set-up-gedit.js.page:34
msgid "Making editing easier"
msgstr "Facilitar la edición"
-#: C/set-up-gedit.js.page:35(section/p)
+#. (itstool) path: section/p
+#: C/set-up-gedit.js.page:35
msgid ""
"In gedit's <gui>Preferences</gui> dialog, click on the <gui>Editor</gui> "
"tab. You should see something like this:"
@@ -40835,7 +44013,8 @@ msgstr ""
"En el diálogo <gui>Preferencias</gui> de gedit, pulse en la pestaña "
"<gui>Editor</gui>. Debería ver algo así:"
-#: C/set-up-gedit.js.page:37(section/p)
+#. (itstool) path: section/p
+#: C/set-up-gedit.js.page:37
msgid ""
"Here, you want to have <gui>Enable automatic indentation</gui> turned on. "
"This means that when you hit <key>Enter</key> the cursor stays indented as "
@@ -40848,7 +44027,8 @@ msgstr ""
"código de JavaScript, dado que usa la sangría para hacer más claro qué "
"partes hacen qué."
-#: C/set-up-gedit.js.page:38(note/p)
+#. (itstool) path: note/p
+#: C/set-up-gedit.js.page:38
msgid ""
"If you want to share code with other people who write GNOME JavaScript "
"applications, you'll also want to set <gui>Tab width</gui> to 4 and turn on "
@@ -40859,20 +44039,24 @@ msgstr ""
"tabulador</gui> a 4 y activar <gui>Insertar espacios en lugar de "
"tabuladores</gui>."
-#: C/signals-callbacks.py.page:8(info/title)
+#. (itstool) path: info/title
+#: C/signals-callbacks.py.page:8
msgctxt "text"
msgid "Signals and callbacks (Python)"
msgstr "Señales y retornos de llamada (Python)"
-#: C/signals-callbacks.py.page:13(info/desc)
+#. (itstool) path: info/desc
+#: C/signals-callbacks.py.page:13
msgid "An explanation of signals and callbacks in GTK+."
msgstr "Una explicación de señales y retornos de llamada en GTK+."
-#: C/signals-callbacks.py.page:26(page/title)
+#. (itstool) path: page/title
+#: C/signals-callbacks.py.page:26
msgid "Signals and callbacks"
msgstr "Señales y retornos de llamada"
-#: C/signals-callbacks.py.page:33(section/p)
+#. (itstool) path: section/p
+#: C/signals-callbacks.py.page:33
msgid ""
"Like most GUI toolkits, GTK+ uses an event-driven programming model. When "
"the user is doing nothing, GTK+ sits in the main loop and waits for input. "
@@ -40885,7 +44069,8 @@ msgstr ""
"realiza alguna acción (como una pulsación del ratón), entonces el bucle "
"principal «despierta» y le envía un evento a GTK+."
-#: C/signals-callbacks.py.page:35(section/p)
+#. (itstool) path: section/p
+#: C/signals-callbacks.py.page:35
msgid ""
"When widgets receive an event, they frequently emit one or more signals. "
"Signals notify your program that \"something interesting happened\" by "
@@ -40902,7 +44087,8 @@ msgstr ""
"de llamada termina, GTK+ retorna al bucle principal y espera más entrada del "
"usuario."
-#: C/signals-callbacks.py.page:37(section/p)
+#. (itstool) path: section/p
+#: C/signals-callbacks.py.page:37
msgid ""
"A generic example is: <code>handler_id = widget.connect(\"event\", callback, "
"data)</code>. <code>widget</code> is an instance of a widget we created "
@@ -40938,7 +44124,8 @@ msgstr ""
"opcional «datos» incluye cualquier dato que debe pasarse cuando se emita la "
"señal."
-#: C/signals-callbacks.py.page:39(section/p)
+#. (itstool) path: section/p
+#: C/signals-callbacks.py.page:39
msgid ""
"The function returns a number (the <code>handler_id</code>) that identifies "
"this particular signal-callback pair. This number is required to disconnect "
@@ -40953,7 +44140,8 @@ msgstr ""
"futuras o en progreso, como en <code>widget.disconnect(id_de_manejador)</"
"code>."
-#: C/signals-callbacks.py.page:46(section/p)
+#. (itstool) path: section/p
+#: C/signals-callbacks.py.page:46
msgid ""
"<link href=\"http://developer.gnome.org/gobject/stable/signal.html"
"\">Signals</link> in GObject documentation"
@@ -40961,7 +44149,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gobject/stable/signal.html"
"\">Señales</link> en la documentación de GObject"
-#: C/signals-callbacks.py.page:47(section/p)
+#. (itstool) path: section/p
+#: C/signals-callbacks.py.page:47
msgid ""
"<link href=\"http://python-gtk-3-tutorial.readthedocs.org/en/latest/basics."
"html\">Basics - Main loop and Signals</link> in Python GTK+ 3 Tutorial"
@@ -40970,48 +44159,42 @@ msgstr ""
"html\">Conceptos básicos: bucle principal y señales</link> en el tutorial de "
"GTK+ en Python 3"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/spinbutton.c.page:25(media) C/spinbutton.py.page:23(media)
-#: C/spinbutton.vala.page:23(media)
+#: C/spinbutton.c.page:25 C/spinbutton.py.page:23 C/spinbutton.vala.page:23
msgctxt "_"
msgid ""
"external ref='media/spinbutton.png' md5='993cbb7d9bd271a329727a926195712a'"
msgstr ""
"external ref='media/spinbutton.png' md5='993cbb7d9bd271a329727a926195712a'"
-#: C/spinbutton.c.page:7(info/title)
+#. (itstool) path: info/title
+#: C/spinbutton.c.page:7
msgctxt "text"
msgid "SpinButton (C)"
msgstr "SpinButton (C)"
-#: C/spinbutton.c.page:20(info/desc)
+#. (itstool) path: info/desc
+#: C/spinbutton.c.page:20
msgid "Retrieve an integer or floating point number"
msgstr "Obtener un número entero o en coma flotante"
-#: C/spinbutton.c.page:23(page/title) C/spinbutton.js.page:23(page/title)
-#: C/spinbutton.py.page:22(page/title) C/spinbutton.vala.page:22(page/title)
+#. (itstool) path: page/title
+#: C/spinbutton.c.page:23 C/spinbutton.js.page:23 C/spinbutton.py.page:22
+#: C/spinbutton.vala.page:22
msgid "SpinButton"
msgstr "SpinButton"
-#: C/spinbutton.c.page:26(page/p) C/spinbutton.py.page:24(page/p)
-#: C/spinbutton.vala.page:24(page/p)
+#. (itstool) path: page/p
+#: C/spinbutton.c.page:26 C/spinbutton.py.page:24 C/spinbutton.vala.page:24
msgid "Choose a number, by entering it or by clicking on the -/+ buttons!"
msgstr "Elija un número, escribiéndolo o pulsando los botones -/+."
-#: C/spinbutton.c.page:28(page/code)
+#. (itstool) path: page/code
+#: C/spinbutton.c.page:28
#, no-wrap
msgid ""
"\n"
@@ -41206,7 +44389,8 @@ msgstr ""
" return status;\n"
"}\n"
-#: C/spinbutton.c.page:36(item/p)
+#. (itstool) path: item/p
+#: C/spinbutton.c.page:36
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkSpinButton.html"
"\">GtkSpinButton</link>"
@@ -41214,11 +44398,12 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkSpinButton.html"
"\">GtkSpinButton</link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#: C/spinbutton.js.page:24(media)
+#: C/spinbutton.js.page:24
msgctxt "_"
msgid ""
"external ref='media/spinbuttonkittens.png' "
@@ -41227,16 +44412,19 @@ msgstr ""
"external ref='media/spinbuttonkittens.png' "
"md5='577cce8a902140aacbab73fe8a76a010'"
-#: C/spinbutton.js.page:7(info/title)
+#. (itstool) path: info/title
+#: C/spinbutton.js.page:7
msgctxt "text"
msgid "SpinButton (JavaScript)"
msgstr "SpinButton (JavaScript)"
-#: C/spinbutton.js.page:20(info/desc)
+#. (itstool) path: info/desc
+#: C/spinbutton.js.page:20
msgid "A number entry field that has + and - buttons"
msgstr "Un campo de entrada numérico que tiene botones «+» y «-»."
-#: C/spinbutton.js.page:25(page/p)
+#. (itstool) path: page/p
+#: C/spinbutton.js.page:25
msgid ""
"A SpinButton is not related to a <link xref=\"spinner.js\">Spinner</link>. "
"It's a text entry field which only accepts numbers, and which has plus and "
@@ -41247,7 +44435,8 @@ msgstr ""
"y que tiene botones más y menos para dejarle cambiar el valor sin tener que "
"escribir nada."
-#: C/spinbutton.js.page:26(page/p)
+#. (itstool) path: page/p
+#: C/spinbutton.js.page:26
msgid ""
"It's best used when it's obvious that only a number can be entered into it. "
"In this example, two SpinButtons are used for the number of kittens and "
@@ -41257,7 +44446,8 @@ msgstr ""
"En este ejemplo, se usan dos botones incrementales para el número de gatitos "
"y el número de latas de atún para darles."
-#: C/spinbutton.js.page:43(section/code)
+#. (itstool) path: section/code
+#: C/spinbutton.js.page:43
#, no-wrap
msgid ""
"\n"
@@ -41310,7 +44500,8 @@ msgstr ""
" this._buildUI ();\n"
" },\n"
-#: C/spinbutton.js.page:68(section/p)
+#. (itstool) path: section/p
+#: C/spinbutton.js.page:68
msgid ""
"All the code for this sample goes in the SpinButtonExample class. The above "
"code creates a <link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/"
@@ -41322,7 +44513,8 @@ msgstr ""
"Gtk.Application.html\">Gtk.Application</link> para que vayan los widgets y "
"la ventana."
-#: C/spinbutton.js.page:69(section/code)
+#. (itstool) path: section/code
+#: C/spinbutton.js.page:69
#, no-wrap
msgid ""
"\n"
@@ -41347,11 +44539,13 @@ msgstr ""
" border_width: 20,\n"
" title: \"Kitten Feeder\"});\n"
-#: C/spinbutton.js.page:84(section/title)
+#. (itstool) path: section/title
+#: C/spinbutton.js.page:84
msgid "Creating the SpinButtons"
msgstr "Crear los botones incrementales"
-#: C/spinbutton.js.page:85(section/code)
+#. (itstool) path: section/code
+#: C/spinbutton.js.page:85
#, no-wrap
msgid ""
"\n"
@@ -41364,7 +44558,8 @@ msgstr ""
" this._kittens = Gtk.SpinButton.new_with_range (1, 9001, 1);\n"
" this._kittens.connect (\"value-changed\", Lang.bind (this, this._newValue));\n"
-#: C/spinbutton.js.page:91(section/p)
+#. (itstool) path: section/p
+#: C/spinbutton.js.page:91
msgid ""
"We can use the new_with_range function to create a new SpinButton quickly. "
"Its first parameter is the SpinButton's starting value, its second is the "
@@ -41376,7 +44571,8 @@ msgstr ""
"incremental, el segundo es el valor máximo, y el tercero es cuánto se "
"incrementa cuando se presionan los botones más o menos."
-#: C/spinbutton.js.page:92(section/p)
+#. (itstool) path: section/p
+#: C/spinbutton.js.page:92
msgid ""
"After we create the first SpinButton, we connect its value-changed signal to "
"a function which handles what happens when the number inside either "
@@ -41386,7 +44582,8 @@ msgstr ""
"changed» a una función que maneja qué sucede cuando cambia el número dentro "
"de cada botón incremental."
-#: C/spinbutton.js.page:94(section/code)
+#. (itstool) path: section/code
+#: C/spinbutton.js.page:94
#, no-wrap
msgid ""
"\n"
@@ -41421,7 +44618,8 @@ msgstr ""
" // this._tuna.set_digits (1);\n"
" // this._tuna.set_wrap (true);\n"
-#: C/spinbutton.js.page:111(section/p)
+#. (itstool) path: section/p
+#: C/spinbutton.js.page:111
msgid ""
"If you want more fine-grained control over a SpinButton, or want to create a "
"bunch of SpinButtons which all use the same parameters, you can create an "
@@ -41440,7 +44638,8 @@ msgstr ""
"botones incrementales que usan ese ajuste cambiando las propiedades de su "
"objeto."
-#: C/spinbutton.js.page:112(section/p)
+#. (itstool) path: section/p
+#: C/spinbutton.js.page:112
msgid ""
"The commented-out lines here show things you can do to customize your "
"SpinButton. You can set the number of digits which go after the decimal "
@@ -41452,7 +44651,8 @@ msgstr ""
"de la coma decimal, por ejemplo, o decirle que dé la vuelta si pasa el "
"límite superior o inferior que estableció."
-#: C/spinbutton.js.page:113(note/p)
+#. (itstool) path: note/p
+#: C/spinbutton.js.page:113
msgid ""
"For the kitties' sake, please don't use set_digits to allow a decimal number "
"of kittens."
@@ -41460,11 +44660,13 @@ msgstr ""
"Por el bien de los gatitos, por favor no use «set_digits» para permitir un "
"número decimal de gatitos."
-#: C/spinbutton.js.page:117(section/title)
+#. (itstool) path: section/title
+#: C/spinbutton.js.page:117
msgid "Creating the rest of the UI"
msgstr "Crear el resto de la IU"
-#: C/spinbutton.js.page:119(section/code)
+#. (itstool) path: section/code
+#: C/spinbutton.js.page:119
#, no-wrap
msgid ""
"\n"
@@ -41485,7 +44687,8 @@ msgstr ""
" this._lastLabel = new Gtk.Label ({\n"
" label: \"That's \" + this.perKitten + \" can(s) of tuna per kitten.\" });\n"
-#: C/spinbutton.js.page:128(section/p)
+#. (itstool) path: section/p
+#: C/spinbutton.js.page:128
msgid ""
"We create each <link xref=\"label.js\">Label</link> individually, and then "
"string them together along with the SpinButtons. The last label needs to "
@@ -41503,7 +44706,8 @@ msgstr ""
"método «floor» de las funciones «Math» de JavaScript se usa para redondear "
"el número de latas atún por gatito al número entero inferior más cercano."
-#: C/spinbutton.js.page:130(section/code)
+#. (itstool) path: section/code
+#: C/spinbutton.js.page:130
#, no-wrap
msgid ""
"\n"
@@ -41552,7 +44756,8 @@ msgstr ""
" this._mainGrid.attach (this._spinGrid, 0, 0, 1, 1);\n"
" this._mainGrid.attach (this._lastLabel, 0, 1, 1, 1);\n"
-#: C/spinbutton.js.page:154(section/p)
+#. (itstool) path: section/p
+#: C/spinbutton.js.page:154
msgid ""
"Here we use <link xref=\"grid.js\">Grid</link> widgets to keep everything "
"organized. One Grid holds the labels and SpinButtons in order, while the "
@@ -41563,7 +44768,8 @@ msgstr ""
"incrementales en orden, mientras que la otra pone esa rejilla en la parte "
"superior y la última etiqueta en la parte inferior."
-#: C/spinbutton.js.page:155(section/p)
+#. (itstool) path: section/p
+#: C/spinbutton.js.page:155
msgid ""
"There isn't a wrong way to organize things in Grids, so long as you like how "
"it turns out. In this case, the top Grid has a margin on the bottom to keep "
@@ -41577,7 +44783,8 @@ msgstr ""
"inferior, que está dentro de una rejilla separada por lo que se centrará en "
"relación a las etiquetas y botones incrementales de la parte superior."
-#: C/spinbutton.js.page:157(section/code)
+#. (itstool) path: section/code
+#: C/spinbutton.js.page:157
#, no-wrap
msgid ""
"\n"
@@ -41596,7 +44803,8 @@ msgstr ""
" this._window.show_all();\n"
" },\n"
-#: C/spinbutton.js.page:165(section/p) C/switch.js.page:153(section/p)
+#. (itstool) path: section/p
+#: C/spinbutton.js.page:165 C/switch.js.page:153
msgid ""
"Finally, we add the larger Grid to the window, then tell the window to show "
"itself and all the widgets inside of it."
@@ -41604,13 +44812,15 @@ msgstr ""
"Finalmente, se añade la rejilla más grande a la ventana, después se le dice "
"a la ventana que se muestre con todos sus widgets."
-#: C/spinbutton.js.page:169(section/title)
+#. (itstool) path: section/title
+#: C/spinbutton.js.page:169
msgid "Function which handles the SpinButtons' numerical values being adjusted"
msgstr ""
"Función que maneja los valores numéricos de los botones incrementales que se "
"ajustan"
-#: C/spinbutton.js.page:171(section/code)
+#. (itstool) path: section/code
+#: C/spinbutton.js.page:171
#, no-wrap
msgid ""
"\n"
@@ -41635,7 +44845,8 @@ msgstr ""
"\n"
"});\n"
-#: C/spinbutton.js.page:182(section/p)
+#. (itstool) path: section/p
+#: C/spinbutton.js.page:182
msgid ""
"Here we update the perKitten variable based on the SpinButtons' new values, "
"and use the set_label property to refresh what _lastLabel shows. Since both "
@@ -41648,7 +44859,8 @@ msgstr ""
"señal «value-changed» conectada a esta función, cada vez que cualquiera de "
"los números cambie esta función actualizará la etiqueta."
-#: C/spinbutton.js.page:184(section/code)
+#. (itstool) path: section/code
+#: C/spinbutton.js.page:184
#, no-wrap
msgid ""
"\n"
@@ -41661,7 +44873,8 @@ msgstr ""
"let app = new SpinButtonExample ();\n"
"app.application.run (ARGV);\n"
-#: C/spinbutton.js.page:189(section/p)
+#. (itstool) path: section/p
+#: C/spinbutton.js.page:189
msgid ""
"Finally, we create a new instance of the finished SpinButtonExample class, "
"and set the application running."
@@ -41669,7 +44882,8 @@ msgstr ""
"Finalmente, se crea una instancia nueva de la clase «SpinButtonExample» "
"terminada, y se ejecuta la aplicación."
-#: C/spinbutton.js.page:194(section/code)
+#. (itstool) path: section/code
+#: C/spinbutton.js.page:194
#, no-wrap
msgid ""
"#!/usr/bin/gjs\n"
@@ -41900,7 +45114,8 @@ msgstr ""
"let app = new SpinButtonExample ();\n"
"app.application.run (ARGV);\n"
-#: C/spinbutton.js.page:205(item/p)
+#. (itstool) path: item/p
+#: C/spinbutton.js.page:205
msgid ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.SpinButton."
"html\">Gtk.SpinButton</link>"
@@ -41908,22 +45123,81 @@ msgstr ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.SpinButton."
"html\">Gtk.SpinButton</link>"
-#: C/spinbutton.py.page:7(info/title)
+#. (itstool) path: info/title
+#: C/spinbutton.py.page:7
msgctxt "text"
msgid "SpinButton (Python)"
msgstr "SpinButton (Python)"
-#: C/spinbutton.py.page:19(info/desc)
+#. (itstool) path: info/desc
+#: C/spinbutton.py.page:19
msgid "Retrieve an integer or floating-point number from the user."
msgstr "Obtener un número entero o en coma flotante del usuario."
-#: C/spinbutton.py.page:30(section/code)
+#. (itstool) path: section/code
+#: C/spinbutton.py.page:30
#, no-wrap
+#| msgid ""
+#| "from gi.repository import Gtk\n"
+#| "import sys\n"
+#| "\n"
+#| "class MyWindow(Gtk.ApplicationWindow):\n"
+#| " def __init__(self, app):\n"
+#| " Gtk.Window.__init__(self, title=\"SpinButton Example\", application=app)\n"
+#| " self.set_default_size(210, 70)\n"
+#| " self.set_border_width(5)\n"
+#| "\n"
+#| " # an adjustment (initial value, min value, max value,\n"
+#| " # step increment - press cursor keys or +/- buttons to see!,\n"
+#| " # page increment - not used here,\n"
+#| " # page size - not used here)\n"
+#| " ad = Gtk.Adjustment(0, 0, 100, 1, 0, 0)\n"
+#| "\n"
+#| " # a spin button for integers (digits=0)\n"
+#| " self.spin = Gtk.SpinButton(adjustment=ad, climb_rate=1, digits=0)\n"
+#| " # as wide as possible\n"
+#| " self.spin.set_hexpand(True)\n"
+#| "\n"
+#| " # we connect the signal \"value-changed\" emitted by the spinbutton with the callback\n"
+#| " # function spin_selected\n"
+#| " self.spin.connect(\"value-changed\", self.spin_selected)\n"
+#| "\n"
+#| " # a label\n"
+#| " self.label = Gtk.Label()\n"
+#| " self.label.set_text(\"Choose a number\")\n"
+#| "\n"
+#| " # a grid to attach the widgets\n"
+#| " grid = Gtk.Grid()\n"
+#| " grid.attach(self.spin, 0, 0, 1, 1)\n"
+#| " grid.attach(self.label, 0, 1, 2, 1)\n"
+#| "\n"
+#| " self.add(grid)\n"
+#| "\n"
+#| " # callback function: the signal of the spinbutton is used to change the text of the label\n"
+#| " def spin_selected(self, event):\n"
+#| " self.label.set_text(\"The number you selected is \" + str(self.spin.get_value_as_int()) +
\".\")\n"
+#| "\n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " def __init__(self):\n"
+#| " Gtk.Application.__init__(self)\n"
+#| "\n"
+#| " def do_activate(self):\n"
+#| " win = MyWindow(self)\n"
+#| " win.show_all()\n"
+#| "\n"
+#| " def do_startup(self):\n"
+#| " Gtk.Application.do_startup(self)\n"
+#| "\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"SpinButton Example\", application=app)\n"
" self.set_default_size(210, 70)\n"
@@ -41955,11 +45229,15 @@ msgid ""
"\n"
" self.add(grid)\n"
"\n"
-" # callback function: the signal of the spinbutton is used to change the text of the label\n"
+" # callback function: the signal of the spinbutton is used to change the\n"
+" # text of the label\n"
" def spin_selected(self, event):\n"
-" self.label.set_text(\"The number you selected is \" + str(self.spin.get_value_as_int()) + \".\")\n"
+" self.label.set_text(\n"
+" \"The number you selected is \" + str(self.spin.get_value_as_int()) + \".\")\n"
+"\n"
"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -41977,7 +45255,9 @@ msgstr ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"SpinButton Example\", application=app)\n"
" self.set_default_size(210, 70)\n"
@@ -42009,11 +45289,15 @@ msgstr ""
"\n"
" self.add(grid)\n"
"\n"
-" # callback function: the signal of the spinbutton is used to change the text of the label\n"
+" # callback function: the signal of the spinbutton is used to change the\n"
+" # text of the label\n"
" def spin_selected(self, event):\n"
-" self.label.set_text(\"The number you selected is \" + str(self.spin.get_value_as_int()) + \".\")\n"
+" self.label.set_text(\n"
+" \"The number you selected is \" + str(self.spin.get_value_as_int()) + \".\")\n"
+"\n"
"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -42028,11 +45312,13 @@ msgstr ""
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/spinbutton.py.page:34(section/title)
+#. (itstool) path: section/title
+#: C/spinbutton.py.page:34
msgid "Useful methods for a SpinButton widget"
msgstr "Métodos útiles para un widget «SpinButton»"
-#: C/spinbutton.py.page:35(section/p)
+#. (itstool) path: section/p
+#: C/spinbutton.py.page:35
msgid ""
"A Gtk.Adjustment is needed to construct the Gtk.SpinButton. This is the "
"representation of a value with a lower and upper bound, together with step "
@@ -42054,7 +45340,8 @@ msgstr ""
"<code>tamaño_de_página</code> no se usan en este caso, y deben establecerse "
"a <code>0</code>."
-#: C/spinbutton.py.page:36(section/p)
+#. (itstool) path: section/p
+#: C/spinbutton.py.page:36
msgid ""
"In line 23 the signal <code>\"value-changed\"</code> is connected to the "
"callback function <code>spin_selected()</code> using <code><var>widget</var>."
@@ -42067,7 +45354,8 @@ msgstr ""
"llamada</var>)</code>. Consulte la <link xref=\"signals-callbacks.py\"/> "
"para una explicación más detallada."
-#: C/spinbutton.py.page:38(item/p)
+#. (itstool) path: item/p
+#: C/spinbutton.py.page:38
msgid ""
"If you want the value of the spinbutton to wrap around when they exceed the "
"maximum or the minimum, set <code>set_wrap(True)</code>. The <code>\"wrapped"
@@ -42077,7 +45365,8 @@ msgstr ""
"máximo o el mínimo, establezca <code>set_wrap(True)</code>. La señal <code>"
"\"wrapped\"</code> se emite cuando esto sucede."
-#: C/spinbutton.py.page:39(item/p)
+#. (itstool) path: item/p
+#: C/spinbutton.py.page:39
msgid ""
"<code>set_digits(digits)</code> sets the precision to be displayed by the "
"spinbutton, up to 20 digits."
@@ -42085,7 +45374,8 @@ msgstr ""
"<code>set_digits(dígitos)</code> establece la precisión que muestra el botón "
"incremental, hasta 20 dígitos."
-#: C/spinbutton.py.page:40(item/p)
+#. (itstool) path: item/p
+#: C/spinbutton.py.page:40
msgid ""
"To get the value of the spinbutton as an integer, use <code>get_value_as_int"
"()</code>."
@@ -42093,7 +45383,8 @@ msgstr ""
"Para obtener el valor del botón incremental como un entero, use "
"<code>get_value_as_int()</code>."
-#: C/spinbutton.py.page:48(item/p)
+#. (itstool) path: item/p
+#: C/spinbutton.py.page:48
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkSpinButton.html"
"\">GtkSpinButton</link>"
@@ -42101,16 +45392,19 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkSpinButton.html"
"\">GtkSpinButton</link>"
-#: C/spinbutton.vala.page:7(info/title)
+#. (itstool) path: info/title
+#: C/spinbutton.vala.page:7
msgctxt "text"
msgid "SpinButton (Vala)"
msgstr "SpinButton (Vala)"
-#: C/spinbutton.vala.page:19(info/desc)
+#. (itstool) path: info/desc
+#: C/spinbutton.vala.page:19
msgid "Retrieve an integer or floating point number."
msgstr "Obtener un número entero o en coma flotante."
-#: C/spinbutton.vala.page:26(page/code)
+#. (itstool) path: page/code
+#: C/spinbutton.vala.page:26
#, no-wrap
msgid ""
"/* This is the application. */\n"
@@ -42185,7 +45479,8 @@ msgstr ""
"\treturn new MyApplication ().run (args);\n"
"}\n"
-#: C/spinbutton.vala.page:31(item/p)
+#. (itstool) path: item/p
+#: C/spinbutton.vala.page:31
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.SpinButton.html\">Gtk."
"SpinButton</link>"
@@ -42193,55 +45488,46 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.SpinButton.html\">Gtk."
"SpinButton</link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/spinner.c.page:23(media) C/spinner.js.page:21(media)
-#: C/spinner.py.page:22(media) C/spinner.vala.page:21(media)
+#: C/spinner.c.page:23 C/spinner.js.page:21 C/spinner.py.page:22
+#: C/spinner.vala.page:21
msgctxt "_"
msgid "external ref='media/spinner.png' md5='d04f2d81f1d72c6c2f97e8729947dfed'"
msgstr ""
"external ref='media/spinner.png' md5='d04f2d81f1d72c6c2f97e8729947dfed'"
-#: C/spinner.c.page:7(info/title)
+#. (itstool) path: info/title
+#: C/spinner.c.page:7
msgctxt "text"
msgid "Spinner (C)"
msgstr "Spinner (C)"
-#: C/spinner.c.page:18(info/desc) C/spinner.js.page:17(info/desc)
-#: C/spinner.py.page:18(info/desc) C/spinner.vala.page:17(info/desc)
+#. (itstool) path: info/desc
+#: C/spinner.c.page:18 C/spinner.js.page:17 C/spinner.py.page:18
+#: C/spinner.vala.page:17
msgid "A spinner animation"
msgstr "Una animación giratoria"
-#: C/spinner.c.page:21(page/title) C/spinner.js.page:20(page/title)
-#: C/spinner.py.page:21(page/title) C/spinner.vala.page:20(page/title)
+#. (itstool) path: page/title
+#: C/spinner.c.page:21 C/spinner.js.page:20 C/spinner.py.page:21
+#: C/spinner.vala.page:20
msgid "Spinner"
msgstr "Spinner"
-#: C/spinner.c.page:24(page/p) C/spinner.js.page:22(page/p)
-#: C/spinner.py.page:23(page/p) C/spinner.vala.page:22(page/p)
+#. (itstool) path: page/p
+#: C/spinner.c.page:24 C/spinner.js.page:22 C/spinner.py.page:23
+#: C/spinner.vala.page:22
msgid "This Spinner is stopped and started by pressing the spacebar."
msgstr ""
"Este indicador de progreso está detenido y se inicia al pulsar la barra "
"espaciadora."
-#: C/spinner.c.page:26(page/code)
+#. (itstool) path: page/code
+#: C/spinner.c.page:26
#, no-wrap
msgid ""
"\n"
@@ -42424,7 +45710,8 @@ msgstr ""
" return status;\n"
"}\n"
-#: C/spinner.c.page:34(item/p)
+#. (itstool) path: item/p
+#: C/spinner.c.page:34
msgid ""
"<link href=\"http://developer.gnome.org/gobject/stable/gobject-The-Base-"
"Object-Type.html#g-object-get\">GObject</link>"
@@ -42432,7 +45719,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gobject/stable/gobject-The-Base-"
"Object-Type.html#g-object-get\">GObject</link>"
-#: C/spinner.c.page:35(item/p) C/togglebutton.c.page:37(item/p)
+#. (itstool) path: item/p
+#: C/spinner.c.page:35 C/togglebutton.c.page:37
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkSpinner.html"
"\">GtkSpinner</link>"
@@ -42440,12 +45728,14 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkSpinner.html"
"\">GtkSpinner</link>"
-#: C/spinner.js.page:7(info/title)
+#. (itstool) path: info/title
+#: C/spinner.js.page:7
msgctxt "text"
msgid "Spinner (JavaScript)"
msgstr "Spinner (JavaScript)"
-#: C/spinner.js.page:24(page/code)
+#. (itstool) path: page/code
+#: C/spinner.js.page:24
#, no-wrap
msgid ""
"#!/usr/bin/gjs\n"
@@ -42610,7 +45900,8 @@ msgstr ""
"let app = new SpinnerExample ();\n"
"app.application.run (ARGV);\n"
-#: C/spinner.js.page:29(item/p)
+#. (itstool) path: item/p
+#: C/spinner.js.page:29
msgid ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gdk.html\">Gdk - "
"Key Values</link>"
@@ -42618,7 +45909,8 @@ msgstr ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gdk.html\">Gdk: "
"valores de teclas</link>"
-#: C/spinner.js.page:32(item/p) C/togglebutton.js.page:157(item/p)
+#. (itstool) path: item/p
+#: C/spinner.js.page:32 C/togglebutton.js.page:157
msgid ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.Spinner.html"
"\">Gtk.Spinner</link>"
@@ -42626,20 +45918,75 @@ msgstr ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.Spinner.html"
"\">Gtk.Spinner</link>"
-#: C/spinner.py.page:7(info/title)
+#. (itstool) path: info/title
+#: C/spinner.py.page:7
msgctxt "text"
msgid "Spinner (Python)"
msgstr "Spinner (Python)"
-#: C/spinner.py.page:30(section/code)
+#. (itstool) path: section/code
+#: C/spinner.py.page:30
#, no-wrap
+#| msgid ""
+#| "from gi.repository import Gtk\n"
+#| "from gi.repository import Gdk\n"
+#| "import sys\n"
+#| "\n"
+#| "class MyWindow(Gtk.ApplicationWindow):\n"
+#| " # a window\n"
+#| " def __init__(self, app):\n"
+#| " Gtk.Window.__init__(self, title=\"Spinner Example\", application=app)\n"
+#| " self.set_default_size(200, 200)\n"
+#| " self.set_border_width(30)\n"
+#| "\n"
+#| " # a spinner\n"
+#| " self.spinner = Gtk.Spinner()\n"
+#| " # that by default spins\n"
+#| " self.spinner.start()\n"
+#| " # add the spinner to the window\n"
+#| " self.add(self.spinner)\n"
+#| "\n"
+#| " # event handler\n"
+#| " # a signal from the keyboard (space) controls if the spinner stops/starts\n"
+#| " def do_key_press_event(self, event):\n"
+#| " # keyname is the symbolic name of the key value given by the event\n"
+#| " keyname = Gdk.keyval_name(event.keyval)\n"
+#| " # if it is \"space\"\n"
+#| " if keyname == \"space\":\n"
+#| " # and the spinner is active\n"
+#| " if self.spinner.get_property(\"active\"):\n"
+#| " # stop the spinner\n"
+#| " self.spinner.stop()\n"
+#| " # if the spinner is not active\n"
+#| " else:\n"
+#| " # start it again\n"
+#| " self.spinner.start()\n"
+#| " # stop the signal emission\n"
+#| " return True\n"
+#| "\n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " def __init__(self):\n"
+#| " Gtk.Application.__init__(self)\n"
+#| "\n"
+#| " def do_activate(self):\n"
+#| " win = MyWindow(self)\n"
+#| " win.show_all()\n"
+#| "\n"
+#| " def do_startup(self):\n"
+#| " Gtk.Application.do_startup(self)\n"
+#| "\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"from gi.repository import Gtk\n"
"from gi.repository import Gdk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
" # a window\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"Spinner Example\", application=app)\n"
" self.set_default_size(200, 200)\n"
@@ -42670,7 +46017,9 @@ msgid ""
" # stop the signal emission\n"
" return True\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -42689,8 +46038,10 @@ msgstr ""
"from gi.repository import Gdk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
" # a window\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"Spinner Example\", application=app)\n"
" self.set_default_size(200, 200)\n"
@@ -42721,7 +46072,9 @@ msgstr ""
" # stop the signal emission\n"
" return True\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -42736,7 +46089,8 @@ msgstr ""
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/spinner.py.page:32(note/p)
+#. (itstool) path: note/p
+#: C/spinner.py.page:32
msgid ""
"<code>Gdk.keyval_name(event.keyval)</code> converts the key value "
"<code>event.keyval</code> into a symbolic name. The names and corresponding "
@@ -42751,7 +46105,8 @@ msgstr ""
"<code>GDK_KEY_BackSpace</code> se convierte en la cadena <code>\"BackSpace"
"\"</code>."
-#: C/spinner.py.page:41(item/p) C/togglebutton.py.page:45(item/p)
+#. (itstool) path: item/p
+#: C/spinner.py.page:41 C/togglebutton.py.page:45
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkSpinner.html"
"\">GtkSpinner</link>"
@@ -42759,7 +46114,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkSpinner.html"
"\">GtkSpinner</link>"
-#: C/spinner.py.page:42(item/p)
+#. (itstool) path: item/p
+#: C/spinner.py.page:42
msgid ""
"<link href=\"http://developer.gnome.org/gdk/stable/gdk-Keyboard-Handling.html"
"\">Key Values</link>"
@@ -42767,12 +46123,14 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gdk/stable/gdk-Keyboard-Handling.html"
"\">Valores de teclas</link>"
-#: C/spinner.vala.page:7(info/title)
+#. (itstool) path: info/title
+#: C/spinner.vala.page:7
msgctxt "text"
msgid "Spinner (Vala)"
msgstr "Spinner (Vala)"
-#: C/spinner.vala.page:24(page/code)
+#. (itstool) path: page/code
+#: C/spinner.vala.page:24
#, no-wrap
msgid ""
"public class MyWindow : Gtk.ApplicationWindow {\n"
@@ -42879,7 +46237,8 @@ msgstr ""
"\treturn new MyApplication ().run (args);\n"
"}\n"
-#: C/spinner.vala.page:29(item/p)
+#. (itstool) path: item/p
+#: C/spinner.vala.page:29
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Widget.html\">Gtk.Widget</"
"link>"
@@ -42887,7 +46246,8 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Widget.html\">Gtk.Widget</"
"link>"
-#: C/spinner.vala.page:30(item/p)
+#. (itstool) path: item/p
+#: C/spinner.vala.page:30
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Spinner.html\">Gtk.Spinner</"
"link>"
@@ -42895,7 +46255,8 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Spinner.html\">Gtk.Spinner</"
"link>"
-#: C/spinner.vala.page:31(item/p)
+#. (itstool) path: item/p
+#: C/spinner.vala.page:31
msgid ""
"<link href=\"http://www.valadoc.org/gdk-3.0/Gdk.keyval_name.html\">Gdk."
"keyval_name</link>"
@@ -42903,33 +46264,37 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gdk-3.0/Gdk.keyval_name.html\">Gdk."
"keyval_name</link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#: C/statusbar.c.page:26(media)
+#: C/statusbar.c.page:26
msgctxt "_"
msgid ""
"external ref='media/statusbar3.png' md5='60c71604fb44656237ee66dfb39a8689'"
msgstr ""
"external ref='media/statusbar3.png' md5='60c71604fb44656237ee66dfb39a8689'"
-#: C/statusbar.c.page:7(info/title)
+#. (itstool) path: info/title
+#: C/statusbar.c.page:7
msgctxt "text"
msgid "Statusbar (C)"
msgstr "Statusbar (C)"
-#: C/statusbar.c.page:21(info/desc) C/statusbar.py.page:19(info/desc)
-#: C/statusbar.vala.page:20(info/desc)
+#. (itstool) path: info/desc
+#: C/statusbar.c.page:21 C/statusbar.py.page:19 C/statusbar.vala.page:20
msgid "Report messages of minor importance to the user"
msgstr "Enviar mensajes de menor importancia al usuario"
-#: C/statusbar.c.page:24(page/title) C/statusbar.js.page:20(page/title)
-#: C/statusbar.py.page:22(page/title) C/statusbar.vala.page:23(page/title)
+#. (itstool) path: page/title
+#: C/statusbar.c.page:24 C/statusbar.js.page:20 C/statusbar.py.page:22
+#: C/statusbar.vala.page:23
msgid "Statusbar"
msgstr "Statusbar"
-#: C/statusbar.c.page:27(page/p)
+#. (itstool) path: page/p
+#: C/statusbar.c.page:27
msgid ""
"This statusbar is used to demonstrate how messages are stacked in a last-in-"
"first-out order. The message at the top of the stack is always the one "
@@ -42939,7 +46304,8 @@ msgstr ""
"orden «último dentro, primero fuera». Siempre se muestra el mensaje en la "
"parte superior de la pila."
-#: C/statusbar.c.page:29(page/code)
+#. (itstool) path: page/code
+#: C/statusbar.c.page:29
#, no-wrap
msgid ""
"\n"
@@ -43148,7 +46514,8 @@ msgstr ""
" return status;\n"
"}\n"
-#: C/statusbar.c.page:37(item/p)
+#. (itstool) path: item/p
+#: C/statusbar.c.page:37
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkStatusbar.html"
"\">GtkStatusBar</link>"
@@ -43156,7 +46523,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkStatusbar.html"
"\">GtkStatusBar</link>"
-#: C/statusbar.c.page:38(item/p)
+#. (itstool) path: item/p
+#: C/statusbar.c.page:38
msgid ""
"<link href=\"http://developer.gnome.org/glib/stable/glib-String-Utility-"
"Functions.html#g-snprintf\">String Utility Functions</link>"
@@ -43164,27 +46532,31 @@ msgstr ""
"<link href=\"http://developer.gnome.org/glib/stable/glib-String-Utility-"
"Functions.html#g-snprintf\">Funciones de cadenas útiles</link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#: C/statusbar.js.page:21(media)
+#: C/statusbar.js.page:21
msgctxt "_"
msgid ""
"external ref='media/statusbar2.png' md5='ff6f7e5b270827ca98b2d5f7087aa766'"
msgstr ""
"external ref='media/statusbar2.png' md5='ff6f7e5b270827ca98b2d5f7087aa766'"
-#: C/statusbar.js.page:7(info/title)
+#. (itstool) path: info/title
+#: C/statusbar.js.page:7
msgctxt "text"
msgid "Statusbar (JavaScript)"
msgstr "Statusbar (JavaScript)"
-#: C/statusbar.js.page:17(info/desc)
+#. (itstool) path: info/desc
+#: C/statusbar.js.page:17
msgid "Show notifications in a dedicated statusbar"
msgstr "Mostrar notificaciones en una barra de estado dedicada"
-#: C/statusbar.js.page:22(page/p)
+#. (itstool) path: page/p
+#: C/statusbar.js.page:22
msgid ""
"This statusbar keeps track of how many times you've clicked a button. "
"Applications like <link href=\"http://projects.gnome.org/gedit/\">gedit</"
@@ -43196,7 +46568,8 @@ msgstr ""
"link> usan barras de estado para mostrar información a simple vista, y "
"mostrar notificaciones sin interrumpir al usuario."
-#: C/statusbar.js.page:23(page/p)
+#. (itstool) path: page/p
+#: C/statusbar.js.page:23
msgid ""
"Messages pushed to a statusbar go on top of its stack, and can be popped off "
"to show the next-most recent one. You can also clear away every message of a "
@@ -43208,7 +46581,8 @@ msgstr ""
"También puede limpiar todos los mensajes de un tipo específico de una vez. "
"Esta aplicación de ejemplo demuestra estas funciones."
-#: C/statusbar.js.page:40(section/code)
+#. (itstool) path: section/code
+#: C/statusbar.js.page:40
#, no-wrap
msgid ""
"\n"
@@ -43263,7 +46637,8 @@ msgstr ""
" this._buildUI ();\n"
" },\n"
-#: C/statusbar.js.page:66(section/p)
+#. (itstool) path: section/p
+#: C/statusbar.js.page:66
msgid ""
"All the code for this sample goes in the StatusbarExample class. The above "
"code creates a <link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/"
@@ -43275,7 +46650,8 @@ msgstr ""
"Gtk.Application.html\">Gtk.Application</link> para que vayan los widgets y "
"la ventana."
-#: C/statusbar.js.page:67(section/code)
+#. (itstool) path: section/code
+#: C/statusbar.js.page:67
#, no-wrap
msgid ""
"\n"
@@ -43310,7 +46686,8 @@ msgstr ""
" this._panes = new Gtk.Paned ({\n"
" orientation: Gtk.Orientation.VERTICAL });\n"
-#: C/statusbar.js.page:83(section/p)
+#. (itstool) path: section/p
+#: C/statusbar.js.page:83
msgid ""
"The _buildUI function is where we put all the code to create the "
"application's user interface. The first step is creating a new <link href="
@@ -43329,11 +46706,13 @@ msgstr ""
"aplicaciones, y permanece en la parte inferior de la ventana, incluso si el "
"usuario la redimensiona."
-#: C/statusbar.js.page:87(section/title)
+#. (itstool) path: section/title
+#: C/statusbar.js.page:87
msgid "Creating the buttons"
msgstr "Crear los botones"
-#: C/statusbar.js.page:88(section/code)
+#. (itstool) path: section/code
+#: C/statusbar.js.page:88
#, no-wrap
msgid ""
"\n"
@@ -43372,7 +46751,8 @@ msgstr ""
" use_stock: true });\n"
" this._clearButton.connect (\"clicked\", Lang.bind (this, this._clear));\n"
-#: C/statusbar.js.page:106(section/p)
+#. (itstool) path: section/p
+#: C/statusbar.js.page:106
msgid ""
"This code creates the three <link href=\"button.js.page\">Gtk.Buttons</link> "
"we'll use to push a new message to the statusbar, pop the last one off, and "
@@ -43388,7 +46768,8 @@ msgstr ""
"Items.html\">botones del almacén</link>, que se traducen automáticamente a "
"cualquier idioma que GNOME soporte."
-#: C/statusbar.js.page:108(section/code)
+#. (itstool) path: section/code
+#: C/statusbar.js.page:108
#, no-wrap
msgid ""
"\n"
@@ -43423,7 +46804,8 @@ msgstr ""
" width_request: 300});\n"
" this._topFrame.add (this._grid);\n"
-#: C/statusbar.js.page:124(section/p)
+#. (itstool) path: section/p
+#: C/statusbar.js.page:124
msgid ""
"This code creates the <link href=\"grid.js.page\">Gtk.Grid</link> that we'll "
"use to organize the buttons, and attaches the buttons to it in order. It "
@@ -43440,11 +46822,13 @@ msgstr ""
"cuadro en la interfaz con paneles, y después añadirlo a la "
"«ApplicationWindow»."
-#: C/statusbar.js.page:128(section/title)
+#. (itstool) path: section/title
+#: C/statusbar.js.page:128
msgid "Creating the statusbar"
msgstr "Crear la barra de estado"
-#: C/statusbar.js.page:129(section/code)
+#. (itstool) path: section/code
+#: C/statusbar.js.page:129
#, no-wrap
msgid ""
"\n"
@@ -43479,7 +46863,8 @@ msgstr ""
" height_request: 30 });\n"
" this._barFrame.add (this._statusbar);\n"
-#: C/statusbar.js.page:145(section/p)
+#. (itstool) path: section/p
+#: C/statusbar.js.page:145
msgid ""
"Here we create the Gtk.Statusbar, and push a message to it to start off "
"with. Then we give it its own narrow frame at the bottom of the window."
@@ -43488,7 +46873,8 @@ msgstr ""
"Después se le da su propio cuadro estrecho en la parte inferior de la "
"ventana."
-#: C/statusbar.js.page:146(section/p)
+#. (itstool) path: section/p
+#: C/statusbar.js.page:146
msgid ""
"Every message needs to have a context id, which is an integer value you can "
"get from the statusbar with the get_context_id() function. Its only "
@@ -43507,7 +46893,8 @@ msgstr ""
"embargo, este es un ejemplo simple con sólo un tipo de mensaje, por lo que "
"sólo se usa uno para todo."
-#: C/statusbar.js.page:147(section/p)
+#. (itstool) path: section/p
+#: C/statusbar.js.page:147
msgid ""
"We use the push() function to push a new message onto the stack. Its first "
"parameter is the context id, and its second is the message."
@@ -43515,7 +46902,8 @@ msgstr ""
"Se usa la función «push()» para empujar un mensaje nuevo a la pila. Su "
"primer parámetro es el ID de contexto, y el segundo es el mensaje."
-#: C/statusbar.js.page:148(section/code)
+#. (itstool) path: section/code
+#: C/statusbar.js.page:148
#, no-wrap
msgid ""
"\n"
@@ -43542,7 +46930,8 @@ msgstr ""
" this._window.show_all();\n"
" },\n"
-#: C/statusbar.js.page:160(section/p)
+#. (itstool) path: section/p
+#: C/statusbar.js.page:160
msgid ""
"This code finishes up creating the window, by packing the frames into the "
"pane, adding it to the window, and telling the window to show all child "
@@ -43552,11 +46941,13 @@ msgstr ""
"panel, añadiéndolo a la ventana, y diciéndole a la ventana que muestre todos "
"los widgets hijos."
-#: C/statusbar.js.page:164(section/title)
+#. (itstool) path: section/title
+#: C/statusbar.js.page:164
msgid "Functions for interacting with the statusbar"
msgstr "Funciones para interactuar con la barra de estado"
-#: C/statusbar.js.page:165(section/code)
+#. (itstool) path: section/code
+#: C/statusbar.js.page:165
#, no-wrap
msgid ""
"\n"
@@ -43639,7 +47030,8 @@ msgstr ""
"\n"
"});\n"
-#: C/statusbar.js.page:205(section/p)
+#. (itstool) path: section/p
+#: C/statusbar.js.page:205
msgid ""
"Here we have functions which demonstrate pushing a message onto the stack, "
"popping the top one off of it, and clearing all messages of a particular "
@@ -43655,7 +47047,8 @@ msgstr ""
"La función «remove_all()» funciona de la misma manera, excepto que elimina "
"todos los mensajes de ese tipo de la pila."
-#: C/statusbar.js.page:206(section/code)
+#. (itstool) path: section/code
+#: C/statusbar.js.page:206
#, no-wrap
msgid ""
"\n"
@@ -43668,7 +47061,8 @@ msgstr ""
"let app = new StatusbarExample ();\n"
"app.application.run (ARGV);\n"
-#: C/statusbar.js.page:211(section/p)
+#. (itstool) path: section/p
+#: C/statusbar.js.page:211
msgid ""
"Finally, we create a new instance of the finished StatusbarExample class, "
"and set the application running."
@@ -43676,7 +47070,8 @@ msgstr ""
"Finalmente, se crea una instancia nueva de la clase «StatusbarExample» "
"terminada, y se ejecuta la aplicación."
-#: C/statusbar.js.page:216(section/code)
+#. (itstool) path: section/code
+#: C/statusbar.js.page:216
#, no-wrap
msgid ""
"#!/usr/bin/gjs\n"
@@ -43981,7 +47376,8 @@ msgstr ""
"let app = new StatusbarExample ();\n"
"app.application.run (ARGV);\n"
-#: C/statusbar.js.page:225(item/p)
+#. (itstool) path: item/p
+#: C/statusbar.js.page:225
msgid ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.Frame.html"
"\">Gtk.Frame</link>"
@@ -43989,7 +47385,8 @@ msgstr ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.Frame.html"
"\">Gtk.Frame</link>"
-#: C/statusbar.js.page:226(item/p)
+#. (itstool) path: item/p
+#: C/statusbar.js.page:226
msgid ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.Paned.html"
"\">Gtk.Paned</link>"
@@ -43997,7 +47394,8 @@ msgstr ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.Paned.html"
"\">Gtk.Paned</link>"
-#: C/statusbar.js.page:227(item/p)
+#. (itstool) path: item/p
+#: C/statusbar.js.page:227
msgid ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.Statusbar.html"
"\">Gtk.Statusbar</link>"
@@ -44005,28 +47403,26 @@ msgstr ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.Statusbar.html"
"\">Gtk.Statusbar</link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/statusbar.py.page:23(media) C/statusbar.vala.page:24(media)
+#: C/statusbar.py.page:23 C/statusbar.vala.page:24
msgctxt "_"
msgid ""
"external ref='media/statusbar.png' md5='eb1aca55315d6cda57b12a5f36058ba8'"
msgstr ""
"external ref='media/statusbar.png' md5='eb1aca55315d6cda57b12a5f36058ba8'"
-#: C/statusbar.py.page:7(info/title)
+#. (itstool) path: info/title
+#: C/statusbar.py.page:7
msgctxt "text"
msgid "Statusbar (Python)"
msgstr "Statusbar (Python)"
-#: C/statusbar.py.page:24(page/p)
+#. (itstool) path: page/p
+#: C/statusbar.py.page:24
msgid ""
"This statusbar tells you if you click the button or if you press any key "
"(and which key)."
@@ -44034,15 +47430,87 @@ msgstr ""
"Esta barra de estado indica si ha pulsado el botón o si ha pulsado una tecla "
"(y qué tecla ha pulsado)."
-#: C/statusbar.py.page:31(section/code)
+#. (itstool) path: section/code
+#: C/statusbar.py.page:31
#, no-wrap
+#| msgid ""
+#| "from gi.repository import Gtk\n"
+#| "from gi.repository import Gdk\n"
+#| "import sys\n"
+#| "\n"
+#| "class MyWindow(Gtk.ApplicationWindow):\n"
+#| " # a window\n"
+#| " def __init__(self, app):\n"
+#| " Gtk.Window.__init__(self, title=\"StatusBar Example\", application=app)\n"
+#| " self.set_default_size(200, 100)\n"
+#| "\n"
+#| " # a label\n"
+#| " label = Gtk.Label(label=\"Press any key or \")\n"
+#| "\n"
+#| " # a button\n"
+#| " button = Gtk.Button(label=\"click me.\")\n"
+#| " # connected to a callback\n"
+#| " button.connect(\"clicked\", self.button_clicked_cb)\n"
+#| "\n"
+#| " # the statusbar\n"
+#| " self.statusbar = Gtk.Statusbar()\n"
+#| " # its context_id - not shown in the UI but needed to uniquely identify\n"
+#| " # the source of a message\n"
+#| " self.context_id = self.statusbar.get_context_id(\"example\")\n"
+#| " # we push a message onto the statusbar's stack\n"
+#| " self.statusbar.push(self.context_id, \"Waiting for you to do something...\")\n"
+#| "\n"
+#| " # a grid to attach the widgets\n"
+#| " grid = Gtk.Grid()\n"
+#| " grid.set_column_spacing(5)\n"
+#| " grid.set_column_homogeneous(True)\n"
+#| " grid.set_row_homogeneous(True)\n"
+#| " grid.attach(label, 0, 0, 1, 1)\n"
+#| " grid.attach_next_to(button, label, Gtk.PositionType.RIGHT, 1, 1)\n"
+#| " grid.attach(self.statusbar, 0, 1, 2, 1)\n"
+#| "\n"
+#| " # add the grid to the window\n"
+#| " self.add(grid)\n"
+#| "\n"
+#| " # callback function for the button clicked\n"
+#| " # if the button is clicked the event is signaled to the statusbar\n"
+#| " # onto which we push a new status\n"
+#| " def button_clicked_cb(self, button):\n"
+#| " self.statusbar.push(self.context_id, \"You clicked the button.\")\n"
+#| "\n"
+#| " # event handler\n"
+#| " def do_key_press_event(self, event):\n"
+#| " # any signal from the keyboard is signaled to the statusbar\n"
+#| " # onto which we push a new status with the symbolic name\n"
+#| " # of the key pressed\n"
+#| " self.statusbar.push(self.context_id, Gdk.keyval_name(event.keyval) +\n"
+#| " \" key was pressed.\")\n"
+#| " # stop the signal emission\n"
+#| " return True\n"
+#| "\n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " def __init__(self):\n"
+#| " Gtk.Application.__init__(self)\n"
+#| "\n"
+#| " def do_activate(self):\n"
+#| " win = MyWindow(self)\n"
+#| " win.show_all()\n"
+#| "\n"
+#| " def do_startup(self):\n"
+#| " Gtk.Application.do_startup(self)\n"
+#| "\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"from gi.repository import Gtk\n"
"from gi.repository import Gdk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
" # a window\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"StatusBar Example\", application=app)\n"
" self.set_default_size(200, 100)\n"
@@ -44061,7 +47529,8 @@ msgid ""
" # the source of a message\n"
" self.context_id = self.statusbar.get_context_id(\"example\")\n"
" # we push a message onto the statusbar's stack\n"
-" self.statusbar.push(self.context_id, \"Waiting for you to do something...\")\n"
+" self.statusbar.push(\n"
+" self.context_id, \"Waiting for you to do something...\")\n"
"\n"
" # a grid to attach the widgets\n"
" grid = Gtk.Grid()\n"
@@ -44087,11 +47556,13 @@ msgid ""
" # onto which we push a new status with the symbolic name\n"
" # of the key pressed\n"
" self.statusbar.push(self.context_id, Gdk.keyval_name(event.keyval) +\n"
-" \" key was pressed.\")\n"
+" \" key was pressed.\")\n"
" # stop the signal emission\n"
" return True\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -44110,8 +47581,10 @@ msgstr ""
"from gi.repository import Gdk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
" # a window\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"StatusBar Example\", application=app)\n"
" self.set_default_size(200, 100)\n"
@@ -44130,7 +47603,8 @@ msgstr ""
" # the source of a message\n"
" self.context_id = self.statusbar.get_context_id(\"example\")\n"
" # we push a message onto the statusbar's stack\n"
-" self.statusbar.push(self.context_id, \"Waiting for you to do something...\")\n"
+" self.statusbar.push(\n"
+" self.context_id, \"Waiting for you to do something...\")\n"
"\n"
" # a grid to attach the widgets\n"
" grid = Gtk.Grid()\n"
@@ -44156,11 +47630,13 @@ msgstr ""
" # onto which we push a new status with the symbolic name\n"
" # of the key pressed\n"
" self.statusbar.push(self.context_id, Gdk.keyval_name(event.keyval) +\n"
-" \" key was pressed.\")\n"
+" \" key was pressed.\")\n"
" # stop the signal emission\n"
" return True\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -44175,7 +47651,8 @@ msgstr ""
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/statusbar.py.page:33(note/p)
+#. (itstool) path: note/p
+#: C/statusbar.py.page:33
msgid ""
"<code>Gdk.keyval_name(event.keyval)</code> converts the key value "
"<code>event.keyval</code> into a symbolic name. The names and corresponding "
@@ -44190,11 +47667,13 @@ msgstr ""
"<code>GDK_KEY_BackSpace</code> se convierte en la cadena <code>\"BackSpace"
"\"</code>."
-#: C/statusbar.py.page:39(section/title)
+#. (itstool) path: section/title
+#: C/statusbar.py.page:39
msgid "Useful methods for a Statusbar widget"
msgstr "Métodos útiles para un widget «Statusbar»"
-#: C/statusbar.py.page:40(section/p)
+#. (itstool) path: section/p
+#: C/statusbar.py.page:40
msgid ""
"In line 17 the signal <code>\"clicked\"</code> is connected to the callback "
"function <code>button_clicked_cb()</code> using <code><var>widget</var>."
@@ -44207,7 +47686,8 @@ msgstr ""
"llamada</var>)</code>. Consulte la <link xref=\"signals-callbacks.py\"/> "
"para una explicación más detallada."
-#: C/statusbar.py.page:42(item/p)
+#. (itstool) path: item/p
+#: C/statusbar.py.page:42
msgid ""
"<code>pop(context_id)</code> removes the first message in the statusbar "
"stack with the given <code>context_id</code>."
@@ -44215,7 +47695,8 @@ msgstr ""
"<code>pop(id_del_contexto)</code> elimina el primer mensaje en la pila de la "
"barra de estado con el <code>id_del_contexto</code> dado."
-#: C/statusbar.py.page:43(item/p)
+#. (itstool) path: item/p
+#: C/statusbar.py.page:43
msgid ""
"<code>remove_all(context_id)</code> removes all the messages in the "
"statusbar stack with the given <code>context_id</code>."
@@ -44223,7 +47704,8 @@ msgstr ""
"<code>remove_all(id_del_contexto)</code> elimina todos los mensajes en la "
"pila de la barra de estado con el <code>id_del_contexto</code> dado."
-#: C/statusbar.py.page:44(item/p)
+#. (itstool) path: item/p
+#: C/statusbar.py.page:44
msgid ""
"<code>remove(context_id, message_id)</code> removes the message with the "
"given <code>message_id</code> in the statusbar stack with the given "
@@ -44237,7 +47719,8 @@ msgstr ""
"\")</code> devuelve el <code>id_del_mensaje</code> cuando se muestra el "
"mensaje en la barra de estado."
-#: C/statusbar.py.page:52(item/p)
+#. (itstool) path: item/p
+#: C/statusbar.py.page:52
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkStatusbar.html"
"\">GtkStatusbar</link>"
@@ -44245,7 +47728,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkStatusbar.html"
"\">GtkStatusbar</link>"
-#: C/statusbar.py.page:53(item/p)
+#. (itstool) path: item/p
+#: C/statusbar.py.page:53
msgid ""
"<link href=\"http://developer.gnome.org/gdk/stable/gdk-Keyboard-Handling.html"
"\">Gdk - Key Values</link>"
@@ -44253,16 +47737,19 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gdk/stable/gdk-Keyboard-Handling.html"
"\">Gdk: valores de teclas</link>"
-#: C/statusbar.vala.page:7(info/title)
+#. (itstool) path: info/title
+#: C/statusbar.vala.page:7
msgctxt "text"
msgid "Statusbar (Vala)"
msgstr "Statusbar (Vala)"
-#: C/statusbar.vala.page:25(page/p)
+#. (itstool) path: page/p
+#: C/statusbar.vala.page:25
msgid "This statusbar tells you what's going on."
msgstr "Esta barra de estado le indica qué está pasando."
-#: C/statusbar.vala.page:27(page/code)
+#. (itstool) path: page/code
+#: C/statusbar.vala.page:27
#, no-wrap
msgid ""
"public class MyWindow : Gtk.ApplicationWindow {\n"
@@ -44391,7 +47878,8 @@ msgstr ""
"\treturn new MyApplication ().run (args);\n"
"}\n"
-#: C/statusbar.vala.page:32(item/p)
+#. (itstool) path: item/p
+#: C/statusbar.vala.page:32
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Statusbar.html\">Gtk."
"Statusbar</link>"
@@ -44399,29 +47887,35 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Statusbar.html\">Gtk."
"Statusbar</link>"
-#: C/strings.py.page:8(info/title)
+#. (itstool) path: info/title
+#: C/strings.py.page:8
msgctxt "text"
msgid "Strings (Python)"
msgstr "Cadenas (Python)"
-#: C/strings.py.page:13(info/desc)
+#. (itstool) path: info/desc
+#: C/strings.py.page:13
msgid "An explanation of how to deal with strings in Python and GTK+."
msgstr "Una explicación de cómo trabajar con cadenas en Python y GTK+."
-#: C/strings.py.page:26(page/title)
+#. (itstool) path: page/title
+#: C/strings.py.page:26
msgid "Strings"
msgstr "Cadenas"
-#: C/strings.py.page:30(note/p)
+#. (itstool) path: note/p
+#: C/strings.py.page:30
msgid "GNOME strongly encourages the use of Python 3 for writing applications!"
msgstr ""
"GNOME recomienda fuertemente el uso de Python 3 para escribir aplicaciones."
-#: C/strings.py.page:33(section/title)
+#. (itstool) path: section/title
+#: C/strings.py.page:33
msgid "Strings in Python 2"
msgstr "Cadenas en Python 2"
-#: C/strings.py.page:35(section/p)
+#. (itstool) path: section/p
+#: C/strings.py.page:35
msgid ""
"Python 2 comes with two different kinds of objects that can be used to "
"represent strings, <code>str</code> and <code>unicode</code>. Instances of "
@@ -44438,7 +47932,8 @@ msgstr ""
"Unicode como enteros de 16 ó 32 bits, dependiendo de cómo se compiló su "
"intérprete."
-#: C/strings.py.page:37(section/code)
+#. (itstool) path: section/code
+#: C/strings.py.page:37
#, no-wrap
msgid ""
"\n"
@@ -44451,7 +47946,8 @@ msgstr ""
">>> print unicode_string\n"
"Fußbälle\n"
-#: C/strings.py.page:43(section/p)
+#. (itstool) path: section/p
+#: C/strings.py.page:43
msgid ""
"Unicode strings can be converted to 8-bit strings with <code>unicode.encode()"
"</code>. Python’s 8-bit strings have a <code>str.decode()</code> method that "
@@ -44463,7 +47959,8 @@ msgstr ""
"método <code>str.decode()</code> que interpreta la cadena usando la "
"codificación dada (es decir, es la inversa de <code>unicode.encode()</code>):"
-#: C/strings.py.page:45(section/code)
+#. (itstool) path: section/code
+#: C/strings.py.page:45
#, no-wrap
msgid ""
"\n"
@@ -44488,7 +47985,8 @@ msgstr ""
">>> unicode_string == utf8_string.decode(\"utf-8\")\n"
"True"
-#: C/strings.py.page:56(section/p)
+#. (itstool) path: section/p
+#: C/strings.py.page:56
msgid ""
"Unfortunately, Python 2.x allows you to mix <code>unicode</code> and "
"<code>str</code> if the 8-bit string happened to contain only 7-bit (ASCII) "
@@ -44500,11 +47998,13 @@ msgstr ""
"(ASCII), pero obtendría <sys>UnicodeDecodeError</sys> si contuviera valores "
"no ASCII."
-#: C/strings.py.page:61(section/title)
+#. (itstool) path: section/title
+#: C/strings.py.page:61
msgid "Strings in Python 3"
msgstr "Cadenas en Python 3"
-#: C/strings.py.page:63(section/p)
+#. (itstool) path: section/p
+#: C/strings.py.page:63
msgid ""
"Since Python 3.0, all strings are stored as Unicode in an instance of the "
"<code>str</code> type. Encoded strings on the other hand are represented as "
@@ -44521,7 +48021,8 @@ msgstr ""
"code> a <code>bytes</code>, y <code>decode()</code> para ir de <code>bytes</"
"code> a <code>str</code>."
-#: C/strings.py.page:65(section/p)
+#. (itstool) path: section/p
+#: C/strings.py.page:65
msgid ""
"In addition, it is no longer possible to mix Unicode strings with encoded "
"strings, because it will result in a <code>TypeError</code>:"
@@ -44529,7 +48030,8 @@ msgstr ""
"Además, ya no es posible mezclar cadenas de Unicode con cadenas codificadas, "
"porque se producirá un <code>TypeError</code>:"
-#: C/strings.py.page:67(section/code)
+#. (itstool) path: section/code
+#: C/strings.py.page:67
#, no-wrap
msgid ""
"\n"
@@ -44556,11 +48058,13 @@ msgstr ""
">>> text.encode(\"utf-8\") + data\n"
"b'Fu\\xc3\\x9fb\\xc3\\xa4lle sind rund'"
-#: C/strings.py.page:82(section/title)
+#. (itstool) path: section/title
+#: C/strings.py.page:82
msgid "Unicode in GTK+"
msgstr "Unicode en GTK+"
-#: C/strings.py.page:84(section/p)
+#. (itstool) path: section/p
+#: C/strings.py.page:84
msgid ""
"GTK+ uses UTF-8 encoded strings for all text. This means that if you call a "
"method that returns a string you will always obtain an instance of the "
@@ -44576,7 +48080,8 @@ msgstr ""
"Sin embargo, por comodidad, PyGObject convertirá automáticamente cualquier "
"instancia de Unicode a «str» si se proporciona como argumento:"
-#: C/strings.py.page:86(section/code)
+#. (itstool) path: section/code
+#: C/strings.py.page:86
#, no-wrap
msgid ""
"\n"
@@ -44597,11 +48102,13 @@ msgstr ""
">>> type(txt)\n"
"<type 'str'>"
-#: C/strings.py.page:95(section/p)
+#. (itstool) path: section/p
+#: C/strings.py.page:95
msgid "Furthermore:"
msgstr "Además:"
-#: C/strings.py.page:97(section/code)
+#. (itstool) path: section/code
+#: C/strings.py.page:97
#, no-wrap
msgid ""
"\n"
@@ -44610,7 +48117,8 @@ msgstr ""
"\n"
">>> txt == unicode_string"
-#: C/strings.py.page:100(section/p)
+#. (itstool) path: section/p
+#: C/strings.py.page:100
msgid ""
"would return <code>False</code>, with the warning <code>__main__:1: "
"UnicodeWarning: Unicode equal comparison failed to convert both arguments to "
@@ -44624,7 +48132,8 @@ msgstr ""
"()</code> devolverá siempre una instancia de <code>str</code>; por lo tanto, "
"<code>txt</code> y <code>unicode_string</code> no son iguales)."
-#: C/strings.py.page:102(section/p)
+#. (itstool) path: section/p
+#: C/strings.py.page:102
msgid ""
"This is especially important if you want to internationalize your program "
"using <link href=\"http://docs.python.org/library/gettext.html"
@@ -44637,7 +48146,8 @@ msgstr ""
"code> devuelva cadenas de 8 bits codificadas con UTF-8 para todos los "
"idiomas."
-#: C/strings.py.page:104(section/p)
+#. (itstool) path: section/p
+#: C/strings.py.page:104
msgid ""
"In general it is recommended to not use <code>unicode</code> objects in GTK+ "
"applications at all, and only use UTF-8 encoded <code>str</code> objects "
@@ -44647,7 +48157,8 @@ msgstr ""
"aplicaciones de GTK+, y sólo usar objetos <code>str</code> codificados con "
"UTF-8 dado que GTK+ no integra completamente objetos <code>unicode</code>."
-#: C/strings.py.page:106(section/p)
+#. (itstool) path: section/p
+#: C/strings.py.page:106
msgid ""
"With Python 3.x things are much more consistent, because PyGObject will "
"automatically encode/decode to/from UTF-8 if you pass a string to a method "
@@ -44659,7 +48170,8 @@ msgstr ""
"a un método o un método devuelve una cadena. Las cadenas, o el texto, "
"siempre se representarán sólo como instancias de <code>str</code>."
-#: C/strings.py.page:113(section/p)
+#. (itstool) path: section/p
+#: C/strings.py.page:113
msgid ""
"<link href=\"http://python-gtk-3-tutorial.readthedocs.org/en/latest/unicode."
"html\">How To Deal With Strings - The Python GTK+ 3 Tutorial</link>"
@@ -44667,70 +48179,54 @@ msgstr ""
"<link href=\"http://python-gtk-3-tutorial.readthedocs.org/en/latest/unicode."
"html\">Cómo manejar cadenas: el tutorial de GTK+ 3 en Python</link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/switch.c.page:22(media) C/switch.py.page:22(media)
-#: C/switch.vala.page:25(media)
+#: C/switch.c.page:22 C/switch.py.page:22 C/switch.vala.page:25
msgctxt "_"
msgid ""
"external ref='media/switch_off.png' md5='211a2962708800697ad5373dcc86ad6d'"
msgstr ""
"external ref='media/switch_off.png' md5='211a2962708800697ad5373dcc86ad6d'"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/switch.c.page:23(media) C/switch.py.page:23(media)
-#: C/switch.vala.page:26(media)
+#: C/switch.c.page:23 C/switch.py.page:23 C/switch.vala.page:26
msgctxt "_"
msgid ""
"external ref='media/switch_on.png' md5='95e8769f758c2d95ace0fa8ecf30b29d'"
msgstr ""
"external ref='media/switch_on.png' md5='95e8769f758c2d95ace0fa8ecf30b29d'"
-#: C/switch.c.page:7(info/title)
+#. (itstool) path: info/title
+#: C/switch.c.page:7
msgctxt "text"
msgid "Switch (C)"
msgstr "Interruptor (C)"
-#: C/switch.c.page:17(info/desc) C/switch.py.page:18(info/desc)
-#: C/switch.vala.page:21(info/desc)
+#. (itstool) path: info/desc
+#: C/switch.c.page:17 C/switch.py.page:18 C/switch.vala.page:21
msgid "A \"light switch\" style toggle"
msgstr "Un interruptor estilo «ligero»"
-#: C/switch.c.page:20(page/title) C/switch.js.page:20(page/title)
-#: C/switch.py.page:21(page/title) C/switch.vala.page:24(page/title)
+#. (itstool) path: page/title
+#: C/switch.c.page:20 C/switch.js.page:20 C/switch.py.page:21
+#: C/switch.vala.page:24
msgid "Switch"
msgstr "Interruptor"
-#: C/switch.c.page:24(page/p)
+#. (itstool) path: page/p
+#: C/switch.c.page:24
msgid "This switch toggles the title of the window."
msgstr "Este interruptor cambia el título de la ventana."
-#: C/switch.c.page:26(page/code)
+#. (itstool) path: page/code
+#: C/switch.c.page:26
#, no-wrap
msgid ""
"\n"
@@ -44891,27 +48387,31 @@ msgstr ""
" return status;\n"
"}\n"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#: C/switch.js.page:21(media)
+#: C/switch.js.page:21
msgctxt "_"
msgid ""
"external ref='media/switchanimals.png' md5='513ae15dcf68e15eef30b76420b8c714'"
msgstr ""
"external ref='media/switchanimals.png' md5='513ae15dcf68e15eef30b76420b8c714'"
-#: C/switch.js.page:7(info/title)
+#. (itstool) path: info/title
+#: C/switch.js.page:7
msgctxt "text"
msgid "Switch (JavaScript)"
msgstr "Interruptor (JavaScript)"
-#: C/switch.js.page:17(info/desc)
+#. (itstool) path: info/desc
+#: C/switch.js.page:17
msgid "A sliding switch that can be flipped on and off"
msgstr "Un interruptor deslizante que se puede activar y desactivar"
-#: C/switch.js.page:22(page/p)
+#. (itstool) path: page/p
+#: C/switch.js.page:22
msgid ""
"A Switch has two positions, on and off. This example shows how you can use "
"multiple switches together to control which <link xref=\"image.js\">Image</"
@@ -44926,7 +48426,8 @@ msgstr ""
"action=AttachFile&do=get&target=Animal+Photos.zip\">se pueden "
"descargar aquí</link>."
-#: C/switch.js.page:23(note/p)
+#. (itstool) path: note/p
+#: C/switch.js.page:23
msgid ""
"The window will contain a \"broken image\" icon instead of a picture if "
"picture files named <file>redfox.png</file>, <file>muteswan.png</file>, "
@@ -44942,7 +48443,8 @@ msgstr ""
"fotos con licencia Creative Commons usadas en este ejemplo se tomaron desde "
"las siguientes fuentes y se redujeron a 640x425:"
-#: C/switch.js.page:25(item/p)
+#. (itstool) path: item/p
+#: C/switch.js.page:25
msgid ""
"<link href=\"http://en.wikipedia.org/wiki/File:Fuzzy_Freddy.jpg\">Red fox "
"photo</link> by Rob Lee, licensed <link href=\"http://creativecommons.org/"
@@ -44952,7 +48454,8 @@ msgstr ""
"zorro rojo</link> por Rob Lee, con licencia <link href=\"http://"
"creativecommons.org/licenses/by/2.0/deed.en\">CC-By</link>"
-#: C/switch.js.page:26(item/p)
+#. (itstool) path: item/p
+#: C/switch.js.page:26
msgid ""
"<link href=\"http://en.wikipedia.org/wiki/File:Pygoscelis_papua_-"
"Nagasaki_Penguin_Aquarium_-swimming_underwater-8a.jpg\">Gentoo penguin "
@@ -44964,7 +48467,8 @@ msgstr ""
"papúa</link> por Ken Funakoshi, con licencia <link href=\"http://"
"creativecommons.org/licenses/by-sa/2.0/deed.en\">CC-By-SA</link>"
-#: C/switch.js.page:27(item/p)
+#. (itstool) path: item/p
+#: C/switch.js.page:27
msgid ""
"<link href=\"http://www.flickr.com/photos/shekgraham/127431519/in/"
"photostream/\">Fruit bat photo</link> by Shek Graham, licensed <link href="
@@ -44975,7 +48479,8 @@ msgstr ""
"licencia <link href=\"http://creativecommons.org/licenses/by/2.0/deed.en"
"\">CC-By</link>"
-#: C/switch.js.page:28(item/p)
+#. (itstool) path: item/p
+#: C/switch.js.page:28
msgid ""
"<link href=\"http://commons.wikimedia.org/wiki/File:Mute_Swan-"
"Mindaugas_Urbonas.jpg\">Mute swan photo</link> by Mindaugas Urbonas, "
@@ -44987,7 +48492,8 @@ msgstr ""
"con licencia <link href=\"http://creativecommons.org/licenses/by-sa/2.5/deed."
"en\">CC-By-SA</link>"
-#: C/switch.js.page:30(note/p)
+#. (itstool) path: note/p
+#: C/switch.js.page:30
msgid ""
"Photo credits and licensing information are shown in the application's <link "
"xref=\"aboutdialog.js\">AboutDialog</link>. Always remember to credit the "
@@ -44999,7 +48505,8 @@ msgstr ""
"Recuerde reconocer siempre al artista original cuando use <link href="
"\"http://creativecommons.org\">trabajos con licencia Creative Commons</link>."
-#: C/switch.js.page:47(section/code)
+#. (itstool) path: section/code
+#: C/switch.js.page:47
#, no-wrap
msgid ""
"\n"
@@ -45056,7 +48563,8 @@ msgstr ""
" this._buildUI ();\n"
" },\n"
-#: C/switch.js.page:74(section/p)
+#. (itstool) path: section/p
+#: C/switch.js.page:74
msgid ""
"All the code for this sample goes in the SwitchExample class. The above code "
"creates a <link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk."
@@ -45068,7 +48576,8 @@ msgstr ""
"Gtk.Application.html\">Gtk.Application</link> para que vayan los widgets y "
"la ventana. "
-#: C/switch.js.page:76(section/code)
+#. (itstool) path: section/code
+#: C/switch.js.page:76
#, no-wrap
msgid ""
"\n"
@@ -45093,11 +48602,13 @@ msgstr ""
" border_width: 20,\n"
" title: \"Animal Creator\"});\n"
-#: C/switch.js.page:91(section/title)
+#. (itstool) path: section/title
+#: C/switch.js.page:91
msgid "Creating the switches"
msgstr "Crear los interruptores"
-#: C/switch.js.page:92(section/code)
+#. (itstool) path: section/code
+#: C/switch.js.page:92
#, no-wrap
msgid ""
"\n"
@@ -45108,7 +48619,8 @@ msgstr ""
" // Create the image widget and set its default picture\n"
" this._image = new Gtk.Image ({file: \"redfox.png\"});\n"
-#: C/switch.js.page:97(section/p)
+#. (itstool) path: section/p
+#: C/switch.js.page:97
msgid ""
"We first create the <link xref=\"image.js\">Image</link> that the switches "
"will control. Remember that a file named <file>redfox.png</file> needs to be "
@@ -45118,7 +48630,8 @@ msgstr ""
"interruptores controlarán. Recuerde que el archivo llamado <file>redfox.png</"
"file> debe estar en la misma carpeta que la aplicación."
-#: C/switch.js.page:99(section/code)
+#. (itstool) path: section/code
+#: C/switch.js.page:99
#, no-wrap
msgid ""
"\n"
@@ -45159,7 +48672,8 @@ msgstr ""
" this._birdSwitch = new Gtk.Switch ({active: false});\n"
" this._birdSwitch.connect ('notify::active', Lang.bind (this, this._switchFlip));\n"
-#: C/switch.js.page:119(section/p)
+#. (itstool) path: section/p
+#: C/switch.js.page:119
msgid ""
"We use a <link xref=\"label.js\">Label</link> to mark each Switch, and give "
"them a bit of a margin on the right so that they aren't crammed right next "
@@ -45171,7 +48685,8 @@ msgstr ""
"peguen a los interruptores. Después de esto se crean los interruptores, y se "
"configuran para que estén apagados de forma predeterminada."
-#: C/switch.js.page:120(section/p)
+#. (itstool) path: section/p
+#: C/switch.js.page:120
msgid ""
"The signal a switch sends out when it's flipped on or off is called notify::"
"active. After we create each switch, we connect its notify::active signal to "
@@ -45187,7 +48702,8 @@ msgstr ""
"funciones diferentes, pero aquí ambos se usan para lo mismo: para controlar "
"qué imagen muestra «_image»."
-#: C/switch.js.page:122(section/code)
+#. (itstool) path: section/code
+#: C/switch.js.page:122
#, no-wrap
msgid ""
"\n"
@@ -45234,7 +48750,8 @@ msgstr ""
" this._mainGrid.attach (this._image, 0, 0, 1, 1);\n"
" this._mainGrid.attach (this._UIGrid, 0, 1, 1, 1);\n"
-#: C/switch.js.page:144(section/p)
+#. (itstool) path: section/p
+#: C/switch.js.page:144
msgid ""
"We create a <link xref=\"grid.js\">Grid</link> for the Labels and Switches "
"first, so that we can organize them in a 2x2 layout with a margin between it "
@@ -45247,7 +48764,8 @@ msgstr ""
"rejilla más grande de 2x1 que tiene una imagen en su parte superior, y la "
"rejilla con las etiquetas y los interruptores en su parte inferior."
-#: C/switch.js.page:145(section/code)
+#. (itstool) path: section/code
+#: C/switch.js.page:145
#, no-wrap
msgid ""
"\n"
@@ -45266,11 +48784,13 @@ msgstr ""
" this._window.show_all();\n"
" },\n"
-#: C/switch.js.page:157(section/title)
+#. (itstool) path: section/title
+#: C/switch.js.page:157
msgid "Function which handles the switches being flipped"
msgstr "Función que maneja los interruptores que se están pulsando"
-#: C/switch.js.page:159(section/code)
+#. (itstool) path: section/code
+#: C/switch.js.page:159
#, no-wrap
msgid ""
"\n"
@@ -45315,7 +48835,8 @@ msgstr ""
"\n"
" },\n"
-#: C/switch.js.page:180(section/p)
+#. (itstool) path: section/p
+#: C/switch.js.page:180
msgid ""
"Each time a Switch is flipped, this function checks to see which of the two "
"Switches are active afterwards, using the Switches' built-in get_active() "
@@ -45327,11 +48848,13 @@ msgstr ""
"interruptor. Después cambia la imagen consecuentemente. Puede cambiar los "
"nombres de archivo como quiera, siempre que tenga imágenes que correspondan."
-#: C/switch.js.page:184(section/title)
+#. (itstool) path: section/title
+#: C/switch.js.page:184
msgid "Creating the AboutDialog"
msgstr "Crear el AboutDialog"
-#: C/switch.js.page:185(section/code)
+#. (itstool) path: section/code
+#: C/switch.js.page:185
#, no-wrap
msgid ""
"\n"
@@ -45386,7 +48909,8 @@ msgstr ""
" this.application.add_action(quitAction);\n"
" },\n"
-#: C/switch.js.page:211(section/p)
+#. (itstool) path: section/p
+#: C/switch.js.page:211
msgid ""
"The first step is building the <link xref=\"gmenu.js\">GMenu</link> that the "
"\"About\" button goes into. This is the menu that appears when you click the "
@@ -45399,7 +48923,8 @@ msgstr ""
"lado del menú de actividades. Este menú sólo tiene dos opciones: «About» y "
"«Quit»."
-#: C/switch.js.page:213(section/code)
+#. (itstool) path: section/code
+#: C/switch.js.page:213
#, no-wrap
msgid ""
"\n"
@@ -45470,7 +48995,8 @@ msgstr ""
"\n"
"});\n"
-#: C/switch.js.page:247(section/p)
+#. (itstool) path: section/p
+#: C/switch.js.page:247
msgid ""
"An <link xref=\"aboutdialog.js\">AboutDialog</link> has a lot of different "
"things you can set, to credit everyone who worked on the application and "
@@ -45489,7 +49015,8 @@ msgstr ""
"URL web después de sus nombres en la matriz convierten sus nombres en "
"enlaces que puede pulsar en la sección de créditos."
-#: C/switch.js.page:249(section/code)
+#. (itstool) path: section/code
+#: C/switch.js.page:249
#, no-wrap
msgid ""
"\n"
@@ -45502,7 +49029,8 @@ msgstr ""
"let app = new SwitchExample ();\n"
"app.application.run (ARGV);\n"
-#: C/switch.js.page:254(section/p)
+#. (itstool) path: section/p
+#: C/switch.js.page:254
msgid ""
"Finally, we create a new instance of the finished SwitchExample class, and "
"set the application running."
@@ -45510,7 +49038,8 @@ msgstr ""
"Finalmente, se crea una instancia nueva de la clase «SwitchExample» "
"terminada, y se ejecuta la aplicación."
-#: C/switch.js.page:259(section/code)
+#. (itstool) path: section/code
+#: C/switch.js.page:259
#, no-wrap
msgid ""
"#!/usr/bin/gjs\n"
@@ -45873,7 +49402,8 @@ msgstr ""
"let app = new SwitchExample ();\n"
"app.application.run (ARGV);\n"
-#: C/switch.js.page:270(item/p)
+#. (itstool) path: item/p
+#: C/switch.js.page:270
msgid ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.Image.html"
"\">Gtk.Image</link>"
@@ -45881,7 +49411,8 @@ msgstr ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.Image.html"
"\">Gtk.Image</link>"
-#: C/switch.js.page:272(item/p)
+#. (itstool) path: item/p
+#: C/switch.js.page:272
msgid ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.Switch.html"
"\">Gtk.Switch</link>"
@@ -45889,23 +49420,85 @@ msgstr ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.Switch.html"
"\">Gtk.Switch</link>"
-#: C/switch.py.page:7(info/title)
+#. (itstool) path: info/title
+#: C/switch.py.page:7
msgctxt "text"
msgid "Switch (Python)"
msgstr "Interruptor (Python)"
-#: C/switch.py.page:25(page/p)
+#. (itstool) path: page/p
+#: C/switch.py.page:25
msgid "This Switch makes the title appears and disappear."
msgstr "Este interruptor hace que el título aparezca y desaparezca."
-#: C/switch.py.page:32(section/code)
+#. (itstool) path: section/code
+#: C/switch.py.page:32
#, no-wrap
+#| msgid ""
+#| "from gi.repository import Gtk\n"
+#| "import sys\n"
+#| "\n"
+#| "class MyWindow(Gtk.ApplicationWindow):\n"
+#| " # a window\n"
+#| " def __init__(self, app):\n"
+#| " Gtk.Window.__init__(self, title=\"Switch Example\", application=app)\n"
+#| " self.set_default_size(300, 100)\n"
+#| " self.set_border_width(10)\n"
+#| "\n"
+#| " # a switch\n"
+#| " switch = Gtk.Switch()\n"
+#| " # turned on by default\n"
+#| " switch.set_active(True)\n"
+#| " # connect the signal notify::active emitted by the switch\n"
+#| " # to the callback function activate_cb\n"
+#| " switch.connect(\"notify::active\", self.activate_cb)\n"
+#| "\n"
+#| " # a label\n"
+#| " label = Gtk.Label()\n"
+#| " label.set_text(\"Title\")\n"
+#| "\n"
+#| " # a grid to allocate the widgets\n"
+#| " grid = Gtk.Grid()\n"
+#| " grid.set_column_spacing (10);\n"
+#| " grid.attach (label, 0, 0, 1, 1);\n"
+#| " grid.attach (switch, 1, 0, 1, 1);\n"
+#| "\n"
+#| " # add the grid to the window\n"
+#| " self.add(grid)\n"
+#| "\n"
+#| " # Callback function. Since the signal is notify::active\n"
+#| " # we need the argument 'active'\n"
+#| " def activate_cb(self, button, active):\n"
+#| " # if the button (i.e. the switch) is active, set the title\n"
+#| " # of the window to \"Switch Example\"\n"
+#| " if button.get_active():\n"
+#| " self.set_title(\"Switch Example\")\n"
+#| " # else, set it to \"\" (empty string)\n"
+#| " else:\n"
+#| " self.set_title(\"\")\n"
+#| "\n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " def __init__(self):\n"
+#| " Gtk.Application.__init__(self)\n"
+#| "\n"
+#| " def do_activate(self):\n"
+#| " win = MyWindow(self)\n"
+#| " win.show_all()\n"
+#| "\n"
+#| " def do_startup(self):\n"
+#| " Gtk.Application.do_startup(self)\n"
+#| "\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
" # a window\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"Switch Example\", application=app)\n"
" self.set_default_size(300, 100)\n"
@@ -45925,9 +49518,9 @@ msgid ""
"\n"
" # a grid to allocate the widgets\n"
" grid = Gtk.Grid()\n"
-" grid.set_column_spacing (10);\n"
-" grid.attach (label, 0, 0, 1, 1);\n"
-" grid.attach (switch, 1, 0, 1, 1);\n"
+" grid.set_column_spacing(10)\n"
+" grid.attach(label, 0, 0, 1, 1)\n"
+" grid.attach(switch, 1, 0, 1, 1)\n"
"\n"
" # add the grid to the window\n"
" self.add(grid)\n"
@@ -45943,7 +49536,9 @@ msgid ""
" else:\n"
" self.set_title(\"\")\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -45961,8 +49556,10 @@ msgstr ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
" # a window\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"Switch Example\", application=app)\n"
" self.set_default_size(300, 100)\n"
@@ -45982,9 +49579,9 @@ msgstr ""
"\n"
" # a grid to allocate the widgets\n"
" grid = Gtk.Grid()\n"
-" grid.set_column_spacing (10);\n"
-" grid.attach (label, 0, 0, 1, 1);\n"
-" grid.attach (switch, 1, 0, 1, 1);\n"
+" grid.set_column_spacing(10)\n"
+" grid.attach(label, 0, 0, 1, 1)\n"
+" grid.attach(switch, 1, 0, 1, 1)\n"
"\n"
" # add the grid to the window\n"
" self.add(grid)\n"
@@ -46000,7 +49597,9 @@ msgstr ""
" else:\n"
" self.set_title(\"\")\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -46015,11 +49614,13 @@ msgstr ""
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/switch.py.page:36(section/title)
+#. (itstool) path: section/title
+#: C/switch.py.page:36
msgid "Useful methods for a Switch widget"
msgstr "Métodos útiles para un widget interruptor"
-#: C/switch.py.page:37(section/p)
+#. (itstool) path: section/p
+#: C/switch.py.page:37
msgid ""
"In line 17 the signal <code>\"notify::active\"</code> is connected to the "
"callback function <code>activate_cb()</code> using <code><var>widget</var>."
@@ -46032,7 +49633,8 @@ msgstr ""
"llamada</var>)</code>. Consulte la <link xref=\"signals-callbacks.py\"/> "
"para una explicación más detallada."
-#: C/switch.py.page:44(item/p)
+#. (itstool) path: item/p
+#: C/switch.py.page:44
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkSwitch.html"
"\">GtkSwitch</link>"
@@ -46040,16 +49642,19 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkSwitch.html"
"\">GtkSwitch</link>"
-#: C/switch.vala.page:7(info/title)
+#. (itstool) path: info/title
+#: C/switch.vala.page:7
msgctxt "text"
msgid "Switch (Vala)"
msgstr "Interruptor (Vala)"
-#: C/switch.vala.page:28(page/p)
+#. (itstool) path: page/p
+#: C/switch.vala.page:28
msgid "This Switch toggles the title."
msgstr "Este interruptor cambia el título."
-#: C/switch.vala.page:30(page/code)
+#. (itstool) path: page/code
+#: C/switch.vala.page:30
#, no-wrap
msgid ""
"class MyWindow : Gtk.ApplicationWindow {\n"
@@ -46146,7 +49751,8 @@ msgstr ""
"\treturn new MyApplication ().run (args);\n"
"}\n"
-#: C/switch.vala.page:35(item/p)
+#. (itstool) path: item/p
+#: C/switch.vala.page:35
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Switch.html\">Gtk.Switch</"
"link>"
@@ -46154,47 +49760,41 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Switch.html\">Gtk.Switch</"
"link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/textview.c.page:26(media) C/textview.py.page:38(media)
-#: C/textview.vala.page:26(media)
+#: C/textview.c.page:26 C/textview.py.page:38 C/textview.vala.page:26
msgctxt "_"
msgid ""
"external ref='media/textview.png' md5='049e859ed1af2d7c93d8cb5cfd9f7792'"
msgstr ""
"external ref='media/textview.png' md5='049e859ed1af2d7c93d8cb5cfd9f7792'"
-#: C/textview.c.page:7(info/title)
+#. (itstool) path: info/title
+#: C/textview.c.page:7
msgctxt "text"
msgid "TextView (C)"
msgstr "TextView (C)"
-#: C/textview.c.page:17(info/desc) C/textview.vala.page:17(info/desc)
+#. (itstool) path: info/desc
+#: C/textview.c.page:17 C/textview.vala.page:17
msgid "Widget which displays a GtkTextBuffer"
msgstr "Un widget que muestra un GtkTextBuffer"
-#: C/textview.c.page:20(page/title) C/textview.vala.page:20(page/title)
+#. (itstool) path: page/title
+#: C/textview.c.page:20 C/textview.vala.page:20
msgid "TextView widget"
msgstr "Widget TextView"
-#: C/textview.c.page:21(note/p) C/textview.py.page:32(note/p)
-#: C/textview.vala.page:21(note/p)
+#. (itstool) path: note/p
+#: C/textview.c.page:21 C/textview.py.page:32 C/textview.vala.page:21
msgid "If we press \"enter\", we have a new line."
msgstr "Si se pulsa «Intro» se obtiene una línea nueva."
-#: C/textview.c.page:22(note/p) C/textview.vala.page:22(note/p)
+#. (itstool) path: note/p
+#: C/textview.c.page:22 C/textview.vala.page:22
msgid ""
"If we press \"enter\" more times then there are lines in the default sized "
"window, then a vertical scrollbar appears."
@@ -46202,14 +49802,16 @@ msgstr ""
"Si se pulsa «Intro» más veces entonces hay líneas en la ventana de tamaño "
"predeterminado, y después aparece una barra de desplazamiento vertical."
-#: C/textview.c.page:23(note/p) C/textview.vala.page:23(note/p)
+#. (itstool) path: note/p
+#: C/textview.c.page:23 C/textview.vala.page:23
msgid ""
"If we write a long sentence, the text will wrap breaking lines between words."
msgstr ""
"Si se escribe una frase larga, el texto se ajustará a los saltos de línea "
"entre palabras."
-#: C/textview.c.page:24(note/p)
+#. (itstool) path: note/p
+#: C/textview.c.page:24
msgid ""
"If we have a loooooooooooooooooooooooooooooooooooong (that was long) word, "
"a* horizontal scrollbar will appear."
@@ -46217,11 +49819,13 @@ msgstr ""
"Si es escribe una palabra laaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaarga (eso es "
"largo), aparecerá una barra de desplazamiento horizontal."
-#: C/textview.c.page:27(page/p) C/textview.vala.page:27(page/p)
+#. (itstool) path: page/p
+#: C/textview.c.page:27 C/textview.vala.page:27
msgid "This is an example of Gtk.TextView"
msgstr "Esto es un ejemplo de Gtk.TextView"
-#: C/textview.c.page:29(page/code)
+#. (itstool) path: page/code
+#: C/textview.c.page:29
#, no-wrap
msgid ""
"\n"
@@ -46370,7 +49974,8 @@ msgstr ""
" return status;\n"
"}\n"
-#: C/textview.c.page:40(item/p)
+#. (itstool) path: item/p
+#: C/textview.c.page:40
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkContainer.html"
"\">GtkContainer</link>"
@@ -46378,11 +49983,12 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkContainer.html"
"\">GtkContainer</link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#: C/textview.js.page:25(media)
+#: C/textview.js.page:25
msgctxt "_"
msgid ""
"external ref='media/textviewpenguinchat.png' "
@@ -46391,27 +49997,32 @@ msgstr ""
"external ref='media/textviewpenguinchat.png' "
"md5='0dd6f6aa44aaeab7901bd90162ed4c9a'"
-#: C/textview.js.page:7(info/title)
+#. (itstool) path: info/title
+#: C/textview.js.page:7
msgctxt "text"
msgid "TextView (JavaScript)"
msgstr "TextView (JavaScript)"
-#: C/textview.js.page:21(info/desc)
+#. (itstool) path: info/desc
+#: C/textview.js.page:21
msgid "A multiline text editor"
msgstr "Un editor de texto multilínea"
-#: C/textview.js.page:24(page/title) C/textview.py.page:29(page/title)
+#. (itstool) path: page/title
+#: C/textview.js.page:24 C/textview.py.page:29
msgid "TextView"
msgstr "TextView"
-#: C/textview.js.page:26(page/p)
+#. (itstool) path: page/p
+#: C/textview.js.page:26
msgid ""
"A TextView is really (or at least usually) a nested set of three objects."
msgstr ""
"Un «TextView» es realmente (o al menos generalmente) un conjunto anidado de "
"tres objetos."
-#: C/textview.js.page:28(item/p)
+#. (itstool) path: item/p
+#: C/textview.js.page:28
msgid ""
"At the bottom there is a <link href=\"http://www.roojs.org/seed/gir-1.2-"
"gtk-3.0/gjs/Gtk.TextBuffer.html\">TextBuffer</link>. This holds the text "
@@ -46421,7 +50032,8 @@ msgstr ""
"gtk-3.0/gjs/Gtk.TextBuffer.html\">Búfer de texto</link>. Este almacena el "
"texto."
-#: C/textview.js.page:29(item/p)
+#. (itstool) path: item/p
+#: C/textview.js.page:29
msgid ""
"In the middle there is the <link href=\"http://www.roojs.org/seed/gir-1.2-"
"gtk-3.0/gjs/Gtk.TextView.html\">TextView</link>, which is a widget that lets "
@@ -46433,7 +50045,8 @@ msgstr ""
"y editar el texto en el búfer. Cambia su tamaño automáticamente dependiendo "
"de cuánto texto hay."
-#: C/textview.js.page:30(item/p)
+#. (itstool) path: item/p
+#: C/textview.js.page:30
msgid ""
"Since the automatic resizing can make a TextView unwieldy, you normally "
"place it inside of a ScrolledWindow. Despite the name, it's not an actual "
@@ -46450,7 +50063,8 @@ msgstr ""
"texto en el búfer es demasiado grande para entrar, aparecerán barras de "
"desplazamiento."
-#: C/textview.js.page:32(page/p)
+#. (itstool) path: page/p
+#: C/textview.js.page:32
msgid ""
"If you want to change what text is displayed in the TextView, you act on the "
"TextBuffer, since it's what actually holds the text. The same goes for if "
@@ -46464,7 +50078,8 @@ msgstr ""
"permite hablar con un pingüino de fantasía, y verifica el búfer de texto "
"para ver si ha introducido la palabra «fish» en él."
-#: C/textview.js.page:33(note/p)
+#. (itstool) path: note/p
+#: C/textview.js.page:33
msgid ""
"Real-life penguin populations are declining fast, because climate change is "
"melting the ice that they live on and killing the fish that they eat. If "
@@ -46477,7 +50092,8 @@ msgstr ""
"en esta premisa, échele un vistazo a <link href=\"http://pingus.seul.org/"
"\">Pingus</link>."
-#: C/textview.js.page:49(section/code)
+#. (itstool) path: section/code
+#: C/textview.js.page:49
#, no-wrap
msgid ""
"\n"
@@ -46528,7 +50144,8 @@ msgstr ""
" this._buildUI ();\n"
" },\n"
-#: C/textview.js.page:73(section/p)
+#. (itstool) path: section/p
+#: C/textview.js.page:73
msgid ""
"All the code for this sample goes in the TextViewExample class. The above "
"code creates a <link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/"
@@ -46540,7 +50157,8 @@ msgstr ""
"Gtk.Application.html\">Gtk.Application</link> para poner los widgets y la "
"ventana."
-#: C/textview.js.page:74(section/code)
+#. (itstool) path: section/code
+#: C/textview.js.page:74
#, no-wrap
msgid ""
"\n"
@@ -46569,11 +50187,13 @@ msgstr ""
" default_width: 440,\n"
" border_width: 20 });\n"
-#: C/textview.js.page:91(section/title)
+#. (itstool) path: section/title
+#: C/textview.js.page:91
msgid "Creating the TextView"
msgstr "Crear el «TextView»"
-#: C/textview.js.page:92(section/code)
+#. (itstool) path: section/code
+#: C/textview.js.page:92
#, no-wrap
msgid ""
"\n"
@@ -46592,7 +50212,8 @@ msgstr ""
" label: \"Squaaaak?\",\n"
" wrap: true });\n"
-#: C/textview.js.page:101(section/p)
+#. (itstool) path: section/p
+#: C/textview.js.page:101
msgid ""
"Our first step in this example is to create the <link xref=\"label.js"
"\">Label</link> that the penguin will use to talk to you. We set the text in "
@@ -46604,7 +50225,8 @@ msgstr ""
"ajuste de línea estableciendo su propiedad «wrap» a «true», pero usaremos un "
"método distinto en el «TextView» propio que permite un control más preciso."
-#: C/textview.js.page:103(section/code)
+#. (itstool) path: section/code
+#: C/textview.js.page:103
#, no-wrap
msgid ""
"\n"
@@ -46623,7 +50245,8 @@ msgstr ""
" editable: true,\n"
" wrap_mode: Gtk.WrapMode.WORD });\n"
-#: C/textview.js.page:112(section/p)
+#. (itstool) path: section/p
+#: C/textview.js.page:112
msgid ""
"Our first step is to create a TextBuffer to put the words into. After that "
"we create the TextView, and tell it to use the TextBuffer we created as its "
@@ -46635,7 +50258,8 @@ msgstr ""
"que se creó como su búfer. También se configura para que sea editable, dado "
"que se quiere poder introducir cosas nuevas dentro."
-#: C/textview.js.page:113(section/p)
+#. (itstool) path: section/p
+#: C/textview.js.page:113
msgid ""
"The wrap_mode property lets you select from four different <link href="
"\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.WrapMode.html"
@@ -46652,7 +50276,8 @@ msgstr ""
"que pondrá la palabra que está escribiendo en la línea siguiente "
"automáticamente si es demasiado larga."
-#: C/textview.js.page:115(section/code)
+#. (itstool) path: section/code
+#: C/textview.js.page:115
#, no-wrap
msgid ""
"\n"
@@ -46679,7 +50304,8 @@ msgstr ""
" // Put the textview into the scrolled window\n"
" this._scrolled.add_with_viewport (this._textView);\n"
-#: C/textview.js.page:127(section/p)
+#. (itstool) path: section/p
+#: C/textview.js.page:127
msgid ""
"Here we create a ScrolledWindow, and set it to automatically scroll if it "
"gets to be too big horizontally or vertically. We also give it a nice-"
@@ -46692,7 +50318,8 @@ msgstr ""
"«TextView» dentro, y se hace que la «ScrolledWindow» dé un punto de vista "
"sobre él."
-#: C/textview.js.page:133(section/code)
+#. (itstool) path: section/code
+#: C/textview.js.page:133
#, no-wrap
msgid ""
"\n"
@@ -46715,7 +50342,8 @@ msgstr ""
" this._grid.attach (this._penguin, 0, 0, 1, 1);\n"
" this._grid.attach (this._scrolled, 0, 1, 1, 1);\n"
-#: C/textview.js.page:143(section/p)
+#. (itstool) path: section/p
+#: C/textview.js.page:143
msgid ""
"The first <link xref=\"grid.js\">Grid</link> we create only has the Label "
"and the ScrolledWindow inside it."
@@ -46723,7 +50351,8 @@ msgstr ""
"La primera <link xref=\"grid.js\">Rejilla</link> que se crea sólo tiene "
"dentro la etiqueta y la «ScrolledWindow»."
-#: C/textview.js.page:145(section/code)
+#. (itstool) path: section/code
+#: C/textview.js.page:145
#, no-wrap
msgid ""
"\n"
@@ -46760,7 +50389,8 @@ msgstr ""
" this._mainGrid.attach (this._grid, 0, 0, 1, 1);\n"
" this._mainGrid.attach (this._send, 0, 1, 1, 1);\n"
-#: C/textview.js.page:162(section/p)
+#. (itstool) path: section/p
+#: C/textview.js.page:162
msgid ""
"We create a <link xref=\"button.js\">Button</link> to send your message to "
"the penguin, and a new Grid that has the other one on top and the Button on "
@@ -46772,7 +50402,8 @@ msgstr ""
"botón en la parte inferior. El botón tiene un margen en su parte superior, "
"para que no se aplaste contra la «ScrolledWindow»."
-#: C/textview.js.page:164(section/code)
+#. (itstool) path: section/code
+#: C/textview.js.page:164
#, no-wrap
msgid ""
"\n"
@@ -46791,7 +50422,8 @@ msgstr ""
" this._window.show_all();\n"
" },\n"
-#: C/textview.js.page:173(section/p)
+#. (itstool) path: section/p
+#: C/textview.js.page:173
msgid ""
"Finally, we attach the main Grid to the window, then we tell the window and "
"everything inside it to become visible when the application is run."
@@ -46800,11 +50432,13 @@ msgstr ""
"a la ventana y a todo lo que tiene dentro de ella que se vuelva visible "
"cuando se ejecute la aplicación."
-#: C/textview.js.page:178(section/title)
+#. (itstool) path: section/title
+#: C/textview.js.page:178
msgid "Function which handles the penguin's response"
msgstr "Función que maneja la respuesta del pingüino"
-#: C/textview.js.page:179(section/code)
+#. (itstool) path: section/code
+#: C/textview.js.page:179
#, no-wrap
msgid ""
"\n"
@@ -46909,7 +50543,8 @@ msgstr ""
"\n"
"});\n"
-#: C/textview.js.page:230(section/p)
+#. (itstool) path: section/p
+#: C/textview.js.page:230
msgid ""
"Here we use some basic JavaScript functions to have the penguins say "
"something random. Penguins like fish, though, so if you mention fish we want "
@@ -46923,7 +50558,8 @@ msgstr ""
"eso, se usa el método «match» del objeto de cadena de JavaScript sobre "
"<file>this.buffer.text</file>, que devuelve el contenido del búfer de texto."
-#: C/textview.js.page:231(section/p)
+#. (itstool) path: section/p
+#: C/textview.js.page:231
msgid ""
"Since we want to clear out the TextBuffer after each time you click Send, we "
"set <file>this.buffer.text</file> to contain an empty string afterwards. "
@@ -46935,7 +50571,8 @@ msgstr ""
"cadena vacía justo entonces. Después, se devuelve el foco al «TextView», "
"para poder seguir escribiendo sin tener que pulsar en él antes."
-#: C/textview.js.page:233(section/code)
+#. (itstool) path: section/code
+#: C/textview.js.page:233
#, no-wrap
msgid ""
"\n"
@@ -46948,7 +50585,8 @@ msgstr ""
"let app = new TextViewExample ();\n"
"app.application.run (ARGV);\n"
-#: C/textview.js.page:238(section/p)
+#. (itstool) path: section/p
+#: C/textview.js.page:238
msgid ""
"Finally, we create a new instance of the finished TextViewExample class, and "
"set the application running."
@@ -46956,7 +50594,8 @@ msgstr ""
"Finalmente, se crea una instancia nueva de la clase «TextViewExample» "
"terminada, y se ejecuta la aplicación."
-#: C/textview.js.page:243(section/code)
+#. (itstool) path: section/code
+#: C/textview.js.page:243
#, no-wrap
msgid ""
"#!/usr/bin/gjs\n"
@@ -47269,7 +50908,8 @@ msgstr ""
"let app = new TextViewExample ();\n"
"app.application.run (ARGV);\n"
-#: C/textview.js.page:255(item/p)
+#. (itstool) path: item/p
+#: C/textview.js.page:255
msgid ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk."
"ScrolledWindow.html\">Gtk.ScrolledWindow</link>"
@@ -47277,7 +50917,8 @@ msgstr ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk."
"ScrolledWindow.html\">Gtk.ScrolledWindow</link>"
-#: C/textview.js.page:256(item/p)
+#. (itstool) path: item/p
+#: C/textview.js.page:256
msgid ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.TextBuffer."
"html\">Gtk.TextBuffer</link>"
@@ -47285,7 +50926,8 @@ msgstr ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.TextBuffer."
"html\">Gtk.TextBuffer</link>"
-#: C/textview.js.page:257(item/p)
+#. (itstool) path: item/p
+#: C/textview.js.page:257
msgid ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.TextView.html"
"\">Gtk.TextView</link>"
@@ -47293,20 +50935,24 @@ msgstr ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.TextView.html"
"\">Gtk.TextView</link>"
-#: C/textview.py.page:7(info/title)
+#. (itstool) path: info/title
+#: C/textview.py.page:7
msgctxt "text"
msgid "TextView (Python)"
msgstr "TextView (Python)"
-#: C/textview.py.page:26(info/desc)
+#. (itstool) path: info/desc
+#: C/textview.py.page:26
msgid "Widget that displays a GtkTextBuffer"
msgstr "Un widget que muestra un GtkTextBuffer"
-#: C/textview.py.page:31(note/p)
+#. (itstool) path: note/p
+#: C/textview.py.page:31
msgid "This is an example of Gtk.TextView."
msgstr "Esto es un ejemplo de Gtk.TextView."
-#: C/textview.py.page:33(note/p)
+#. (itstool) path: note/p
+#: C/textview.py.page:33
msgid ""
"But we can also have a new line if we write a long sentence (the text will "
"wrap breaking lines between words)."
@@ -47314,25 +50960,73 @@ msgstr ""
"Pero también se puede obtener una línea nueva si se escribe una frase larga "
"(el texto se ajustará a los saltos de línea entre palabras."
-#: C/textview.py.page:34(note/p)
+#. (itstool) path: note/p
+#: C/textview.py.page:34
msgid "If we have a loooooooooooooooooooooooooooooooooooong"
msgstr "Si es escribe una palabra laaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaarga"
-#: C/textview.py.page:35(note/p)
+#. (itstool) path: note/p
+#: C/textview.py.page:35
msgid "(that was long)"
msgstr "(esto es una palabra larga)"
-#: C/textview.py.page:36(note/p)
+#. (itstool) path: note/p
+#: C/textview.py.page:36
msgid "word, an horizontal scrollbar will appear."
msgstr ", aparecerá una barra de desplazamiento horizontal."
-#: C/textview.py.page:45(section/code)
+#. (itstool) path: section/code
+#: C/textview.py.page:45
#, no-wrap
+#| msgid ""
+#| "from gi.repository import Gtk\n"
+#| "import sys\n"
+#| "\n"
+#| "class MyWindow(Gtk.ApplicationWindow):\n"
+#| " def __init__(self, app):\n"
+#| " Gtk.Window.__init__(self, title=\"TextView Example\", application=app)\n"
+#| " self.set_default_size(300, 450)\n"
+#| "\n"
+#| " # a scrollbar for the child widget (that is going to be the textview)\n"
+#| " scrolled_window = Gtk.ScrolledWindow()\n"
+#| " scrolled_window.set_border_width(5)\n"
+#| " # we scroll only if needed\n"
+#| " scrolled_window.set_policy(Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC)\n"
+#| "\n"
+#| " # a text buffer (stores text)\n"
+#| " buffer1 = Gtk.TextBuffer()\n"
+#| "\n"
+#| " # a textview (displays the buffer)\n"
+#| " textview = Gtk.TextView(buffer=buffer1)\n"
+#| " # wrap the text, if needed, breaking lines in between words\n"
+#| " textview.set_wrap_mode(Gtk.WrapMode.WORD)\n"
+#| "\n"
+#| " # textview is scrolled\n"
+#| " scrolled_window.add(textview)\n"
+#| "\n"
+#| " self.add(scrolled_window)\n"
+#| "\n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " def __init__(self):\n"
+#| " Gtk.Application.__init__(self)\n"
+#| "\n"
+#| " def do_activate(self):\n"
+#| " win = MyWindow(self)\n"
+#| " win.show_all()\n"
+#| "\n"
+#| " def do_startup(self):\n"
+#| " Gtk.Application.do_startup(self)\n"
+#| "\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"TextView Example\", application=app)\n"
" self.set_default_size(300, 450)\n"
@@ -47341,7 +51035,8 @@ msgid ""
" scrolled_window = Gtk.ScrolledWindow()\n"
" scrolled_window.set_border_width(5)\n"
" # we scroll only if needed\n"
-" scrolled_window.set_policy(Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC)\n"
+" scrolled_window.set_policy(\n"
+" Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC)\n"
"\n"
" # a text buffer (stores text)\n"
" buffer1 = Gtk.TextBuffer()\n"
@@ -47356,7 +51051,9 @@ msgid ""
"\n"
" self.add(scrolled_window)\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -47374,7 +51071,9 @@ msgstr ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"TextView Example\", application=app)\n"
" self.set_default_size(300, 450)\n"
@@ -47383,7 +51082,8 @@ msgstr ""
" scrolled_window = Gtk.ScrolledWindow()\n"
" scrolled_window.set_border_width(5)\n"
" # we scroll only if needed\n"
-" scrolled_window.set_policy(Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC)\n"
+" scrolled_window.set_policy(\n"
+" Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC)\n"
"\n"
" # a text buffer (stores text)\n"
" buffer1 = Gtk.TextBuffer()\n"
@@ -47398,7 +51098,9 @@ msgstr ""
"\n"
" self.add(scrolled_window)\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -47413,11 +51115,13 @@ msgstr ""
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/textview.py.page:49(section/title)
+#. (itstool) path: section/title
+#: C/textview.py.page:49
msgid "Useful methods for a TextView widget"
msgstr "Métodos útiles para un widget «TextView»"
-#: C/textview.py.page:50(section/p)
+#. (itstool) path: section/p
+#: C/textview.py.page:50
msgid ""
"A <code>Gtk.TextView</code> displays the text stored in a <code>Gtk."
"TextBuffer</code>. However, most text manipulation is accomplished with "
@@ -47444,11 +51148,13 @@ msgstr ""
"empotradas: una marca «insert» (la posición del cursor) y la marca "
"«selection_bound»."
-#: C/textview.py.page:51(section/p)
+#. (itstool) path: section/p
+#: C/textview.py.page:51
msgid "Methods for a TextView widget:"
msgstr "Métodos para un widget «TextView»:"
-#: C/textview.py.page:53(item/p)
+#. (itstool) path: item/p
+#: C/textview.py.page:53
msgid ""
"The TextView widget is by default editable. If you prefer otherwise, use "
"<code>set_editable(False)</code>. If the buffer has no editable text, it "
@@ -47459,7 +51165,8 @@ msgstr ""
"editable, puede ser una buena idea usar <code>set_cursor_visible(False)</"
"code> también."
-#: C/textview.py.page:54(item/p)
+#. (itstool) path: item/p
+#: C/textview.py.page:54
msgid ""
"The justification of the text is set with <code>set_justification(Gtk."
"Justification.JUSTIFICATION)</code> where <code>JUSTIFICATION</code> is one "
@@ -47469,7 +51176,8 @@ msgstr ""
"Justification.JUSTIFICACIÓN)</code> donde <code>JUSTIFICACIÓN</code> puede "
"ser <code>LEFT, RIGHT, CENTER, FILL</code>."
-#: C/textview.py.page:55(item/p)
+#. (itstool) path: item/p
+#: C/textview.py.page:55
msgid ""
"The line wrapping of the text is set with <code>set_wrap_mode(Gtk.WrapMode."
"WRAP)</code> where <code>WRAP</code> is one of <code>NONE</code> (the text "
@@ -47485,11 +51193,13 @@ msgstr ""
"líneas entre palabras), <code>WORD_CHAR</code> (rompe líneas entre palabras, "
"pero si no es suficiente, entre caracteres)."
-#: C/textview.py.page:57(section/p)
+#. (itstool) path: section/p
+#: C/textview.py.page:57
msgid "Methods for a TextBuffer widget:"
msgstr "Métodos para un widget «TextBuffer»:"
-#: C/textview.py.page:59(item/p)
+#. (itstool) path: item/p
+#: C/textview.py.page:59
msgid ""
"<code>get_insert()</code> returns the <code>Gtk.TextMark</code> that "
"represents the cursor, that is the insertion point."
@@ -47497,7 +51207,8 @@ msgstr ""
"<code>get_insert()</code> devuelve la <code>Gtk.TextMark</code> que "
"representa al cursor, que es el punto de inserción."
-#: C/textview.py.page:60(item/p)
+#. (itstool) path: item/p
+#: C/textview.py.page:60
msgid ""
"<code>get_selection_bound()</code> returns the <code>Gtk.TextMark</code> "
"that represents the selection bound."
@@ -47505,7 +51216,8 @@ msgstr ""
"<code>get_selection_bound()</code> devuelve la <code>Gtk.TextMark</code> que "
"representa los límites de la selección."
-#: C/textview.py.page:61(item/p)
+#. (itstool) path: item/p
+#: C/textview.py.page:61
msgid ""
"<code>set_text(\"some text\", length)</code> where <code>length</code> is a "
"positive integer or <code>-1</code>, sets the content of the buffer as the "
@@ -47519,7 +51231,8 @@ msgstr ""
"omite <code>longitud</code> o es <code>-1</code>, se inserta todo el texto. "
"El contenido del búfer, si existe, se destruye."
-#: C/textview.py.page:62(item/p)
+#. (itstool) path: item/p
+#: C/textview.py.page:62
msgid ""
"<code>insert(iter, \"some text\", length)</code> where <code>iter</code> is "
"a text iterator and <code>length</code> is a positive integer or <code>-1</"
@@ -47533,7 +51246,8 @@ msgstr ""
"<code>longitud</code> caracteres del <code>texto</code>. Si se omite "
"<code>longitud</code> o es <code>-1</code>, se inserta todo el texto."
-#: C/textview.py.page:63(item/p)
+#. (itstool) path: item/p
+#: C/textview.py.page:63
msgid ""
"<code>insert_at_cursor(\"some text\", length)</code> does the same as "
"<code>insert(iter, \"some text\", length)</code>, with the current cursor "
@@ -47543,7 +51257,8 @@ msgstr ""
"<code>insert(iter, \"texto\", longitud)</code>, tomando el cursor actual "
"como <code>iter</code>."
-#: C/textview.py.page:64(item/p)
+#. (itstool) path: item/p
+#: C/textview.py.page:64
msgid ""
"<code>create_mark(\"mark_name\", iter, left_gravity)</code> where "
"<code>iter</code> is a <code>Gtk.TextIter</code> and <code>left_gravity</"
@@ -47566,7 +51281,8 @@ msgstr ""
"<code>gravedad_izquierda</code> se omite, su valor predeterminado es "
"<code>False</code>."
-#: C/textview.py.page:66(item/p)
+#. (itstool) path: item/p
+#: C/textview.py.page:66
msgid ""
"To specify that some text in the buffer should have specific formatting, you "
"must define a tag to hold that formatting information, and then apply that "
@@ -47580,7 +51296,8 @@ msgstr ""
"etiqueta\", propiedad)</code> y <code>apply_tag(etiqueta, iter_inicial, "
"iter_final)</code> como en, por ejemplo:"
-#: C/textview.py.page:67(item/code)
+#. (itstool) path: item/code
+#: C/textview.py.page:67
#, no-wrap
msgid ""
"\n"
@@ -47591,48 +51308,59 @@ msgstr ""
"tag = textbuffer.create_tag(\"orange_bg\", background=\"orange\")\n"
"textbuffer.apply_tag(tag, start_iter, end_iter)"
-#: C/textview.py.page:70(item/p)
+#. (itstool) path: item/p
+#: C/textview.py.page:70
msgid "The following are some of the common styles applied to text:"
msgstr ""
"A continuación se muestran algunos de los estilos comunes aplicados al texto:"
-#: C/textview.py.page:72(item/p)
+#. (itstool) path: item/p
+#: C/textview.py.page:72
msgid "Background colour (\"background\" property)"
msgstr "Color de fondo (propiedad «background»)"
-#: C/textview.py.page:73(item/p)
+#. (itstool) path: item/p
+#: C/textview.py.page:73
msgid "Foreground colour (\"foreground\" property)"
msgstr "Color de primer plano (propiedad «foreground»)"
-#: C/textview.py.page:74(item/p)
+#. (itstool) path: item/p
+#: C/textview.py.page:74
msgid "Underline (\"underline\" property)"
msgstr "Subrayado (propiedad «underline»)"
-#: C/textview.py.page:75(item/p)
+#. (itstool) path: item/p
+#: C/textview.py.page:75
msgid "Bold (\"weight\" property)"
msgstr "Negrita (propiedad «weight»)"
-#: C/textview.py.page:76(item/p)
+#. (itstool) path: item/p
+#: C/textview.py.page:76
msgid "Italics (\"style\" property)"
msgstr "Cursiva (propiedad «style»)"
-#: C/textview.py.page:77(item/p)
+#. (itstool) path: item/p
+#: C/textview.py.page:77
msgid "Strikethrough (\"strikethrough\" property)"
msgstr "Tachado (propiedad «strikethrough»)"
-#: C/textview.py.page:78(item/p)
+#. (itstool) path: item/p
+#: C/textview.py.page:78
msgid "Justification (\"justification\" property)"
msgstr "Justificación (propiedad «justification»)"
-#: C/textview.py.page:79(item/p)
+#. (itstool) path: item/p
+#: C/textview.py.page:79
msgid "Size (\"size\" and \"size-points\" properties)"
msgstr "Tamaño (propiedades «size» y «size-points»)"
-#: C/textview.py.page:80(item/p)
+#. (itstool) path: item/p
+#: C/textview.py.page:80
msgid "Text wrapping (\"wrap-mode\" property)"
msgstr "Ajuste de texto (propiedad «wrap-mode»)"
-#: C/textview.py.page:82(item/p)
+#. (itstool) path: item/p
+#: C/textview.py.page:82
msgid ""
"You can also delete particular tags later using <code>remove_tag()</code> or "
"delete all tags in a given region by calling <code>remove_all_tags()</code>."
@@ -47641,11 +51369,13 @@ msgstr ""
"<code>remove_tag()</code> o eliminar todas las etiquetas en una región dada "
"llamando a <code>remove_all_tags()</code>."
-#: C/textview.py.page:84(section/p)
+#. (itstool) path: section/p
+#: C/textview.py.page:84
msgid "Methods for a TextIter widget"
msgstr "Métodos para un widget «TextIter»"
-#: C/textview.py.page:86(item/p)
+#. (itstool) path: item/p
+#: C/textview.py.page:86
msgid ""
"<code>forward_search(needle, flags, limit)</code> searches forward for "
"<code>needle</code>. The search will not continue past the <code>Gtk."
@@ -47675,7 +51405,8 @@ msgstr ""
"inicio y al primer carácter después de la coincidencia; si no se encuentra, "
"se devuelve <code>None</code>."
-#: C/textview.py.page:87(item/p)
+#. (itstool) path: item/p
+#: C/textview.py.page:87
msgid ""
"<code>backward_search(needle, flags, limit)</code> does the same as "
"<code>forward_search()</code>, but moving backwards."
@@ -47683,7 +51414,8 @@ msgstr ""
"<code>backward_search(cadena, banderas, límite)</code> hace lo mismo que "
"<code>forward_search()</code>, pero hacia atrás."
-#: C/textview.py.page:95(item/p)
+#. (itstool) path: item/p
+#: C/textview.py.page:95
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkTextView.html"
"\">GtkTextView</link>"
@@ -47691,7 +51423,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkTextView.html"
"\">GtkTextView</link>"
-#: C/textview.py.page:96(item/p)
+#. (itstool) path: item/p
+#: C/textview.py.page:96
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkTextBuffer.html"
"\">GtkTextBuffer</link>"
@@ -47699,7 +51432,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkTextBuffer.html"
"\">GtkTextBuffer</link>"
-#: C/textview.py.page:97(item/p)
+#. (itstool) path: item/p
+#: C/textview.py.page:97
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkTextTag.html"
"\">GtkTextTag</link>"
@@ -47707,12 +51441,14 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkTextTag.html"
"\">GtkTextTag</link>"
-#: C/textview.vala.page:7(info/title)
+#. (itstool) path: info/title
+#: C/textview.vala.page:7
msgctxt "text"
msgid "TextView (Vala)"
msgstr "TextView (Vala)"
-#: C/textview.vala.page:24(note/p)
+#. (itstool) path: note/p
+#: C/textview.vala.page:24
msgid ""
"If we have a loooooooooooooooooooooooooooooooooooong word, a horizontal "
"scrollbar will appear."
@@ -47720,7 +51456,8 @@ msgstr ""
"Si es escribe una palabra laaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaarga, "
"aparecerá una barra de desplazamiento horizontal."
-#: C/textview.vala.page:29(page/code)
+#. (itstool) path: page/code
+#: C/textview.vala.page:29
#, no-wrap
msgid ""
"/* This is the application. */\n"
@@ -47791,7 +51528,8 @@ msgstr ""
"\treturn new MyApplication ().run (args);\n"
"}\n"
-#: C/textview.vala.page:34(item/p)
+#. (itstool) path: item/p
+#: C/textview.vala.page:34
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.TextBuffer.html\">Gtk."
"TextBuffer</link>"
@@ -47799,7 +51537,8 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.TextBuffer.html\">Gtk."
"TextBuffer</link>"
-#: C/textview.vala.page:35(item/p)
+#. (itstool) path: item/p
+#: C/textview.vala.page:35
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.TextView.html\">Gtk."
"TextView</link>"
@@ -47807,7 +51546,8 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.TextView.html\">Gtk."
"TextView</link>"
-#: C/textview.vala.page:37(item/p)
+#. (itstool) path: item/p
+#: C/textview.vala.page:37
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.WrapMode.html\">Gtk."
"WrapMode</link>"
@@ -47815,55 +51555,45 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.WrapMode.html\">Gtk."
"WrapMode</link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/togglebutton.c.page:26(media) C/togglebutton.js.page:21(media)
-#: C/togglebutton.py.page:22(media) C/togglebutton.vala.page:24(media)
+#: C/togglebutton.c.page:26 C/togglebutton.js.page:21
+#: C/togglebutton.py.page:22 C/togglebutton.vala.page:24
msgctxt "_"
msgid ""
"external ref='media/togglebutton.png' md5='791e062613d4f9bd5936390b0aa18448'"
msgstr ""
"external ref='media/togglebutton.png' md5='791e062613d4f9bd5936390b0aa18448'"
-#: C/togglebutton.c.page:7(info/title)
+#. (itstool) path: info/title
+#: C/togglebutton.c.page:7
msgctxt "text"
msgid "ToggleButton (C)"
msgstr "ToggleButton (C)"
-#: C/togglebutton.c.page:21(info/desc) C/togglebutton.py.page:18(info/desc)
-#: C/togglebutton.vala.page:20(info/desc)
+#. (itstool) path: info/desc
+#: C/togglebutton.c.page:21 C/togglebutton.py.page:18
+#: C/togglebutton.vala.page:20
msgid "A button which retains state"
msgstr "Un botón que mantiene su estado"
-#: C/togglebutton.c.page:24(page/title) C/togglebutton.js.page:20(page/title)
-#: C/togglebutton.py.page:21(page/title)
-#: C/togglebutton.vala.page:23(page/title)
+#. (itstool) path: page/title
+#: C/togglebutton.c.page:24 C/togglebutton.js.page:20
+#: C/togglebutton.py.page:21 C/togglebutton.vala.page:23
msgid "ToggleButton"
msgstr "ToggleButton"
-#: C/togglebutton.c.page:27(page/p) C/togglebutton.py.page:23(page/p)
-#: C/togglebutton.vala.page:25(page/p)
+#. (itstool) path: page/p
+#: C/togglebutton.c.page:27 C/togglebutton.py.page:23
+#: C/togglebutton.vala.page:25
msgid "When this ToggleButton is in an active state, the spinner spins."
msgstr "Cuando este ToggleButton está activado, el indicador de progreso gira."
-#: C/togglebutton.c.page:29(page/code)
+#. (itstool) path: page/code
+#: C/togglebutton.c.page:29
#, no-wrap
msgid ""
"\n"
@@ -48026,7 +51756,8 @@ msgstr ""
" return status;\n"
"}\n"
-#: C/togglebutton.c.page:38(item/p)
+#. (itstool) path: item/p
+#: C/togglebutton.c.page:38
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkToggleButton.html"
"\">GtkTogglebutton</link>"
@@ -48034,16 +51765,19 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkToggleButton.html"
"\">GtkTogglebutton</link>"
-#: C/togglebutton.js.page:7(info/title)
+#. (itstool) path: info/title
+#: C/togglebutton.js.page:7
msgctxt "text"
msgid "ToggleButton (JavaScript)"
msgstr "ToggleButton (JavaScript)"
-#: C/togglebutton.js.page:17(info/desc)
+#. (itstool) path: info/desc
+#: C/togglebutton.js.page:17
msgid "Stays pressed until you click it again"
msgstr "Se mantiene presionado hasta que lo pulsa de nuevo"
-#: C/togglebutton.js.page:22(page/p)
+#. (itstool) path: page/p
+#: C/togglebutton.js.page:22
msgid ""
"A ToggleButton is like a normal <link xref=\"button.js\">Button</link>, "
"except that it stays pressed in when you click it. You can use it like an on/"
@@ -48055,7 +51789,8 @@ msgstr ""
"conmutador de encendido/apagado, para controlar cosas como el <link xref="
"\"spinner.js\">Spinner</link> en este ejemplo."
-#: C/togglebutton.js.page:23(page/p)
+#. (itstool) path: page/p
+#: C/togglebutton.js.page:23
msgid ""
"A ToggleButton's get_active method returns true if it's pressed in, and "
"false if it's not. Its set_active method is used if you want to change its "
@@ -48069,7 +51804,8 @@ msgstr ""
"«no pulsado» y viceversa, envía la señal «toggled», que puede conectar a una "
"función para hacer algo."
-#: C/togglebutton.js.page:40(section/code)
+#. (itstool) path: section/code
+#: C/togglebutton.js.page:40
#, no-wrap
msgid ""
"\n"
@@ -48124,7 +51860,8 @@ msgstr ""
" this._buildUI ();\n"
" },\n"
-#: C/togglebutton.js.page:67(section/code)
+#. (itstool) path: section/code
+#: C/togglebutton.js.page:67
#, no-wrap
msgid ""
"\n"
@@ -48153,11 +51890,13 @@ msgstr ""
" border_width: 30,\n"
" title: \"ToggleButton Example\"});\n"
-#: C/togglebutton.js.page:84(section/title)
+#. (itstool) path: section/title
+#: C/togglebutton.js.page:84
msgid "Creating the ToggleButton and other widgets"
msgstr "Crear el «ToggleButton» y otros widgets"
-#: C/togglebutton.js.page:85(section/code)
+#. (itstool) path: section/code
+#: C/togglebutton.js.page:85
#, no-wrap
msgid ""
"\n"
@@ -48168,7 +51907,8 @@ msgstr ""
" // Create the spinner that the button stops and starts\n"
" this._spinner = new Gtk.Spinner ({hexpand: true, vexpand: true});\n"
-#: C/togglebutton.js.page:90(section/p)
+#. (itstool) path: section/p
+#: C/togglebutton.js.page:90
msgid ""
"We want this <link xref=\"spinner.js\">Spinner</link> to expand vertically "
"and horizontally, to take up as much space as possible inside the window."
@@ -48177,7 +51917,8 @@ msgstr ""
"vertical y horizontalmente, para llenar tanto espacio como sea posible "
"dentro de la ventana."
-#: C/togglebutton.js.page:92(section/code)
+#. (itstool) path: section/code
+#: C/togglebutton.js.page:92
#, no-wrap
msgid ""
"\n"
@@ -48190,7 +51931,8 @@ msgstr ""
" this._toggleButton = new Gtk.ToggleButton ({label: \"Start/Stop\"});\n"
" this._toggleButton.connect ('toggled', Lang.bind (this, this._onToggle));\n"
-#: C/togglebutton.js.page:98(section/p)
+#. (itstool) path: section/p
+#: C/togglebutton.js.page:98
msgid ""
"Creating a ToggleButton is a lot like creating a normal <link xref=\"button."
"js\">Button</link>. The biggest difference is that you're handling a "
@@ -48204,7 +51946,8 @@ msgstr ""
"_onToggle a esa señal, para que se llame cada vez que se conmute el "
"ToggleButton."
-#: C/togglebutton.js.page:100(section/code)
+#. (itstool) path: section/code
+#: C/togglebutton.js.page:100
#, no-wrap
msgid ""
"\n"
@@ -48223,7 +51966,8 @@ msgstr ""
" this._grid.attach (this._spinner, 0, 0, 1, 1);\n"
" this._grid.attach (this._toggleButton, 0, 1, 1, 1);\n"
-#: C/togglebutton.js.page:108(section/p)
+#. (itstool) path: section/p
+#: C/togglebutton.js.page:108
msgid ""
"Here we create a simple <link xref=\"grid.js\">Grid</link> to organize "
"everything in, then attach the Spinner and ToggleButton to it."
@@ -48231,7 +51975,8 @@ msgstr ""
"Aquí se crea una <link xref=\"grid.js\">Rejilla</link> simple para organizar "
"todo dentro, y después se le adjuntan el «Spinner» y el «ToggleButton»."
-#: C/togglebutton.js.page:110(section/code)
+#. (itstool) path: section/code
+#: C/togglebutton.js.page:110
#, no-wrap
msgid ""
"\n"
@@ -48250,7 +51995,8 @@ msgstr ""
" this._window.show_all();\n"
" },\n"
-#: C/togglebutton.js.page:118(section/p)
+#. (itstool) path: section/p
+#: C/togglebutton.js.page:118
msgid ""
"Now we add the Grid to the Window, and tell the Window to show itself and "
"its child widgets when the application is started."
@@ -48258,11 +52004,13 @@ msgstr ""
"Ahora se añade la rejilla a la ventana, y se le dice a esta que se muestre "
"con sus widgets hijos cuando la aplicación arranque."
-#: C/togglebutton.js.page:122(section/title)
+#. (itstool) path: section/title
+#: C/togglebutton.js.page:122
msgid "Making something happen when the ToggleButton is toggled"
msgstr "Hacer que algo suceda cuando se conmute el ToggleButton"
-#: C/togglebutton.js.page:124(section/code)
+#. (itstool) path: section/code
+#: C/togglebutton.js.page:124
#, no-wrap
msgid ""
"\n"
@@ -48289,7 +52037,8 @@ msgstr ""
"\n"
"});\n"
-#: C/togglebutton.js.page:136(section/p)
+#. (itstool) path: section/p
+#: C/togglebutton.js.page:136
msgid ""
"Whenever someone toggles the button, this function checks what its state is "
"afterwards using get_active and starts or stops the spinner accordingly. We "
@@ -48302,7 +52051,8 @@ msgstr ""
"por lo que si «get_active» devuelve «true» se inicia el «spinner». De lo "
"contrario, se le dice que se detenga."
-#: C/togglebutton.js.page:138(section/code)
+#. (itstool) path: section/code
+#: C/togglebutton.js.page:138
#, no-wrap
msgid ""
"\n"
@@ -48315,7 +52065,8 @@ msgstr ""
"let app = new ToggleButtonExample ();\n"
"app.application.run (ARGV);\n"
-#: C/togglebutton.js.page:148(section/code)
+#. (itstool) path: section/code
+#: C/togglebutton.js.page:148
#, no-wrap
msgid ""
"#!/usr/bin/gjs\n"
@@ -48484,7 +52235,8 @@ msgstr ""
"let app = new ToggleButtonExample ();\n"
"app.application.run (ARGV);\n"
-#: C/togglebutton.js.page:158(item/p)
+#. (itstool) path: item/p
+#: C/togglebutton.js.page:158
msgid ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.ToggleButton."
"html\">Gtk.ToggleButton</link>"
@@ -48492,21 +52244,83 @@ msgstr ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.ToggleButton."
"html\">Gtk.ToggleButton</link>"
-#: C/togglebutton.py.page:7(info/title)
+#. (itstool) path: info/title
+#: C/togglebutton.py.page:7
msgctxt "text"
msgid "ToggleButton (Python)"
msgstr "ToggleButton (Python)"
-#: C/togglebutton.py.page:30(section/code)
+#. (itstool) path: section/code
+#: C/togglebutton.py.page:30
#, no-wrap
+#| msgid ""
+#| "from gi.repository import Gtk\n"
+#| "import sys\n"
+#| "\n"
+#| "class MyWindow(Gtk.ApplicationWindow):\n"
+#| " # a window\n"
+#| " def __init__(self, app):\n"
+#| " Gtk.Window.__init__(self, title=\"ToggleButton Example\", application=app)\n"
+#| " self.set_default_size(300, 300)\n"
+#| " self.set_border_width(30)\n"
+#| "\n"
+#| " # a spinner animation\n"
+#| " self.spinner = Gtk.Spinner()\n"
+#| " # with extra horizontal space\n"
+#| " self.spinner.set_hexpand(True)\n"
+#| " # with extra vertical space\n"
+#| " self.spinner.set_vexpand(True)\n"
+#| "\n"
+#| " # a togglebutton\n"
+#| " button = Gtk.ToggleButton.new_with_label(\"Start/Stop\")\n"
+#| " # connect the signal \"toggled\" emitted by the togglebutton\n"
+#| " # when its state is changed to the callback function toggled_cb\n"
+#| " button.connect(\"toggled\", self.toggled_cb)\n"
+#| "\n"
+#| " # a grid to allocate the widgets\n"
+#| " grid = Gtk.Grid()\n"
+#| " grid.set_row_homogeneous(False);\n"
+#| " grid.set_row_spacing(15);\n"
+#| " grid.attach(self.spinner, 0, 0, 1, 1);\n"
+#| " grid.attach(button, 0, 1, 1, 1);\n"
+#| "\n"
+#| " # add the grid to the window\n"
+#| " self.add(grid)\n"
+#| "\n"
+#| " # callback function for the signal \"toggled\"\n"
+#| " def toggled_cb(self, button):\n"
+#| " # if the togglebutton is active, start the spinner\n"
+#| " if button.get_active():\n"
+#| " self.spinner.start()\n"
+#| " # else, stop it\n"
+#| " else:\n"
+#| " self.spinner.stop()\n"
+#| "\n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " def __init__(self):\n"
+#| " Gtk.Application.__init__(self)\n"
+#| "\n"
+#| " def do_activate(self):\n"
+#| " win = MyWindow(self)\n"
+#| " win.show_all()\n"
+#| "\n"
+#| " def do_startup(self):\n"
+#| " Gtk.Application.do_startup(self)\n"
+#| "\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
" # a window\n"
+"\n"
" def __init__(self, app):\n"
-" Gtk.Window.__init__(self, title=\"ToggleButton Example\", application=app)\n"
+" Gtk.Window.__init__(\n"
+" self, title=\"ToggleButton Example\", application=app)\n"
" self.set_default_size(300, 300)\n"
" self.set_border_width(30)\n"
"\n"
@@ -48525,10 +52339,10 @@ msgid ""
"\n"
" # a grid to allocate the widgets\n"
" grid = Gtk.Grid()\n"
-" grid.set_row_homogeneous(False);\n"
-" grid.set_row_spacing(15);\n"
-" grid.attach(self.spinner, 0, 0, 1, 1);\n"
-" grid.attach(button, 0, 1, 1, 1);\n"
+" grid.set_row_homogeneous(False)\n"
+" grid.set_row_spacing(15)\n"
+" grid.attach(self.spinner, 0, 0, 1, 1)\n"
+" grid.attach(button, 0, 1, 1, 1)\n"
"\n"
" # add the grid to the window\n"
" self.add(grid)\n"
@@ -48542,7 +52356,9 @@ msgid ""
" else:\n"
" self.spinner.stop()\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -48560,10 +52376,13 @@ msgstr ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
" # a window\n"
+"\n"
" def __init__(self, app):\n"
-" Gtk.Window.__init__(self, title=\"ToggleButton Example\", application=app)\n"
+" Gtk.Window.__init__(\n"
+" self, title=\"ToggleButton Example\", application=app)\n"
" self.set_default_size(300, 300)\n"
" self.set_border_width(30)\n"
"\n"
@@ -48582,10 +52401,10 @@ msgstr ""
"\n"
" # a grid to allocate the widgets\n"
" grid = Gtk.Grid()\n"
-" grid.set_row_homogeneous(False);\n"
-" grid.set_row_spacing(15);\n"
-" grid.attach(self.spinner, 0, 0, 1, 1);\n"
-" grid.attach(button, 0, 1, 1, 1);\n"
+" grid.set_row_homogeneous(False)\n"
+" grid.set_row_spacing(15)\n"
+" grid.attach(self.spinner, 0, 0, 1, 1)\n"
+" grid.attach(button, 0, 1, 1, 1)\n"
"\n"
" # add the grid to the window\n"
" self.add(grid)\n"
@@ -48599,7 +52418,9 @@ msgstr ""
" else:\n"
" self.spinner.stop()\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -48614,11 +52435,13 @@ msgstr ""
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/togglebutton.py.page:35(section/title)
+#. (itstool) path: section/title
+#: C/togglebutton.py.page:35
msgid "Useful methods for a ToggleButton widget"
msgstr "Métodos útiles para un widget «ToggleButton»"
-#: C/togglebutton.py.page:36(section/p)
+#. (itstool) path: section/p
+#: C/togglebutton.py.page:36
msgid ""
"In line 22 the signal <code>\"toggled\"</code> is connected to the callback "
"function <code>toggled_cb()</code> using <code><var>widget</var>.connect"
@@ -48631,8 +52454,9 @@ msgstr ""
"Consulte la <link xref=\"signals-callbacks.py\"/> para una explicación más "
"detallada."
-#: C/togglebutton.py.page:44(item/p) C/toolbar.py.page:59(item/p)
-#: C/toolbar_builder.py.page:197(item/p)
+#. (itstool) path: item/p
+#: C/togglebutton.py.page:44 C/toolbar.py.page:59
+#: C/toolbar_builder.py.page:197
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkWidget.html"
"\">GtkWidget</link>"
@@ -48640,12 +52464,14 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkWidget.html"
"\">GtkWidget</link>"
-#: C/togglebutton.vala.page:7(info/title)
+#. (itstool) path: info/title
+#: C/togglebutton.vala.page:7
msgctxt "text"
msgid "ToggleButton (Vala)"
msgstr "ToggleButton (Vala)"
-#: C/togglebutton.vala.page:27(page/code)
+#. (itstool) path: page/code
+#: C/togglebutton.vala.page:27
#, no-wrap
msgid ""
"public class MyWindow : Gtk.ApplicationWindow {\n"
@@ -48760,7 +52586,8 @@ msgstr ""
"\treturn new MyApplication ().run (args);\n"
"}\n"
-#: C/togglebutton.vala.page:32(item/p)
+#. (itstool) path: item/p
+#: C/togglebutton.vala.page:32
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.ToggleButton.html\">Gtk."
"ToggleButton</link>"
@@ -48768,60 +52595,38 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.ToggleButton.html\">Gtk."
"ToggleButton</link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/toolbar.c.page:24(media) C/toolbar.js.page:21(media)
-#: C/toolbar.py.page:24(media) C/toolbar.vala.page:23(media)
-#: C/toolbar_builder.py.page:37(media) C/toolbar_builder.vala.page:24(media)
+#: C/toolbar.c.page:24 C/toolbar.js.page:21 C/toolbar.py.page:24
+#: C/toolbar.vala.page:23 C/toolbar_builder.py.page:37
+#: C/toolbar_builder.vala.page:24
msgctxt "_"
msgid "external ref='media/toolbar.png' md5='f0350855eedf6343952b72d6d906f738'"
msgstr ""
"external ref='media/toolbar.png' md5='f0350855eedf6343952b72d6d906f738'"
-#: C/toolbar.c.page:7(info/title)
+#. (itstool) path: info/title
+#: C/toolbar.c.page:7
msgctxt "text"
msgid "Toolbar (C)"
msgstr "Barra de herramientas (C)"
-#: C/toolbar.c.page:19(info/desc) C/toolbar.vala.page:18(info/desc)
-#: C/toolbar_builder.vala.page:19(info/desc)
+#. (itstool) path: info/desc
+#: C/toolbar.c.page:19 C/toolbar.vala.page:18 C/toolbar_builder.vala.page:19
msgid "A bar of buttons"
msgstr "Una barra de botones"
-#: C/toolbar.c.page:22(page/title) C/toolbar.js.page:20(page/title)
-#: C/toolbar.py.page:22(page/title) C/toolbar.vala.page:21(page/title)
+#. (itstool) path: page/title
+#: C/toolbar.c.page:22 C/toolbar.js.page:20 C/toolbar.py.page:22
+#: C/toolbar.vala.page:21
msgid "Toolbar"
msgstr "Barra de herramientas"
-#: C/toolbar.c.page:25(page/p) C/toolbar.js.page:22(page/p)
-#: C/toolbar.vala.page:24(page/p)
+#. (itstool) path: page/p
+#: C/toolbar.c.page:25 C/toolbar.js.page:22 C/toolbar.vala.page:24
msgid ""
"Toolbar can contain either text or stock icons. In this sample we use stock "
"icons. This example has fullscreen functionality."
@@ -48830,7 +52635,8 @@ msgstr ""
"ejemplo se usan iconos del almacén. Este ejemplo funciona a pantalla "
"completa."
-#: C/toolbar.c.page:26(page/p)
+#. (itstool) path: page/p
+#: C/toolbar.c.page:26
msgid ""
"This example uses SimpleActions (window and app). App actions can easily be "
"added to the app menu."
@@ -48838,7 +52644,8 @@ msgstr ""
"Este ejemplo usa «SimpleActions» (ventana y aplicación). Las acciones de la "
"aplicación se pueden añadir fácilmente al menú de la aplicación."
-#: C/toolbar.c.page:28(page/code)
+#. (itstool) path: page/code
+#: C/toolbar.c.page:28
#, no-wrap
msgid ""
"\n"
@@ -49285,8 +53092,8 @@ msgstr ""
" return status;\n"
"}\n"
-#: C/toolbar.c.page:34(item/p) C/tooltip.c.page:38(item/p)
-#: C/tooltip.py.page:59(item/p)
+#. (itstool) path: item/p
+#: C/toolbar.c.page:34 C/tooltip.c.page:38 C/tooltip.py.page:59
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkToolbar.html"
"\">GtkToolbar</link>"
@@ -49294,7 +53101,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkToolbar.html"
"\">GtkToolbar</link>"
-#: C/toolbar.c.page:35(item/p)
+#. (itstool) path: item/p
+#: C/toolbar.c.page:35
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkToolButton.html"
"\">GtkToolbutton</link>"
@@ -49302,16 +53110,19 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkToolButton.html"
"\">GtkToolbutton</link>"
-#: C/toolbar.js.page:7(info/title)
+#. (itstool) path: info/title
+#: C/toolbar.js.page:7
msgctxt "text"
msgid "Toolbar (JavaScript)"
msgstr "Toolbar (JavaScript)"
-#: C/toolbar.js.page:17(info/desc)
+#. (itstool) path: info/desc
+#: C/toolbar.js.page:17
msgid "A bar of tools"
msgstr "Una barra de botones"
-#: C/toolbar.js.page:23(page/p) C/toolbar.vala.page:25(page/p)
+#. (itstool) path: page/p
+#: C/toolbar.js.page:23 C/toolbar.vala.page:25
msgid ""
"This example uses SimpleActions (window and app). App actions can easily be "
"added the the app menu."
@@ -49319,7 +53130,8 @@ msgstr ""
"Este ejemplo usa SimpleActions (ventana y aplicación). Las acciones de la "
"aplicación se pueden añadir fácilmente al menú de la aplicación."
-#: C/toolbar.js.page:25(page/code)
+#. (itstool) path: page/code
+#: C/toolbar.js.page:25
#, no-wrap
msgid ""
"#!/usr/bin/gjs\n"
@@ -49666,7 +53478,8 @@ msgstr ""
"let app = new Application();\n"
"app.application.run(ARGV);\n"
-#: C/toolbar.js.page:30(item/p)
+#. (itstool) path: item/p
+#: C/toolbar.js.page:30
msgid ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.Window.html"
"\">Gtk.Window</link>"
@@ -49674,7 +53487,8 @@ msgstr ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.Window.html"
"\">Gtk.Window</link>"
-#: C/toolbar.js.page:31(item/p)
+#. (itstool) path: item/p
+#: C/toolbar.js.page:31
msgid ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.Toolbar.html"
"\">Gtk.Toolbar</link>"
@@ -49682,7 +53496,8 @@ msgstr ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.Toolbar.html"
"\">Gtk.Toolbar</link>"
-#: C/toolbar.js.page:32(item/p)
+#. (itstool) path: item/p
+#: C/toolbar.js.page:32
msgid ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.ToolButton."
"html\">Gtk.ToolButton</link>"
@@ -49690,7 +53505,8 @@ msgstr ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.ToolButton."
"html\">Gtk.ToolButton</link>"
-#: C/toolbar.js.page:33(item/p)
+#. (itstool) path: item/p
+#: C/toolbar.js.page:33
msgid ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.html\">Gtk "
"Stock items</link>"
@@ -49698,7 +53514,8 @@ msgstr ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.html"
"\">Elementos del almacén de GTK</link>"
-#: C/toolbar.js.page:34(item/p)
+#. (itstool) path: item/p
+#: C/toolbar.js.page:34
msgid ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gdk.WindowState."
"html\">Gdk.WindowState</link>"
@@ -49706,29 +53523,168 @@ msgstr ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gdk.WindowState."
"html\">Gdk.WindowState</link>"
-#: C/toolbar.py.page:7(info/title)
+#. (itstool) path: info/title
+#: C/toolbar.py.page:7
msgctxt "text"
msgid "Toolbar (Python)"
msgstr "Toolbar (Python)"
-#: C/toolbar.py.page:19(info/desc) C/toolbar_builder.py.page:32(info/desc)
+#. (itstool) path: info/desc
+#: C/toolbar.py.page:19 C/toolbar_builder.py.page:32
msgid "A bar of buttons and other widgets"
msgstr "Una barra de botones y otros widgets"
-#: C/toolbar.py.page:25(page/p)
+#. (itstool) path: page/p
+#: C/toolbar.py.page:25
msgid "An example of toolbar with buttons (from stock icons)."
msgstr ""
"Un ejemplo de barra de herramientas con botones (con iconos del almacén)."
-#: C/toolbar.py.page:32(section/code)
+#. (itstool) path: section/code
+#: C/toolbar.py.page:32
#, no-wrap
+#| msgid ""
+#| "from gi.repository import Gtk\n"
+#| "from gi.repository import Gdk\n"
+#| "from gi.repository import Gio\n"
+#| "import sys\n"
+#| "\n"
+#| "class MyWindow(Gtk.ApplicationWindow):\n"
+#| " def __init__(self, app):\n"
+#| " Gtk.Window.__init__(self, title=\"Toolbar Example\", application=app)\n"
+#| " self.set_default_size(400, 200)\n"
+#| "\n"
+#| " # a grid to attach the toolbar\n"
+#| " grid = Gtk.Grid()\n"
+#| "\n"
+#| " # a toolbar created in the method create_toolbar (see below)\n"
+#| " toolbar = self.create_toolbar()\n"
+#| " # with extra horizontal space\n"
+#| " toolbar.set_hexpand(True)\n"
+#| " # show the toolbar\n"
+#| " toolbar.show()\n"
+#| "\n"
+#| " # attach the toolbar to the grid\n"
+#| " grid.attach(toolbar, 0, 0, 1, 1)\n"
+#| "\n"
+#| " # add the grid to the window\n"
+#| " self.add(grid)\n"
+#| "\n"
+#| " # create the actions that control the window and connect their signal to a\n"
+#| " # callback method (see below):\n"
+#| "\n"
+#| " # undo\n"
+#| " undo_action = Gio.SimpleAction.new(\"undo\", None)\n"
+#| " undo_action.connect(\"activate\", self.undo_callback)\n"
+#| " self.add_action(undo_action)\n"
+#| "\n"
+#| " # fullscreen\n"
+#| " fullscreen_action = Gio.SimpleAction.new(\"fullscreen\", None)\n"
+#| " fullscreen_action.connect(\"activate\", self.fullscreen_callback)\n"
+#| " self.add_action(fullscreen_action)\n"
+#| "\n"
+#| " # a method to create the toolbar\n"
+#| " def create_toolbar(self):\n"
+#| " # a toolbar\n"
+#| " toolbar = Gtk.Toolbar()\n"
+#| "\n"
+#| " # which is the primary toolbar of the application\n"
+#| " toolbar.get_style_context().add_class(Gtk.STYLE_CLASS_PRIMARY_TOOLBAR);\n"
+#| "\n"
+#| " # create a button for the \"new\" action, with a stock image\n"
+#| " new_button = Gtk.ToolButton.new_from_stock(Gtk.STOCK_NEW)\n"
+#| " # label is shown\n"
+#| " new_button.set_is_important(True)\n"
+#| " # insert the button at position in the toolbar\n"
+#| " toolbar.insert(new_button, 0)\n"
+#| " # show the button\n"
+#| " new_button.show()\n"
+#| " # set the name of the action associated with the button.\n"
+#| " # The action controls the application (app)\n"
+#| " new_button.set_action_name(\"app.new\")\n"
+#| "\n"
+#| " # button for the \"open\" action\n"
+#| " open_button = Gtk.ToolButton.new_from_stock(Gtk.STOCK_OPEN)\n"
+#| " open_button.set_is_important(True)\n"
+#| " toolbar.insert(open_button, 1)\n"
+#| " open_button.show()\n"
+#| " open_button.set_action_name(\"app.open\")\n"
+#| "\n"
+#| " # button for the \"undo\" action\n"
+#| " undo_button = Gtk.ToolButton.new_from_stock(Gtk.STOCK_UNDO)\n"
+#| " undo_button.set_is_important(True)\n"
+#| " toolbar.insert(undo_button, 2)\n"
+#| " undo_button.show()\n"
+#| " undo_button.set_action_name(\"win.undo\")\n"
+#| "\n"
+#| " # button for the \"fullscreen/leave fullscreen\" action\n"
+#| " self.fullscreen_button = Gtk.ToolButton.new_from_stock(Gtk.STOCK_FULLSCREEN)\n"
+#| " self.fullscreen_button.set_is_important(True)\n"
+#| " toolbar.insert(self.fullscreen_button, 3)\n"
+#| " self.fullscreen_button.set_action_name(\"win.fullscreen\")\n"
+#| "\n"
+#| " # return the complete toolbar\n"
+#| " return toolbar\n"
+#| "\n"
+#| " # callback method for undo\n"
+#| " def undo_callback(self, action, parameter):\n"
+#| " print \"You clicked \\\"Undo\\\".\"\n"
+#| "\n"
+#| " # callback method for fullscreen / leave fullscreen\n"
+#| " def fullscreen_callback(self, action, parameter):\n"
+#| " # check if the state is the same as Gdk.WindowState.FULLSCREEN, which is a bit flag\n"
+#| " is_fullscreen = self.get_window().get_state() & Gdk.WindowState.FULLSCREEN != 0\n"
+#| " if not is_fullscreen:\n"
+#| " self.fullscreen_button.set_stock_id(Gtk.STOCK_LEAVE_FULLSCREEN)\n"
+#| " self.fullscreen()\n"
+#| " else:\n"
+#| " self.fullscreen_button.set_stock_id(Gtk.STOCK_FULLSCREEN)\n"
+#| " self.unfullscreen()\n"
+#| "\n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " def __init__(self):\n"
+#| " Gtk.Application.__init__(self)\n"
+#| "\n"
+#| " def do_activate(self):\n"
+#| " win = MyWindow(self)\n"
+#| " win.show_all()\n"
+#| "\n"
+#| " def do_startup(self):\n"
+#| " Gtk.Application.do_startup(self)\n"
+#| "\n"
+#| " # create the actions that control the window and connect their signal to a\n"
+#| " # callback method (see below):\n"
+#| "\n"
+#| " # new\n"
+#| " new_action = Gio.SimpleAction.new(\"new\", None)\n"
+#| " new_action.connect(\"activate\", self.new_callback)\n"
+#| " app.add_action(new_action)\n"
+#| "\n"
+#| " # open\n"
+#| " open_action = Gio.SimpleAction.new(\"open\", None)\n"
+#| " open_action.connect(\"activate\", self.open_callback)\n"
+#| " app.add_action(open_action)\n"
+#| "\n"
+#| " # callback method for new\n"
+#| " def new_callback(self, action, parameter):\n"
+#| " print \"You clicked \\\"New\\\".\"\n"
+#| "\n"
+#| " # callback method for open\n"
+#| " def open_callback(self, action, parameter):\n"
+#| " print \"You clicked \\\"Open\\\".\"\n"
+#| "\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"from gi.repository import Gtk\n"
"from gi.repository import Gdk\n"
"from gi.repository import Gio\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"Toolbar Example\", application=app)\n"
" self.set_default_size(400, 200)\n"
@@ -49768,7 +53724,7 @@ msgid ""
" toolbar = Gtk.Toolbar()\n"
"\n"
" # which is the primary toolbar of the application\n"
-" toolbar.get_style_context().add_class(Gtk.STYLE_CLASS_PRIMARY_TOOLBAR);\n"
+" toolbar.get_style_context().add_class(Gtk.STYLE_CLASS_PRIMARY_TOOLBAR)\n"
"\n"
" # create a button for the \"new\" action, with a stock image\n"
" new_button = Gtk.ToolButton.new_from_stock(Gtk.STOCK_NEW)\n"
@@ -49797,7 +53753,8 @@ msgid ""
" undo_button.set_action_name(\"win.undo\")\n"
"\n"
" # button for the \"fullscreen/leave fullscreen\" action\n"
-" self.fullscreen_button = Gtk.ToolButton.new_from_stock(Gtk.STOCK_FULLSCREEN)\n"
+" self.fullscreen_button = Gtk.ToolButton.new_from_stock(\n"
+" Gtk.STOCK_FULLSCREEN)\n"
" self.fullscreen_button.set_is_important(True)\n"
" toolbar.insert(self.fullscreen_button, 3)\n"
" self.fullscreen_button.set_action_name(\"win.fullscreen\")\n"
@@ -49811,8 +53768,10 @@ msgid ""
"\n"
" # callback method for fullscreen / leave fullscreen\n"
" def fullscreen_callback(self, action, parameter):\n"
-" # check if the state is the same as Gdk.WindowState.FULLSCREEN, which is a bit flag\n"
-" is_fullscreen = self.get_window().get_state() & Gdk.WindowState.FULLSCREEN != 0\n"
+" # check if the state is the same as Gdk.WindowState.FULLSCREEN, which\n"
+" # is a bit flag\n"
+" is_fullscreen = self.get_window().get_state(\n"
+" ) & Gdk.WindowState.FULLSCREEN != 0\n"
" if not is_fullscreen:\n"
" self.fullscreen_button.set_stock_id(Gtk.STOCK_LEAVE_FULLSCREEN)\n"
" self.fullscreen()\n"
@@ -49820,7 +53779,9 @@ msgid ""
" self.fullscreen_button.set_stock_id(Gtk.STOCK_FULLSCREEN)\n"
" self.unfullscreen()\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -49861,7 +53822,9 @@ msgstr ""
"from gi.repository import Gio\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"Toolbar Example\", application=app)\n"
" self.set_default_size(400, 200)\n"
@@ -49901,7 +53864,7 @@ msgstr ""
" toolbar = Gtk.Toolbar()\n"
"\n"
" # which is the primary toolbar of the application\n"
-" toolbar.get_style_context().add_class(Gtk.STYLE_CLASS_PRIMARY_TOOLBAR);\n"
+" toolbar.get_style_context().add_class(Gtk.STYLE_CLASS_PRIMARY_TOOLBAR)\n"
"\n"
" # create a button for the \"new\" action, with a stock image\n"
" new_button = Gtk.ToolButton.new_from_stock(Gtk.STOCK_NEW)\n"
@@ -49930,7 +53893,8 @@ msgstr ""
" undo_button.set_action_name(\"win.undo\")\n"
"\n"
" # button for the \"fullscreen/leave fullscreen\" action\n"
-" self.fullscreen_button = Gtk.ToolButton.new_from_stock(Gtk.STOCK_FULLSCREEN)\n"
+" self.fullscreen_button = Gtk.ToolButton.new_from_stock(\n"
+" Gtk.STOCK_FULLSCREEN)\n"
" self.fullscreen_button.set_is_important(True)\n"
" toolbar.insert(self.fullscreen_button, 3)\n"
" self.fullscreen_button.set_action_name(\"win.fullscreen\")\n"
@@ -49944,8 +53908,10 @@ msgstr ""
"\n"
" # callback method for fullscreen / leave fullscreen\n"
" def fullscreen_callback(self, action, parameter):\n"
-" # check if the state is the same as Gdk.WindowState.FULLSCREEN, which is a bit flag\n"
-" is_fullscreen = self.get_window().get_state() & Gdk.WindowState.FULLSCREEN != 0\n"
+" # check if the state is the same as Gdk.WindowState.FULLSCREEN, which\n"
+" # is a bit flag\n"
+" is_fullscreen = self.get_window().get_state(\n"
+" ) & Gdk.WindowState.FULLSCREEN != 0\n"
" if not is_fullscreen:\n"
" self.fullscreen_button.set_stock_id(Gtk.STOCK_LEAVE_FULLSCREEN)\n"
" self.fullscreen()\n"
@@ -49953,7 +53919,9 @@ msgstr ""
" self.fullscreen_button.set_stock_id(Gtk.STOCK_FULLSCREEN)\n"
" self.unfullscreen()\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -49989,11 +53957,13 @@ msgstr ""
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/toolbar.py.page:36(section/title)
+#. (itstool) path: section/title
+#: C/toolbar.py.page:36
msgid "Useful methods for a Toolbar widget"
msgstr "Métodos útiles para un widget de barra de herramientas"
-#: C/toolbar.py.page:37(section/p)
+#. (itstool) path: section/p
+#: C/toolbar.py.page:37
msgid ""
"In line 32 the signal <code>\"activate\"</code> from the action "
"<code>undo_action</code> is connected to the callback function "
@@ -50008,7 +53978,8 @@ msgstr ""
"Consulte la <link xref=\"signals-callbacks.py\"/> para una explicación más "
"detallada."
-#: C/toolbar.py.page:40(item/p)
+#. (itstool) path: item/p
+#: C/toolbar.py.page:40
msgid ""
"Use <code>insert(tool_item, position)</code> to insert the <code>tool_item</"
"code> at <code>position</code>. If <code>position</code> is negative, the "
@@ -50018,7 +53989,8 @@ msgstr ""
"<code>tool_item</code> en <code>position</code>. Si <code>position</code> es "
"negativo, el elemento se añade al final de la barra de herramientas."
-#: C/toolbar.py.page:41(item/p)
+#. (itstool) path: item/p
+#: C/toolbar.py.page:41
msgid ""
"<code>get_item_index(tool_item)</code> retrieves the position of "
"<code>tool_item</code> on the toolbar."
@@ -50026,7 +53998,8 @@ msgstr ""
"<code>get_item_index(tool_item)</code> obtiene la posición de "
"<code>tool_item</code> en la barra de herramientas."
-#: C/toolbar.py.page:42(item/p)
+#. (itstool) path: item/p
+#: C/toolbar.py.page:42
msgid ""
"<code>get_n_items()</code> returns the number of items on the toolbar; "
"<code>get_nth_item(position)</code> returns the item in position "
@@ -50036,7 +54009,8 @@ msgstr ""
"herramientas; <code>get_nth_item(position)</code> devuelve el elemento en la "
"posición <code>position</code>."
-#: C/toolbar.py.page:43(item/p)
+#. (itstool) path: item/p
+#: C/toolbar.py.page:43
msgid ""
"If the toolbar does not have room for all the menu items, and "
"<code>set_show_arrow(True)</code>, the items that do not have room are shown "
@@ -50046,7 +54020,8 @@ msgstr ""
"menú, y <code>set_show_arrow(True)</code>, los elementos que no entran se "
"muestran a través de un menú flotante."
-#: C/toolbar.py.page:44(item/p)
+#. (itstool) path: item/p
+#: C/toolbar.py.page:44
msgid ""
"<code>set_icon_size(icon_size)</code> sets the size of icons in the toolbar; "
"<code>icon_size</code> can be one of <code>Gtk.IconSize.INVALID, Gtk."
@@ -50068,7 +54043,8 @@ msgstr ""
"<code>set_icon_size(icon_size)</code>, para que las preferencias de usuario "
"se usen para determinar el tamaño de los iconos."
-#: C/toolbar.py.page:45(item/p)
+#. (itstool) path: item/p
+#: C/toolbar.py.page:45
msgid ""
"<code>set_style(style)</code>, where <code>style</code> is one of <code>Gtk."
"ToolbarStyle.ICONS, Gtk.ToolbarStyle.TEXT, Gtk.ToolbarStyle.BOTH, Gtk."
@@ -50085,7 +54061,8 @@ msgstr ""
"estilo de la barra de herramientas, y restablecer el estilo de barra de "
"herramientas, use <code>unset_style()</code>."
-#: C/toolbar.py.page:54(item/p)
+#. (itstool) path: item/p
+#: C/toolbar.py.page:54
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkToolbar.html"
"\">GtkToolbar</link>"
@@ -50093,7 +54070,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkToolbar.html"
"\">GtkToolbar</link>"
-#: C/toolbar.py.page:55(item/p)
+#. (itstool) path: item/p
+#: C/toolbar.py.page:55
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkToolButton.html"
"\">GtkToolButton</link>"
@@ -50101,7 +54079,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkToolButton.html"
"\">GtkToolButton</link>"
-#: C/toolbar.py.page:56(item/p)
+#. (itstool) path: item/p
+#: C/toolbar.py.page:56
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkToolItem.html"
"\">GtkToolItem</link>"
@@ -50109,7 +54088,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkToolItem.html"
"\">GtkToolItem</link>"
-#: C/toolbar.py.page:58(item/p)
+#. (itstool) path: item/p
+#: C/toolbar.py.page:58
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkActionable.html"
"\">GtkActionable</link>"
@@ -50117,7 +54097,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkActionable.html"
"\">GtkActionable</link>"
-#: C/toolbar.py.page:60(item/p) C/toolbar_builder.py.page:198(item/p)
+#. (itstool) path: item/p
+#: C/toolbar.py.page:60 C/toolbar_builder.py.page:198
msgid ""
"<link href=\"http://developer.gnome.org/gdk3/unstable/gdk3-Event-Structures."
"html#GdkEventWindowState\">Event Structures</link>"
@@ -50125,12 +54106,14 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gdk3/unstable/gdk3-Event-Structures."
"html#GdkEventWindowState\">Estructuras de eventos</link>"
-#: C/toolbar.vala.page:7(info/title)
+#. (itstool) path: info/title
+#: C/toolbar.vala.page:7
msgctxt "text"
msgid "Toolbar (Vala)"
msgstr "Barra de herramientas (Vala)"
-#: C/toolbar.vala.page:27(page/code)
+#. (itstool) path: page/code
+#: C/toolbar.vala.page:27
#, no-wrap
msgid ""
"/* This is the Window */\n"
@@ -50399,8 +54382,9 @@ msgstr ""
"\treturn new MyApplication ().run (args);\n"
"}\n"
-#: C/toolbar.vala.page:33(item/p) C/toolbar_builder.vala.page:150(item/p)
-#: C/tooltip.vala.page:39(item/p)
+#. (itstool) path: item/p
+#: C/toolbar.vala.page:33 C/toolbar_builder.vala.page:150
+#: C/tooltip.vala.page:39
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Toolbar.html\">Gtk.Toolbar</"
"link>"
@@ -50408,7 +54392,8 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Toolbar.html\">Gtk.Toolbar</"
"link>"
-#: C/toolbar.vala.page:34(item/p) C/toolbar_builder.vala.page:151(item/p)
+#. (itstool) path: item/p
+#: C/toolbar.vala.page:34 C/toolbar_builder.vala.page:151
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.ToolButton.html\">Gtk."
"Toolbutton</link>"
@@ -50416,7 +54401,8 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.ToolButton.html\">Gtk."
"Toolbutton</link>"
-#: C/toolbar.vala.page:35(item/p) C/toolbar_builder.vala.page:152(item/p)
+#. (itstool) path: item/p
+#: C/toolbar.vala.page:35 C/toolbar_builder.vala.page:152
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Stock.html\">Gtk.Stock</"
"link>"
@@ -50424,32 +54410,24 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Stock.html\">Gtk.Stock</"
"link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/toolbar_builder.py.page:49(media) C/toolbar_builder.vala.page:32(media)
+#: C/toolbar_builder.py.page:49 C/toolbar_builder.vala.page:32
msgctxt "_"
msgid ""
"external ref='media/glade_ui.png' md5='baea74fe213bc12ea934f64f6977215a'"
msgstr ""
"external ref='media/glade_ui.png' md5='baea74fe213bc12ea934f64f6977215a'"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/toolbar_builder.py.page:55(media) C/toolbar_builder.vala.page:38(media)
+#: C/toolbar_builder.py.page:55 C/toolbar_builder.vala.page:38
msgctxt "_"
msgid ""
"external ref='media/glade_select_toolbar.png' "
@@ -50458,16 +54436,12 @@ msgstr ""
"external ref='media/glade_select_toolbar.png' "
"md5='f7b5b224050b2e387eb04362fc99df00'"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/toolbar_builder.py.page:61(media) C/toolbar_builder.vala.page:44(media)
+#: C/toolbar_builder.py.page:61 C/toolbar_builder.vala.page:44
msgctxt "_"
msgid ""
"external ref='media/glade_toolbar_general.png' "
@@ -50476,16 +54450,12 @@ msgstr ""
"external ref='media/glade_toolbar_general.png' "
"md5='e31daba6e8a3e526aca89d5f1622edaa'"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/toolbar_builder.py.page:67(media) C/toolbar_builder.vala.page:50(media)
+#: C/toolbar_builder.py.page:67 C/toolbar_builder.vala.page:50
msgctxt "_"
msgid ""
"external ref='media/glade_toolbar_common.png' "
@@ -50494,16 +54464,12 @@ msgstr ""
"external ref='media/glade_toolbar_common.png' "
"md5='d5ec6cc0218ca98e195dbd033feb9ac5'"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/toolbar_builder.py.page:73(media) C/toolbar_builder.vala.page:56(media)
+#: C/toolbar_builder.py.page:73 C/toolbar_builder.vala.page:56
msgctxt "_"
msgid ""
"external ref='media/glade_toolbar_edit.png' "
@@ -50512,16 +54478,12 @@ msgstr ""
"external ref='media/glade_toolbar_edit.png' "
"md5='feb1e2b7040d24a4d030f94cf07c81fd'"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/toolbar_builder.py.page:132(media) C/toolbar_builder.vala.page:115(media)
+#: C/toolbar_builder.py.page:132 C/toolbar_builder.vala.page:115
msgctxt "_"
msgid ""
"external ref='media/glade_toolbar_editor.png' "
@@ -50530,16 +54492,12 @@ msgstr ""
"external ref='media/glade_toolbar_editor.png' "
"md5='8af65241e5ca47d5494a7b36640e6f1c'"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/toolbar_builder.py.page:141(media) C/toolbar_builder.vala.page:124(media)
+#: C/toolbar_builder.py.page:141 C/toolbar_builder.vala.page:124
msgctxt "_"
msgid ""
"external ref='media/glade_visible_no.png' "
@@ -50548,17 +54506,19 @@ msgstr ""
"external ref='media/glade_visible_no.png' "
"md5='dc6c025aa825f4d772fbd283d6330026'"
-#: C/toolbar_builder.py.page:7(info/title)
+#. (itstool) path: info/title
+#: C/toolbar_builder.py.page:7
msgctxt "text"
msgid "Toolbar created using Glade (Python)"
msgstr "Barra de herramientas creada con Glade (Python)"
-#: C/toolbar_builder.py.page:35(page/title)
-#: C/toolbar_builder.vala.page:22(page/title)
+#. (itstool) path: page/title
+#: C/toolbar_builder.py.page:35 C/toolbar_builder.vala.page:22
msgid "Toolbar created using Glade"
msgstr "Barra de herramientas creada con Glade"
-#: C/toolbar_builder.py.page:38(page/p)
+#. (itstool) path: page/p
+#: C/toolbar_builder.py.page:38
msgid ""
"This example is similar to <link xref=\"toolbar.py\"/>, except we use Glade "
"to create the toolbar in an XML .ui file."
@@ -50566,12 +54526,14 @@ msgstr ""
"Este ejemplo es similar al de la <link xref=\"toolbar.py\"/>, excepto que se "
"usa Glade para crear la barra de herramientas en un archivo .ui XML."
-#: C/toolbar_builder.py.page:43(section/title)
+#. (itstool) path: section/title
+#: C/toolbar_builder.py.page:43
msgid "Creating the toolbar with Glade"
msgstr "Crear la barra de herramientas con Glade"
-#: C/toolbar_builder.py.page:44(section/p)
-#: C/toolbar_builder.vala.page:27(page/p)
+#. (itstool) path: section/p
+#. (itstool) path: page/p
+#: C/toolbar_builder.py.page:44 C/toolbar_builder.vala.page:27
msgid ""
"To create the toolbar using the <link href=\"http://glade.gnome.org/\">Glade "
"Interface Designer</link>:"
@@ -50579,11 +54541,13 @@ msgstr ""
"Para crear la barra de herramientas usando el <link href=\"http://glade."
"gnome.org/\">diseñador de interfaces Glade</link>:"
-#: C/toolbar_builder.py.page:48(item/p) C/toolbar_builder.vala.page:31(item/p)
+#. (itstool) path: item/p
+#: C/toolbar_builder.py.page:48 C/toolbar_builder.vala.page:31
msgid "Open Glade, and save the file as <file>toolbar_builder.ui</file>"
msgstr "Abra Glade y guarde el archivo como <file>toolbar_builder.ui</file>"
-#: C/toolbar_builder.py.page:49(item/p) C/toolbar_builder.vala.page:32(item/p)
+#. (itstool) path: item/p
+#: C/toolbar_builder.py.page:49 C/toolbar_builder.vala.page:32
msgid ""
"<media type=\"image\" src=\"media/glade_ui.png\" width=\"900\"> Screenshot "
"of Glade ui </media>"
@@ -50591,7 +54555,8 @@ msgstr ""
"<media type=\"image\" src=\"media/glade_ui.png\" width=\"900\"> Captura de "
"pantalla de la IU de Glade </media>"
-#: C/toolbar_builder.py.page:54(item/p) C/toolbar_builder.vala.page:37(item/p)
+#. (itstool) path: item/p
+#: C/toolbar_builder.py.page:54 C/toolbar_builder.vala.page:37
msgid ""
"Under <gui>Containers</gui> on the left hand side, right click on the "
"toolbar icon and select <gui>Add widget as toplevel</gui>."
@@ -50600,7 +54565,8 @@ msgstr ""
"derecho en el icono de la barra de herramientas y seleccione <gui>Añadir "
"widget como nivel superior</gui>."
-#: C/toolbar_builder.py.page:55(item/p) C/toolbar_builder.vala.page:38(item/p)
+#. (itstool) path: item/p
+#: C/toolbar_builder.py.page:55 C/toolbar_builder.vala.page:38
msgid ""
"<media type=\"image\" src=\"media/glade_select_toolbar.png\"> Screenshot of "
"toolbar icon in Glade ui </media>"
@@ -50608,7 +54574,8 @@ msgstr ""
"<media type=\"image\" src=\"media/glade_select_toolbar.png\"> Captura de "
"pantalla del icono de la barra de herramientas en la IU de Glade </media>"
-#: C/toolbar_builder.py.page:60(item/p) C/toolbar_builder.vala.page:43(item/p)
+#. (itstool) path: item/p
+#: C/toolbar_builder.py.page:60 C/toolbar_builder.vala.page:43
msgid ""
"Under the <gui>General</gui> tab on the bottom right, change the <gui>Name</"
"gui> to <input>toolbar</input> and <gui>Show Arrow</gui> to <gui>No</gui>."
@@ -50617,7 +54584,8 @@ msgstr ""
"<gui>Nombre</gui> a <input>toolbar</input> y <gui>Mostrar flecha</gui> a "
"<gui>No</gui>."
-#: C/toolbar_builder.py.page:61(item/p) C/toolbar_builder.vala.page:44(item/p)
+#. (itstool) path: item/p
+#: C/toolbar_builder.py.page:61 C/toolbar_builder.vala.page:44
msgid ""
"<media type=\"image\" src=\"media/glade_toolbar_general.png\"> Screenshot of "
"General tab </media>"
@@ -50625,7 +54593,8 @@ msgstr ""
"<media type=\"image\" src=\"media/glade_toolbar_general.png\"> Captura de "
"pantalla de la pestaña «General» </media>"
-#: C/toolbar_builder.py.page:66(item/p) C/toolbar_builder.vala.page:49(item/p)
+#. (itstool) path: item/p
+#: C/toolbar_builder.py.page:66 C/toolbar_builder.vala.page:49
msgid ""
"Under the <gui>Common</gui> tab, set <gui>Horizontal Expand</gui> to "
"<gui>Yes</gui>."
@@ -50633,7 +54602,8 @@ msgstr ""
"Bajo la pestaña <gui>Comunes</gui>, establezca <gui>Expansión horizontal</"
"gui> a <gui>Sí</gui>."
-#: C/toolbar_builder.py.page:67(item/p) C/toolbar_builder.vala.page:50(item/p)
+#. (itstool) path: item/p
+#: C/toolbar_builder.py.page:67 C/toolbar_builder.vala.page:50
msgid ""
"<media type=\"image\" src=\"media/glade_toolbar_common.png\"> Screenshot of "
"Common tab </media>"
@@ -50641,7 +54611,8 @@ msgstr ""
"<media type=\"image\" src=\"media/glade_toolbar_common.png\"> Captura de "
"pantalla de la pestaña «Común» </media>"
-#: C/toolbar_builder.py.page:72(item/p) C/toolbar_builder.vala.page:55(item/p)
+#. (itstool) path: item/p
+#: C/toolbar_builder.py.page:72 C/toolbar_builder.vala.page:55
msgid ""
"Right click on the toolbar in the top right and select <gui>Edit</gui>. The "
"<gui>Tool Bar Editor</gui> window will appear."
@@ -50650,7 +54621,8 @@ msgstr ""
"derecha y seleccione <gui>Editar</gui>. La ventana <gui>Editor de barras de "
"herramientas</gui> aparecerá."
-#: C/toolbar_builder.py.page:73(item/p) C/toolbar_builder.vala.page:56(item/p)
+#. (itstool) path: item/p
+#: C/toolbar_builder.py.page:73 C/toolbar_builder.vala.page:56
msgid ""
"<media type=\"image\" src=\"media/glade_toolbar_edit.png\"> Screenshot of "
"where to right click to edit toolbar. </media>"
@@ -50659,7 +54631,8 @@ msgstr ""
"pantalla que muestra dónde pulsar el botón derecho para editar la barra de "
"herramientas. </media>"
-#: C/toolbar_builder.py.page:78(item/p) C/toolbar_builder.vala.page:61(item/p)
+#. (itstool) path: item/p
+#: C/toolbar_builder.py.page:78 C/toolbar_builder.vala.page:61
msgid ""
"We want to add 5 ToolButtons: New, Open, Undo, Fullscreen and Leave "
"Fullscreen. First, we will add the New ToolButton."
@@ -50667,15 +54640,18 @@ msgstr ""
"Se quieren añadir 5 «ToolButton»: «New», «Open», «Undo», «Fullscreen», y "
"«Leave Fullscreen». Primero, se añadirá el «ToolButton» «New»."
-#: C/toolbar_builder.py.page:81(item/p) C/toolbar_builder.vala.page:64(item/p)
+#. (itstool) path: item/p
+#: C/toolbar_builder.py.page:81 C/toolbar_builder.vala.page:64
msgid "Under <gui>Hierarchy</gui> tab, click <gui>Add</gui>."
msgstr "Bajo la pestaña <gui>Jerarquía</gui>, pulse <gui>Añadir</gui>."
-#: C/toolbar_builder.py.page:82(item/p) C/toolbar_builder.vala.page:65(item/p)
+#. (itstool) path: item/p
+#: C/toolbar_builder.py.page:82 C/toolbar_builder.vala.page:65
msgid "Change the name of the ToolItem to <input>new_button</input>."
msgstr "Cambie el nombre del «ToolItem» a <input>new_button</input>."
-#: C/toolbar_builder.py.page:83(item/p) C/toolbar_builder.vala.page:66(item/p)
+#. (itstool) path: item/p
+#: C/toolbar_builder.py.page:83 C/toolbar_builder.vala.page:66
msgid ""
"Scroll down and set <gui>Is important</gui> to <gui>Yes</gui>. This will "
"cause the label of the ToolButton to be shown, when you view the toolbar."
@@ -50684,15 +54660,18 @@ msgstr ""
"Esto hará que la etiqueta del «ToolButton» se muestre cuando vea la barra de "
"herramientas."
-#: C/toolbar_builder.py.page:84(item/p) C/toolbar_builder.vala.page:67(item/p)
+#. (itstool) path: item/p
+#: C/toolbar_builder.py.page:84 C/toolbar_builder.vala.page:67
msgid "Enter the <gui>action name</gui>: <input>app.new</input>."
msgstr "Introduzca el <gui>Nombre de la acción</gui>: <input>app.new</input>."
-#: C/toolbar_builder.py.page:85(item/p) C/toolbar_builder.vala.page:68(item/p)
+#. (itstool) path: item/p
+#: C/toolbar_builder.py.page:85 C/toolbar_builder.vala.page:68
msgid "Change the <gui>Label</gui> to <input>New</input>."
msgstr "Cambie la <gui>Etiqueta</gui> a <input>New</input>."
-#: C/toolbar_builder.py.page:86(item/p) C/toolbar_builder.vala.page:69(item/p)
+#. (itstool) path: item/p
+#: C/toolbar_builder.py.page:86 C/toolbar_builder.vala.page:69
msgid ""
"Select the <gui>New</gui> Stock Id from the drop down menu, or type "
"<input>gtk-new</input>."
@@ -50700,7 +54679,8 @@ msgstr ""
"Seleccione el ID del inventario <gui>Nuevo</gui> desde el menú desplegable, "
"o escriba <input>gtk-new</input>."
-#: C/toolbar_builder.py.page:88(item/p) C/toolbar_builder.vala.page:71(item/p)
+#. (itstool) path: item/p
+#: C/toolbar_builder.py.page:88 C/toolbar_builder.vala.page:71
msgid ""
"Repeat the above steps for the remaining ToolButtons, with the following "
"properties:"
@@ -50708,92 +54688,112 @@ msgstr ""
"Repita los pasos anteriores para los «ToolButton» restantes, con las "
"siguientes propiedades:"
-#: C/toolbar_builder.py.page:95(td/p) C/toolbar_builder.vala.page:78(td/p)
+#. (itstool) path: td/p
+#: C/toolbar_builder.py.page:95 C/toolbar_builder.vala.page:78
msgid "Is important"
msgstr "Es importante"
-#: C/toolbar_builder.py.page:96(td/p) C/toolbar_builder.vala.page:79(td/p)
+#. (itstool) path: td/p
+#: C/toolbar_builder.py.page:96 C/toolbar_builder.vala.page:79
msgid "Action name"
msgstr "Nombre de la acción"
-#: C/toolbar_builder.py.page:98(td/p) C/toolbar_builder.vala.page:81(td/p)
+#. (itstool) path: td/p
+#: C/toolbar_builder.py.page:98 C/toolbar_builder.vala.page:81
msgid "Stock Id"
msgstr "ID del inventario"
-#: C/toolbar_builder.py.page:103(td/p) C/toolbar_builder.vala.page:86(td/p)
+#. (itstool) path: td/p
+#: C/toolbar_builder.py.page:103 C/toolbar_builder.vala.page:86
msgid "open_button"
msgstr "open_button"
-#: C/toolbar_builder.py.page:104(td/p) C/toolbar_builder.py.page:111(td/p)
-#: C/toolbar_builder.py.page:118(td/p) C/toolbar_builder.py.page:125(td/p)
-#: C/toolbar_builder.vala.page:87(td/p) C/toolbar_builder.vala.page:94(td/p)
-#: C/toolbar_builder.vala.page:101(td/p) C/toolbar_builder.vala.page:108(td/p)
+#. (itstool) path: td/p
+#: C/toolbar_builder.py.page:104 C/toolbar_builder.py.page:111
+#: C/toolbar_builder.py.page:118 C/toolbar_builder.py.page:125
+#: C/toolbar_builder.vala.page:87 C/toolbar_builder.vala.page:94
+#: C/toolbar_builder.vala.page:101 C/toolbar_builder.vala.page:108
msgid "Yes"
msgstr "Sí"
-#: C/toolbar_builder.py.page:105(td/p) C/toolbar_builder.vala.page:88(td/p)
+#. (itstool) path: td/p
+#: C/toolbar_builder.py.page:105 C/toolbar_builder.vala.page:88
msgid "app.open"
msgstr "app.open"
-#: C/toolbar_builder.py.page:106(td/p) C/toolbar_builder.vala.page:89(td/p)
+#. (itstool) path: td/p
+#: C/toolbar_builder.py.page:106 C/toolbar_builder.vala.page:89
msgid "Open"
msgstr "Open"
-#: C/toolbar_builder.py.page:107(td/p) C/toolbar_builder.vala.page:90(td/p)
+#. (itstool) path: td/p
+#: C/toolbar_builder.py.page:107 C/toolbar_builder.vala.page:90
msgid "gtk-open"
msgstr "gtk-open"
-#: C/toolbar_builder.py.page:110(td/p) C/toolbar_builder.vala.page:93(td/p)
+#. (itstool) path: td/p
+#: C/toolbar_builder.py.page:110 C/toolbar_builder.vala.page:93
msgid "undo_button"
msgstr "undo_button"
-#: C/toolbar_builder.py.page:112(td/p) C/toolbar_builder.vala.page:95(td/p)
+#. (itstool) path: td/p
+#: C/toolbar_builder.py.page:112 C/toolbar_builder.vala.page:95
msgid "win.undo"
msgstr "win.undo"
-#: C/toolbar_builder.py.page:113(td/p) C/toolbar_builder.vala.page:96(td/p)
+#. (itstool) path: td/p
+#: C/toolbar_builder.py.page:113 C/toolbar_builder.vala.page:96
msgid "Undo"
msgstr "Undo"
-#: C/toolbar_builder.py.page:114(td/p) C/toolbar_builder.vala.page:97(td/p)
+#. (itstool) path: td/p
+#: C/toolbar_builder.py.page:114 C/toolbar_builder.vala.page:97
msgid "gtk-undo"
msgstr "gtk-undo"
-#: C/toolbar_builder.py.page:117(td/p) C/toolbar_builder.vala.page:100(td/p)
+#. (itstool) path: td/p
+#: C/toolbar_builder.py.page:117 C/toolbar_builder.vala.page:100
msgid "fullscreen_button"
msgstr "fullscreen_button"
-#: C/toolbar_builder.py.page:119(td/p) C/toolbar_builder.py.page:126(td/p)
-#: C/toolbar_builder.vala.page:102(td/p) C/toolbar_builder.vala.page:109(td/p)
+#. (itstool) path: td/p
+#: C/toolbar_builder.py.page:119 C/toolbar_builder.py.page:126
+#: C/toolbar_builder.vala.page:102 C/toolbar_builder.vala.page:109
msgid "win.fullscreen"
msgstr "win.fullscreen"
-#: C/toolbar_builder.py.page:120(td/p) C/toolbar_builder.vala.page:103(td/p)
+#. (itstool) path: td/p
+#: C/toolbar_builder.py.page:120 C/toolbar_builder.vala.page:103
msgid "Fullscreen"
msgstr "Fullscreen"
-#: C/toolbar_builder.py.page:121(td/p) C/toolbar_builder.vala.page:104(td/p)
+#. (itstool) path: td/p
+#: C/toolbar_builder.py.page:121 C/toolbar_builder.vala.page:104
msgid "gtk-fullscreen"
msgstr "gtk-fullscreen"
-#: C/toolbar_builder.py.page:124(td/p) C/toolbar_builder.vala.page:107(td/p)
+#. (itstool) path: td/p
+#: C/toolbar_builder.py.page:124 C/toolbar_builder.vala.page:107
msgid "leave_fullscreen_button"
msgstr "leave_fullscreen_button"
-#: C/toolbar_builder.py.page:127(td/p) C/toolbar_builder.vala.page:110(td/p)
+#. (itstool) path: td/p
+#: C/toolbar_builder.py.page:127 C/toolbar_builder.vala.page:110
msgid "Leave Fullscreen"
msgstr "Leave Fullscreen"
-#: C/toolbar_builder.py.page:128(td/p) C/toolbar_builder.vala.page:111(td/p)
+#. (itstool) path: td/p
+#: C/toolbar_builder.py.page:128 C/toolbar_builder.vala.page:111
msgid "gtk-leave-fullscreen"
msgstr "gtk-leave-fullscreen"
-#: C/toolbar_builder.py.page:137(item/p)
-#: C/toolbar_builder.vala.page:120(item/p)
+#. (itstool) path: item/p
+#: C/toolbar_builder.py.page:137 C/toolbar_builder.vala.page:120
msgid "Close the <gui>Tool Bar Editor</gui>."
msgstr "Cierre el <gui>Editor de la barra de herramientas</gui>."
-#: C/toolbar_builder.py.page:140(item/p)
+#. (itstool) path: item/p
+#: C/toolbar_builder.py.page:140
msgid ""
"When our program will first start, we do not want the <gui>Leave Fullscreen</"
"gui> ToolButton to be visible, since the application will not be in "
@@ -50814,8 +54814,8 @@ msgstr ""
"gui> anularía esta opción, por lo que en el código se tiene que usar "
"<gui>show()</gui> en todos los elementos por separado."
-#: C/toolbar_builder.py.page:141(item/p)
-#: C/toolbar_builder.vala.page:124(item/p)
+#. (itstool) path: item/p
+#: C/toolbar_builder.py.page:141 C/toolbar_builder.vala.page:124
msgid ""
"<media type=\"image\" src=\"media/glade_visible_no.png\"> Setting the "
"visible property to No </media>"
@@ -50823,13 +54823,13 @@ msgstr ""
"<media type=\"image\" src=\"media/glade_visible_no.png\"> Establecer la "
"propiedad «visible» a «No» </media>"
-#: C/toolbar_builder.py.page:146(item/p)
-#: C/toolbar_builder.vala.page:129(item/p)
+#. (itstool) path: item/p
+#: C/toolbar_builder.py.page:146 C/toolbar_builder.vala.page:129
msgid "Save your work, and close Glade."
msgstr "Guarde su trabajo y cierre Glade."
-#: C/toolbar_builder.py.page:149(item/p)
-#: C/toolbar_builder.vala.page:132(item/p)
+#. (itstool) path: item/p
+#: C/toolbar_builder.py.page:149 C/toolbar_builder.vala.page:132
msgid ""
"The XML file created by Glade is shown below. This is the description of the "
"toolbar. At the time of this writing, the option to add the class Gtk."
@@ -50844,8 +54844,8 @@ msgstr ""
"archivo XML. Para hacer esto, añada el siguiente código XML en la línea 9 de "
"<file>toolbar_builder.ui</file>:"
-#: C/toolbar_builder.py.page:150(item/code)
-#: C/toolbar_builder.vala.page:133(item/code)
+#. (itstool) path: item/code
+#: C/toolbar_builder.py.page:150 C/toolbar_builder.vala.page:133
#, no-wrap
msgid ""
"\n"
@@ -50860,8 +54860,8 @@ msgstr ""
" </style>\n"
" "
-#: C/toolbar_builder.py.page:155(item/p)
-#: C/toolbar_builder.vala.page:138(item/p)
+#. (itstool) path: item/p
+#: C/toolbar_builder.py.page:155 C/toolbar_builder.vala.page:138
msgid ""
"If you do not add this, the program will still work fine. The resulting "
"toolbar will however look slightly different then the screenshot at the top "
@@ -50871,8 +54871,9 @@ msgstr ""
"herramientas resultante se verá, sin embargo, ligeramente distinta a la de "
"la captura de pantalla en la parte superior de esta página."
-#: C/toolbar_builder.py.page:158(section/code)
-#: C/toolbar_builder.vala.page:141(page/code)
+#. (itstool) path: section/code
+#. (itstool) path: page/code
+#: C/toolbar_builder.py.page:158 C/toolbar_builder.vala.page:141
#, no-wrap
msgid ""
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
@@ -51065,8 +55066,9 @@ msgstr ""
" </object>\n"
"</interface>\n"
-#: C/toolbar_builder.py.page:165(section/p)
-#: C/toolbar_builder.vala.page:143(page/p)
+#. (itstool) path: section/p
+#. (itstool) path: page/p
+#: C/toolbar_builder.py.page:165 C/toolbar_builder.vala.page:143
msgid ""
"We now create the code below, which adds the toolbar from the file we just "
"created."
@@ -51074,15 +55076,119 @@ msgstr ""
"Ahora se crea el código siguiente, que añade la barra de herramientas desde "
"el archivo que se acaba de crear."
-#: C/toolbar_builder.py.page:166(section/code)
+#. (itstool) path: section/code
+#: C/toolbar_builder.py.page:166
#, no-wrap
+#| msgid ""
+#| "from gi.repository import Gtk\n"
+#| "from gi.repository import Gdk\n"
+#| "from gi.repository import Gio\n"
+#| "import sys\n"
+#| "\n"
+#| "class MyWindow(Gtk.ApplicationWindow):\n"
+#| " def __init__(self, app):\n"
+#| " Gtk.Window.__init__(self, title=\"Toolbar Example\", application=app)\n"
+#| " self.set_default_size(400, 200)\n"
+#| "\n"
+#| " # a grid to attach the toolbar (see below)\n"
+#| " grid = Gtk.Grid()\n"
+#| " self.add(grid)\n"
+#| " # we have to show the grid (and therefore the toolbar) with show(),\n"
+#| " # as show_all() would show also the buttons in the toolbar that we want to\n"
+#| " # be hidden (such as the leave_fullscreen button)\n"
+#| " grid.show()\n"
+#| "\n"
+#| " # a builder to add the UI designed with Glade to the grid:\n"
+#| " builder = Gtk.Builder()\n"
+#| " # get the file (if it is there)\n"
+#| " try:\n"
+#| " builder.add_from_file(\"toolbar_builder.ui\")\n"
+#| " except:\n"
+#| " print \"file not found\"\n"
+#| " sys.exit()\n"
+#| " # and attach it to the grid\n"
+#| " grid.attach(builder.get_object(\"toolbar\"), 0, 0, 1, 1)\n"
+#| "\n"
+#| " # two buttons that will be used later in a method\n"
+#| " self.fullscreen_button = builder.get_object(\"fullscreen_button\")\n"
+#| " self.leave_fullscreen_button = builder.get_object(\"leave_fullscreen_button\")\n"
+#| "\n"
+#| " # create the actions that control the window, connect their signal to a\n"
+#| " # callback method (see below), add the action to the window:\n"
+#| "\n"
+#| " # undo\n"
+#| " undo_action = Gio.SimpleAction.new(\"undo\", None)\n"
+#| " undo_action.connect(\"activate\", self.undo_callback)\n"
+#| " self.add_action(undo_action)\n"
+#| "\n"
+#| " # and fullscreen\n"
+#| " fullscreen_action = Gio.SimpleAction.new(\"fullscreen\", None)\n"
+#| " fullscreen_action.connect(\"activate\", self.fullscreen_callback)\n"
+#| " self.add_action(fullscreen_action)\n"
+#| "\n"
+#| " # callback for undo\n"
+#| " def undo_callback(self, action, parameter):\n"
+#| " print \"You clicked \\\"Undo\\\".\"\n"
+#| "\n"
+#| " # callback for fullscreen\n"
+#| " def fullscreen_callback(self, action, parameter):\n"
+#| " # check if the state is the same as Gdk.WindowState.FULLSCREEN, which is a bit flag\n"
+#| " is_fullscreen = self.get_window().get_state() & Gdk.WindowState.FULLSCREEN != 0\n"
+#| " if is_fullscreen:\n"
+#| " self.unfullscreen()\n"
+#| " self.leave_fullscreen_button.hide()\n"
+#| " self.fullscreen_button.show()\n"
+#| " else:\n"
+#| " self.fullscreen()\n"
+#| " self.fullscreen_button.hide()\n"
+#| " self.leave_fullscreen_button.show()\n"
+#| "\n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " def __init__(self):\n"
+#| " Gtk.Application.__init__(self)\n"
+#| "\n"
+#| " def do_activate(self):\n"
+#| " win = MyWindow(self)\n"
+#| " # show the window - with show() not show_all() because that would show also\n"
+#| " # the leave_fullscreen button\n"
+#| " win.show()\n"
+#| "\n"
+#| " def do_startup(self):\n"
+#| " Gtk.Application.do_startup(self)\n"
+#| "\n"
+#| " # actions that control the application: create, connect their signal to a\n"
+#| " # callback method (see below), add the action to the application\n"
+#| "\n"
+#| " # new\n"
+#| " new_action = Gio.SimpleAction.new(\"new\", None)\n"
+#| " new_action.connect(\"activate\", self.new_callback)\n"
+#| " app.add_action(new_action)\n"
+#| "\n"
+#| " # open\n"
+#| " open_action = Gio.SimpleAction.new(\"open\", None)\n"
+#| " open_action.connect(\"activate\", self.open_callback)\n"
+#| " app.add_action(open_action)\n"
+#| "\n"
+#| " # callback for new\n"
+#| " def new_callback(self, action, parameter):\n"
+#| " print \"You clicked \\\"New\\\".\"\n"
+#| "\n"
+#| " # callback for open\n"
+#| " def open_callback(self, action, parameter):\n"
+#| " print \"You clicked \\\"Open\\\".\"\n"
+#| "\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"from gi.repository import Gtk\n"
"from gi.repository import Gdk\n"
"from gi.repository import Gio\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"Toolbar Example\", application=app)\n"
" self.set_default_size(400, 200)\n"
@@ -51108,7 +55214,8 @@ msgid ""
"\n"
" # two buttons that will be used later in a method\n"
" self.fullscreen_button = builder.get_object(\"fullscreen_button\")\n"
-" self.leave_fullscreen_button = builder.get_object(\"leave_fullscreen_button\")\n"
+" self.leave_fullscreen_button = builder.get_object(\n"
+" \"leave_fullscreen_button\")\n"
"\n"
" # create the actions that control the window, connect their signal to a\n"
" # callback method (see below), add the action to the window:\n"
@@ -51129,8 +55236,10 @@ msgid ""
"\n"
" # callback for fullscreen\n"
" def fullscreen_callback(self, action, parameter):\n"
-" # check if the state is the same as Gdk.WindowState.FULLSCREEN, which is a bit flag\n"
-" is_fullscreen = self.get_window().get_state() & Gdk.WindowState.FULLSCREEN != 0\n"
+" # check if the state is the same as Gdk.WindowState.FULLSCREEN, which\n"
+" # is a bit flag\n"
+" is_fullscreen = self.get_window().get_state(\n"
+" ) & Gdk.WindowState.FULLSCREEN != 0\n"
" if is_fullscreen:\n"
" self.unfullscreen()\n"
" self.leave_fullscreen_button.hide()\n"
@@ -51140,7 +55249,9 @@ msgid ""
" self.fullscreen_button.hide()\n"
" self.leave_fullscreen_button.show()\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -51183,7 +55294,9 @@ msgstr ""
"from gi.repository import Gio\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"Toolbar Example\", application=app)\n"
" self.set_default_size(400, 200)\n"
@@ -51209,7 +55322,8 @@ msgstr ""
"\n"
" # two buttons that will be used later in a method\n"
" self.fullscreen_button = builder.get_object(\"fullscreen_button\")\n"
-" self.leave_fullscreen_button = builder.get_object(\"leave_fullscreen_button\")\n"
+" self.leave_fullscreen_button = builder.get_object(\n"
+" \"leave_fullscreen_button\")\n"
"\n"
" # create the actions that control the window, connect their signal to a\n"
" # callback method (see below), add the action to the window:\n"
@@ -51230,8 +55344,10 @@ msgstr ""
"\n"
" # callback for fullscreen\n"
" def fullscreen_callback(self, action, parameter):\n"
-" # check if the state is the same as Gdk.WindowState.FULLSCREEN, which is a bit flag\n"
-" is_fullscreen = self.get_window().get_state() & Gdk.WindowState.FULLSCREEN != 0\n"
+" # check if the state is the same as Gdk.WindowState.FULLSCREEN, which\n"
+" # is a bit flag\n"
+" is_fullscreen = self.get_window().get_state(\n"
+" ) & Gdk.WindowState.FULLSCREEN != 0\n"
" if is_fullscreen:\n"
" self.unfullscreen()\n"
" self.leave_fullscreen_button.hide()\n"
@@ -51241,7 +55357,9 @@ msgstr ""
" self.fullscreen_button.hide()\n"
" self.leave_fullscreen_button.show()\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -51279,22 +55397,26 @@ msgstr ""
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/toolbar_builder.py.page:171(section/title)
+#. (itstool) path: section/title
+#: C/toolbar_builder.py.page:171
msgid "Useful methods for Gtk.Builder"
msgstr "Métodos útiles para Gtk.Builder"
-#: C/toolbar_builder.py.page:172(section/p)
+#. (itstool) path: section/p
+#: C/toolbar_builder.py.page:172
msgid ""
"For the useful methods for a Toolbar widget, see <link xref=\"toolbar.py\"/>"
msgstr ""
"Para ver los métodos útiles de un widget de barra de herramientas, consulte "
"la <link xref=\"toolbar.py\"/>"
-#: C/toolbar_builder.py.page:174(section/p)
+#. (itstool) path: section/p
+#: C/toolbar_builder.py.page:174
msgid "Gtk.Builder builds an interface from an XML UI definition."
msgstr "Gtk.Builder construye una interfaz desde una definición UI XML."
-#: C/toolbar_builder.py.page:177(item/p)
+#. (itstool) path: item/p
+#: C/toolbar_builder.py.page:177
msgid ""
"<code>add_from_file(filename)</code> loads and parses the given file and "
"merges it with the current contents of the Gtk.Builder."
@@ -51302,7 +55424,8 @@ msgstr ""
"<code>add_from_file(filename)</code> carga y procesa el archivo dado y lo "
"une con el contenido actual del Gtk.Builder."
-#: C/toolbar_builder.py.page:178(item/p)
+#. (itstool) path: item/p
+#: C/toolbar_builder.py.page:178
msgid ""
"<code>add_from_string(string)</code> parses the given string and merges it "
"with the current contents of the Gtk.Builder."
@@ -51310,7 +55433,8 @@ msgstr ""
"<code>add_from_string(string)</code> procesa la cadena dada y la une con el "
"contenido actual del Gtk.Builder."
-#: C/toolbar_builder.py.page:179(item/p)
+#. (itstool) path: item/p
+#: C/toolbar_builder.py.page:179
msgid ""
"<code>add_objects_from_file(filename, object_ids)</code> is the same as "
"<code>add_from_file()</code>, but it loads only the objects with the ids "
@@ -51320,7 +55444,8 @@ msgstr ""
"<code>add_from_file()</code>, pero solo carga los objetos con los ID dados "
"en la lista de <code>object_id</code>."
-#: C/toolbar_builder.py.page:180(item/p)
+#. (itstool) path: item/p
+#: C/toolbar_builder.py.page:180
msgid ""
"<code>add_objects_from_string(filename, object_ids)</code> is the same as "
"<code>add_from_string()</code>, but it loads only the objects with the ids "
@@ -51330,7 +55455,8 @@ msgstr ""
"<code>add_from_string()</code>, pero sólo carga los objetos con las ID dadas "
"en la lista de <code>object_id</code>."
-#: C/toolbar_builder.py.page:181(item/p)
+#. (itstool) path: item/p
+#: C/toolbar_builder.py.page:181
msgid ""
"<code>get_object(object_id)</code> retrieves the widget with the id "
"<code>object_id</code> from the loaded objects in the builder."
@@ -51338,11 +55464,13 @@ msgstr ""
"<code>get_object(object_id)</code> obtiene el widget con el ID "
"<code>object_id</code> de los objetos cargados en el constructor."
-#: C/toolbar_builder.py.page:182(item/p)
+#. (itstool) path: item/p
+#: C/toolbar_builder.py.page:182
msgid "<code>get_objects()</code> returns all loaded objects."
msgstr "<code>get_objects()</code> devuelve todos los objetos cargados."
-#: C/toolbar_builder.py.page:183(item/p)
+#. (itstool) path: item/p
+#: C/toolbar_builder.py.page:183
msgid ""
"<code>connect_signals(handler_object)</code> connects the signals to the "
"methods given in the <code>handler_object</code>. This can be any object "
@@ -51365,12 +55493,14 @@ msgstr ""
"Consulte la <link xref=\"signals-callbacks.py\"/> para una explicación más "
"detallada."
-#: C/toolbar_builder.vala.page:7(info/title)
+#. (itstool) path: info/title
+#: C/toolbar_builder.vala.page:7
msgctxt "text"
msgid "Toolbar created using Glade (Vala)"
msgstr "Barra de herramientas creada con Glade (Vala)"
-#: C/toolbar_builder.vala.page:25(page/p)
+#. (itstool) path: page/p
+#: C/toolbar_builder.vala.page:25
msgid ""
"This example is similar to <link xref=\"toolbar.vala\"/>, except we use "
"Glade to create the toolbar in an XML ui file."
@@ -51378,7 +55508,8 @@ msgstr ""
"Este ejemplo es similar a <link xref=\"toolbar.vala\"/>, excepto que se usa "
"Glade para crear la barra de herramientas en un archivo ui de XML."
-#: C/toolbar_builder.vala.page:123(item/p)
+#. (itstool) path: item/p
+#: C/toolbar_builder.vala.page:123
msgid ""
"When our program will first start, we don't want the <gui>Leave Fullscreen</"
"gui> ToolButton to be visible, since the application will not be in "
@@ -51395,7 +55526,8 @@ msgstr ""
"comportará correctamente cuando se cargue el archivo en el código de su "
"programa."
-#: C/toolbar_builder.vala.page:144(page/code)
+#. (itstool) path: page/code
+#: C/toolbar_builder.vala.page:144
#, no-wrap
msgid ""
"/* This is the Window */\n"
@@ -51606,59 +55738,51 @@ msgstr ""
"\treturn new MyApplication ().run (args);\n"
"}\n"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/tooltip.c.page:22(media) C/tooltip.js.page:22(media)
-#: C/tooltip.py.page:23(media) C/tooltip.vala.page:22(media)
+#: C/tooltip.c.page:22 C/tooltip.js.page:22 C/tooltip.py.page:23
+#: C/tooltip.vala.page:22
msgctxt "_"
msgid "external ref='media/tooltip.png' md5='41e35860a51e39cb48c71e57bb8fb1d0'"
msgstr ""
"external ref='media/tooltip.png' md5='41e35860a51e39cb48c71e57bb8fb1d0'"
-#: C/tooltip.c.page:7(info/title)
+#. (itstool) path: info/title
+#: C/tooltip.c.page:7
msgctxt "text"
msgid "Tooltip (C)"
msgstr "Tooltip (C)"
-#: C/tooltip.c.page:18(info/desc) C/tooltip.js.page:18(info/desc)
-#: C/tooltip.py.page:19(info/desc) C/tooltip.vala.page:18(info/desc)
+#. (itstool) path: info/desc
+#: C/tooltip.c.page:18 C/tooltip.js.page:18 C/tooltip.py.page:19
+#: C/tooltip.vala.page:18
msgid "Add tips to your widgets"
msgstr "Añadir consejos a sus widgets"
-#: C/tooltip.c.page:21(page/title) C/tooltip.js.page:21(page/title)
-#: C/tooltip.py.page:22(page/title) C/tooltip.vala.page:21(page/title)
+#. (itstool) path: page/title
+#: C/tooltip.c.page:21 C/tooltip.js.page:21 C/tooltip.py.page:22
+#: C/tooltip.vala.page:21
msgid "Tooltip"
msgstr "Consejo"
-#: C/tooltip.c.page:23(page/p) C/tooltip.js.page:23(page/p)
-#: C/tooltip.py.page:24(page/p) C/tooltip.vala.page:23(page/p)
+#. (itstool) path: page/p
+#: C/tooltip.c.page:23 C/tooltip.js.page:23 C/tooltip.py.page:24
+#: C/tooltip.vala.page:23
msgid "A toolbar with a tooltip (with an image) for a button."
msgstr ""
"Una barra de herramientas con un consejo (con una imagen) para un botón."
-#: C/tooltip.c.page:25(note/p)
+#. (itstool) path: note/p
+#: C/tooltip.c.page:25
msgid ""
"This example builds on the <link xref=\"toolbar.c\">Toolbar</link> example."
msgstr "Esto construye el ejemplo de <link xref=\"toolbar.c\">Toolbar</link>."
-#: C/tooltip.c.page:30(section/code)
+#. (itstool) path: section/code
+#: C/tooltip.c.page:30
#, no-wrap
msgid ""
"#include <gtk/gtk.h>\n"
@@ -52031,7 +56155,8 @@ msgstr ""
" return status;\n"
"}\n"
-#: C/tooltip.c.page:37(item/p) C/tooltip.py.page:58(item/p)
+#. (itstool) path: item/p
+#: C/tooltip.c.page:37 C/tooltip.py.page:58
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkTooltip.html"
"\">GtkTooltip</link>"
@@ -52039,7 +56164,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkTooltip.html"
"\">GtkTooltip</link>"
-#: C/tooltip.c.page:39(item/p) C/tooltip.py.page:60(item/p)
+#. (itstool) path: item/p
+#: C/tooltip.c.page:39 C/tooltip.py.page:60
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkWidget.html"
"\">GtkWidget</link>"
@@ -52047,8 +56173,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/stable/GtkWidget.html"
"\">GtkWidget</link>"
-#: C/tooltip.c.page:40(item/p) C/tooltip.js.page:39(item/p)
-#: C/tooltip.py.page:61(item/p)
+#. (itstool) path: item/p
+#: C/tooltip.c.page:40 C/tooltip.js.page:39 C/tooltip.py.page:61
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/stable/gtk3-Stock-Items.html"
"\">Stock Items</link>"
@@ -52056,17 +56182,20 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/stable/gtk3-Stock-Items.html"
"\">Elementos del almacén</link>"
-#: C/tooltip.js.page:7(info/title)
+#. (itstool) path: info/title
+#: C/tooltip.js.page:7
msgctxt "text"
msgid "Tooltip (JavaScript)"
msgstr "Tooltip (JavaScript)"
-#: C/tooltip.js.page:24(note/p)
+#. (itstool) path: note/p
+#: C/tooltip.js.page:24
msgid ""
"This example builds on the <link xref=\"toolbar.js\">Toolbar</link> example."
msgstr "Esto construye el ejemplo de <link xref=\"toolbar.js\">Toolbar</link>."
-#: C/tooltip.js.page:29(section/code)
+#. (itstool) path: section/code
+#: C/tooltip.js.page:29
#, no-wrap
msgid ""
"//!/usr/bin/gjs\n"
@@ -52375,7 +56504,8 @@ msgstr ""
"let app = new TooltipExample ();\n"
"app.application.run (ARGV);\n"
-#: C/tooltip.js.page:36(item/p)
+#. (itstool) path: item/p
+#: C/tooltip.js.page:36
msgid ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.Tooltip.html"
"\">GtkTooltip</link>"
@@ -52383,7 +56513,8 @@ msgstr ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.Tooltip.html"
"\">GtkTooltip</link>"
-#: C/tooltip.js.page:37(item/p)
+#. (itstool) path: item/p
+#: C/tooltip.js.page:37
msgid ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.Toolbar.html"
"\">GtkToolbar</link>"
@@ -52391,7 +56522,8 @@ msgstr ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.Toolbar.html"
"\">GtkToolbar</link>"
-#: C/tooltip.js.page:38(item/p)
+#. (itstool) path: item/p
+#: C/tooltip.js.page:38
msgid ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.Widget.html"
"\">GtkWidget</link>"
@@ -52399,27 +56531,154 @@ msgstr ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.Widget.html"
"\">GtkWidget</link>"
-#: C/tooltip.py.page:7(info/title)
+#. (itstool) path: info/title
+#: C/tooltip.py.page:7
msgctxt "text"
msgid "Tooltip (Python)"
msgstr "Consejo (Python)"
-#: C/tooltip.py.page:25(note/p)
+#. (itstool) path: note/p
+#: C/tooltip.py.page:25
msgid ""
"This example builds on the <link xref=\"toolbar.py\">Toolbar</link> example."
msgstr "Esto construye el ejemplo de <link xref=\"toolbar.py\">Toolbar</link>."
-#: C/tooltip.py.page:31(section/code)
+#. (itstool) path: section/code
+#: C/tooltip.py.page:31
#, no-wrap
+#| msgid ""
+#| "from gi.repository import Gtk\n"
+#| "from gi.repository import Gdk\n"
+#| "from gi.repository import Gio\n"
+#| "import sys\n"
+#| "\n"
+#| "class MyWindow(Gtk.ApplicationWindow):\n"
+#| " def __init__(self, app):\n"
+#| " Gtk.Window.__init__(self, title=\"Toolbar with Tooltips Example\", application=app)\n"
+#| " self.set_default_size(400, 200)\n"
+#| "\n"
+#| " grid = Gtk.Grid()\n"
+#| "\n"
+#| " toolbar = self.create_toolbar()\n"
+#| " toolbar.set_hexpand(True)\n"
+#| " toolbar.show()\n"
+#| "\n"
+#| " grid.attach(toolbar, 0, 0, 1, 1)\n"
+#| "\n"
+#| " self.add(grid)\n"
+#| "\n"
+#| " undo_action = Gio.SimpleAction.new(\"undo\", None)\n"
+#| " undo_action.connect(\"activate\", self.undo_callback)\n"
+#| " self.add_action(undo_action)\n"
+#| "\n"
+#| " fullscreen_action = Gio.SimpleAction.new(\"fullscreen\", None)\n"
+#| " fullscreen_action.connect(\"activate\", self.fullscreen_callback)\n"
+#| " self.add_action(fullscreen_action)\n"
+#| "\n"
+#| " def create_toolbar(self):\n"
+#| " toolbar = Gtk.Toolbar()\n"
+#| " toolbar.get_style_context().add_class(Gtk.STYLE_CLASS_PRIMARY_TOOLBAR);\n"
+#| "\n"
+#| " # button for the \"new\" action\n"
+#| " new_button = Gtk.ToolButton.new_from_stock(Gtk.STOCK_NEW)\n"
+#| " # with a tooltip with a given text \n"
+#| " new_button.set_tooltip_text(\"Create a new file\")\n"
+#| " new_button.set_is_important(True)\n"
+#| " toolbar.insert(new_button, 0)\n"
+#| " new_button.show()\n"
+#| " new_button.set_action_name(\"app.new\")\n"
+#| "\n"
+#| " # button for the \"open\" action\n"
+#| " open_button = Gtk.ToolButton.new_from_stock(Gtk.STOCK_OPEN)\n"
+#| " # with a tooltip with a given text in the Pango markup language \n"
+#| " open_button.set_tooltip_markup(\"Open an <i>existing</i> file\")\n"
+#| " open_button.set_is_important(True)\n"
+#| " toolbar.insert(open_button, 1)\n"
+#| " open_button.show()\n"
+#| " open_button.set_action_name(\"app.open\")\n"
+#| "\n"
+#| " # button for the \"undo\" action\n"
+#| " undo_button = Gtk.ToolButton.new_from_stock(Gtk.STOCK_UNDO)\n"
+#| " # with a tooltip with an image\n"
+#| " # set True the property \"has-tooltip\" \n"
+#| " undo_button.set_property(\"has-tooltip\", True)\n"
+#| " # connect to the callback function that for the tooltip\n"
+#| " # with the signal \"query-tooltip\"\n"
+#| " undo_button.connect(\"query-tooltip\", self.undo_tooltip_callback)\n"
+#| " undo_button.set_is_important(True)\n"
+#| " toolbar.insert(undo_button, 2)\n"
+#| " undo_button.show()\n"
+#| " undo_button.set_action_name(\"win.undo\")\n"
+#| "\n"
+#| " # button for the \"fullscreen/leave fullscreen\" action\n"
+#| " self.fullscreen_button = Gtk.ToolButton.new_from_stock(Gtk.STOCK_FULLSCREEN)\n"
+#| " self.fullscreen_button.set_is_important(True)\n"
+#| " toolbar.insert(self.fullscreen_button, 3)\n"
+#| " self.fullscreen_button.set_action_name(\"win.fullscreen\")\n"
+#| "\n"
+#| " return toolbar\n"
+#| "\n"
+#| " # the callback function for the tooltip of the \"undo\" button\n"
+#| " def undo_tooltip_callback(self, widget, x, y, keyboard_mode, tooltip):\n"
+#| " # set the text for the tooltip\n"
+#| " tooltip.set_text(\"Undo your last action\")\n"
+#| " # set an icon fot the tooltip\n"
+#| " tooltip.set_icon_from_stock(\"gtk-undo\", Gtk.IconSize.MENU)\n"
+#| " # show the tooltip\n"
+#| " return True\n"
+#| "\n"
+#| " def undo_callback(self, action, parameter):\n"
+#| " print \"You clicked \\\"Undo\\\".\"\n"
+#| "\n"
+#| " def fullscreen_callback(self, action, parameter):\n"
+#| " is_fullscreen = self.get_window().get_state() & Gdk.WindowState.FULLSCREEN != 0\n"
+#| " if not is_fullscreen:\n"
+#| " self.fullscreen_button.set_stock_id(Gtk.STOCK_LEAVE_FULLSCREEN)\n"
+#| " self.fullscreen()\n"
+#| " else:\n"
+#| " self.fullscreen_button.set_stock_id(Gtk.STOCK_FULLSCREEN)\n"
+#| " self.unfullscreen()\n"
+#| "\n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " def __init__(self):\n"
+#| " Gtk.Application.__init__(self)\n"
+#| "\n"
+#| " def do_activate(self):\n"
+#| " win = MyWindow(self)\n"
+#| " win.show_all()\n"
+#| "\n"
+#| " def do_startup(self):\n"
+#| " Gtk.Application.do_startup(self)\n"
+#| "\n"
+#| " new_action = Gio.SimpleAction.new(\"new\", None)\n"
+#| " new_action.connect(\"activate\", self.new_callback)\n"
+#| " app.add_action(new_action)\n"
+#| "\n"
+#| " open_action = Gio.SimpleAction.new(\"open\", None)\n"
+#| " open_action.connect(\"activate\", self.open_callback)\n"
+#| " app.add_action(open_action)\n"
+#| "\n"
+#| " def new_callback(self, action, parameter):\n"
+#| " print \"You clicked \\\"New\\\".\"\n"
+#| "\n"
+#| " def open_callback(self, action, parameter):\n"
+#| " print \"You clicked \\\"Open\\\".\"\n"
+#| "\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"from gi.repository import Gtk\n"
"from gi.repository import Gdk\n"
"from gi.repository import Gio\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
-" Gtk.Window.__init__(self, title=\"Toolbar with Tooltips Example\", application=app)\n"
+" Gtk.Window.__init__(\n"
+" self, title=\"Toolbar with Tooltips Example\", application=app)\n"
" self.set_default_size(400, 200)\n"
"\n"
" grid = Gtk.Grid()\n"
@@ -52442,11 +56701,11 @@ msgid ""
"\n"
" def create_toolbar(self):\n"
" toolbar = Gtk.Toolbar()\n"
-" toolbar.get_style_context().add_class(Gtk.STYLE_CLASS_PRIMARY_TOOLBAR);\n"
+" toolbar.get_style_context().add_class(Gtk.STYLE_CLASS_PRIMARY_TOOLBAR)\n"
"\n"
" # button for the \"new\" action\n"
" new_button = Gtk.ToolButton.new_from_stock(Gtk.STOCK_NEW)\n"
-" # with a tooltip with a given text \n"
+" # with a tooltip with a given text\n"
" new_button.set_tooltip_text(\"Create a new file\")\n"
" new_button.set_is_important(True)\n"
" toolbar.insert(new_button, 0)\n"
@@ -52455,7 +56714,7 @@ msgid ""
"\n"
" # button for the \"open\" action\n"
" open_button = Gtk.ToolButton.new_from_stock(Gtk.STOCK_OPEN)\n"
-" # with a tooltip with a given text in the Pango markup language \n"
+" # with a tooltip with a given text in the Pango markup language\n"
" open_button.set_tooltip_markup(\"Open an <i>existing</i> file\")\n"
" open_button.set_is_important(True)\n"
" toolbar.insert(open_button, 1)\n"
@@ -52465,7 +56724,7 @@ msgid ""
" # button for the \"undo\" action\n"
" undo_button = Gtk.ToolButton.new_from_stock(Gtk.STOCK_UNDO)\n"
" # with a tooltip with an image\n"
-" # set True the property \"has-tooltip\" \n"
+" # set True the property \"has-tooltip\"\n"
" undo_button.set_property(\"has-tooltip\", True)\n"
" # connect to the callback function that for the tooltip\n"
" # with the signal \"query-tooltip\"\n"
@@ -52476,7 +56735,8 @@ msgid ""
" undo_button.set_action_name(\"win.undo\")\n"
"\n"
" # button for the \"fullscreen/leave fullscreen\" action\n"
-" self.fullscreen_button = Gtk.ToolButton.new_from_stock(Gtk.STOCK_FULLSCREEN)\n"
+" self.fullscreen_button = Gtk.ToolButton.new_from_stock(\n"
+" Gtk.STOCK_FULLSCREEN)\n"
" self.fullscreen_button.set_is_important(True)\n"
" toolbar.insert(self.fullscreen_button, 3)\n"
" self.fullscreen_button.set_action_name(\"win.fullscreen\")\n"
@@ -52496,7 +56756,8 @@ msgid ""
" print \"You clicked \\\"Undo\\\".\"\n"
"\n"
" def fullscreen_callback(self, action, parameter):\n"
-" is_fullscreen = self.get_window().get_state() & Gdk.WindowState.FULLSCREEN != 0\n"
+" is_fullscreen = self.get_window().get_state(\n"
+" ) & Gdk.WindowState.FULLSCREEN != 0\n"
" if not is_fullscreen:\n"
" self.fullscreen_button.set_stock_id(Gtk.STOCK_LEAVE_FULLSCREEN)\n"
" self.fullscreen()\n"
@@ -52504,7 +56765,9 @@ msgid ""
" self.fullscreen_button.set_stock_id(Gtk.STOCK_FULLSCREEN)\n"
" self.unfullscreen()\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -52538,9 +56801,12 @@ msgstr ""
"from gi.repository import Gio\n"
"import sys\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
-" Gtk.Window.__init__(self, title=\"Toolbar with Tooltips Example\", application=app)\n"
+" Gtk.Window.__init__(\n"
+" self, title=\"Toolbar with Tooltips Example\", application=app)\n"
" self.set_default_size(400, 200)\n"
"\n"
" grid = Gtk.Grid()\n"
@@ -52563,11 +56829,11 @@ msgstr ""
"\n"
" def create_toolbar(self):\n"
" toolbar = Gtk.Toolbar()\n"
-" toolbar.get_style_context().add_class(Gtk.STYLE_CLASS_PRIMARY_TOOLBAR);\n"
+" toolbar.get_style_context().add_class(Gtk.STYLE_CLASS_PRIMARY_TOOLBAR)\n"
"\n"
" # button for the \"new\" action\n"
" new_button = Gtk.ToolButton.new_from_stock(Gtk.STOCK_NEW)\n"
-" # with a tooltip with a given text \n"
+" # with a tooltip with a given text\n"
" new_button.set_tooltip_text(\"Create a new file\")\n"
" new_button.set_is_important(True)\n"
" toolbar.insert(new_button, 0)\n"
@@ -52576,7 +56842,7 @@ msgstr ""
"\n"
" # button for the \"open\" action\n"
" open_button = Gtk.ToolButton.new_from_stock(Gtk.STOCK_OPEN)\n"
-" # with a tooltip with a given text in the Pango markup language \n"
+" # with a tooltip with a given text in the Pango markup language\n"
" open_button.set_tooltip_markup(\"Open an <i>existing</i> file\")\n"
" open_button.set_is_important(True)\n"
" toolbar.insert(open_button, 1)\n"
@@ -52586,7 +56852,7 @@ msgstr ""
" # button for the \"undo\" action\n"
" undo_button = Gtk.ToolButton.new_from_stock(Gtk.STOCK_UNDO)\n"
" # with a tooltip with an image\n"
-" # set True the property \"has-tooltip\" \n"
+" # set True the property \"has-tooltip\"\n"
" undo_button.set_property(\"has-tooltip\", True)\n"
" # connect to the callback function that for the tooltip\n"
" # with the signal \"query-tooltip\"\n"
@@ -52597,7 +56863,8 @@ msgstr ""
" undo_button.set_action_name(\"win.undo\")\n"
"\n"
" # button for the \"fullscreen/leave fullscreen\" action\n"
-" self.fullscreen_button = Gtk.ToolButton.new_from_stock(Gtk.STOCK_FULLSCREEN)\n"
+" self.fullscreen_button = Gtk.ToolButton.new_from_stock(\n"
+" Gtk.STOCK_FULLSCREEN)\n"
" self.fullscreen_button.set_is_important(True)\n"
" toolbar.insert(self.fullscreen_button, 3)\n"
" self.fullscreen_button.set_action_name(\"win.fullscreen\")\n"
@@ -52617,7 +56884,8 @@ msgstr ""
" print \"You clicked \\\"Undo\\\".\"\n"
"\n"
" def fullscreen_callback(self, action, parameter):\n"
-" is_fullscreen = self.get_window().get_state() & Gdk.WindowState.FULLSCREEN != 0\n"
+" is_fullscreen = self.get_window().get_state(\n"
+" ) & Gdk.WindowState.FULLSCREEN != 0\n"
" if not is_fullscreen:\n"
" self.fullscreen_button.set_stock_id(Gtk.STOCK_LEAVE_FULLSCREEN)\n"
" self.fullscreen()\n"
@@ -52625,7 +56893,9 @@ msgstr ""
" self.fullscreen_button.set_stock_id(Gtk.STOCK_FULLSCREEN)\n"
" self.unfullscreen()\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -52654,11 +56924,13 @@ msgstr ""
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/tooltip.py.page:35(section/title)
+#. (itstool) path: section/title
+#: C/tooltip.py.page:35
msgid "Useful methods for a Tooltip widget"
msgstr "Métodos útiles para un widget de consejo"
-#: C/tooltip.py.page:37(section/p)
+#. (itstool) path: section/p
+#: C/tooltip.py.page:37
msgid ""
"<code>set_tooltip_text(text)</code> and <code>set_tooltip_markup(text)</"
"code> can be used to add a tooltip of plain text (or text in the Pango "
@@ -52668,12 +56940,14 @@ msgstr ""
"pueden usarse para añadir un consejo o texto plano (o texto en el lenguaje "
"de marcado de Pango) a un widget."
-#: C/tooltip.py.page:38(section/p)
+#. (itstool) path: section/p
+#: C/tooltip.py.page:38
msgid "For more complex tooltips, for instance for a tooltip with an image:"
msgstr ""
"Para consejos más complejos, por ejemplo para un consejo con una imagen:"
-#: C/tooltip.py.page:40(item/p)
+#. (itstool) path: item/p
+#: C/tooltip.py.page:40
msgid ""
"Set the <code>\"has-tooltip\"</code> property of the widget to <code>True</"
"code>; this will make GTK+ monitor the widget for motion and related events "
@@ -52684,7 +56958,8 @@ msgstr ""
"movimiento y eventos relacionados que se necesitan para determinar cuándo y "
"dónde mostrar un consejo."
-#: C/tooltip.py.page:41(item/p)
+#. (itstool) path: item/p
+#: C/tooltip.py.page:41
msgid ""
"Connect to the <code>\"query-tooltip\"</code> signal. This signal will be "
"emitted when a tooltip is supposed to be shown. One of the arguments passed "
@@ -52704,7 +56979,8 @@ msgstr ""
"un icono del almacén (<code>set_icon_from_stock(stock_id, size)</code>), o "
"incluso poner un widget personalizado (<code>set_custom(widget)</code>)."
-#: C/tooltip.py.page:42(item/p)
+#. (itstool) path: item/p
+#: C/tooltip.py.page:42
msgid ""
"Return <code>True</code> from your query-tooltip handler. This causes the "
"tooltip to be show. If you return <code>False</code>, it will not be shown."
@@ -52712,7 +56988,8 @@ msgstr ""
"Devuelva <code>True</code> de su manejador de «query-tooltip». Esto hace que "
"el consejo se muestre. Si devuelve <code>False</code>, no se mostrará."
-#: C/tooltip.py.page:45(section/p)
+#. (itstool) path: section/p
+#: C/tooltip.py.page:45
msgid ""
"In the probably rare case where you want to have even more control over the "
"tooltip that is about to be shown, you can set your own GtkWindow which will "
@@ -52722,7 +56999,8 @@ msgstr ""
"el consejo que se va a mostrar, puede establecer su propia GtkWindow que se "
"usará como ventana del consejo. Esto funciona así:"
-#: C/tooltip.py.page:47(item/p)
+#. (itstool) path: item/p
+#: C/tooltip.py.page:47
msgid ""
"Set <code>\"has-tooltip\"</code> and connect to <code>\"query-tooltip\"</"
"code> as before."
@@ -52730,7 +57008,8 @@ msgstr ""
"Establezca <code>\"has-tooltip\"</code> y conecte con <code>\"query-tooltip"
"\"</code> como antes."
-#: C/tooltip.py.page:48(item/p)
+#. (itstool) path: item/p
+#: C/tooltip.py.page:48
msgid ""
"Use <code>set_tooltip_window()</code> on the widget to set a GtkWindow "
"created by you as tooltip window."
@@ -52738,7 +57017,8 @@ msgstr ""
"Use <code>set_tooltip_window()</code> en el widget para establecer una "
"GtkWindow creada como ventana del consejo."
-#: C/tooltip.py.page:49(item/p)
+#. (itstool) path: item/p
+#: C/tooltip.py.page:49
msgid ""
"In the <code>\"query-tooltip\"</code> callback you can access your window "
"using <code>get_tooltip_window()</code> and manipulate as you wish. The "
@@ -52751,19 +57031,22 @@ msgstr ""
"devuelva <code>True</code> para mostrar el widget o <code>False</code> para "
"no hacerlo."
-#: C/tooltip.vala.page:7(info/title)
+#. (itstool) path: info/title
+#: C/tooltip.vala.page:7
msgctxt "text"
msgid "Tooltip (Vala)"
msgstr "Tooltip (Vala)"
-#: C/tooltip.vala.page:24(note/p)
+#. (itstool) path: note/p
+#: C/tooltip.vala.page:24
msgid ""
"This example builds on the <link xref=\"toolbar.vala\">Toolbar</link> "
"example."
msgstr ""
"Esto construye el ejemplo de <link xref=\"toolbar.vala\">Toolbar</link>."
-#: C/tooltip.vala.page:30(section/code)
+#. (itstool) path: section/code
+#: C/tooltip.vala.page:30
#, no-wrap
msgid ""
"/* This is the Window */\n"
@@ -53088,7 +57371,8 @@ msgstr ""
"\treturn new MyApplication ().run (args);\n"
"}\n"
-#: C/tooltip.vala.page:38(item/p)
+#. (itstool) path: item/p
+#: C/tooltip.vala.page:38
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Tooltip.html\">Gtk.Tooltip</"
"link>"
@@ -53096,7 +57380,8 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Tooltip.html\">Gtk.Tooltip</"
"link>"
-#: C/tooltip.vala.page:40(item/p)
+#. (itstool) path: item/p
+#: C/tooltip.vala.page:40
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Widget.query_tooltip.html"
"\">Gtk.Widget.query_tooltip</link>"
@@ -53104,7 +57389,8 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Widget.query_tooltip.html"
"\">Gtk.Widget.query_tooltip</link>"
-#: C/tooltip.vala.page:41(item/p)
+#. (itstool) path: item/p
+#: C/tooltip.vala.page:41
msgid ""
"<link href=\"https://developer.gnome.org/gtk3/3.4/gtk3-Stock-Items.html#GTK-"
"STOCK-UNDO:CAPS\">Stock Items</link>"
@@ -53112,11 +57398,12 @@ msgstr ""
"<link href=\"https://developer.gnome.org/gtk3/3.4/gtk3-Stock-Items.html#GTK-"
"STOCK-UNDO:CAPS\">Stock Items</link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#: C/treeview_advanced_liststore.py.page:22(media)
+#: C/treeview_advanced_liststore.py.page:22
msgctxt "_"
msgid ""
"external ref='media/treeview_advanced_liststore.png' "
@@ -53125,21 +57412,25 @@ msgstr ""
"external ref='media/treeview_advanced_liststore.png' "
"md5='102b512197fb9aa4ed9a16462f6af911'"
-#: C/treeview_advanced_liststore.py.page:7(info/title)
+#. (itstool) path: info/title
+#: C/treeview_advanced_liststore.py.page:7
msgctxt "text"
msgid "Simple Treeview with ListStore (Python)"
msgstr "Treeview sencillo con ListStore (Python)"
-#: C/treeview_advanced_liststore.py.page:18(info/desc)
+#. (itstool) path: info/desc
+#: C/treeview_advanced_liststore.py.page:18
msgid "A TreeView displaying a ListStore (more complex example)"
msgstr "Un TreeView mostrando un ListStore (ejemplo más complejo)"
-#: C/treeview_advanced_liststore.py.page:21(page/title)
+#. (itstool) path: page/title
+#: C/treeview_advanced_liststore.py.page:21
msgid "More Complex Treeview with ListStore"
msgstr "Treeview más complejo con ListStore"
-#: C/treeview_advanced_liststore.py.page:23(page/p)
-#: C/treeview_simple_liststore.py.page:24(page/p)
+#. (itstool) path: page/p
+#: C/treeview_advanced_liststore.py.page:23
+#: C/treeview_simple_liststore.py.page:24
msgid ""
"This TreeView displays a simple ListStore with the selection \"changed\" "
"signal connected."
@@ -53147,8 +57438,139 @@ msgstr ""
"Este TreeView muestra un ListStore sencillo con la señal de selección "
"«changed» conectada."
-#: C/treeview_advanced_liststore.py.page:30(section/code)
+#. (itstool) path: section/code
+#: C/treeview_advanced_liststore.py.page:30
#, no-wrap
+#| msgid ""
+#| "from gi.repository import Gtk\n"
+#| "from gi.repository import Pango\n"
+#| "import sys\n"
+#| "\n"
+#| "list_of_dvd = [[\"The Usual Suspects\"],\n"
+#| " [\"Gilda\"],\n"
+#| " [\"The Godfather\"],\n"
+#| " [\"Pulp Fiction\"],\n"
+#| " [\"Once Upon a Time in the West\"],\n"
+#| " [\"Rear Window\"]]\n"
+#| "\n"
+#| "class MyWindow(Gtk.ApplicationWindow):\n"
+#| " def __init__(self, app):\n"
+#| " Gtk.Window.__init__(self, title=\"My DVDs\", application=app)\n"
+#| " self.set_default_size(250, 100)\n"
+#| " self.set_border_width(10)\n"
+#| "\n"
+#| " # the data are stored in the model\n"
+#| " # create a liststore with one column\n"
+#| " self.listmodel = Gtk.ListStore(str)\n"
+#| " for i in range(len(list_of_dvd)):\n"
+#| " self.listmodel.append(list_of_dvd[i])\n"
+#| "\n"
+#| " # a treeview to see the data stored in the model\n"
+#| " view = Gtk.TreeView(model=self.listmodel)\n"
+#| "\n"
+#| " # cellrenderer for the first column\n"
+#| " cell = Gtk.CellRendererText()\n"
+#| " # the first column is created\n"
+#| " col = Gtk.TreeViewColumn(\"Title\", cell, text=0)\n"
+#| " # and it is appended to the treeview\n"
+#| " view.append_column(col)\n"
+#| "\n"
+#| " # when a row of the treeview is selected, it emits a signal\n"
+#| " self.selection = view.get_selection()\n"
+#| " self.selection.connect(\"changed\", self.on_changed)\n"
+#| "\n"
+#| " # the label we use to show the selection\n"
+#| " self.label = Gtk.Label()\n"
+#| " self.label.set_text(\"\")\n"
+#| "\n"
+#| " # a button to add new titles, connected to a callback function\n"
+#| " self.button_add = Gtk.Button(label=\"Add\")\n"
+#| " self.button_add.connect(\"clicked\", self.add_cb)\n"
+#| "\n"
+#| " # an entry to enter titles\n"
+#| " self.entry = Gtk.Entry()\n"
+#| "\n"
+#| " # a button to remove titles, connected to a callback function\n"
+#| " self.button_remove = Gtk.Button(label=\"Remove\")\n"
+#| " self.button_remove.connect(\"clicked\", self.remove_cb)\n"
+#| "\n"
+#| " # a button to remove all titles, connected to a callback function\n"
+#| " self.button_remove_all = Gtk.Button(label=\"Remove All\")\n"
+#| " self.button_remove_all.connect(\"clicked\", self.remove_all_cb)\n"
+#| "\n"
+#| " # a grid to attach the widgets\n"
+#| " grid = Gtk.Grid()\n"
+#| " grid.attach(view, 0, 0, 4, 1)\n"
+#| " grid.attach(self.label, 0, 1, 4, 1)\n"
+#| " grid.attach(self.button_add, 0, 2, 1, 1)\n"
+#| " grid.attach_next_to(self.entry, self.button_add, Gtk.PositionType.RIGHT, 1, 1)\n"
+#| " grid.attach_next_to(self.button_remove, self.entry, Gtk.PositionType.RIGHT, 1, 1)\n"
+#| " grid.attach_next_to(self.button_remove_all, self.button_remove, Gtk.PositionType.RIGHT, 1, 1)\n"
+#| "\n"
+#| " # add the grid to the window\n"
+#| " self.add(grid)\n"
+#| "\n"
+#| " def on_changed(self, selection):\n"
+#| " # get the model and the iterator that points at the data in the model\n"
+#| " (model, iter) = selection.get_selected()\n"
+#| " # set the label to a new value depending on the selection, if there is one\n"
+#| " if iter is not None:\n"
+#| " self.label.set_text(\"\\n %s\" %(model[iter][0]))\n"
+#| " else:\n"
+#| " self.label.set_text(\"\")\n"
+#| " return True\n"
+#| "\n"
+#| " # callback function for the \"Add\" button\n"
+#| " def add_cb(self, button):\n"
+#| " # append to the model the title that is in the entry\n"
+#| " title = self.entry.get_text()\n"
+#| " self.listmodel.append([title])\n"
+#| " # and print a message in the terminal\n"
+#| " print \"%s has been added\" %(title)\n"
+#| "\n"
+#| " def remove_cb(self, button):\n"
+#| " # if there is still an entry in the model\n"
+#| " if len(self.listmodel) != 0:\n"
+#| " # get the selection\n"
+#| " (model, iter) = self.selection.get_selected()\n"
+#| " # if there is a selection, print a message in the terminal\n"
+#| " # and remove it from the model\n"
+#| " if iter is not None:\n"
+#| " print \"%s has been removed\" %(model[iter][0])\n"
+#| " self.listmodel.remove(iter)\n"
+#| " # otherwise, ask the user to select something to remove\n"
+#| " else:\n"
+#| " print \"Select a title to remove\"\n"
+#| " # else, if there are no entries in the model, print \"Empty list\"\n"
+#| " # in the terminal\n"
+#| " else:\n"
+#| " print \"Empty list\"\n"
+#| "\n"
+#| " def remove_all_cb(self, button):\n"
+#| " # if there is still an entry in the model\n"
+#| " if len(self.listmodel) != 0:\n"
+#| " # remove all the entries in the model\n"
+#| " for i in range(len(self.listmodel)):\n"
+#| " iter = self.listmodel.get_iter(0)\n"
+#| " self.listmodel.remove(iter)\n"
+#| " # print a message in the terminal alerting that the model is empty\n"
+#| " print \"Empty list\"\n"
+#| "\n"
+#| "\n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " def __init__(self):\n"
+#| " Gtk.Application.__init__(self)\n"
+#| "\n"
+#| " def do_activate(self):\n"
+#| " win = MyWindow(self)\n"
+#| " win.show_all()\n"
+#| "\n"
+#| " def do_startup(self):\n"
+#| " Gtk.Application.do_startup(self)\n"
+#| "\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"from gi.repository import Gtk\n"
"from gi.repository import Pango\n"
@@ -53161,7 +57583,9 @@ msgid ""
" [\"Once Upon a Time in the West\"],\n"
" [\"Rear Window\"]]\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"My DVDs\", application=app)\n"
" self.set_default_size(250, 100)\n"
@@ -53211,9 +57635,12 @@ msgid ""
" grid.attach(view, 0, 0, 4, 1)\n"
" grid.attach(self.label, 0, 1, 4, 1)\n"
" grid.attach(self.button_add, 0, 2, 1, 1)\n"
-" grid.attach_next_to(self.entry, self.button_add, Gtk.PositionType.RIGHT, 1, 1)\n"
-" grid.attach_next_to(self.button_remove, self.entry, Gtk.PositionType.RIGHT, 1, 1)\n"
-" grid.attach_next_to(self.button_remove_all, self.button_remove, Gtk.PositionType.RIGHT, 1, 1)\n"
+" grid.attach_next_to(\n"
+" self.entry, self.button_add, Gtk.PositionType.RIGHT, 1, 1)\n"
+" grid.attach_next_to(\n"
+" self.button_remove, self.entry, Gtk.PositionType.RIGHT, 1, 1)\n"
+" grid.attach_next_to(\n"
+" self.button_remove_all, self.button_remove, Gtk.PositionType.RIGHT, 1, 1)\n"
"\n"
" # add the grid to the window\n"
" self.add(grid)\n"
@@ -53221,9 +57648,10 @@ msgid ""
" def on_changed(self, selection):\n"
" # get the model and the iterator that points at the data in the model\n"
" (model, iter) = selection.get_selected()\n"
-" # set the label to a new value depending on the selection, if there is one\n"
+" # set the label to a new value depending on the selection, if there is\n"
+" # one\n"
" if iter is not None:\n"
-" self.label.set_text(\"\\n %s\" %(model[iter][0]))\n"
+" self.label.set_text(\"\\n %s\" % (model[iter][0]))\n"
" else:\n"
" self.label.set_text(\"\")\n"
" return True\n"
@@ -53234,7 +57662,7 @@ msgid ""
" title = self.entry.get_text()\n"
" self.listmodel.append([title])\n"
" # and print a message in the terminal\n"
-" print \"%s has been added\" %(title)\n"
+" print \"%s has been added\" % (title)\n"
"\n"
" def remove_cb(self, button):\n"
" # if there is still an entry in the model\n"
@@ -53244,7 +57672,7 @@ msgid ""
" # if there is a selection, print a message in the terminal\n"
" # and remove it from the model\n"
" if iter is not None:\n"
-" print \"%s has been removed\" %(model[iter][0])\n"
+" print \"%s has been removed\" % (model[iter][0])\n"
" self.listmodel.remove(iter)\n"
" # otherwise, ask the user to select something to remove\n"
" else:\n"
@@ -53266,6 +57694,7 @@ msgid ""
"\n"
"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -53291,7 +57720,9 @@ msgstr ""
" [\"Once Upon a Time in the West\"],\n"
" [\"Rear Window\"]]\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"My DVDs\", application=app)\n"
" self.set_default_size(250, 100)\n"
@@ -53341,9 +57772,12 @@ msgstr ""
" grid.attach(view, 0, 0, 4, 1)\n"
" grid.attach(self.label, 0, 1, 4, 1)\n"
" grid.attach(self.button_add, 0, 2, 1, 1)\n"
-" grid.attach_next_to(self.entry, self.button_add, Gtk.PositionType.RIGHT, 1, 1)\n"
-" grid.attach_next_to(self.button_remove, self.entry, Gtk.PositionType.RIGHT, 1, 1)\n"
-" grid.attach_next_to(self.button_remove_all, self.button_remove, Gtk.PositionType.RIGHT, 1, 1)\n"
+" grid.attach_next_to(\n"
+" self.entry, self.button_add, Gtk.PositionType.RIGHT, 1, 1)\n"
+" grid.attach_next_to(\n"
+" self.button_remove, self.entry, Gtk.PositionType.RIGHT, 1, 1)\n"
+" grid.attach_next_to(\n"
+" self.button_remove_all, self.button_remove, Gtk.PositionType.RIGHT, 1, 1)\n"
"\n"
" # add the grid to the window\n"
" self.add(grid)\n"
@@ -53351,9 +57785,10 @@ msgstr ""
" def on_changed(self, selection):\n"
" # get the model and the iterator that points at the data in the model\n"
" (model, iter) = selection.get_selected()\n"
-" # set the label to a new value depending on the selection, if there is one\n"
+" # set the label to a new value depending on the selection, if there is\n"
+" # one\n"
" if iter is not None:\n"
-" self.label.set_text(\"\\n %s\" %(model[iter][0]))\n"
+" self.label.set_text(\"\\n %s\" % (model[iter][0]))\n"
" else:\n"
" self.label.set_text(\"\")\n"
" return True\n"
@@ -53364,7 +57799,7 @@ msgstr ""
" title = self.entry.get_text()\n"
" self.listmodel.append([title])\n"
" # and print a message in the terminal\n"
-" print \"%s has been added\" %(title)\n"
+" print \"%s has been added\" % (title)\n"
"\n"
" def remove_cb(self, button):\n"
" # if there is still an entry in the model\n"
@@ -53374,7 +57809,7 @@ msgstr ""
" # if there is a selection, print a message in the terminal\n"
" # and remove it from the model\n"
" if iter is not None:\n"
-" print \"%s has been removed\" %(model[iter][0])\n"
+" print \"%s has been removed\" % (model[iter][0])\n"
" self.listmodel.remove(iter)\n"
" # otherwise, ask the user to select something to remove\n"
" else:\n"
@@ -53396,6 +57831,7 @@ msgstr ""
"\n"
"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -53410,16 +57846,16 @@ msgstr ""
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/treeview_advanced_liststore.py.page:34(section/title)
-#: C/treeview_cellrenderertoggle.py.page:34(section/title)
-#: C/treeview_simple_liststore.py.page:35(section/title)
-#: C/treeview_treestore.py.page:35(section/title)
+#. (itstool) path: section/title
+#: C/treeview_advanced_liststore.py.page:34
+#: C/treeview_cellrenderertoggle.py.page:34
+#: C/treeview_simple_liststore.py.page:35 C/treeview_treestore.py.page:35
msgid "Useful methods for a TreeView widget"
msgstr "Métodos útiles para un widget TreeView"
-#: C/treeview_advanced_liststore.py.page:35(section/p)
-#: C/treeview_cellrenderertoggle.py.page:35(section/p)
-#: C/treeview_treestore.py.page:36(section/p)
+#. (itstool) path: section/p
+#: C/treeview_advanced_liststore.py.page:35
+#: C/treeview_cellrenderertoggle.py.page:35 C/treeview_treestore.py.page:36
msgid ""
"The TreeView widget is designed around a <em>Model/View/Controller</em> "
"design: the <em>Model</em> stores the data; the <em>View</em> gets change "
@@ -53436,7 +57872,8 @@ msgstr ""
"útiles para el «TreeModel» consulte la <link xref=\"model-view-controller.py"
"\"/>."
-#: C/treeview_advanced_liststore.py.page:36(section/p)
+#. (itstool) path: section/p
+#: C/treeview_advanced_liststore.py.page:36
msgid ""
"In line 36 the <code>\"changed\"</code> signal is connected to the callback "
"function <code>on_changed()</code> using <code><var>widget</var>.connect"
@@ -53449,11 +57886,12 @@ msgstr ""
"Consulte la <link xref=\"signals-callbacks.py\"/> para una explicación más "
"detallada."
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#: C/treeview_cellrenderertoggle.py.page:22(media)
+#: C/treeview_cellrenderertoggle.py.page:22
msgctxt "_"
msgid ""
"external ref='media/treeview_cellrenderertoggle.png' "
@@ -53462,13 +57900,14 @@ msgstr ""
"external ref='media/treeview_cellrenderertoggle.png' "
"md5='ade9b9437f8f83150acf37610dab834d'"
-#: C/treeview_cellrenderertoggle.py.page:7(info/title)
-#: C/treeview_treestore.py.page:7(info/title)
+#. (itstool) path: info/title
+#: C/treeview_cellrenderertoggle.py.page:7 C/treeview_treestore.py.page:7
msgctxt "text"
msgid "TreeView with TreeStore (Python)"
msgstr "TreeView con TreeStore (Python)"
-#: C/treeview_cellrenderertoggle.py.page:18(info/desc)
+#. (itstool) path: info/desc
+#: C/treeview_cellrenderertoggle.py.page:18
msgid ""
"A TreeView displaying a TreeStore (more complex example, with "
"CellRendererToggle)"
@@ -53476,11 +57915,13 @@ msgstr ""
"Un TreeView mostrando un TreeStore (ejemplo más complejo, con "
"CellRendererToggle)"
-#: C/treeview_cellrenderertoggle.py.page:21(page/title)
+#. (itstool) path: page/title
+#: C/treeview_cellrenderertoggle.py.page:21
msgid "More Complex TreeView with TreeStore"
msgstr "TreeView más complejo con TreeStore"
-#: C/treeview_cellrenderertoggle.py.page:23(page/p)
+#. (itstool) path: page/p
+#: C/treeview_cellrenderertoggle.py.page:23
msgid ""
"This TreeView displays a TreeStore with two columns, one of which is "
"rendered as a toggle."
@@ -53488,18 +57929,124 @@ msgstr ""
"Este TreeView muestra un ListStore con dos columnas, una de las cuales se "
"procesa como un interruptor."
-#: C/treeview_cellrenderertoggle.py.page:30(section/code)
+#. (itstool) path: section/code
+#: C/treeview_cellrenderertoggle.py.page:30
#, no-wrap
+#| msgid ""
+#| "from gi.repository import Gtk\n"
+#| "from gi.repository import Pango\n"
+#| "import sys\n"
+#| "\n"
+#| "books = [[\"Tolstoy, Leo\", [\"War and Peace\", True], [\"Anna Karenina\", False]],\n"
+#| " [\"Shakespeare, William\", [\"Hamlet\", False], [\"Macbeth\", True], [\"Othello\", False]],\n"
+#| " [\"Tolkien, J.R.R.\", [\"The Lord of the Rings\", False]]]\n"
+#| "\n"
+#| "class MyWindow(Gtk.ApplicationWindow):\n"
+#| " def __init__(self, app):\n"
+#| " Gtk.Window.__init__(self, title=\"Library\", application=app)\n"
+#| " self.set_default_size(250, 100)\n"
+#| " self.set_border_width(10)\n"
+#| "\n"
+#| " # the data are stored in the model\n"
+#| " # create a treestore with two columns\n"
+#| " self.store = Gtk.TreeStore(str, bool)\n"
+#| " # fill in the model\n"
+#| " for i in range(len(books)):\n"
+#| " # the iter piter is returned when appending the author in the first column\n"
+#| " # and False in the second\n"
+#| " piter = self.store.append(None, [books[i][0], False])\n"
+#| " # append the books and the associated boolean value as children of the author\n"
+#| " j = 1\n"
+#| " while j < len(books[i]):\n"
+#| " self.store.append(piter, books[i][j])\n"
+#| " j += 1\n"
+#| "\n"
+#| " # the treeview shows the model\n"
+#| " # create a treeview on the model self.store\n"
+#| " view = Gtk.TreeView()\n"
+#| " view.set_model(self.store)\n"
+#| "\n"
+#| " # the cellrenderer for the first column - text\n"
+#| " renderer_books = Gtk.CellRendererText()\n"
+#| " # the first column is created\n"
+#| " column_books = Gtk.TreeViewColumn(\"Books\", renderer_books, text=0)\n"
+#| " # and it is appended to the treeview\n"
+#| " view.append_column(column_books)\n"
+#| "\n"
+#| " # the cellrenderer for the second column - boolean rendered as a toggle\n"
+#| " renderer_in_out = Gtk.CellRendererToggle()\n"
+#| " # the second column is created\n"
+#| " column_in_out = Gtk.TreeViewColumn(\"Out?\", renderer_in_out, active=1)\n"
+#| " # and it is appended to the treeview\n"
+#| " view.append_column(column_in_out)\n"
+#| " # connect the cellrenderertoggle with a callback function\n"
+#| " renderer_in_out.connect(\"toggled\", self.on_toggled)\n"
+#| "\n"
+#| " # add the treeview to the window\n"
+#| " self.add(view)\n"
+#| "\n"
+#| " # callback function for the signal emitted by the cellrenderertoggle\n"
+#| " def on_toggled(self, widget, path):\n"
+#| " # the boolean value of the selected row\n"
+#| " current_value = self.store[path][1]\n"
+#| " # change the boolean value of the selected row in the model\n"
+#| " self.store[path][1] = not current_value\n"
+#| " # new current value!\n"
+#| " current_value = not current_value\n"
+#| " # if length of the path is 1 (that is, if we are selecting an author)\n"
+#| " if len(path) == 1:\n"
+#| " # get the iter associated with the path\n"
+#| " piter = self.store.get_iter(path)\n"
+#| " # get the iter associated with its first child\n"
+#| " citer = self.store.iter_children(piter)\n"
+#| " # while there are children, change the state of their boolean value\n"
+#| " # to the value of the author\n"
+#| " while citer is not None:\n"
+#| " self.store[citer][1] = current_value\n"
+#| " citer = self.store.iter_next(citer)\n"
+#| " # if the length of the path is not 1 (that is, if we are selecting a book)\n"
+#| " elif len(path) != 1:\n"
+#| " # get the first child of the parent of the book (the first book of the author)\n"
+#| " citer = self.store.get_iter(path)\n"
+#| " piter = self.store.iter_parent(citer)\n"
+#| " citer = self.store.iter_children(piter)\n"
+#| " # check if all the children are selected\n"
+#| " all_selected = True\n"
+#| " while citer is not None:\n"
+#| " if self.store[citer][1] == False:\n"
+#| " all_selected = False\n"
+#| " break\n"
+#| " citer = self.store.iter_next(citer)\n"
+#| " # if they do, the author as well is selected; otherwise it is not\n"
+#| " self.store[piter][1] = all_selected\n"
+#| "\n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " def __init__(self):\n"
+#| " Gtk.Application.__init__(self)\n"
+#| "\n"
+#| " def do_activate(self):\n"
+#| " win = MyWindow(self)\n"
+#| " win.show_all()\n"
+#| "\n"
+#| " def do_startup(self):\n"
+#| " Gtk.Application.do_startup(self)\n"
+#| "\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"from gi.repository import Gtk\n"
"from gi.repository import Pango\n"
"import sys\n"
"\n"
"books = [[\"Tolstoy, Leo\", [\"War and Peace\", True], [\"Anna Karenina\", False]],\n"
-" [\"Shakespeare, William\", [\"Hamlet\", False], [\"Macbeth\", True], [\"Othello\", False]],\n"
+" [\"Shakespeare, William\", [\"Hamlet\", False],\n"
+" [\"Macbeth\", True], [\"Othello\", False]],\n"
" [\"Tolkien, J.R.R.\", [\"The Lord of the Rings\", False]]]\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"Library\", application=app)\n"
" self.set_default_size(250, 100)\n"
@@ -53513,7 +58060,8 @@ msgid ""
" # the iter piter is returned when appending the author in the first column\n"
" # and False in the second\n"
" piter = self.store.append(None, [books[i][0], False])\n"
-" # append the books and the associated boolean value as children of the author\n"
+" # append the books and the associated boolean value as children of\n"
+" # the author\n"
" j = 1\n"
" while j < len(books[i]):\n"
" self.store.append(piter, books[i][j])\n"
@@ -53562,9 +58110,11 @@ msgid ""
" while citer is not None:\n"
" self.store[citer][1] = current_value\n"
" citer = self.store.iter_next(citer)\n"
-" # if the length of the path is not 1 (that is, if we are selecting a book)\n"
+" # if the length of the path is not 1 (that is, if we are selecting a\n"
+" # book)\n"
" elif len(path) != 1:\n"
-" # get the first child of the parent of the book (the first book of the author)\n"
+" # get the first child of the parent of the book (the first book of\n"
+" # the author)\n"
" citer = self.store.get_iter(path)\n"
" piter = self.store.iter_parent(citer)\n"
" citer = self.store.iter_children(piter)\n"
@@ -53578,7 +58128,9 @@ msgid ""
" # if they do, the author as well is selected; otherwise it is not\n"
" self.store[piter][1] = all_selected\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -53598,10 +58150,13 @@ msgstr ""
"import sys\n"
"\n"
"books = [[\"Tolstoy, Leo\", [\"War and Peace\", True], [\"Anna Karenina\", False]],\n"
-" [\"Shakespeare, William\", [\"Hamlet\", False], [\"Macbeth\", True], [\"Othello\", False]],\n"
+" [\"Shakespeare, William\", [\"Hamlet\", False],\n"
+" [\"Macbeth\", True], [\"Othello\", False]],\n"
" [\"Tolkien, J.R.R.\", [\"The Lord of the Rings\", False]]]\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"Library\", application=app)\n"
" self.set_default_size(250, 100)\n"
@@ -53615,7 +58170,8 @@ msgstr ""
" # the iter piter is returned when appending the author in the first column\n"
" # and False in the second\n"
" piter = self.store.append(None, [books[i][0], False])\n"
-" # append the books and the associated boolean value as children of the author\n"
+" # append the books and the associated boolean value as children of\n"
+" # the author\n"
" j = 1\n"
" while j < len(books[i]):\n"
" self.store.append(piter, books[i][j])\n"
@@ -53664,9 +58220,11 @@ msgstr ""
" while citer is not None:\n"
" self.store[citer][1] = current_value\n"
" citer = self.store.iter_next(citer)\n"
-" # if the length of the path is not 1 (that is, if we are selecting a book)\n"
+" # if the length of the path is not 1 (that is, if we are selecting a\n"
+" # book)\n"
" elif len(path) != 1:\n"
-" # get the first child of the parent of the book (the first book of the author)\n"
+" # get the first child of the parent of the book (the first book of\n"
+" # the author)\n"
" citer = self.store.get_iter(path)\n"
" piter = self.store.iter_parent(citer)\n"
" citer = self.store.iter_children(piter)\n"
@@ -53680,7 +58238,9 @@ msgstr ""
" # if they do, the author as well is selected; otherwise it is not\n"
" self.store[piter][1] = all_selected\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -53695,7 +58255,8 @@ msgstr ""
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/treeview_cellrenderertoggle.py.page:36(section/p)
+#. (itstool) path: section/p
+#: C/treeview_cellrenderertoggle.py.page:36
msgid ""
"In line 48 the <code>\"toggled\"</code> signal is connected to the callback "
"function <code>on_toggled()</code> using <code><var>widget</var>.connect"
@@ -53708,8 +58269,8 @@ msgstr ""
"Consulte la <link xref=\"signals-callbacks.py\"/> para una explicación más "
"detallada."
-#: C/treeview_cellrenderertoggle.py.page:45(item/p)
-#: C/treeview_treestore.py.page:45(item/p)
+#. (itstool) path: item/p
+#: C/treeview_cellrenderertoggle.py.page:45 C/treeview_treestore.py.page:45
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkTreeStore.html"
"\">GtkTreeStore</link>"
@@ -53717,7 +58278,8 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkTreeStore.html"
"\">GtkTreeStore</link>"
-#: C/treeview_cellrenderertoggle.py.page:47(item/p)
+#. (itstool) path: item/p
+#: C/treeview_cellrenderertoggle.py.page:47
msgid ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkCellRendererToggle."
"html\">GtkCellRendererToggle</link>"
@@ -53725,11 +58287,12 @@ msgstr ""
"<link href=\"http://developer.gnome.org/gtk3/unstable/GtkCellRendererToggle."
"html\">GtkCellRendererToggle</link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#: C/treeview_simple_liststore.js.page:24(media)
+#: C/treeview_simple_liststore.js.page:24
msgctxt "_"
msgid ""
"external ref='media/treeview_simple_liststore_penguins.png' "
@@ -53738,20 +58301,24 @@ msgstr ""
"external ref='media/treeview_simple_liststore_penguins.png' "
"md5='d750a0b9fddf8e508753cc639839871d'"
-#: C/treeview_simple_liststore.js.page:7(info/title)
+#. (itstool) path: info/title
+#: C/treeview_simple_liststore.js.page:7
msgctxt "text"
msgid "TreeView with ListStore (JavaScript)"
msgstr "TreeView con ListStore (JavaScript)"
-#: C/treeview_simple_liststore.js.page:20(info/desc)
+#. (itstool) path: info/desc
+#: C/treeview_simple_liststore.js.page:20
msgid "A widget that shows a separate list of items"
msgstr "Un widget que muestra una lista separada de elementos"
-#: C/treeview_simple_liststore.js.page:23(page/title)
+#. (itstool) path: page/title
+#: C/treeview_simple_liststore.js.page:23
msgid "TreeView with ListStore"
msgstr "TreeView con ListStore"
-#: C/treeview_simple_liststore.js.page:25(page/p)
+#. (itstool) path: page/p
+#: C/treeview_simple_liststore.js.page:25
msgid ""
"A TreeView is like a window onto the contents of either a ListStore or a "
"TreeStore. A ListStore is like a spreadsheet: a \"flat\", two-dimensional "
@@ -53771,7 +58338,8 @@ msgstr ""
"xref=\"label.js\">Etiqueta</link> en la parte inferior de la ventana muestre "
"más información acerca de cualquier nombre en el que pulse."
-#: C/treeview_simple_liststore.js.page:26(page/p)
+#. (itstool) path: page/p
+#: C/treeview_simple_liststore.js.page:26
msgid ""
"The TreeView is not just a single widget, but contains a number of smaller "
"ones:"
@@ -53779,7 +58347,8 @@ msgstr ""
"Un TreeView no es solamente un widget individual, sino que contiene varios "
"más pequeños."
-#: C/treeview_simple_liststore.js.page:28(item/p)
+#. (itstool) path: item/p
+#: C/treeview_simple_liststore.js.page:28
msgid ""
"TreeViewColumn widgets show each (vertical) column of information from the "
"ListStore. Each one has a title which can be shown at the top of the column, "
@@ -53789,7 +58358,8 @@ msgstr ""
"del ListStore. Cada uno tiene un título que puede mostrarse en la parte "
"superior de la columna, como en la captura de pantalla."
-#: C/treeview_simple_liststore.js.page:29(item/p)
+#. (itstool) path: item/p
+#: C/treeview_simple_liststore.js.page:29
msgid ""
"CellRenderer widgets are \"packed\" into each TreeViewColumn, and contain "
"the instructions for how to display each individual \"cell\", or item from "
@@ -53803,7 +58373,8 @@ msgstr ""
"se usa aquí y el CellRendererPixbuf, que muestra una imagen («búfer de "
"píxeles»)."
-#: C/treeview_simple_liststore.js.page:31(page/p)
+#. (itstool) path: page/p
+#: C/treeview_simple_liststore.js.page:31
msgid ""
"Finally, we're going to use an object called a TreeIter, which isn't a "
"widget so much as an invisible cursor which points to a (horizontal) row in "
@@ -53818,7 +58389,8 @@ msgstr ""
"crea un TreeIter apuntando a la fila seleccionada, y después se usa para "
"decirle al ListStore el elemento del que tiene que mostrar más información."
-#: C/treeview_simple_liststore.js.page:32(note/p)
+#. (itstool) path: note/p
+#: C/treeview_simple_liststore.js.page:32
msgid ""
"The TreeView is probably the most complicated Gtk widget, because of how "
"many parts it has and how they all have to work together. Give yourself time "
@@ -53830,7 +58402,8 @@ msgstr ""
"un tiempo para aprender cómo funciona y experimentar con él, o intente algo "
"más fácil primero si encuentra problemas."
-#: C/treeview_simple_liststore.js.page:37(section/code)
+#. (itstool) path: section/code
+#: C/treeview_simple_liststore.js.page:37
#, no-wrap
msgid ""
"\n"
@@ -53849,7 +58422,8 @@ msgstr ""
"const Lang = imports.lang;\n"
"const Pango = imports.gi.Pango;\n"
-#: C/treeview_simple_liststore.js.page:50(section/code)
+#. (itstool) path: section/code
+#: C/treeview_simple_liststore.js.page:50
#, no-wrap
msgid ""
"\n"
@@ -53902,7 +58476,8 @@ msgstr ""
" this._buildUI ();\n"
" },\n"
-#: C/treeview_simple_liststore.js.page:75(section/p)
+#. (itstool) path: section/p
+#: C/treeview_simple_liststore.js.page:75
msgid ""
"All the code for this sample goes in the TreeViewExample class. The above "
"code creates a <link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/"
@@ -53914,7 +58489,8 @@ msgstr ""
"Gtk.Application.html\">Gtk.Application</link> en la que van los widgets y la "
"ventana."
-#: C/treeview_simple_liststore.js.page:76(section/code)
+#. (itstool) path: section/code
+#: C/treeview_simple_liststore.js.page:76
#, no-wrap
msgid ""
"\n"
@@ -53943,7 +58519,8 @@ msgstr ""
" border_width: 20,\n"
" title: \"My Phone Book\"});\n"
-#: C/treeview_simple_liststore.js.page:94(section/code)
+#. (itstool) path: section/code
+#: C/treeview_simple_liststore.js.page:94
#, no-wrap
msgid ""
"\n"
@@ -53964,7 +58541,8 @@ msgstr ""
" GObject.TYPE_STRING,\n"
" GObject.TYPE_STRING]);\n"
-#: C/treeview_simple_liststore.js.page:103(section/p)
+#. (itstool) path: section/p
+#: C/treeview_simple_liststore.js.page:103
msgid ""
"We first create the ListStore like we would any widget. Then we call its "
"set_column_types method, and pass it an array of GObject data types. (We "
@@ -53976,15 +58554,18 @@ msgstr ""
"GObject (se podrían haber puesto todos los tipos en una sola línea, pero "
"aquí se separan para hacerlo más fácil de leer)."
-#: C/treeview_simple_liststore.js.page:104(section/p)
+#. (itstool) path: section/p
+#: C/treeview_simple_liststore.js.page:104
msgid "The GObject data types you can use include:"
msgstr "Los tipos de datos GObject que puede usar incluyen:"
-#: C/treeview_simple_liststore.js.page:109(item/p)
+#. (itstool) path: item/p
+#: C/treeview_simple_liststore.js.page:109
msgid "<file>gtk.gdk.Pixbuf</file> -- A picture"
msgstr "<file>gtk.gdk.Pixbuf</file>: una imagen"
-#: C/treeview_simple_liststore.js.page:111(section/p)
+#. (itstool) path: section/p
+#: C/treeview_simple_liststore.js.page:111
msgid ""
"In this case, we're making a ListStore of four columns, each one containing "
"string values."
@@ -53992,7 +58573,8 @@ msgstr ""
"En este caso, se está haciendo un ListStore de cuatro columnas, cada una "
"conteniendo valores de cadenas."
-#: C/treeview_simple_liststore.js.page:114(section/code)
+#. (itstool) path: section/code
+#: C/treeview_simple_liststore.js.page:114
#, no-wrap
msgid ""
"\n"
@@ -54029,7 +58611,8 @@ msgstr ""
" { name: \"Random J.\", surname: \"Hacker\", phone: \"555-5678\",\n"
" description: \"Very random!\"}];\n"
-#: C/treeview_simple_liststore.js.page:131(section/p)
+#. (itstool) path: section/p
+#: C/treeview_simple_liststore.js.page:131
msgid ""
"Here we have the information to go in the ListStore. It's an array of "
"objects, each one corresponding to a single entry in our phone book."
@@ -54038,7 +58621,8 @@ msgstr ""
"objetos, cada uno correspondiente a una única entrada en la libreta de "
"direcciones."
-#: C/treeview_simple_liststore.js.page:132(section/p)
+#. (itstool) path: section/p
+#: C/treeview_simple_liststore.js.page:132
msgid ""
"Note that the TreeView in the screenshot doesn't actually show the data from "
"the \"description\" properties. Instead, that information's shown in the "
@@ -54057,7 +58641,8 @@ msgstr ""
"cosas del mismo ListStore, como la etiqueta del ejemplo, o incluso un "
"segundo TreeView."
-#: C/treeview_simple_liststore.js.page:134(section/code)
+#. (itstool) path: section/code
+#: C/treeview_simple_liststore.js.page:134
#, no-wrap
msgid ""
"\n"
@@ -54074,7 +58659,8 @@ msgstr ""
" [contact.name, contact.surname, contact.phone, contact.description]);\n"
" }\n"
-#: C/treeview_simple_liststore.js.page:141(section/p)
+#. (itstool) path: section/p
+#: C/treeview_simple_liststore.js.page:141
msgid ""
"This <file>for</file> loop puts the strings from our phonebook into our "
"ListStore in order. In order, we pass the ListStore's set method the iter "
@@ -54087,7 +58673,8 @@ msgstr ""
"quieren establecer, y una matriz que contiene los datos que se quieren poner "
"en esas columnas."
-#: C/treeview_simple_liststore.js.page:142(section/p)
+#. (itstool) path: section/p
+#: C/treeview_simple_liststore.js.page:142
msgid ""
"A ListStore's <file>append</file> method adds a horizontal row onto it (it "
"starts out with none), and returns a TreeIter pointing to that row like a "
@@ -54102,11 +58689,13 @@ msgstr ""
"método <file>set</file> en qué fila tiene que establecer los datos al mismo "
"tiempo."
-#: C/treeview_simple_liststore.js.page:147(section/title)
+#. (itstool) path: section/title
+#: C/treeview_simple_liststore.js.page:147
msgid "Creating the TreeView"
msgstr "Crear el TreeView"
-#: C/treeview_simple_liststore.js.page:148(section/code)
+#. (itstool) path: section/code
+#: C/treeview_simple_liststore.js.page:148
#, no-wrap
msgid ""
"\n"
@@ -54121,7 +58710,8 @@ msgstr ""
" expand: true,\n"
" model: this._listStore });\n"
-#: C/treeview_simple_liststore.js.page:154(section/p)
+#. (itstool) path: section/p
+#: C/treeview_simple_liststore.js.page:154
msgid ""
"Here we create a basic TreeView widget, that expands both horizontally and "
"vertically to use as much space as needed. We set it to use the ListStore we "
@@ -54132,7 +58722,8 @@ msgstr ""
"usar el ListStore que se creó como su «modelo», o aquello desde donde "
"mostrará datos."
-#: C/treeview_simple_liststore.js.page:156(section/code)
+#. (itstool) path: section/code
+#: C/treeview_simple_liststore.js.page:156
#, no-wrap
msgid ""
"\n"
@@ -54147,7 +58738,8 @@ msgstr ""
" let lastName = new Gtk.TreeViewColumn ({ title: \"Last Name\" });\n"
" let phone = new Gtk.TreeViewColumn ({ title: \"Phone Number\" });\n"
-#: C/treeview_simple_liststore.js.page:162(section/p)
+#. (itstool) path: section/p
+#: C/treeview_simple_liststore.js.page:162
msgid ""
"Now we create each of the vertical TreeViewColumns we'll see in the "
"TreeView. The title for each one goes at the top, as you can see in the "
@@ -54157,7 +58749,8 @@ msgstr ""
"TreeView. El título de cada una va en la parte superior, como puede ver en "
"la captura de pantalla."
-#: C/treeview_simple_liststore.js.page:164(section/code)
+#. (itstool) path: section/code
+#: C/treeview_simple_liststore.js.page:164
#, no-wrap
msgid ""
"\n"
@@ -54186,7 +58779,8 @@ msgstr ""
" lastName.pack_start (normal, true);\n"
" phone.pack_start (normal, true);\n"
-#: C/treeview_simple_liststore.js.page:177(section/p)
+#. (itstool) path: section/p
+#: C/treeview_simple_liststore.js.page:177
msgid ""
"Here we create the CellRenderers that we'll use to display the text from our "
"ListStore, and pack them into the TreeViewColumns. Each CellRendererText is "
@@ -54206,7 +58800,8 @@ msgstr ""
"<file>pack_start</file> le dice que expanda las celdas cuando sea posible, "
"en lugar de mantenerlas compactas."
-#: C/treeview_simple_liststore.js.page:178(note/p)
+#. (itstool) path: note/p
+#: C/treeview_simple_liststore.js.page:178
msgid ""
"<link href=\"http://www.pygtk.org/docs/pygtk/pango-constants.html\">Here is "
"a list</link> of other text properties you can use. In order to use these "
@@ -54218,7 +58813,8 @@ msgstr ""
"estas constantes de Pango, asegúrese de poner la línea <file>const Pango = "
"imports.gi.Pango;</file> al principio del código como se hizo."
-#: C/treeview_simple_liststore.js.page:180(section/code)
+#. (itstool) path: section/code
+#: C/treeview_simple_liststore.js.page:180
#, no-wrap
msgid ""
"\n"
@@ -54241,7 +58837,8 @@ msgstr ""
" this._treeView.insert_column (lastName, 1);\n"
" this._treeView.insert_column (phone, 2);\n"
-#: C/treeview_simple_liststore.js.page:190(section/p)
+#. (itstool) path: section/p
+#: C/treeview_simple_liststore.js.page:190
msgid ""
"Now that we've put the CellRenderers into the TreeViewColumns, we use the "
"<file>add_attribute</file> method to tell each column to pull in text from "
@@ -54253,7 +58850,8 @@ msgstr ""
"texto del modelo que el TreeView está configurado para usar; en este caso, "
"el ListStore con la libreta de direcciones."
-#: C/treeview_simple_liststore.js.page:192(item/p)
+#. (itstool) path: item/p
+#: C/treeview_simple_liststore.js.page:192
msgid ""
"The first parameter is which CellRenderer we're going to use to render what "
"we're pulling in."
@@ -54261,7 +58859,8 @@ msgstr ""
"El primer parámetro es qué CellRenderer se usará para procesar lo que se "
"está obteniendo."
-#: C/treeview_simple_liststore.js.page:193(item/p)
+#. (itstool) path: item/p
+#: C/treeview_simple_liststore.js.page:193
msgid ""
"The second parameter is what kind of information we're going to pull in. In "
"this case, we're letting it know that we're rendering text."
@@ -54269,7 +58868,8 @@ msgstr ""
"El segundo parámetro es qué tipo de información se obtendrá. En este caso, "
"se le está haciendo saber que se procesa texto."
-#: C/treeview_simple_liststore.js.page:194(item/p)
+#. (itstool) path: item/p
+#: C/treeview_simple_liststore.js.page:194
msgid ""
"The third parameter is which of the ListStore's columns we're pulling that "
"information in from."
@@ -54277,7 +58877,8 @@ msgstr ""
"El tercer parámetro es de cuál de las columnas del ListStore se está "
"obteniendo la información."
-#: C/treeview_simple_liststore.js.page:196(section/p)
+#. (itstool) path: section/p
+#: C/treeview_simple_liststore.js.page:196
msgid ""
"After we've set that up, we use the TreeView's <file>insert_column</file> "
"method to put our TreeViewColumns inside it in order. Our TreeView is now "
@@ -54287,7 +58888,8 @@ msgstr ""
"del TreeView para poner dentro las TreeViewColumn en orden. El TreeView "
"ahora está terminado."
-#: C/treeview_simple_liststore.js.page:197(note/p)
+#. (itstool) path: note/p
+#: C/treeview_simple_liststore.js.page:197
msgid ""
"Normally, you might want to use a loop to initialize your TreeView, but in "
"this example we're spelling things out step by step for the sake of making "
@@ -54296,11 +58898,13 @@ msgstr ""
"Normalmente, usaría un bucle para inicializar su TreeView, pero en este "
"ejemplo se hacen las cosas paso a paso para hacerlo más fácil de entender."
-#: C/treeview_simple_liststore.js.page:201(section/title)
+#. (itstool) path: section/title
+#: C/treeview_simple_liststore.js.page:201
msgid "Building the rest of the UI"
msgstr "Crear el resto de la IU"
-#: C/treeview_simple_liststore.js.page:202(section/code)
+#. (itstool) path: section/code
+#: C/treeview_simple_liststore.js.page:202
#, no-wrap
msgid ""
"\n"
@@ -54323,7 +58927,8 @@ msgstr ""
" // When something new is selected, call _on_changed\n"
" this.selection.connect ('changed', Lang.bind (this, this._onSelectionChanged));\n"
-#: C/treeview_simple_liststore.js.page:212(section/p)
+#. (itstool) path: section/p
+#: C/treeview_simple_liststore.js.page:212
msgid ""
"The TreeView's <file>get_selection</file> method returns an object called a "
"TreeSelection. A TreeSelection is like a TreeIter in that it's basically a "
@@ -54335,7 +58940,8 @@ msgstr ""
"básicamente un cursor que apunta a una fila particular, excepto que apunta a "
"la que está resaltada visiblemente como seleccionada."
-#: C/treeview_simple_liststore.js.page:213(section/p)
+#. (itstool) path: section/p
+#: C/treeview_simple_liststore.js.page:213
msgid ""
"After we get the TreeSelection that goes with our TreeView, we ask it to "
"tell us when it changes which row it's pointing to. We do this by connecting "
@@ -54348,7 +58954,8 @@ msgstr ""
"que se escribió. Esta función cambia el texto que muestra la etiqueta que se "
"acaba de hacer."
-#: C/treeview_simple_liststore.js.page:215(section/code)
+#. (itstool) path: section/code
+#: C/treeview_simple_liststore.js.page:215
#, no-wrap
msgid ""
"\n"
@@ -54381,7 +58988,8 @@ msgstr ""
" this._window.show_all();\n"
" },\n"
-#: C/treeview_simple_liststore.js.page:230(section/p)
+#. (itstool) path: section/p
+#: C/treeview_simple_liststore.js.page:230
msgid ""
"After we've gotten that out of the way, we create a <link xref=\"grid.js"
"\">Grid</link> to put everything in, then add it to our window and tell the "
@@ -54391,11 +58999,13 @@ msgstr ""
"link> para poner todo dentro, se añade a la ventana y se le dice a esta que "
"se muestre y revele su contenido."
-#: C/treeview_simple_liststore.js.page:234(section/title)
+#. (itstool) path: section/title
+#: C/treeview_simple_liststore.js.page:234
msgid "Function which handles a changed selection"
msgstr "Función que maneja una selección cambiada"
-#: C/treeview_simple_liststore.js.page:236(section/code)
+#. (itstool) path: section/code
+#: C/treeview_simple_liststore.js.page:236
#, no-wrap
msgid ""
"\n"
@@ -54432,7 +59042,8 @@ msgstr ""
"\n"
"});\n"
-#: C/treeview_simple_liststore.js.page:253(section/p)
+#. (itstool) path: section/p
+#: C/treeview_simple_liststore.js.page:253
msgid ""
"The line of code with the let statement is a little convoluted, but it's "
"nonetheless the best way to get a TreeIter pointing to the same row as our "
@@ -54444,7 +59055,8 @@ msgstr ""
"que la TreeSelection. Tiene que crear un par de referencias a otros objetos, "
"pero <file>iter</file> es la única que se necesita."
-#: C/treeview_simple_liststore.js.page:254(section/p)
+#. (itstool) path: section/p
+#: C/treeview_simple_liststore.js.page:254
msgid ""
"After we've done that, we call the Label's <file>set_label</file> function, "
"and use the ListStore's <file>get_value</file> function a handful of times "
@@ -54457,7 +59069,8 @@ msgstr ""
"parámetros son un TreeIter apuntando a la fila de la que queremos obtener "
"los datos, y la columna."
-#: C/treeview_simple_liststore.js.page:255(section/p)
+#. (itstool) path: section/p
+#: C/treeview_simple_liststore.js.page:255
msgid ""
"Here, we want to get data from all four columns, including the \"hidden\" "
"one that's not part of the TreeView. This way, we can use our Label to show "
@@ -54469,7 +59082,8 @@ msgstr ""
"etiqueta para mostrar cadenas que son demasiado largas para entrar en el "
"TreeView, y que no necesitamos ver de un vistazo."
-#: C/treeview_simple_liststore.js.page:257(section/code)
+#. (itstool) path: section/code
+#: C/treeview_simple_liststore.js.page:257
#, no-wrap
msgid ""
"\n"
@@ -54482,7 +59096,8 @@ msgstr ""
"let app = new TreeViewExample ();\n"
"app.application.run (ARGV);\n"
-#: C/treeview_simple_liststore.js.page:262(section/p)
+#. (itstool) path: section/p
+#: C/treeview_simple_liststore.js.page:262
msgid ""
"Finally, we create a new instance of the finished TreeViewExample class, and "
"set the application running."
@@ -54490,7 +59105,8 @@ msgstr ""
"Finalmente, se crea una instancia nueva de la clase TreeViewExample "
"terminada, y se ejecuta la aplicación."
-#: C/treeview_simple_liststore.js.page:267(section/code)
+#. (itstool) path: section/code
+#: C/treeview_simple_liststore.js.page:267
#, no-wrap
msgid ""
"#!/usr/bin/gjs\n"
@@ -54797,7 +59413,8 @@ msgstr ""
"let app = new TreeViewExample ();\n"
"app.application.run (ARGV);\n"
-#: C/treeview_simple_liststore.js.page:281(item/p)
+#. (itstool) path: item/p
+#: C/treeview_simple_liststore.js.page:281
msgid ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.TreeSelection."
"html\">Gtk.TreeSelection</link>"
@@ -54805,7 +59422,8 @@ msgstr ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.TreeSelection."
"html\">Gtk.TreeSelection</link>"
-#: C/treeview_simple_liststore.js.page:282(item/p)
+#. (itstool) path: item/p
+#: C/treeview_simple_liststore.js.page:282
msgid ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.TreeView.html"
"\">Gtk.TreeView</link>"
@@ -54813,7 +59431,8 @@ msgstr ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.TreeView.html"
"\">Gtk.TreeView</link>"
-#: C/treeview_simple_liststore.js.page:283(item/p)
+#. (itstool) path: item/p
+#: C/treeview_simple_liststore.js.page:283
msgid ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk."
"TreeViewColumn.html\">Gtk.TreeViewColumn</link>"
@@ -54821,17 +59440,13 @@ msgstr ""
"<link href=\"http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk."
"TreeViewColumn.html\">Gtk.TreeViewColumn</link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#.
-#. This is a reference to an external file such as an image or video. When
-#. the file changes, the md5 hash will change to let you know you need to
-#. update your localized copy. The msgstr is not used at all. Set it to
-#. whatever you like once you have updated your copy of the file.
-#: C/treeview_simple_liststore.py.page:23(media)
-#: C/treeview_simple_liststore.vala.page:23(media)
+#: C/treeview_simple_liststore.py.page:23
+#: C/treeview_simple_liststore.vala.page:23
msgctxt "_"
msgid ""
"external ref='media/treeview_simple_liststore.png' "
@@ -54840,21 +59455,105 @@ msgstr ""
"external ref='media/treeview_simple_liststore.png' "
"md5='2dc501a2b95b094da985d37b66aee90c'"
-#: C/treeview_simple_liststore.py.page:7(info/title)
+#. (itstool) path: info/title
+#: C/treeview_simple_liststore.py.page:7
msgctxt "text"
msgid "Simple TreeView with ListStore (Python)"
msgstr "TreeView sencillo con ListStore (Python)"
-#: C/treeview_simple_liststore.py.page:19(info/desc)
+#. (itstool) path: info/desc
+#: C/treeview_simple_liststore.py.page:19
msgid "A TreeView displaying a ListStore (simpler example)"
msgstr "Un TreeView mostrando un ListStore (ejemplo más simple)"
-#: C/treeview_simple_liststore.py.page:22(page/title)
+#. (itstool) path: page/title
+#: C/treeview_simple_liststore.py.page:22
msgid "Simple TreeView with ListStore"
msgstr "TreeView sencillo con ListStore"
-#: C/treeview_simple_liststore.py.page:31(section/code)
+#. (itstool) path: section/code
+#: C/treeview_simple_liststore.py.page:31
#, no-wrap
+#| msgid ""
+#| "from gi.repository import Gtk\n"
+#| "from gi.repository import Pango\n"
+#| "import sys\n"
+#| "\n"
+#| "columns = [\"First Name\",\n"
+#| " \"Last Name\",\n"
+#| " \"Phone Number\"]\n"
+#| "\n"
+#| "phonebook = [[\"Jurg\", \"Billeter\", \"555-0123\"],\n"
+#| " [\"Johannes\", \"Schmid\", \"555-1234\"],\n"
+#| " [\"Julita\", \"Inca\", \"555-2345\"],\n"
+#| " [\"Javier\", \"Jardon\", \"555-3456\"],\n"
+#| " [\"Jason\", \"Clinton\", \"555-4567\"],\n"
+#| " [\"Random J.\", \"Hacker\", \"555-5678\"]]\n"
+#| "\n"
+#| "class MyWindow(Gtk.ApplicationWindow):\n"
+#| " def __init__(self, app):\n"
+#| " Gtk.Window.__init__(self, title=\"My Phone Book\", application=app)\n"
+#| " self.set_default_size(250, 100)\n"
+#| " self.set_border_width(10)\n"
+#| "\n"
+#| " # the data in the model (three strings for each row, one for each column)\n"
+#| " listmodel = Gtk.ListStore(str, str, str)\n"
+#| " # append the values in the model\n"
+#| " for i in range(len(phonebook)):\n"
+#| " listmodel.append(phonebook[i])\n"
+#| "\n"
+#| " # a treeview to see the data stored in the model\n"
+#| " view = Gtk.TreeView(model=listmodel)\n"
+#| " # for each column\n"
+#| " for i in range(len(columns)):\n"
+#| " # cellrenderer to render the text\n"
+#| " cell = Gtk.CellRendererText()\n"
+#| " # the text in the first column should be in boldface\n"
+#| " if i == 0:\n"
+#| " cell.props.weight_set=True\n"
+#| " cell.props.weight=Pango.Weight.BOLD\n"
+#| " # the column is created\n"
+#| " col = Gtk.TreeViewColumn(columns[i], cell, text=i)\n"
+#| " # and it is appended to the treeview\n"
+#| " view.append_column(col)\n"
+#| "\n"
+#| " # when a row is selected, it emits a signal\n"
+#| " view.get_selection().connect(\"changed\", self.on_changed)\n"
+#| "\n"
+#| " # the label we use to show the selection\n"
+#| " self.label = Gtk.Label()\n"
+#| " self.label.set_text(\"\")\n"
+#| "\n"
+#| " # a grid to attach the widgets\n"
+#| " grid = Gtk.Grid()\n"
+#| " grid.attach(view, 0, 0, 1, 1)\n"
+#| " grid.attach(self.label, 0, 1, 1, 1)\n"
+#| "\n"
+#| " # attach the grid to the window\n"
+#| " self.add(grid)\n"
+#| "\n"
+#| " def on_changed(self, selection):\n"
+#| " # get the model and the iterator that points at the data in the model\n"
+#| " (model, iter) = selection.get_selected()\n"
+#| " # set the label to a new value depending on the selection\n"
+#| " self.label.set_text(\"\\n %s %s %s\" %(model[iter][0], model[iter][1], model[iter][2]))\n"
+#| " return True\n"
+#| "\n"
+#| "\n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " def __init__(self):\n"
+#| " Gtk.Application.__init__(self)\n"
+#| "\n"
+#| " def do_activate(self):\n"
+#| " win = MyWindow(self)\n"
+#| " win.show_all()\n"
+#| "\n"
+#| " def do_startup(self):\n"
+#| " Gtk.Application.do_startup(self)\n"
+#| "\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"from gi.repository import Gtk\n"
"from gi.repository import Pango\n"
@@ -54871,13 +59570,16 @@ msgid ""
" [\"Jason\", \"Clinton\", \"555-4567\"],\n"
" [\"Random J.\", \"Hacker\", \"555-5678\"]]\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"My Phone Book\", application=app)\n"
" self.set_default_size(250, 100)\n"
" self.set_border_width(10)\n"
"\n"
-" # the data in the model (three strings for each row, one for each column)\n"
+" # the data in the model (three strings for each row, one for each\n"
+" # column)\n"
" listmodel = Gtk.ListStore(str, str, str)\n"
" # append the values in the model\n"
" for i in range(len(phonebook)):\n"
@@ -54891,8 +59593,8 @@ msgid ""
" cell = Gtk.CellRendererText()\n"
" # the text in the first column should be in boldface\n"
" if i == 0:\n"
-" cell.props.weight_set=True\n"
-" cell.props.weight=Pango.Weight.BOLD\n"
+" cell.props.weight_set = True\n"
+" cell.props.weight = Pango.Weight.BOLD\n"
" # the column is created\n"
" col = Gtk.TreeViewColumn(columns[i], cell, text=i)\n"
" # and it is appended to the treeview\n"
@@ -54917,11 +59619,13 @@ msgid ""
" # get the model and the iterator that points at the data in the model\n"
" (model, iter) = selection.get_selected()\n"
" # set the label to a new value depending on the selection\n"
-" self.label.set_text(\"\\n %s %s %s\" %(model[iter][0], model[iter][1], model[iter][2]))\n"
+" self.label.set_text(\"\\n %s %s %s\" %\n"
+" (model[iter][0], model[iter][1], model[iter][2]))\n"
" return True\n"
"\n"
"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -54951,13 +59655,16 @@ msgstr ""
" [\"Jason\", \"Clinton\", \"555-4567\"],\n"
" [\"Random J.\", \"Hacker\", \"555-5678\"]]\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"My Phone Book\", application=app)\n"
" self.set_default_size(250, 100)\n"
" self.set_border_width(10)\n"
"\n"
-" # the data in the model (three strings for each row, one for each column)\n"
+" # the data in the model (three strings for each row, one for each\n"
+" # column)\n"
" listmodel = Gtk.ListStore(str, str, str)\n"
" # append the values in the model\n"
" for i in range(len(phonebook)):\n"
@@ -54971,8 +59678,8 @@ msgstr ""
" cell = Gtk.CellRendererText()\n"
" # the text in the first column should be in boldface\n"
" if i == 0:\n"
-" cell.props.weight_set=True\n"
-" cell.props.weight=Pango.Weight.BOLD\n"
+" cell.props.weight_set = True\n"
+" cell.props.weight = Pango.Weight.BOLD\n"
" # the column is created\n"
" col = Gtk.TreeViewColumn(columns[i], cell, text=i)\n"
" # and it is appended to the treeview\n"
@@ -54997,11 +59704,13 @@ msgstr ""
" # get the model and the iterator that points at the data in the model\n"
" (model, iter) = selection.get_selected()\n"
" # set the label to a new value depending on the selection\n"
-" self.label.set_text(\"\\n %s %s %s\" %(model[iter][0], model[iter][1], model[iter][2]))\n"
+" self.label.set_text(\"\\n %s %s %s\" %\n"
+" (model[iter][0], model[iter][1], model[iter][2]))\n"
" return True\n"
"\n"
"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -55016,7 +59725,8 @@ msgstr ""
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/treeview_simple_liststore.py.page:36(section/p)
+#. (itstool) path: section/p
+#: C/treeview_simple_liststore.py.page:36
msgid ""
"The TreeView widget is designed around a <em>Model/View/Controller</em> "
"design: the <em>Model</em> stores the data; the <em>View</em> gets change "
@@ -55033,7 +59743,8 @@ msgstr ""
"métodos útiles del «TreeModel», consulte la <link xref=\"model-view-"
"controller.py\"/>."
-#: C/treeview_simple_liststore.py.page:37(section/p)
+#. (itstool) path: section/p
+#: C/treeview_simple_liststore.py.page:37
msgid ""
"In line 44 the <code>\"changed\"</code> signal is connected to the callback "
"function <code>on_changed()</code> using <code><var>widget</var>.connect"
@@ -55046,7 +59757,8 @@ msgstr ""
"Consulte la <link xref=\"signals-callbacks.py\"/> para una explicación más "
"detallada."
-#: C/treeview_simple_liststore.py.page:50(item/p)
+#. (itstool) path: item/p
+#: C/treeview_simple_liststore.py.page:50
msgid ""
"<link href=\"http://developer.gnome.org/pango/stable/pango-Fonts.html"
"\">Fonts</link>"
@@ -55054,22 +59766,26 @@ msgstr ""
"<link href=\"http://developer.gnome.org/pango/stable/pango-Fonts.html"
"\">Tipografías</link>"
-#: C/treeview_simple_liststore.vala.page:7(info/title)
+#. (itstool) path: info/title
+#: C/treeview_simple_liststore.vala.page:7
msgctxt "text"
msgid "Simple Treeview with ListStore (Vala)"
msgstr "Treeview sencillo con ListStore (Vala)"
-#: C/treeview_simple_liststore.vala.page:19(info/desc)
+#. (itstool) path: info/desc
+#: C/treeview_simple_liststore.vala.page:19
msgid "A widget can display any TreeModel implementation (lists and trees)"
msgstr ""
"Un widget puede mostrar cualquier implementación de TreeModel (listas y "
"árboles)"
-#: C/treeview_simple_liststore.vala.page:22(page/title)
+#. (itstool) path: page/title
+#: C/treeview_simple_liststore.vala.page:22
msgid "Simple Treeview with ListStore"
msgstr "Treeview sencillo con ListStore"
-#: C/treeview_simple_liststore.vala.page:24(page/p)
+#. (itstool) path: page/p
+#: C/treeview_simple_liststore.vala.page:24
msgid ""
"This TreeView displays a simple ListStore with the Selection \"changed\" "
"signal connected."
@@ -55077,7 +59793,8 @@ msgstr ""
"Este TreeView muestra un ListStore sencillo con la señal de selección "
"«changed» conectada."
-#: C/treeview_simple_liststore.vala.page:26(page/code)
+#. (itstool) path: page/code
+#: C/treeview_simple_liststore.vala.page:26
#, no-wrap
msgid ""
"public class PhoneBookEntry {\n"
@@ -55332,7 +60049,8 @@ msgstr ""
"\treturn new MyApplication ().run (args);\n"
"}\n"
-#: C/treeview_simple_liststore.vala.page:31(item/p)
+#. (itstool) path: item/p
+#: C/treeview_simple_liststore.vala.page:31
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.TreeView.html\">Gtk."
"TreeView</link>"
@@ -55340,7 +60058,8 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.TreeView.html\">Gtk."
"TreeView</link>"
-#: C/treeview_simple_liststore.vala.page:33(item/p)
+#. (itstool) path: item/p
+#: C/treeview_simple_liststore.vala.page:33
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.TreeSelection.html\">Gtk."
"TreeSelection</link>"
@@ -55348,11 +60067,12 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.TreeSelection.html\">Gtk."
"TreeSelection</link>"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#: C/treeview_treestore.py.page:23(media)
+#: C/treeview_treestore.py.page:23
msgctxt "_"
msgid ""
"external ref='media/treeview_treestore.png' "
@@ -55361,20 +60081,84 @@ msgstr ""
"external ref='media/treeview_treestore.png' "
"md5='5ca87bc4acd55c527b3fb5fd46779d85'"
-#: C/treeview_treestore.py.page:19(info/desc)
+#. (itstool) path: info/desc
+#: C/treeview_treestore.py.page:19
msgid "A TreeView displaying a TreeStore (simpler example)"
msgstr "Un TreeView mostrando un TreeStore (ejemplo más simple)"
-#: C/treeview_treestore.py.page:22(page/title)
+#. (itstool) path: page/title
+#: C/treeview_treestore.py.page:22
msgid "Simpler TreeView with TreeStore"
msgstr "TreeView más sencillo con ListStore"
-#: C/treeview_treestore.py.page:24(page/p)
+#. (itstool) path: page/p
+#: C/treeview_treestore.py.page:24
msgid "This TreeView displays a TreeStore."
msgstr "Este TreeView muestra un TreeStore"
-#: C/treeview_treestore.py.page:31(section/code)
+#. (itstool) path: section/code
+#: C/treeview_treestore.py.page:31
#, no-wrap
+#| msgid ""
+#| "from gi.repository import Gtk\n"
+#| "from gi.repository import Pango\n"
+#| "import sys\n"
+#| "\n"
+#| "books = [[\"Tolstoy, Leo\", \"War and Peace\", \"Anna Karenina\"],\n"
+#| " [\"Shakespeare, William\", \"Hamlet\", \"Macbeth\", \"Othello\"],\n"
+#| " [\"Tolkien, J.R.R.\", \"The Lord of the Rings\"]]\n"
+#| "\n"
+#| "class MyWindow(Gtk.ApplicationWindow):\n"
+#| " def __init__(self, app):\n"
+#| " Gtk.Window.__init__(self, title=\"Library\", application=app)\n"
+#| " self.set_default_size(250, 100)\n"
+#| " self.set_border_width(10)\n"
+#| "\n"
+#| " # the data are stored in the model\n"
+#| " # create a treestore with one column\n"
+#| " store = Gtk.TreeStore(str)\n"
+#| " for i in range(len(books)):\n"
+#| " # the iter piter is returned when appending the author\n"
+#| " piter = store.append(None, [books[i][0]])\n"
+#| " # append the books as children of the author\n"
+#| " j = 1\n"
+#| " while j < len(books[i]):\n"
+#| " store.append(piter, [books[i][j]])\n"
+#| " j += 1\n"
+#| "\n"
+#| " # the treeview shows the model\n"
+#| " # create a treeview on the model store\n"
+#| " view = Gtk.TreeView()\n"
+#| " view.set_model(store)\n"
+#| "\n"
+#| " # the cellrenderer for the column - text\n"
+#| " renderer_books = Gtk.CellRendererText()\n"
+#| " # the column is created\n"
+#| " column_books = Gtk.TreeViewColumn(\"Books by Author\", renderer_books, text=0)\n"
+#| " # and it is appended to the treeview\n"
+#| " view.append_column(column_books)\n"
+#| "\n"
+#| " # the books are sortable by author\n"
+#| " column_books.set_sort_column_id(0)\n"
+#| "\n"
+#| " # add the treeview to the window\n"
+#| " self.add(view)\n"
+#| "\n"
+#| "\n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " def __init__(self):\n"
+#| " Gtk.Application.__init__(self)\n"
+#| "\n"
+#| " def do_activate(self):\n"
+#| " win = MyWindow(self)\n"
+#| " win.show_all()\n"
+#| "\n"
+#| " def do_startup(self):\n"
+#| " Gtk.Application.do_startup(self)\n"
+#| "\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"from gi.repository import Gtk\n"
"from gi.repository import Pango\n"
@@ -55384,7 +60168,9 @@ msgid ""
" [\"Shakespeare, William\", \"Hamlet\", \"Macbeth\", \"Othello\"],\n"
" [\"Tolkien, J.R.R.\", \"The Lord of the Rings\"]]\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"Library\", application=app)\n"
" self.set_default_size(250, 100)\n"
@@ -55410,7 +60196,8 @@ msgid ""
" # the cellrenderer for the column - text\n"
" renderer_books = Gtk.CellRendererText()\n"
" # the column is created\n"
-" column_books = Gtk.TreeViewColumn(\"Books by Author\", renderer_books, text=0)\n"
+" column_books = Gtk.TreeViewColumn(\n"
+" \"Books by Author\", renderer_books, text=0)\n"
" # and it is appended to the treeview\n"
" view.append_column(column_books)\n"
"\n"
@@ -55422,6 +60209,7 @@ msgid ""
"\n"
"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -55444,7 +60232,9 @@ msgstr ""
" [\"Shakespeare, William\", \"Hamlet\", \"Macbeth\", \"Othello\"],\n"
" [\"Tolkien, J.R.R.\", \"The Lord of the Rings\"]]\n"
"\n"
+"\n"
"class MyWindow(Gtk.ApplicationWindow):\n"
+"\n"
" def __init__(self, app):\n"
" Gtk.Window.__init__(self, title=\"Library\", application=app)\n"
" self.set_default_size(250, 100)\n"
@@ -55470,7 +60260,8 @@ msgstr ""
" # the cellrenderer for the column - text\n"
" renderer_books = Gtk.CellRendererText()\n"
" # the column is created\n"
-" column_books = Gtk.TreeViewColumn(\"Books by Author\", renderer_books, text=0)\n"
+" column_books = Gtk.TreeViewColumn(\n"
+" \"Books by Author\", renderer_books, text=0)\n"
" # and it is appended to the treeview\n"
" view.append_column(column_books)\n"
"\n"
@@ -55482,6 +60273,7 @@ msgstr ""
"\n"
"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def __init__(self):\n"
" Gtk.Application.__init__(self)\n"
"\n"
@@ -55496,15 +60288,18 @@ msgstr ""
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/translate.page:15(credit/name)
+#. (itstool) path: credit/name
+#: C/translate.page:15
msgid "Michael Hill"
msgstr "Michael Hill"
-#: C/translate.page:23(page/title)
+#. (itstool) path: page/title
+#: C/translate.page:23
msgid "Help translate"
msgstr "Ayudar a traducir"
-#: C/translate.page:24(page/p)
+#. (itstool) path: page/p
+#: C/translate.page:24
msgid ""
"The <app>Tutorial Demos</app> are being translated by a world-wide volunteer "
"community. You are welcome to participate."
@@ -55512,7 +60307,8 @@ msgstr ""
"Los <app>Tutoriales de demostración</app> los traduce una comunidad de "
"voluntarios de todo el mundo. Si quiere participar, es bienvenido."
-#: C/translate.page:27(page/p)
+#. (itstool) path: page/p
+#: C/translate.page:27
msgid ""
"There are <link href=\"http://l10n.gnome.org/module/gnome-devel-docs/\">many "
"languages</link> for which translations are still needed."
@@ -55520,7 +60316,8 @@ msgstr ""
"Hay <link href=\"http://l10n.gnome.org/module/gnome-devel-docs/\">muchos "
"idiomas</link> para los que se siguen necesitando traducciones."
-#: C/translate.page:30(page/p)
+#. (itstool) path: page/p
+#: C/translate.page:30
msgid ""
"To start translating you will need to <link href=\"http://l10n.gnome.org"
"\">create an account</link> and join the <link href=\"http://l10n.gnome.org/"
@@ -55532,7 +60329,8 @@ msgstr ""
"\">equipo de traducción</link> de su idioma. Esto le dará la posibilidad de "
"subir traducciones nuevas."
-#: C/translate.page:34(page/p)
+#. (itstool) path: page/p
+#: C/translate.page:34
msgid ""
"You can chat with GNOME translators using <link href=\"https://cbe003.chat."
"mibbit.com/?url=irc%3A%2F%2Firc.gnome.org%2Fi18n\">irc</link>. People on the "
@@ -55545,7 +60343,8 @@ msgstr ""
"que puede que no obtenga una respuesta inmediata debido a las diferencias "
"horarias."
-#: C/translate.page:37(page/p)
+#. (itstool) path: page/p
+#: C/translate.page:37
msgid ""
"Alternatively, you can contact the Internationalization Team using their "
"<link href=\"http://mail.gnome.org/mailman/listinfo/gnome-i18n\">mailing "
@@ -55555,12 +60354,14 @@ msgstr ""
"usando su <link href=\"http://mail.gnome.org/mailman/listinfo/gnome-i18n"
"\">lista de correo</link>."
-#: C/tutorial.py.page:8(info/title)
+#. (itstool) path: info/title
+#: C/tutorial.py.page:8
msgctxt "text"
msgid "Tutorial for beginners (Python)"
msgstr "Tutorial para principiantes (Python)"
-#: C/tutorial.py.page:12(info/desc)
+#. (itstool) path: info/desc
+#: C/tutorial.py.page:12
msgid ""
"A tutorial for beginners who want to learn how to program GUIs using GTK+ in "
"Python."
@@ -55568,15 +60369,18 @@ msgstr ""
"Un tutorial para principiantes que quieran aprender cómo programar IGU "
"usando GTK+ en Python."
-#: C/tutorial.py.page:21(credit/years)
+#. (itstool) path: credit/years
+#: C/tutorial.py.page:21
msgid "2012 2013"
msgstr "2012 2013"
-#: C/tutorial.py.page:24(credit/name)
+#. (itstool) path: credit/name
+#: C/tutorial.py.page:24
msgid "Jim Campbell"
msgstr "Jim Campbell"
-#: C/tutorial.py.page:33(synopsis/p)
+#. (itstool) path: synopsis/p
+#: C/tutorial.py.page:33
msgid ""
"By following these tutorials you will learn the basics of GUI programming "
"using GTK+ in Python."
@@ -55584,7 +60388,8 @@ msgstr ""
"Siguiendo estos tutoriales, aprenderá los conceptos básicos de la "
"programación de interfaces de usuario usando GTK+ en Python."
-#: C/tutorial.py.page:35(synopsis/p)
+#. (itstool) path: synopsis/p
+#: C/tutorial.py.page:35
msgid ""
"If you have never programmed before, or are not familiar with the concepts "
"of object oriented programming, you may need to learn a few basics first. "
@@ -55606,15 +60411,18 @@ msgstr ""
"Tutorial</link>. Una vez que domine los conceptos básicos, vuelva y revise "
"estos tutoriales."
-#: C/tutorial.py.page:41(section/title)
+#. (itstool) path: section/title
+#: C/tutorial.py.page:41
msgid "To run the code samples"
msgstr "Para ejecutar los ejemplos de código"
-#: C/tutorial.py.page:43(section/p)
+#. (itstool) path: section/p
+#: C/tutorial.py.page:43
msgid "To run the code samples in the tutorial:"
msgstr "Para ejecutar los ejemplos de código en el tutorial:"
-#: C/tutorial.py.page:45(item/p)
+#. (itstool) path: item/p
+#: C/tutorial.py.page:45
msgid ""
"Type or copy and paste the code into a file, and save the file with a name "
"like <var>filename</var>.py"
@@ -55622,16 +60430,19 @@ msgstr ""
"Escriba o copie y pegue el código en un archivo, y guárdelo con un nombre "
"como <var>nombre_archivo</var>.py"
-#: C/tutorial.py.page:46(item/p)
+#. (itstool) path: item/p
+#: C/tutorial.py.page:46
msgid "To execute the code, type in the terminal:"
msgstr "Para ejecutar el código, escriba en la terminal:"
-#: C/tutorial.py.page:47(item/screen)
+#. (itstool) path: item/screen
+#: C/tutorial.py.page:47
#, no-wrap
msgid "python <var>filename</var>.py"
msgstr "python <var>nombre_archivo</var>.py"
-#: C/tutorial.py.page:50(section/p)
+#. (itstool) path: section/p
+#: C/tutorial.py.page:50
msgid ""
"After executing the code, you will either see the widget on your screen, or "
"(if you have mistyped some of the code) you will see an error message that "
@@ -55641,11 +60452,13 @@ msgstr ""
"escrito mal algo) un mensaje de error que le ayudará a identificar el "
"problema."
-#: C/tutorial.py.page:54(section/title)
+#. (itstool) path: section/title
+#: C/tutorial.py.page:54
msgid "A path through the widgets (with some theory)"
msgstr "Un camino a través de los widgets (con algo de teoría)"
-#: C/tutorial.py.page:55(section/p)
+#. (itstool) path: section/p
+#: C/tutorial.py.page:55
msgid ""
"The tutorial will walk you through increasingly complex examples and "
"programming theory, but you can also feel free to just go directly to the "
@@ -55655,86 +60468,104 @@ msgstr ""
"de programación, pero también puede ir directamente el tutorial que crea que "
"le ayudará más."
-#: C/tutorial.py.page:57(steps/title)
+#. (itstool) path: steps/title
+#: C/tutorial.py.page:57
msgid "Tutorial"
msgstr "Tutorial"
-#: C/tutorial.py.page:59(steps/title)
+#. (itstool) path: steps/title
+#: C/tutorial.py.page:59
msgid "Basic windows"
msgstr "Ventanas básicas"
-#: C/tutorial.py.page:64(steps/title)
+#. (itstool) path: steps/title
+#: C/tutorial.py.page:64
msgid "Images and labels"
msgstr "Imágenes y etiquetas"
-#: C/tutorial.py.page:70(steps/title)
+#. (itstool) path: steps/title
+#: C/tutorial.py.page:70
msgid "Introduction to properties"
msgstr "Introducción a las propiedades"
-#: C/tutorial.py.page:74(steps/title)
+#. (itstool) path: steps/title
+#: C/tutorial.py.page:74
msgid "Grid, separator and scrolling"
msgstr "Rejilla, separador y deslizamiento"
-#: C/tutorial.py.page:81(steps/title)
+#. (itstool) path: steps/title
+#: C/tutorial.py.page:81
msgid "Signals, callbacks and buttons"
msgstr "Señales, retornos de llamada y botones"
-#: C/tutorial.py.page:95(steps/title)
+#. (itstool) path: steps/title
+#: C/tutorial.py.page:95
msgid "Other display widgets"
msgstr "Otros widgets de visualización"
-#: C/tutorial.py.page:101(steps/title)
+#. (itstool) path: steps/title
+#: C/tutorial.py.page:101
msgid "Entry widgets"
msgstr "Widgets de entrada"
-#: C/tutorial.py.page:107(steps/title)
+#. (itstool) path: steps/title
+#: C/tutorial.py.page:107
msgid "A widget to write and display text"
msgstr "Un widget para escribir y mostrar texto"
-#: C/tutorial.py.page:111(steps/title)
+#. (itstool) path: steps/title
+#: C/tutorial.py.page:111
msgid "Dialogs"
msgstr "Diálogos"
-#: C/tutorial.py.page:117(steps/title)
+#. (itstool) path: steps/title
+#: C/tutorial.py.page:117
msgid "Menus, Toolbars and Tooltips (also: using Glade and GtkBuilder)"
msgstr ""
"Menús, barras de herramientas y consejos (también: usar Glade y GtkBuilder)"
-#: C/tutorial.py.page:132(steps/title)
+#. (itstool) path: steps/title
+#: C/tutorial.py.page:132
msgid "TreeViews and ComboBoxes (using the M/V/C design)"
msgstr "TreeViews y ComboBoxes (usando el diseño M/V/C)"
-#: C/tutorial.py.page:142(steps/title)
+#. (itstool) path: steps/title
+#: C/tutorial.py.page:142
msgid "Custom widget"
msgstr "Widget personalizado"
-#: C/vala.page:6(info/title)
+#. (itstool) path: info/title
+#: C/vala.page:6
msgctxt "link"
msgid "Vala"
msgstr "Vala"
-#: C/vala.page:20(page/title)
+#. (itstool) path: page/title
+#: C/vala.page:20
msgid "Tutorials, code samples and platform demos in Vala"
msgstr ""
"Tutoriales, ejemplos de código y demostraciones de la plataforma en Vala"
+#. (itstool) path: media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
-#: C/weatherApp.js.page:40(media)
+#: C/weatherApp.js.page:40
msgctxt "_"
msgid ""
"external ref='media/weatherAppJs.png' md5='1fe859ac4854273d72ea8fc9203639b2'"
msgstr ""
"external ref='media/weatherAppJs.png' md5='1fe859ac4854273d72ea8fc9203639b2'"
-#: C/weatherApp.js.page:6(info/title)
+#. (itstool) path: info/title
+#: C/weatherApp.js.page:6
msgctxt "text"
msgid "Weather application (JavaScript)"
msgstr "Aplicación del clima (JavaScript)"
-#: C/weatherApp.js.page:21(info/desc)
+#. (itstool) path: info/desc
+#: C/weatherApp.js.page:21
msgid ""
"How to plan an application that uses asynchronous calls. Asynchronous calls "
"will be presented through a weather application."
@@ -55743,11 +60574,13 @@ msgstr ""
"asíncronas se presentarán mediante una aplicación de información "
"meteorológica."
-#: C/weatherApp.js.page:26(page/title)
+#. (itstool) path: page/title
+#: C/weatherApp.js.page:26
msgid "Weather application"
msgstr "Aplicación del clima"
-#: C/weatherApp.js.page:28(synopsis/p)
+#. (itstool) path: synopsis/p
+#: C/weatherApp.js.page:28
msgid ""
"In this guide well construct a weather application using asynchronous calls. "
"Weather information in this example is fetched from geonames.org and the "
@@ -55766,32 +60599,39 @@ msgstr ""
"GNOME 3 o superior instalado en su equipo. En esta guía se verán las "
"siguientes partes:"
-#: C/weatherApp.js.page:31(item/p)
+#. (itstool) path: item/p
+#: C/weatherApp.js.page:31
msgid "<link xref=\"#planningUi\">Planning the graphical user interface</link>"
msgstr ""
"<link xref=\"#planningUi\">Planificar la interfaz gráfica de usuario</link>"
-#: C/weatherApp.js.page:32(item/p)
+#. (itstool) path: item/p
+#: C/weatherApp.js.page:32
msgid "<link xref=\"#asynchronous\">Asynchronous calls</link>"
msgstr "<link xref=\"#asynchronous\">Llamadas asíncronas</link>"
-#: C/weatherApp.js.page:33(item/p)
+#. (itstool) path: item/p
+#: C/weatherApp.js.page:33
msgid "<link xref=\"#main\">The main program file</link>"
msgstr "<link xref=\"#main\">El archivo del programa principal</link>"
-#: C/weatherApp.js.page:34(item/p)
+#. (itstool) path: item/p
+#: C/weatherApp.js.page:34
msgid "<link xref=\"#main\">Local library GeoNames</link>"
msgstr "<link xref=\"#main\">Biblioteca local GeoNames</link>"
-#: C/weatherApp.js.page:35(item/p)
+#. (itstool) path: item/p
+#: C/weatherApp.js.page:35
msgid "<link xref=\"#main\">Autotools and Icons</link>"
msgstr "<link xref=\"#main\">«Autotools» e iconos</link>"
-#: C/weatherApp.js.page:43(section/title)
+#. (itstool) path: section/title
+#: C/weatherApp.js.page:43
msgid "Planning the graphical user interface"
msgstr "Planificar la interfaz gráfica de usuario"
-#: C/weatherApp.js.page:44(section/p)
+#. (itstool) path: section/p
+#: C/weatherApp.js.page:44
msgid ""
"Structuring an application for GNOME 3 means you will be using <link href="
"\"http://developer.gnome.org/platform-overview/stable/gtk\">GTK+</link>. The "
@@ -55814,11 +60654,13 @@ msgstr ""
"widgets en relación a otros widgets, por lo que después de colocar el "
"primero, los demás se pueden colocar en relación al primero en la rejilla."
-#: C/weatherApp.js.page:47(section/title)
+#. (itstool) path: section/title
+#: C/weatherApp.js.page:47
msgid "Asynchronous calls"
msgstr "Llamadas asíncronas"
-#: C/weatherApp.js.page:48(section/p)
+#. (itstool) path: section/p
+#: C/weatherApp.js.page:48
msgid ""
"With many programming languages, all operations are run synchronously - you "
"tell the program to do something, and it will wait until that action "
@@ -55843,7 +60685,8 @@ msgstr ""
"ejemplo, para E/S del sistema de archivos y para cálculos lentos en segundo "
"plano."
-#: C/weatherApp.js.page:51(section/p)
+#. (itstool) path: section/p
+#: C/weatherApp.js.page:51
msgid ""
"In this example we have to get data from geonames.org. While we do that we "
"want the rest of our program to continue. If we wouldn't get any information "
@@ -55859,15 +60702,18 @@ msgstr ""
"main_quit() se procesa correctamente y habría que matar la aplicación desde "
"una terminal."
-#: C/weatherApp.js.page:54(section/title)
+#. (itstool) path: section/title
+#: C/weatherApp.js.page:54
msgid "The different parts of the program"
msgstr "Las diferentes partes del programa"
-#: C/weatherAppMain.js.page:18(page/title)
+#. (itstool) path: page/title
+#: C/weatherAppMain.js.page:18
msgid "The main program file"
msgstr "El archivo del programa principal"
-#: C/weatherAppMain.js.page:20(synopsis/p)
+#. (itstool) path: synopsis/p
+#: C/weatherAppMain.js.page:20
msgid ""
"In this part of the guide well construct the main program file of the "
"weather application. To write and run all the code examples yourself, you "
@@ -55880,7 +60726,8 @@ msgstr ""
"terminal y GNOME 3 o superior instalado en su equipo. En esta guía se verán "
"las siguientes partes:"
-#: C/weatherAppMain.js.page:25(item/p)
+#. (itstool) path: item/p
+#: C/weatherAppMain.js.page:25
msgid ""
"<link xref=\"#widgets\">Adding a grid and all the necessary widgets to it</"
"link>"
@@ -55888,7 +60735,8 @@ msgstr ""
"<link xref=\"#widgets\">Añadir una rejilla y todos los widgets necesarios en "
"ella</link>"
-#: C/weatherAppMain.js.page:26(item/p)
+#. (itstool) path: item/p
+#: C/weatherAppMain.js.page:26
msgid ""
"<link xref=\"#asynccall\">Requesting the weather information asynchronously</"
"link>"
@@ -55896,7 +60744,8 @@ msgstr ""
"<link xref=\"#asynccall\">Solicitar la información meteorológica de manera "
"asíncrona</link>"
-#: C/weatherAppMain.js.page:27(item/p)
+#. (itstool) path: item/p
+#: C/weatherAppMain.js.page:27
msgid ""
"<link xref=\"#connectingbuttons\">Connecting signals to button and entry</"
"link>."
@@ -55904,11 +60753,13 @@ msgstr ""
"<link xref=\"#connectingbuttons\">Conectar las señales a un botón y a una "
"entrada</link>"
-#: C/weatherAppMain.js.page:28(item/p)
+#. (itstool) path: item/p
+#: C/weatherAppMain.js.page:28
msgid "<link xref=\"#weatherapp.js\">weatherapp.js</link>"
msgstr "<link xref=\"#weatherapp.js\">weatherapp.js</link>"
-#: C/weatherAppMain.js.page:35(section/p)
+#. (itstool) path: section/p
+#: C/weatherAppMain.js.page:35
msgid ""
"This line tells how to run the script. It needs to be the first line of the "
"code and it needs to be executable. To get the execution rights go to "
@@ -55925,7 +60776,8 @@ msgstr ""
"código y elija «Propiedades», pulse en la pestaña «Permisos» y marque la "
"casilla para permitir ejecutar el archivo como un programa."
-#: C/weatherAppMain.js.page:41(section/code)
+#. (itstool) path: section/code
+#: C/weatherAppMain.js.page:41
#, no-wrap
msgid ""
"\n"
@@ -55936,7 +60788,8 @@ msgstr ""
"var Gtk = imports.gi.Gtk;\n"
"const WeatherService = imports.geonames;"
-#: C/weatherAppMain.js.page:44(section/p)
+#. (itstool) path: section/p
+#: C/weatherAppMain.js.page:44
msgid ""
"In order to have a working program we need to import a GObject Introspection "
"-library to our use. For working UI, we need Gtk. Gtk is imported in the "
@@ -55948,7 +60801,8 @@ msgstr ""
"importa al inicio, por lo que está en uso en todos los sitios. También se "
"importa la biblioteca local en JavaScript geonames para usarla aquí."
-#: C/weatherAppMain.js.page:49(section/code)
+#. (itstool) path: section/code
+#: C/weatherAppMain.js.page:49
#, no-wrap
msgid ""
"\n"
@@ -55977,11 +60831,13 @@ msgstr ""
"//and run it\n"
"Gtk.main();"
-#: C/weatherAppMain.js.page:63(section/title)
+#. (itstool) path: section/title
+#: C/weatherAppMain.js.page:63
msgid "Adding a grid and all the necessary widgets to it"
msgstr "Añadir una rejilla y todos los widgets necesarios en ella"
-#: C/weatherAppMain.js.page:64(section/code)
+#. (itstool) path: section/code
+#: C/weatherAppMain.js.page:64
#, no-wrap
msgid ""
"\n"
@@ -56036,7 +60892,8 @@ msgstr ""
"grid.attach_next_to(button1,entry,1,1,1);\n"
"grid.attach_next_to(weatherIcon,label2,1,1,1)\n"
-#: C/weatherAppMain.js.page:90(section/p)
+#. (itstool) path: section/p
+#: C/weatherAppMain.js.page:90
msgid ""
"In this section we create the grid we are going to use for positioning the "
"widgets. All the buttons, labels and entrys are initialized and placed on "
@@ -56060,11 +60917,13 @@ msgstr ""
"que se necesita de manera asíncrona. Cuando la biblioteca local esté lista, "
"se podrá conectar a los widgets necesarios."
-#: C/weatherAppMain.js.page:94(section/title)
+#. (itstool) path: section/title
+#: C/weatherAppMain.js.page:94
msgid "Requesting the weather information asynchronously"
msgstr "Solicitar la información meteorológica de manera asíncrona"
-#: C/weatherAppMain.js.page:95(section/code)
+#. (itstool) path: section/code
+#: C/weatherAppMain.js.page:95
#, no-wrap
msgid ""
"\n"
@@ -56117,7 +60976,8 @@ msgstr ""
" });\n"
"}\n"
-#: C/weatherAppMain.js.page:120(section/p)
+#. (itstool) path: section/p
+#: C/weatherAppMain.js.page:120
msgid ""
"This function is dedicated for calling for the weather information and "
"updating labels and icons accordingly. In the beginning of the function we "
@@ -56140,11 +61000,13 @@ msgstr ""
"esto, el resto del programa funciona de manera normal, por lo que "
"«main_Quit» funciona."
-#: C/weatherAppMain.js.page:124(section/title)
+#. (itstool) path: section/title
+#: C/weatherAppMain.js.page:124
msgid "Connecting signals to button and entry."
msgstr "Conectar señales a un botón y a una entrada"
-#: C/weatherAppMain.js.page:125(section/code)
+#. (itstool) path: section/code
+#: C/weatherAppMain.js.page:125
#, no-wrap
msgid ""
"\n"
@@ -56173,7 +61035,8 @@ msgstr ""
" getWeatherForStation();\n"
"});"
-#: C/weatherAppMain.js.page:137(section/p)
+#. (itstool) path: section/p
+#: C/weatherAppMain.js.page:137
msgid ""
"And finally we have the connections that make the whole application run as "
"it should. We connect both the entry and the button to do the same thing, "
@@ -56185,15 +61048,18 @@ msgstr ""
"la misma cosa, obtener el tiempo. Por lo tanto, no importa si pulsa el botón "
"o si pulsa «Intro»."
-#: C/weatherAppMain.js.page:141(section/title)
+#. (itstool) path: section/title
+#: C/weatherAppMain.js.page:141
msgid "Weatherapp.js"
msgstr "Weatherapp.js"
-#: C/weatherAppMain.js.page:142(section/p)
+#. (itstool) path: section/p
+#: C/weatherAppMain.js.page:142
msgid "Weatherapp.js file looks like this:"
msgstr "El archivo Weatherapp.js se parece a esto:"
-#: C/weatherAppMain.js.page:143(section/code)
+#. (itstool) path: section/code
+#: C/weatherAppMain.js.page:143
#, no-wrap
msgid ""
"\n"
@@ -56366,16 +61232,19 @@ msgstr ""
"//and run it\n"
"Gtk.main();\n"
-#: C/weatherAppMain.js.page:228(section/p)
+#. (itstool) path: section/p
+#: C/weatherAppMain.js.page:228
msgid "Running until you have all the autotools files ready. :"
msgstr "Ejecútela hasta que tenga listos todos los archivos de autotools:"
-#: C/weatherAppMain.js.page:230(section/screen)
+#. (itstool) path: section/screen
+#: C/weatherAppMain.js.page:230
#, no-wrap
msgid " <output style=\"prompt\">$ </output><input> GJS_PATH=`pwd` gjs weatherapp.js</input>"
msgstr " <output style=\"prompt\">$ </output><input> GJS_PATH=`pwd` gjs weatherapp.js</input>"
-#: C/weatherAppMain.js.page:231(section/p)
+#. (itstool) path: section/p
+#: C/weatherAppMain.js.page:231
msgid ""
"Use this command on terminal while developing your modules. When calling "
"your program in this manner it knows where to find your custom JSlibraries, "
@@ -56385,11 +61254,13 @@ msgstr ""
"su programa de este modo, sabe dónde encontrar las bibliotecas de JavaScript "
"personalizadas, (geonames.js en este caso)."
-#: C/weatherAutotools.js.page:18(page/title)
+#. (itstool) path: page/title
+#: C/weatherAutotools.js.page:18
msgid "Autotools and Icons"
msgstr "Autotools e iconos"
-#: C/weatherAutotools.js.page:20(synopsis/p)
+#. (itstool) path: synopsis/p
+#: C/weatherAutotools.js.page:20
msgid ""
"In this part of the guide well construct the autotools and custom icons "
"needed for weather application to be a seamless part of your desktop. To "
@@ -56404,19 +61275,23 @@ msgstr ""
"GNOME 3 o superior instalado en su equipo. En esta guía se verán las "
"siguientes partes:"
-#: C/weatherAutotools.js.page:23(item/p)
+#. (itstool) path: item/p
+#: C/weatherAutotools.js.page:23
msgid "<link xref=\"#autotools\"> Autotools</link>"
msgstr "<link xref=\"#autotools\"> Autotools</link>"
-#: C/weatherAutotools.js.page:24(item/p)
+#. (itstool) path: item/p
+#: C/weatherAutotools.js.page:24
msgid "<link xref=\"#icons\">Custom icons for your application</link>"
msgstr "<link xref=\"#icons\">Iconos personalizados para su aplicación</link>"
-#: C/weatherAutotools.js.page:31(section/title)
+#. (itstool) path: section/title
+#: C/weatherAutotools.js.page:31
msgid "Autotools and necessary files"
msgstr "Autotools y archivos necesarios"
-#: C/weatherAutotools.js.page:32(section/p)
+#. (itstool) path: section/p
+#: C/weatherAutotools.js.page:32
msgid ""
"Having more than one file in your folder makes using autotools a bit tricky. "
"You need the .desktop file, autogen.sh, Makefile.am, configure.ac and as a "
@@ -56432,17 +61307,20 @@ msgstr ""
"en.wikipedia.org/wiki/GNU_build_system\">este artículo de la wikipedia</"
"link> proporciona una visión general de este tema."
-#: C/weatherAutotools.js.page:35(item/p)
-#: C/weatherAutotools.js.page:41(section/p)
+#. (itstool) path: item/p
+#. (itstool) path: section/p
+#: C/weatherAutotools.js.page:35 C/weatherAutotools.js.page:41
msgid "weatherapp.desktop"
msgstr "weatherapp.desktop"
-#: C/weatherAutotools.js.page:36(item/p)
-#: C/weatherAutotools.js.page:56(section/p)
+#. (itstool) path: item/p
+#. (itstool) path: section/p
+#: C/weatherAutotools.js.page:36 C/weatherAutotools.js.page:56
msgid "weatherapp.sh.in"
msgstr "weatherapp.sh.in"
-#: C/weatherAutotools.js.page:42(section/code)
+#. (itstool) path: section/code
+#: C/weatherAutotools.js.page:42
#, no-wrap
msgid ""
"\n"
@@ -56471,7 +61349,8 @@ msgstr ""
"StartupNotify=true\n"
"Categories=GNOME;GTK;Utility;"
-#: C/weatherAutotools.js.page:54(section/p)
+#. (itstool) path: section/p
+#: C/weatherAutotools.js.page:54
msgid ""
"The thing to notice in this file is that the Exec line will make this ."
"desktop file work only after running all the other makefiles. Weatherapp.sh "
@@ -56481,7 +61360,8 @@ msgstr ""
"desktop funcione sólo después de ejecutar el resto de makefiles. Weatherapp."
"sh es un pequeño script creado a partir de weatherapp.sh.in."
-#: C/weatherAutotools.js.page:57(section/code)
+#. (itstool) path: section/code
+#: C/weatherAutotools.js.page:57
#, no-wrap
msgid ""
"\n"
@@ -56494,14 +61374,16 @@ msgstr ""
"export GJS_PATH= bindir@\n"
"gjs @bindir@/weatherapp.js"
-#: C/weatherAutotools.js.page:61(section/p)
+#. (itstool) path: section/p
+#: C/weatherAutotools.js.page:61
msgid ""
"This file is a template to the file Makefile will do to be run from .desktop."
msgstr ""
"Este archivo es una plantilla que el Makefile creará para ejecutarlo desde "
"el .desktop."
-#: C/weatherAutotools.js.page:64(section/code)
+#. (itstool) path: section/code
+#: C/weatherAutotools.js.page:64
#, no-wrap
msgid ""
"\n"
@@ -56626,7 +61508,8 @@ msgstr ""
"\n"
"install-data-local: install-icons"
-#: C/weatherAutotools.js.page:124(section/p)
+#. (itstool) path: section/p
+#: C/weatherAutotools.js.page:124
msgid ""
"This needs a bit more explaining. Compared to the HelloWorld Makefile.am "
"this has changed quite a bit. Lets go through all the new blocks:"
@@ -56634,7 +61517,8 @@ msgstr ""
"Esto necesita más explicación. Comparado con el Makefile.am de HelloWorld, "
"esto ha cambiado un poco. Eche un vistazo a los bloques nuevos."
-#: C/weatherAutotools.js.page:125(section/p)
+#. (itstool) path: section/p
+#: C/weatherAutotools.js.page:125
msgid ""
"bin_scripts are the files that are needed to run your application. In thin "
"case they are the first two files are the program itself and the third is "
@@ -56644,15 +61528,18 @@ msgstr ""
"caso, los dos primeros archivos son el programa en sí y el tercero es el "
"script que lanza la aplicación."
-#: C/weatherAutotools.js.page:126(section/p)
+#. (itstool) path: section/p
+#: C/weatherAutotools.js.page:126
msgid "EXTRA_DIST are the files that are to be distributed"
msgstr "EXTRA_DIST son los archivos que se deben distribuir"
-#: C/weatherAutotools.js.page:127(section/p)
+#. (itstool) path: section/p
+#: C/weatherAutotools.js.page:127
msgid "do_subst block is bits and pieces that need to be where they are"
msgstr "El bloque do_subst son partes que deben estar donde están"
-#: C/weatherAutotools.js.page:128(section/p)
+#. (itstool) path: section/p
+#: C/weatherAutotools.js.page:128
msgid ""
"after the comment #icons in the application there are all the icons that are "
"used by the program. For them to be useful you need to install the icons in "
@@ -56662,7 +61549,8 @@ msgstr ""
"usados por el programa. Para que sean útiles, debe instalar los iconos en "
"los lugares correctos, y esto se hace con el bit «install-icons:»"
-#: C/weatherAutotools.js.page:131(section/code)
+#. (itstool) path: section/code
+#: C/weatherAutotools.js.page:131
#, no-wrap
msgid ""
"\n"
@@ -56679,11 +61567,13 @@ msgstr ""
"AC_CONFIG_FILES(Makefile)\n"
"AC_OUTPUT"
-#: C/weatherAutotools.js.page:137(section/p)
+#. (itstool) path: section/p
+#: C/weatherAutotools.js.page:137
msgid "autohen.sh"
msgstr "autohen.sh"
-#: C/weatherAutotools.js.page:138(section/code)
+#. (itstool) path: section/code
+#: C/weatherAutotools.js.page:138
#, no-wrap
msgid ""
"\n"
@@ -56696,11 +61586,13 @@ msgstr ""
"# This will run autoconf, automake, etc. for us\n"
"autoreconf --force --install"
-#: C/weatherAutotools.js.page:144(section/title)
+#. (itstool) path: section/title
+#: C/weatherAutotools.js.page:144
msgid "Custom icons for your application"
msgstr "Iconos personalizados para su aplicación"
-#: C/weatherAutotools.js.page:145(section/p)
+#. (itstool) path: section/p
+#: C/weatherAutotools.js.page:145
msgid ""
"When thinking about custom icons a good rule of thumb is: do you expect to "
"see that icon used elsewhere or is it private to your app? If the first (e."
@@ -56714,7 +61606,8 @@ msgstr ""
"necesita /usr/share/hicolor; si no, (ej. iconos del tiempo en su "
"aplicación), necesita /usr/share/$application/bla/bla."
-#: C/weatherAutotools.js.page:146(section/p)
+#. (itstool) path: section/p
+#: C/weatherAutotools.js.page:146
msgid ""
"Using autotools you have to make some changes to your .desktop and Makefile."
"am files. In the desktop file you change the Icon's name Icon=weather-icon. "
@@ -56726,21 +61619,25 @@ msgstr ""
"Icon=weather-icon. En el Makefile.am, debe añadir estas líneas al final del "
"archivo"
-#: C/weatherAutotools.js.page:147(section/p)
+#. (itstool) path: section/p
+#: C/weatherAutotools.js.page:147
msgid "appicondir=$(datadir)/icons/hicolor/scalable/apps"
msgstr ""
"#the application icon\n"
"appicondir=$(datadir)/icons/hicolor/scalable/apps"
-#: C/weatherAutotools.js.page:148(section/p)
+#. (itstool) path: section/p
+#: C/weatherAutotools.js.page:148
msgid "appicon_DATA=weather-icon.svg"
msgstr "appicon_DATA=weather-icon.svg"
-#: C/weatherGeonames.js.page:18(page/title)
+#. (itstool) path: page/title
+#: C/weatherGeonames.js.page:18
msgid "Local library geoNames"
msgstr "Biblioteca local geoNames"
-#: C/weatherGeonames.js.page:20(synopsis/p)
+#. (itstool) path: synopsis/p
+#: C/weatherGeonames.js.page:20
msgid ""
"In this part of the guide we'll construct the local library geoNames using "
"asynchronous calls. Weather information in this example is fetched from "
@@ -56760,34 +61657,41 @@ msgstr ""
"GNOME 3 o superior instalado en su equipo. En esta guía se verán las "
"siguientes partes:"
-#: C/weatherGeonames.js.page:23(item/p)
+#. (itstool) path: item/p
+#: C/weatherGeonames.js.page:23
msgid ""
"<link xref=\"#geonamesimports\">Local library for getting the weather</link>"
msgstr ""
"<link xref=\"#geonamesimports\">Biblioteca local para obtener el clima</link>"
-#: C/weatherGeonames.js.page:24(item/p)
+#. (itstool) path: item/p
+#: C/weatherGeonames.js.page:24
msgid "<link xref=\"#geonamesfunction\">Creating function geoNames</link>"
msgstr "<link xref=\"#geonamesfunction\">Crear la función «geoNames»</link>"
-#: C/weatherGeonames.js.page:25(item/p)
+#. (itstool) path: item/p
+#: C/weatherGeonames.js.page:25
msgid "<link xref=\"#geonamesmethods\">Methods for geoNames</link>"
msgstr "<link xref=\"#geonamesmethods\">Métodos para «geoNames»</link>"
-#: C/weatherGeonames.js.page:26(item/p)
+#. (itstool) path: item/p
+#: C/weatherGeonames.js.page:26
msgid "<link xref=\"#geonames.js\">geonames.js </link>"
msgstr "<link xref=\"#geonames.js\">geonames.js </link>"
-#: C/weatherGeonames.js.page:31(section/title)
+#. (itstool) path: section/title
+#: C/weatherGeonames.js.page:31
msgid "Local library for getting the weather"
msgstr "Biblioteca local para obtener el clima"
-#: C/weatherGeonames.js.page:32(section/p)
+#. (itstool) path: section/p
+#: C/weatherGeonames.js.page:32
msgid "For this we need a new file that will be our local library."
msgstr ""
"Para esto se necesita un archivo nueva que será nuestra biblioteca local."
-#: C/weatherGeonames.js.page:33(section/code)
+#. (itstool) path: section/code
+#: C/weatherGeonames.js.page:33
#, no-wrap
msgid ""
"\n"
@@ -56800,7 +61704,8 @@ msgstr ""
"const _httpSession = new Soup.SessionAsync();\n"
"Soup.Session.prototype.add_feature.call(_httpSession, new Soup.ProxyResolverDefault());\n"
-#: C/weatherGeonames.js.page:38(section/p)
+#. (itstool) path: section/p
+#: C/weatherGeonames.js.page:38
msgid ""
"In the first lines we'll import and initialize the libraries we need to use "
"in this local library. Soup handles all the requests we have to make with "
@@ -56810,11 +61715,13 @@ msgstr ""
"necesitamos usar en esta biblioteca local. Soup maneja todas las peticiones "
"que se hagan con http."
-#: C/weatherGeonames.js.page:42(section/title)
+#. (itstool) path: section/title
+#: C/weatherGeonames.js.page:42
msgid "Creating function GeoNames"
msgstr "Crear la función geoNames"
-#: C/weatherGeonames.js.page:43(section/code)
+#. (itstool) path: section/code
+#: C/weatherGeonames.js.page:43
#, no-wrap
msgid ""
"\n"
@@ -56835,7 +61742,8 @@ msgstr ""
"\n"
"}\n"
-#: C/weatherGeonames.js.page:52(section/p)
+#. (itstool) path: section/p
+#: C/weatherGeonames.js.page:52
msgid ""
"Here we create the function GeoNames that will handle getting weather for "
"us. JavaScript allows us to create functions that have little inside at "
@@ -56846,11 +61754,13 @@ msgstr ""
"JavaScript permite crear funciones sencillas al principio para ampliarlas "
"más tarde. Esto se hará dentro de las llaves de GeoNames.prototype."
-#: C/weatherGeonames.js.page:56(section/title)
+#. (itstool) path: section/title
+#: C/weatherGeonames.js.page:56
msgid "Methods for GeoNames"
msgstr "Métodos para geoNames"
-#: C/weatherGeonames.js.page:57(section/code)
+#. (itstool) path: section/code
+#: C/weatherGeonames.js.page:57
#, no-wrap
msgid ""
"\n"
@@ -56931,7 +61841,8 @@ msgstr ""
" return \"weather-fog.svg\";\n"
"}\n"
-#: C/weatherGeonames.js.page:96(section/p)
+#. (itstool) path: section/p
+#: C/weatherGeonames.js.page:96
msgid ""
"The first method for GeoNames is getWeather and the second getIcon. In "
"getWeather we make a http request with soup, handle errors and then parse "
@@ -56947,11 +61858,13 @@ msgstr ""
"el selector para obtener el icono que representa el clima actual. Ahora que "
"la biblioteca local está lista, es el momento de usarla."
-#: C/weatherGeonames.js.page:101(section/title)
+#. (itstool) path: section/title
+#: C/weatherGeonames.js.page:101
msgid "geonames.js"
msgstr "geonames.js"
-#: C/weatherGeonames.js.page:102(section/p)
+#. (itstool) path: section/p
+#: C/weatherGeonames.js.page:102
msgid ""
"Here is the entire code for our local library. The main program file calls "
"this asynchronously."
@@ -56959,7 +61872,8 @@ msgstr ""
"Aquí está el código completo de la biblioteca. El archivo de programa "
"principal la llama de manera asíncrona."
-#: C/weatherGeonames.js.page:103(section/code)
+#. (itstool) path: section/code
+#: C/weatherGeonames.js.page:103
#, no-wrap
msgid ""
"\n"
@@ -57062,22 +61976,25 @@ msgstr ""
"}\n"
"} "
-#: C/window.c.page:7(info/title)
+#. (itstool) path: info/title
+#: C/window.c.page:7
msgctxt "text"
msgid "Window (C)"
msgstr "Ventana (C)"
-#: C/window.c.page:17(info/desc) C/window.py.page:24(info/desc)
-#: C/window.vala.page:17(info/desc)
+#. (itstool) path: info/desc
+#: C/window.c.page:17 C/window.py.page:24 C/window.vala.page:17
msgid "A toplevel window which can contain other widgets"
msgstr "Una ventana de nivel superior que puede contener otros widgets"
-#: C/window.c.page:20(page/title) C/window.js.page:20(page/title)
-#: C/window.py.page:27(page/title) C/window.vala.page:20(page/title)
+#. (itstool) path: page/title
+#: C/window.c.page:20 C/window.js.page:20 C/window.py.page:27
+#: C/window.vala.page:20
msgid "Window"
msgstr "Ventana"
-#: C/window.c.page:23(page/p)
+#. (itstool) path: page/p
+#: C/window.c.page:23
msgid ""
"A minimal GtkApplication. Use <link xref=\"GtkApplicationWindow.c"
"\">Application Window</link> if you need GMenu support."
@@ -57085,7 +62002,8 @@ msgstr ""
"Una GtkAplication mínima. Use una <link href=\"GtkApplicationWindow.c"
"\">ventana de aplicación</link> si necesita soporte para GMenu."
-#: C/window.c.page:27(page/code)
+#. (itstool) path: page/code
+#: C/window.c.page:27
#, no-wrap
msgid ""
"\n"
@@ -57148,20 +62066,24 @@ msgstr ""
" return status;\n"
"}\n"
-#: C/window.js.page:7(info/title)
+#. (itstool) path: info/title
+#: C/window.js.page:7
msgctxt "text"
msgid "Window (JavaScript)"
msgstr "Ventana (JavaScript)"
-#: C/window.js.page:17(info/desc)
+#. (itstool) path: info/desc
+#: C/window.js.page:17
msgid "A basic window which can contain other widgets"
msgstr "Una ventana básica que puede contener otros widgets."
-#: C/window.js.page:25(td/p)
+#. (itstool) path: td/p
+#: C/window.js.page:25
msgid "A minimal GtkApplication"
msgstr "Una GtkApplication mínima"
-#: C/window.js.page:28(td/p)
+#. (itstool) path: td/p
+#: C/window.js.page:28
msgid ""
"Use <link xref=\"GtkApplicationWindow.js\">ApplicationWindow</link> if you "
"need GMenu support."
@@ -57169,7 +62091,8 @@ msgstr ""
"Use una <link href=\"GtkApplicationWindow.js\">ventana de aplicación</link> "
"si necesita soporte para GMenu."
-#: C/window.js.page:32(page/code)
+#. (itstool) path: page/code
+#: C/window.js.page:32
#, no-wrap
msgid ""
"\n"
@@ -57260,11 +62183,13 @@ msgstr ""
"let app = new Application ();\n"
"app.application.run (ARGV);\n"
-#: C/window.js.page:34(page/p)
+#. (itstool) path: page/p
+#: C/window.js.page:34
msgid "In this example we used the following:"
msgstr "En este ejemplo se usa lo siguiente:"
-#: C/window.js.page:39(item/p)
+#. (itstool) path: item/p
+#: C/window.js.page:39
msgid ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.Window.html"
"\">Gtk.Window</link>"
@@ -57272,16 +62197,19 @@ msgstr ""
"<link href=\"http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.Window.html"
"\">Gtk.Window</link>"
-#: C/window.py.page:7(info/title)
+#. (itstool) path: info/title
+#: C/window.py.page:7
msgctxt "text"
msgid "Window (Python)"
msgstr "Ventana (Python)"
-#: C/window.py.page:33(td/p)
+#. (itstool) path: td/p
+#: C/window.py.page:33
msgid "A minimal GTK+ Application: a window with a title."
msgstr "Una aplicación mínima en GTK+: una ventana con un título."
-#: C/window.py.page:36(td/p)
+#. (itstool) path: td/p
+#: C/window.py.page:36
msgid ""
"Use <link xref=\"GtkApplicationWindow.py\"/> if you need <link xref=\"gmenu."
"py\"/> support."
@@ -57289,13 +62217,34 @@ msgstr ""
"Use una <link xref=\"GtkApplicationWindow.py\"/> si necesita soporte de "
"<link xref=\"gmenu.py\"/>."
-#: C/window.py.page:46(section/code)
+#. (itstool) path: section/code
+#: C/window.py.page:46
#, no-wrap
+#| msgid ""
+#| "from gi.repository import Gtk\n"
+#| "import sys\n"
+#| "\n"
+#| "class MyApplication(Gtk.Application):\n"
+#| " def do_activate(self):\n"
+#| " # create a Gtk Window belonging to the application itself\n"
+#| " window = Gtk.Window(application=self)\n"
+#| " # set the title\n"
+#| " window.set_title(\"Welcome to GNOME\")\n"
+#| " # show the window\n"
+#| " window.show_all()\n"
+#| "\n"
+#| "# create and run the application, exit with the value returned by\n"
+#| "# running the program\n"
+#| "app = MyApplication()\n"
+#| "exit_status = app.run(sys.argv)\n"
+#| "sys.exit(exit_status)\n"
msgid ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def do_activate(self):\n"
" # create a Gtk Window belonging to the application itself\n"
" window = Gtk.Window(application=self)\n"
@@ -57313,7 +62262,9 @@ msgstr ""
"from gi.repository import Gtk\n"
"import sys\n"
"\n"
+"\n"
"class MyApplication(Gtk.Application):\n"
+"\n"
" def do_activate(self):\n"
" # create a Gtk Window belonging to the application itself\n"
" window = Gtk.Window(application=self)\n"
@@ -57328,20 +62279,24 @@ msgstr ""
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#: C/window.py.page:51(section/title)
+#. (itstool) path: section/title
+#: C/window.py.page:51
msgid "Useful methods for a Window widget"
msgstr "Métodos útiles para un widget «Window»"
-#: C/window.vala.page:7(info/title)
+#. (itstool) path: info/title
+#: C/window.vala.page:7
msgctxt "text"
msgid "Window (Vala)"
msgstr "Ventana (Vala)"
-#: C/window.vala.page:25(td/p)
+#. (itstool) path: td/p
+#: C/window.vala.page:25
msgid "The simplest Gtk.Application"
msgstr "La Gtk.Application más sencilla"
-#: C/window.vala.page:28(td/p)
+#. (itstool) path: td/p
+#: C/window.vala.page:28
msgid ""
"Use <link xref=\"GtkApplicationWindow.vala\">Application Window</link> if "
"you need GMenu support."
@@ -57349,7 +62304,8 @@ msgstr ""
"Use una <link href=\"GtkApplicationWindow.vala\">ventana de aplicación</"
"link> si necesita soporte para GMenu."
-#: C/window.vala.page:32(page/code)
+#. (itstool) path: page/code
+#: C/window.vala.page:32
#, no-wrap
msgid ""
"/* This is the application. */\n"
@@ -57428,7 +62384,8 @@ msgstr ""
"\treturn app.run (args);\n"
"}\n"
-#: C/window.vala.page:38(item/p)
+#. (itstool) path: item/p
+#: C/window.vala.page:38
msgid ""
"The widget <link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Window.html"
"\">Gtk.Window</link>"
@@ -57436,7 +62393,8 @@ msgstr ""
"El widget <link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Window.html\">Gtk."
"Window</link>"
-#: C/window.vala.page:40(item/p)
+#. (itstool) path: item/p
+#: C/window.vala.page:40
msgid ""
"The enum <link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.WindowPosition.html"
"\">Gtk.WindowPosition</link>"
@@ -57444,7 +62402,8 @@ msgstr ""
"El enumerado <link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.WindowPosition."
"html\">Gtk.WindowPosition</link>"
-#: C/window.vala.page:42(item/p)
+#. (itstool) path: item/p
+#: C/window.vala.page:42
msgid ""
"The method <link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Window."
"set_default_size.html\">set_default_size</link>"
@@ -57452,7 +62411,8 @@ msgstr ""
"El método <link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Window."
"set_default_size.html\">set_default_size</link>"
-#: C/window.vala.page:44(item/p)
+#. (itstool) path: item/p
+#: C/window.vala.page:44
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Container.border_width.html"
"\">border_width</link>"
@@ -57460,7 +62420,8 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Container.border_width.html"
"\">border_width</link>"
-#: C/window.vala.page:46(item/p)
+#. (itstool) path: item/p
+#: C/window.vala.page:46
msgid ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Window.window_position.html"
"\">window_position</link>"
@@ -57468,6 +62429,18 @@ msgstr ""
"<link href=\"http://www.valadoc.org/gtk+-3.0/Gtk.Window.window_position.html"
"\">window_position</link>"
+#~ msgid "Automatic installation"
+#~ msgstr "Instalación automática"
+
+#~ msgid ""
+#~ "On an up-to-date distribution you should be able to simply install the "
+#~ "required packages by clicking on <link href=\"media/gnome-devtools.catalog"
+#~ "\">Install now</link>."
+#~ msgstr ""
+#~ "Un una distribución actualizada, debería ser capaz de instalar los "
+#~ "paquetes simplemente pulsando en <link href=\"media/gnome-devtools.catalog"
+#~ "\">Instalar ahora</link>."
+
#~ msgctxt "_"
#~ msgid "external ref='media/03_jssignal_02b.png' md5='__failed__'"
#~ msgstr "external ref='media/03_jssignal_02b.png' md5='__failed__'"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]