speechd-discuss
[Top][All Lists]
Advanced

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

[PATCH] Refer to RFC 1766 instead of RFC 1776 for language tags


From: Mikkel Krautz
Subject: [PATCH] Refer to RFC 1766 instead of RFC 1776 for language tags
Date: Fri, 15 Jan 2016 23:42:07 +0100

Here's a small patch that fixes various documentation strings to refer
to RFC 1766 instead of RFC 1776.

Also available at
https://gist.github.com/mkrautz/e5967202bb1a3c8119c2

>From c8f20179436f2d61e1e84ab2b89968fbaae7016e Mon Sep 17 00:00:00 2001
From: Mikkel Krautz <address@hidden>
To: address@hidden
Date: Fri, 15 Jan 2016 23:37:46 +0100
Subject: [PATCH] Refer to RFC 1766, 'Tags for the Identification of
 Languages', instead of RFC 1776.

---
 doc/speech-dispatcher.texi       | 4 ++--
 src/api/python/speechd/client.py | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/speech-dispatcher.texi b/doc/speech-dispatcher.texi
index 88ca972..1677148 100755
--- a/doc/speech-dispatcher.texi
+++ b/doc/speech-dispatcher.texi
@@ -1827,7 +1827,7 @@ Sets the language that should be used for synthesis.

 @code{connection} is the SPDConnection* connection created by spd_open().

- at code{language} is the language code as defined in RFC 1776 (``cs'',
+ at code{language} is the language code as defined in RFC 1766 (``cs'',
 ``en'', ...).

 @end deffn
@@ -3146,7 +3146,7 @@ value that represents normal speech flow. So
-100 is the slowest (or lowest)
 and +100 is the fastest (or highest) speech.

 The language parameter is given as a null-terminated string containing
-the name of the language according to RFC 1776 (en, cs, fr, ...). If the
+the name of the language according to RFC 1766 (en, cs, fr, ...). If the
 requested language is not supported by this synthesizer, it's ok to abort
 and return 0, because that's an error in user settings.

diff --git a/src/api/python/speechd/client.py b/src/api/python/speechd/client.py
index e7a4699..4d8168f 100644
--- a/src/api/python/speechd/client.py
+++ b/src/api/python/speechd/client.py
@@ -859,7 +859,7 @@ class SSIPClient(object):
         """Switch to a particular language for further speech commands.

         Arguments:
-          language -- two letter language code according to RFC 1776 as string.
+          language -- two letter language code according to RFC 1766 as string.
           scope -- see the documentation of this class.

         """
-- 
2.5.0



reply via email to

[Prev in Thread] Current Thread [Next in Thread]