From 81c872bb545082f232f90c2a5f2ef8278b6a7c41 Mon Sep 17 00:00:00 2001
From: Sebastião Guerra <sebastiao.luiz.guerra@gmail.com>
Date: Sat, 15 Aug 2026 16:04:53 -0300
Subject: kpercentage: mark literal percent strings as no-c-format
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Sebastião Guerra <sebastiao.luiz.guerra@gmail.com>
---
 kpercentage/kpercentage/kpercentage.cpp  | 3 +++
 kpercentage/kpercentage/kpercentmain.cpp | 1 +
 2 files changed, 4 insertions(+)

diff --git a/kpercentage/kpercentage/kpercentage.cpp b/kpercentage/kpercentage/kpercentage.cpp
index 36ded4c5..15553b7c 100644
--- a/kpercentage/kpercentage/kpercentage.cpp
+++ b/kpercentage/kpercentage/kpercentage.cpp
@@ -80,8 +80,11 @@ KPercentage::KPercentage( const char *name ) :
     label_choose->setBackgroundPixmap( bgp );
     label_choose->setBackgroundOrigin( TQLabel::ParentOrigin );
 
+    // xgettext:no-c-format
     KPushButton *button_basevalue = new KPushButton( i18n( "x% &of ?? = y" ), this );
+    // xgettext:no-c-format
     KPushButton *button_percentvalue = new KPushButton( i18n( "x% of &y = ??" ), this );
+    // xgettext:no-c-format
     KPushButton *button_percentage = new KPushButton( i18n( "??% o&f x = y" ), this );
     KPushButton *button_random = new KPushButton( i18n( "??" ), this );
     KPushButton *button_help = new KPushButton( KStdGuiItem::help().text(), this );
diff --git a/kpercentage/kpercentage/kpercentmain.cpp b/kpercentage/kpercentage/kpercentmain.cpp
index 8d20096f..dc395fc4 100644
--- a/kpercentage/kpercentage/kpercentmain.cpp
+++ b/kpercentage/kpercentage/kpercentmain.cpp
@@ -99,6 +99,7 @@ KPercentMain::KPercentMain( TQWidget *parent, const char *name ) :
     push_button_cancel->setIconSet( TQIconSet( icon_loader.loadIcon( "button_cancel", TDEIcon::NoGroup, 32 ) ) );
 
     label_1 = new TQLabel( this, "label_1" );
+    // xgettext:no-c-format
     label_1->setText( i18n( " % of " ) );
     label_1->setBackgroundPixmap( bgp );
     label_1->setBackgroundOrigin( TQDialog::ParentOrigin );
-- 
cgit v1.2.3

