From: Jean-Baptiste Mardelle Date: Wed, 24 Jun 2009 19:45:10 +0000 (+0000) Subject: Fix some strings that broke the translation tools (non unicode characters in the... X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=b59649ec73a17cae86833eb7202bf877e5eabf87;p=kdenlive Fix some strings that broke the translation tools (non unicode characters in the code) svn path=/trunk/kdenlive/; revision=3644 --- diff --git a/src/unicodedialog.cpp b/src/unicodedialog.cpp index 243bd114..1580a08a 100644 --- a/src/unicodedialog.cpp +++ b/src/unicodedialog.cpp @@ -129,7 +129,7 @@ QString UnicodeDialog::unicodeInfo(QString unicode) } else if (u == "a0") { infoText = i18n("No-break space.   in HTML. See U+2009 and U+0020."); } else if (u == "ab" || u == "bb" || u == "2039" || u == "203a") { - infoText = i18n("

« (u+00ab, &lfquo; in HTML) and » (u+00bb, &rfquo; in HTML) are called Guillemets or angle quotes. Usage in different countries: « France Â» (with non-breaking Space 0x00a0), «Switzerland», »Germany«, »Finland and Sweden».

and (U+2039/203a, ‹/›) are their single quote equivalents.

See Wikipedia:Guillemets

"); + infoText = i18n("

« (u+00ab, &lfquo; in HTML) and » (u+00bb, &rfquo; in HTML) are called Guillemets or angle quotes. Usage in different countries: France (with non-breaking Space 0x00a0), Switzerland, Germany, Finland and Sweden.

and (U+2039/203a, ‹/›) are their single quote equivalents.

See Wikipedia:Guillemets

"); } else if (u == "2002") { infoText = i18n("En Space (width of an n)"); } else if (u == "2003") { @@ -155,7 +155,7 @@ QString UnicodeDialog::unicodeInfo(QString unicode) } else if (u == "2014") { infoText = i18n("

An em Dash (dash of the widht of an m).

Usage examples: In English language to mark—like here—thoughts. Traditionally without spaces.

See Wikipedia:Dash

"); } else if (u == "202f") { - infoText = i18n("

Narrow no-break space. Has the same width as U+2009.

Usage: For units (spaces are marked with U+2423, ␣): 230␣V, −21␣°C, 50␣lb, but 90° (no space). In German for abbreviations (like: i. d. R. instead of i. d. R. with U+00a0).

See Wikipedia:de:Schmales_Leerzeichen

"); + infoText = i18n("

Narrow no-break space. Has the same width as U+2009.

Usage: For units (spaces are marked with U+2423, ␣): 230␣V, −21␣°C, 50␣lb, but 90° (no space). In German for abbreviations (like: i. d. R. instead of i. d. R. with U+00a0).

See Wikipedia:de:Schmales_Leerzeichen

"); } else if (u == "2026") { infoText = i18n("Ellipsis: If text has been left o… See Wikipedia:Ellipsis"); } else if (u == "2212") { diff --git a/src/widgets/unicodedialog_ui.ui b/src/widgets/unicodedialog_ui.ui index b022c9af..54c5716b 100644 --- a/src/widgets/unicodedialog_ui.ui +++ b/src/widgets/unicodedialog_ui.ui @@ -6,8 +6,8 @@ 0 0 - 576 - 309 + 478 + 271 @@ -194,22 +194,6 @@ QFrame::Raised - - - - - - - Information about unicode characters: <a href="http://decodeunicode.org">http://decodeunicode.org</a> (Unicode database) - - - true - - - true - - - @@ -225,21 +209,14 @@ - + Qt::Horizontal - - - - Qt::Horizontal - - - - + QFrame::Plain @@ -258,6 +235,42 @@ + + + + Qt::Horizontal + + + + + + + + + + Information about unicode characters: <a href="http://decodeunicode.org">http://decodeunicode.org</a> + + + false + + + true + + + + + + + Qt::Horizontal + + + + 43 + 20 + + + +