Help with translations of user interface for LyX 2.0

2010-12-28 Thread Pavel Sanda
Dear past, current and possible future LyX translators,

our development tree is slowly moving towards the first stable release of LyX 
2.0.
Except bugfixing we are not adding new features or changing the code 
substantially,
so the database of translation strings shouldn't change considerably and is
prepared for your work.

The current status of translations for the supported languages is maintained 
here:
http://www.lyx.org/I18n-trunk
Note that the languages in the 'red region', i.e. having less then 50% of 
strings
translated, will be stripped from the final release.

The up-to-date translation files can be always obtained via SVN or downloaded 
here:
http://www.lyx.org/trac/browser/lyx-devel/trunk/po

In case you are interested to help with the language which is unsupported or 
seems
to be abandoned (see the last revised date), write first to the maintainer and 
if
there is no response you can start by reading this short introduction:
http://www.lyx.org/trac/browser/lyx-devel/trunk/README.localization

Thanks,
Pavel

PS: All previous maintainers have been CC'ed. If you do not wish to obtain mails
about LyX again, just let me know.


Re: Help with translations of user interface for LyX 2.0

2010-12-28 Thread Jürgen Spitzmüller
Pavel Sanda wrote:
 The current status of translations for the supported languages is
 maintained here: http://www.lyx.org/I18n-trunk
 Note that the languages in the 'red region', i.e. having less then 50% of
 strings translated, will be stripped from the final release.

Note that you should regularly remerge all po files and update i18n_trunc.inc, 
else this site is not really informative.

Jürgen


Re: (Regression in r36990 by switt) Assertion when entering mathmode near red underline.

2010-12-28 Thread Stephan Witt
Am 27.12.2010 um 17:00 schrieb John McCabe-Dansted:

 I get the assertion below when I do the following
 1) Ensure continuous spellchecking is on
 2) Type e.g. Uw to create a word with red underlining
 3) Press Ctrl-M to enter mathmode.
 
 FYI, I am using ASpell.

Hi John,

thank you for the report. I've commit a fix.

Stephan


creating lyx note causes clipboard copy

2010-12-28 Thread Jack Tanner

In LyX 1.6.8,

1. Create a new document.
2. Type in two words, word1 and word2.
3. Select and copy word2.
4. Highlight word1 and Insert, Note, LyX Note. word1 will be placed 
inside a new note.

5. Paste.

Expected: paste outputs word2, as copied in (3)

Actual: paste outputs word1, from (4)


Re: creating lyx note causes clipboard copy

2010-12-28 Thread Pavel Sanda
Jack Tanner wrote:
 1. Create a new document.
 2. Type in two words, word1 and word2.
 3. Select and copy word2.
 4. Highlight word1 and Insert, Note, LyX Note. word1 will be placed inside 
 a new note.
 5. Paste.

 Expected: paste outputs word2, as copied in (3)

 Actual: paste outputs word1, from (4)

iirc this is because inserting word1 into the note inset (4) is actually done 
via clipboard.

pavel


Re: r37026 - in lyx-devel/trunk: po src/frontends/qt4/ui

2010-12-28 Thread Pavel Sanda
for...@lyx.org wrote:
 Author: forenr
 Date: Wed Dec 29 00:29:51 2010
 New Revision: 37026
 URL: http://www.lyx.org/trac/changeset/37026
 
 Log:
 lyx_pot.py cannot deal with raw newlines in ui files. So, use the
 html entity #x0a; and then transform it to \n.

while you are at it... i saw that we have problems with quotations marks
generated by some (new?) version of designer, ie the 'fix' in r36320.

pavel


Re: r37026 - in lyx-devel/trunk: po src/frontends/qt4/ui

2010-12-28 Thread Enrico Forestieri
On Wed, Dec 29, 2010 at 01:12:40AM +0100, Pavel Sanda wrote:

 for...@lyx.org wrote:
  Author: forenr
  Date: Wed Dec 29 00:29:51 2010
  New Revision: 37026
  URL: http://www.lyx.org/trac/changeset/37026
  
  Log:
  lyx_pot.py cannot deal with raw newlines in ui files. So, use the
  html entity #x0a; and then transform it to \n.
 
 while you are at it... i saw that we have problems with quotations marks
 generated by some (new?) version of designer, ie the 'fix' in r36320.

I see. The function qt4_l10n() in lyx_pot.py already deals with such kind
of problems with respect to amp;, lt;, and gt;. It can be easily
extended to also account for quot; and other entities. Would you like
me to do that?

-- 
Enrico


Re: r37026 - in lyx-devel/trunk: po src/frontends/qt4/ui

2010-12-28 Thread Pavel Sanda
Enrico Forestieri wrote:
 extended to also account for quot; and other entities. Would you like
 me to do that?

yes please.
pavel


Re: r37026 - in lyx-devel/trunk: po src/frontends/qt4/ui

2010-12-28 Thread Enrico Forestieri
On Wed, Dec 29, 2010 at 02:48:34AM +0100, Pavel Sanda wrote:

 Enrico Forestieri wrote:
  extended to also account for quot; and other entities. Would you like
  me to do that?
 
 yes please.

Done at r37029.

-- 
Enrico


Re: creating lyx note causes clipboard copy

2010-12-28 Thread Jack Tanner
Pavel Sanda sanda at lyx.org writes:

 
 Jack Tanner wrote:
  1. Create a new document.
  2. Type in two words, word1 and word2.
  3. Select and copy word2.
  4. Highlight word1 and Insert, Note, LyX Note. word1 will be placed inside 
  a new note.
  5. Paste.
 
  Expected: paste outputs word2, as copied in (3)
 
  Actual: paste outputs word1, from (4)
 
 iirc this is because inserting word1 into the note inset (4) is actually done 
via clipboard.

Perhaps creation of the note inset could save and then restore the clipboard 
state? The bug is even more annoying if the clipboard contents come not from 
LyX 
but from some other application. Creation of a note inset may cause data loss.



Help with translations of user interface for LyX 2.0

2010-12-28 Thread Pavel Sanda
Dear past, current and possible future LyX translators,

our development tree is slowly moving towards the first stable release of LyX 
2.0.
Except bugfixing we are not adding new features or changing the code 
substantially,
so the database of translation strings shouldn't change considerably and is
prepared for your work.

The current status of translations for the supported languages is maintained 
here:
http://www.lyx.org/I18n-trunk
Note that the languages in the 'red region', i.e. having less then 50% of 
strings
translated, will be stripped from the final release.

The up-to-date translation files can be always obtained via SVN or downloaded 
here:
http://www.lyx.org/trac/browser/lyx-devel/trunk/po

In case you are interested to help with the language which is unsupported or 
seems
to be abandoned (see the last revised date), write first to the maintainer and 
if
there is no response you can start by reading this short introduction:
http://www.lyx.org/trac/browser/lyx-devel/trunk/README.localization

Thanks,
Pavel

PS: All previous maintainers have been CC'ed. If you do not wish to obtain mails
about LyX again, just let me know.


Re: Help with translations of user interface for LyX 2.0

2010-12-28 Thread Jürgen Spitzmüller
Pavel Sanda wrote:
> The current status of translations for the supported languages is
> maintained here: http://www.lyx.org/I18n-trunk
> Note that the languages in the 'red region', i.e. having less then 50% of
> strings translated, will be stripped from the final release.

Note that you should regularly remerge all po files and update i18n_trunc.inc, 
else this site is not really informative.

Jürgen


Re: (Regression in r36990 by switt) Assertion when entering mathmode near red underline.

2010-12-28 Thread Stephan Witt
Am 27.12.2010 um 17:00 schrieb John McCabe-Dansted:

> I get the assertion below when I do the following
> 1) Ensure continuous spellchecking is on
> 2) Type e.g. "Uw" to create a word with red underlining
> 3) Press Ctrl-M to enter mathmode.
> 
> FYI, I am using ASpell.

Hi John,

thank you for the report. I've commit a fix.

Stephan


creating lyx note causes clipboard copy

2010-12-28 Thread Jack Tanner

In LyX 1.6.8,

1. Create a new document.
2. Type in two words, word1 and word2.
3. Select and copy word2.
4. Highlight word1 and Insert, Note, LyX Note. word1 will be placed 
inside a new note.

5. Paste.

Expected: paste outputs word2, as copied in (3)

Actual: paste outputs word1, from (4)


Re: creating lyx note causes clipboard copy

2010-12-28 Thread Pavel Sanda
Jack Tanner wrote:
> 1. Create a new document.
> 2. Type in two words, word1 and word2.
> 3. Select and copy word2.
> 4. Highlight word1 and Insert, Note, LyX Note. word1 will be placed inside 
> a new note.
> 5. Paste.
>
> Expected: paste outputs word2, as copied in (3)
>
> Actual: paste outputs word1, from (4)

iirc this is because inserting word1 into the note inset (4) is actually done 
via clipboard.

pavel


Re: r37026 - in lyx-devel/trunk: po src/frontends/qt4/ui

2010-12-28 Thread Pavel Sanda
for...@lyx.org wrote:
> Author: forenr
> Date: Wed Dec 29 00:29:51 2010
> New Revision: 37026
> URL: http://www.lyx.org/trac/changeset/37026
> 
> Log:
> lyx_pot.py cannot deal with raw newlines in ui files. So, use the
> html entity "" and then transform it to "\n".

while you are at it... i saw that we have problems with quotations marks
generated by some (new?) version of designer, ie the 'fix' in r36320.

pavel


Re: r37026 - in lyx-devel/trunk: po src/frontends/qt4/ui

2010-12-28 Thread Enrico Forestieri
On Wed, Dec 29, 2010 at 01:12:40AM +0100, Pavel Sanda wrote:

> for...@lyx.org wrote:
> > Author: forenr
> > Date: Wed Dec 29 00:29:51 2010
> > New Revision: 37026
> > URL: http://www.lyx.org/trac/changeset/37026
> > 
> > Log:
> > lyx_pot.py cannot deal with raw newlines in ui files. So, use the
> > html entity "" and then transform it to "\n".
> 
> while you are at it... i saw that we have problems with quotations marks
> generated by some (new?) version of designer, ie the 'fix' in r36320.

I see. The function qt4_l10n() in lyx_pot.py already deals with such kind
of problems with respect to "", "", and "". It can be easily
extended to also account for "" and other entities. Would you like
me to do that?

-- 
Enrico


Re: r37026 - in lyx-devel/trunk: po src/frontends/qt4/ui

2010-12-28 Thread Pavel Sanda
Enrico Forestieri wrote:
> extended to also account for "" and other entities. Would you like
> me to do that?

yes please.
pavel


Re: r37026 - in lyx-devel/trunk: po src/frontends/qt4/ui

2010-12-28 Thread Enrico Forestieri
On Wed, Dec 29, 2010 at 02:48:34AM +0100, Pavel Sanda wrote:

> Enrico Forestieri wrote:
> > extended to also account for "" and other entities. Would you like
> > me to do that?
> 
> yes please.

Done at r37029.

-- 
Enrico


Re: creating lyx note causes clipboard copy

2010-12-28 Thread Jack Tanner
Pavel Sanda  lyx.org> writes:

> 
> Jack Tanner wrote:
> > 1. Create a new document.
> > 2. Type in two words, word1 and word2.
> > 3. Select and copy word2.
> > 4. Highlight word1 and Insert, Note, LyX Note. word1 will be placed inside 
> > a new note.
> > 5. Paste.
> >
> > Expected: paste outputs word2, as copied in (3)
> >
> > Actual: paste outputs word1, from (4)
> 
> iirc this is because inserting word1 into the note inset (4) is actually done 
via clipboard.

Perhaps creation of the note inset could save and then restore the clipboard 
state? The bug is even more annoying if the clipboard contents come not from 
LyX 
but from some other application. Creation of a note inset may cause data loss.