Commit Graph

22 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
c293be56bd Rename frontend qt4 to qt
In particular, the directory frontends/qt4 is renamed to frontends/qt.

Many configurations file have to be updated. All mentions of qt4 in
the source have been audited, and changed to qt if necessary.

The only part that has not been updated is the CMake build system.
2019-07-20 23:39:40 +02:00
Juergen Spitzmueller
683b3a05e2 Introducing table templates
The idea is simple: we insert a pre-formatted table (with a given border
style currently, but other attributes are possible as well) via file-insert
and scale it then to the requested size.

We need three sizes (1x1, 1x2 and 1x3) to generate all sizes properly (due
to border specifications).

Currently, these styles can only be accessed via lfun tabular-style-insert
and the Tabular Create dialog.

My plan is to add a buffer param to set a default style (#9901) which then
also is respected by the toolbar button and probably a layout tag to let
classes specify a default style (#8360).
2019-03-26 13:43:33 +01:00
Juergen Spitzmueller
ca024383e0 Fix problematic characters in example/template file names
For (, ) and & we use URL encoding now.
2019-03-22 11:10:49 +01:00
Juergen Spitzmueller
c8930f6342 Add examples/templates dialog entries to po files. 2019-03-19 09:08:44 +01:00
Pavel Sanda
0dbfa04c15 Typo in lib/layouttranslations makefile machinery. 2017-07-19 12:38:13 +02:00
Juergen Spitzmueller
52019917f4 Split external_templates to individual *.xtemplate files
This makes it easier to add new templates or change existing ones
in the user directory.

Fixes: #3983

The CMake changes should be double-checked.
2017-03-26 15:32:01 +02:00
Juergen Spitzmueller
bb04dcdd26 l7n 2017-01-09 09:50:34 +01:00
Juergen Spitzmueller
97aea7e5b1 Disentangle CiteEngines and Modules
These two are different beasts and thus should be handled differently.
2017-01-01 07:56:24 +01:00
Jean-Marc Lasgouttes
bd890842f5 Fix i18n.inc creation with some out of tree builds
Actually, POFILES already contains the relative path to the po files,
so that the old code was only working by chance when the source and
build directories were at same level.
2016-07-17 22:00:38 +02:00
Georg Baum
e18f86a041 Explain why po files are needed
lib/layouttranslations contains translations for all strings from layout files
that can appear in document output. These translations are read from .po files
by po/lyx_pot.py (using python polib), so up to date po files are needed.
2016-03-25 10:32:53 +01:00
Jean-Marc Lasgouttes
4174da8484 Do not keep the ancilliary *.pot files after they have been used 2013-09-09 11:41:28 +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
92363ce20d Use proper tabs instead of spaces 2012-09-10 22:59:21 +02:00
Jean-Marc Lasgouttes
a57a2d9acf Streamline a bit po/Rules-lyx
Make use of normal and automatic variables to avoid repetition. Things could be made shorter by using the %_l10n.pot pattern (GNU make extension).
2012-09-10 11:55:52 +02:00
Juergen Spitzmueller
ff36733b8b Really get GuiName from latexfonts into the po files 2012-08-16 19:36:16 +02:00
Juergen Spitzmueller
869b84aef9 Clean up LaTeX font handling (#4999)
The LaTeX font information are now centralized and outsourced. This removes a lot of hardcoding and duplication and makes it easier to support new LaTeX fonts.
2012-08-16 13:23:39 +02:00
Jean-Marc Lasgouttes
b45b51bc16 Package.cpp is not autogenerated anymore, there is no need to skip it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40282 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-25 22:55:02 +00:00
Julien Rioux
d637acdfda Use the python found by configure to build po files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39891 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-19 22:10:25 +00:00
Georg Baum
f0a669014f Exclude generated files from .po string extraction.
Now it is no longer needed to use a tree that was never used for building
for remerging .po files.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38585 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-04 18:51:15 +00:00
Georg Baum
55ef7b50b5 First version of separate translation machinery for strings that go into
exported documents.
To update the translations from the .po files, run
make ../lib/layouttranslations
from po.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38016 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-23 19:17:15 +00:00
Jürgen Spitzmüller
dcc4d58b66 *** Implement GUI names for encodings (part of bug 4971) ***
* lib/encodings:
	- add new column "GUI names"

* src/Encoding.{cpp,h}:
	- read in and handle GUI names

* src/frontends/qt4/GuiDocument.cpp:
	- display GUI names instead of LaTeX names

* po/lyx_pot.py:
* po/Rules-lyx:
* development/scons/SConstruct:
	- add encoding GUI names to the po files.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25558 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-11 08:56:17 +00:00
Jean-Marc Lasgouttes
3b99db73e4 Remove our in tree gettext version and replace with a mechanism to import it.
* autogen.sh: use autopoint to poulate the gettext code; simplify.

	* po/Rules-lyx: move the LyX-specific code of the Makefile here.

	* configure.ac: add magic incantation telling autopoint to import 
	gettext 0.16.1. Generate config.h in toplevel directory to please 
	gettext.

	* src/tex2lyx/Makefile.am:
	* src/client/Messages.cpp: compile fix

	* remove all files that came from a gettext distribution.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25167 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 15:25:55 +00:00