Commit Graph

97 Commits

Author SHA1 Message Date
Uwe Stöhr
e8e36146cc languages: correct a comment 2013-01-12 15:26:45 +01:00
Juergen Spitzmueller
0fcd35565c arabi requires the language option to be passed to babel directly. Candidate for branch 2012-07-23 16:20:13 +02:00
Juergen Spitzmueller
7e7d1c7167 deactivate ~ in Basque, Estonian and Galician (bug #8265) 2012-07-18 17:30:00 +02:00
Jean-Marc Lasgouttes
ee8f3f89f6 Fix bug #2005: Lyx Inserted Graphics Scale Error
xkeyval fixes the incompatibility between graphicx.sty and babel/turkish.
2012-06-29 15:08:38 +02:00
Uwe Stöhr
5ec8f5a5b6 languages: also for trunk: add missing language codes, fixes bug #8183 2012-06-04 22:33:05 +02:00
Richard Heck
b93341e2fd Changes to lib/languages from Gunter. Kill spruious whitespace.
Now for branch.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38967 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-06 12:33:09 +00:00
Georg Baum
acd57ccaaf Fix language handling in tex2lyx:
- Add missing babel synonyms (taken from a standard TeXLive 2010 install).
  Some synonyms might still be missing (if they are defined not by babel
  itself, but additional packages). Adding these is now simple: Only
  known_languages and known_coded_languages need to be touched.
- Translate babel language name arguments of \foreignlanguage and
  \selectlanguage to LyX names.
- Translate second argument of \foreignlanguage to LyX.
- Cleanup mixed language names in the preamble parser: Now all checks are
  done with LyX names, not a mix of babel and LyX names. This sets correct
  quotes even if the language as given as an alias.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37188 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-12 21:04:39 +00:00
Jürgen Spitzmüller
d79902fe7d * languages: remove country code from farsi definition, since the aspell dictionary doesn't use it either (fix bug 7171).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36858 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-13 07:15:54 +00:00
Jürgen Spitzmüller
0ac943cf13 * languages: correct Norwegian Gui strings as advised by Ingar Pareliussen.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36440 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-23 10:52:59 +00:00
Jürgen Spitzmüller
1aa5a0d1f1 Introduce PolyglossiaName and PolyglossiaOpts.
Not yet functional.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36312 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-16 11:07:43 +00:00
Jürgen Spitzmüller
5b8598b48d * languages: add some comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36296 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-14 13:41:38 +00:00
Jürgen Spitzmüller
cc5dd37a2a Introduce a new Language option "AsBabelOptions" that specifies whether a language requires to be passed to babel itself (instead of globally to the class).
This allows us to remove some ugly hardcoding of languages in the source.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36292 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-14 10:35:35 +00:00
Jürgen Spitzmüller
12c7e7dde3 * add PreBabelPreamble to Language definition (fixes #4786).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36291 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-14 09:54:24 +00:00
Jürgen Spitzmüller
148f2d648c The languages file rewrite.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36285 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-13 17:25:03 +00:00
Uwe Stöhr
6c8c2ec2d3 revert r35565 as discussed in http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg162280.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35583 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-09 16:11:41 +00:00
Uwe Stöhr
bb56d02456 languages: fix #6932 as discussed in this thread: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg83171.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35565 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-06 00:00:24 +00:00
Jürgen Spitzmüller
cbb60f2aa9 * lib/languages: simplify polytonic Greek definition. Patch by G. Milde (bug #6456)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34099 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-09 09:15:55 +00:00
Uwe Stöhr
879ed8e2ed fileformat change:
- support for Turkmen

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34000 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-01 00:40:19 +00:00
Jürgen Spitzmüller
112a909fbe revert r33327.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33331 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-05 09:25:49 +00:00
Kornel Benko
2a69d4e4f8 Change, so that lyx_pot.py is extracting this string too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33327 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-04 19:40:51 +00:00
Jürgen Spitzmüller
4506ec88ab * Add support for aspell language varieties.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33085 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-18 17:02:05 +00:00
Jürgen Spitzmüller
95466fff15 * revert r32450 which broke polytonic Greek.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33055 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-16 09:52:42 +00:00
Jürgen Spitzmüller
28ce123a18 Simplify the definition of multi-accented polytonic Greek, patch by Günter Milde.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32450 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-10 08:26:22 +00:00
Uwe Stöhr
4beb1a5546 languages: fix spelling (can also go to branch)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31657 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-18 14:30:33 +00:00
Jürgen Spitzmüller
87b701a06b * attempt to fix polytonic Greek (with mutli-accents) [bug 5976].
* add extended Greek chars to unicodesymbols [bug 4997].

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30619 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-16 06:19:25 +00:00
Uwe Stöhr
776496cfd1 languages: fix http://bugzilla.lyx.org/show_bug.cgi?id=4736 hopefully now really
Jürgen OK for branch too?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28111 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-12 02:40:50 +00:00
Jürgen Spitzmüller
9b39fbf557 Add support for Swiss German (bug 5450). File format change.
Babel doesn't support this variant (yet), so we use ngerman. However, for spell checking and thesaurus, this makes
a difference.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27725 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-28 13:44:03 +00:00
Uwe Stöhr
286ff4cfe5 languages: use better English names for Indonesian and Malay.
With the prefix "bahasa" is how the languages are called officially, but not in English, see
http://en.wikipedia.org/wiki/Malay_language
http://en.wikipedia.org/wiki/Indonesian_language
(my fault)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26910 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-14 20:57:10 +00:00
Jürgen Spitzmüller
e54a7b585f * languages: more consistent naming.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26891 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-14 11:05:09 +00:00
Uwe Stöhr
d30e01fd08 Support for Mongolian, fileformat change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26848 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-11 23:52:31 +00:00
Uwe Stöhr
dfcd6fb7ea make Latvian documents compilable, fixes http://bugzilla.lyx.org/show_bug.cgi?id=5324
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26752 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 19:12:12 +00:00
Jürgen Spitzmüller
55a9aa7149 Back to CJK sanity II: re-introduce Japanese (CJK) [bug 4700]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25511 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-09 07:27:31 +00:00
Jürgen Spitzmüller
8afc1df32d * fix the fix of the polutonikogreek definition.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25360 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-23 13:29:56 +00:00
Jürgen Spitzmüller
f3e8515c92 * correct polutonikogreek definition.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25359 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-23 13:15:18 +00:00
Uwe Stöhr
e2e78fa20a - support for polytonic Greek, fileformat incremented to 338, fixes bug 4969, patch by me and Jürgen
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25356 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-22 23:21:46 +00:00
Uwe Stöhr
020ae08d55 languages: corrected command for Mexican - as result of a long discussion
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24439 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-22 01:38:47 +00:00
Uwe Stöhr
268846b7b7 languages: don't deactivate the decimal dot for Spanish as discussed in http://bugzilla.lyx.org/show_bug.cgi?id=4736 (in Mexican the dot is deactivated)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24349 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-19 13:56:50 +00:00
Uwe Stöhr
7fa7e2a9d9 languages: support for Mexican Spanish as discussed in http://bugzilla.lyx.org/show_bug.cgi?id=4736
fileformat change

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24288 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-16 00:25:08 +00:00
Uwe Stöhr
cab92e7c81 languages: we need also a dummy encoding for the dummy languages (e.g. for the pot files)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24188 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-09 01:28:41 +00:00
André Pönitz
d6cc538f51 adding two lines here saves some extra work in Languages.cpp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24124 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-05 12:22:56 +00:00
Uwe Stöhr
30663a8019 Fileformat change.
Provide only one Japanese language that is encoding independent, patch partly by Koji Yokata.
This fixes http://bugzilla.lyx.org/show_bug.cgi?id=4597

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24053 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-29 23:25:40 +00:00
Uwe Stöhr
c2e191b9dd languages: clarify the German language names as discussed in http://bugzilla.lyx.org/show_bug.cgi?id=4657
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23959 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-25 23:29:17 +00:00
Uwe Stöhr
90c14f8c12 support for Serbian with Latin letters
- fileformat change

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22143 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-13 23:29:56 +00:00
Uwe Stöhr
ea7fde325e languages: fix language code for Serbian (Montenegro split in 2006 from Serbia and Montenegro to a new independent state, thus CS is now invalid)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22094 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-11 23:27:15 +00:00
Uwe Stöhr
7a517b9461 languages: update a two comments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21978 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-05 22:07:19 +00:00
Uwe Stöhr
d21c9a2c07 support for the language Interlingua
- fileformat change

(Interlingua was the last missing language supported by babel)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21976 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-05 22:04:33 +00:00
Uwe Stöhr
fa37b1c4b1 support for the language Bahasa Malaysia
- fileformat change
- rename "Bahasa" to "Bahasa Indonesia"


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21974 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-05 21:42:57 +00:00
Uwe Stöhr
d9ee79c6ea languages: sort only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21942 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-04 00:02:47 +00:00
Uwe Stöhr
0ef6b7c5fe - remove Serbocroatian from the language list because this was a fake. Croatian was used under the hood but we already have Croatian separately.
- implement Serbian

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21786 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-25 22:39:04 +00:00
Uwe Stöhr
9608e4971b support for the languages Latin and North Sami
- fileformat change

(I wonder why support for them was removed (must be before LyX 1.3), because the old reLyX script listed them as supported)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21783 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-25 21:09:01 +00:00