[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: Mon, 10 Mar 2014 16:45:13 +0000 (UTC)
commit 5bbe15bd41154ae4482513080a56627756c30b42
Author: Daniel Mustieles <daniel mustieles gmail com>
Date: Mon Mar 10 17:45:05 2014 +0100
Updated Spanish translation
platform-demos/es/es.po | 463 +----------------------------------------------
1 files changed, 5 insertions(+), 458 deletions(-)
---
diff --git a/platform-demos/es/es.po b/platform-demos/es/es.po
index 13bc321..49d02ba 100644
--- a/platform-demos/es/es.po
+++ b/platform-demos/es/es.po
@@ -9,8 +9,8 @@
msgid ""
msgstr ""
"Project-Id-Version: gnome-devel-docs.platform-demos.master\n"
-"POT-Creation-Date: 2014-03-10 07:39+0000\n"
-"PO-Revision-Date: 2014-03-10 14:20+0100\n"
+"POT-Creation-Date: 2014-03-10 15:44+0000\n"
+"PO-Revision-Date: 2014-03-10 17:44+0100\n"
"Last-Translator: Daniel Mustieles <daniel mustieles gmail com>\n"
"Language-Team: Español <gnome-es-list gnome org>\n"
"Language: \n"
@@ -2132,14 +2132,6 @@ msgstr ""
#. (itstool) path: section/code
#: C/03_getting_the_signal.js.page:245
#, no-wrap
-#| msgid ""
-#| "\n"
-#| " // Create the radio buttons\n"
-#| " this._cookieButton = new Gtk.RadioButton ({ label: \"Cookie\" });\n"
-#| " this._notCookieOne = new Gtk.RadioButton ({ label: \"Not cookie\",\n"
-#| " group: this._cookieButton });\n"
-#| " this._notCookieTwo = new Gtk.RadioButton ({ label: \"Not cookie\",\n"
-#| " group: this._cookieButton });\n"
msgid ""
"\n"
" // Create the radio buttons\n"
@@ -2169,13 +2161,6 @@ msgstr ""
#. (itstool) path: section/code
#: C/03_getting_the_signal.js.page:255
#, no-wrap
-#| msgid ""
-#| "\n"
-#| " // Arrange the radio buttons in their own grid\n"
-#| " this._radioGrid = new Gtk.Grid ();\n"
-#| " this._radioGrid.attach (this._notCookieOne, 0, 0, 1, 1);\n"
-#| " this._radioGrid.attach (this._cookieButton, 0, 1, 1, 1);\n"
-#| " this._radioGrid.attach (this._notCookieTwo, 0, 2, 1, 1);\n"
msgid ""
"\n"
" // Arrange the radio buttons in their own grid\n"
@@ -2254,20 +2239,6 @@ msgstr ""
#. (itstool) path: section/code
#: C/03_getting_the_signal.js.page:279
#, no-wrap
-#| msgid ""
-#| "\n"
-#| " _getACookie: function() {\n"
-#| "\n"
-#| " // Did you select \"cookie\" instead of \"not cookie\"?\n"
-#| " if (this._cookieButton.get_active()) {\n"
-#| "\n"
-#| " // Increase the number of cookies by 1 and update the label\n"
-#| " cookies++;\n"
-#| " this._cookieLabel.set_label (\"Number of cookies: \" + cookies);\n"
-#| "\n"
-#| " }\n"
-#| "\n"
-#| " }\n"
msgid ""
"\n"
" _getACookie: function() {\n"
@@ -2866,117 +2837,6 @@ msgstr "Ejemplo de código con botón de radio"
#. (itstool) path: section/code
#: C/03_getting_the_signal.js.page:363
#, no-wrap
-#| msgid ""
-#| "#!/usr/bin/gjs\n"
-#| "\n"
-#| "const Gtk = imports.gi.Gtk;\n"
-#| "const Lang = imports.lang;\n"
-#| "\n"
-#| "// We start out with 0 cookies\n"
-#| "var cookies = 0;\n"
-#| "\n"
-#| "const GettingTheSignal = new Lang.Class({\n"
-#| " Name: 'Getting the Signal',\n"
-#| "\n"
-#| " // Create the application itself\n"
-#| " _init: function() {\n"
-#| " this.application = new Gtk.Application();\n"
-#| "\n"
-#| " // Connect 'activate' and 'startup' signals to the callback functions\n"
-#| " this.application.connect('activate', Lang.bind(this, this._onActivate));\n"
-#| " this.application.connect('startup', Lang.bind(this, this._onStartup));\n"
-#| " },\n"
-#| "\n"
-#| " // Callback function for 'activate' signal presents window when active\n"
-#| " _onActivate: function() {\n"
-#| " this._window.present();\n"
-#| " },\n"
-#| "\n"
-#| " // Callback function for 'startup' signal builds the UI\n"
-#| " _onStartup: function() {\n"
-#| " this._buildUI ();\n"
-#| " },\n"
-#| "\n"
-#| "\n"
-#| "\n"
-#| " // Build the application's UI\n"
-#| " _buildUI: function() {\n"
-#| "\n"
-#| " // Create the application window\n"
-#| " this._window = new Gtk.ApplicationWindow({\n"
-#| " application: this.application,\n"
-#| " window_position: Gtk.WindowPosition.CENTER,\n"
-#| " default_height: 200,\n"
-#| " default_width: 400,\n"
-#| " border_width: 20,\n"
-#| " title: \"Choose the one that says 'cookie'!\"});\n"
-#| "\n"
-#| " // Create the radio buttons\n"
-#| " this._cookieButton = new Gtk.RadioButton ({ label: \"Cookie\" });\n"
-#| " this._notCookieOne = new Gtk.RadioButton ({ label: \"Not cookie\",\n"
-#| " group: this._cookieButton });\n"
-#| " this._notCookieTwo = new Gtk.RadioButton ({ label: \"Not cookie\",\n"
-#| " group: this._cookieButton });\n"
-#| "\n"
-#| " // Arrange the radio buttons in their own grid\n"
-#| " this._radioGrid = new Gtk.Grid ();\n"
-#| " this._radioGrid.attach (this._notCookieOne, 0, 0, 1, 1);\n"
-#| " this._radioGrid.attach (this._cookieButton, 0, 1, 1, 1);\n"
-#| " this._radioGrid.attach (this._notCookieTwo, 0, 2, 1, 1);\n"
-#| "\n"
-#| " // Set the button that will be at the top to be active by default\n"
-#| " this._notCookieOne.set_active (true);\n"
-#| "\n"
-#| " // Create the cookie button\n"
-#| " this._cookieButton = new Gtk.Button ({\n"
-#| " label: \"Get a cookie\" });\n"
-#| "\n"
-#| " // Connect the cookie button to the function that handles clicking it\n"
-#| " this._cookieButton.connect ('clicked', Lang.bind (this, this._getACookie));\n"
-#| "\n"
-#| " // Create the label\n"
-#| " this._cookieLabel = new Gtk.Label ({\n"
-#| " label: \"Number of cookies: \" + cookies });\n"
-#| "\n"
-#| " // Create a grid to arrange everything inside\n"
-#| " this._grid = new Gtk.Grid ({\n"
-#| " halign: Gtk.Align.CENTER,\n"
-#| " valign: Gtk.Align.CENTER,\n"
-#| " row_spacing: 20 });\n"
-#| "\n"
-#| " // Put everything inside the grid\n"
-#| " this._grid.attach (this._radioGrid, 0, 0, 1, 1);\n"
-#| " this._grid.attach (this._cookieButton, 0, 1, 1, 1);\n"
-#| " this._grid.attach (this._cookieLabel, 0, 2, 1, 1);\n"
-#| "\n"
-#| " // Add the grid to the window\n"
-#| " this._window.add (this._grid);\n"
-#| "\n"
-#| " // Show the window and all child widgets\n"
-#| " this._window.show_all();\n"
-#| "\n"
-#| " },\n"
-#| "\n"
-#| "\n"
-#| "\n"
-#| " _getACookie: function() {\n"
-#| "\n"
-#| " // Did you select \"cookie\" instead of \"not cookie\"?\n"
-#| " if (this._cookieButton.get_active()) {\n"
-#| "\n"
-#| " // Increase the number of cookies by 1 and update the label\n"
-#| " cookies++;\n"
-#| " this._cookieLabel.set_label (\"Number of cookies: \" + cookies);\n"
-#| "\n"
-#| " }\n"
-#| "\n"
-#| " }\n"
-#| "\n"
-#| "});\n"
-#| "\n"
-#| "// Run the application\n"
-#| "let app = new GettingTheSignal ();\n"
-#| "app.application.run (ARGV);\n"
msgid ""
"#!/usr/bin/gjs\n"
"\n"
@@ -15357,67 +15217,6 @@ msgstr ""
#. (itstool) path: page/code
#: C/gmenu.vala.page:33
#, no-wrap
-#| msgid ""
-#| "/* A window in the application. */\n"
-#| "public class Window : Gtk.ApplicationWindow {\n"
-#| "\n"
-#| "\t/* Constructor */\n"
-#| "\tpublic Window (Application app) {\n"
-#| "\t\tObject (application: app, title: \"Gmenu Example\");\n"
-#| "\n"
-#| "\t\tvar about_action = new SimpleAction (\"about\", null);\n"
-#| "\n"
-#| "\t\t/* Connect the 'activate' signal to the\n"
-#| "\t\t * signal handler (aka. callback).\n"
-#| "\t\t */\n"
-#| "\t\tabout_action.activate.connect (this.about_cb);\n"
-#| "\n"
-#| "\t\t/* Add the action to this window. */\n"
-#| "\t\tthis.add_action (about_action);\n"
-#| "\n"
-#| "\t\tthis.show ();\n"
-#| "\t}\n"
-#| "\n"
-#| "\t/* Signal handler for 'activate' signal of the SimpleAction. */\n"
-#| "\tvoid about_cb (SimpleAction simple, Variant? parameter) {\n"
-#| "\t\tprint (\"This does nothing. It is only a demonstration.\\n\");\n"
-#| "\t}\n"
-#| "}\n"
-#| "\n"
-#| "/* This is the Application. */\n"
-#| "public class Application : Gtk.Application {\n"
-#| "\n"
-#| "\t/* Constructor */\n"
-#| "\tpublic Application () {\n"
-#| "\t\tObject (application_id: \"org.example.application\");\n"
-#| "\t}\n"
-#| "\n"
-#| "\t/* Override the 'activate' signal of GLib.Application. */\n"
-#| "\tprotected override void activate () {\n"
-#| "\n"
-#| "\t\t/* Create a new window for this application. */\n"
-#| "\t\tnew Window (this);\n"
-#| "\t}\n"
-#| "\n"
-#| "\t/* Override the 'startup' signal of GLib.Application. */\n"
-#| "\tprotected override void startup () {\n"
-#| "\t\tbase.startup ();\n"
-#| "\n"
-#| "\t\tvar menu = new Menu ();\n"
-#| "\t\tmenu.append (\"About\", \"win.about\");\n"
-#| "\t\tmenu.append (\"Quit\", \"app.quit\");\n"
-#| "\t\tthis.app_menu = menu;\n"
-#| "\n"
-#| "\t\tvar quit_action = new SimpleAction (\"quit\", null);\n"
-#| "\t\t//quit_action.activate.connect (this.quit);\n"
-#| "\t\tthis.add_action (quit_action);\n"
-#| "\t}\n"
-#| "}\n"
-#| "\n"
-#| "/* main function creates Application and runs it. */\n"
-#| "int main (string[] args) {\n"
-#| "\treturn new Application ().run (args);\n"
-#| "}\n"
msgid ""
"/* A window in the application. */\n"
"public class Window : Gtk.ApplicationWindow {\n"
@@ -16500,7 +16299,6 @@ msgstr "ApplicationWindow (Python)"
#. (itstool) path: page/p
#: C/GtkApplicationWindow.py.page:29
-#| msgid "The simplest GtkApplication Window which can support Menus."
msgid ""
"The simplest GtkApplication Window which can support <link xref=\"gmenu.py\"/"
">."
@@ -22943,10 +22741,6 @@ msgstr "2014"
#. (itstool) path: note/p
#: C/image.py.page:31
-#| 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 "
-#| "current directory for this code to work."
msgid ""
"If the image file is not loaded successfully, the image will contain a "
"\"broken image\" icon. <file>filename.png</file> needs to be in the current "
@@ -22959,41 +22753,6 @@ msgstr ""
#. (itstool) path: section/code
#: C/image.py.page:42
#, no-wrap
-#| 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"
-#| "\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"
-#| "\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"
-#| "app = MyApplication()\n"
-#| "exit_status = app.run(sys.argv)\n"
-#| "sys.exit(exit_status)\n"
msgid ""
"\n"
" from gi.repository import Gtk\n"
@@ -23085,31 +22844,6 @@ msgstr ""
#. (itstool) path: section/code
#: C/image.py.page:50
#, no-wrap
-#| msgid ""
-#| "\n"
-#| "# a class to create a window\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(300, 300)\n"
-#| "\n"
-#| "# a class to create an image\n"
-#| "class MyImage(Gtk.Image):\n"
-#| " def __init__(self):\n"
-#| " Gtk.Image.__init__(self)\n"
-#| " self.set_from_file(\"gnome-image.png\")\n"
-#| "\n"
-#| "class MyApplication(Gtk.Application):\n"
-#| " def __init__(self):\n"
-#| " Gtk.Application.__init__(self)\n"
-#| "\n"
-#| " def do_activate(self):\n"
-#| " # create an instance of MyWindow\n"
-#| " win = MyWindow(self)\n"
-#| " # create an instance of MyImage and add it to the window\n"
-#| " win.add(MyImage())\n"
-#| " # show the window and everything on it\n"
-#| " win.show_all()"
msgid ""
"\n"
" # a class to create a window\n"
@@ -23170,6 +22904,9 @@ msgid ""
"<code>Gtk</code> and <code>GdkPixbuf</code> from <code>gi.repository</code> "
"and lines that instantiate the <code>MyApplication</code> window."
msgstr ""
+"Para usar este fragmento de código necesitará aádir el código que importa "
+"<code>Gtk</code> y <code>GdkPixbuf</code> desde <code>gi.repository</code> y "
+"las líneas que crean una instancia de la ventana <code>MyApplication</code>."
#. (itstool) path: section/title
#: C/image.py.page:84
@@ -23178,10 +22915,6 @@ msgstr "Métodos útiles para un widget «Image»"
#. (itstool) path: item/p
#: C/image.py.page:88
-#| 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-pixbuf/unstable//index.html\">GdkPixbuf</link>."
msgid ""
"To load an image over a network use <code>set_from_pixbuf(pixbuf)</code>, "
"where <code>pixbuf</code> is a <link href=\"https://developer.gnome.org/gdk-"
@@ -23194,28 +22927,6 @@ msgstr ""
#. (itstool) path: item/code
#: C/image.py.page:92
#, no-wrap
-#| msgid ""
-#| "\n"
-#| "from gi.repository import Gtk\n"
-#| "from gi.repository import GdkPixbuf\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 a pixbuf from file filename=\"gnome-image.png\", with width=32\n"
-#| " # and height=64 amd boolean preserve_aspect_ratio=False.\n"
-#| " pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(\"gnome-image.png\", 64, 128, False)\n"
-#| "\n"
-#| " # create an image\n"
-#| " image = Gtk.Image()\n"
-#| " # set the content of the image as the pixbuf\n"
-#| " image.set_from_pixbuf(pixbuf)\n"
-#| " # add the image to the window\n"
-#| " self.add(image)"
msgid ""
"\n"
" from gi.repository import Gtk\n"
@@ -23277,9 +22988,6 @@ msgstr ""
#. (itstool) path: item/p
#: C/image.py.page:118
-#| msgid ""
-#| "For loading from an input stream, see <code>new_from_stream()</code> and "
-#| "<code>new_from_stream_at_scale()</code> in the documentation"
msgid ""
"For loading from an input stream, see <code>new_from_stream()</code> and "
"<code>new_from_stream_at_scale()</code> in the documentation."
@@ -23289,9 +22997,6 @@ msgstr ""
#. (itstool) path: item/p
#: C/image.py.page:130
-#| msgid ""
-#| "<link href=\"http://developer.gnome.org/gtk3/unstable/GtkImage.html"
-#| "\">GtkImage</link>"
msgid ""
"<link href=\"https://developer.gnome.org/gtk3/unstable/GtkImage.html\"> "
"GtkImage</link>"
@@ -23301,9 +23006,6 @@ msgstr ""
#. (itstool) path: item/p
#: C/image.py.page:134
-#| msgid ""
-#| "<link href=\"http://developer.gnome.org/gtk3/unstable/GtkWindow.html"
-#| "\">GtkWindow</link>"
msgid ""
"<link href=\"https://developer.gnome.org/gtk3/unstable/GtkWindow.html\"> "
"GtkWindow</link>"
@@ -23313,7 +23015,6 @@ msgstr ""
#. (itstool) path: page/section
#: C/image.py.page:124
-#| msgid "<_:item-1/> <_:item-2/> <_:item-3/> <_:item-4/>."
msgid "<_:title-1/> <_:p-2/> <_:list-3/> q"
msgstr "<_:title-1/> <_:p-2/> <_:list-3/> q"
@@ -27000,33 +26701,6 @@ msgstr ""
#. (itstool) path: section/code
#: C/label.py.page:44
#, no-wrap
-#| msgid ""
-#| "\n"
-#| "# a class to define a window\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, 100)\n"
-#| "\n"
-#| "# a class to define a label\n"
-#| "class MyLabel(Gtk.Label):\n"
-#| " def __init__(self):\n"
-#| " Gtk.Label.__init__(self)\n"
-#| " self.set_text(\"Hello GNOME!\")\n"
-#| "\n"
-#| "class MyApplication(Gtk.Application):\n"
-#| " def __init__(self):\n"
-#| " Gtk.Application.__init__(self)\n"
-#| "\n"
-#| " def do_activate(self):\n"
-#| " # create an instance of MyWindow\n"
-#| " win = MyWindow(self)\n"
-#| " # create an instance of MyLabel\n"
-#| " label = MyLabel()\n"
-#| " # and add it to the window\n"
-#| " win.add(label)\n"
-#| " # show the window and everything on it\n"
-#| " win.show_all()"
msgid ""
"\n"
"# a class to define a window\n"
@@ -27103,9 +26777,6 @@ msgstr "Métodos útiles para un widget «Label»"
#. (itstool) path: note/p
#: C/label.py.page:84
-#| msgid ""
-#| "An explanation of how to deal with strings in GTK+ can be found in <link "
-#| "xref=\"strings.py\"/>."
msgid ""
"An explanation of how to work with strings in GTK+ can be found in <link "
"xref=\"strings.py\"/>."
@@ -30253,17 +29924,6 @@ msgstr ""
#. (itstool) path: item/code
#: C/menubar.vala.page:106
#, no-wrap
-#| msgid ""
-#| "\n"
-#| "void new_cb (SimpleAction action, Variant? parameter) {\n"
-#| " print (\"You clicked \\\"New\\\"\\n\");\n"
-#| " //new MyWindow (this).show ();\n"
-#| "}\n"
-#| "\n"
-#| "void quit_cb (SimpleAction action, Variant? parameter) {\n"
-#| " print (\"You clicked \\\"Quit\\\"\\n\");\n"
-#| " //this.quit (); **Bug #674090**\n"
-#| "}"
msgid ""
"\n"
"void new_cb (SimpleAction action, Variant? parameter) {\n"
@@ -30358,106 +30018,6 @@ msgstr "Archivo de vala completo para este ejemplo"
#. (itstool) path: section/code
#: C/menubar.vala.page:157
#, no-wrap
-#| msgid ""
-#| "public class MyWindow : Gtk.ApplicationWindow {\n"
-#| "\n"
-#| "\t/* Callback functions for the window actions. */\n"
-#| "\tvoid copy_cb (SimpleAction action, Variant? parameter) {\n"
-#| "\t\tprint (\"\\\"Copy\\\" activated\\n\");\n"
-#| "\t}\n"
-#| "\n"
-#| "\tvoid paste_cb (SimpleAction action, Variant? parameter) {\n"
-#| "\t\tprint (\"\\\"Paste\\\" activated\\n\");\n"
-#| "\t}\n"
-#| "\n"
-#| "\tvoid shape_cb (SimpleAction action, Variant? parameter) {\n"
-#| "\t\tprint (\"shape is set to %s\\n\", parameter.get_string(null));\n"
-#| "\t\taction.set_state (parameter);\n"
-#| "\t}\n"
-#| "\n"
-#| "\t/* Create the window actions. */\n"
-#| "\tconst ActionEntry[] actions = {\n"
-#| "\t\t/*{ \"action name\", cb to connect to \"activate\" signal, parameter type,\n"
-#| "\t\t initial state, cb to connect to \"change-state\" signal } */\n"
-#| "\t\t{ \"copy\", copy_cb },\n"
-#| "\t\t{ \"paste\", paste_cb },\n"
-#| "\t\t{ \"shape\", shape_cb, \"s\", \"'line'\"}\n"
-#| "\t};\n"
-#| "\n"
-#| "\tinternal MyWindow (MyApplication app) {\n"
-#| "\t\tObject (application: app, title: \"MenuBar Example\");\n"
-#| "\t\tthis.set_default_size (200, 200);\n"
-#| "\n"
-#| "\t\t/* Setup window actions. */\n"
-#| "\t\tthis.add_action_entries (actions, this);\n"
-#| "\t}\n"
-#| "}\n"
-#| "\n"
-#| "class MyApplication: Gtk.Application {\n"
-#| "\tprotected override void activate () {\n"
-#| "\t\tnew MyWindow (this).show ();\n"
-#| "\t}\n"
-#| "\n"
-#| "\t/* Callback functions for the application actions. */\n"
-#| "\tvoid new_cb (SimpleAction action, Variant? parameter) {\n"
-#| "\t\t//new MyWindow (this).show ();\n"
-#| "\t\tprint (\"You clicked \\\"New\\\"\\n\");\n"
-#| "\t}\n"
-#| "\n"
-#| "\tvoid quit_cb (SimpleAction action, Variant? parameter) {\n"
-#| "\t\tprint (\"You clicked \\\"Quit\\\"\\n\");\n"
-#| "\t\t//this.quit (); **Bug #674090**\n"
-#| "\t}\n"
-#| "\n"
-#| "\tvoid awesome_cb (SimpleAction action, Variant? parameter) {\n"
-#| "\t\tvar active = action.get_state ().get_boolean ();\n"
-#| "\t\taction.set_state (new Variant.boolean (!active));\n"
-#| "\t\tif (active)\n"
-#| "\t\t\tprint (\"You unchecked \\\"Awesome\\\"\\n\");\n"
-#| "\t\telse\n"
-#| "\t\t\tprint (\"You checked \\\"Awesome\\\"\\n\");\n"
-#| "\t}\n"
-#| "\n"
-#| "\tvoid state_cb (SimpleAction action, Variant? parameter) {\n"
-#| "\t\tprint (\"state is set to %s\\n\", parameter.get_string(null));\n"
-#| "\t\taction.set_state (parameter);\n"
-#| "\t}\n"
-#| "\n"
-#| "\t/* Create the application actions. */\n"
-#| "\tconst ActionEntry[] actions = {\n"
-#| "\t\t{ \"new\", new_cb },\n"
-#| "\t\t{ \"quit\", quit_cb },\n"
-#| "\t\t{ \"awesome\", awesome_cb, null, \"false\" },\n"
-#| "\t\t{ \"state\", state_cb, \"s\", \"'off'\" }\n"
-#| "\t};\n"
-#| "\n"
-#| "\tprotected override void startup () {\n"
-#| "\t\tbase.startup ();\n"
-#| "\n"
-#| "\t\t/* Setup application actions. */\n"
-#| "\t\tthis.add_action_entries (actions, this);\n"
-#| "\n"
-#| "\t\t/* Setup menubar and app_menu. */\n"
-#| "\t\t/* Get the UI file. */\n"
-#| "\t\tvar builder = new Gtk.Builder ();\n"
-#| "\t\ttry {\n"
-#| "\t\t\tbuilder.add_from_file (\"menubar.ui\");\n"
-#| "\t\t} catch (Error e) {\n"
-#| "\t\t\terror (\"Unable to load file: %s\", e.message);\n"
-#| "\t\t}\n"
-#| "\n"
-#| "\t\t/* Get the menubar from the builder. */\n"
-#| "\t\tthis.menubar = builder.get_object (\"menubar\") as MenuModel;\n"
-#| "\n"
-#| "\t\t/* Get the app_menu from the builder. */\n"
-#| "\t\tthis.app_menu = builder.get_object (\"appmenu\") as MenuModel;\n"
-#| "\t}\n"
-#| "}\n"
-#| "\n"
-#| "/* main creates and runs the application. */\n"
-#| "public int main (string[] args) {\n"
-#| "\treturn new MyApplication ().run (args);\n"
-#| "}\n"
msgid ""
"public class MyWindow : Gtk.ApplicationWindow {\n"
"\n"
@@ -37174,14 +36734,6 @@ msgstr "Propiedades"
#. (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 such as a button or a label has the property <code>label</code> "
-#| "which contains the text of the widget. You can specify the name and value "
-#| "of any number of properties as keyword arguments when creating an "
-#| "instance of a widget: for example, to create a label with the text “Hello "
-#| "World”, an angle of 25 degrees, and aligned to the right, you can use:"
msgid ""
"<em>Properties</em> describe the configuration and state of widgets. Each "
"widget has its own particular set of properties. For example, a widget such "
@@ -46661,11 +46213,6 @@ msgstr ""
#. (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 or a method returns a string. Strings, or text, will always be "
-#| "represented as instances of <code>str</code> only."
msgid ""
"String encoding is more consistent in Python 3.x because PyGObject will "
"automatically encode/decode to/from UTF-8 if you pass a string to a method "
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]