[gnome-devel-docs] Fixed typos in strings



commit 24cf1c6dce4ee1a07264de9060699f9f1aa9f73b
Author: Daniel Mustieles <daniel mustieles gmail com>
Date:   Sun Oct 14 12:10:18 2012 +0200

    Fixed typos in strings

 platform-demos/C/02_welcome_to_the_grid.js.page |    6 +++---
 platform-demos/C/combobox.js.page               |    6 +++---
 platform-demos/C/messagedialog.js.page          |    2 +-
 platform-demos/C/radiobutton.js.page            |    2 +-
 platform-demos/C/spinbutton.js.page             |    4 ++--
 5 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/platform-demos/C/02_welcome_to_the_grid.js.page b/platform-demos/C/02_welcome_to_the_grid.js.page
index 09f0958..76a54d7 100644
--- a/platform-demos/C/02_welcome_to_the_grid.js.page
+++ b/platform-demos/C/02_welcome_to_the_grid.js.page
@@ -99,7 +99,7 @@ const WelcomeToTheGrid = new Lang.Class({
         this._image = new Gtk.Image ({ file: "gnome-image.png" });
 ]]></code>
 
-    <p>You can download the image file used in this example <link href="https://live.gnome.org/TarynFox?action=AttachFile&amp;do=get&amp;target=gnome-image.png";>here.</link> Be sure to put it in the same directory as the code you're writing.</p>
+    <p>You can download the image file used in this example <link href="https://live.gnome.org/TarynFox?action=AttachFile&amp;do=get&amp;target=gnome-image.png";>here</link>. Be sure to put it in the same directory as the code you're writing.</p>
 
     <code mime="application/javascript"><![CDATA[
         // Create a label
@@ -247,7 +247,7 @@ app.application.run (ARGV);
     <p>That gives us this, when we run it:</p>
     <media type="image" mime="image/png" src="media/02_jsgrid_08.png"/>
 
-    <p>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="http://developer.gnome.org/gtk/2.24/gtk-Stock-Items.html#GTK-STOCK-ABOUT:CAPS";>GNOME's developer documentation.</link> It was written for C programmers, but you don't need to know C to use it; just look at the part in quotation marks, like "gtk-about", and copy that part to use the icon next to it.</p>
+    <p>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="http://developer.gnome.org/gtk/2.24/gtk-Stock-Items.html#GTK-STOCK-ABOUT:CAPS";>GNOME's developer documentation</link>. It was written for C programmers, but you don't need to know C to use it; just look at the part in quotation marks, like "gtk-about", and copy that part to use the icon next to it.</p>
     <note style="tip"><p>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 translated into another language. In fact, if it <em>were</em> translated it'd break the icon, because its name is still "gtk-about" no matter which language you speak.</p></note>
   </section>
 
@@ -266,7 +266,7 @@ app.application.run (ARGV);
         this._grid.attach (this._button, 1, 1, 1, 1);
 ]]></code>
 
-    <p>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 doesn't do anything. How do we make our Button do something? That's what we'll find out, in <link xref="getting_the_signal.js">our next tutorial.</link></p>
+    <p>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 doesn't do anything. How do we make our Button do something? That's what we'll find out, in <link xref="getting_the_signal.js">our next tutorial</link>.</p>
     <p>If you like, feel free to spend some time experimenting with Grids, Labels, and Images, including stock images.</p>
     <note style="tip"><p>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 them easily. Take a look at the <link xref="radiobutton.js">RadioButton</link> code sample if you'd like to see how this is done.</p></note>
   </section>
diff --git a/platform-demos/C/combobox.js.page b/platform-demos/C/combobox.js.page
index a90136b..41baa21 100644
--- a/platform-demos/C/combobox.js.page
+++ b/platform-demos/C/combobox.js.page
@@ -25,7 +25,7 @@
   <media type="image" mime="image/png" src="media/combobox_multicolumn.png"/>
   <p>A ComboBox is an extremely customizable drop-down menu. It holds the equivalent of a <link xref="treeview_simple_liststore.js">TreeView</link> widget that appears when you click on it, complete with a ListStore (basically a spreadsheet) that says what's in the rows and columns. In this example, our ListStore has the name of each option in one column, and the name of a stock icon in the other, which the ComboBox then turns into an icon for each option.</p>
   <p>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 click on.</p>
-  <note style="tip"><p>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">ComboBoxText.</link> It doesn't take as much time to set up, and is easier to work with.</p></note>
+  <note style="tip"><p>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">ComboBoxText</link>. It doesn't take as much time to set up, and is easier to work with.</p></note>
     <links type="section" />
 
   <section id="imports">
@@ -91,7 +91,7 @@ const ComboBoxExample = new Lang.Class ({
             GObject.TYPE_STRING,
             GObject.TYPE_STRING]);
 ]]></code>
-    <p>This ListStore works like the one used in the <link xref="treeview_simple_liststore.js">TreeView</link> example. We're giving it two columns, both strings, because one of them will contain the names of <link href="http://developer.gnome.org/gtk/2.24/gtk-Stock-Items.html#GTK-STOCK-ABOUT:CAPS";>stock Gtk icons.</link></p>
+    <p>This ListStore works like the one used in the <link xref="treeview_simple_liststore.js">TreeView</link> example. We're giving it two columns, both strings, because one of them will contain the names of <link href="http://developer.gnome.org/gtk/2.24/gtk-Stock-Items.html#GTK-STOCK-ABOUT:CAPS";>stock Gtk icons</link>.</p>
     <p>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 are a few other types you can use:</p>
     <list>
       <item><p><file>GObject.TYPE_BOOLEAN</file> -- True or false</p></item>
@@ -141,7 +141,7 @@ const ComboBoxExample = new Lang.Class ({
         this._comboBox.add_attribute (rendererText, "text", 0);
         this._comboBox.add_attribute (rendererPixbuf, "stock_id", 1);
 ]]></code>
-    <p>This part, again, works much like creating CellRenderers and packing them into the columns of a <link xref="treeview_simple_liststore.js">TreeView.</link> The biggest difference is that we don't need to create the ComboBox's columns as separate objects. We just pack the CellRenderers into it in the order we want them to show up, then tell them to pull information from the ListStore (and what type of information we want them to expect).</p>
+    <p>This part, again, works much like creating CellRenderers and packing them into the columns of a <link xref="treeview_simple_liststore.js">TreeView</link>. The biggest difference is that we don't need to create the ComboBox's columns as separate objects. We just pack the CellRenderers into it in the order we want them to show up, then tell them to pull information from the ListStore (and what type of information we want them to expect).</p>
     <p>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 when we display them we need a CellRenderer that's designed for pictures.</p>
     <note style="tip"><p>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 do things like have the columns in one order in the ListStore, and then pack the CellRenderers that correspond to those columns into the ComboBox in a different order. We can even create a TreeView or other widget that shows the information in the ListStore in a different way, without it affecting our ComboBox.</p></note>
 
diff --git a/platform-demos/C/messagedialog.js.page b/platform-demos/C/messagedialog.js.page
index 43652e7..602016f 100644
--- a/platform-demos/C/messagedialog.js.page
+++ b/platform-demos/C/messagedialog.js.page
@@ -88,7 +88,7 @@ const MessageDialogExample = new Lang.Class ({
             label: "This application goes boom! (Not really.)"});
         this._window.add (this.warningLabel);
 ]]></code>
-    <p>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></p>
+    <p>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>.</p>
   </section>
 
   <section id="menu">
diff --git a/platform-demos/C/radiobutton.js.page b/platform-demos/C/radiobutton.js.page
index 91e88e3..aa20304 100644
--- a/platform-demos/C/radiobutton.js.page
+++ b/platform-demos/C/radiobutton.js.page
@@ -127,7 +127,7 @@ const RadioButtonExample = new Lang.Class({
         this._okButton.connect ('clicked', Lang.bind (this, this._okClicked));
 ]]></code>
     <p>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, depending on which RadioButtons were selected.</p>
-    <p>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="http://developer.gnome.org/gtk/2.24/gtk-Stock-Items.html";>stock button types.</link></p>
+    <p>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="http://developer.gnome.org/gtk/2.24/gtk-Stock-Items.html";>stock button types</link>.</p>
 
     <code mime="application/javascript"><![CDATA[
         // Create a grid to put the "place" items in
diff --git a/platform-demos/C/spinbutton.js.page b/platform-demos/C/spinbutton.js.page
index f612793..dbab644 100644
--- a/platform-demos/C/spinbutton.js.page
+++ b/platform-demos/C/spinbutton.js.page
@@ -22,7 +22,7 @@
 
   <title>SpinButton</title>
   <media type="image" mime="image/png" src="media/spinbuttonkittens.png"/>
-  <p>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 minus buttons to let you change the value without having to type anything in.</p>
+  <p>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 minus buttons to let you change the value without having to type anything in.</p>
   <p>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 number of cans of tuna to give them.</p>
     <links type="section" />
 
@@ -108,7 +108,7 @@ const SpinButtonExample = new Lang.Class({
         // this._tuna.set_wrap (true);
 ]]></code>
 
-    <p>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 object called an <link href="http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.Adjustment.html";>Adjustment.</link> Then you can use that object as a new SpinButton's adjustment property, and it sets all the values at once. Afterwards, you can change all the SpinButtons which use that adjustment by changing the Adjustment object's properties.</p>
+    <p>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 object called an <link href="http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.Adjustment.html";>Adjustment</link>. Then you can use that object as a new SpinButton's adjustment property, and it sets all the values at once. Afterwards, you can change all the SpinButtons which use that adjustment by changing the Adjustment object's properties.</p>
     <p>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 point, for example, or tell it to wrap the number around if it goes past the upper or lower bounds that you set.</p>
     <note><p>For the kitties' sake, please don't use set_digits to allow a decimal number of kittens.</p></note>
   </section>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]