summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-12-27 20:19:13 +0100
committerSlávek Banko <slavek.banko@axis.cz>2018-12-27 20:19:13 +0100
commit0ee39c1ce96dbd9152a597eb5bf3da51daa6d15f (patch)
treeef3d403c233c65dbc19c44ec0237f7d3d77b2f15 /src
parent3816fc742c38cffcee0da799c83dc64d2a09da94 (diff)
downloadkdiff3-0ee39c1ce96dbd9152a597eb5bf3da51daa6d15f.tar.gz
kdiff3-0ee39c1ce96dbd9152a597eb5bf3da51daa6d15f.zip
Add CMakeL10n rules.
Update translation templates. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src')
-rw-r--r--src/CMakeL10n.txt6
-rw-r--r--src/smalldialogs.cpp4
2 files changed, 8 insertions, 2 deletions
diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt
new file mode 100644
index 0000000..57ddd42
--- /dev/null
+++ b/src/CMakeL10n.txt
@@ -0,0 +1,6 @@
+##### create translation templates ##############
+
+tde_l10n_create_template(
+ CATALOG "kdiff3"
+ EXCLUDES "^kreplacements/"
+)
diff --git a/src/smalldialogs.cpp b/src/smalldialogs.cpp
index da75242..b27aed5 100644
--- a/src/smalldialogs.cpp
+++ b/src/smalldialogs.cpp
@@ -557,7 +557,7 @@ void RegExpTester::slotRecalc()
if ( ! bSuccess )
{
m_pHistoryEntryStartMatchResult->setText( i18n("Opening and closing parentheses don't match in regular expression.") );
- m_pHistorySortKeyResult->setText( i18n("") );
+ m_pHistorySortKeyResult->setText( "" );
return;
}
TQRegExp historyEntryStartRegExp = m_pHistoryEntryStartRegExpEdit->text();
@@ -572,7 +572,7 @@ void RegExpTester::slotRecalc()
else
{
m_pHistoryEntryStartMatchResult->setText( i18n("Match failed.") );
- m_pHistorySortKeyResult->setText( i18n("") );
+ m_pHistorySortKeyResult->setText( "" );
}
}