[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    Re: String freeze break request for Kate bugfix
From:       Vít Pelčák <vit () pelcak ! org>
Date:       2012-10-13 21:44:34
Message-ID: CACq8bh5Zu2haDMVJced9BQOtcWWhj5XVDDjW58+YXD4qMrkp4w () mail ! gmail ! com
[Download RAW message or body]

No problem for Czech team.

2012/10/13 T.C. Hollingsworth <tchollingsworth@gmail.com>:
> Hi!
>
> Would you all mind if we backported this single new string to fix a
> bug resulting in untranslated output in the current stable release of
> Kate?
>
> Thanks,
> T.C.
>
> ---------- Forwarded message ----------
> From: Kåre Särs <kare.sars@iki.fi>
> Date: Sat, Oct 13, 2012 at 10:59 AM
> Subject: [kate] kate/plugins/search: Fix untranslated string (master).
> To: kde-commits@kde.org
>
>
> Git commit adad37e32fc8a117e819e0d6570f9437149f236d by Kåre Särs.
> Committed on 13/10/2012 at 19:57.
> Pushed by sars into branch 'master'.
>
> Fix untranslated string (master).
> BUG: 308273
> FIXED-IN: 3.10.0
>
> M  +2    -1    kate/plugins/search/replace_matches.cpp
>
> http://commits.kde.org/kate/adad37e32fc8a117e819e0d6570f9437149f236d
>
> diff --git a/kate/plugins/search/replace_matches.cpp
> b/kate/plugins/search/replace_matches.cpp
> index 94b90e6..219d682 100644
> --- a/kate/plugins/search/replace_matches.cpp
> +++ b/kate/plugins/search/replace_matches.cpp
> @@ -23,6 +23,7 @@
>  #include <QTreeWidgetItem>
>  #include <ktexteditor/movinginterface.h>
>  #include <ktexteditor/movingrange.h>
> +#include <klocale.h>
>
>  ReplaceMatches::ReplaceMatches(QObject *parent) : QObject(parent),
>  m_manager(0),
> @@ -113,7 +114,7 @@ void ReplaceMatches::doReplaceNextMatch()
>          html += "<i><s>" + item->data(2, Qt::ToolTipRole).toString()
> + "</s></i> ";
>          html += "<b>" + m_replaceText + "</b>";
>          html += item->data(3, Qt::ToolTipRole).toString();
> -        item->setData(0, Qt::DisplayRole, QString("Line: <b>%1</b>:
> %2").arg(line+1).arg(html));
> +        item->setData(0, Qt::DisplayRole, i18n("Line: <b>%1</b>:
> %2",line+1, html));
>          KTextEditor::Range range(line, column, line, column+len);
>          KTextEditor::MovingRange* mr = miface->newMovingRange(range);
>          rVector.append(mr);



-- 
Vit Pelcak

------------------------------------------------------------------------------------------
For all wankers from US Government reading my personal stuff
according to fascist laws like Patriot Act:
Make the world a better place. Go jump off a bridge.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic