From 2aaaa10f3fbb11dfda73aee7b6ca2ca9307be427 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Mon, 6 Apr 2020 16:32:16 +0200 Subject: Move translations to a new directory layout. Add support for LINGUAS for listing translations to install. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- doc/CMakeLists.txt | 21 +++++--- doc/en/CMakeLists.txt | 1 + doc/en/extra-steps.docbook | 4 ++ doc/en/index.docbook | 98 ++++++++++++++++++++++++++++++++++++ doc/en/introduction.docbook | 25 +++++++++ doc/en/profile-assign.docbook | 4 ++ doc/en/profile-create.docbook | 4 ++ doc/en/profile-setup.docbook | 4 ++ doc/en/profiles.docbook | 39 ++++++++++++++ doc/en/settings.docbook | 4 ++ doc/kiosktool/CMakeLists.txt | 1 - doc/kiosktool/extra-steps.docbook | 4 -- doc/kiosktool/index.docbook | 98 ------------------------------------ doc/kiosktool/introduction.docbook | 25 --------- doc/kiosktool/profile-assign.docbook | 4 -- doc/kiosktool/profile-create.docbook | 4 -- doc/kiosktool/profile-setup.docbook | 4 -- doc/kiosktool/profiles.docbook | 39 -------------- doc/kiosktool/settings.docbook | 4 -- 19 files changed, 197 insertions(+), 190 deletions(-) create mode 100644 doc/en/CMakeLists.txt create mode 100644 doc/en/extra-steps.docbook create mode 100644 doc/en/index.docbook create mode 100644 doc/en/introduction.docbook create mode 100644 doc/en/profile-assign.docbook create mode 100644 doc/en/profile-create.docbook create mode 100644 doc/en/profile-setup.docbook create mode 100644 doc/en/profiles.docbook create mode 100644 doc/en/settings.docbook delete mode 100644 doc/kiosktool/CMakeLists.txt delete mode 100644 doc/kiosktool/extra-steps.docbook delete mode 100644 doc/kiosktool/index.docbook delete mode 100644 doc/kiosktool/introduction.docbook delete mode 100644 doc/kiosktool/profile-assign.docbook delete mode 100644 doc/kiosktool/profile-create.docbook delete mode 100644 doc/kiosktool/profile-setup.docbook delete mode 100644 doc/kiosktool/profiles.docbook delete mode 100644 doc/kiosktool/settings.docbook (limited to 'doc') diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index f2efba2..70d6348 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -1,7 +1,14 @@ -add_subdirectory( ${PROJECT_NAME} ) -add_subdirectory( man ) -add_subdirectory( da ) -add_subdirectory( it ) -add_subdirectory( nl ) -add_subdirectory( pt ) -add_subdirectory( sv ) +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 new file mode 100644 index 0000000..ba3ef3e --- /dev/null +++ b/doc/en/CMakeLists.txt @@ -0,0 +1 @@ +tde_create_handbook( DESTINATION ${PROJECT_NAME} ) diff --git a/doc/en/extra-steps.docbook b/doc/en/extra-steps.docbook new file mode 100644 index 0000000..da9c35e --- /dev/null +++ b/doc/en/extra-steps.docbook @@ -0,0 +1,4 @@ + +Using Profiles with Older KDE Versions +&TODO; + diff --git a/doc/en/index.docbook b/doc/en/index.docbook new file mode 100644 index 0000000..99a6000 --- /dev/null +++ b/doc/en/index.docbook @@ -0,0 +1,98 @@ + +KIOSK Admin Tool"> + + + + + + + + + + + + +]> + + + + +The &kiosktool; Handbook + + + +Waldo +Bastian + +
bastian@kde.org
+
+
+ +
+ + +2004 +bastian@kde.org + + +&FDLNotice; + +2004-11-12 +1.0 + + +&kiosktool; +is a &kde; administration tool that offers system administrators an easy way to +predefine desktop configurations for groups of users, lock down settings or otherwise +restrict features of the &kde; desktop environment. + + + +KDE +KIOSK +kiosktool +administration +lock down +policy +policies +profile + + +
+ +&kiosktool-introduction; +&kiosktool-profiles; +&kiosktool-profile-create; +&kiosktool-profile-assign; +&kiosktool-profile-setup; +&kiosktool-extra-steps; +&kiosktool-settings; + + + +Credits and License + + +&kiosktool; + + +Program copyright 2004 Waldo Bastian bastian@kde.org + + +Documentation copyright 2004 Waldo Bastian bastian@kde.org + + + + +&underFDL; + + + +&documentation.index; + +
+ + diff --git a/doc/en/introduction.docbook b/doc/en/introduction.docbook new file mode 100644 index 0000000..629a78d --- /dev/null +++ b/doc/en/introduction.docbook @@ -0,0 +1,25 @@ + +Overview + +&kiosktool; is a &kde; administration tool that offers system administrators an easy way to +predefine desktop configurations for groups of users, lock down settings or otherwise +restrict features of the &kde; desktop environment. + +&kiosktool; takes advantage of KDE's KIOSK restrictions framework. It is centered around +profiles. A profile is a collection of default settings and +restrictions that can be applied to either individual users or groups of users. + +Typical usage of &kiosktool; is to +create a new profile, +then to set up the profile with the desired +default settings and restrictions, and finally to activate the profile by +assigning the profile to one or more users. + + + +When using &kiosktool; in combination with older versions of &kde; (KDE 3.2 or older) +some additional steps need to be taken in order +to properly activate the profiles. + + + diff --git a/doc/en/profile-assign.docbook b/doc/en/profile-assign.docbook new file mode 100644 index 0000000..057f1fc --- /dev/null +++ b/doc/en/profile-assign.docbook @@ -0,0 +1,4 @@ + +Assigning Profiles +&TODO; + diff --git a/doc/en/profile-create.docbook b/doc/en/profile-create.docbook new file mode 100644 index 0000000..f455920 --- /dev/null +++ b/doc/en/profile-create.docbook @@ -0,0 +1,4 @@ + +Creating a New Profile +&TODO; + diff --git a/doc/en/profile-setup.docbook b/doc/en/profile-setup.docbook new file mode 100644 index 0000000..31384e8 --- /dev/null +++ b/doc/en/profile-setup.docbook @@ -0,0 +1,4 @@ + +Setting up a Profile +&TODO; + diff --git a/doc/en/profiles.docbook b/doc/en/profiles.docbook new file mode 100644 index 0000000..4a20a1d --- /dev/null +++ b/doc/en/profiles.docbook @@ -0,0 +1,39 @@ + +Profiles +A profile is a collection of default settings and restrictions +that can be applied to either individual users or groups of users. + +The KDE desktop environment as well as all TDE applications use +a specific +directory structure +to lookup configuration settings and various other information. +KDE knows about several +locations +for these directory structures. +All the information and +configuration settings +found in the various locations are +combined +before they are used. +Lock down +features control whether settings in the user's home folder ($TDEHOME or ~/.trinity) +are taken into account or not. + + + +A profile consists of a standard KDE directory structure in a custom location with +settings and information chosen by you. + + +&kiosktool; lets you chose in which location +a profile should be stored. Information about available profiles is stored in +the file &etc_tderc;. + + +It is recommended to store all profiles under a single +directory. In this case the &etc_tderc; file only needs to contain a reference to this +single directory and KDE and &kiosktool; will automatically pick up all profiles stored +under this directory. See the chapter for more information. + + + diff --git a/doc/en/settings.docbook b/doc/en/settings.docbook new file mode 100644 index 0000000..d4e4a78 --- /dev/null +++ b/doc/en/settings.docbook @@ -0,0 +1,4 @@ + +&kiosktool; Settings +&TODO; + diff --git a/doc/kiosktool/CMakeLists.txt b/doc/kiosktool/CMakeLists.txt deleted file mode 100644 index ba3ef3e..0000000 --- a/doc/kiosktool/CMakeLists.txt +++ /dev/null @@ -1 +0,0 @@ -tde_create_handbook( DESTINATION ${PROJECT_NAME} ) diff --git a/doc/kiosktool/extra-steps.docbook b/doc/kiosktool/extra-steps.docbook deleted file mode 100644 index da9c35e..0000000 --- a/doc/kiosktool/extra-steps.docbook +++ /dev/null @@ -1,4 +0,0 @@ - -Using Profiles with Older KDE Versions -&TODO; - diff --git a/doc/kiosktool/index.docbook b/doc/kiosktool/index.docbook deleted file mode 100644 index 99a6000..0000000 --- a/doc/kiosktool/index.docbook +++ /dev/null @@ -1,98 +0,0 @@ - -KIOSK Admin Tool"> - - - - - - - - - - - - -]> - - - - -The &kiosktool; Handbook - - - -Waldo -Bastian - -
bastian@kde.org
-
-
- -
- - -2004 -bastian@kde.org - - -&FDLNotice; - -2004-11-12 -1.0 - - -&kiosktool; -is a &kde; administration tool that offers system administrators an easy way to -predefine desktop configurations for groups of users, lock down settings or otherwise -restrict features of the &kde; desktop environment. - - - -KDE -KIOSK -kiosktool -administration -lock down -policy -policies -profile - - -
- -&kiosktool-introduction; -&kiosktool-profiles; -&kiosktool-profile-create; -&kiosktool-profile-assign; -&kiosktool-profile-setup; -&kiosktool-extra-steps; -&kiosktool-settings; - - - -Credits and License - - -&kiosktool; - - -Program copyright 2004 Waldo Bastian bastian@kde.org - - -Documentation copyright 2004 Waldo Bastian bastian@kde.org - - - - -&underFDL; - - - -&documentation.index; - -
- - diff --git a/doc/kiosktool/introduction.docbook b/doc/kiosktool/introduction.docbook deleted file mode 100644 index 629a78d..0000000 --- a/doc/kiosktool/introduction.docbook +++ /dev/null @@ -1,25 +0,0 @@ - -Overview - -&kiosktool; is a &kde; administration tool that offers system administrators an easy way to -predefine desktop configurations for groups of users, lock down settings or otherwise -restrict features of the &kde; desktop environment. - -&kiosktool; takes advantage of KDE's KIOSK restrictions framework. It is centered around -profiles. A profile is a collection of default settings and -restrictions that can be applied to either individual users or groups of users. - -Typical usage of &kiosktool; is to -create a new profile, -then to set up the profile with the desired -default settings and restrictions, and finally to activate the profile by -assigning the profile to one or more users. - - - -When using &kiosktool; in combination with older versions of &kde; (KDE 3.2 or older) -some additional steps need to be taken in order -to properly activate the profiles. - - - diff --git a/doc/kiosktool/profile-assign.docbook b/doc/kiosktool/profile-assign.docbook deleted file mode 100644 index 057f1fc..0000000 --- a/doc/kiosktool/profile-assign.docbook +++ /dev/null @@ -1,4 +0,0 @@ - -Assigning Profiles -&TODO; - diff --git a/doc/kiosktool/profile-create.docbook b/doc/kiosktool/profile-create.docbook deleted file mode 100644 index f455920..0000000 --- a/doc/kiosktool/profile-create.docbook +++ /dev/null @@ -1,4 +0,0 @@ - -Creating a New Profile -&TODO; - diff --git a/doc/kiosktool/profile-setup.docbook b/doc/kiosktool/profile-setup.docbook deleted file mode 100644 index 31384e8..0000000 --- a/doc/kiosktool/profile-setup.docbook +++ /dev/null @@ -1,4 +0,0 @@ - -Setting up a Profile -&TODO; - diff --git a/doc/kiosktool/profiles.docbook b/doc/kiosktool/profiles.docbook deleted file mode 100644 index 4a20a1d..0000000 --- a/doc/kiosktool/profiles.docbook +++ /dev/null @@ -1,39 +0,0 @@ - -Profiles -A profile is a collection of default settings and restrictions -that can be applied to either individual users or groups of users. - -The KDE desktop environment as well as all TDE applications use -a specific -directory structure -to lookup configuration settings and various other information. -KDE knows about several -locations -for these directory structures. -All the information and -configuration settings -found in the various locations are -combined -before they are used. -Lock down -features control whether settings in the user's home folder ($TDEHOME or ~/.trinity) -are taken into account or not. - - - -A profile consists of a standard KDE directory structure in a custom location with -settings and information chosen by you. - - -&kiosktool; lets you chose in which location -a profile should be stored. Information about available profiles is stored in -the file &etc_tderc;. - - -It is recommended to store all profiles under a single -directory. In this case the &etc_tderc; file only needs to contain a reference to this -single directory and KDE and &kiosktool; will automatically pick up all profiles stored -under this directory. See the chapter for more information. - - - diff --git a/doc/kiosktool/settings.docbook b/doc/kiosktool/settings.docbook deleted file mode 100644 index d4e4a78..0000000 --- a/doc/kiosktool/settings.docbook +++ /dev/null @@ -1,4 +0,0 @@ - -&kiosktool; Settings -&TODO; - -- cgit v1.2.1