[LyX master] languages: add missing language codes, fixes bug #8183

2012-06-03 Thread Uwe Stöhr
The branch, master, has been updated.

- Log -

commit b4aaa1b5bbc1ce9dcb0768c8748d74b64f42435f
Author: Uwe Stöhr uwesto...@lyx.org
Date:   Sun Jun 3 23:49:24 2012 +0200

languages: add missing language codes, fixes bug #8183

diff --git a/lib/languages b/lib/languages
index a809255..d800812 100644
--- a/lib/languages
+++ b/lib/languages
@@ -319,13 +319,14 @@ Language english
LangCode en_US
 End
 
-# Esperanto has no country code because it is an auxiliary language
+# Esperanto has no country code because it is an auxiliary language.
+# We therefore the name of its hunspell dictionary.
 Language esperanto
GuiName  Esperanto
BabelNameesperanto
PolyglossiaName  esperanto
Encoding iso8859-3
-   LangCode eo
+   LangCode eo_EO
 End
 
 Language estonian
@@ -338,14 +339,13 @@ End
 
 # the preamble definitions are only used due to bugs in the
 # arabi-package -- remove them if they become unnecessary!
-# The country code is omitted because of the aspell dic naming.
 Language farsi
GuiName  Farsi
BabelNamefarsi
PolyglossiaName  farsi
Encoding utf8
RTL  true
-   LangCode fa
+   LangCode fa_IR
PostBabelPreamble
\DeclareTextSymbol{\guillemotright}{LFE}{62}
\DeclareTextSymbol{\guillemotleft}{LFE}{60}
@@ -470,13 +470,14 @@ Language icelandic
LangCode is_IS
 End
 
-# Interlingua has no country code because it is an auxiliary language
+# Interlingua has no official country code because it is an auxiliary
+# language. We therefore the name of its hunspell dictionary.
 Language interlingua
GuiName  Interlingua
BabelNameinterlingua
PolyglossiaName  interlingua
Encoding iso8859-15
-   LangCode ia
+   LangCode ia_IA
 End
 
 Language irish
@@ -520,11 +521,10 @@ Language kazakh
LangCodekk_KZ
 End
 
-# there is no country code for Korean because ko_KR is the same as ko_KI
 Language korean
GuiName Korean
Encodingeuc-kr
-   LangCodeko
+   LangCodeko_KR
 End
 
 # Currently not supported (file format change!)
@@ -542,13 +542,14 @@ End
 #  LangCode lo
 # End
 
-# there is no country code for Latin because it is a dead language
+# There is no country code for Latin because it is a dead language.
+# We therefore the name of its hunspell dictionary.
 Language latin
GuiName  Latin
BabelNamelatin
PolyglossiaName  latin
Encoding iso8859-15
-   LangCode la
+   LangCode la_LA
 End
 
 # latvian must be loaded locally with babel options,

---

Summary of changes:
 lib/languages |   21 +++--
 1 files changed, 11 insertions(+), 10 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository


[LyX master] languages: add missing language codes, fixes bug #8183

2012-06-03 Thread Uwe Stöhr
The branch, master, has been updated.

- Log -

commit b4aaa1b5bbc1ce9dcb0768c8748d74b64f42435f
Author: Uwe Stöhr 
Date:   Sun Jun 3 23:49:24 2012 +0200

languages: add missing language codes, fixes bug #8183

diff --git a/lib/languages b/lib/languages
index a809255..d800812 100644
--- a/lib/languages
+++ b/lib/languages
@@ -319,13 +319,14 @@ Language english
LangCode en_US
 End
 
-# Esperanto has no country code because it is an auxiliary language
+# Esperanto has no country code because it is an auxiliary language.
+# We therefore the name of its hunspell dictionary.
 Language esperanto
GuiName  "Esperanto"
BabelNameesperanto
PolyglossiaName  esperanto
Encoding iso8859-3
-   LangCode eo
+   LangCode eo_EO
 End
 
 Language estonian
@@ -338,14 +339,13 @@ End
 
 # the preamble definitions are only used due to bugs in the
 # arabi-package -- remove them if they become unnecessary!
-# The country code is omitted because of the aspell dic naming.
 Language farsi
GuiName  "Farsi"
BabelNamefarsi
PolyglossiaName  farsi
Encoding utf8
RTL  true
-   LangCode fa
+   LangCode fa_IR
PostBabelPreamble
\DeclareTextSymbol{\guillemotright}{LFE}{62}
\DeclareTextSymbol{\guillemotleft}{LFE}{60}
@@ -470,13 +470,14 @@ Language icelandic
LangCode is_IS
 End
 
-# Interlingua has no country code because it is an auxiliary language
+# Interlingua has no official country code because it is an auxiliary
+# language. We therefore the name of its hunspell dictionary.
 Language interlingua
GuiName  "Interlingua"
BabelNameinterlingua
PolyglossiaName  interlingua
Encoding iso8859-15
-   LangCode ia
+   LangCode ia_IA
 End
 
 Language irish
@@ -520,11 +521,10 @@ Language kazakh
LangCodekk_KZ
 End
 
-# there is no country code for Korean because ko_KR is the same as ko_KI
 Language korean
GuiName "Korean"
Encodingeuc-kr
-   LangCodeko
+   LangCodeko_KR
 End
 
 # Currently not supported (file format change!)
@@ -542,13 +542,14 @@ End
 #  LangCode lo
 # End
 
-# there is no country code for Latin because it is a dead language
+# There is no country code for Latin because it is a dead language.
+# We therefore the name of its hunspell dictionary.
 Language latin
GuiName  "Latin"
BabelNamelatin
PolyglossiaName  latin
Encoding iso8859-15
-   LangCode la
+   LangCode la_LA
 End
 
 # latvian must be loaded locally with babel options,

---

Summary of changes:
 lib/languages |   21 +++--
 1 files changed, 11 insertions(+), 10 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository