[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, 14 Mar 2019 15:03:51 +0000 (UTC)
commit ec7ed0384ad771cf1d2f9fd847c9c4c2cc3183c4
Author: Daniel Mustieles <daniel mustieles gmail com>
Date: Thu Mar 14 16:02:44 2019 +0100
Updated Spanish translation
platform-demos/es/es.po | 1391 ++++-------------------------------------------
1 file changed, 98 insertions(+), 1293 deletions(-)
---
diff --git a/platform-demos/es/es.po b/platform-demos/es/es.po
index 255db020..fd22d8f8 100644
--- a/platform-demos/es/es.po
+++ b/platform-demos/es/es.po
@@ -10,8 +10,8 @@
msgid ""
msgstr ""
"Project-Id-Version: gnome-devel-docs.platform-demos.master\n"
-"POT-Creation-Date: 2019-02-03 09:39+0000\n"
-"PO-Revision-Date: 2019-02-28 13:20+0100\n"
+"POT-Creation-Date: 2019-03-01 18:07+0000\n"
+"PO-Revision-Date: 2019-03-14 16:02+0100\n"
"Last-Translator: Daniel Mustieles <daniel mustieles gmail com>\n"
"Language-Team: es <gnome-es-list gnome org>\n"
"Language: es\n"
@@ -25,7 +25,7 @@ msgstr ""
msgctxt "_"
msgid "translator-credits"
msgstr ""
-"Daniel Mustieles <daniel mustieles gmail com>, 2011 - 2018\n"
+"Daniel Mustieles <daniel mustieles gmail com>, 2011 - 2019\n"
"Nicolás Satragno <nsatragno gmail com>, 2012 - 2013\n"
"Jorge González <jorgegonz svn gnome org>, 2011"
@@ -3265,160 +3265,6 @@ msgstr ""
#. (itstool) path: page/code
#: C/aboutdialog.c.page:29
#, no-wrap
-#| msgid ""
-#| "\n"
-#| "#include <gtk/gtk.h>\n"
-#| "\n"
-#| "/* Callback function in which reacts to the \"response\" signal from the user in\n"
-#| " * the message dialog window.\n"
-#| " * This function is used to destroy the dialog window.\n"
-#| " */\n"
-#| "static void\n"
-#| "on_close (GtkDialog *dialog,\n"
-#| " gint response_id,\n"
-#| " gpointer user_data)\n"
-#| "{\n"
-#| " /* This will cause the dialog to be destroyed */\n"
-#| " gtk_widget_destroy (GTK_WIDGET (dialog));\n"
-#| "}\n"
-#| "\n"
-#| "/* Callback function for the response signal \"activate\" related to the SimpleAction\n"
-#| " * \"about_action\".\n"
-#| " * This function is used to cause the about dialog window to popup.\n"
-#| " */\n"
-#| "static void\n"
-#| "about_cb (GSimpleAction *simple,\n"
-#| " GVariant *parameter,\n"
-#| " gpointer user_data)\n"
-#| "{\n"
-#| " GtkWidget *about_dialog;\n"
-#| "\n"
-#| " about_dialog = gtk_about_dialog_new ();\n"
-#| "\n"
-#| " /* Lists of authors/ documentators to be used later, they must be initialized\n"
-#| " * in a null terminated array of strings.\n"
-#| " */\n"
-#| " const gchar *authors[] = {\"GNOME Documentation Team\", NULL};\n"
-#| " const gchar *documenters[] = {\"GNOME Documentation Team\", NULL};\n"
-#| "\n"
-#| " /* We fill in the information for the about dialog */\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"
-#| " /* We do not wish to show the title, which in this case would be\n"
-#| " * \"AboutDialog Example\". We have to reset the title of the messagedialog\n"
-#| " * window after setting the program name.\n"
-#| " */\n"
-#| " gtk_window_set_title (GTK_WINDOW (about_dialog), \"\");\n"
-#| "\n"
-#| " /* To close the aboutdialog when \"close\" is clicked we connect the response\n"
-#| " * signal to on_close\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"
-#| "static void\n"
-#| "activate (GtkApplication *app,\n"
-#| " gpointer user_data)\n"
-#| "{\n"
-#| " GtkWidget *window;\n"
-#| "\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), \"AboutDialog Example\");\n"
-#| " gtk_window_set_default_size (GTK_WINDOW (window), 200, 200);\n"
-#| "\n"
-#| " /* Create a new simple action, giving it a NULL parameter type. It will\n"
-#| " * always be NULL for actions invoked from a menu. (e.g clicking on an \"ok\"\n"
-#| " * or \"cancel\" button)\n"
-#| " */\n"
-#| " about_action = g_simple_action_new (\"about\", NULL);\n"
-#| "\n"
-#| " /* Connect the \"activate\" signal to the appropriate callback function.\n"
-#| " * It will indicate that the action was just activated.\n"
-#| " */\n"
-#| " g_signal_connect (about_action, \"activate\", G_CALLBACK (about_cb),\n"
-#| " GTK_WINDOW (window));\n"
-#| "\n"
-#| " /* Adds the about_action to the overall action map. An Action map is an\n"
-#| " * interface that contains a number of named GAction instances\n"
-#| " * (such as about_action)\n"
-#| " */\n"
-#| " g_action_map_add_action (G_ACTION_MAP (window), G_ACTION (about_action));\n"
-#| "\n"
-#| " gtk_widget_show_all (window);\n"
-#| "}\n"
-#| "\n"
-#| "/* Callback function for the response signal \"activate\" from the \"quit\" action\n"
-#| " * found in the function directly below.\n"
-#| " */\n"
-#| "static void\n"
-#| "quit_cb (GSimpleAction *simple,\n"
-#| " GVariant *parameter,\n"
-#| " gpointer user_data)\n"
-#| "{\n"
-#| " GApplication *application = user_data;\n"
-#| "\n"
-#| " g_application_quit (application);\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"
-#| " GMenu *menu;\n"
-#| " GSimpleAction *quit_action;\n"
-#| "\n"
-#| " /* Initialize the GMenu, and add a menu item with label \"About\" and action\n"
-#| " * \"win.about\". Also add another menu item with label \"Quit\" and action\n"
-#| " * \"app.quit\"\n"
-#| " */\n"
-#| " menu = g_menu_new ();\n"
-#| " g_menu_append (menu, \"About\", \"win.about\");\n"
-#| " g_menu_append (menu, \"Quit\", \"app.quit\");\n"
-#| "\n"
-#| " /* Create a new simple action for the application. (In this case it is the\n"
-#| " * \"quit\" action.\n"
-#| " */\n"
-#| " quit_action = g_simple_action_new (\"quit\", NULL);\n"
-#| "\n"
-#| " /* Ensure that the menu we have just created is set for the overall application */\n"
-#| " gtk_application_set_app_menu (GTK_APPLICATION (app), G_MENU_MODEL (menu));\n"
-#| "\n"
-#| " g_signal_connect (quit_action,\n"
-#| " \"activate\",\n"
-#| " G_CALLBACK (quit_cb),\n"
-#| " app);\n"
-#| "\n"
-#| " g_action_map_add_action (G_ACTION_MAP (app), G_ACTION (quit_action));\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"
@@ -5764,189 +5610,6 @@ msgstr "Una calculadora: los botones se agrupan en botoneras horizontales."
#. (itstool) path: section/code
#: C/buttonbox.js.page:31
#, no-wrap
-#| msgid ""
-#| "#!/usr/bin/gjs\n"
-#| "\n"
-#| "imports.gi.versions.Gtk = '3.0';\n"
-#| "\n"
-#| "const GObject = imports.gi.GObject;\n"
-#| "const Gtk = imports.gi.Gtk;\n"
-#| "\n"
-#| "class ButtonBoxExample {\n"
-#| "\n"
-#| " // Create the application itthis\n"
-#| " constructor() {\n"
-#| " this.application = new Gtk.Application({\n"
-#| " application_id: 'org.example.jsbuttonbox'\n"
-#| " });\n"
-#| "\n"
-#| " // Connect 'activate' and 'startup' signals to the callback functions\n"
-#| " this.application.connect('activate', this._onActivate.bind(this));\n"
-#| " this.application.connect('startup', this._onStartup.bind(this));\n"
-#| " }\n"
-#| "\n"
-#| " // Callback function for 'activate' signal presents windows when active\n"
-#| " _onActivate() {\n"
-#| " this.window.present();\n"
-#| " }\n"
-#| "\n"
-#| " // Callback function for 'startup' signal builds the UI\n"
-#| " _onStartup() {\n"
-#| " this._buildUI();\n"
-#| " }\n"
-#| "\n"
-#| " // Build the application's UI\n"
-#| " _buildUI() {\n"
-#| " // Create the application window\n"
-#| " this.window = new Gtk.ApplicationWindow ({ application: this.application,\n"
-#| " window_position: Gtk.WindowPosition.CENTER,\n"
-#| " title: \"Calculator\",\n"
-#| " default_width: 350,\n"
-#| " default_height: 200,\n"
-#| " border_width: 10 });\n"
-#| " this.entry = new Gtk.Entry();\n"
-#| " this.entry.set_text('0');\n"
-#| " // text aligned on the right\n"
-#| " this.entry.set_alignment(1);\n"
-#| " // the text in the entry cannot be modified by writing in it\n"
-#| " this.entry.set_can_focus(false);\n"
-#| "\n"
-#| " // a grid\n"
-#| " this.grid = new Gtk.Grid();\n"
-#| " this.grid.set_row_spacing(5);\n"
-#| " \n"
-#| " // to attach the entry\n"
-#| " this.grid.attach(this.entry, 0, 0, 1, 1);\n"
-#| " \n"
-#| " // the labels for the buttons\n"
-#| " this.buttons = [ 7, 8, 9, '/', 4, 5, 6, '*', 1, 2, 3, '-', 'C', 0, '=', '+' ];\n"
-#| " \n"
-#| " // each row is a ButtonBox, attached to the grid \n"
-#| " for (let i = 0; i < 4; i++) {\n"
-#| " this.hbox = Gtk.ButtonBox.new(Gtk.Orientation.HORIZONTAL);\n"
-#| " this.hbox.set_spacing(5);\n"
-#| " this.grid.attach(this.hbox, 0, i + 1, 1, 1);\n"
-#| " // each ButtonBox has 4 buttons, connected to the callback function\n"
-#| " for (let j= 0; j < 4; j++) {\n"
-#| " this.button = new Gtk.Button();\n"
-#| " this.buttonLabel = (this.buttons[i * 4 + j].toString());\n"
-#| " this.button.set_label(this.buttonLabel);\n"
-#| " this.button.set_can_focus(false);\n"
-#| " this.button.connect(\"clicked\", this._buttonClicked.bind(this));\n"
-#| " this.hbox.add(this.button);\n"
-#| " }\n"
-#| " }\n"
-#| " \n"
-#| " // some variables for the calculations\n"
-#| " this.firstNumber = 0;\n"
-#| " this.secondNumber = 0;\n"
-#| " this.counter = 0;\n"
-#| " this.operation = \"\";\n"
-#| "\n"
-#| " // add the grid to the window\n"
-#| " this.window.add(this.grid);\n"
-#| " this.window.show_all();\n"
-#| " }\n"
-#| "\n"
-#| " // callback function for all the buttons\n"
-#| " _buttonClicked(button) {\n"
-#| " this.button = button;\n"
-#| " // for the operations\n"
-#| " if (this.button.get_label() == '+') {\n"
-#| " this.counter += 1 \n"
-#| " if (this.counter > 1)\n"
-#| " this._doOperation();\n"
-#| " this.entry.set_text('0');\n"
-#| " this.operation = \"plus\";\n"
-#| " }\n"
-#| "\n"
-#| " else if (this.button.get_label() == '-') {\n"
-#| " this.counter += 1;\n"
-#| " if (this.counter > 1)\n"
-#| " this._doOperation();\n"
-#| " this.entry.set_text('0');\n"
-#| " this.operation = \"minus\";\n"
-#| " }\n"
-#| "\n"
-#| " else if (this.button.get_label() == '*') {\n"
-#| " this.counter += 1; \n"
-#| " if (this.counter > 1)\n"
-#| " this._doOperation();\n"
-#| " this.entry.set_text('0');\n"
-#| " this.operation = \"multiplication\";\n"
-#| " }\n"
-#| "\n"
-#| " else if (this.button.get_label() == '/') {\n"
-#| " this.counter += 1 \n"
-#| " if (this.counter > 1)\n"
-#| " this._doOperation();\n"
-#| " this.entry.set_text('0');\n"
-#| " this.operation = \"division\";\n"
-#| " }\n"
-#| "\n"
-#| " // for =\n"
-#| " else if (this.button.get_label() == '=') {\n"
-#| " this._doOperation();\n"
-#| " this.entry.set_text(this.firstNumber.toString());\n"
-#| " this.counter = 1;\n"
-#| " }\n"
-#| "\n"
-#| " // for Cancel\n"
-#| " else if (this.button.get_label() == 'C') {\n"
-#| " this.firstNumber = 0;\n"
-#| " this.secondNumber = 0;\n"
-#| " this.counter = 0;\n"
-#| " this.entry.set_text('0');\n"
-#| " this.operation = \"\";\n"
-#| " }\n"
-#| "\n"
-#| " // for a digit button\n"
-#| " else {\n"
-#| " this.newDigit = parseInt(this.button.get_label());\n"
-#| " if (this.entry.get_text() == \"error\")\n"
-#| " this.number = 0;\n"
-#| " else\n"
-#| " this.number = parseInt(this.entry.get_text());\n"
-#| " this.number = this.number * 10 + this.newDigit; \n"
-#| " if (this.counter == 0)\n"
-#| " this.firstNumber = this.number;\n"
-#| " else\n"
-#| " this.secondNumber = this.number;\n"
-#| " this.entry.set_text(this.number.toString());\n"
-#| " }\n"
-#| " }\n"
-#| "\n"
-#| " _doOperation() {\n"
-#| " if (this.operation == \"plus\") {\n"
-#| " this.firstNumber += this.secondNumber;\n"
-#| " } else if (this.operation == \"minus\") {\n"
-#| " this.firstNumber -= this.secondNumber;\n"
-#| " } else if (this.operation == \"multiplication\") {\n"
-#| " this.firstNumber *= this.secondNumber;\n"
-#| " } else if (this.operation == \"division\") {\n"
-#| " if (this.secondNumber != 0) {\n"
-#| " this.firstNumber /= this.secondNumber;\n"
-#| " } else {\n"
-#| " this.firstNumber = 0; \n"
-#| " this.secondNumber = 0;\n"
-#| " this.counter = 0; \n"
-#| " this.entry.set_text(\"error\");\n"
-#| " this.operation = \"\";\n"
-#| "\n"
-#| " return\n"
-#| " }\n"
-#| " } else {\n"
-#| " this.firstNumber = 0;\n"
-#| " this.secondNumber = 0;\n"
-#| " this.counter = 0;\n"
-#| " this.entry.set_text(\"error\");\n"
-#| " }\n"
-#| " }\n"
-#| "};\n"
-#| "\n"
-#| "// Run the application\n"
-#| "let app = new ButtonBoxExample();\n"
-#| "app.application.run (ARGV);\n"
msgid ""
"#!/usr/bin/gjs\n"
"\n"
@@ -10430,12 +10093,17 @@ msgstr ""
#: C/combobox.py.page:49 C/combobox_multicolumn.py.page:49
#: C/treeview_advanced_liststore.py.page:49
#: C/treeview_simple_liststore.py.page:50
+#| msgid ""
+#| "<link href=\"http://git.gnome.org/browse/pygobject/tree/gi/overrides/Gtk."
+#| "py\">pygobject - Python bindings for GObject Introspection</link>"
msgid ""
-"<link href=\"http://git.gnome.org/browse/pygobject/tree/gi/overrides/Gtk.py"
-"\">pygobject - Python bindings for GObject Introspection</link>"
+"<link href=\"https://gitlab.gnome.org/GNOME/pygobject/blob/master/gi/"
+"overrides/Gtk.py\">pygobject - Python bindings for GObject Introspection</"
+"link>"
msgstr ""
-"<link href=\"http://git.gnome.org/browse/pygobject/tree/gi/overrides/Gtk.py"
-"\">pygobject: vinculaciones de Python para introspección de GObject</link>"
+"<link href=\"https://gitlab.gnome.org/GNOME/pygobject/blob/master/gi/"
+"overrides/Gtk.py\">pygobject: vinculaciones de Python para introspección de "
+"GObject</link>"
#. (itstool) path: info/title
#: C/combobox.vala.page:8 C/combobox_multicolumn.vala.page:8
@@ -14098,67 +13766,6 @@ msgstr "Un FontChooserWidget con una función de retorno de llamada."
#. (itstool) path: section/code
#: C/fontchooserwidget.js.page:30
#, no-wrap
-#| msgid ""
-#| "//!/usr/bin/gjs\n"
-#| "\n"
-#| "imports.gi.versions.Gtk = '3.0';\n"
-#| "const Gtk = imports.gi.Gtk;\n"
-#| "\n"
-#| "class FontChooserWidgetExample {\n"
-#| "\n"
-#| " // Create the application itthis\n"
-#| " constructor() {\n"
-#| " this.application = new Gtk.Application({ application_id: 'org.example.fontchooserwidget' });\n"
-#| "\n"
-#| " // Connect 'activate' and 'startup' signals to the callback functions\n"
-#| " this.application.connect('activate', this._onActivate.bind(this));\n"
-#| " this.application.connect('startup', this._onStartup.bind(this));\n"
-#| " }\n"
-#| "\n"
-#| " // Callback function for 'activate' signal presents windows when active\n"
-#| " _onActivate() {\n"
-#| " this.window.present();\n"
-#| " }\n"
-#| "\n"
-#| " // Callback function for 'startup' signal builds the UI\n"
-#| " _onStartup() {\n"
-#| " this._buildUI();\n"
-#| " }\n"
-#| "\n"
-#| " // Build the application's UI\n"
-#| " _buildUI() {\n"
-#| " // Create the application window\n"
-#| " this.window = new Gtk.ApplicationWindow ({ application: this.application,\n"
-#| " window_position: Gtk.WindowPosition.CENTER,\n"
-#| " title: \"FontChooserWidget\",\n"
-#| " default_width: 200,\n"
-#| " default_height: 200,\n"
-#| " border_width: 10 });\n"
-#| "\n"
-#| " this.fontChooser = new Gtk.FontChooserWidget();\n"
-#| " // a default font\n"
-#| " this.fontChooser.set_font(\"Sans\");\n"
-#| " // a text to preview the font\n"
-#| " this.fontChooser.set_preview_text(\"This is an example of preview text!\");\n"
-#| "\n"
-#| " // connect signal from the font chooser to the callback function\n"
-#| " this.fontChooser.connect(\"notify::font\", this._fontCb.bind(this));\n"
-#| "\n"
-#| " // add the font chooser to the window\n"
-#| " this.window.add(this.fontChooser);\n"
-#| " this.window.show_all();\n"
-#| " }\n"
-#| "\n"
-#| " // callback function:\n"
-#| " _fontCb() {\n"
-#| " // print in the terminal\n"
-#| " print(\"You chose the font \" + this.fontChooser.get_font());\n"
-#| " }\n"
-#| "};\n"
-#| "\n"
-#| "// Run the application\n"
-#| "let app = new FontChooserWidgetExample();\n"
-#| "app.application.run (ARGV);\n"
msgid ""
"//!/usr/bin/gjs\n"
"\n"
@@ -21059,12 +20666,6 @@ msgstr ""
#. (itstool) path: section/code
#: C/hello-world.js.page:54
#, no-wrap
-#| msgid ""
-#| "\n"
-#| "#!/usr/bin/gjs\n"
-#| "\n"
-#| "imports.gi.versions.Gtk = '3.0';\n"
-#| "const Gtk = imports.gi.Gtk;\n"
msgid ""
"const Lang = imports.lang;\n"
"\n"
@@ -21268,47 +20869,6 @@ msgstr "El archivo completo:"
#. (itstool) path: section/code
#: C/hello-world.js.page:118
#, no-wrap
-#| msgid ""
-#| "#!/usr/bin/gjs\n"
-#| "\n"
-#| "imports.gi.versions.Gtk = '3.0'\n"
-#| "const Gtk = imports.gi.Gtk;\n"
-#| "\n"
-#| "class Application {\n"
-#| "\n"
-#| " //create the application\n"
-#| " constructor() {\n"
-#| " this.application = new Gtk.Application();\n"
-#| "\n"
-#| " //connect to 'activate' and 'startup' signals to handlers.\n"
-#| " this.application.connect('activate', this._onActivate.bind(this));\n"
-#| " this.application.connect('startup', this._onStartup.bind(this));\n"
-#| " }\n"
-#| "\n"
-#| " //create the UI\n"
-#| " _buildUI() {\n"
-#| " this._window = new Gtk.ApplicationWindow({ application: this.application,\n"
-#| " title: \"Hello World!\" });\n"
-#| " this._window.set_default_size(200, 200);\n"
-#| " this.label = new Gtk.Label({ label: \"Hello World\" });\n"
-#| " this._window.add(this.label);\n"
-#| " }\n"
-#| "\n"
-#| " //handler for 'activate' signal\n"
-#| " _onActivate() {\n"
-#| " //show the window and all child widgets\n"
-#| " this._window.show_all();\n"
-#| " }\n"
-#| "\n"
-#| " //handler for 'startup' signal\n"
-#| " _onStartup() {\n"
-#| " this._buildUI();\n"
-#| " }\n"
-#| "};\n"
-#| "\n"
-#| "//run the application\n"
-#| "let app = new Application();\n"
-#| "app.application.run(ARGV);\n"
msgid ""
"#!/usr/bin/gjs\n"
"\n"
@@ -21503,13 +21063,14 @@ msgstr ""
#. (itstool) path: section/p
#: C/hello-world.js.page:140
-#, fuzzy
#| msgid ""
#| "Now let's go through some parts of the <code>.desktop.in</code> file."
msgid ""
"Save this as <file>hello-world.desktop.in</file>. 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>."
+msgstr ""
+"Guarde el archivo como <file>hello-world.desktop.in</file>. Ahora se verán "
+"algunas partes del archivo <code>.desktop.in</code>."
#. (itstool) path: item/title
#. (itstool) path: td/p
@@ -21588,21 +21149,29 @@ msgstr ""
#. (itstool) path: section/p
#: C/hello-world.js.page:149 C/hello-world.py.page:127
#: C/hello-world.vala.page:104
+#| 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/apps</file>. Write the name of your icon file to the .desktop.in "
+#| "file, on line 7. More information on icons in: <link href=\"https://live."
+#| "gnome.org/GnomeGoals/AppIcon\">Installing Icons for Themes</link> and "
+#| "<link href=\"http://freedesktop.org/wiki/Specifications/icon-theme-spec"
+#| "\">on freedesktop.org: Specifications/icon-theme-spec</link>."
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/"
"apps</file>. Write the name of your icon file to the .desktop.in file, on "
-"line 7. More information on icons in: <link href=\"https://live.gnome.org/"
-"GnomeGoals/AppIcon\">Installing Icons for Themes</link> and <link href="
-"\"http://freedesktop.org/wiki/Specifications/icon-theme-spec\">on "
+"line 7. More information on icons in: <link href=\"https://wiki.gnome.org/"
+"Initiatives/GnomeGoals/AppIcon\">Installing Icons for Themes</link> and "
+"<link href=\"http://freedesktop.org/wiki/Specifications/icon-theme-spec\">on "
"freedesktop.org: Specifications/icon-theme-spec</link>."
msgstr ""
"En este ejemplo se ha usado un icono existente. Para usar un icono "
"personalizado, necesita un archivo «.svg» con su icono guardado en <file>/"
"usr/share/icons/hicolor/scalable/apps</file>. Escriba el nombre del archivo "
"del icono en el archivo «.desktop.in», en la línea 7. Puede obtener más "
-"información sobre los iconos en <link href=\"http://freedesktop.org/wiki/"
-"Specifications/icon-theme-spec\">Instalar iconos para temas</link>, <link "
+"información sobre los iconos en <link href=\"https://wiki.gnome.org/"
+"Initiatives/GnomeGoals/AppIcon\">Instalar iconos para temas</link>, <link "
"href=\"https://live.gnome.org/GnomeGoals/AppIcon\">Instalar iconos para "
"temas</link> y en <link href=\"http://freedesktop.org/wiki/Specifications/"
"icon-theme-spec\">freedesktop.org: especificaciones/icon-theme-spec</link>."
@@ -21776,7 +21345,6 @@ msgstr ""
#. (itstool) path: section/p
#: C/hello-world.js.page:178
-#, fuzzy
#| msgid ""
#| "When you have the <file>hello-world</file>, <file>hello-world.desktop.in</"
#| "file>, <file>Makefile.am</file>, <file>configure.ac</file> and "
@@ -21791,12 +21359,14 @@ msgid ""
msgstr ""
"Cuando tenga los archivos <file>hello-world</file>, <file>hello-world."
"desktop.in</file>, <file>Makefile.am</file>, <file>configure.ac</file> y "
-"<file>autogen.sh</file> con la información y los permisos correctos, el "
-"archivo <file>README</file> puede incluir las siguientes instrucciones:"
+"<file>autogen.sh</file> con la información y los permisos correctos, cree el "
+"archivo <file>README</file> con instrucciones para la instalación. A "
+"continuación se muestra un ejemplo de a qué se deben parecer las "
+"instrucciones de un archivo README adecuado."
#. (itstool) path: section/code
#: C/hello-world.js.page:179
-#, fuzzy, no-wrap
+#, no-wrap
#| msgid ""
#| "To build and install this program:\n"
#| "\n"
@@ -21872,9 +21442,9 @@ msgid ""
"\n"
"This will create hello-world-1.0.tar.xz\n"
msgstr ""
-"Para construir e instalar este programa:\n"
+"Para construir e instalar este programa ejecute estos comandos desde una terminal:\n"
"\n"
-"./autogen.sh --prefix=/home/usuario/.local\n"
+"./autogen.sh --prefix=/home/%USER/.local\n"
"make install\n"
"\n"
"-------------\n"
@@ -21885,7 +21455,7 @@ msgstr ""
"config.log\n"
"config.status\n"
"configure\n"
-"helloWorld.desktop\n"
+"hello-world.desktop\n"
"install-sh\n"
"missing\n"
"Makefile.in\n"
@@ -30893,11 +30463,14 @@ msgstr ""
#. (itstool) path: item/p
#: C/menubutton.js.page:33 C/menubutton.vala.page:33
+#| msgid ""
+#| "<link href=\"http://developer.gnome.org/gtk3/unstable/GtkMenuButton.html"
+#| "\">MenuButton</link>"
msgid ""
-"<link href=\"http://developer.gnome.org/gtk3/3.5/gtk3-GtkMenuButton.html"
+"<link href=\"https://developer.gnome.org/gtk3/unstable/GtkMenuButton.html"
"\">MenuButton</link>"
msgstr ""
-"<link href=\"http://developer.gnome.org/gtk3/3.5/gtk3-GtkMenuButton.html"
+"<link href=\"https://developer.gnome.org/gtk3/unstable/GtkMenuButton.html"
"\">MenuButton</link>"
#. (itstool) path: note/p
@@ -39644,164 +39217,6 @@ msgstr "Desplace las escalas."
#. (itstool) path: page/code
#: C/scale.c.page:28
#, no-wrap
-#| msgid ""
-#| "\n"
-#| "#include <gtk/gtk.h>\n"
-#| "\n"
-#| "\n"
-#| "\n"
-#| "/* This is the callback function. \n"
-#| " * It is a handler function which reacts to the signal. \n"
-#| " * In this case, it will notify the user the value of their scale as a label.\n"
-#| " */\n"
-#| "static void\n"
-#| "hscale_moved (GtkRange *range,\n"
-#| " gpointer user_data)\n"
-#| "{\n"
-#| " GtkWidget *label = user_data;\n"
-#| "\n"
-#| " /* Get the value of the range, and convert it into a string which will be\n"
-#| " * used as a new label for the horizontal scale.\n"
-#| " * %.0f - stands for a double that will have 0 decimal places.\n"
-#| " */\n"
-#| " gdouble pos = gtk_range_get_value (range);\n"
-#| " /* Note: Using g_strdup_printf returns a string that must be freed. \n"
-#| " * (In which is done below)\n"
-#| " */\n"
-#| " gchar *str = g_strdup_printf (\"Horizontal scale is %.0f\", pos);\n"
-#| " gtk_label_set_text (GTK_LABEL (label), str);\n"
-#| "\n"
-#| " g_free(str);\n"
-#| "}\n"
-#| "\n"
-#| "\n"
-#| "\n"
-#| "/* This is the second callback function. It is a handler function which \n"
-#| " * reacts to the signal. It does the same thing as the function above, except with\n"
-#| " * the vertical scale.\n"
-#| " */\n"
-#| "vscale_moved (GtkRange *range,\n"
-#| " gpointer user_data)\n"
-#| "{\n"
-#| " GtkWidget *label = user_data;\n"
-#| " \n"
-#| " gdouble pos = gtk_range_get_value (range);\n"
-#| " /* %.1f - stands for a double that will have 1 decimal place */\n"
-#| " gchar *str = g_strdup_printf (\"Vertical scale is %.1f\", pos);\n"
-#| " gtk_label_set_text (GTK_LABEL (label), str);\n"
-#| "\n"
-#| " \n"
-#| " g_free (str);\n"
-#| "}\n"
-#| "\n"
-#| "\n"
-#| "\n"
-#| "static void\n"
-#| "activate (GtkApplication *app,\n"
-#| " gpointer user_data)\n"
-#| "{\n"
-#| " /* Declare variables */\n"
-#| " GtkWidget *window;\n"
-#| " GtkWidget *h_scale;\n"
-#| " GtkWidget *v_scale;\n"
-#| " GtkWidget *hlabel;\n"
-#| " GtkWidget *vlabel;\n"
-#| " GtkWidget *grid;\n"
-#| "\n"
-#| " /* The Adjustment object represents a value \n"
-#| " * which has an associated lower and upper bound.\n"
-#| " */\n"
-#| " GtkAdjustment *hadjustment;\n"
-#| " GtkAdjustment *vadjustment;\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), \"Scale Example\");\n"
-#| " gtk_window_set_default_size (GTK_WINDOW (window), 400, 300);\n"
-#| " gtk_container_set_border_width (GTK_CONTAINER (window), 5);\n"
-#| "\n"
-#| " /* Two labels to be shown in the window */\n"
-#| " hlabel = gtk_label_new (\"Move the scale handle...\");\n"
-#| " vlabel = gtk_label_new (\"Move the scale handle...\");\n"
-#| "\n"
-#| " \n"
-#| " /* gtk_adjustment_new takes six parameters, three of which \n"
-#| " * may be difficult to understand:\n"
-#| " * step increment- move the handle with the arrow keys on your keyboard to see.\n"
-#| " * page increment - move the handle by clicking away from it \n"
-#| " * on the scale to see.\n"
-#| " * page size - not used here.\n"
-#| " */\n"
-#| " hadjustment = gtk_adjustment_new (0, 0, 100, 5, 10, 0);\n"
-#| " vadjustment = gtk_adjustment_new (50, 0, 100, 5, 10, 0); \n"
-#| "\n"
-#| " /* Create the Horizontal scale, making sure the \n"
-#| " * digits used have no decimals.\n"
-#| " */\n"
-#| " h_scale = gtk_scale_new (GTK_ORIENTATION_HORIZONTAL, hadjustment);\n"
-#| " gtk_scale_set_digits (GTK_SCALE (h_scale), 0); \n"
-#| "\n"
-#| " /* Allow it to expand horizontally (if there's space), and \n"
-#| " * set the vertical alignment\n"
-#| " */\n"
-#| " gtk_widget_set_hexpand (h_scale, TRUE);\n"
-#| " gtk_widget_set_valign (h_scale, GTK_ALIGN_START);\n"
-#| " \n"
-#| " /* Connecting the \"value-changed\" signal for the horizontal scale \n"
-#| " * to the appropriate callback function. \n"
-#| " * take note that GtkRange is part of GtkScale's Object Hierarchy.\n"
-#| " */\n"
-#| " g_signal_connect (h_scale, \n"
-#| " \"value-changed\", \n"
-#| " G_CALLBACK (hscale_moved), \n"
-#| " hlabel);\n"
-#| "\n"
-#| "\n"
-#| "\n"
-#| " /* Create the Vertical scale. This time, we will see what happens \n"
-#| " * when the digits arent initially set.\n"
-#| " */\n"
-#| " v_scale = gtk_scale_new (GTK_ORIENTATION_VERTICAL, vadjustment);\n"
-#| " gtk_widget_set_vexpand (v_scale, TRUE);\n"
-#| "\n"
-#| " /* Connecting the \"value-changed\" signal for the vertical scale to \n"
-#| " * the appropriate callback function.\n"
-#| " */\n"
-#| " g_signal_connect (v_scale, \n"
-#| " \"value-changed\", \n"
-#| " G_CALLBACK (vscale_moved), \n"
-#| " vlabel);\n"
-#| "\n"
-#| " /* Create a grid and arrange everything accordingly */\n"
-#| " grid = gtk_grid_new ();\n"
-#| " gtk_grid_set_column_spacing (GTK_GRID (grid), 10);\n"
-#| " gtk_grid_set_column_homogeneous (GTK_GRID (grid), TRUE);\n"
-#| " gtk_grid_attach (GTK_GRID (grid), h_scale, 0, 0, 1, 1);\n"
-#| " gtk_grid_attach (GTK_GRID (grid), v_scale, 1, 0, 1, 1);\n"
-#| " gtk_grid_attach (GTK_GRID (grid), hlabel, 0, 1, 1, 1);\n"
-#| " gtk_grid_attach (GTK_GRID (grid), vlabel, 1, 1, 1, 1);\n"
-#| " \n"
-#| "\n"
-#| " gtk_container_add (GTK_CONTAINER (window), grid);\n"
-#| "\n"
-#| " gtk_widget_show_all (window);\n"
-#| "}\n"
-#| "\n"
-#| "\n"
-#| "\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"
-#| " 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"
@@ -44429,20 +43844,27 @@ msgstr ""
"sys.exit(exit_status)\n"
#. (itstool) path: note/p
-#: C/spinner.py.page:33
+#: C/spinner.py.page:33 C/statusbar.py.page:34
+#| msgid ""
+#| "<code>Gdk.keyval_name(event.keyval)</code> converts the key value "
+#| "<code>event.keyval</code> into a symbolic name. The names and "
+#| "corresponding key values can be found <link href=\"http://git.gnome.org/"
+#| "browse/gtk+/tree/gdk/gdkkeysyms.h\">here</link>, but for instance "
+#| "<code>GDK_KEY_BackSpace</code> becomes the string <code>\"BackSpace\"</"
+#| "code>."
msgid ""
"<code>Gdk.keyval_name(event.keyval)</code> converts the key value "
"<code>event.keyval</code> into a symbolic name. The names and corresponding "
-"key values can be found <link href=\"http://git.gnome.org/browse/gtk+/tree/"
-"gdk/gdkkeysyms.h\">here</link>,but for instance <code>GDK_KEY_BackSpace</"
-"code> becomes the string <code>\"BackSpace\"</code>."
+"key values can be found <link href=\"https://gitlab.gnome.org/GNOME/gtk/blob/"
+"master/gdk/gdkkeysyms.h\">here</link>, but for instance "
+"<code>GDK_KEY_BackSpace</code> becomes the string <code>\"BackSpace\"</code>."
msgstr ""
-"<code>Gdk.keyval_name(event.keyval)</code> convierte el valor de tecla "
+"<code>Gdk.keyval_name(event.keyval)</code> convierte el valor de la tecla "
"<code>event.keyval</code> en un nombre simbólico. Los nombres y los valores "
-"de tecla correspondientes pueden encontrarse <link href=\"http://git.gnome."
-"org/browse/gtk+/tree/gdk/gdkkeysyms.h\">aquí</link>, pero por ejemplo "
-"<code>GDK_KEY_BackSpace</code> se convierte en la cadena <code>\"BackSpace"
-"\"</code>."
+"de teclas correspondientes pueden encontrarse <link href=\"https://gitlab."
+"gnome.org/GNOME/gtk/blob/master/gdk/gdkkeysyms.h\">aquí</link>, pero por "
+"ejemplo <code>GDK_KEY_BackSpace</code> se convierte en la cadena <code>"
+"\"BackSpace\"</code>."
#. (itstool) path: item/p
#: C/spinner.py.page:42 C/togglebutton.py.page:46
@@ -45897,22 +45319,6 @@ msgstr ""
"exit_status = app.run(sys.argv)\n"
"sys.exit(exit_status)\n"
-#. (itstool) path: note/p
-#: C/statusbar.py.page:34
-msgid ""
-"<code>Gdk.keyval_name(event.keyval)</code> converts the key value "
-"<code>event.keyval</code> into a symbolic name. The names and corresponding "
-"key values can be found <link href=\"http://git.gnome.org/browse/gtk+/tree/"
-"gdk/gdkkeysyms.h\">here</link>, but for instance <code>GDK_KEY_BackSpace</"
-"code> becomes the string <code>\"BackSpace\"</code>."
-msgstr ""
-"<code>Gdk.keyval_name(event.keyval)</code> convierte el valor de la tecla "
-"<code>event.keyval</code> en un nombre simbólico. Los nombres y los valores "
-"de teclas correspondientes pueden encontrarse <link href=\"http://git.gnome."
-"org/browse/gtk+/tree/gdk/gdkkeysyms.h\">aquí</link>, pero por ejemplo "
-"<code>GDK_KEY_BackSpace</code> se convierte en la cadena <code>\"BackSpace"
-"\"</code>."
-
#. (itstool) path: section/title
#: C/statusbar.py.page:40
msgid "Useful methods for a Statusbar widget"
@@ -45976,12 +45382,15 @@ msgstr ""
#. (itstool) path: item/p
#: C/statusbar.py.page:54
+#| msgid ""
+#| "<link href=\"http://developer.gnome.org/gdk/stable/gdk-Keyboard-Handling."
+#| "html\">Gdk - Key Values</link>"
msgid ""
-"<link href=\"http://developer.gnome.org/gdk/stable/gdk-Keyboard-Handling.html"
-"\">Gdk - Key Values</link>"
+"<link href=\"https://developer.gnome.org/gdk3/stable/gdk3-Keyboard-Handling."
+"html\">Gdk - Key Values</link>"
msgstr ""
-"<link href=\"http://developer.gnome.org/gdk/stable/gdk-Keyboard-Handling.html"
-"\">Gdk: valores de teclas</link>"
+"<link href=\"https://developer.gnome.org/gdk3/stable/gdk3-Keyboard-Handling."
+"html\">Gdk: valores de teclas</link>"
#. (itstool) path: info/title
#: C/statusbar.vala.page:8
@@ -53563,191 +52972,6 @@ msgstr "Esto construye el ejemplo de <link xref=\"toolbar.c\">Toolbar</link>."
#. (itstool) path: section/code
#: C/tooltip.c.page:31
#, no-wrap
-#| msgid ""
-#| "#include <gtk/gtk.h>\n"
-#| "\n"
-#| "static gboolean \n"
-#| "undo_tooltip_callback (GtkStatusIcon *status_icon,\n"
-#| " gint x,\n"
-#| " gint y,\n"
-#| " gboolean keyboard_mode,\n"
-#| " GtkTooltip *tooltip,\n"
-#| " gpointer user_data)\n"
-#| "{\n"
-#| " /* set the text for the tooltip */\n"
-#| " gtk_tooltip_set_text (tooltip, \"Undo your last action\");\n"
-#| " \n"
-#| " /* set an icon fot the tooltip */\n"
-#| " gtk_tooltip_set_icon_from_stock(tooltip, \"gtk-undo\", GTK_ICON_SIZE_MENU);\n"
-#| "\n"
-#| " /* show the tooltip */\n"
-#| " return TRUE;\n"
-#| "}\n"
-#| "\n"
-#| "\n"
-#| "static void\n"
-#| "undo_callback (GSimpleAction *simple,\n"
-#| " GVariant *parameter,\n"
-#| " gpointer user_data)\n"
-#| "{\n"
-#| " g_print (\"You clicked \\\"Undo\\\".\\n\");\n"
-#| "}\n"
-#| "\n"
-#| "\n"
-#| "static void\n"
-#| "activate (GtkApplication *app,\n"
-#| " gpointer user_data)\n"
-#| "{\n"
-#| " GtkWidget *grid;\n"
-#| " GtkWidget *window;\n"
-#| " GtkWidget *toolbar;\n"
-#| "\n"
-#| " GtkToolItem *new_button;\n"
-#| " GtkToolItem *open_button;\n"
-#| " GtkToolItem *undo_button;\n"
-#| "\n"
-#| " GtkStyleContext *style_context;\n"
-#| "\n"
-#| " GSimpleAction *undo_action;\n"
-#| "\n"
-#| " window = gtk_application_window_new (app);\n"
-#| " gtk_window_set_title (GTK_WINDOW (window), \"Toolbar with Tooltips Example\");\n"
-#| " gtk_window_set_default_size (GTK_WINDOW (window), 400, 200);\n"
-#| "\n"
-#| " /* Here we begin to create the toolbar */\n"
-#| " toolbar = gtk_toolbar_new ();\n"
-#| "\n"
-#| " /* Set the toolbar to be the primary toolbar of the application */\n"
-#| " style_context = gtk_widget_get_style_context (toolbar);\n"
-#| " gtk_style_context_add_class (style_context, GTK_STYLE_CLASS_PRIMARY_TOOLBAR);\n"
-#| "\n"
-#| " /* Create a button for the \"new\" action, with a stock image */\n"
-#| " new_button = gtk_tool_button_new_from_stock (GTK_STOCK_NEW);\n"
-#| " gtk_tool_item_set_is_important (new_button, TRUE);\n"
-#| " gtk_toolbar_insert (GTK_TOOLBAR (toolbar), new_button, 0);\n"
-#| " gtk_widget_show (GTK_WIDGET (new_button));\n"
-#| "\n"
-#| " /* Set the action name for the \"new\" action. We use \"app.new\" to\n"
-#| " * indicate that the action controls the application.\n"
-#| " */\n"
-#| " gtk_actionable_set_action_name (GTK_ACTIONABLE (new_button), \"app.new\");\n"
-#| "\n"
-#| " /*******************************\n"
-#| " * Tooltip for the New ToolItem:\n"
-#| " * a tooltip with text\n"
-#| " *******************************/\n"
-#| " gtk_tool_item_set_tooltip_text (new_button, \"Create a new file\"); \n"
-#| "\n"
-#| " /* \"Open\" */\n"
-#| " open_button = gtk_tool_button_new_from_stock (GTK_STOCK_OPEN);\n"
-#| " gtk_tool_item_set_is_important (open_button, TRUE);\n"
-#| " gtk_toolbar_insert (GTK_TOOLBAR (toolbar), open_button, 1);\n"
-#| " gtk_widget_show (GTK_WIDGET (open_button));\n"
-#| " gtk_actionable_set_action_name (GTK_ACTIONABLE (open_button), \"app.open\");\n"
-#| "\n"
-#| " /*******************************\n"
-#| " * Tooltip for the Open ToolItem:\n"
-#| " * a tooltip using Pango markup \n"
-#| " * language\n"
-#| " *******************************/\n"
-#| " gtk_tool_item_set_tooltip_text (open_button, \"Open an <i>existing</i> file\");\n"
-#| "\n"
-#| " /* \"Undo\" */\n"
-#| " undo_button = gtk_tool_button_new_from_stock (GTK_STOCK_UNDO);\n"
-#| " gtk_tool_item_set_is_important (undo_button, TRUE);\n"
-#| " gtk_toolbar_insert (GTK_TOOLBAR (toolbar), undo_button, 2);\n"
-#| " gtk_widget_show (GTK_WIDGET (undo_button));\n"
-#| "\n"
-#| " /* In this case, we use \"win.undo\" to indicate that\n"
-#| " * the action controls only the window\n"
-#| " */\n"
-#| " gtk_actionable_set_action_name (GTK_ACTIONABLE (undo_button), \"win.undo\");\n"
-#| "\n"
-#| " /*******************************\n"
-#| " * Tooltip for the Undo ToolItem:\n"
-#| " * a tooltip with an image\n"
-#| " *******************************/\n"
-#| " gtk_widget_set_has_tooltip (GTK_WIDGET (undo_button), TRUE);\n"
-#| "\n"
-#| " // Next, we connect the query_tooltip signal\n"
-#| " g_signal_connect (undo_button, \"query-tooltip\", G_CALLBACK (undo_tooltip_callback), NULL);\n"
-#| "\n"
-#| " gtk_widget_set_hexpand (toolbar, TRUE);\n"
-#| " gtk_widget_show (toolbar);\n"
-#| "\n"
-#| " grid = gtk_grid_new ();\n"
-#| " gtk_grid_attach (GTK_GRID (grid), toolbar, 0, 0, 1, 1);\n"
-#| " gtk_container_add (GTK_CONTAINER (window), GTK_WIDGET (grid));\n"
-#| " gtk_widget_show (GTK_WIDGET (grid));\n"
-#| "\n"
-#| " /* Use the action names to create the actions that control the window, and\n"
-#| " * connect them to the appropriate callbackfunctions.\n"
-#| " */\n"
-#| " undo_action = g_simple_action_new (\"undo\", NULL);\n"
-#| " g_signal_connect (undo_action, \"activate\", G_CALLBACK (undo_callback),\n"
-#| " GTK_WINDOW (window));\n"
-#| " g_action_map_add_action (G_ACTION_MAP (window), G_ACTION (undo_action));\n"
-#| "\n"
-#| " gtk_widget_show (window);\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"
-#| "/* Callback function for the open action */\n"
-#| "static void\n"
-#| "open_callback (GSimpleAction *simple,\n"
-#| " GVariant *parameter,\n"
-#| " gpointer user_data)\n"
-#| "{\n"
-#| " g_print (\"You clicked \\\"Open\\\".\\n\");\n"
-#| "}\n"
-#| "\n"
-#| "\n"
-#| "/* In this function, we create the actions in which control the window, and\n"
-#| " * connect their signals to the appropriate callback function.\n"
-#| " */\n"
-#| "static void\n"
-#| "startup (GApplication *app,\n"
-#| " gpointer user_data)\n"
-#| "{\n"
-#| " GSimpleAction *new_action;\n"
-#| " GSimpleAction *open_action;\n"
-#| "\n"
-#| " new_action = g_simple_action_new (\"new\", NULL);\n"
-#| " g_signal_connect (new_action, \"activate\", G_CALLBACK (new_callback), app);\n"
-#| " g_action_map_add_action (G_ACTION_MAP (app), G_ACTION (new_action));\n"
-#| "\n"
-#| " open_action = g_simple_action_new (\"open\", NULL);\n"
-#| " g_signal_connect (open_action, \"activate\", G_CALLBACK (open_callback), app);\n"
-#| " g_action_map_add_action (G_ACTION_MAP (app), G_ACTION (open_action));\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 ""
"#include <gtk/gtk.h>\n"
"\n"
@@ -54161,164 +53385,6 @@ msgstr "Esto construye el ejemplo de <link xref=\"toolbar.js\">Toolbar</link>."
#. (itstool) path: section/code
#: C/tooltip.js.page:30
#, no-wrap
-#| msgid ""
-#| "//!/usr/bin/gjs\n"
-#| "\n"
-#| "imports.gi.versions.Gdk = '3.0';\n"
-#| "imports.gi.versions.Gtk = '3.0';\n"
-#| "\n"
-#| "const Gdk = imports.gi.Gdk;\n"
-#| "const GLib = imports.gi.GLib;\n"
-#| "const Gio = imports.gi.Gio;\n"
-#| "const Gtk = imports.gi.Gtk; \n"
-#| "\n"
-#| "class TooltipExample {\n"
-#| " // Create the application \n"
-#| " constructor() {\n"
-#| " this.application = new Gtk.Application({\n"
-#| " application_id: 'org.example.jstooltip'\n"
-#| " });\n"
-#| "\n"
-#| " // Connect 'activate' and 'startup' signals to the callback functions\n"
-#| " this.application.connect('activate', this._onActivate.bind(this));\n"
-#| " this.application.connect('startup', this._onStartup.bind(this));\n"
-#| " }\n"
-#| "\n"
-#| " // Callback function for 'activate' signal presents windows when active\n"
-#| " _onActivate() {\n"
-#| " this.window.present();\n"
-#| " }\n"
-#| "\n"
-#| " // Callback function for 'startup' signal builds the UI\n"
-#| " _onStartup() {\n"
-#| " this._buildUI();\n"
-#| " }\n"
-#| "\n"
-#| " // Build the application's UI\n"
-#| " _buildUI() {\n"
-#| "\n"
-#| " // Create the application window\n"
-#| " this.window = new Gtk.ApplicationWindow({\n"
-#| " application: this.application,\n"
-#| " window_position: Gtk.WindowPosition.CENTER,\n"
-#| " title: \"Toolbar with Tooltips Example\",\n"
-#| " default_width: 400,\n"
-#| " default_height: 200,\n"
-#| " border_width: 10\n"
-#| " });\n"
-#| "\n"
-#| " this.grid = new Gtk.Grid();\n"
-#| "\n"
-#| " this.toolbar = this._createToolbar();\n"
-#| " this.toolbar.set_hexpand(true);\n"
-#| " this.toolbar.show();\n"
-#| "\n"
-#| " this.grid.attach(this.toolbar, 0, 0, 1, 1);\n"
-#| "\n"
-#| " this.window.add(this.grid);\n"
-#| "\n"
-#| " this._newAction = new Gio.SimpleAction({ name: \"new\" });\n"
-#| " this._newAction.connect(\"activate\", this._newCallback.bind(this));\n"
-#| " this.window.add_action(this._newAction);\n"
-#| "\n"
-#| " this._openAction = new Gio.SimpleAction({ name: \"open\" });\n"
-#| " this._openAction.connect(\"activate\", this._openCallback.bind(this));\n"
-#| " this.window.add_action(this._openAction);\n"
-#| "\n"
-#| " this._undoAction = new Gio.SimpleAction({ name: \"undo\" });\n"
-#| " this._undoAction.connect(\"activate\", this._undoCallback.bind(this));\n"
-#| " this.window.add_action(this._undoAction);\n"
-#| "\n"
-#| " this._fullScreenAction = new Gio.SimpleAction({ name: \"fullscreenToggle\" });\n"
-#| " this._fullScreenAction.connect(\"activate\",\n"
-#| " this._fullScreenCallback.bind(this));\n"
-#| " this.window.add_action(this._fullScreenAction);\n"
-#| "\n"
-#| " this.window.show_all();\n"
-#| " }\n"
-#| "\n"
-#| " _createToolbar() {\n"
-#| " this.toolbar = new Gtk.Toolbar();\n"
-#| " this.toolbar.get_style_context().add_class(Gtk.STYLE_CLASS_PRIMARY_TOOLBAR);\n"
-#| "\n"
-#| " // button for the \"new\" action\n"
-#| " this.newButton = Gtk.ToolButton.new_from_stock(Gtk.STOCK_NEW);\n"
-#| " // with a tooltip with a given text \n"
-#| " this.newButton.set_tooltip_text(\"Create a new file\");\n"
-#| " this.newButton.set_is_important(true);\n"
-#| " this.toolbar.insert(this.newButton, 0);\n"
-#| " this.newButton.show();\n"
-#| " this.newButton.set_action_name(\"win.new\");\n"
-#| "\n"
-#| " // button for the \"open\" action\n"
-#| " this.openButton = Gtk.ToolButton.new_from_stock(Gtk.STOCK_OPEN);\n"
-#| " // with a tooltip with a given text in the Pango markup language \n"
-#| " this.openButton.set_tooltip_markup(\"Open an <i>existing</i> file\");\n"
-#| " this.openButton.set_is_important(true);\n"
-#| " this.toolbar.insert(this.openButton, 1);\n"
-#| " this.openButton.show();\n"
-#| " this.openButton.set_action_name(\"win.open\");\n"
-#| "\n"
-#| " // button for the \"undo\" action\n"
-#| " this.undoButton = Gtk.ToolButton.new_from_stock(Gtk.STOCK_UNDO);\n"
-#| " // with a tooltip with an image\n"
-#| " // set true the property \"has-tooltip\" \n"
-#| " this.undoButton.set_property(\"has-tooltip\", true);\n"
-#| " // connect to the callback function that for the tooltip\n"
-#| " // with the signal \"query-tooltip\"\n"
-#| " this.undoButton.connect(\"query-tooltip\", this._undoTooltipCallback.bind(this));\n"
-#| " this.undoButton.set_is_important(true);\n"
-#| " this.toolbar.insert(this.undoButton, 2);\n"
-#| " this.undoButton.show();\n"
-#| " this.undoButton.set_action_name(\"win.undo\");\n"
-#| "\n"
-#| " // button for the \"fullscreen/leave fullscreen\" action\n"
-#| " this.fullscreenButton = Gtk.ToolButton.new_from_stock(Gtk.STOCK_FULLSCREEN);\n"
-#| " this.fullscreenButton.set_is_important(true);\n"
-#| " this.toolbar.insert(this.fullscreenButton, 3);\n"
-#| " this.fullscreenButton.set_action_name(\"win.fullscreenToggle\");\n"
-#| "\n"
-#| " return this.toolbar;\n"
-#| " }\n"
-#| "\n"
-#| " _newCallback(action, parameter) {\n"
-#| " print(\"You clicked \\\"New\\\".\");\n"
-#| " }\n"
-#| "\n"
-#| " _openCallback(action, parameter) {\n"
-#| " print(\"You clicked \\\"Open\\\".\");\n"
-#| " }\n"
-#| "\n"
-#| " // the callback function for the tooltip of the \"undo\" button\n"
-#| " _undoTooltipCallback(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.STOCK_UNDO, Gtk.IconSize.MENU);\n"
-#| " // show the tooltip\n"
-#| " return true;\n"
-#| " }\n"
-#| "\n"
-#| " _undoCallback(action, parameter) {\n"
-#| " print(\"You clicked \\\"Undo\\\".\");\n"
-#| " }\n"
-#| "\n"
-#| " _fullScreenCallback() {\n"
-#| " if ((this.window.get_window().get_state() & Gdk.WindowState.FULLSCREEN) != 0 ){\n"
-#| " this.fullscreenButton.set_stock_id(Gtk.STOCK_FULLSCREEN);\n"
-#| " this.fullscreenButton.set_tooltip_text(\"Make your window fullscreen\");\n"
-#| " this.window.unfullscreen();\n"
-#| " } else {\n"
-#| " this.fullscreenButton.set_stock_id(Gtk.STOCK_LEAVE_FULLSCREEN);\n"
-#| " this.fullscreenButton.set_tooltip_text(\"Leave fullscreen\");\n"
-#| " this.window.fullscreen();\n"
-#| " }\n"
-#| " }\n"
-#| "};\n"
-#| "\n"
-#| "// Run the application\n"
-#| "let app = new TooltipExample ();\n"
-#| "app.application.run (ARGV);\n"
msgid ""
"//!/usr/bin/gjs\n"
"\n"
@@ -54678,134 +53744,6 @@ msgstr "Esto construye el ejemplo de <link xref=\"toolbar.py\">Toolbar</link>."
#. (itstool) path: section/code
#: C/tooltip.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"
-#| "\n"
-#| "class MyWindow(Gtk.ApplicationWindow):\n"
-#| "\n"
-#| " def __init__(self, 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"
-#| "\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(\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"
-#| "\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(\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"
-#| " else:\n"
-#| " 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"
-#| " 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"
@@ -55187,167 +54125,6 @@ msgstr ""
#. (itstool) path: section/code
#: C/tooltip.vala.page:31
#, no-wrap
-#| msgid ""
-#| "/* This is the Window */\n"
-#| "class MyWindow : Gtk.ApplicationWindow {\n"
-#| "\n"
-#| "\t/* Instance variables belonging to the window */\n"
-#| "\tGtk.Toolbar toolbar;\n"
-#| "\tGtk.ToolButton new_button;\n"
-#| "\tGtk.ToolButton open_button;\n"
-#| "\tGtk.ToolButton undo_button;\n"
-#| "\tGtk.ToolButton fullscreen_button;\n"
-#| "\tGtk.ToolButton leave_fullscreen_button;\n"
-#| "\n"
-#| "\t/* Constructor */\n"
-#| "\tinternal MyWindow (MyApplication app) {\n"
-#| "\t\tObject (application: app, title: \"Toolbar with Tooltips Example\");\n"
-#| "\n"
-#| "\t\tthis.set_default_size (400, 200);\n"
-#| "\t\tvar grid = new Gtk.Grid ();\n"
-#| "\t\tthis.add (grid);\n"
-#| "\t\tgrid.show ();\n"
-#| "\n"
-#| "\t\tcreate_toolbar ();\n"
-#| "\t\ttoolbar.set_hexpand (true);\n"
-#| "\t\tgrid.attach (toolbar, 0, 0, 1, 1);\n"
-#| "\t\ttoolbar.show ();\n"
-#| "\n"
-#| "\t\t/* create the \"undo\" window action action */\n"
-#| "\t\tvar undo_action = new SimpleAction (\"undo\", null);\n"
-#| "\t\tundo_action.activate.connect (undo_callback);\n"
-#| "\t\tthis.add_action (undo_action);\n"
-#| "\n"
-#| "\t\t/* create the \"fullscreen\" window action */\n"
-#| "\t\tvar fullscreen_action = new SimpleAction (\"fullscreen\", null);\n"
-#| "\t\tfullscreen_action.activate.connect (fullscreen_callback);\n"
-#| "\t\tthis.add_action (fullscreen_action);\n"
-#| "\t}\n"
-#| "\n"
-#| "\t/* Callback for query_tooltip signal */\n"
-#| "\tbool undo_tooltip_callback (int x, int y, bool keyboard_tooltip, Gtk.Tooltip tooltip) {\n"
-#| "\n"
-#| "\t\t/* set the text for the tooltip */\n"
-#| " \ttooltip.set_text (\"Undo your last action\");\n"
-#| "\t\t\n"
-#| "\t\t/* set an icon fot the tooltip */\n"
-#| "\t\ttooltip.set_icon_from_stock(\"gtk-undo\", Gtk.IconSize.MENU);\n"
-#| "\n"
-#| " \t/* show the tooltip */\n"
-#| " \treturn true;\n"
-#| "\t}\n"
-#| "\n"
-#| "\t/* This function creates the toolbar, its ToolButtons,\n"
-#| "\t * and assigns the actions names to the ToolButtons.*/\n"
-#| "\tvoid create_toolbar () {\n"
-#| "\t\ttoolbar = new Gtk.Toolbar ();\n"
-#| "\t\ttoolbar.get_style_context ().add_class (Gtk.STYLE_CLASS_PRIMARY_TOOLBAR);\n"
-#| "\n"
-#| "\t\tnew_button = new Gtk.ToolButton.from_stock (Gtk.Stock.NEW);\n"
-#| "\n"
-#| "\t\t/* tooltip with text */\n"
-#| "\t\tnew_button.set_tooltip_text (\"Create a new file\");\n"
-#| "\n"
-#| "\t\tnew_button.is_important = true; //decides whether to show the label\n"
-#| "\t\ttoolbar.add (new_button);\n"
-#| "\t\tnew_button.show ();\n"
-#| "\t\tnew_button.action_name = \"app.new\";\n"
-#| "\n"
-#| "\t\topen_button = new Gtk.ToolButton.from_stock (Gtk.Stock.OPEN);\n"
-#| "\n"
-#| "\t\t/* a tooltip using Pango markup language */\n"
-#| "\t\topen_button.set_tooltip_markup (\"Open an <i>existing</i> file\");\n"
-#| "\n"
-#| "\t\topen_button.is_important = true;\n"
-#| "\t\ttoolbar.add (open_button);\n"
-#| "\t\topen_button.show ();\n"
-#| "\t\topen_button.action_name = \"app.open\";\n"
-#| "\n"
-#| "\t\tundo_button = new Gtk.ToolButton.from_stock (Gtk.Stock.UNDO);\n"
-#| "\t\n"
-#| "\t\t/* For a tooltip to have an image, first we must set_has_tooltip to be 'true' */\t\n"
-#| "\t\t(undo_button as Gtk.Widget).set_has_tooltip (true);\n"
-#| "\n"
-#| "\t\t/* Connect the query_tooltip signal to the callback */\n"
-#| "\t\tundo_button.query_tooltip.connect (undo_tooltip_callback);\n"
-#| "\t\n"
-#| "\t\tundo_button.is_important = true;\n"
-#| "\t\ttoolbar.add (undo_button);\n"
-#| "\t\tundo_button.show ();\n"
-#| "\t\tundo_button.action_name = \"win.undo\";\n"
-#| "\n"
-#| "\t\tfullscreen_button = new Gtk.ToolButton.from_stock (Gtk.Stock.FULLSCREEN);\n"
-#| "\t\tfullscreen_button.is_important = true;\n"
-#| "\t\ttoolbar.add (fullscreen_button);\n"
-#| "\t\tfullscreen_button.show ();\n"
-#| "\t\tfullscreen_button.action_name = \"win.fullscreen\";\n"
-#| "\n"
-#| "\t\tleave_fullscreen_button = new Gtk.ToolButton.from_stock (Gtk.Stock.LEAVE_FULLSCREEN)\n"
-#| ";\n"
-#| "\t\tleave_fullscreen_button.is_important = true;\n"
-#| "\t\ttoolbar.add (leave_fullscreen_button);\n"
-#| "\n"
-#| "\t\tleave_fullscreen_button.action_name = \"win.fullscreen\";\n"
-#| "\t}\n"
-#| "\n"
-#| "\tvoid undo_callback (SimpleAction simple, Variant? parameter) {\n"
-#| "\t\t\tprint (\"You clicked \\\"Undo\\\".\\n\");\n"
-#| "\t}\n"
-#| "\n"
-#| "\tvoid fullscreen_callback (SimpleAction simple, Variant? parameter) {\n"
-#| "\t\tif ((this.get_window ().get_state () & Gdk.WindowState.FULLSCREEN) != 0) {\n"
-#| "\t\t\tthis.unfullscreen ();\n"
-#| "\t\t\tleave_fullscreen_button.hide ();\n"
-#| "\t\t\tfullscreen_button.show ();\n"
-#| "\t\t}\n"
-#| "\t\telse {\n"
-#| "\t\t\tthis.fullscreen ();\n"
-#| "\t\t\tfullscreen_button.hide ();\n"
-#| "\t\t\tleave_fullscreen_button.show ();\n"
-#| "\t\t}\n"
-#| "\t}\n"
-#| "}\n"
-#| "\n"
-#| "/* This is the application */\n"
-#| "class MyApplication : Gtk.Application {\n"
-#| "\tprotected override void activate () {\n"
-#| "\t\tnew MyWindow (this).show ();\n"
-#| "\t}\n"
-#| "\n"
-#| "\tprotected override void startup () {\n"
-#| "\t\tbase.startup ();\n"
-#| "\n"
-#| "\t\t/* Create the \"new\" action and add it to the app*/\n"
-#| "\t\tvar new_action = new SimpleAction (\"new\", null);\n"
-#| "\t\tnew_action.activate.connect (new_callback);\n"
-#| "\t\tthis.add_action (new_action);\n"
-#| "\n"
-#| "\t\t/* Create the \"open\" action, and add it to the app */\n"
-#| "\t\tvar open_action = new SimpleAction (\"open\", null);\n"
-#| "\t\topen_action.activate.connect (open_callback);\n"
-#| "\t\tthis.add_action (open_action);\n"
-#| "\n"
-#| "\t\t/* You could also add the action to the app menu\n"
-#| "\t\t * if you wanted to.\n"
-#| "\t\t */\n"
-#| "\t\t//var menu = new Menu ();\n"
-#| "\t\t//menu.append (\"New\", \"app.new\");\n"
-#| "\t\t//this.app_menu = menu;\n"
-#| "\t}\n"
-#| "\n"
-#| "\tvoid new_callback (SimpleAction action, Variant? parameter) {\n"
-#| "\t\tprint (\"You clicked \\\"New\\\".\\n\");\n"
-#| "\t}\n"
-#| "\n"
-#| "\tvoid open_callback (SimpleAction action, Variant? parameter) {\n"
-#| "\t\t\tprint (\"You clicked \\\"Open\\\".\\n\");\n"
-#| "\t}\n"
-#| "}\n"
-#| "\n"
-#| "/* The main function creates the application and runs it. */\n"
-#| "int main (string[] args) {\n"
-#| "\treturn new MyApplication ().run (args);\n"
-#| "}\n"
msgid ""
"/* This is the Window */\n"
"class MyWindow : Gtk.ApplicationWindow {\n"
@@ -59143,7 +57920,6 @@ msgstr "Autotools y archivos necesarios"
#. (itstool) path: section/p
#: C/weatherAutotools.js.page:33
-#, fuzzy
#| 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 "
@@ -61377,21 +60153,50 @@ msgstr ""
#. (itstool) path: section/p
#: C/custom-gsource.c.page:293
+#| msgid ""
+#| "Another example is a custom source to interface GnuTLS with GLib in its "
+#| "<code>GTlsConnection</code> implementation. <link href=\"https://git."
+#| "gnome.org/browse/glib-networking/tree/tls/gnutls/gtlsconnection-gnutls."
+#| "c#n871\"><code>GTlsConnectionGnutlsSource</code></link> synchronizes the "
+#| "main thread and a TLS worker thread which performs the blocking TLS "
+#| "operations."
msgid ""
"Another example is a custom source to interface GnuTLS with GLib in its "
-"<code>GTlsConnection</code> implementation. <link href=\"https://git.gnome."
-"org/browse/glib-networking/tree/tls/gnutls/gtlsconnection-gnutls."
-"c#n871\"><code>GTlsConnectionGnutlsSource</code></link> synchronizes the "
+"<code>GTlsConnection</code> implementation. <link href=\"https://gitlab."
+"gnome.org/GNOME/glib-networking/blob/master/tls/gnutls/gtlsconnection-gnutls."
+"c#L1154\"><code>GTlsConnectionGnutlsSource</code></link> synchronizes the "
"main thread and a TLS worker thread which performs the blocking TLS "
"operations."
msgstr ""
"Otro ejemplo es una fuente personalizada para que sirva de interfaz de "
"GnuTLS con GLib en su implementación de <code>GTlsConnection</code>. <link "
-"href=\"https://git.gnome.org/browse/glib-networking/tree/tls/gnutls/"
-"gtlsconnection-gnutls.c#n871\"><code>GTlsConnectionGnutlsSource</code></"
+"href=\"https://gitlab.gnome.org/GNOME/glib-networking/blob/master/tls/gnutls/"
+"gtlsconnection-gnutls.c#L1154\"><code>GTlsConnectionGnutlsSource</code></"
"link> sincroniza el hilo principal y un hilo trabajador TLS que realiza las "
"operaciones de bloqueo de TLS."
+#~ msgid ""
+#~ "<link href=\"http://developer.gnome.org/gtk3/3.5/gtk3-GtkMenuButton.html"
+#~ "\">MenuButton</link>"
+#~ msgstr ""
+#~ "<link href=\"http://developer.gnome.org/gtk3/3.5/gtk3-GtkMenuButton.html"
+#~ "\">MenuButton</link>"
+
+#~ msgid ""
+#~ "<code>Gdk.keyval_name(event.keyval)</code> converts the key value "
+#~ "<code>event.keyval</code> into a symbolic name. The names and "
+#~ "corresponding key values can be found <link href=\"http://git.gnome.org/"
+#~ "browse/gtk+/tree/gdk/gdkkeysyms.h\">here</link>,but for instance "
+#~ "<code>GDK_KEY_BackSpace</code> becomes the string <code>\"BackSpace\"</"
+#~ "code>."
+#~ msgstr ""
+#~ "<code>Gdk.keyval_name(event.keyval)</code> convierte el valor de tecla "
+#~ "<code>event.keyval</code> en un nombre simbólico. Los nombres y los "
+#~ "valores de tecla correspondientes pueden encontrarse <link href=\"http://"
+#~ "git.gnome.org/browse/gtk+/tree/gdk/gdkkeysyms.h\">aquí</link>, pero por "
+#~ "ejemplo <code>GDK_KEY_BackSpace</code> se convierte en la cadena <code>"
+#~ "\"BackSpace\"</code>."
+
#~ msgid ""
#~ "const Lang = imports.lang;\n"
#~ "const Gtk = imports.gi.Gtk;"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]