Commit Graph

2751 Commits

Author SHA1 Message Date
Kornel Benko
9c3ddbf7a0 Typo 2016-07-27 07:58:56 +02:00
Kornel Benko
cbd4e332f7 Cmake build: Make missing polib less destructive.
Configure still whines, but proceeds succesfull.
Only the target 'layouttranslations1' will fail.
2016-07-27 07:34:50 +02:00
Kornel Benko
fa85bf9b59 Cmake build: Added check for pythons polib module
Idea stolen from http://public.kitware.com/pipermail/cmake/2011-January/041666.html
2016-07-24 11:20:08 +02:00
Kornel Benko
6743c6fa87 Add comment + factor out the error checking 2016-07-24 09:30:14 +02:00
Kornel Benko
40597c3be9 Cmake build: Make sure that a sequence of commands to recreate layouttranslations failes
Factored out the sequence into one cmake-script.
Previously it could happen that the python script failed, but the following
command was successfull and so the error was hidden.
2016-07-23 20:30:45 +02:00
Richard Heck
7575ad159b Revert "Do not crash is release mode if we stumble across an unrealized font."
This reverts commit c560e6b3a6.

I did not mean to comit the changes to the gmo files.
2016-07-18 12:59:32 -04:00
Richard Heck
c560e6b3a6 Do not crash is release mode if we stumble across an unrealized font. 2016-07-18 12:56:20 -04: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
Uwe Stöhr
e1f962d99d de.po: some translations 2016-07-15 02:55:45 +02:00
Enrico Forestieri
26ccf0d03e Update it.po 2016-07-12 18:54:58 +02:00
Kornel Benko
878acff757 Update sk.po 2016-07-10 22:16:49 +02:00
Uwe Stöhr
d9348b8389 ia.po: updates from Giovanni 2016-06-24 02:17:50 +02:00
Kornel Benko
f5625ca70f Update sk.po 2016-06-21 22:39:28 +02:00
Richard Heck
ff4005de68 Whitespace. 2016-06-15 00:23:53 +01:00
Georg Baum
960bcc71c1 Get rid of pseudo diffs when remerging strings
cmake sorts the input files for lyx_pot.py internally, but autotools use a
shell pattern like *.ui on the command line, so the order may be different
on different machines. It is more robust not to require any sorting from the
caller, so lyx_pot.py sorts now internally.
2016-06-04 17:33:19 +02:00
Kornel Benko
73f33d67d7 Update sk.po 2016-06-03 21:41:38 +02:00
Georg Baum
232e4d1f7e Update imported gettext code from gettext 0.19.7
This might help with the spurious .pot file update error in 'make distcheck'.
At least it does not break anything.
2016-06-01 21:45:38 +02:00
Uwe Stöhr
82518e4602 de.po: some translations 2016-05-31 23:15:56 +02:00
Kornel Benko
d88a813701 Update sk.po 2016-05-31 09:18:29 +02:00
Georg Baum
2d708bd7cf Simplify .po file generation
We can generate the file with the cirrect line endings directly instead of
calling a helper script to convert them.
2016-05-29 17:55:44 -04:00
Georg Baum
ba6d84c917 Always use unix line ends in .pot files
Otherwise gettext creates files with stray '\r' in comment lines on windows.
2016-05-29 17:55:44 -04:00
jpc
9e5198f4f5 * One more shortcut conflict solved
* fr.gmo updated
2016-05-23 23:15:10 +01:00
jpc
f5146e729b * Edit translation mistakes for icon sizes
* Resolve a shortcut conflict
* Provide fr.gmo using msgfmt
2016-05-23 22:43:39 +01:00
Pavel Sanda
3c44d977b6 typo 2016-05-11 14:42:26 -07:00
Pavel Sanda
a2e318d125 cosmetics 2016-05-11 14:35:15 -07:00
Georg Baum
23f5ae67c7 ja.gmo for cfa8d02029 2016-05-05 10:20:23 +02:00
Uwe Stöhr
cfa8d02029 ja.po: Update from Koji for 2.2.0 2016-05-04 01:08:56 +02:00
Enrico Forestieri
9384ed0f08 Update it.po 2016-04-25 17:36:51 +02:00
Georg Baum
04e4d6c4eb Update fuzzy translations from 2.1.x branch
This was done with
python ../lyx-2.3-staging/development/tools/mergepo.py -n -t po ../lyx-2.1/po

It should have been part of a26cdcb4ba, but the mergepo script did not overwrite
fuzzy translations with non-fuzzy ones at that time. Now 2.2 will not be missing
translations that are in 2.1 (but of course it might contain changed translations).
2016-04-24 21:33:38 +02:00
Georg Baum
4016d00c97 Forgot fi.gmo at 7eacd8d316 2016-04-24 20:44:31 +02:00
Georg Baum
7eacd8d316 Merge finnish translations from bug 10084
Jari-Matti provided an updated fi.po in bug 10084, but unfortunately I did not
see that before remerging the strings. Therefore, I did not take the updated
file directly, but downloaded it to /tmp/fi.po and merged the updates with

python ../lyx-2.3-staging/development/tools/mergepo.py -o -l fi -t po /tmp/

The two header changes were done manually. This way, the updated translations
are not hidden in lots of sorting changes. I had to use mergepo.py from 2.3
because the one in master does not treat fuzzy translations correctly.
2016-04-24 20:04:05 +02:00
Georg Baum
44f73d4c73 pt_BR.po: updates from Georger 2016-04-24 17:06:23 +02:00
Georg Baum
cfafffdf25 Remerge strings except for sv and fr
This is a complete remerge of strings (done with cmake) except for fr.po and
sv.po. Those files had already been remerged after the last string changes,
but they use a different sorting, so I did not want to produce an unneeded
diff.
The differences in the comment lines are a well known problem we have: The
last remerge was done on windows, mine was done on linux.
2016-04-24 10:57:36 +02:00
Georg Baum
7e75ebac45 fr.gmo for 79074e6c87 2016-04-23 11:26:28 +02:00
jpc
79074e6c87 Hopefully last update for 2.2.0 2016-04-22 22:55:47 +01:00
Georg Baum
9bd6ed876f Update sv.gmo from sv.po
This has been forgotten in 93f58cb440
2016-04-21 21:52:44 +02:00
Georg Baum
57298bf59d Update pt_BR.gmo from pt_BR.po
This has been forgotten in c46d5ccdf6
2016-04-21 21:51:12 +02:00
Uwe Stöhr
c46d5ccdf6 pt_BR.po: updates from Georger 2016-04-18 19:10:57 +02:00
Uwe Stöhr
93f58cb440 sv.po: updates for 2.2.0 from Jim 2016-04-16 01:55:40 +02:00
Kornel Benko
b9b49d1c81 Update sk.po 2016-04-10 12:32:41 +02:00
Uwe Stöhr
070afdad64 de.po: translate new layout strings 2016-04-09 18:44:58 +02:00
Uwe Stöhr
a32113e6de de.po: - translate new aastex string
- also remerge using changed lyx_pot.py file (see the discussion on the list)
2016-04-09 17:41:58 +02:00
Kornel Benko
38bfc6a542 Update sk.po 2016-04-09 11:35:13 +02:00
Helge Hafting
f23c40ad68 Improved translations for version control, after using this dialog for the first time. 2016-04-07 10:11:43 +02:00
Georg Baum
7c1b6cd73f Update translation of Chart by Georger
This has been discussed on the docs list, Diagrama is much more general.
2016-04-07 07:37:44 +02:00
Georg Baum
d3ebda2333 Fix graph translations for es, pt_BR and pt_PT
This was discussed in the thread "Translations of Math environments in LyX
output for LyX 2.2" at http://www.mail-archive.com/lyx-docs@lists.lyx.org/msg08633.html
and has been reviewed. The problem was that in 2.1, the portuguese translation
was correct in lib/layouttranslations but different in po/pt_PT.po. In fact,
the translation is the same for all three languages spanish, portuguese and
brazilian portuguese.
2016-04-06 08:22:59 +02:00
Georg Baum
db346b7f69 Fix .po files (again)
For details see 7fa742d186
2016-04-05 20:56:52 +02:00
Kornel Benko
aa6c593fb4 Update sk.po 2016-04-05 12:19:30 +02:00
Georg Baum
90fdd49b2b Review of portuguese layout translations by Pedro
He made more suggestions, but those are not 100% clear yet.
2016-04-05 08:26:38 +02:00
Georg Baum
b9ca82578d Latest brazilian translations from Georger
After some discussion between Georger, Pedro, Pavel and me Georger came to the
conclusion that Mapa is not the correct translation of Chart in this context.
Originally he proposed Gráfico, but since that would be identical to the
translation of Graph we decided that Diagram is better. It is a bit more
general than Gráfico, but it is also used in pt_PT, and the german translation
uses the german equivalent, which is more general as well. Those who need a
Gráfico can still use Graph.

Unfortunately Geoger based the new .po file on the remerged one at
259196e1a6, so we have now the situation that pt_BR is remerged, but the
other languages are not.
2016-04-05 08:07:56 +02:00
Georg Baum
255b47011a Revert 259196e1a6
259196e1a6 did a remerge and destroyed the line endings.
No translatuions were changed (the last update by Geoger was already in at
77fc7fe8b6).
2016-04-05 07:59:38 +02:00
Uwe Stöhr
259196e1a6 pt_BR.po: updates by Georger 2016-04-05 01:18:39 +02:00
Uwe Stöhr
f0e45c817d EmbeddedObjects.lyx: update a changed name
- de.po: update translation accordingly
2016-04-05 00:35:56 +02:00
Uwe Stöhr
aaf2cc5dbe po files: remerge to show untranslated messages
- de.po: translate some strings
2016-04-05 00:25:13 +02:00
Georg Baum
e87735f789 Review of greek layout translations by Οδυσσέας 2016-04-04 22:05:31 +02:00
Georg Baum
77fc7fe8b6 Review of brazilian layout translations by Georger 2016-04-03 20:30:29 +02:00
Helge Hafting
7037f4f0a3 New translations for the sectionboxes module.
Improved translations for the names of greek letters, and some other symbols
A few other translated strings as well.
2016-04-01 18:29:40 +02:00
Georg Baum
e74a862418 Update finnish layout translations
Now all finnish layout translations are reviewed (by Martin Vermeer).
2016-03-31 22:09:56 +02:00
Uwe Stöhr
5679c65fbd fr.po: update for master from Jean-Pierre 2016-03-27 19:18:29 +02:00
Georg Baum
d04f64fdd3 Grab translations from lib/layouttranslations
These strings were translated manually in lib/layouttranslations, but not in
zh_TW.po. If this is the correct translation for document output, then it is
certainly also correct for the user interface.
2016-03-27 11:18:33 +02:00
Georg Baum
3e6c4efbc3 Grab translation from lib/layouttranslations
This string was translated manually in lib/layouttranslations, but not in
ar.po. If this is the correct translation for document output, then it is
certainly also correct for the user interface.
2016-03-27 10:34:03 +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
Georg Baum
262ae8264a Make lyx_pot.py python3 compatible
Now it produces the same output if running under python3 (tested with 3.4.2)
or python2 (tested with 2.7.9). python3 always uses unicode strings
internally, so we have to specify the file encoding on opening a file, such
that strings can be converted from and to the file encoding on reading and
writing. Using the io module for file io ensures that the behaviour is the
same for python2 and python3. For python2 we also have to mark string literals
as unicode strings by using the u prefix (which is a noop in python3).

Many thanks to José for review and pointing out all the details.
2016-03-25 10:24:46 +01:00
Uwe Stöhr
a7d92ee53d fr.po: updates by Jean-Pierre 2016-03-20 23:20:42 +01:00
Helge Hafting
926358c3c3 Updated Norwegian translations (nb.po) 2016-03-20 02:08:04 +01:00
Kornel Benko
8f95d7cc3f Update sk.po 2016-03-16 18:23:08 +01:00
Uwe Stöhr
0cc0825087 fr.po: shortcut fix from Jean-Pierre 2016-03-07 23:47:39 +01:00
Uwe Stöhr
5471139ecb fr.po: 2 shortcut fixes by Jean-Pierre 2016-03-06 15:48:39 +01:00
Enrico Forestieri
a28278c33d Update it.po 2016-02-28 17:41:13 +01:00
Uwe Stöhr
b0dd26909c fr.po: translations by Jean-Pierre 2016-02-27 20:03:08 +01:00
Kornel Benko
158edd30ab Update sk.po 2016-02-26 08:09:18 +01:00
Uwe Stöhr
c3bb6ab792 sv.po: translations for LyX 2.2.0 from Jim 2016-02-25 20:41:27 +01:00
Uwe Stöhr
fe5268325a fr.po: updates by Jean-Pierre 2016-02-24 23:54:10 +01:00
Uwe Stöhr
9f6930b890 es.po: fix a typo introduced by last commit 2016-02-18 01:08:29 +01:00
Uwe Stöhr
82c2894fd5 es.po: updates by Ignacio 2016-02-18 00:43:50 +01:00
Georg Baum
5a9a23a5da Update pt_BR.gmo after 7c08d433e
As requested by Georger
2016-02-12 20:14:16 +01:00
Uwe Stöhr
7c08d433ef pt_BR.po: updates from Georger 2016-02-11 23:30:15 +01:00
Kornel Benko
4c2ceb698c Update sk.po 2016-02-11 09:19:09 +01:00
Uwe Stöhr
4c1eb393b3 pt_BR.po: update by Georger 2016-02-03 01:10:32 +01:00
Uwe Stöhr
86826df4aa ia.po: repair 4 c-format errors 2016-02-03 01:04:42 +01:00
Uwe Stöhr
cdcd66333e ia.po: update by Giovanni 2016-02-02 23:43:47 +01:00
Uwe Stöhr
aa9e14c68f Ukrainian translations: updates by Yuri 2016-02-01 21:32:56 +01:00
Uwe Stöhr
5ff2286c28 French translations: updates by Jean-Pierre 2016-02-01 21:31:36 +01:00
Uwe Stöhr
f3527f914e es.po: updates by Ignacio 2016-01-30 00:31:51 +01:00
Uwe Stöhr
64d7fd3955 fr.po: small update from Jean-Pierre 2016-01-29 00:25:08 +01:00
Uwe Stöhr
ec0ae436ca fr.po: update by Jean-Pierre 2016-01-24 23:47:35 +01:00
Uwe Stöhr
fb1cda5948 pt_BR.po: translation update for LyX 2.2.0 from Georger 2016-01-24 16:30:07 +01:00
Kornel Benko
b00e6329f7 update sk.po 2016-01-24 10:08:37 +01:00
Uwe Stöhr
b7165bd00b de.po fix 2 typos
- 3 other po-files: update project ID version
2016-01-24 04:48:17 +01:00
Uwe Stöhr
e5936b49c0 uk.po: translations by Yuri 2016-01-19 21:12:48 +01:00
Uwe Stöhr
86d2a203b0 es.po: updates by Ignacio 2016-01-17 19:23:57 +01:00
Uwe Stöhr
436285b19a es.po: translation from Ignacio 2016-01-11 01:04:42 +01:00
Richard Heck
f2acbd04af Updated manuals and po file for French, from Jean-Pierre. 2016-01-03 10:53:15 -05:00
Richard Heck
7f0977aefb Update to French po file, from Jean-Pierre. 2015-12-29 09:59:02 -05:00
Richard Heck
6b0632eea2 Updates to Japanese docs and po file, from Koji. 2015-12-29 09:58:48 -05:00
Kornel Benko
857a2f765a Update sk.po 2015-12-14 01:44:15 +01:00
Guillaume Munch
3c9b62a69d Layout format update: AddToToc, IsTocCaption, OutlinerName
Preliminary work for addressing #7790. Thanks to Richard for providing initial
files this is based on.

Adding to TextClass:
    OutlinerName <string> <string>
    (the second string is translated)
e.g.:
    OutlinerName thm "Definitions & Theorems"

Adding to Layout:
    AddToToc <string>     (default "", means no)
    IsTocCaption <bool>   (default 0)
e.g.:
    AddToToc thm
    IsTocCaption 1

Adding to InsetLayout:
    AddToToc <string>     (default "", means no)
    IsTocCaption <bool>   (default 0)
e.g.:
    AddToToc literate

Adding to inset arguments:
    IsTocCaption <bool>   (default 0)
2015-12-13 19:56:49 +00:00
Enrico Forestieri
d44278f21a Update it.po 2015-12-06 18:33:17 +01:00
Georg Baum
a26cdcb4ba Merge translations from 2.1.x branch
The translations have been merged by calling
python development/tools/mergepo.py -n ../lyx-2.1-git/po
cd po; make update-gmo
For some languages it may make sense to merge also changed translations,
but this neds to be decided by the individual translators.
2015-12-06 11:39:47 +01:00
Guillaume Munch
b97ce6fb1c Add parameter to xgettext to also parse utf-8 chars. (autotools) 2015-12-05 17:20:30 +00:00