[gtksourceview] Doc: singular language section names
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] Doc: singular language section names
- Date: Wed, 5 Feb 2014 19:09:59 +0000 (UTC)
commit a9293ef206c482c29b26a9acd29db08d4c9504ae
Author: Sébastien Wilmet <swilmet gnome org>
Date: Wed Feb 5 20:07:38 2014 +0100
Doc: singular language section names
https://bugzilla.gnome.org/show_bug.cgi?id=620700
docs/reference/lang-reference.xml | 2 +-
docs/reference/lang-tutorial.xml | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/docs/reference/lang-reference.xml b/docs/reference/lang-reference.xml
index 4692957..50c02f9 100644
--- a/docs/reference/lang-reference.xml
+++ b/docs/reference/lang-reference.xml
@@ -131,7 +131,7 @@ The version of the XML format (currently "2.0").
The translatable category in which the language has to be grouped when
presented to the user. It can be marked for translation putting
an underscore before the attribute name. Currently used categories in
-GtkSourceView are "Sources", "Scripts", "Markup" and "Others", but
+GtkSourceView are "Source", "Script", "Markup" and "Other", but
it is possible to use arbitrary categories (while usually discouraged).
</para></listitem>
</varlistentry>
diff --git a/docs/reference/lang-tutorial.xml b/docs/reference/lang-tutorial.xml
index 1695b6b..0631b21 100644
--- a/docs/reference/lang-tutorial.xml
+++ b/docs/reference/lang-tutorial.xml
@@ -48,7 +48,7 @@ After the usual preamble, the main tag is the <code><language></code> elem
</para>
<programlisting>
-<language id="c" _name="C" version="2.0" _section="Sources">
+<language id="c" _name="C" version="2.0" _section="Source">
</programlisting>
<para>
@@ -61,8 +61,8 @@ the name presented to the user (it is translatable using gettext prepending a
<para>
The attribute <code>section</code>, also translatable, tells the category where
this language should be grouped when it is presented to the user. Currently
-available categories in GtkSourceView are "Sources", "Scripts", "Markup",
-"Scientific" and "Others".
+available categories in GtkSourceView are "Source", "Script", "Markup",
+"Scientific" and "Other".
</para>
<para>
@@ -599,7 +599,7 @@ for this tutorial:
<programlisting>
<?xml version="1.0" encoding="UTF-8"?>
-<language id="c" _name="C" version="2.0" _section="Sources">
+<language id="c" _name="C" version="2.0" _section="Source">
<metadata>
<property name="mimetypes">text/x-c;text/x-csrc</property>
<property name="globs">*.c</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]