diff options
author | Michele Calgaro <[email protected]> | 2023-09-12 12:07:41 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-09-12 16:24:03 +0900 |
commit | dc36e4bfdb29b4e9828fc33d784b7f18118e418b (patch) | |
tree | 6f5835ee118e783ce8e76ba0a2ec76d47dafa5b7 /twin | |
parent | 0587e5ec314d0d8366a384d179a60b7c8c1466a2 (diff) | |
download | tdebase-dc36e4bfdb29b4e9828fc33d784b7f18118e418b.tar.gz tdebase-dc36e4bfdb29b4e9828fc33d784b7f18118e418b.zip |
twin: avoid adding strings from lib subfolders in two .pot files
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 9ba68726b5f486af09b7e1d6dd3cd2a8394e2ea4)
Diffstat (limited to 'twin')
-rw-r--r-- | twin/CMakeL10n.txt | 1 | ||||
-rw-r--r-- | twin/killer/killer.cpp | 1 | ||||
-rw-r--r-- | twin/main.cpp | 1 | ||||
-rw-r--r-- | twin/resumer/resumer.cpp | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/twin/CMakeL10n.txt b/twin/CMakeL10n.txt index 11540e442..07bc99559 100644 --- a/twin/CMakeL10n.txt +++ b/twin/CMakeL10n.txt @@ -5,6 +5,7 @@ tde_l10n_create_template( EXCLUDES "^clients/" "^kcmtwin/" + "^lib/" ) tde_l10n_auto_add_subdirectories( ) diff --git a/twin/killer/killer.cpp b/twin/killer/killer.cpp index bf763e7c1..0c687e79e 100644 --- a/twin/killer/killer.cpp +++ b/twin/killer/killer.cpp @@ -46,6 +46,7 @@ static const TDECmdLineOptions options[] = int main( int argc, char* argv[] ) { TDELocale::setMainCatalogue( "twin" ); // the messages are in twin's .po file + TDELocale::insertCatalogue( "twin_lib" ); TDECmdLineArgs::init( argc, argv, "twin_killer_helper", I18N_NOOP( "TWin" ), I18N_NOOP( "TWin helper utility" ), "1.0" ); TDECmdLineArgs::addCmdLineOptions( options ); diff --git a/twin/main.cpp b/twin/main.cpp index e3e3c6ea3..b3b20c665 100644 --- a/twin/main.cpp +++ b/twin/main.cpp @@ -310,6 +310,7 @@ KDE_EXPORT int kdemain( int argc, char * argv[] ) } TDEGlobal::locale()->setMainCatalogue("twin"); + TDELocale::insertCatalogue("twin_lib"); TDEAboutData aboutData( "twin", I18N_NOOP("TWin"), version, description, TDEAboutData::License_GPL, diff --git a/twin/resumer/resumer.cpp b/twin/resumer/resumer.cpp index 3c915b8c8..154f7b4cf 100644 --- a/twin/resumer/resumer.cpp +++ b/twin/resumer/resumer.cpp @@ -45,6 +45,7 @@ static const TDECmdLineOptions options[] = int main( int argc, char* argv[] ) { TDELocale::setMainCatalogue( "twin" ); // the messages are in twin's .po file + TDELocale::insertCatalogue( "twin_lib" ); TDECmdLineArgs::init( argc, argv, "twin_resume_helper", I18N_NOOP( "TWin" ), I18N_NOOP( "TWin helper utility" ), "1.0" ); TDECmdLineArgs::addCmdLineOptions( options ); |