[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-i18n-doc
Subject: Parley: Made 2 previously untranslated strings translatable
From: Amarvir Singh <amarvir.ammu.93 () gmail ! com>
Date: 2014-03-11 21:12:38
Message-ID: CA++oEUoXDbEH8Vv50H+gS6b2eZds9Ewf1gPLOA37-ENC6mOx_Q () mail ! gmail ! com
[Download RAW message or body]
Hi,
The two missed strings in Parley's KDE/4.13, as pointed out by
Burkhard(thanks!), have been made translatable now. Here's the diff:
>commitcebf60dce22fa58898476264bc6d7dbefb9f2d9e
--- a/src/vocabulary/vocabularydelegate.cpp+++
b/src/vocabulary/vocabularydelegate.cpp@@ -158,10 +158,10 @@
int column = columnType(index.column());
if (audioPainterPath.contains(event->pos()) &&
hasAudio(index) && (column == Translation || column == Pronunciation))
{- QToolTip::showText(event->globalPos(), "Sound file
selected: " + audioUrl(index));+
QToolTip::showText(event->globalPos(), i18n("Sound file selected: ") +
audioUrl(index));
}
else if (imagePainterPath.contains(event->pos()) &&
hasImage(index) && (column == Translation || column == Pronunciation))
{- QToolTip::showText(event->globalPos(), "Image file
selected: " + imageUrl(index));+
QToolTip::showText(event->globalPos(), i18n("Image file selected: ") +
imageUrl(index));
}
else {
QToolTip::hideText();
Regards,
Amarvir
[Attachment #3 (text/html)]
<div dir="ltr">Hi,<br><br>The two missed strings in Parley's KDE/4.13, as pointed \
out by Burkhard(thanks!), have been made translatable now. Here's the \
diff:<br><br><table style="border-spacing:0px;padding:8px \
4px;color:rgb(0,0,0);font-family:sans-serif;font-size:12px"> <tbody><tr><td \
style="padding:2px 5px;vertical-align:top">>commit</td><td class="" \
style="padding:2px 5px;vertical-align:top;font-family:monospace">cebf60dce22fa58898476264bc6d7dbefb9f2d9e<br><br></td></tr></tbody></table>
<pre style="color:rgb(0,0,0);font-size:12px"><span class="" \
style="color:rgb(204,0,0)">--- a/src/vocabulary/vocabularydelegate.cpp</span> <span \
class="" style="color:rgb(0,136,0)">+++ \
b/src/vocabulary/vocabularydelegate.cpp</span> <span class="" \
style="color:rgb(153,0,153)">@@ -158,10 +158,10 @@</span> int column = \
columnType(index.column());
if (audioPainterPath.contains(event->pos()) && hasAudio(index) \
&& (column == Translation || column == Pronunciation)) { <span class="" \
style="color:rgb(204,0,0)">- QToolTip::showText(event->globalPos(), \
"Sound file selected: " + audioUrl(index));</span> <span class="" \
style="color:rgb(0,136,0)">+ QToolTip::showText(event->globalPos(), \
i18n("Sound file selected: ") + audioUrl(index));</span> }
else if (imagePainterPath.contains(event->pos()) && \
hasImage(index) && (column == Translation || column == Pronunciation)) { \
<span class="" style="color:rgb(204,0,0)">- \
QToolTip::showText(event->globalPos(), "Image file selected: " + \
imageUrl(index));</span> <span class="" style="color:rgb(0,136,0)">+ \
QToolTip::showText(event->globalPos(), i18n("Image file selected: ") + \
imageUrl(index));</span> }
else {
QToolTip::hideText();
Regards,
Amarvir</pre></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic