Commit Graph

32514 Commits

Author SHA1 Message Date
Vincent van Ravesteijn
daed22c4d6 Fix language code for Traditional Chinese 2013-06-02 15:32:36 +02:00
Vincent van Ravesteijn
129d43c5c9 Correctly find the gmo files in build dir
The path to the lyx binary is either <build_dir>/bin (CMake) or
<build_dir>/src (autotools). This means the po directory can be found one
directory up.
2013-06-02 15:32:35 +02:00
Vincent van Ravesteijn
90610dbc0d CMake: Make sure the first po file is also processed 2013-06-02 15:32:33 +02:00
Uwe Stöhr
6314c7294d modernCV.lyx: don't require the latest modernCV version to compile 2013-06-02 14:31:33 +02:00
Uwe Stöhr
c4c44a1877 Math.lyx: fix potential whitespace issue in preamble
- the same as in the thesis template
2013-06-02 14:20:26 +02:00
Juergen Spitzmueller
45f6c06956 beamerposter example: document the use of multiple columns within a block 2013-06-02 13:21:34 +02:00
Juergen Spitzmueller
c9ea13ee99 Bump RC format for commit 8f287f5ffa 2013-06-02 12:06:01 +02:00
Kornel Benko
22d52f5f08 cmake: Use provided gmo-files if platform lacks python or gettext tools.
Running lyx from the build-directory now searches for the gmo-files
first in the build dir and then in source dir
2013-06-02 11:38:27 +02:00
Kornel Benko
c3796d8b88 Added .gmo-files to sources 2013-06-02 11:34:15 +02:00
Scott Kostyshak
9fd950c3f2 Thesis template: fix whitespace issue in preambles 2013-06-02 02:15:28 -04:00
Uwe Stöhr
2ca45745ce de.po: correct a string 2013-06-02 05:07:59 +02:00
Uwe Stöhr
b6a5c9163b Customization.lyx: first step of merging/updating 2013-06-02 05:07:10 +02:00
Richard Heck
4106fe37ac Use counter for new chunk insets, and set it to 2 in knitr and
sweave modules.
2013-06-01 17:42:36 -04:00
Richard Heck
2374229cc6 Introduce InitialValue tag for counters. Fixes bug #8707. 2013-06-01 17:42:08 -04:00
Uwe Stöhr
a853132e12 Additional.lyx: update description for multiple columns (step 2/2) 2013-06-01 18:16:01 +02:00
Uwe Stöhr
58c8ec817d Additional.lyx: update description for multiple columns 2013-06-01 17:58:30 +02:00
Uwe Stöhr
96919bcaa0 de.po: fix an entry 2013-06-01 17:58:02 +02:00
Kornel Benko
5c8a4a52a2 * sk.po 2013-06-01 17:20:47 +02:00
Juergen Spitzmueller
8f287f5ffa Implement option to set a global default output format for dics with non-tex fonts (#8706) 2013-06-01 16:58:34 +02:00
Uwe Stöhr
a0798ff37a chkconfig.ltx: makecmds is required by any usage of polyglossia 2013-06-01 15:47:37 +02:00
Juergen Spitzmueller
f2067a7924 Add a beamerposter example file 2013-06-01 12:50:17 +02:00
Juergen Spitzmueller
0972b15ee2 Typo. 2013-06-01 10:26:03 +02:00
Kornel Benko
823ed6cf17 Remove ugly multiple definition hack (Georg)
Enable APPLE again for test_layouts (Missed in commit ...48d3518d6d)
2013-06-01 09:42:36 +02:00
Stephan Witt
f3e01a87dd no need to deploy gettext library anymore 2013-05-31 22:27:59 +02:00
Georg Baum
12554c93d8 Remove ugly multiple definition hack
Since 00387b2a38 it is possible to construct a dummy Messages object
which does not translate at all. With the old gettext implementation, a
Messages object without a defined language would have used a language from
an environment variable. Therefore, the duplicate definition of _() is no
longer needed. This gettext removal was really a good idea!
2013-05-31 22:07:14 +02:00
Jean-Marc Lasgouttes
b14b86cfd1 Another missing m4 file 2013-05-31 18:49:11 +02:00
Jean-Marc Lasgouttes
3a8c460d4a Re-add m4 support file that is needed for po/ directory 2013-05-31 18:32:55 +02:00
Juergen Spitzmueller
83d0b3bd1a Re-introduce linebreak after caption, as in LyX 1.6 (#8514) 2013-05-31 16:20:00 +02:00
Uwe Stöhr
26910d5ec4 Merge branch 'master' of git.lyx.org:lyx 2013-05-31 14:32:05 +02:00
Uwe Stöhr
40a7c113de Spanish UserGuide: translations from Ignacio
- and a typo in the English version spotted by Ignacio
2013-05-31 14:31:48 +02:00
Juergen Spitzmueller
1e42af6c44 Windows compilation fix 2013-05-31 14:27:39 +02:00
Jean-Marc Lasgouttes
00387b2a38 Fix crash at startup for tex2ylx and lyxclient
This is done by handling explicitly a dummy Message object, where no parsing of mo file is attempted. This avoids in turn that the lyxerr object is used during initialization of a global dummy Message object.
2013-05-31 11:59:52 +02:00
Jean-Marc Lasgouttes
3a985a228c tex2lyx does not use LYXERR, but basic cerr stream 2013-05-31 11:38:41 +02:00
Kornel Benko
354f76ef67 * sk.po 2013-05-31 11:36:50 +02:00
Juergen Spitzmueller
e1b51724d2 de.po 2013-05-31 11:08:12 +02:00
Juergen Spitzmueller
a2b34f66ea revert unintended commit 2013-05-31 11:07:48 +02:00
Juergen Spitzmueller
49665c9b68 Correctly categorize new layouts 2013-05-31 11:00:39 +02:00
Juergen Spitzmueller
2c1679e958 Small UI polishment 2013-05-31 10:45:21 +02:00
Scott Kostyshak
3a8da38944 sciword.bind update (fix #8364)
- added bindings for 'math-delim' as a workaround
    for US keyboards with Windows
- added bindings for 'word-left' and 'word-right'
- added two more sets of bindings for 'math-subscript'
    and 'math-superscript'
- corrected some greek letter bindings
- insert is bound to 'math-mode'
- changed 'screen-recenter' binding to C-j
- added various other bindings

Thanks to Michael Stepner for many of the fixes and testing.
2013-05-31 03:16:17 -04:00
Stephan Witt
3f59d7e2cc add toFilesystemEncoding for --binary-dir argument 2013-05-31 09:00:28 +02:00
Uwe Stöhr
4db3e641ed installer: further preparation 2013-05-31 04:33:25 +02:00
Uwe Stöhr
fd6151e394 installer: prepare for a LyX 2.1beta release 2013-05-31 04:27:08 +02:00
Uwe Stöhr
bf7af9fd07 Package.cpp: correctly quote configure call
- fixes bug #8711
2013-05-31 04:23:40 +02:00
Uwe Stöhr
2f38fe8649 csv2lyx.py: update for fileformat 413 (LyX 2.0.x) 2013-05-31 02:02:28 +02:00
Uwe Stöhr
683a4d20bd Development.lyx: some format fixes
- fix line breaks and a some  microtypography tuning
2013-05-30 23:20:09 +02:00
Jean-Marc Lasgouttes
c372f7ad23 Really update the files that create/install .mo files
Update po.m4 and the makefile machinery in po/ to use code from gettext 0.18.2.
2013-05-30 22:10:02 +02:00
Jean-Marc Lasgouttes
149b574b07 Read the right .gmo files when running in place
With gettext, we have been forced to install .mo files at the right place in order to read them. Now that we have our code, the situation changes.

* Add new method Package::messages_file(code), when returns the right path, depending on whether we are running in place.
* In Messages class use that intead of the existing one.
2013-05-30 22:10:01 +02:00
Vincent van Ravesteijn
a3c864102a CMake: Remove libintl 2013-05-30 22:10:01 +02:00
Jean-Marc Lasgouttes
d7e2705228 Get rid of all traces of libintl.
This requires to re-add some tests in configure.ac.

Note that the code to generate a Makefile in po/ has been kept.
2013-05-30 22:10:01 +02:00
Jean-Marc Lasgouttes
19024f7255 Implement native reading of mo files.
Get the default language by a mix of QLocale and LyXRC::gui_language

Known limitations:
   * encoding is supposed to be UTF-8 (the charset parameter is checked);
   * context is not handled (implemented differently in LyX);
   * plural forms not implemented (not used for now in LyX);.
   * tThe byte endianness of the machine on which the .mo file have been
     built is expected to be the same as the one of the machine where this
     code is run.
2013-05-30 22:10:01 +02:00