From f9bde9016f9683e0b101616606b1b7f78af234ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 29 Jul 2021 17:04:52 +0200 Subject: Use common rules for build and install documentation and translations. Change documentation path to tdeioslave/sword. Change CMake project name to tdeio_sword. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 382841c80611afca697e3859981f12b9503b48f2) --- CMakeLists.txt | 10 +- doc/CMakeLists.txt | 14 -- doc/en/CMakeLists.txt | 8 - doc/en/compilation.html | 9 -- doc/en/configuration.html | 2 - doc/en/credits.html | 6 - doc/en/faq.html | 7 - doc/en/index.docbook | 272 ---------------------------------- doc/en/index.html | 6 - doc/en/installation.html | 2 - doc/en/introduction.html | 9 -- doc/en/requirements.html | 4 - doc/en/tdeioslave/sword/index.docbook | 272 ++++++++++++++++++++++++++++++++++ doc/en/using-tdeio_sword.html | 7 - doc/html/compilation.html | 9 ++ doc/html/configuration.html | 2 + doc/html/credits.html | 6 + doc/html/faq.html | 7 + doc/html/index.html | 6 + doc/html/installation.html | 2 + doc/html/introduction.html | 9 ++ doc/html/requirements.html | 4 + doc/html/using-tdeio_sword.html | 7 + src/sword.protocol | 2 +- translations/CMakeLists.txt | 1 - translations/messages/CMakeLists.txt | 14 -- 26 files changed, 332 insertions(+), 365 deletions(-) delete mode 100644 doc/CMakeLists.txt delete mode 100644 doc/en/CMakeLists.txt delete mode 100644 doc/en/compilation.html delete mode 100644 doc/en/configuration.html delete mode 100644 doc/en/credits.html delete mode 100644 doc/en/faq.html delete mode 100644 doc/en/index.docbook delete mode 100644 doc/en/index.html delete mode 100644 doc/en/installation.html delete mode 100644 doc/en/introduction.html delete mode 100644 doc/en/requirements.html create mode 100644 doc/en/tdeioslave/sword/index.docbook delete mode 100644 doc/en/using-tdeio_sword.html create mode 100644 doc/html/compilation.html create mode 100644 doc/html/configuration.html create mode 100644 doc/html/credits.html create mode 100644 doc/html/faq.html create mode 100644 doc/html/index.html create mode 100644 doc/html/installation.html create mode 100644 doc/html/introduction.html create mode 100644 doc/html/requirements.html create mode 100644 doc/html/using-tdeio_sword.html delete mode 100644 translations/CMakeLists.txt delete mode 100644 translations/messages/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 23cd50f..5d87155 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,7 +12,7 @@ cmake_minimum_required( VERSION 2.8.12 ) #### general package setup -project( tdeio-sword ) +project( tdeio_sword ) set( VERSION R14.0.11 ) @@ -69,8 +69,12 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" ##### directories add_subdirectory( src ) -tde_conditional_add_subdirectory( BUILD_DOC doc ) -tde_conditional_add_subdirectory( BUILD_TRANSLATIONS translations ) + + +##### other data ################################ + +tde_conditional_add_project_docs( BUILD_DOC ) +tde_conditional_add_project_translations( BUILD_TRANSLATIONS ) ##### write configure files diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt deleted file mode 100644 index 70d6348..0000000 --- a/doc/CMakeLists.txt +++ /dev/null @@ -1,14 +0,0 @@ -file( GLOB _dirs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} * ) -string( REGEX REPLACE "[ \r\n\t]+" ";" _linguas "$ENV{LINGUAS}" ) - -foreach( _dir ${_dirs} ) - if( IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${_dir} AND - EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${_dir}/CMakeLists.txt ) - if( "${_dir}" STREQUAL "en" OR - "${_dir}" STREQUAL "man" OR - "${_linguas}" MATCHES "^;*$" OR - ";${_linguas};" MATCHES ";${_dir};" ) - add_subdirectory( ${_dir} ) - endif( ) - endif() -endforeach() diff --git a/doc/en/CMakeLists.txt b/doc/en/CMakeLists.txt deleted file mode 100644 index c46c8ce..0000000 --- a/doc/en/CMakeLists.txt +++ /dev/null @@ -1,8 +0,0 @@ -file( GLOB _html RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.html ) - -install( - FILES ${_html} - DESTINATION ${HTML_INSTALL_DIR}/en/tdeio_sword -) - -tde_create_handbook( LANG en DESTINATION tdeio_sword ) diff --git a/doc/en/compilation.html b/doc/en/compilation.html deleted file mode 100644 index c3cb9a7..0000000 --- a/doc/en/compilation.html +++ /dev/null @@ -1,9 +0,0 @@ -Compilation and Installation
 

Compilation and Installation

In order to compile and install Kio-Sword on your system, first - unpack the source code. Then type the following in the base directory - of the Kio-Sword distribution:

% ./configure
-% make
-% make install
-

You will need the header files for tdelibs4 and SWORD installed on your system.

You will need to be root before doing the 'make install' step.

Since Kio-Sword uses autoconf and -automake you should have no trouble compiling it. Should you -run into problems please report them to the author.

\ No newline at end of file diff --git a/doc/en/configuration.html b/doc/en/configuration.html deleted file mode 100644 index 9ca975c..0000000 --- a/doc/en/configuration.html +++ /dev/null @@ -1,2 +0,0 @@ -Configuration
 

Configuration

You will need to install SWORD modules before using Kio-Sword.

User settings can be saved via the 'Settings' page.

\ No newline at end of file diff --git a/doc/en/credits.html b/doc/en/credits.html deleted file mode 100644 index d8c297b..0000000 --- a/doc/en/credits.html +++ /dev/null @@ -1,6 +0,0 @@ -Chapter 4. Credits and License
 

Chapter 4. Credits and License

-Program and documentation copyright 2004-2006 Luke Plant <L.Plant.98@cantab.net> -

This program is licensed under the terms of the GNU General Public License.

The code also draws ideas, methods and some code from BibleTime - Diatheke (included in the SWORD source distribution) and the SWORD libraries themselves (all of which are GPL software). See also the AUTHORS file distributed with Kio-Sword for other contributions.

This Kio-Sword handbook is part of Kio-Sword and is licensed under the same terms. -

\ No newline at end of file diff --git a/doc/en/faq.html b/doc/en/faq.html deleted file mode 100644 index a259b48..0000000 --- a/doc/en/faq.html +++ /dev/null @@ -1,7 +0,0 @@ -Chapter 3. Questions and Answers
 

Chapter 3. Questions and Answers

This document may have been updated since your installation. -You can find the latest version at http://docs.kde.org/current/kde-module/.

3.1. I get the message 'No modules installed!'
3.1.

I get the message 'No modules installed!'

Kio-Sword uses the SWORD modules already installed on your system. - You need to install some modules from Crosswire.org - or use a SWORD frontend such as BibleTime to install the - modules you want. You may need to edit your sword configuration in ~/.sword/ or /etc/sword as per - the instructions on crosswire.org

\ No newline at end of file diff --git a/doc/en/index.docbook b/doc/en/index.docbook deleted file mode 100644 index 3f6ce2a..0000000 --- a/doc/en/index.docbook +++ /dev/null @@ -1,272 +0,0 @@ - -Kio-Sword"> - - - - -]> - - - - - - - - -The &tdeio_sword; Handbook - - - - - -Luke Plant - -
L.Plant.98@cantab.net
-
-
-
- - - - -2004-2006 -Luke Plant - - - - - - - -2006-12-16 -0.3.0 - - - - - -&tdeio_sword; is a Bible reading tool written for the TDE environment. It is a - front-end for the SWORD Bible system, and enables you to view, browse and search - your SWORD modules from the web browser (Konqueror). - - - - -KDE -tdeio_sword -tdeio-sword -Kio-Sword -kiosword -sword -SWORD -Bible -tdeio - - -
- - -Introduction - - -&tdeio_sword; is a Bible reading tool written for the TDE environment. It is a - front-end for the SWORD Bible system, and enables you to view, browse and search - your SWORD modules from the web browser (Konqueror). It is intended to - be a lightweight companion to programs like BibleTime (for the TDE environment) - and other SWORD programs. - - - Please report any problems or feature requests to the Trinity Desktop dev team. - - - - -Using &tdeio_sword; - -To start using &tdeio_sword; simply type sword:/ - in the location bar in Konqueror, and start browsing your SWORD modules. - To go directly to a section of a module, use a URL like this: -sword:/[modulename]/[reference] - -Examples - -sword:/KJV/Hebrews 1:3 - -Takes you straight to Hebrews 1:3 in the King James Version - - - - -sword:/StrongsGreek/01234 - -Returns the information about the Strongs Number 01234 (Greek) - - - - -sword:John 3:16 - -Redirects to John 3:16 in your default Bible - - - - - - -You can specify other options in the URL. See sword:/?settings. - - - -Questions and Answers - - - -&reporting.bugs; -&updating.documentation; - - - - -I get the message 'No modules installed!' - - -&tdeio_sword; uses the SWORD modules already installed on your system. - You need to install some modules from Crosswire.org - or use a SWORD frontend such as BibleTime to install the - modules you want. You may need to edit your sword configuration in ~/.sword/ or /etc/sword as per - the instructions on crosswire.org - - - - - - - - - -Credits and License - - -Program and documentation copyright 2004-2006 Luke Plant L.Plant.98@cantab.net - - -&underGPL; - -The code also draws ideas, methods and some code from BibleTime - Diatheke (included in the SWORD source distribution) and the SWORD libraries themselves (all of which are GPL software). See also the AUTHORS file distributed with &tdeio_sword; for other contributions. - -This &tdeio_sword; handbook is part of &tdeio_sword; and is licensed under the same terms. - - - - - - - - - - -Installation - - -How to obtain &tdeio_sword; - -Download from The &tdeio_sword; home page - - - - - -Requirements - - -The following libraries are required: -SWORD 1.5.8 or greater -TDE libraries - - - - - -You can find a list of changes at https://mirror.git.trinitydesktop.org/gitea/TDE/tdeio-sword. - - - - -Compilation and Installation - - -In order to compile and install &kappname; on your system, first - unpack the source code. Then type the following in the base directory - of the &kappname; distribution: - - - % mkdir -p build - % cd build - % cmake ../ - # make install - - -You will need the header files from the tdelibs library and SWORD installed on your system. Please take a look -at the INSTALL file for more cmake options. - -You will need to be root before doing the 'make install' step. - -Since &kappname; uses cmake you should have no trouble compiling it. Should you -run into problems please report them to the TDE dev team. - - - - -Configuration - -You will need to install SWORD modules before using &tdeio_sword;. -User settings can be saved via the 'Settings' page. - - - - - -&documentation.index; -
diff --git a/doc/en/index.html b/doc/en/index.html deleted file mode 100644 index 67c61fd..0000000 --- a/doc/en/index.html +++ /dev/null @@ -1,6 +0,0 @@ -The Kio-Sword Handbook
 

The Kio-Sword Handbook

Luke Plant <L.Plant.98@cantab.net>

Revision 0.3.0 (2006-12-16)

-Kio-Sword is a Bible reading tool written for the KDE environment. It is a - front-end for the SWORD Bible system, and enables you to view, browse and search - your SWORD modules from the web browser (Konqueror). -


\ No newline at end of file diff --git a/doc/en/installation.html b/doc/en/installation.html deleted file mode 100644 index d0bf2d6..0000000 --- a/doc/en/installation.html +++ /dev/null @@ -1,2 +0,0 @@ -Appendix A. Installation
 

Appendix A. Installation

How to obtain Kio-Sword

Download from The Kio-Sword home page

\ No newline at end of file diff --git a/doc/en/introduction.html b/doc/en/introduction.html deleted file mode 100644 index fd63f9f..0000000 --- a/doc/en/introduction.html +++ /dev/null @@ -1,9 +0,0 @@ -Chapter 1. Introduction
 

Chapter 1. Introduction

-Kio-Sword is a Bible reading tool written for the KDE environment. It is a - front-end for the SWORD Bible system, and enables you to view, browse and search - your SWORD modules from the web browser (Konqueror). It is intended to - be a lightweight companion to programs like BibleTime (for the KDE environment) - and other SWORD programs. -

Please report any problems or feature requests to the author. -

\ No newline at end of file diff --git a/doc/en/requirements.html b/doc/en/requirements.html deleted file mode 100644 index 336ea35..0000000 --- a/doc/en/requirements.html +++ /dev/null @@ -1,4 +0,0 @@ -Requirements
 

Requirements

The following libraries are required:

SWORD 1.5.8 or greater

KDE 3 or greater

-You can find a list of changes at http://apps.kde.org/kio_sword. -

\ No newline at end of file diff --git a/doc/en/tdeioslave/sword/index.docbook b/doc/en/tdeioslave/sword/index.docbook new file mode 100644 index 0000000..3f6ce2a --- /dev/null +++ b/doc/en/tdeioslave/sword/index.docbook @@ -0,0 +1,272 @@ + +Kio-Sword"> + + + + +]> + + + + + + + + +The &tdeio_sword; Handbook + + + + + +Luke Plant + +
L.Plant.98@cantab.net
+
+
+
+ + + + +2004-2006 +Luke Plant + + + + + + + +2006-12-16 +0.3.0 + + + + + +&tdeio_sword; is a Bible reading tool written for the TDE environment. It is a + front-end for the SWORD Bible system, and enables you to view, browse and search + your SWORD modules from the web browser (Konqueror). + + + + +KDE +tdeio_sword +tdeio-sword +Kio-Sword +kiosword +sword +SWORD +Bible +tdeio + + +
+ + +Introduction + + +&tdeio_sword; is a Bible reading tool written for the TDE environment. It is a + front-end for the SWORD Bible system, and enables you to view, browse and search + your SWORD modules from the web browser (Konqueror). It is intended to + be a lightweight companion to programs like BibleTime (for the TDE environment) + and other SWORD programs. + + + Please report any problems or feature requests to the Trinity Desktop dev team. + + + + +Using &tdeio_sword; + +To start using &tdeio_sword; simply type sword:/ + in the location bar in Konqueror, and start browsing your SWORD modules. + To go directly to a section of a module, use a URL like this: +sword:/[modulename]/[reference] + +Examples + +sword:/KJV/Hebrews 1:3 + +Takes you straight to Hebrews 1:3 in the King James Version + + + + +sword:/StrongsGreek/01234 + +Returns the information about the Strongs Number 01234 (Greek) + + + + +sword:John 3:16 + +Redirects to John 3:16 in your default Bible + + + + + + +You can specify other options in the URL. See sword:/?settings. + + + +Questions and Answers + + + +&reporting.bugs; +&updating.documentation; + + + + +I get the message 'No modules installed!' + + +&tdeio_sword; uses the SWORD modules already installed on your system. + You need to install some modules from Crosswire.org + or use a SWORD frontend such as BibleTime to install the + modules you want. You may need to edit your sword configuration in ~/.sword/ or /etc/sword as per + the instructions on crosswire.org + + + + + + + + + +Credits and License + + +Program and documentation copyright 2004-2006 Luke Plant L.Plant.98@cantab.net + + +&underGPL; + +The code also draws ideas, methods and some code from BibleTime + Diatheke (included in the SWORD source distribution) and the SWORD libraries themselves (all of which are GPL software). See also the AUTHORS file distributed with &tdeio_sword; for other contributions. + +This &tdeio_sword; handbook is part of &tdeio_sword; and is licensed under the same terms. + + + + + + + + + + +Installation + + +How to obtain &tdeio_sword; + +Download from The &tdeio_sword; home page + + + + + +Requirements + + +The following libraries are required: +SWORD 1.5.8 or greater +TDE libraries + + + + + +You can find a list of changes at https://mirror.git.trinitydesktop.org/gitea/TDE/tdeio-sword. + + + + +Compilation and Installation + + +In order to compile and install &kappname; on your system, first + unpack the source code. Then type the following in the base directory + of the &kappname; distribution: + + + % mkdir -p build + % cd build + % cmake ../ + # make install + + +You will need the header files from the tdelibs library and SWORD installed on your system. Please take a look +at the INSTALL file for more cmake options. + +You will need to be root before doing the 'make install' step. + +Since &kappname; uses cmake you should have no trouble compiling it. Should you +run into problems please report them to the TDE dev team. + + + + +Configuration + +You will need to install SWORD modules before using &tdeio_sword;. +User settings can be saved via the 'Settings' page. + + + + + +&documentation.index; +
diff --git a/doc/en/using-tdeio_sword.html b/doc/en/using-tdeio_sword.html deleted file mode 100644 index 1a56624..0000000 --- a/doc/en/using-tdeio_sword.html +++ /dev/null @@ -1,7 +0,0 @@ -Chapter 2. Using Kio-Sword
 

Chapter 2. Using Kio-Sword

To start using Kio-Sword simply type sword:/ - in the location bar in Konqueror, and start browsing your SWORD modules. - To go directly to a section of a module, use a URL like this: -sword:/[modulename]/[reference] -

Examples

sword:/KJV/Hebrews 1:3

Takes you straight to Hebrews 1:3 in the King James Version

sword:/StrongsGreek/01234

Returns the information about the Strongs Number 01234 (Greek)

sword:John 3:16

Redirects to John 3:16 in your default Bible

-

You can specify other options in the URL. See sword:/?settings.

\ No newline at end of file diff --git a/doc/html/compilation.html b/doc/html/compilation.html new file mode 100644 index 0000000..c3cb9a7 --- /dev/null +++ b/doc/html/compilation.html @@ -0,0 +1,9 @@ +Compilation and Installation
 

Compilation and Installation

In order to compile and install Kio-Sword on your system, first + unpack the source code. Then type the following in the base directory + of the Kio-Sword distribution:

% ./configure
+% make
+% make install
+

You will need the header files for tdelibs4 and SWORD installed on your system.

You will need to be root before doing the 'make install' step.

Since Kio-Sword uses autoconf and +automake you should have no trouble compiling it. Should you +run into problems please report them to the author.

\ No newline at end of file diff --git a/doc/html/configuration.html b/doc/html/configuration.html new file mode 100644 index 0000000..9ca975c --- /dev/null +++ b/doc/html/configuration.html @@ -0,0 +1,2 @@ +Configuration
 

Configuration

You will need to install SWORD modules before using Kio-Sword.

User settings can be saved via the 'Settings' page.

\ No newline at end of file diff --git a/doc/html/credits.html b/doc/html/credits.html new file mode 100644 index 0000000..d8c297b --- /dev/null +++ b/doc/html/credits.html @@ -0,0 +1,6 @@ +Chapter 4. Credits and License
 

Chapter 4. Credits and License

+Program and documentation copyright 2004-2006 Luke Plant <L.Plant.98@cantab.net> +

This program is licensed under the terms of the GNU General Public License.

The code also draws ideas, methods and some code from BibleTime + Diatheke (included in the SWORD source distribution) and the SWORD libraries themselves (all of which are GPL software). See also the AUTHORS file distributed with Kio-Sword for other contributions.

This Kio-Sword handbook is part of Kio-Sword and is licensed under the same terms. +

\ No newline at end of file diff --git a/doc/html/faq.html b/doc/html/faq.html new file mode 100644 index 0000000..a259b48 --- /dev/null +++ b/doc/html/faq.html @@ -0,0 +1,7 @@ +Chapter 3. Questions and Answers
 

Chapter 3. Questions and Answers

This document may have been updated since your installation. +You can find the latest version at http://docs.kde.org/current/kde-module/.

3.1. I get the message 'No modules installed!'
3.1.

I get the message 'No modules installed!'

Kio-Sword uses the SWORD modules already installed on your system. + You need to install some modules from Crosswire.org + or use a SWORD frontend such as BibleTime to install the + modules you want. You may need to edit your sword configuration in ~/.sword/ or /etc/sword as per + the instructions on crosswire.org

\ No newline at end of file diff --git a/doc/html/index.html b/doc/html/index.html new file mode 100644 index 0000000..67c61fd --- /dev/null +++ b/doc/html/index.html @@ -0,0 +1,6 @@ +The Kio-Sword Handbook
 

The Kio-Sword Handbook

Luke Plant <L.Plant.98@cantab.net>

Revision 0.3.0 (2006-12-16)

+Kio-Sword is a Bible reading tool written for the KDE environment. It is a + front-end for the SWORD Bible system, and enables you to view, browse and search + your SWORD modules from the web browser (Konqueror). +


\ No newline at end of file diff --git a/doc/html/installation.html b/doc/html/installation.html new file mode 100644 index 0000000..d0bf2d6 --- /dev/null +++ b/doc/html/installation.html @@ -0,0 +1,2 @@ +Appendix A. Installation
 

Appendix A. Installation

How to obtain Kio-Sword

Download from The Kio-Sword home page

\ No newline at end of file diff --git a/doc/html/introduction.html b/doc/html/introduction.html new file mode 100644 index 0000000..fd63f9f --- /dev/null +++ b/doc/html/introduction.html @@ -0,0 +1,9 @@ +Chapter 1. Introduction
 

Chapter 1. Introduction

+Kio-Sword is a Bible reading tool written for the KDE environment. It is a + front-end for the SWORD Bible system, and enables you to view, browse and search + your SWORD modules from the web browser (Konqueror). It is intended to + be a lightweight companion to programs like BibleTime (for the KDE environment) + and other SWORD programs. +

Please report any problems or feature requests to the author. +

\ No newline at end of file diff --git a/doc/html/requirements.html b/doc/html/requirements.html new file mode 100644 index 0000000..336ea35 --- /dev/null +++ b/doc/html/requirements.html @@ -0,0 +1,4 @@ +Requirements
 

Requirements

The following libraries are required:

SWORD 1.5.8 or greater

KDE 3 or greater

+You can find a list of changes at http://apps.kde.org/kio_sword. +

\ No newline at end of file diff --git a/doc/html/using-tdeio_sword.html b/doc/html/using-tdeio_sword.html new file mode 100644 index 0000000..1a56624 --- /dev/null +++ b/doc/html/using-tdeio_sword.html @@ -0,0 +1,7 @@ +Chapter 2. Using Kio-Sword
 

Chapter 2. Using Kio-Sword

To start using Kio-Sword simply type sword:/ + in the location bar in Konqueror, and start browsing your SWORD modules. + To go directly to a section of a module, use a URL like this: +sword:/[modulename]/[reference] +

Examples

sword:/KJV/Hebrews 1:3

Takes you straight to Hebrews 1:3 in the King James Version

sword:/StrongsGreek/01234

Returns the information about the Strongs Number 01234 (Greek)

sword:John 3:16

Redirects to John 3:16 in your default Bible

+

You can specify other options in the URL. See sword:/?settings.

\ No newline at end of file diff --git a/src/sword.protocol b/src/sword.protocol index b0d33fa..3e6caae 100644 --- a/src/sword.protocol +++ b/src/sword.protocol @@ -7,7 +7,7 @@ reading=true defaultMimetype=text/html Icon=tdeio_sword Description=A tdeioslave for quick access to Bible texts within Konqueror -X-DocPath=tdeio_sword/index.html +X-DocPath=tdeioslave/sword/index.html determineMimetypeFromExtension=false Class=:local URIMode=uri diff --git a/translations/CMakeLists.txt b/translations/CMakeLists.txt deleted file mode 100644 index 42b186a..0000000 --- a/translations/CMakeLists.txt +++ /dev/null @@ -1 +0,0 @@ -tde_auto_add_subdirectories() 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( ) -- cgit v1.2.1