Juergen Spitzmueller
c246076ed5
Fix the 'caption inset mess' (bug #4647 )
2012-12-30 18:29:02 +01:00
Kornel Benko
c5ef7cfcc4
Do not insert trailing blaks to translatable string
...
while generating .pot files.
2012-12-20 15:02:01 +01:00
Juergen Spitzmueller
25ef8e7eef
Allow to separate menu string from label string for arguments
2012-12-09 19:15:41 +01:00
Juergen Spitzmueller
29d48665fa
i18n for argument strings
2012-11-23 14:50:52 +01:00
Juergen Spitzmueller
195df5765f
Make textclass categories and descriptions translatable
2012-10-09 07:25:35 +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
Georg Baum
a2e8cb758b
Translations for listings insets
...
The listings inset and include inset of type listings use two english terms
that are not localized yet: "Listing" for the caption and "Listings" for the
list of listings (not supported natively by LyX yet). The existing layout
translation mechanism has been extended to translate these terms as well:
1) Support [[stuff]] context in lib/layouttranslations
2) Support BabelPreamble and LangPreamble in InsetLayout
3) Use a InsetLayout for InsetInclude of type listings
4) Define BabelPreamble and LangPreamble in the layouts for InsetInclude
and InsetListings
2012-04-10 20:21:01 +02:00
Georg Baum
2b58df827b
Make .po string extraction more robust:
...
- Do not parse case insensitive tags case sensitive
- Reintroduce missing translations that were accidentally lost with the
introduction of the I18nPreamble and EndI18nPreamble tags
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38584 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-04 18:21:15 +00:00
Georg Baum
910a517f69
Remove unneeded layout translations as hinted on the users list.
...
The standard babel names are used instead of these translations.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38296 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-06 20:57:46 +00:00
Pavel Sanda
8fc7939eb8
* lyx_pot.py
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38284 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-06 11:15:53 +00:00
Georg Baum
e396d2a032
Warn if old file is not found
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38164 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-30 18:21:52 +00:00
Georg Baum
cc06353ebc
Kepp all keys in lib/layouttranslations to ease translation work
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38163 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-30 17:39:38 +00:00
Pavel Sanda
ec7f123948
Add comment
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38125 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-29 11:33:02 +00:00
Georg Baum
b6262f5865
1) Keep manual translations in lib/layouttranslations
...
2) Fix ia translations (for some reason it was a copy of it)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38031 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-24 21:21:12 +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
Georg Baum
013b2c5be0
small preparation for the layout translation fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37985 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-21 19:11:53 +00:00
Enrico Forestieri
b5c25fe3b2
When collecting strings from ui-files, transform the html entity '"'
...
to '"' for the sake of gettext tools, which are html-agnostic.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37029 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-29 02:00:27 +00:00
Enrico Forestieri
432e32cd3a
lyx_pot.py cannot deal with raw newlines in ui files. So, use the
...
html entity "
" and then transform it to "\n".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37026 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-28 23:29:51 +00:00
Pavel Sanda
7e2d396770
Kill Flex:constructs in po files.
...
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg163696.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36461 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-24 23:53:41 +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
Richard Heck
d4634167cc
Get rid of "CharStyle:", "Custom:", and "Element:" prefixes, per a
...
suggestion of JMarc's. Docs to follow.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35608 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-12 14:46:17 +00:00
Richard Heck
808ff6650c
Introduce a simple macro facility for citation formats. Also introduce
...
simple, translatable units for use in such formats.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33924 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 20:01:28 +00:00
Kornel Benko
0f3c445dd4
Extracting also strings containing dash from languages-file
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33334 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-05 14:49:58 +00:00
Richard Heck
498478a2bd
Ignore quotes in lyx_pot.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33117 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 20:52:03 +00:00
Richard Heck
c2ac70552c
Introduce a "formatted counter" for use with formatted reference during
...
XHTML output.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33113 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 20:33:36 +00:00
Jürgen Spitzmüller
d103ab6cf9
* lyx_pot.py:
...
- make IconPalette tooltips translatable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32026 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 17:27:21 +00:00
Richard Heck
05e00b9341
Translate categories.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31035 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-14 15:35:05 +00:00
Kornel Benko
aea6be38bb
Added new parameter, to handle otherwise owerflow
...
of the windows command line length.
Patch by José Abílio Matos.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29640 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-12 09:19:13 +00:00
Georg Baum
9aad4bc27f
Better fix for bug 1476 (following an idea by Jean-Marc).
...
Don't go into an endless loop if layout2layout cannot produce the desired file format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28529 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-17 20:25:56 +00:00
Uwe Stöhr
10d742cfe3
- de.po: translation updates for trunk
...
- po-files: remerged
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28307 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-01 18:32:38 +00:00
Jürgen Spitzmüller
0e1f67f8ea
* lyx_pot.py:
...
- allow comma in language name (bug 5459).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27300 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 23:44:40 +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
Jürgen Spitzmüller
93ab5a427d
* src/frontends/qt4/Menus.cpp:
...
* po/lyx_pot.py:
- make flex insets in the menus translatable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25276 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-16 15:19:31 +00:00
Jürgen Spitzmüller
21bd7671ec
*** fix bug 2488 (make dynamic formats in menus translatable) ***
...
* po/lyx_pot.py:
- new method formats_l10n that parses configure.py for file formats and shortcuts
* po/Makefile.in.in:
* development/scons/SConstruct:
- call formats_l10n on po update
* src/frontends/qt4/Menus.cpp:
- handle translated formats
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24833 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-19 09:33:53 +00:00
Jürgen Spitzmüller
63f67b0116
* po/lyx_pot.py (qt4_l10n):
...
- escape backslashes in ui strings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24599 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-04 08:55:05 +00:00
Jürgen Spitzmüller
ff0e3cd8b2
* fix translation of module descriptions that have a backslash (bug 4799).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24517 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-27 09:27:50 +00:00
José Matox
72b1ddc3af
Update translations for 1.6.0 (alpha 2)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24264 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-15 14:49:37 +00:00
Jürgen Spitzmüller
7c5f52bc20
* po/lyx_pot.py:
...
- flag Category names for translation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24231 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-11 10:39:00 +00:00
Bo Peng
2ba95426cc
change indentation from 2 to 4 in lyx_pot.py
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22582 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-15 04:13:14 +00:00
Richard Heck
f03329a19c
I18n for modules. This would seem to complete the module implementation. Test away.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22558 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 21:44:06 +00:00
Jürgen Spitzmüller
91c6d03678
Fix bug 2520: Make InsetExternal translateable
...
* po/lyx_pot.py:
- new function external_l10n: parse external_templates and extract the relevant parts for translation.
* development/scons/SConstruct:
* po/Makefile.in.in:
- use external_l10n
* src/insets/InsetExternal.cpp:
* src/frontends/qt4/QExternal.cpp:
- make eveything translatable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18866 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-23 07:50:13 +00:00
Bo Peng
46b898cf3b
handle TableInsert in lyx_pot.py
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18597 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-31 14:56:07 +00:00
Bo Peng
4ec7b36ab7
Fix lyx_pot.py (handling of lib/language went terribly wrong)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18410 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-18 18:39:31 +00:00
Bo Peng
d544eef7c3
po/lyx_po.py: fix handling of certain langauges lines
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18291 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-13 19:38:12 +00:00
Bo Peng
ee9782c624
po/lyx_pot.py: handles PopupMenu in lib/ui/* ("Math Spacing" etc are translated now)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17912 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-22 21:27:28 +00:00
Michael Schmitt
516b4d9887
* po/lyx_pot.py: do not replace \\ by \\\\
...
this fixes the math panel toolbar problems
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17905 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-22 09:26:14 +00:00
Michael Schmitt
d738448c2d
po/lyx_pot.py: relativePath(): replace all \ by / such that we get the
...
same comments on Windows and *nix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17820 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-15 16:05:23 +00:00
Bo Peng
c79381b9aa
Tidy up po/lyx_pot.py, I did not 'svn add' the latest version of the script
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17527 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-23 15:21:45 +00:00
Bo Peng
1ed357093d
po/Makefile.in.in, replace awk scripts with the Python version
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17512 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-22 20:12:54 +00:00
Bo Peng
5e94f81cbf
Scons: update_po target, move processing functions to po/lyx_pot.py
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17509 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-22 15:39:44 +00:00