diff options
-rw-r--r-- | src/CMakeL10n.txt | 2 | ||||
-rw-r--r-- | src/CMakeLists.txt | 10 | ||||
-rw-r--r-- | src/SUSE2.desktop | 1 | ||||
-rw-r--r-- | src/SUSE2.kcsrc | 1 | ||||
-rw-r--r-- | subdirs | 2 | ||||
-rw-r--r-- | translations/CMakeLists.txt | 1 | ||||
-rw-r--r-- | translations/desktop_files/twin-style-suse2-desktops.pot | 4 | ||||
-rw-r--r-- | translations/messages/CMakeLists.txt | 14 |
8 files changed, 8 insertions, 27 deletions
diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt index 94762c4..02bb11f 100644 --- a/src/CMakeL10n.txt +++ b/src/CMakeL10n.txt @@ -4,5 +4,5 @@ tde_l10n_create_template("messages/twin-style-suse2") tde_l10n_create_template( CATALOG "desktop_files/twin-style-suse2-desktops" - SOURCES *.desktop + SOURCES *.desktop *.kcsrc ) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index e214de2..950642f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -24,7 +24,7 @@ tde_add_kpart( twin3_SUSE2 AUTOMOC SUSE2.cpp SUSE2client.cpp SUSE2button.cpp - shadow.cpp + shadow.cpp misc.cpp LINK tdecore-shared @@ -37,8 +37,8 @@ tde_add_kpart( twin3_SUSE2 AUTOMOC ##### other data -install( - FILES SUSE2.desktop +tde_create_translated_desktop( + SOURCE SUSE2.desktop DESTINATION ${DATA_INSTALL_DIR}/twin ) @@ -47,7 +47,7 @@ install( DESTINATION ${DATA_INSTALL_DIR}/twin/pics/SUSE2 ) -install( - FILES SUSE2.kcsrc +tde_create_translated_desktop( + SOURCE SUSE2.kcsrc DESTINATION ${DATA_INSTALL_DIR}/tdedisplay/color-schemes ) diff --git a/src/SUSE2.desktop b/src/SUSE2.desktop index 723004a..193daf8 100644 --- a/src/SUSE2.desktop +++ b/src/SUSE2.desktop @@ -1,4 +1,3 @@ [Desktop Entry] Name=SUSE2 -Name[xx]=xxSUSE2xx X-TDE-Library=twin3_SUSE2 diff --git a/src/SUSE2.kcsrc b/src/SUSE2.kcsrc index 5fd21ee..0ad67e5 100644 --- a/src/SUSE2.kcsrc +++ b/src/SUSE2.kcsrc @@ -1,6 +1,5 @@ [Color Scheme] Name=SUSE2 -Name[xx]=xxSUSE2xx activeBackground=82,129,205 activeBlend=44,85,177 activeForeground=255,255,255 diff --git a/subdirs b/subdirs deleted file mode 100644 index f9b23c0..0000000 --- a/subdirs +++ /dev/null @@ -1,2 +0,0 @@ -po -src diff --git a/translations/CMakeLists.txt b/translations/CMakeLists.txt deleted file mode 100644 index 6d0aa9f..0000000 --- a/translations/CMakeLists.txt +++ /dev/null @@ -1 +0,0 @@ -tde_auto_add_subdirectories( ) diff --git a/translations/desktop_files/twin-style-suse2-desktops.pot b/translations/desktop_files/twin-style-suse2-desktops.pot index 73a4cd6..717b21c 100644 --- a/translations/desktop_files/twin-style-suse2-desktops.pot +++ b/translations/desktop_files/twin-style-suse2-desktops.pot @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-27 11:42+0300\n" +"POT-Creation-Date: 2021-06-29 09:47+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <[email protected]>\n" @@ -17,6 +17,6 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" #. Name -#: SUSE2.desktop:2 +#: SUSE2.desktop:2 SUSE2.kcsrc:2 msgid "SUSE2" msgstr "" diff --git a/translations/messages/CMakeLists.txt b/translations/messages/CMakeLists.txt deleted file mode 100644 index 75c89f8..0000000 --- a/translations/messages/CMakeLists.txt +++ /dev/null @@ -1,14 +0,0 @@ -file( GLOB_RECURSE po_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.po ) -string( REGEX REPLACE "[ \r\n\t]+" ";" _linguas "$ENV{LINGUAS}" ) - -foreach( _po ${po_files} ) - get_filename_component( _lang ${_po} NAME_WE ) - if( "${_linguas}" MATCHES "^;*$" OR ";${_linguas};" MATCHES ";${_lang};" ) - if( "${_po}" MATCHES "^([^/]*)/.*" ) - string( REGEX REPLACE "^([^/]*)/.*" "\\1" _component "${_po}" ) - else( ) - set( _component "${PROJECT_NAME}" ) - endif( ) - tde_create_translation( FILES ${_po} LANG ${_lang} OUTPUT_NAME ${_component} ) - endif( ) -endforeach( ) |