summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitmodules3
-rw-r--r--CMakeL10n.txt7
-rw-r--r--CMakeLists.txt16
-rw-r--r--Doxyfile248
-rw-r--r--README.md (renamed from README)58
m---------cmake0
-rw-r--r--doc/CMakeLists.txt2
-rw-r--r--doc/en/CMakeLists.txt1
-rw-r--r--doc/en/index.docbook9
-rw-r--r--doc/man/CMakeLists.txt5
-rw-r--r--doc/man/kkbswitch.14
-rw-r--r--doc/man/kkbswitch.sgml23
-rw-r--r--kkbswitch.tdevelop215
-rw-r--r--kkbswitch/CMakeL10n.txt7
-rw-r--r--kkbswitch/CMakeLists.txt9
-rw-r--r--kkbswitch/kbconfig.cpp12
-rw-r--r--kkbswitch/kbconfig.h5
-rw-r--r--kkbswitch/kbconfigdlg.cpp16
-rw-r--r--kkbswitch/kbconfigdlg.h2
-rw-r--r--kkbswitch/kbpickicondlg.cpp10
-rw-r--r--kkbswitch/kbpickicondlg.h2
-rw-r--r--kkbswitch/kbswitchapp.cpp50
-rw-r--r--kkbswitch/kbswitchapp.h6
-rw-r--r--kkbswitch/kbswitchintf.h2
-rw-r--r--kkbswitch/kbswitchtrayicon.cpp10
-rw-r--r--kkbswitch/kbswitchtrayicon.h2
-rw-r--r--kkbswitch/kkbswitch.desktop2
-rw-r--r--kkbswitch/singlewindowwatcher.h2
-rw-r--r--kkbswitch/windowclasswatcher.h2
-rw-r--r--kkbswitch/windowwatcher.cpp6
-rw-r--r--kkbswitch/windowwatcher.h2
-rw-r--r--kkbswitch/xkeyboard.h2
-rw-r--r--po/CMakeLists.txt6
-rw-r--r--translations/desktop_files/kkbswitch.desktop/kkbswitch.desktop.pot28
-rw-r--r--translations/desktop_files/kkbswitch.desktop/nl.po29
-rw-r--r--translations/desktop_files/kkbswitch.desktop/ru.po30
-rw-r--r--translations/desktop_files/kkbswitch.desktop/uk.po30
-rw-r--r--translations/messages/be.po (renamed from po/be.po)30
-rw-r--r--translations/messages/bg.po (renamed from po/bg.po)30
-rw-r--r--translations/messages/cs.po (renamed from po/cs.po)30
-rw-r--r--translations/messages/de.po328
-rw-r--r--translations/messages/el.po (renamed from po/el.po)28
-rw-r--r--translations/messages/fi.po (renamed from po/fi.po)30
-rw-r--r--translations/messages/he.po (renamed from po/he.po)30
-rw-r--r--translations/messages/kkbswitch.pot (renamed from po/kkbswitch.pot)28
-rw-r--r--translations/messages/nl.po321
-rw-r--r--translations/messages/pl.po364
-rw-r--r--translations/messages/ru.po (renamed from po/ru.po)68
-rw-r--r--translations/messages/sk.po (renamed from po/sk.po)30
-rw-r--r--translations/messages/sv.po (renamed from po/sv.po)30
-rw-r--r--translations/messages/uk.po (renamed from po/uk.po)101
51 files changed, 1625 insertions, 686 deletions
diff --git a/.gitmodules b/.gitmodules
deleted file mode 100644
index 69dd7b2..0000000
--- a/.gitmodules
+++ /dev/null
@@ -1,3 +0,0 @@
-[submodule "cmake"]
- path = cmake
- url = https://system@scm.trinitydesktop.org/scm/git/tde-common-cmake
diff --git a/CMakeL10n.txt b/CMakeL10n.txt
index a525b71..0176702 100644
--- a/CMakeL10n.txt
+++ b/CMakeL10n.txt
@@ -9,12 +9,15 @@
#
#################################################
-cmake_minimum_required( VERSION 2.8 )
+
+##### set project version ########################
+
+include( TDEVersion )
+cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} )
##### include our cmake modules #################
-set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" )
include( TDEL10n )
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 549b957..1d08c3a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -7,13 +7,16 @@
############################################
-cmake_minimum_required( VERSION 2.8 )
+##### set project version ########################
+
+include( TDEVersion )
+cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} )
+tde_set_project_version( )
#### general package setup
project( kkbswitch )
-set( VERSION R14.1.0 )
#### include essential cmake modules
@@ -29,7 +32,6 @@ include( CheckCXXSourceCompiles )
#### include our cmake modules
-set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" )
include( TDEMacros )
@@ -72,8 +74,12 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined"
add_subdirectory( icons )
add_subdirectory( ${PROJECT_NAME} )
add_subdirectory( ${PROJECT_NAME}.upd )
-tde_conditional_add_subdirectory( BUILD_DOC doc )
-tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po )
+
+
+##### other data ################################
+
+tde_conditional_add_project_docs( BUILD_DOC )
+tde_conditional_add_project_translations( BUILD_TRANSLATIONS )
##### write configure files
diff --git a/Doxyfile b/Doxyfile
deleted file mode 100644
index 70b6f75..0000000
--- a/Doxyfile
+++ /dev/null
@@ -1,248 +0,0 @@
-# Doxyfile 1.3.5-KDevelop
-
-#---------------------------------------------------------------------------
-# Project related configuration options
-#---------------------------------------------------------------------------
-PROJECT_NAME = kkbswitch.tdevelop
-PROJECT_NUMBER = 0.1
-OUTPUT_DIRECTORY =
-OUTPUT_LANGUAGE = English
-USE_WINDOWS_ENCODING = NO
-BRIEF_MEMBER_DESC = YES
-REPEAT_BRIEF = YES
-ABBREVIATE_BRIEF = "The $name class" \
- "The $name widget" \
- "The $name file" \
- is \
- provides \
- specifies \
- contains \
- represents \
- a \
- an \
- the
-ALWAYS_DETAILED_SEC = NO
-INLINE_INHERITED_MEMB = NO
-FULL_PATH_NAMES = NO
-STRIP_FROM_PATH = /home/lz/src/kkbswitch/kkbswitch/
-SHORT_NAMES = NO
-JAVADOC_AUTOBRIEF = NO
-MULTILINE_CPP_IS_BRIEF = NO
-DETAILS_AT_TOP = NO
-INHERIT_DOCS = YES
-DISTRIBUTE_GROUP_DOC = NO
-TAB_SIZE = 8
-ALIASES =
-OPTIMIZE_OUTPUT_FOR_C = NO
-OPTIMIZE_OUTPUT_JAVA = NO
-SUBGROUPING = YES
-#---------------------------------------------------------------------------
-# Build related configuration options
-#---------------------------------------------------------------------------
-EXTRACT_ALL = NO
-EXTRACT_PRIVATE = NO
-EXTRACT_STATIC = NO
-EXTRACT_LOCAL_CLASSES = YES
-HIDE_UNDOC_MEMBERS = NO
-HIDE_UNDOC_CLASSES = NO
-HIDE_FRIEND_COMPOUNDS = NO
-HIDE_IN_BODY_DOCS = NO
-INTERNAL_DOCS = NO
-CASE_SENSE_NAMES = YES
-HIDE_SCOPE_NAMES = NO
-SHOW_INCLUDE_FILES = YES
-INLINE_INFO = YES
-SORT_MEMBER_DOCS = YES
-SORT_BRIEF_DOCS = NO
-SORT_BY_SCOPE_NAME = NO
-GENERATE_TODOLIST = YES
-GENERATE_TESTLIST = YES
-GENERATE_BUGLIST = YES
-GENERATE_DEPRECATEDLIST= YES
-ENABLED_SECTIONS =
-MAX_INITIALIZER_LINES = 30
-SHOW_USED_FILES = YES
-#---------------------------------------------------------------------------
-# configuration options related to warning and progress messages
-#---------------------------------------------------------------------------
-QUIET = NO
-WARNINGS = YES
-WARN_IF_UNDOCUMENTED = YES
-WARN_IF_DOC_ERROR = YES
-WARN_FORMAT = "$file:$line: $text"
-WARN_LOGFILE =
-#---------------------------------------------------------------------------
-# configuration options related to the input files
-#---------------------------------------------------------------------------
-INPUT = /home/lz/src/kkbswitch/kkbswitch
-FILE_PATTERNS = *.c \
- *.cc \
- *.cxx \
- *.cpp \
- *.c++ \
- *.java \
- *.ii \
- *.ixx \
- *.ipp \
- *.i++ \
- *.inl \
- *.h \
- *.hh \
- *.hxx \
- *.hpp \
- *.h++ \
- *.idl \
- *.odl \
- *.cs \
- *.php \
- *.php3 \
- *.inc \
- *.C \
- *.H \
- *.tlh \
- *.diff \
- *.patch \
- *.moc \
- *.xpm \
- *.dox
-RECURSIVE = yes
-EXCLUDE =
-EXCLUDE_SYMLINKS = NO
-EXCLUDE_PATTERNS =
-EXAMPLE_PATH =
-EXAMPLE_PATTERNS = *
-EXAMPLE_RECURSIVE = NO
-IMAGE_PATH =
-INPUT_FILTER =
-FILTER_SOURCE_FILES = NO
-#---------------------------------------------------------------------------
-# configuration options related to source browsing
-#---------------------------------------------------------------------------
-SOURCE_BROWSER = NO
-INLINE_SOURCES = NO
-STRIP_CODE_COMMENTS = YES
-REFERENCED_BY_RELATION = YES
-REFERENCES_RELATION = YES
-VERBATIM_HEADERS = YES
-#---------------------------------------------------------------------------
-# configuration options related to the alphabetical class index
-#---------------------------------------------------------------------------
-ALPHABETICAL_INDEX = NO
-COLS_IN_ALPHA_INDEX = 5
-IGNORE_PREFIX =
-#---------------------------------------------------------------------------
-# configuration options related to the HTML output
-#---------------------------------------------------------------------------
-GENERATE_HTML = YES
-HTML_OUTPUT = html
-HTML_FILE_EXTENSION = .html
-HTML_HEADER =
-HTML_FOOTER =
-HTML_STYLESHEET =
-HTML_ALIGN_MEMBERS = YES
-GENERATE_HTMLHELP = NO
-CHM_FILE =
-HHC_LOCATION =
-GENERATE_CHI = NO
-BINARY_TOC = NO
-TOC_EXPAND = NO
-DISABLE_INDEX = NO
-ENUM_VALUES_PER_LINE = 4
-GENERATE_TREEVIEW = NO
-TREEVIEW_WIDTH = 250
-#---------------------------------------------------------------------------
-# configuration options related to the LaTeX output
-#---------------------------------------------------------------------------
-GENERATE_LATEX = YES
-LATEX_OUTPUT = latex
-LATEX_CMD_NAME = latex
-MAKEINDEX_CMD_NAME = makeindex
-COMPACT_LATEX = NO
-PAPER_TYPE = a4wide
-EXTRA_PACKAGES =
-LATEX_HEADER =
-PDF_HYPERLINKS = NO
-USE_PDFLATEX = NO
-LATEX_BATCHMODE = NO
-LATEX_HIDE_INDICES = NO
-#---------------------------------------------------------------------------
-# configuration options related to the RTF output
-#---------------------------------------------------------------------------
-GENERATE_RTF = NO
-RTF_OUTPUT = rtf
-COMPACT_RTF = NO
-RTF_HYPERLINKS = NO
-RTF_STYLESHEET_FILE =
-RTF_EXTENSIONS_FILE =
-#---------------------------------------------------------------------------
-# configuration options related to the man page output
-#---------------------------------------------------------------------------
-GENERATE_MAN = NO
-MAN_OUTPUT = man
-MAN_EXTENSION = .3
-MAN_LINKS = NO
-#---------------------------------------------------------------------------
-# configuration options related to the XML output
-#---------------------------------------------------------------------------
-GENERATE_XML = yes
-XML_OUTPUT = xml
-XML_SCHEMA =
-XML_DTD =
-XML_PROGRAMLISTING = YES
-#---------------------------------------------------------------------------
-# configuration options for the AutoGen Definitions output
-#---------------------------------------------------------------------------
-GENERATE_AUTOGEN_DEF = NO
-#---------------------------------------------------------------------------
-# configuration options related to the Perl module output
-#---------------------------------------------------------------------------
-GENERATE_PERLMOD = NO
-PERLMOD_LATEX = NO
-PERLMOD_PRETTY = YES
-PERLMOD_MAKEVAR_PREFIX =
-#---------------------------------------------------------------------------
-# Configuration options related to the preprocessor
-#---------------------------------------------------------------------------
-ENABLE_PREPROCESSING = YES
-MACRO_EXPANSION = NO
-EXPAND_ONLY_PREDEF = NO
-SEARCH_INCLUDES = YES
-INCLUDE_PATH =
-INCLUDE_FILE_PATTERNS =
-PREDEFINED =
-EXPAND_AS_DEFINED =
-SKIP_FUNCTION_MACROS = YES
-#---------------------------------------------------------------------------
-# Configuration::additions related to external references
-#---------------------------------------------------------------------------
-TAGFILES =
-GENERATE_TAGFILE =
-ALLEXTERNALS = NO
-EXTERNAL_GROUPS = YES
-PERL_PATH = /usr/bin/perl
-#---------------------------------------------------------------------------
-# Configuration options related to the dot tool
-#---------------------------------------------------------------------------
-CLASS_DIAGRAMS = YES
-HIDE_UNDOC_RELATIONS = YES
-HAVE_DOT = NO
-CLASS_GRAPH = YES
-COLLABORATION_GRAPH = YES
-UML_LOOK = NO
-TEMPLATE_RELATIONS = NO
-INCLUDE_GRAPH = YES
-INCLUDED_BY_GRAPH = YES
-CALL_GRAPH = NO
-GRAPHICAL_HIERARCHY = YES
-DOT_IMAGE_FORMAT = png
-DOT_PATH =
-DOTFILE_DIRS =
-MAX_DOT_GRAPH_WIDTH = 1024
-MAX_DOT_GRAPH_HEIGHT = 1024
-MAX_DOT_GRAPH_DEPTH = 1000
-GENERATE_LEGEND = YES
-DOT_CLEANUP = YES
-#---------------------------------------------------------------------------
-# Configuration::additions related to the search engine
-#---------------------------------------------------------------------------
-SEARCHENGINE = NO
diff --git a/README b/README.md
index 530f491..7b065a6 100644
--- a/README
+++ b/README.md
@@ -1,7 +1,6 @@
KKBSwitch - a keyboard layout indicator for TDE.
-
KKBSwitch displays an icon in the system tray that indicates which
layout is currently active and enables you to switch layouts by clicking
the icon or by selecting from the menu.
@@ -16,6 +15,8 @@ group.
Features include:
+-----------------
+
- displays an icon in the system tray indicating the active keyboard
group.
- Configurable icons for the keyboard layouts (chosen from country flag
@@ -31,26 +32,27 @@ NB: You still have to configure XKeyboard with the usual xorg options
(XkbModel, XkbLayout, XkbVariant and XkbOptions).
-Using KKBSwicth.
+Using KKBSwitch
+-----------------
The most basic usage is simply to let it sit in the system tray and show
you which keyboard group is currently active. You can also click the
-KKBSwicth system tray icon to switch keyboard layouts.
+KKBSwitch system tray icon to switch keyboard layouts.
When right-clicked, the system tray icon displays a menu with the
following entries:
- one or more entries corresponding to the configured keyboard groups
-(XKeyboard can have up to 4 groups configured). The currently active
-group will be checked.
-
-Selecting a menu entry corresponding to a group will make that group
-active.
+ (XKeyboard can have up to 4 groups configured). The currently active
+ group will be checked.
+ Selecting a menu entry corresponding to a group will make that group
+ active.
- "Configure Keyboard Switch..." entry lets you configure KKBSwitch
- "About Keyboard Switch" displays a standard "About" dialog
- "Quit" quits KKBSwitch.
-Configuring KKBSwicth.
+Configuring KKBSwitch
+-----------------------
In the KKBSwitch configuration dialog you can do the following:
- set the icons corresponding to the available keyboard groups. Note
@@ -79,17 +81,43 @@ with an asterisk in the KKBSwitch tray icon's menu.
DCOP Bindings
+---------------
As of version 0.2, KKBSwitch can be manipulated programmatically with
DCOP. It exports an interface named KBSwitchIntf.
The interfaces offers the following methods:
- int getNumKbdGroups() returns the number of configured keyboard
-groups (layouts)
+ groups (layouts)
- ASYNC selectNextGroup() does the same thing as clicking on the
-KKBSwitch's tray icon, i.e. makes the next keyboard group active.
-If in "toggle mode", toggles between the two recently used ones, just
-like clicking on the tray icon does.
+ KKBSwitch's tray icon, i.e. makes the next keyboard group active.
+ If in "toggle mode", toggles between the two recently used ones, just
+ like clicking on the tray icon does.
- ASYNC selectGroup(int groupno) makes the group whose number is
-groupno active (like selecting a group from the tray icon popup menu)
+ groupno active (like selecting a group from the tray icon popup menu)
- TQStringList getGroupNames() returns the list of the keyboard group
-names as configured in XKeyboard.
+ names as configured in XKeyboard.
+
+.
+
+Contributing
+--------------
+
+If you wish to contribute to kkbswitch, you might do so:
+
+- TDE Gitea Workspace (TGW) collaboration tool.
+ https://mirror.git.trinitydesktop.org/gitea
+
+- TDE Weblate Translation Workspace (TWTW) collaboration tool.
+ https://mirror.git.trinitydesktop.org/weblate
+
+
+Translations status
+---------------------
+
+### messages
+[![Translations status](https://mirror.git.trinitydesktop.org/weblate/widgets/applications/-/kkbswitch/multi-auto.svg
+"Engage in translating")](https://mirror.git.trinitydesktop.org/weblate/projects/applications/kkbswitch/)
+
+### desktop files
+[![Translations status](https://mirror.git.trinitydesktop.org/weblate/widgets/applications/-/kkbswitch-kkbswitchdesktop/multi-auto.svg
+"Engage in translating")](https://mirror.git.trinitydesktop.org/weblate/projects/applications/kkbswitch-kkbswitchdesktop/)
diff --git a/cmake b/cmake
deleted file mode 160000
-Subproject 5121b9a41d671dbaf7350c349d246793d8d8a4e
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
deleted file mode 100644
index f9197e5..0000000
--- a/doc/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory( en )
-add_subdirectory( man )
diff --git a/doc/en/CMakeLists.txt b/doc/en/CMakeLists.txt
deleted file mode 100644
index ba3ef3e..0000000
--- a/doc/en/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-tde_create_handbook( DESTINATION ${PROJECT_NAME} )
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index 159dbdb..b604f9f 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -629,12 +629,3 @@ manually from command prompt our in one of your X session startup script.
&documentation.index;
</book>
-<!--
-Local Variables:
-mode: sgml
-sgml-minimize-attributes:nil
-sgml-general-insert-case:lower
-sgml-indent-step:0
-sgml-indent-data:nil
-End:
--->
diff --git a/doc/man/CMakeLists.txt b/doc/man/CMakeLists.txt
deleted file mode 100644
index 8512250..0000000
--- a/doc/man/CMakeLists.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-INSTALL(
- FILES ${PROJECT_NAME}.1
- DESTINATION ${MAN_INSTALL_DIR}/man1
- COMPONENT doc
-)
diff --git a/doc/man/kkbswitch.1 b/doc/man/kkbswitch.1
index 11c23d5..9e767d8 100644
--- a/doc/man/kkbswitch.1
+++ b/doc/man/kkbswitch.1
@@ -9,7 +9,7 @@
kkbswitch \- A keyboard layout indicator for TDE.
.SH SYNOPSIS
-\fBkkbswitch\fR [ \fB\-\-help\fI\fB\fR ] [ \fB\-\-help-tde\fI\fB\fR ] [ \fB\-\-help-qt\fI\fB\fR ] [ \fB\-\-version\fI \-v\fB\fR ] [ \fB\-\-license\fI\fB\fR ] [ \fB\-\-author\fI\fB\fR ] [ \fB\-\-caption <caption>\fI\fB\fR ] [ \fB\-\-icon <icon>\fI\fB\fR ] [ \fB\-\-miniicon <icon>\fI\fB\fR ] [ \fB\-\-dcopserver <server>\fI\fB\fR ] [ \fB\-\-nocrashhandler\fI\fB\fR ] [ \fB\-\-waitforwm\fI\fB\fR ] [ \fB\-\-style <style>\fI\fB\fR ] [ \fB\-\-geometry <geometry>\fI\fB\fR ] [ \fB\-\-display <display>\fI\fB\fR ] [ \fB\-\-session <sessionid>\fI\fB\fR ] [ \fB\-\-cmap\fI\fB\fR ] [ \fB\-\-ncols <columns>\fI\fB\fR ] [ \fB\-\-nograb\fI\fB\fR ] [ \fB\-\-dograb\fI\fB\fR ] [ \fB\-\-sync\fI\fB\fR ] [ \fB\-\-font\fI \-\-fn <fontname>\fB\fR ] [ \fB\-\-background\fI \-\-bg <colour>\fB\fR ] [ \fB\-\-button\fI \-\-btn <colour>\fB\fR ] [ \fB\-\-name\fI <name>\fB\fR ] [ \fB\-\-title\fI <title>\fB\fR ] [ \fB\-\-visual\fI TrueColor\fB\fR ] [ \fB\-\-inputstyle\fI <style>\fB\fR ] [ \fB\-\-im\fI <server>\fB\fR ] [ \fB\-\-noxim\fI\fB\fR ]
+\fBkkbswitch\fR [ \fB\-\-help\fI\fB\fR ] [ \fB\-\-help-tde\fI\fB\fR ] [ \fB\-\-help-tqt\fI\fB\fR ] [ \fB\-\-version\fI \-v\fB\fR ] [ \fB\-\-license\fI\fB\fR ] [ \fB\-\-author\fI\fB\fR ] [ \fB\-\-caption <caption>\fI\fB\fR ] [ \fB\-\-icon <icon>\fI\fB\fR ] [ \fB\-\-miniicon <icon>\fI\fB\fR ] [ \fB\-\-dcopserver <server>\fI\fB\fR ] [ \fB\-\-nocrashhandler\fI\fB\fR ] [ \fB\-\-waitforwm\fI\fB\fR ] [ \fB\-\-style <style>\fI\fB\fR ] [ \fB\-\-geometry <geometry>\fI\fB\fR ] [ \fB\-\-display <display>\fI\fB\fR ] [ \fB\-\-session <sessionid>\fI\fB\fR ] [ \fB\-\-cmap\fI\fB\fR ] [ \fB\-\-ncols <columns>\fI\fB\fR ] [ \fB\-\-nograb\fI\fB\fR ] [ \fB\-\-dograb\fI\fB\fR ] [ \fB\-\-sync\fI\fB\fR ] [ \fB\-\-font\fI \-\-fn <fontname>\fB\fR ] [ \fB\-\-background\fI \-\-bg <colour>\fB\fR ] [ \fB\-\-button\fI \-\-btn <colour>\fB\fR ] [ \fB\-\-name\fI <name>\fB\fR ] [ \fB\-\-title\fI <title>\fB\fR ] [ \fB\-\-visual\fI TrueColor\fB\fR ] [ \fB\-\-inputstyle\fI <style>\fB\fR ] [ \fB\-\-im\fI <server>\fB\fR ] [ \fB\-\-noxim\fI\fB\fR ]
.SH "DESCRIPTION"
.PP
@@ -81,7 +81,7 @@ Forces use of an internal colour map on an 8-bit display.
Limits the number of colours allowed in an 8-bit display.
.TP
\fB\-\-nograb \fR
-Forces Qt to never grab the mouse or keyboard.
+Forces TQt to never grab the mouse or keyboard.
.TP
\fB\-\-dograb \fR
Overrides \-\-nograb, which may be implicitly set.
diff --git a/doc/man/kkbswitch.sgml b/doc/man/kkbswitch.sgml
index 96a16f7..a6ea3ba 100644
--- a/doc/man/kkbswitch.sgml
+++ b/doc/man/kkbswitch.sgml
@@ -65,7 +65,7 @@ manpage.1: manpage.sgml
<arg><option>--help<replaceable></replaceable></option></arg>
<arg><option>--help-kde<replaceable></replaceable></option></arg>
- <arg><option>--help-qt<replaceable></replaceable></option></arg>
+ <arg><option>--help-tqt<replaceable></replaceable></option></arg>
<arg><option>--version<replaceable> -v</replaceable></option></arg>
<arg><option>--license<replaceable></replaceable</option></arg>
<arg><option>--author<replaceable></replaceable></option></arg>
@@ -241,7 +241,7 @@ manpage.1: manpage.sgml
<term><option>--nograb</option>
</term>
<listitem>
- <para>Forces Qt to never grab the mouse or keyboard.</para>
+ <para>Forces TQt to never grab the mouse or keyboard.</para>
</listitem>
</varlistentry>
<varlistentry>
@@ -354,22 +354,3 @@ manpage.1: manpage.sgml
</refsect1>
</refentry>
-
-<!-- Keep this comment at the end of the file
-Local variables:
-mode: sgml
-sgml-omittag:t
-sgml-shorttag:t
-sgml-minimize-attributes:nil
-sgml-always-quote-attributes:t
-sgml-indent-step:2
-sgml-indent-data:t
-sgml-parent-document:nil
-sgml-default-dtd-file:nil
-sgml-exposed-tags:nil
-sgml-local-catalogs:nil
-sgml-local-ecat-files:nil
-End:
--->
-
-
diff --git a/kkbswitch.tdevelop b/kkbswitch.tdevelop
deleted file mode 100644
index e328c8d..0000000
--- a/kkbswitch.tdevelop
+++ /dev/null
@@ -1,215 +0,0 @@
-<?xml version = '1.0'?>
-<tdevelop>
- <general>
- <author>Leonid Zeitlin</author>
- <email>lz@europe.com</email>
- <version>1.4.1</version>
- <projectmanagement>KDevKDEAutoProject</projectmanagement>
- <primarylanguage>C++</primarylanguage>
- <keywords>
- <keyword>C++</keyword>
- <keyword>Code</keyword>
- <keyword>Qt</keyword>
- <keyword>KDE</keyword>
- </keywords>
- <projectdirectory>.</projectdirectory>
- <absoluteprojectpath>false</absoluteprojectpath>
- <description/>
- <ignoreparts>
- <part>KDevClearCase</part>
- <part>KDevPerforce</part>
- </ignoreparts>
- <secondaryLanguages/>
- </general>
- <kdevautoproject>
- <general>
- <activetarget>kkbswitch/kkbswitch</activetarget>
- <useconfiguration>default</useconfiguration>
- </general>
- <run>
- <mainprogram>kkbswitch/kkbswitch</mainprogram>
- <directoryradio>build</directoryradio>
- <runarguments>
- <kkbswitch/>
- </runarguments>
- <customdirectory>/</customdirectory>
- <programargs/>
- <terminal>false</terminal>
- <autocompile>true</autocompile>
- <envvars/>
- </run>
- <configurations>
- <optimized>
- <builddir>optimized</builddir>
- <ccompiler>kdevgccoptions</ccompiler>
- <cxxcompiler>kdevgppoptions</cxxcompiler>
- <f77compiler>kdevg77options</f77compiler>
- <cxxflags>-O2 -g0</cxxflags>
- </optimized>
- <debug>
- <configargs>--enable-debug=full</configargs>
- <builddir>debug</builddir>
- <ccompiler>kdevgccoptions</ccompiler>
- <cxxcompiler>kdevgppoptions</cxxcompiler>
- <f77compiler>kdevg77options</f77compiler>
- <cxxflags>-O0 -g3</cxxflags>
- <envvars/>
- </debug>
- </configurations>
- <make>
- <envvars>
- <envvar value="1" name="WANT_AUTOCONF_2_5" />
- <envvar value="1" name="WANT_AUTOMAKE_1_6" />
- </envvars>
- <abortonerror>true</abortonerror>
- <numberofjobs>1</numberofjobs>
- <dontact>false</dontact>
- <makebin/>
- </make>
- </kdevautoproject>
- <kdevfileview>
- <groups>
- <group pattern="*.cpp;*.cxx;*.h" name="Sources" />
- <group pattern="*.ui" name="User Interface" />
- <group pattern="*.png" name="Icons" />
- <group pattern="*.po;*.ts" name="Translations" />
- <group pattern="*" name="Others" />
- <hidenonprojectfiles>false</hidenonprojectfiles>
- <hidenonlocation>false</hidenonlocation>
- </groups>
- <tree>
- <hidepatterns>*.o,*.lo,CVS</hidepatterns>
- <hidenonprojectfiles>false</hidenonprojectfiles>
- </tree>
- </kdevfileview>
- <kdevdoctreeview>
- <ignoretocs>
- <toc>ada</toc>
- <toc>ada_bugs_gcc</toc>
- <toc>bash</toc>
- <toc>bash_bugs</toc>
- <toc>clanlib</toc>
- <toc>w3c-dom-level2-html</toc>
- <toc>fortran_bugs_gcc</toc>
- <toc>gnome1</toc>
- <toc>gnustep</toc>
- <toc>gtk</toc>
- <toc>gtk_bugs</toc>
- <toc>haskell</toc>
- <toc>haskell_bugs_ghc</toc>
- <toc>java_bugs_gcc</toc>
- <toc>java_bugs_sun</toc>
- <toc>pascal_bugs_fp</toc>
- <toc>php</toc>
- <toc>php_bugs</toc>
- <toc>perl</toc>
- <toc>perl_bugs</toc>
- <toc>python</toc>
- <toc>python_bugs</toc>
- <toc>ruby</toc>
- <toc>ruby_bugs</toc>
- <toc>sdl</toc>
- <toc>w3c-svg</toc>
- <toc>sw</toc>
- <toc>w3c-uaag10</toc>
- <toc>wxwindows_bugs</toc>
- <toc>libmilter</toc>
- <toc>c++_bugs_gcc</toc>
- <toc>kdev3api</toc>
- <toc>libc</toc>
- <toc>libstdc++</toc>
- <toc>opengl</toc>
- <toc>qt-kdev3</toc>
- </ignoretocs>
- <ignoreqt_xml>
- <toc>qmake User Guide</toc>
- <toc>Guide to the Qt Translation Tools</toc>
- <toc>Qt Assistant Manual</toc>
- </ignoreqt_xml>
- <projectdoc>
- <userdocDir>html/</userdocDir>
- <apidocDir>html/</apidocDir>
- </projectdoc>
- <ignoredoxygen/>
- <ignorekdocs/>
- <ignoredevhelp/>
- </kdevdoctreeview>
- <kdevdebugger>
- <general>
- <dbgshell>libtool</dbgshell>
- <programargs/>
- <gdbpath/>
- <configGdbScript/>
- <runShellScript/>
- <runGdbScript/>
- <breakonloadinglibs>true</breakonloadinglibs>
- <separatetty>false</separatetty>
- <floatingtoolbar>false</floatingtoolbar>
- </general>
- <display>
- <staticmembers>false</staticmembers>
- <demanglenames>true</demanglenames>
- <outputradix>10</outputradix>
- </display>
- </kdevdebugger>
- <kdevfilecreate>
- <filetypes/>
- <useglobaltypes>
- <type ext="ui" />
- <type ext="cpp" />
- <type ext="h" />
- </useglobaltypes>
- </kdevfilecreate>
- <kdevcppsupport>
- <references/>
- <codecompletion>
- <includeGlobalFunctions>true</includeGlobalFunctions>
- <includeTypes>true</includeTypes>
- <includeEnums>true</includeEnums>
- <includeTypedefs>false</includeTypedefs>
- <automaticCodeCompletion>true</automaticCodeCompletion>
- <automaticArgumentsHint>true</automaticArgumentsHint>
- <automaticHeaderCompletion>true</automaticHeaderCompletion>
- <codeCompletionDelay>250</codeCompletionDelay>
- <argumentsHintDelay>400</argumentsHintDelay>
- <headerCompletionDelay>250</headerCompletionDelay>
- </codecompletion>
- </kdevcppsupport>
- <cppsupportpart>
- <filetemplates>
- <interfacesuffix>.h</interfacesuffix>
- <implementationsuffix>.cpp</implementationsuffix>
- </filetemplates>
- </cppsupportpart>
- <dist>
- <custom>false</custom>
- <bzip>false</bzip>
- <archname/>
- <appname/>
- <version>1.3.2</version>
- <release/>
- <vendor/>
- <licence/>
- <summary/>
- <group/>
- <packager/>
- <description/>
- <changelog/>
- <devpackage>false</devpackage>
- <docspackage>false</docspackage>
- <appicon>false</appicon>
- <arch>0</arch>
- <genHTML>false</genHTML>
- <useRPM>false</useRPM>
- <ftpkde>false</ftpkde>
- <appskde>false</appskde>
- <url/>
- </dist>
- <kdevdocumentation>
- <projectdoc>
- <docsystem/>
- <docurl/>
- <usermanualurl/>
- </projectdoc>
- </kdevdocumentation>
-</tdevelop>
diff --git a/kkbswitch/CMakeL10n.txt b/kkbswitch/CMakeL10n.txt
index ec68342..6b75aed 100644
--- a/kkbswitch/CMakeL10n.txt
+++ b/kkbswitch/CMakeL10n.txt
@@ -1,3 +1,8 @@
##### create translation templates ##############
-tde_l10n_create_template( "kkbswitch" )
+tde_l10n_create_template( "messages/kkbswitch" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kkbswitch.desktop/"
+ SOURCES kkbswitch.desktop
+)
diff --git a/kkbswitch/CMakeLists.txt b/kkbswitch/CMakeLists.txt
index d6db9b5..c91c59e 100644
--- a/kkbswitch/CMakeLists.txt
+++ b/kkbswitch/CMakeLists.txt
@@ -45,14 +45,11 @@ tde_add_executable( ${PROJECT_NAME} AUTOMOC
##### other data
-install(
- FILES ${PROJECT_NAME}.desktop
- DESTINATION ${AUTOSTART_INSTALL_DIR}
-)
+tde_create_translated_desktop( ${PROJECT_NAME}.desktop )
install(
- FILES ${PROJECT_NAME}.desktop
- DESTINATION ${APPS_INSTALL_DIR}/Utilities
+ FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.desktop
+ DESTINATION ${AUTOSTART_INSTALL_DIR}
)
install(
diff --git a/kkbswitch/kbconfig.cpp b/kkbswitch/kbconfig.cpp
index 0113d1d..a50a3a9 100644
--- a/kkbswitch/kbconfig.cpp
+++ b/kkbswitch/kbconfig.cpp
@@ -107,8 +107,18 @@ void KBConfig::load(TDEConfig *config){
m_keys->insert(TQString::fromLatin1("SetGroup %1").arg(i),
i18n("Activate %1 keyboard layout").arg(m_groups[i]->getName()),
TQString::null, TQt::ALT+TQt::CTRL+TQt::Key_1 + i, KKey::QtWIN+TQt::CTRL+TQt::Key_1 + i,
- kapp, SLOT(slotGroupSelected(int)));
+ kapp, TQ_SLOT(slotGroupSelected(int)));
}
+ m_keys->insert("NextGroup", i18n("Cycle keyboard layouts"),
+ i18n("Activates the next keyboard layout or, if the current layout is the last one, "
+ "activates the first layout."),
+ TQt::SHIFT+TQt::CTRL+TQt::Key_Plus, TQt::SHIFT+TQt::CTRL+TQt::Key_Plus,
+ kapp, TQ_SLOT(slotSelectNextGroup()));
+ m_keys->insert("PrevGroup", i18n("Cycle keyboard layouts (reverse)"),
+ i18n("Activates the previous keyboard layout or, if the current layout is the first one, "
+ "activates the last layout."),
+ TQt::SHIFT+TQt::CTRL+TQt::Key_Minus, TQt::SHIFT+TQt::CTRL+TQt::Key_Minus,
+ kapp, TQ_SLOT(slotSelectPrevGroup()));
m_keys->readSettings(config);
checkKeysEnabled();
}
diff --git a/kkbswitch/kbconfig.h b/kkbswitch/kbconfig.h
index 5ff3936..93fd13c 100644
--- a/kkbswitch/kbconfig.h
+++ b/kkbswitch/kbconfig.h
@@ -85,9 +85,12 @@ public:
void drawIcons(IconStyle icon_style, TQValueVector<TQPixmap> *icons,
TQStringList *iconpaths);
void checkKeysEnabled();
+ int getPrevGroup(int groupno) {
+ return groupno == 0 ? groupCount() - 1 : groupno - 1;
+ }
int getNextGroup(int groupno) {
return groupno >= groupCount() - 1 ? 0 : groupno + 1;
- }
+ }
private: // Private methods
/** No descriptions */
//void guessGroupPixmaps();
diff --git a/kkbswitch/kbconfigdlg.cpp b/kkbswitch/kbconfigdlg.cpp
index 6b1c73d..234802d 100644
--- a/kkbswitch/kbconfigdlg.cpp
+++ b/kkbswitch/kbconfigdlg.cpp
@@ -124,9 +124,9 @@ void KBConfigDlg::setupGeneralPage()
groupsLayout->setSpacing(2);
lbGroups = new TDEListBox(page);
- TQObject::connect(lbGroups, SIGNAL(selectionChanged()), this, SLOT(slotLayoutSelected()));
- TQObject::connect(lbGroups, SIGNAL(doubleClicked(TQListBoxItem *)), this,
- SLOT(slotListBoxExecuted(TQListBoxItem *)));
+ TQObject::connect(lbGroups, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(slotLayoutSelected()));
+ TQObject::connect(lbGroups, TQ_SIGNAL(doubleClicked(TQListBoxItem *)), this,
+ TQ_SLOT(slotListBoxExecuted(TQListBoxItem *)));
groupsLayout->addWidget(lbGroups);
lbl->setBuddy(lbGroups);
TQWhatsThis::add(lbGroups, i18n("This list box shows keyboard layouts available in your system.\n"
@@ -139,19 +139,19 @@ void KBConfigDlg::setupGeneralPage()
btnLayout->setSpacing(2);
btnChangeIcon = new TQPushButton(i18n("Cha&nge Icon..."), page);
- TQObject::connect(btnChangeIcon, SIGNAL(clicked()), this, SLOT(slotPickIcon()));
+ TQObject::connect(btnChangeIcon, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotPickIcon()));
btnLayout->addWidget(btnChangeIcon, 0, TQt::AlignTop);
TQWhatsThis::add(btnChangeIcon, i18n("Click this button to change the icon for the "
"layout selected in the list box to the left."));
btnSetDefaultIcon = new TQPushButton(i18n("Use &Default Icon"), page);
- TQObject::connect(btnSetDefaultIcon, SIGNAL(clicked()), this, SLOT(slotSetDefaultIcon()));
+ TQObject::connect(btnSetDefaultIcon, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSetDefaultIcon()));
btnLayout->addWidget(btnSetDefaultIcon, 0, TQt::AlignTop);
TQWhatsThis::add(btnSetDefaultIcon, i18n("Click this button to use default icon for the "
"layout selected in the list box to the left."));
btnSetDefaultGroup = new TQPushButton(i18n("&Set as Default"), page);
- TQObject::connect(btnSetDefaultGroup, SIGNAL(clicked()), this, SLOT(slotSetDefaultGroup()));
+ TQObject::connect(btnSetDefaultGroup, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSetDefaultGroup()));
btnLayout->addWidget(btnSetDefaultGroup, 0, TQt::AlignTop);
TQWhatsThis::add(btnSetDefaultGroup, i18n("Click this button to set the layout selected "
"in the list box to the left as the default"));
@@ -167,7 +167,7 @@ void KBConfigDlg::setupGeneralPage()
cbxIconType->insertItem(i18n("Country flag"));
cbxIconType->insertItem(i18n("Language code"));
cbxIconType->insertItem(i18n("Flag and code"));
- TQObject::connect(cbxIconType, SIGNAL(activated(int)), this, SLOT(slotIconTypeSelected(int)));
+ TQObject::connect(cbxIconType, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotIconTypeSelected(int)));
vlayout->addWidget(cbxIconType);
lbl->setBuddy(cbxIconType);
TQWhatsThis::add(cbxIconType, i18n("<p>Select the style of icons representing the "
@@ -218,7 +218,7 @@ void KBConfigDlg::setupShortcutsPage()
{
TQVBox *box = addVBoxPage(i18n("Sho&rtcuts"));
chkUseShortcuts = new TQCheckBox(i18n("Use shortcuts to &activate keyboard layouts"), box);
- connect(chkUseShortcuts, SIGNAL(toggled(bool)), this, SLOT(slotUseShortcutsToggled(bool)));
+ connect(chkUseShortcuts, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotUseShortcutsToggled(bool)));
TQWhatsThis::add(chkUseShortcuts, i18n("Check this checkbox to be able to quickly "
"activate any keyboard layout with keyboard shorcuts. Once this checkbox "
"is checked, you can adjust the shortcuts at the key chooser pane below. "
diff --git a/kkbswitch/kbconfigdlg.h b/kkbswitch/kbconfigdlg.h
index aa93fef..2577fc3 100644
--- a/kkbswitch/kbconfigdlg.h
+++ b/kkbswitch/kbconfigdlg.h
@@ -34,7 +34,7 @@ class KKeyChooser;
*/
class KBConfigDlg : public KDialogBase {
- Q_OBJECT
+ TQ_OBJECT
public:
KBConfigDlg(KBConfig *kbconf, TQWidget *parent=0, const char *name=0);
~KBConfigDlg();
diff --git a/kkbswitch/kbpickicondlg.cpp b/kkbswitch/kbpickicondlg.cpp
index a8a0e05..a69c052 100644
--- a/kkbswitch/kbpickicondlg.cpp
+++ b/kkbswitch/kbpickicondlg.cpp
@@ -43,14 +43,14 @@ KBPickIconDlg::KBPickIconDlg(const TQString &currentPath, const TQPixmap &curren
TQVBox *page = makeVBoxMainWidget();
lbIcons = new TDEListBox(page);
- TQObject::connect(lbIcons, SIGNAL(doubleClicked(TQListBoxItem*)),
- this, SLOT(slotOk()));
- TQObject::connect(lbIcons, SIGNAL(returnPressed(TQListBoxItem*)),
- this, SLOT(slotOk()));
+ TQObject::connect(lbIcons, TQ_SIGNAL(doubleClicked(TQListBoxItem*)),
+ this, TQ_SLOT(slotOk()));
+ TQObject::connect(lbIcons, TQ_SIGNAL(returnPressed(TQListBoxItem*)),
+ this, TQ_SLOT(slotOk()));
TQWhatsThis::add(lbIcons, i18n("Select one of the icons"));
TQPushButton *btnBrowse = new TQPushButton(i18n("&Browse..."), page);
- TQObject::connect(btnBrowse, SIGNAL(clicked()), this, SLOT(slotBrowseForIcon()));
+ TQObject::connect(btnBrowse, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotBrowseForIcon()));
TQWhatsThis::add(btnBrowse, i18n("Browse for an image file to use as an icon"));
loadCountryFlags();
diff --git a/kkbswitch/kbpickicondlg.h b/kkbswitch/kbpickicondlg.h
index fba5cd5..754be4d 100644
--- a/kkbswitch/kbpickicondlg.h
+++ b/kkbswitch/kbpickicondlg.h
@@ -30,7 +30,7 @@ class TDEListBox;
*/
class KBPickIconDlg : public KDialogBase {
- Q_OBJECT
+ TQ_OBJECT
public:
KBPickIconDlg(const TQString &currentPath, const TQPixmap &currentPixmap,
TQWidget *parent=0, const char *name=0);
diff --git a/kkbswitch/kbswitchapp.cpp b/kkbswitch/kbswitchapp.cpp
index 5e53487..70c3925 100644
--- a/kkbswitch/kbswitchapp.cpp
+++ b/kkbswitch/kbswitchapp.cpp
@@ -45,21 +45,21 @@ KBSwitchApp::KBSwitchApp()
#endif
m_intf = new KBSwitchIntf(this, &m_kbconf);
- TQObject::connect(m_intf, SIGNAL(nextGroupSelected()), this, SLOT(slotSelectNextGroup()));
- TQObject::connect(m_intf, SIGNAL(groupSelected(int)), this, SLOT(slotGroupSelected(int)));
+ TQObject::connect(m_intf, TQ_SIGNAL(nextGroupSelected()), this, TQ_SLOT(slotSelectNextGroup()));
+ TQObject::connect(m_intf, TQ_SIGNAL(groupSelected(int)), this, TQ_SLOT(slotGroupSelected(int)));
- TQObject::connect(&m_xkb, SIGNAL(layoutChanged()), this, SLOT(reconfigure()));
- TQObject::connect(&m_xkb, SIGNAL(groupChanged(int)), this, SLOT(slotXkbGroupChanged(int)));
+ TQObject::connect(&m_xkb, TQ_SIGNAL(layoutChanged()), this, TQ_SLOT(reconfigure()));
+ TQObject::connect(&m_xkb, TQ_SIGNAL(groupChanged(int)), this, TQ_SLOT(slotXkbGroupChanged(int)));
m_force_group_setting = false;
int start_group = m_kbconf.default_groupno();
m_trayicon = new KBSwitchTrayIcon(&m_kbconf);
- TQObject::connect(m_trayicon, SIGNAL(groupSelected(int)), this,
- SLOT(slotGroupSelected(int)));
- TQObject::connect(m_trayicon, SIGNAL(clicked()), this, SLOT(slotSelectNextGroup()));
- TQObject::connect(m_trayicon, SIGNAL(preferencesSelected()), this,
- SLOT(slotPreferences()));
+ TQObject::connect(m_trayicon, TQ_SIGNAL(groupSelected(int)), this,
+ TQ_SLOT(slotGroupSelected(int)));
+ TQObject::connect(m_trayicon, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSelectNextGroup()));
+ TQObject::connect(m_trayicon, TQ_SIGNAL(preferencesSelected()), this,
+ TQ_SLOT(slotPreferences()));
if (start_group != m_xkb.getGroupNo()) {
setStartGroup(start_group);
@@ -130,24 +130,34 @@ void KBSwitchApp::forceSetGroup(int groupno)
m_xkb.setGroupNo(groupno);
}
-/** No descriptions */
+/** Select the next keyboard layout (wraps around) */
void KBSwitchApp::slotSelectNextGroup()
{
#ifdef HAVE_LIBXKLAVIER
m_xkb.setGroupNo(XklGetNextGroup());
-#else
+#else
//forceSetGroup(m_next_groupno);
m_xkb.setGroupNo(m_next_groupno);
-#endif
+#endif
+}
+
+/** Select the previous keyboard layout (wraps around) */
+void KBSwitchApp::slotSelectPrevGroup()
+{
+#ifdef HAVE_LIBXKLAVIER
+ m_xkb.setGroupNo(XklGetPrevGroup());
+#else
+ m_xkb.setGroupNo(m_kbconf.getPrevGroup(m_cur_groupno));
+#endif
}
/** No descriptions */
void KBSwitchApp::slotPreferences(){
KBConfigDlg dlg(&m_kbconf);
- TQObject::connect(&dlg, SIGNAL(okClicked()), m_trayicon, SLOT(slotUpdateIcons()));
- TQObject::connect(&dlg, SIGNAL(applyClicked()), m_trayicon, SLOT(slotUpdateIcons()));
- TQObject::connect(&dlg, SIGNAL(okClicked()), this, SLOT(slotPrefChanged()));
- TQObject::connect(&dlg, SIGNAL(applyClicked()), this, SLOT(slotPrefChanged()));
+ TQObject::connect(&dlg, TQ_SIGNAL(okClicked()), m_trayicon, TQ_SLOT(slotUpdateIcons()));
+ TQObject::connect(&dlg, TQ_SIGNAL(applyClicked()), m_trayicon, TQ_SLOT(slotUpdateIcons()));
+ TQObject::connect(&dlg, TQ_SIGNAL(okClicked()), this, TQ_SLOT(slotPrefChanged()));
+ TQObject::connect(&dlg, TQ_SIGNAL(applyClicked()), this, TQ_SLOT(slotPrefChanged()));
dlg.exec();
}
@@ -306,8 +316,8 @@ void KBSwitchApp::resetWindowMap()
{
if (m_twin_module == NULL) {
m_twin_module = new KWinModule();
- connect(m_twin_module, SIGNAL(activeWindowChanged(WId)), SLOT(slotWindowChanged(WId)));
- connect(m_twin_module, SIGNAL(windowRemoved(WId)), SLOT(slotWindowRemoved(WId)));
+ connect(m_twin_module, TQ_SIGNAL(activeWindowChanged(WId)), TQ_SLOT(slotWindowChanged(WId)));
+ connect(m_twin_module, TQ_SIGNAL(windowRemoved(WId)), TQ_SLOT(slotWindowRemoved(WId)));
resetWindowMap();
if (m_cur_groupno != -1 && m_cur_groupno != m_kbconf.default_groupno())
setStartGroup(m_kbconf.default_groupno());
@@ -344,8 +354,8 @@ void KBSwitchApp::enableWatcher()
else if (m_watcher_type == KBConfig::SCOPE_CLASS)
m_watcher = new WindowClassWatcher(&m_kbconf, this);
else return; // if scope is global, don't create watcher
- connect(m_watcher, SIGNAL(windowChanged(int, int )),
- SLOT(slotWindowChanged(int, int)));
+ connect(m_watcher, TQ_SIGNAL(windowChanged(int, int )),
+ TQ_SLOT(slotWindowChanged(int, int)));
}
}
diff --git a/kkbswitch/kbswitchapp.h b/kkbswitch/kbswitchapp.h
index b730252..d76aa52 100644
--- a/kkbswitch/kbswitchapp.h
+++ b/kkbswitch/kbswitchapp.h
@@ -52,7 +52,7 @@ typedef TQMap<WId, KBWinInfo> KBWindowMap;*/
*/
class KBSwitchApp : public KUniqueApplication {
- Q_OBJECT
+ TQ_OBJECT
public:
KBSwitchApp();
~KBSwitchApp();
@@ -110,8 +110,10 @@ private: // Private methods
private slots: // Private slots
/** No descriptions */
void slotGroupSelected(int groupno);
- /** No descriptions */
+ /** Select the next keyboard layout (wraps around) */
void slotSelectNextGroup();
+ /** Select the previous keyboard layout (wraps around) */
+ void slotSelectPrevGroup();
/** No descriptions */
void slotPreferences();
/** No descriptions */
diff --git a/kkbswitch/kbswitchintf.h b/kkbswitch/kbswitchintf.h
index 703254a..9fad92e 100644
--- a/kkbswitch/kbswitchintf.h
+++ b/kkbswitch/kbswitchintf.h
@@ -35,7 +35,7 @@
moc doesn't know about dcopidl! */
class KBSwitchIntf : public TQObject, public DCOPObject {
K_DCOP
- Q_OBJECT
+ TQ_OBJECT
signals:
void nextGroupSelected();
void groupSelected(int groupno);
diff --git a/kkbswitch/kbswitchtrayicon.cpp b/kkbswitch/kbswitchtrayicon.cpp
index df04cd2..b585965 100644
--- a/kkbswitch/kbswitchtrayicon.cpp
+++ b/kkbswitch/kbswitchtrayicon.cpp
@@ -72,17 +72,17 @@ KBSwitchTrayIcon::KBSwitchTrayIcon(KBConfig *conf){
#endif
m_kbconf = conf;
- //TQObject::connect(conf, SIGNAL(changed()), this, SLOT(updateMenuIcons()));
+ //TQObject::connect(conf, TQ_SIGNAL(changed()), this, TQ_SLOT(updateMenuIcons()));
TDEPopupMenu * menu = contextMenu();
addLayoutItems(menu, false);
- TQObject::connect(menu, SIGNAL(activated(int)), this, SLOT(slotMenuActivated(int)));
+ TQObject::connect(menu, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotMenuActivated(int)));
menu->insertSeparator();
- TDEAction *pref = KStdAction::preferences(this, SIGNAL(preferencesSelected()), ACTION_PARENT);
+ TDEAction *pref = KStdAction::preferences(this, TQ_SIGNAL(preferencesSelected()), ACTION_PARENT);
pref->plug(menu);
- TDEAction *help = KStdAction::help(this, SLOT(slotHelp()), ACTION_PARENT);
+ TDEAction *help = KStdAction::help(this, TQ_SLOT(slotHelp()), ACTION_PARENT);
help->plug(menu);
- TDEAction *about = KStdAction::aboutApp(this, SLOT(slotAbout()), ACTION_PARENT);
+ TDEAction *about = KStdAction::aboutApp(this, TQ_SLOT(slotAbout()), ACTION_PARENT);
about->plug(menu);
/*TQString path = locate("icon", "hicolor/16x16/apps/locale.png");
diff --git a/kkbswitch/kbswitchtrayicon.h b/kkbswitch/kbswitchtrayicon.h
index 52f5e20..d9c5fcf 100644
--- a/kkbswitch/kbswitchtrayicon.h
+++ b/kkbswitch/kbswitchtrayicon.h
@@ -28,7 +28,7 @@
*/
class KBSwitchTrayIcon : public KSystemTray {
- Q_OBJECT
+ TQ_OBJECT
public:
KBSwitchTrayIcon(KBConfig *conf);
~KBSwitchTrayIcon();
diff --git a/kkbswitch/kkbswitch.desktop b/kkbswitch/kkbswitch.desktop
index 7ab0616..c633efa 100644
--- a/kkbswitch/kkbswitch.desktop
+++ b/kkbswitch/kkbswitch.desktop
@@ -7,8 +7,6 @@ Terminal=false
Icon=kkbswitch
X-DocPath=kkbswitch/index.html
Comment=Keyboard Layout Indicator
-Comment[ru]=Индикатор раскладки клавиатуры
-Comment[uk]=Індикатор розкладки клавіатури
X-TDE-autostart-after=panel
X-TDE-autostart-condition=kkbswitchrc:Options:autostart:true
X-TDE-autostart-phase=2
diff --git a/kkbswitch/singlewindowwatcher.h b/kkbswitch/singlewindowwatcher.h
index 2073ec4..637b07a 100644
--- a/kkbswitch/singlewindowwatcher.h
+++ b/kkbswitch/singlewindowwatcher.h
@@ -29,7 +29,7 @@ Watches for changes of active window and keep a group per each window
@author Leonid Zeitlin
*/
class SingleWindowWatcher : public WindowWatcher {
- Q_OBJECT
+ TQ_OBJECT
private:
struct KBWinInfo {
int groupno;
diff --git a/kkbswitch/windowclasswatcher.h b/kkbswitch/windowclasswatcher.h
index a81382e..03e6e80 100644
--- a/kkbswitch/windowclasswatcher.h
+++ b/kkbswitch/windowclasswatcher.h
@@ -31,7 +31,7 @@ This class watcher for active window changes and keeps a group per window class
@author Leonid Zeitlin
*/
class WindowClassWatcher : public WindowWatcher {
- Q_OBJECT
+ TQ_OBJECT
private:
typedef TQMap<WId, TQString> WinClassMap;
WinClassMap m_win_class_map;
diff --git a/kkbswitch/windowwatcher.cpp b/kkbswitch/windowwatcher.cpp
index 96dbcc0..56aa184 100644
--- a/kkbswitch/windowwatcher.cpp
+++ b/kkbswitch/windowwatcher.cpp
@@ -26,9 +26,9 @@ WindowWatcher::WindowWatcher(KBConfig *kbconf, TQObject *parent, const char *nam
{
m_kbconf = kbconf;
m_twin_module = new KWinModule(this);
- connect(m_twin_module, SIGNAL(windowAdded(WId)), SLOT(windowAdded(WId)));
- connect(m_twin_module, SIGNAL(windowRemoved(WId)), SLOT(windowRemoved(WId)));
- connect(m_twin_module, SIGNAL(activeWindowChanged(WId)), SLOT(activeWindowChanged(WId)));
+ connect(m_twin_module, TQ_SIGNAL(windowAdded(WId)), TQ_SLOT(windowAdded(WId)));
+ connect(m_twin_module, TQ_SIGNAL(windowRemoved(WId)), TQ_SLOT(windowRemoved(WId)));
+ connect(m_twin_module, TQ_SIGNAL(activeWindowChanged(WId)), TQ_SLOT(activeWindowChanged(WId)));
}
WindowWatcher::~WindowWatcher()
diff --git a/kkbswitch/windowwatcher.h b/kkbswitch/windowwatcher.h
index 6861c5b..e8d7b23 100644
--- a/kkbswitch/windowwatcher.h
+++ b/kkbswitch/windowwatcher.h
@@ -33,7 +33,7 @@ This class watches for active window changes and notifies KKBSwitch
that the keyboard group needs to be canged
*/
class WindowWatcher : public TQObject {
- Q_OBJECT
+ TQ_OBJECT
protected:
KBConfig *m_kbconf;
KWinModule *m_twin_module;
diff --git a/kkbswitch/xkeyboard.h b/kkbswitch/xkeyboard.h
index dc2454a..19d200d 100644
--- a/kkbswitch/xkeyboard.h
+++ b/kkbswitch/xkeyboard.h
@@ -36,7 +36,7 @@ class TQStringList;
*/
class XKeyboard : public TQObject {
- Q_OBJECT
+ TQ_OBJECT
private:
#ifndef HAVE_LIBXKLAVIER
int m_event_code;
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt
deleted file mode 100644
index 46fba83..0000000
--- a/po/CMakeLists.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-# build translations if some are already available
-
-file( GLOB _srcs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.po )
-if( _srcs )
- tde_create_translation( LANG auto OUTPUT_NAME ${PROJECT_NAME} )
-endif( )
diff --git a/translations/desktop_files/kkbswitch.desktop/kkbswitch.desktop.pot b/translations/desktop_files/kkbswitch.desktop/kkbswitch.desktop.pot
new file mode 100644
index 0000000..166f61e
--- /dev/null
+++ b/translations/desktop_files/kkbswitch.desktop/kkbswitch.desktop.pot
@@ -0,0 +1,28 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2020-04-06 16:53+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kkbswitch.desktop:3
+msgid "KKBSwitch"
+msgstr ""
+
+#. GenericName
+#. Comment
+#: kkbswitch.desktop:4 kkbswitch.desktop:9
+msgid "Keyboard Layout Indicator"
+msgstr ""
diff --git a/translations/desktop_files/kkbswitch.desktop/nl.po b/translations/desktop_files/kkbswitch.desktop/nl.po
new file mode 100644
index 0000000..fbe3cfe
--- /dev/null
+++ b/translations/desktop_files/kkbswitch.desktop/nl.po
@@ -0,0 +1,29 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# Heimen Stoffels <vistausss@outlook.com>, 2020.
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2020-04-06 16:53+0200\n"
+"PO-Revision-Date: 2020-10-07 19:02+0000\n"
+"Last-Translator: Heimen Stoffels <vistausss@outlook.com>\n"
+"Language-Team: Dutch <https://mirror.git.trinitydesktop.org/weblate/projects/"
+"applications/kkbswitch-kkbswitchdesktop/nl/>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=n != 1;\n"
+"X-Generator: Weblate 4.2.2\n"
+
+#. Name
+#: kkbswitch.desktop:3
+msgid "KKBSwitch"
+msgstr "KKBSwitch"
+
+#. GenericName
+#. Comment
+#: kkbswitch.desktop:4 kkbswitch.desktop:9
+msgid "Keyboard Layout Indicator"
+msgstr "Toetsenbordindelingsindicator"
diff --git a/translations/desktop_files/kkbswitch.desktop/ru.po b/translations/desktop_files/kkbswitch.desktop/ru.po
new file mode 100644
index 0000000..5bddff2
--- /dev/null
+++ b/translations/desktop_files/kkbswitch.desktop/ru.po
@@ -0,0 +1,30 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# Andrei Stepanov <adem4ik@gmail.com>, 2023.
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2020-04-06 16:53+0200\n"
+"PO-Revision-Date: 2023-12-01 10:14+0000\n"
+"Last-Translator: Andrei Stepanov <adem4ik@gmail.com>\n"
+"Language-Team: Russian <https://mirror.git.trinitydesktop.org/weblate/"
+"projects/applications/kkbswitch-kkbswitchdesktop/ru/>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
+"X-Generator: Weblate 4.17\n"
+
+#. Name
+#: kkbswitch.desktop:3
+msgid "KKBSwitch"
+msgstr "KKBSwitch"
+
+#. GenericName
+#. Comment
+#: kkbswitch.desktop:4 kkbswitch.desktop:9
+msgid "Keyboard Layout Indicator"
+msgstr "Индикатор раскладки клавиатуры"
diff --git a/translations/desktop_files/kkbswitch.desktop/uk.po b/translations/desktop_files/kkbswitch.desktop/uk.po
new file mode 100644
index 0000000..512148b
--- /dev/null
+++ b/translations/desktop_files/kkbswitch.desktop/uk.po
@@ -0,0 +1,30 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# Roman Savochenko <roman@oscada.org>, 2021.
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2020-04-06 16:53+0200\n"
+"PO-Revision-Date: 2021-10-07 08:30+0000\n"
+"Last-Translator: Roman Savochenko <roman@oscada.org>\n"
+"Language-Team: Ukrainian <https://mirror.git.trinitydesktop.org/weblate/"
+"projects/applications/kkbswitch-kkbswitchdesktop/uk/>\n"
+"Language: uk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
+"X-Generator: Weblate 4.8.1\n"
+
+#. Name
+#: kkbswitch.desktop:3
+msgid "KKBSwitch"
+msgstr "KKBSwitch"
+
+#. GenericName
+#. Comment
+#: kkbswitch.desktop:4 kkbswitch.desktop:9
+msgid "Keyboard Layout Indicator"
+msgstr "Індикатор розкладки клавіатури"
diff --git a/po/be.po b/translations/messages/be.po
index bf4bd2d..b75d18b 100644
--- a/po/be.po
+++ b/translations/messages/be.po
@@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: kkbswitch_1.4.3-6_be\n"
-"POT-Creation-Date: 2019-01-13 19:08+0100\n"
+"POT-Creation-Date: 2023-06-13 18:21+0000\n"
"PO-Revision-Date: 2007-10-14 05:16+0300\n"
"Last-Translator: Pavel Piatruk <berserker@neolocation.com>\n"
"Language-Team: Belarusian (Official spelling) <i18n@mova.org>\n"
@@ -17,13 +17,13 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 1.11.4\n"
-#: _translatorinfo:1
+#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr "Павел Пятрук"
-#: _translatorinfo:2
+#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
@@ -37,6 +37,30 @@ msgstr "<Без імя>"
msgid "Activate %1 keyboard layout"
msgstr "Актываваць раскладку %1"
+#: kbconfig.cpp:112
+#, fuzzy
+#| msgid "Available &keyboard layouts:"
+msgid "Cycle keyboard layouts"
+msgstr "Даступныя &клавіятурныя раскладкі:"
+
+#: kbconfig.cpp:113
+msgid ""
+"Activates the next keyboard layout or, if the current layout is the last "
+"one, activates the first layout."
+msgstr ""
+
+#: kbconfig.cpp:117
+#, fuzzy
+#| msgid "Available &keyboard layouts:"
+msgid "Cycle keyboard layouts (reverse)"
+msgstr "Даступныя &клавіятурныя раскладкі:"
+
+#: kbconfig.cpp:118
+msgid ""
+"Activates the previous keyboard layout or, if the current layout is the "
+"first one, activates the last layout."
+msgstr ""
+
#: kbconfigdlg.cpp:116
msgid "&General"
msgstr "&Агульныя"
diff --git a/po/bg.po b/translations/messages/bg.po
index 07abb66..50cf8ef 100644
--- a/po/bg.po
+++ b/translations/messages/bg.po
@@ -11,7 +11,7 @@
msgid ""
msgstr ""
"Project-Id-Version: bg\n"
-"POT-Creation-Date: 2019-01-13 19:08+0100\n"
+"POT-Creation-Date: 2023-06-13 18:21+0000\n"
"PO-Revision-Date: 2004-12-21 05:19+0100\n"
"Last-Translator: Petko Yotov <5ko@free.fr>\n"
"Language-Team: <en@li.org>\n"
@@ -21,13 +21,13 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 1.9.1\n"
-#: _translatorinfo:1
+#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr "Петко Йотов (Petko Yotov)"
-#: _translatorinfo:2
+#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
@@ -41,6 +41,30 @@ msgstr "<Без име>"
msgid "Activate %1 keyboard layout"
msgstr "Активиране на клавиатура %1"
+#: kbconfig.cpp:112
+#, fuzzy
+#| msgid "Available &keyboard layouts:"
+msgid "Cycle keyboard layouts"
+msgstr "Налични &клавиатурни подредби:"
+
+#: kbconfig.cpp:113
+msgid ""
+"Activates the next keyboard layout or, if the current layout is the last "
+"one, activates the first layout."
+msgstr ""
+
+#: kbconfig.cpp:117
+#, fuzzy
+#| msgid "Available &keyboard layouts:"
+msgid "Cycle keyboard layouts (reverse)"
+msgstr "Налични &клавиатурни подредби:"
+
+#: kbconfig.cpp:118
+msgid ""
+"Activates the previous keyboard layout or, if the current layout is the "
+"first one, activates the last layout."
+msgstr ""
+
#: kbconfigdlg.cpp:116
msgid "&General"
msgstr "&Настройки"
diff --git a/po/cs.po b/translations/messages/cs.po
index 4163fc8..04de93e 100644
--- a/po/cs.po
+++ b/translations/messages/cs.po
@@ -4,7 +4,7 @@
msgid ""
msgstr ""
"Project-Id-Version: cs\n"
-"POT-Creation-Date: 2019-01-13 19:08+0100\n"
+"POT-Creation-Date: 2023-06-13 18:21+0000\n"
"PO-Revision-Date: 2005-04-10 10:07+0200\n"
"Last-Translator: Michal Bukovský <michal.bukovsky@trilogic.cz>\n"
"Language-Team: Czech <cs@li.org>\n"
@@ -14,13 +14,13 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 1.9.1\n"
-#: _translatorinfo:1
+#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr "Michal Bukovský"
-#: _translatorinfo:2
+#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
@@ -34,6 +34,30 @@ msgstr "<Nepojmenovaný>"
msgid "Activate %1 keyboard layout"
msgstr "Aktivovat rozvržení klávesnice %1"
+#: kbconfig.cpp:112
+#, fuzzy
+#| msgid "Available &keyboard layouts:"
+msgid "Cycle keyboard layouts"
+msgstr "Dostupná rozvržení &klávesnice:"
+
+#: kbconfig.cpp:113
+msgid ""
+"Activates the next keyboard layout or, if the current layout is the last "
+"one, activates the first layout."
+msgstr ""
+
+#: kbconfig.cpp:117
+#, fuzzy
+#| msgid "Available &keyboard layouts:"
+msgid "Cycle keyboard layouts (reverse)"
+msgstr "Dostupná rozvržení &klávesnice:"
+
+#: kbconfig.cpp:118
+msgid ""
+"Activates the previous keyboard layout or, if the current layout is the "
+"first one, activates the last layout."
+msgstr ""
+
#: kbconfigdlg.cpp:116
msgid "&General"
msgstr "&Všeobecné"
diff --git a/translations/messages/de.po b/translations/messages/de.po
new file mode 100644
index 0000000..98af364
--- /dev/null
+++ b/translations/messages/de.po
@@ -0,0 +1,328 @@
+# SOME DESCRIPTIVE TITLE.
+# Lian Begett <weblate-tde@bunbun.de>, 2022.
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2023-06-13 18:21+0000\n"
+"PO-Revision-Date: 2022-06-19 17:55+0000\n"
+"Last-Translator: Lian Begett <weblate-tde@bunbun.de>\n"
+"Language-Team: German <https://mirror.git.trinitydesktop.org/weblate/"
+"projects/applications/kkbswitch/de/>\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=n != 1;\n"
+"X-Generator: Weblate 4.12.2\n"
+
+#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
+msgid ""
+"_: NAME OF TRANSLATORS\n"
+"Your names"
+msgstr "Lian Begett"
+
+#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
+msgid ""
+"_: EMAIL OF TRANSLATORS\n"
+"Your emails"
+msgstr "tdetranslation@bunbun.de"
+
+#: kbconfig.cpp:92
+msgid "<Unnamed>"
+msgstr "<Unbenannt>"
+
+#: kbconfig.cpp:108
+msgid "Activate %1 keyboard layout"
+msgstr "Tastaturlayout %1 aktivieren"
+
+#: kbconfig.cpp:112
+#, fuzzy
+#| msgid "Available &keyboard layouts:"
+msgid "Cycle keyboard layouts"
+msgstr "Verfügbare &Tastaturlayouts:"
+
+#: kbconfig.cpp:113
+msgid ""
+"Activates the next keyboard layout or, if the current layout is the last "
+"one, activates the first layout."
+msgstr ""
+
+#: kbconfig.cpp:117
+#, fuzzy
+#| msgid "Available &keyboard layouts:"
+msgid "Cycle keyboard layouts (reverse)"
+msgstr "Verfügbare &Tastaturlayouts:"
+
+#: kbconfig.cpp:118
+msgid ""
+"Activates the previous keyboard layout or, if the current layout is the "
+"first one, activates the last layout."
+msgstr ""
+
+#: kbconfigdlg.cpp:116
+msgid "&General"
+msgstr "&Allgemein"
+
+#: kbconfigdlg.cpp:120
+msgid "Available &keyboard layouts:"
+msgstr "Verfügbare &Tastaturlayouts:"
+
+#: kbconfigdlg.cpp:132
+msgid ""
+"This list box shows keyboard layouts available in your system.\n"
+"Select a layout and click \"Change Icon...\" button to change the icon for a "
+"layout.\n"
+"If you have configured a non-default icon, you can reset the icon to default "
+"with \"Use Default Icon\" button.\n"
+"The layout shown is bold is the default layout. Use \"Set as default\" "
+"button to set the default layout."
+msgstr ""
+"Diese Liste zeigt Tastaturlayouts, die auf Deinem System verfügbar sind.\n"
+"Wähle ein Layout aus und drücke \"Symbol ändern...\", um das Symbol für ein "
+"Layout zu ändern.\n"
+"Wenn Du ein eigenes Symbol eingestellt hast, kannst Du es mit dem Knopf "
+"\"Standardsymbol verwenden\" auf das ursprüngliche Symbol zurücksetzen.\n"
+"Das in Fettschrift angezeigte Layout ist das Standardlayout. Mit dem Knopf "
+"\"Als Standard setzen\" kann ein anderes Layout als Standard gesetzt werden."
+
+#: kbconfigdlg.cpp:141
+msgid "Cha&nge Icon..."
+msgstr "S&ymbol ändern..."
+
+#: kbconfigdlg.cpp:144
+msgid ""
+"Click this button to change the icon for the layout selected in the list box "
+"to the left."
+msgstr ""
+"Drücke diesen Knopf, um das Symbol für das links ausgewählte Layout zu "
+"ändern."
+
+#: kbconfigdlg.cpp:147
+msgid "Use &Default Icon"
+msgstr "&Standardsymbol verwenden"
+
+#: kbconfigdlg.cpp:150
+msgid ""
+"Click this button to use default icon for the layout selected in the list "
+"box to the left."
+msgstr ""
+"Drücke diesen Knopf, um das Standardsymbol für das links ausgewählte Layout "
+"zu verwenden."
+
+#: kbconfigdlg.cpp:153
+msgid "&Set as Default"
+msgstr "Als S&tandard verwenden"
+
+#: kbconfigdlg.cpp:156
+msgid ""
+"Click this button to set the layout selected in the list box to the left as "
+"the default"
+msgstr ""
+"Drücke diesen Knopf, um das links ausgewählte Layout zum Standardlayout zu "
+"machen"
+
+#: kbconfigdlg.cpp:162
+msgid "Layout &icon style:"
+msgstr "Lay&out-Symbolstil:"
+
+#: kbconfigdlg.cpp:167
+msgid "Country flag"
+msgstr "Landesflagge"
+
+#: kbconfigdlg.cpp:168
+msgid "Language code"
+msgstr "Sprachkürzel"
+
+#: kbconfigdlg.cpp:169
+msgid "Flag and code"
+msgstr "Flagge und Kürzel"
+
+#: kbconfigdlg.cpp:173
+msgid ""
+"<p>Select the style of icons representing the current keyboard layout.\n"
+"You can choose from the following styles:<ul><li><b>Country flag</b> - "
+"displays the corresponding country flag<li><b>Language code</b> - displays "
+"the language ISO 2-letter code<li><b>Flag and code</b> - displays the "
+"language code superimposed over the country flag.</ul></p>"
+msgstr ""
+"<p>Wähle den Symbolstil aus, der das aktuelle Tastaturlayout repräsentiert.\n"
+"Du kannst zwischen den folgenden Stilen wählen:<ul><li><b>Landesflagge</b> - "
+"zeigt die jeweilige Landesflagge<li><b>Sprachkürzel</b> - zeigt das ISO 2-"
+"Buchstabenkürzel der Sprache an<li><b>Flagge und Kürzel</b> - zeigt das "
+"Kürzel über die Flagge gelegt an.</ul></p>"
+
+#: kbconfigdlg.cpp:181
+msgid "&Layout applies to:"
+msgstr ""
+
+#: kbconfigdlg.cpp:186
+msgid "All windows"
+msgstr ""
+
+#: kbconfigdlg.cpp:187
+msgid "Windows of one application"
+msgstr ""
+
+#: kbconfigdlg.cpp:188
+msgid "One window"
+msgstr ""
+
+#: kbconfigdlg.cpp:191
+msgid ""
+"<p>Select what windows the currently selected keyboard layout applies to:\n"
+"<ul><li><b>All windows</b> - one layout applies to all windows on your "
+"desktop\n"
+"<li><b>Windows of one application</b> - layout applies to one application; "
+"each application can have its own layout. When you switch between "
+"applications, layout follows the active application\n"
+"<li><b>One window</b> - layout applies to one window only; each window can "
+"have its own layout. When you switch between windows, layout follows the "
+"active window.</ul></p>"
+msgstr ""
+
+#: kbconfigdlg.cpp:199
+msgid "Use \"&Toggle Mode\""
+msgstr ""
+
+#: kbconfigdlg.cpp:201
+msgid ""
+"Toggle mode is useful when you have more than two keyboard layouts defined. "
+"When toggle mode is on your normal layout switch key toggles between two "
+"most frequently used layouts. To activate other layouts use KKBSwitch's tray "
+"popup menu"
+msgstr ""
+
+#: kbconfigdlg.cpp:211
+msgid "A&utostart"
+msgstr ""
+
+#: kbconfigdlg.cpp:213
+msgid ""
+"When this checkbox is checked, KKBSwitch will start automatically when you "
+"log in"
+msgstr ""
+
+#: kbconfigdlg.cpp:219
+msgid "Sho&rtcuts"
+msgstr ""
+
+#: kbconfigdlg.cpp:220
+msgid "Use shortcuts to &activate keyboard layouts"
+msgstr ""
+
+#: kbconfigdlg.cpp:222
+msgid ""
+"Check this checkbox to be able to quickly activate any keyboard layout with "
+"keyboard shorcuts. Once this checkbox is checked, you can adjust the "
+"shortcuts at the key chooser pane below. Especially useful if you have three "
+"or four keyboard layouts configured"
+msgstr ""
+
+#: kbpickicondlg.cpp:42
+msgid "Pick an icon"
+msgstr ""
+
+#: kbpickicondlg.cpp:50
+msgid "Select one of the icons"
+msgstr ""
+
+#: kbpickicondlg.cpp:52
+msgid "&Browse..."
+msgstr ""
+
+#: kbpickicondlg.cpp:54
+msgid "Browse for an image file to use as an icon"
+msgstr ""
+
+#: kbpickicondlg.cpp:90
+msgid ""
+"*.png *.jpg *.gif *.xpm|Icon files (*.png, *.jpg, *.gif, *.xpm)\n"
+"*.*|All files (*.*)"
+msgstr ""
+
+#: kbpickicondlg.cpp:101
+msgid ""
+"The size of this image (%1 by %2) is not good.\n"
+"Preferred size for the layout icons is %3 by %4.\n"
+msgstr ""
+
+#: kbpickicondlg.cpp:106
+msgid " and also too wide"
+msgstr ""
+
+#: kbpickicondlg.cpp:107
+msgid " and also too narrow"
+msgstr ""
+
+#: kbpickicondlg.cpp:108
+#, c-format
+msgid "This image is too big%1."
+msgstr ""
+
+#: kbpickicondlg.cpp:110
+msgid "This image is too wide."
+msgstr ""
+
+#: kbpickicondlg.cpp:111
+msgid "This image is too narrow."
+msgstr ""
+
+#: kbpickicondlg.cpp:113
+msgid ""
+"KKBSwitch will scale it to appropriate size, but the result may not look "
+"very good.\n"
+"Are you sure you want to use this image?"
+msgstr ""
+
+#: kbpickicondlg.cpp:126
+msgid ""
+"Cannot read icon from file %1. Either it is not an image file or it is "
+"corrupt."
+msgstr ""
+
+#: kbswitchtrayicon.cpp:91 main.cpp:27 main.cpp:41
+msgid "Keyboard Switch"
+msgstr ""
+
+#: main.cpp:44
+msgid "Creator and maintainer"
+msgstr ""
+
+#: main.cpp:45
+msgid "Default group config and per-window groups"
+msgstr ""
+
+#: main.cpp:47
+msgid "FreeBSD port, feature suggestions"
+msgstr ""
+
+#: main.cpp:48
+msgid "Feature suggestions, Ukrainian translation"
+msgstr ""
+
+#: main.cpp:50
+msgid "Autostart patch"
+msgstr ""
+
+#: main.cpp:51
+msgid "Greek translation"
+msgstr ""
+
+#: main.cpp:52
+msgid "Slovak translation"
+msgstr ""
+
+#: xkeyboard.cpp:42
+msgid ""
+"This program was built against XKB extension library\n"
+"version %1.%2, but is run with the library version %3.%4.\n"
+"This may cause various problems and even result in a complete\n"
+"failure to function\n"
+msgstr ""
+
+#: xkeyboard.cpp:51
+msgid ""
+"The X Server does not support a compatible XKB extension.\n"
+"Either the server is not XKB-capable or the extension was disabled.\n"
+"This program would not work with this server, so it will exit now\n"
+msgstr ""
diff --git a/po/el.po b/translations/messages/el.po
index 4c6e552..f32f917 100644
--- a/po/el.po
+++ b/translations/messages/el.po
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: kkbswitch\n"
-"POT-Creation-Date: 2019-01-13 19:08+0100\n"
+"POT-Creation-Date: 2023-06-13 18:21+0000\n"
"PO-Revision-Date: 2003-11-11 03:20+0200\n"
"Last-Translator: Stergios Dramis <sdramis@egnatia.ee.auth.gr>\n"
"Language-Team: Hellenic <i18ngr@hellug.gr>\n"
@@ -17,13 +17,13 @@ msgstr ""
"X-Generator: KBabel 1.3\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-#: _translatorinfo:1
+#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr "Στέργιος Δράμης"
-#: _translatorinfo:2
+#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
@@ -37,6 +37,28 @@ msgstr "<Χωρίς όνομα>"
msgid "Activate %1 keyboard layout"
msgstr "Ενεργοποίηση διάταξης πληκτρολογίου %1"
+#: kbconfig.cpp:112
+#, fuzzy
+msgid "Cycle keyboard layouts"
+msgstr "Διαθέσιμες διατάξεις &πληκτρολογίου"
+
+#: kbconfig.cpp:113
+msgid ""
+"Activates the next keyboard layout or, if the current layout is the last "
+"one, activates the first layout."
+msgstr ""
+
+#: kbconfig.cpp:117
+#, fuzzy
+msgid "Cycle keyboard layouts (reverse)"
+msgstr "Διαθέσιμες διατάξεις &πληκτρολογίου"
+
+#: kbconfig.cpp:118
+msgid ""
+"Activates the previous keyboard layout or, if the current layout is the "
+"first one, activates the last layout."
+msgstr ""
+
#: kbconfigdlg.cpp:116
#, fuzzy
msgid "&General"
diff --git a/po/fi.po b/translations/messages/fi.po
index fed0792..eb097dc 100644
--- a/po/fi.po
+++ b/translations/messages/fi.po
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: kkbswitch\n"
-"POT-Creation-Date: 2019-01-13 19:08+0100\n"
+"POT-Creation-Date: 2023-06-13 18:21+0000\n"
"PO-Revision-Date: 2007-10-27 21:24+0200\n"
"Last-Translator: Esko Arajärvi <edu@iki.fi>\n"
"Language-Team: Finnish <debian-l10n-finnish@lists.debian.org>\n"
@@ -12,13 +12,13 @@ msgstr ""
"X-Poedit-Language: Finnish\n"
"X-Poedit-Country: FINLAND\n"
-#: _translatorinfo:1
+#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr "Esko Arajärvi"
-#: _translatorinfo:2
+#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
@@ -32,6 +32,30 @@ msgstr "<Nimetön>"
msgid "Activate %1 keyboard layout"
msgstr "Aktivoi %1 näppäimistöasettelu"
+#: kbconfig.cpp:112
+#, fuzzy
+#| msgid "Available &keyboard layouts:"
+msgid "Cycle keyboard layouts"
+msgstr "Käytettävissä olevat &näppäimistöasettelut:"
+
+#: kbconfig.cpp:113
+msgid ""
+"Activates the next keyboard layout or, if the current layout is the last "
+"one, activates the first layout."
+msgstr ""
+
+#: kbconfig.cpp:117
+#, fuzzy
+#| msgid "Available &keyboard layouts:"
+msgid "Cycle keyboard layouts (reverse)"
+msgstr "Käytettävissä olevat &näppäimistöasettelut:"
+
+#: kbconfig.cpp:118
+msgid ""
+"Activates the previous keyboard layout or, if the current layout is the "
+"first one, activates the last layout."
+msgstr ""
+
#: kbconfigdlg.cpp:116
msgid "&General"
msgstr "&Yleinen"
diff --git a/po/he.po b/translations/messages/he.po
index 6aac2cf..309737c 100644
--- a/po/he.po
+++ b/translations/messages/he.po
@@ -9,7 +9,7 @@
msgid ""
msgstr ""
"Project-Id-Version: kkbswitch-he\n"
-"POT-Creation-Date: 2019-01-13 19:08+0100\n"
+"POT-Creation-Date: 2023-06-13 18:21+0000\n"
"PO-Revision-Date: 2004-09-28 22:09+0200\n"
"Last-Translator: Igal <koala@linux.net>\n"
"Language-Team: <en@li.org>\n"
@@ -19,13 +19,13 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 1.9\n"
-#: _translatorinfo:1
+#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr "Koala"
-#: _translatorinfo:2
+#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
@@ -39,6 +39,30 @@ msgstr "<ללא שם>"
msgid "Activate %1 keyboard layout"
msgstr "הפעל פריסת מקלדת %1"
+#: kbconfig.cpp:112
+#, fuzzy
+#| msgid "Available &keyboard layouts:"
+msgid "Cycle keyboard layouts"
+msgstr "פריסות מקלדת זמינות:"
+
+#: kbconfig.cpp:113
+msgid ""
+"Activates the next keyboard layout or, if the current layout is the last "
+"one, activates the first layout."
+msgstr ""
+
+#: kbconfig.cpp:117
+#, fuzzy
+#| msgid "Available &keyboard layouts:"
+msgid "Cycle keyboard layouts (reverse)"
+msgstr "פריסות מקלדת זמינות:"
+
+#: kbconfig.cpp:118
+msgid ""
+"Activates the previous keyboard layout or, if the current layout is the "
+"first one, activates the last layout."
+msgstr ""
+
#: kbconfigdlg.cpp:116
msgid "&General"
msgstr "&ראשי"
diff --git a/po/kkbswitch.pot b/translations/messages/kkbswitch.pot
index 25ca705..317564b 100644
--- a/po/kkbswitch.pot
+++ b/translations/messages/kkbswitch.pot
@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2019-01-13 19:08+0100\n"
+"POT-Creation-Date: 2023-06-13 18:21+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -13,13 +13,15 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: _translatorinfo:1
+#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
+#, ignore-inconsistent
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr ""
-#: _translatorinfo:2
+#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
+#, ignore-inconsistent
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
@@ -33,6 +35,26 @@ msgstr ""
msgid "Activate %1 keyboard layout"
msgstr ""
+#: kbconfig.cpp:112
+msgid "Cycle keyboard layouts"
+msgstr ""
+
+#: kbconfig.cpp:113
+msgid ""
+"Activates the next keyboard layout or, if the current layout is the last "
+"one, activates the first layout."
+msgstr ""
+
+#: kbconfig.cpp:117
+msgid "Cycle keyboard layouts (reverse)"
+msgstr ""
+
+#: kbconfig.cpp:118
+msgid ""
+"Activates the previous keyboard layout or, if the current layout is the "
+"first one, activates the last layout."
+msgstr ""
+
#: kbconfigdlg.cpp:116
msgid "&General"
msgstr ""
diff --git a/translations/messages/nl.po b/translations/messages/nl.po
new file mode 100644
index 0000000..3a509d5
--- /dev/null
+++ b/translations/messages/nl.po
@@ -0,0 +1,321 @@
+# SOME DESCRIPTIVE TITLE.
+# Heimen Stoffels <vistausss@outlook.com>, 2023.
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2023-06-13 18:21+0000\n"
+"PO-Revision-Date: 2023-02-14 14:22+0000\n"
+"Last-Translator: Heimen Stoffels <vistausss@outlook.com>\n"
+"Language-Team: Dutch <https://mirror.git.trinitydesktop.org/weblate/projects/"
+"applications/kkbswitch/nl/>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=n != 1;\n"
+"X-Generator: Weblate 4.15.2\n"
+
+#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
+msgid ""
+"_: NAME OF TRANSLATORS\n"
+"Your names"
+msgstr "Heimen Stoffels"
+
+#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
+msgid ""
+"_: EMAIL OF TRANSLATORS\n"
+"Your emails"
+msgstr "vistausss@fastmail.com"
+
+#: kbconfig.cpp:92
+msgid "<Unnamed>"
+msgstr "<naamloos>"
+
+#: kbconfig.cpp:108
+msgid "Activate %1 keyboard layout"
+msgstr "%1-indeling gebruiken"
+
+#: kbconfig.cpp:112
+#, fuzzy
+#| msgid "Available &keyboard layouts:"
+msgid "Cycle keyboard layouts"
+msgstr "Beschi&kbare indelingen:"
+
+#: kbconfig.cpp:113
+msgid ""
+"Activates the next keyboard layout or, if the current layout is the last "
+"one, activates the first layout."
+msgstr ""
+
+#: kbconfig.cpp:117
+#, fuzzy
+#| msgid "Available &keyboard layouts:"
+msgid "Cycle keyboard layouts (reverse)"
+msgstr "Beschi&kbare indelingen:"
+
+#: kbconfig.cpp:118
+msgid ""
+"Activates the previous keyboard layout or, if the current layout is the "
+"first one, activates the last layout."
+msgstr ""
+
+#: kbconfigdlg.cpp:116
+msgid "&General"
+msgstr "Al&gemeen"
+
+#: kbconfigdlg.cpp:120
+msgid "Available &keyboard layouts:"
+msgstr "Beschi&kbare indelingen:"
+
+#: kbconfigdlg.cpp:132
+msgid ""
+"This list box shows keyboard layouts available in your system.\n"
+"Select a layout and click \"Change Icon...\" button to change the icon for a "
+"layout.\n"
+"If you have configured a non-default icon, you can reset the icon to default "
+"with \"Use Default Icon\" button.\n"
+"The layout shown is bold is the default layout. Use \"Set as default\" "
+"button to set the default layout."
+msgstr ""
+"Deze lijst toont de op uw systeem beschikbare toetsenbordindelingen.\n"
+"Kies een indeling en klik op ‘Pictogram wijzigen…’ om het pictogram te "
+"wijzigen.\n"
+"Als u een ander pictogram hebt ingesteld en terug wilt naar het "
+"standaardpictograam, klik dan op ‘Standaardpictogram’.\n"
+"De vetgedrukte indeling is de standaardindeling. Klik op ‘Instellen als "
+"standaard’ om een andere standaardindeling te kiezen."
+
+#: kbconfigdlg.cpp:141
+msgid "Cha&nge Icon..."
+msgstr "Pictogram wijzige&n…"
+
+#: kbconfigdlg.cpp:144
+msgid ""
+"Click this button to change the icon for the layout selected in the list box "
+"to the left."
+msgstr ""
+"Kilk op deze knop om het pictogram van de gekozen indeling te wijzigen."
+
+#: kbconfigdlg.cpp:147
+msgid "Use &Default Icon"
+msgstr "Stan&daardpictogram"
+
+#: kbconfigdlg.cpp:150
+msgid ""
+"Click this button to use default icon for the layout selected in the list "
+"box to the left."
+msgstr ""
+"Klik op deze knop om het standaardpictogram van de gekozen indeling te "
+"herstellen."
+
+#: kbconfigdlg.cpp:153
+msgid "&Set as Default"
+msgstr "In&stellen als standaard"
+
+#: kbconfigdlg.cpp:156
+msgid ""
+"Click this button to set the layout selected in the list box to the left as "
+"the default"
+msgstr ""
+"Klik op deze knop de gekozen indeling in te stellen als standaardindeling."
+
+#: kbconfigdlg.cpp:162
+msgid "Layout &icon style:"
+msgstr "P&ictogramstijl:"
+
+#: kbconfigdlg.cpp:167
+msgid "Country flag"
+msgstr "Landsvlag"
+
+#: kbconfigdlg.cpp:168
+msgid "Language code"
+msgstr "Taalcode"
+
+#: kbconfigdlg.cpp:169
+msgid "Flag and code"
+msgstr "Vlag en code"
+
+#: kbconfigdlg.cpp:173
+msgid ""
+"<p>Select the style of icons representing the current keyboard layout.\n"
+"You can choose from the following styles:<ul><li><b>Country flag</b> - "
+"displays the corresponding country flag<li><b>Language code</b> - displays "
+"the language ISO 2-letter code<li><b>Flag and code</b> - displays the "
+"language code superimposed over the country flag.</ul></p>"
+msgstr ""
+
+#: kbconfigdlg.cpp:181
+msgid "&Layout applies to:"
+msgstr ""
+
+#: kbconfigdlg.cpp:186
+msgid "All windows"
+msgstr ""
+
+#: kbconfigdlg.cpp:187
+msgid "Windows of one application"
+msgstr ""
+
+#: kbconfigdlg.cpp:188
+msgid "One window"
+msgstr ""
+
+#: kbconfigdlg.cpp:191
+msgid ""
+"<p>Select what windows the currently selected keyboard layout applies to:\n"
+"<ul><li><b>All windows</b> - one layout applies to all windows on your "
+"desktop\n"
+"<li><b>Windows of one application</b> - layout applies to one application; "
+"each application can have its own layout. When you switch between "
+"applications, layout follows the active application\n"
+"<li><b>One window</b> - layout applies to one window only; each window can "
+"have its own layout. When you switch between windows, layout follows the "
+"active window.</ul></p>"
+msgstr ""
+
+#: kbconfigdlg.cpp:199
+msgid "Use \"&Toggle Mode\""
+msgstr ""
+
+#: kbconfigdlg.cpp:201
+msgid ""
+"Toggle mode is useful when you have more than two keyboard layouts defined. "
+"When toggle mode is on your normal layout switch key toggles between two "
+"most frequently used layouts. To activate other layouts use KKBSwitch's tray "
+"popup menu"
+msgstr ""
+
+#: kbconfigdlg.cpp:211
+msgid "A&utostart"
+msgstr ""
+
+#: kbconfigdlg.cpp:213
+msgid ""
+"When this checkbox is checked, KKBSwitch will start automatically when you "
+"log in"
+msgstr ""
+
+#: kbconfigdlg.cpp:219
+msgid "Sho&rtcuts"
+msgstr ""
+
+#: kbconfigdlg.cpp:220
+msgid "Use shortcuts to &activate keyboard layouts"
+msgstr ""
+
+#: kbconfigdlg.cpp:222
+msgid ""
+"Check this checkbox to be able to quickly activate any keyboard layout with "
+"keyboard shorcuts. Once this checkbox is checked, you can adjust the "
+"shortcuts at the key chooser pane below. Especially useful if you have three "
+"or four keyboard layouts configured"
+msgstr ""
+
+#: kbpickicondlg.cpp:42
+msgid "Pick an icon"
+msgstr ""
+
+#: kbpickicondlg.cpp:50
+msgid "Select one of the icons"
+msgstr ""
+
+#: kbpickicondlg.cpp:52
+msgid "&Browse..."
+msgstr ""
+
+#: kbpickicondlg.cpp:54
+msgid "Browse for an image file to use as an icon"
+msgstr ""
+
+#: kbpickicondlg.cpp:90
+msgid ""
+"*.png *.jpg *.gif *.xpm|Icon files (*.png, *.jpg, *.gif, *.xpm)\n"
+"*.*|All files (*.*)"
+msgstr ""
+
+#: kbpickicondlg.cpp:101
+msgid ""
+"The size of this image (%1 by %2) is not good.\n"
+"Preferred size for the layout icons is %3 by %4.\n"
+msgstr ""
+
+#: kbpickicondlg.cpp:106
+msgid " and also too wide"
+msgstr ""
+
+#: kbpickicondlg.cpp:107
+msgid " and also too narrow"
+msgstr ""
+
+#: kbpickicondlg.cpp:108
+#, c-format
+msgid "This image is too big%1."
+msgstr ""
+
+#: kbpickicondlg.cpp:110
+msgid "This image is too wide."
+msgstr ""
+
+#: kbpickicondlg.cpp:111
+msgid "This image is too narrow."
+msgstr ""
+
+#: kbpickicondlg.cpp:113
+msgid ""
+"KKBSwitch will scale it to appropriate size, but the result may not look "
+"very good.\n"
+"Are you sure you want to use this image?"
+msgstr ""
+
+#: kbpickicondlg.cpp:126
+msgid ""
+"Cannot read icon from file %1. Either it is not an image file or it is "
+"corrupt."
+msgstr ""
+
+#: kbswitchtrayicon.cpp:91 main.cpp:27 main.cpp:41
+msgid "Keyboard Switch"
+msgstr ""
+
+#: main.cpp:44
+msgid "Creator and maintainer"
+msgstr ""
+
+#: main.cpp:45
+msgid "Default group config and per-window groups"
+msgstr ""
+
+#: main.cpp:47
+msgid "FreeBSD port, feature suggestions"
+msgstr ""
+
+#: main.cpp:48
+msgid "Feature suggestions, Ukrainian translation"
+msgstr ""
+
+#: main.cpp:50
+msgid "Autostart patch"
+msgstr ""
+
+#: main.cpp:51
+msgid "Greek translation"
+msgstr ""
+
+#: main.cpp:52
+msgid "Slovak translation"
+msgstr ""
+
+#: xkeyboard.cpp:42
+msgid ""
+"This program was built against XKB extension library\n"
+"version %1.%2, but is run with the library version %3.%4.\n"
+"This may cause various problems and even result in a complete\n"
+"failure to function\n"
+msgstr ""
+
+#: xkeyboard.cpp:51
+msgid ""
+"The X Server does not support a compatible XKB extension.\n"
+"Either the server is not XKB-capable or the extension was disabled.\n"
+"This program would not work with this server, so it will exit now\n"
+msgstr ""
diff --git a/translations/messages/pl.po b/translations/messages/pl.po
new file mode 100644
index 0000000..daa0a73
--- /dev/null
+++ b/translations/messages/pl.po
@@ -0,0 +1,364 @@
+# SOME DESCRIPTIVE TITLE.
+# Marek W <coronzon88@gmail.com>, 2023.
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2023-06-13 18:21+0000\n"
+"PO-Revision-Date: 2023-06-26 23:15+0000\n"
+"Last-Translator: Marek W <coronzon88@gmail.com>\n"
+"Language-Team: Polish <https://mirror.git.trinitydesktop.org/weblate/"
+"projects/applications/kkbswitch/pl/>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2;\n"
+"X-Generator: Weblate 4.17\n"
+
+#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
+msgid ""
+"_: NAME OF TRANSLATORS\n"
+"Your names"
+msgstr ""
+
+#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
+msgid ""
+"_: EMAIL OF TRANSLATORS\n"
+"Your emails"
+msgstr ""
+
+#: kbconfig.cpp:92
+msgid "<Unnamed>"
+msgstr "<Bez nazwy>"
+
+#: kbconfig.cpp:108
+msgid "Activate %1 keyboard layout"
+msgstr "Aktywuj układ %1"
+
+#: kbconfig.cpp:112
+msgid "Cycle keyboard layouts"
+msgstr "Przełącz cyklicznie układy klawiatury"
+
+#: kbconfig.cpp:113
+msgid ""
+"Activates the next keyboard layout or, if the current layout is the last "
+"one, activates the first layout."
+msgstr ""
+"Aktywuje następny układ klawiatury lub, jeśli bieżący układ jest ostatnim na "
+"liście, aktywuje pierwszy."
+
+#: kbconfig.cpp:117
+msgid "Cycle keyboard layouts (reverse)"
+msgstr "Przełącz cyklicznie układy klawiatury (wstecz)"
+
+#: kbconfig.cpp:118
+msgid ""
+"Activates the previous keyboard layout or, if the current layout is the "
+"first one, activates the last layout."
+msgstr ""
+"Aktywuje poprzedni układ klawiatury lub, jeśli aktywny jest pierwszy, "
+"aktywuje ostatni."
+
+#: kbconfigdlg.cpp:116
+msgid "&General"
+msgstr "O&gólne"
+
+#: kbconfigdlg.cpp:120
+msgid "Available &keyboard layouts:"
+msgstr "Dostępne układy &klawiatury:"
+
+#: kbconfigdlg.cpp:132
+msgid ""
+"This list box shows keyboard layouts available in your system.\n"
+"Select a layout and click \"Change Icon...\" button to change the icon for a "
+"layout.\n"
+"If you have configured a non-default icon, you can reset the icon to default "
+"with \"Use Default Icon\" button.\n"
+"The layout shown is bold is the default layout. Use \"Set as default\" "
+"button to set the default layout."
+msgstr ""
+"Ta lista pokazuje dostępne w systemie układy klawiatury.\n"
+"Wybierz układ i kliknij \"Zmień ikonę...\" aby zmienić wyświetlaną ikonę "
+"układu.\n"
+"Zmianę ikony można cofnąć przyciskiem \"Użyj ikony domyślnej\".\n"
+"Układ klawiatury o pogrubionej nazwie jest układem domyślnym, który można "
+"wybrać przyciskiem \"Ustaw jako domyślny\"."
+
+#: kbconfigdlg.cpp:141
+msgid "Cha&nge Icon..."
+msgstr "Zmień iko&nę..."
+
+#: kbconfigdlg.cpp:144
+msgid ""
+"Click this button to change the icon for the layout selected in the list box "
+"to the left."
+msgstr ""
+"Kliknij ten przycisk aby zmienić ikonę układu klawiatury wybranego na liście "
+"po lewej stronie."
+
+#: kbconfigdlg.cpp:147
+msgid "Use &Default Icon"
+msgstr "Użyj ikony &domyślnej"
+
+#: kbconfigdlg.cpp:150
+msgid ""
+"Click this button to use default icon for the layout selected in the list "
+"box to the left."
+msgstr ""
+"Kliknij ten przycisk aby użyć domyślnej ikony dla układu klawiatury "
+"wybranego z listy po lewej stronie."
+
+#: kbconfigdlg.cpp:153
+msgid "&Set as Default"
+msgstr "U&staw jako domyślny"
+
+#: kbconfigdlg.cpp:156
+msgid ""
+"Click this button to set the layout selected in the list box to the left as "
+"the default"
+msgstr ""
+"Kliknięcie tego przycisku spowoduje ustawienie wybranego z listy po lewej "
+"stronie układu jako układu domyślnego"
+
+#: kbconfigdlg.cpp:162
+msgid "Layout &icon style:"
+msgstr "Styl &ikony układu:"
+
+#: kbconfigdlg.cpp:167
+msgid "Country flag"
+msgstr "Flaga kraju"
+
+#: kbconfigdlg.cpp:168
+msgid "Language code"
+msgstr "Kod języka"
+
+#: kbconfigdlg.cpp:169
+msgid "Flag and code"
+msgstr "Flaga i kod"
+
+#: kbconfigdlg.cpp:173
+msgid ""
+"<p>Select the style of icons representing the current keyboard layout.\n"
+"You can choose from the following styles:<ul><li><b>Country flag</b> - "
+"displays the corresponding country flag<li><b>Language code</b> - displays "
+"the language ISO 2-letter code<li><b>Flag and code</b> - displays the "
+"language code superimposed over the country flag.</ul></p>"
+msgstr ""
+"<p>Wybierz styl ikon reprezentujących bieżący układ klawiatury.\n"
+"można wybrać jedną z następujących opcji:<ul><li><b>Flaga kraju</b> - "
+"pokazuje wyłącznie flagę kraju<li><b>Kod języka</b> - pokazuje dwuliterowy "
+"kod kraju ISO<li><b>Flaga i kod</b> - pokazuje kod kraju na tle flagi.</ul></"
+"p>"
+
+#: kbconfigdlg.cpp:181
+msgid "&Layout applies to:"
+msgstr "Układ k&lawiatury stosowany do:"
+
+#: kbconfigdlg.cpp:186
+msgid "All windows"
+msgstr "Wszystkie okna"
+
+#: kbconfigdlg.cpp:187
+msgid "Windows of one application"
+msgstr "Okna jednej aplikacji"
+
+#: kbconfigdlg.cpp:188
+msgid "One window"
+msgstr "Jedno okno"
+
+#: kbconfigdlg.cpp:191
+msgid ""
+"<p>Select what windows the currently selected keyboard layout applies to:\n"
+"<ul><li><b>All windows</b> - one layout applies to all windows on your "
+"desktop\n"
+"<li><b>Windows of one application</b> - layout applies to one application; "
+"each application can have its own layout. When you switch between "
+"applications, layout follows the active application\n"
+"<li><b>One window</b> - layout applies to one window only; each window can "
+"have its own layout. When you switch between windows, layout follows the "
+"active window.</ul></p>"
+msgstr ""
+"<p>Wybierz, których okien ma dotyczyć aktualnie wybrany układ klawiatury:\n"
+"<ul><li><b>Wszystkie okna</b> - pojedynczy układ dla całego pulpitu i "
+"wszystkich okien\n"
+"<li><b>Okna jednej aplikacji</b> - układ dotyczy konkretnej aplikacji; każda "
+"aplikacja może mieć swój układ klawiatury. Przełączanie między aplikacjami "
+"powoduje odpowiednią zmianę układu klawiatury.\n"
+"<li><b>Pojedyncze okno</b> - Układ dotyczy pojedynczego okna; każde okno "
+"może mieć swój układ klawiatury. Przełączanie aktywnych okien zmienia układ "
+"klawiatury.</ul></p>"
+
+#: kbconfigdlg.cpp:199
+msgid "Use \"&Toggle Mode\""
+msgstr "Użyj \"&Trybu przełączania\""
+
+#: kbconfigdlg.cpp:201
+msgid ""
+"Toggle mode is useful when you have more than two keyboard layouts defined. "
+"When toggle mode is on your normal layout switch key toggles between two "
+"most frequently used layouts. To activate other layouts use KKBSwitch's tray "
+"popup menu"
+msgstr ""
+"Tryb przełączania najbardziej przydaje się gdy używane są więcej niż dwa "
+"układy klawiatury. W tym trybie klawisz zmiany układów przełącza między "
+"dwoma najczęściej używanymi układami. Pozostałe układy można wybrać z menu "
+"KKBSwitch na tacce systemowej"
+
+#: kbconfigdlg.cpp:211
+msgid "A&utostart"
+msgstr "A&utostart"
+
+#: kbconfigdlg.cpp:213
+msgid ""
+"When this checkbox is checked, KKBSwitch will start automatically when you "
+"log in"
+msgstr ""
+"Zaznaczenie tej opcji spowoduje, że KKBSwitch będzie uruchamiany "
+"automatycznie przy zalogowaniu"
+
+#: kbconfigdlg.cpp:219
+msgid "Sho&rtcuts"
+msgstr "Sk&róty"
+
+#: kbconfigdlg.cpp:220
+msgid "Use shortcuts to &activate keyboard layouts"
+msgstr "Używaj skrótów aby &aktywować układy klawiatury"
+
+#: kbconfigdlg.cpp:222
+msgid ""
+"Check this checkbox to be able to quickly activate any keyboard layout with "
+"keyboard shorcuts. Once this checkbox is checked, you can adjust the "
+"shortcuts at the key chooser pane below. Especially useful if you have three "
+"or four keyboard layouts configured"
+msgstr ""
+"Zaznacz tą opcję aby móc szybko ustawić dowolny układ klawiatury skrótami "
+"klawiszowymi. Zaznaczenie tej opcji spowoduje, że skróty będzie można "
+"skonfigurować w panelu wyboru klawisza poniżej. Opcja ta jest użyteczna przy "
+"trzech lub czterech układach"
+
+#: kbpickicondlg.cpp:42
+msgid "Pick an icon"
+msgstr "Wybierz ikonę"
+
+#: kbpickicondlg.cpp:50
+msgid "Select one of the icons"
+msgstr "Wybierz jedną z ikon"
+
+#: kbpickicondlg.cpp:52
+msgid "&Browse..."
+msgstr "Przeglądaj..."
+
+#: kbpickicondlg.cpp:54
+msgid "Browse for an image file to use as an icon"
+msgstr "Przeglądaj w poszukiwaniu pliku obrazu używanego jako ikona"
+
+#: kbpickicondlg.cpp:90
+msgid ""
+"*.png *.jpg *.gif *.xpm|Icon files (*.png, *.jpg, *.gif, *.xpm)\n"
+"*.*|All files (*.*)"
+msgstr ""
+"*.png *.jpg *.gif *.xpm|Pliki ikon (*.png, *.jpg, *.gif, *.xpm)\n"
+"*.*|Wszystkie pliki (*.*)"
+
+#: kbpickicondlg.cpp:101
+msgid ""
+"The size of this image (%1 by %2) is not good.\n"
+"Preferred size for the layout icons is %3 by %4.\n"
+msgstr ""
+"Rozmiar tego obrazka (%1 x %2) jest nieprawidłowy jako ikona.\n"
+"Preferowany rozmiar dla ikony to %3 x %4.\n"
+
+#: kbpickicondlg.cpp:106
+msgid " and also too wide"
+msgstr " jak również jest zbyt szeroki"
+
+#: kbpickicondlg.cpp:107
+msgid " and also too narrow"
+msgstr " jak również za wąski"
+
+#: kbpickicondlg.cpp:108
+#, c-format
+msgid "This image is too big%1."
+msgstr "Obraz jest zbyt duży%1."
+
+#: kbpickicondlg.cpp:110
+msgid "This image is too wide."
+msgstr "Ten obrazek jest za szeroki."
+
+#: kbpickicondlg.cpp:111
+msgid "This image is too narrow."
+msgstr "Ten obrazek jest za wąski."
+
+#: kbpickicondlg.cpp:113
+msgid ""
+"KKBSwitch will scale it to appropriate size, but the result may not look "
+"very good.\n"
+"Are you sure you want to use this image?"
+msgstr ""
+"KKBSwitch przeskaluje obraz do odpowiedniego rozmiaru, jednak wynik może "
+"wyglądać niesatysfakcjonująco.\n"
+"Czy nadal chcesz użyć tego obrazka?"
+
+#: kbpickicondlg.cpp:126
+msgid ""
+"Cannot read icon from file %1. Either it is not an image file or it is "
+"corrupt."
+msgstr ""
+"Nie można odczytać ikony z pliku %1. Albo nie jest to plik obrazu, albo jest "
+"on uszkodzony."
+
+#: kbswitchtrayicon.cpp:91 main.cpp:27 main.cpp:41
+msgid "Keyboard Switch"
+msgstr "Przełącznik klawiatury"
+
+#: main.cpp:44
+msgid "Creator and maintainer"
+msgstr "Twórca i opiekun"
+
+#: main.cpp:45
+msgid "Default group config and per-window groups"
+msgstr "Domyślna konfiguracja grup oraz grupowanie według okna"
+
+#: main.cpp:47
+msgid "FreeBSD port, feature suggestions"
+msgstr "Adaptacja FreeBSD, sugestie możliwości"
+
+#: main.cpp:48
+msgid "Feature suggestions, Ukrainian translation"
+msgstr "Sugestie możliwości, tłumaczenie na język ukraiński"
+
+#: main.cpp:50
+msgid "Autostart patch"
+msgstr "Poprawka autostartu"
+
+#: main.cpp:51
+msgid "Greek translation"
+msgstr "Tłumaczenie na język grecki"
+
+#: main.cpp:52
+msgid "Slovak translation"
+msgstr "Tłumaczenie na język słowacki"
+
+#: xkeyboard.cpp:42
+msgid ""
+"This program was built against XKB extension library\n"
+"version %1.%2, but is run with the library version %3.%4.\n"
+"This may cause various problems and even result in a complete\n"
+"failure to function\n"
+msgstr ""
+"Ten program został zbudowany z wykorzystaniem rozszerzeń biblioteki XKB\n"
+"w wersji %1.%2, jednak został uruchomiony z biblioteką w wersji %3.%4.\n"
+"To może spowodować różne problemy, jak również spowodować całkowite\n"
+"niedziałanie programu\n"
+
+#: xkeyboard.cpp:51
+msgid ""
+"The X Server does not support a compatible XKB extension.\n"
+"Either the server is not XKB-capable or the extension was disabled.\n"
+"This program would not work with this server, so it will exit now\n"
+msgstr ""
+"Serwer X nie wspiera zgodnego rozszerzenia XKB.\n"
+"Albo używany serwer nie ma zgodności z XKB, albo rozszerzenie zostało "
+"wyłączone.\n"
+"Program nie może pracować z tym serwerem i zostanie zakończony.\n"
diff --git a/po/ru.po b/translations/messages/ru.po
index 2b20970..76ae555 100644
--- a/po/ru.po
+++ b/translations/messages/ru.po
@@ -4,27 +4,31 @@
# This file is distributed under the same license as the PACKAGE package.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER.
# Leonid Zeitlin <lz@europe.com>, 2003, 2004.
-#
+# Alexander Golubev <fatzer2@gmail.com>, 2022.
+# Andrei Stepanov <adem4ik@gmail.com>, 2024.
msgid ""
msgstr ""
"Project-Id-Version: ru\n"
-"POT-Creation-Date: 2019-01-13 19:08+0100\n"
-"PO-Revision-Date: 2004-06-15 23:51GMT\n"
-"Last-Translator: Leonid Zeitlin <lz@europe.com>\n"
-"Language-Team: Russian <ru@li.org>\n"
+"POT-Creation-Date: 2023-06-13 18:21+0000\n"
+"PO-Revision-Date: 2024-04-17 23:44+0000\n"
+"Last-Translator: Andrei Stepanov <adem4ik@gmail.com>\n"
+"Language-Team: Russian <https://mirror.git.trinitydesktop.org/weblate/"
+"projects/applications/kkbswitch/ru/>\n"
"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: KBabel 1.3.1\n"
+"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
+"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
+"X-Generator: Weblate 4.17\n"
-#: _translatorinfo:1
+#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr "Леонид Цейтлин"
-#: _translatorinfo:2
+#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
@@ -38,6 +42,30 @@ msgstr "<Без имени>"
msgid "Activate %1 keyboard layout"
msgstr "Включить раскладку %1"
+#: kbconfig.cpp:112
+msgid "Cycle keyboard layouts"
+msgstr "Циклические раскладки клавиатуры"
+
+#: kbconfig.cpp:113
+msgid ""
+"Activates the next keyboard layout or, if the current layout is the last "
+"one, activates the first layout."
+msgstr ""
+"Активирует следующую раскладку клавиатуры или, если текущая раскладка "
+"является последней, активирует первую раскладку."
+
+#: kbconfig.cpp:117
+msgid "Cycle keyboard layouts (reverse)"
+msgstr "Циклические раскладки клавиатуры (обратно)"
+
+#: kbconfig.cpp:118
+msgid ""
+"Activates the previous keyboard layout or, if the current layout is the "
+"first one, activates the last layout."
+msgstr ""
+"Активирует предыдущую раскладку клавиатуры или, если текущая раскладка "
+"является первой, активирует последнюю раскладку."
+
#: kbconfigdlg.cpp:116
msgid "&General"
msgstr "О&бщие"
@@ -74,8 +102,8 @@ msgid ""
"Click this button to change the icon for the layout selected in the list box "
"to the left."
msgstr ""
-"Нажмите эту кнопку, чтобы задать значок.для раскладки, выбранной в списке "
-"слева. "
+"Нажмите эту кнопку, чтобы задать значок для раскладки, выбранной в списке "
+"слева."
#: kbconfigdlg.cpp:147
msgid "Use &Default Icon"
@@ -93,13 +121,12 @@ msgid "&Set as Default"
msgstr "Использовать по &умолчанию"
#: kbconfigdlg.cpp:156
-#, fuzzy
msgid ""
"Click this button to set the layout selected in the list box to the left as "
"the default"
msgstr ""
"Нажмите эту кнопку, чтобы сделать раскладку, выбранную в списке слева, "
-"раскладкой по умолчанию."
+"раскладкой по умолчанию"
#: kbconfigdlg.cpp:162
msgid "Layout &icon style:"
@@ -118,7 +145,6 @@ msgid "Flag and code"
msgstr "Флаг и код"
#: kbconfigdlg.cpp:173
-#, fuzzy
msgid ""
"<p>Select the style of icons representing the current keyboard layout.\n"
"You can choose from the following styles:<ul><li><b>Country flag</b> - "
@@ -126,10 +152,10 @@ msgid ""
"the language ISO 2-letter code<li><b>Flag and code</b> - displays the "
"language code superimposed over the country flag.</ul></p>"
msgstr ""
-"<p>Выберите стиль значков, обозначающих текущую раскладку клавиатуры\n"
-"Вы можете выбрать из следующих стилей: <ul> <li><b>Флаг страны</b> - "
-"изображается соответствующий флажок страны <li><b>Код языка</b> - "
-"изображается двухбуквенный ISO-код языка <li><b>Флаг и код</b> - "
+"<p>Выберите стиль значков, обозначающих текущую раскладку клавиатуры.\n"
+"Вы можете выбрать из следующих стилей: <ul> <li><b>Флаг страны</b> — "
+"изображается соответствующий флажок страны <li><b>Код языка</b> — "
+"изображается двухбуквенный ISO-код языка <li><b>Флаг и код</b> — "
"изображается флажок и код языка поверх него.</ul></p>"
#: kbconfigdlg.cpp:181
@@ -205,7 +231,7 @@ msgstr "Быстрые &клавиши"
#: kbconfigdlg.cpp:220
msgid "Use shortcuts to &activate keyboard layouts"
-msgstr "&Использовать быстрые клавиши для включения раскладок"
+msgstr "&Использовать комбинации клавиш для включения раскладок"
#: kbconfigdlg.cpp:222
msgid ""
@@ -215,9 +241,9 @@ msgid ""
"or four keyboard layouts configured"
msgstr ""
"Если этот флажок отмечен, то вы получаете возможность быстро включить "
-"определенную раскладку с помощью быстрой клавиши. После того как флажок "
-"отмечен, настройте быстрые клавиши в поле внизу. Эта возможность особенно "
-"полезна, если вы сконфигурировали три или четыре раскладки."
+"определенную раскладку с помощью комбинации клавиш. После того как флажок "
+"отмечен, настройте комбинацию клавиш в поле внизу. Это может оказаться "
+"особенно полезно, если вы настроили три или четыре раскладки."
#: kbpickicondlg.cpp:42
msgid "Pick an icon"
diff --git a/po/sk.po b/translations/messages/sk.po
index 25a20e1..ae2c63c 100644
--- a/po/sk.po
+++ b/translations/messages/sk.po
@@ -3,7 +3,7 @@
msgid ""
msgstr ""
"Project-Id-Version: sk\n"
-"POT-Creation-Date: 2019-01-13 19:08+0100\n"
+"POT-Creation-Date: 2023-06-13 18:21+0000\n"
"PO-Revision-Date: 2004-06-16 09:11+0200\n"
"Last-Translator: Michal Šulek <realodshot@atlas.sk>\n"
"Language-Team: sk <sk-i18n@lists.linux.sk>\n"
@@ -13,13 +13,13 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 1.3.1\n"
-#: _translatorinfo:1
+#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr "Michal Šulek"
-#: _translatorinfo:2
+#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
@@ -33,6 +33,30 @@ msgstr "<Nepomenovaný>"
msgid "Activate %1 keyboard layout"
msgstr "Aktivovať rozloženie klávesnice %1"
+#: kbconfig.cpp:112
+#, fuzzy
+#| msgid "Available &keyboard layouts:"
+msgid "Cycle keyboard layouts"
+msgstr "Dostupné rozloženia &klávesnice:"
+
+#: kbconfig.cpp:113
+msgid ""
+"Activates the next keyboard layout or, if the current layout is the last "
+"one, activates the first layout."
+msgstr ""
+
+#: kbconfig.cpp:117
+#, fuzzy
+#| msgid "Available &keyboard layouts:"
+msgid "Cycle keyboard layouts (reverse)"
+msgstr "Dostupné rozloženia &klávesnice:"
+
+#: kbconfig.cpp:118
+msgid ""
+"Activates the previous keyboard layout or, if the current layout is the "
+"first one, activates the last layout."
+msgstr ""
+
#: kbconfigdlg.cpp:116
msgid "&General"
msgstr "&Všeobecné"
diff --git a/po/sv.po b/translations/messages/sv.po
index 1b25dfd..f7ec5a9 100644
--- a/po/sv.po
+++ b/translations/messages/sv.po
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: kkbswitch\n"
-"POT-Creation-Date: 2019-01-13 19:08+0100\n"
+"POT-Creation-Date: 2023-06-13 18:21+0000\n"
"PO-Revision-Date: 2006-03-02 11:47+0100\n"
"Last-Translator: Daniel Nylander <po@danielnylander.se>\n"
"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
@@ -15,13 +15,13 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: _translatorinfo:1
+#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr "Daniel Nylander"
-#: _translatorinfo:2
+#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
@@ -35,6 +35,30 @@ msgstr "<Ej namngiven>"
msgid "Activate %1 keyboard layout"
msgstr "Aktivera tangentbordslayout %1"
+#: kbconfig.cpp:112
+#, fuzzy
+#| msgid "Available &keyboard layouts:"
+msgid "Cycle keyboard layouts"
+msgstr "Tillgängliga &tangentbordslayouter:"
+
+#: kbconfig.cpp:113
+msgid ""
+"Activates the next keyboard layout or, if the current layout is the last "
+"one, activates the first layout."
+msgstr ""
+
+#: kbconfig.cpp:117
+#, fuzzy
+#| msgid "Available &keyboard layouts:"
+msgid "Cycle keyboard layouts (reverse)"
+msgstr "Tillgängliga &tangentbordslayouter:"
+
+#: kbconfig.cpp:118
+msgid ""
+"Activates the previous keyboard layout or, if the current layout is the "
+"first one, activates the last layout."
+msgstr ""
+
#: kbconfigdlg.cpp:116
msgid "&General"
msgstr "&Allmänt"
diff --git a/po/uk.po b/translations/messages/uk.po
index 3aaa9af..8237a0f 100644
--- a/po/uk.po
+++ b/translations/messages/uk.po
@@ -10,34 +10,34 @@
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER.
# Vadim Kriklivy <analitic@vinnitsa.com>, 2003, 2004.
# Leonid Zeitlin <lz@europe.com>, 2004.
-#
-#
-#
-#
+# Roman Savochenko <roman@oscada.org>, 2021, 2024.
msgid ""
msgstr ""
"Project-Id-Version: uk\n"
-"POT-Creation-Date: 2019-01-13 19:08+0100\n"
-"PO-Revision-Date: 2004-06-15 23:51GMT\n"
-"Last-Translator: Leonid Zeitlin <lz@europe.com>\n"
-"Language-Team: Russian <ru@li.org>\n"
-"Language: ru\n"
+"POT-Creation-Date: 2023-06-13 18:21+0000\n"
+"PO-Revision-Date: 2024-01-10 09:06+0000\n"
+"Last-Translator: Roman Savochenko <roman@oscada.org>\n"
+"Language-Team: Ukrainian <https://mirror.git.trinitydesktop.org/weblate/"
+"projects/applications/kkbswitch/uk/>\n"
+"Language: uk\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: KBabel 1.3.1\n"
+"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
+"X-Generator: Weblate 4.17\n"
-#: _translatorinfo:1
+#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
-msgstr "Вадим Крикливий"
+msgstr "Вадим Крикливий,Роман Савоченко"
-#: _translatorinfo:2
+#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
-msgstr "analitic@vinnitsa.com"
+msgstr "analitic@vinnitsa.com,roman@oscada.org"
#: kbconfig.cpp:92
msgid "<Unnamed>"
@@ -47,13 +47,34 @@ msgstr "<Без імені>"
msgid "Activate %1 keyboard layout"
msgstr "Активувати розкладку %1"
+#: kbconfig.cpp:112
+msgid "Cycle keyboard layouts"
+msgstr "Обходити по колу розкладки клавіатури"
+
+#: kbconfig.cpp:113
+msgid ""
+"Activates the next keyboard layout or, if the current layout is the last "
+"one, activates the first layout."
+msgstr "Активує наступну розкладку клавіатури або першу, якщо активна остання."
+
+#: kbconfig.cpp:117
+msgid "Cycle keyboard layouts (reverse)"
+msgstr "Обходити по колу розкладки клавіатури (назад)"
+
+#: kbconfig.cpp:118
+msgid ""
+"Activates the previous keyboard layout or, if the current layout is the "
+"first one, activates the last layout."
+msgstr ""
+"Активує попередню розкладку клавіатури або останню, якщо активна перша."
+
#: kbconfigdlg.cpp:116
msgid "&General"
-msgstr "Загальні"
+msgstr "&Загальне"
#: kbconfigdlg.cpp:120
msgid "Available &keyboard layouts:"
-msgstr "Доступні &розкладки клавіатури"
+msgstr "Доступні &розкладки клавіатури:"
#: kbconfigdlg.cpp:132
msgid ""
@@ -101,13 +122,12 @@ msgid "&Set as Default"
msgstr "Використовувати за замовчуванням"
#: kbconfigdlg.cpp:156
-#, fuzzy
msgid ""
"Click this button to set the layout selected in the list box to the left as "
"the default"
msgstr ""
-"Натисніть цю кнопку, щоб призначити розкладку, що обрана у списку ліворуч, "
-"розкладкою за замовчуванням."
+"Натисніть цю кнопку щоб призначити розкладку, що обрана у списку ліворуч, "
+"розкладкою за замовчуванням"
#: kbconfigdlg.cpp:162
msgid "Layout &icon style:"
@@ -126,7 +146,6 @@ msgid "Flag and code"
msgstr "Прапор та код"
#: kbconfigdlg.cpp:173
-#, fuzzy
msgid ""
"<p>Select the style of icons representing the current keyboard layout.\n"
"You can choose from the following styles:<ul><li><b>Country flag</b> - "
@@ -134,8 +153,8 @@ msgid ""
"the language ISO 2-letter code<li><b>Flag and code</b> - displays the "
"language code superimposed over the country flag.</ul></p>"
msgstr ""
-"<p>Виберіть стиль значків, що позначають поточну розкладку клавіатури.\n"
-"Ви маєте змогу вибрати з наступних стилів: <ul> <li><b>Прапор країни</b> - "
+"<p>Оберіть стиль піктограм які позначають поточну розкладку клавіатури.\n"
+"Ви маєте змогу обрати з наступних стилів: <ul> <li><b>Прапор країни</b> - "
"відображається відповідний прапорець країни <li><b>Код мови</b> - "
"відображається дволітерний ISO-код мови <li><b>Прапор та код</b> - "
"відображається прапорець та поверх нього код мови</ul></p>"
@@ -189,11 +208,11 @@ msgid ""
"most frequently used layouts. To activate other layouts use KKBSwitch's tray "
"popup menu"
msgstr ""
-"\"Режим перемикача\" корисний, якщо у вас встановлено більш ніж дві "
-"розкладки. Якщо режим перемикача ввімкнено, то за допомогою клавіш ви маєте "
-"змогу вибирати одну з двох розкладок, що найчастіше використовуються. Щоб "
-"вибрати одну з інших розкладок, клацніть правою кнопкою миші на значку "
-"KKBSwitch на панелі KDE "
+"Режим перемикача корисний коли у вас встановлено більш ніж дві розкладки. "
+"Якщо режим перемикача ввімкнено, то за допомогою клавіш ви маєте змогу "
+"обирати одну з двох розкладок, що найчастіше використовуються. Щоб обрати "
+"одну з інших розкладок клацніть правою кнопкою миші на значку KKBSwitch у "
+"системному лотку"
#: kbconfigdlg.cpp:211
msgid "A&utostart"
@@ -222,10 +241,10 @@ msgid ""
"shortcuts at the key chooser pane below. Especially useful if you have three "
"or four keyboard layouts configured"
msgstr ""
-"Якщо цю функцію активовано, ви отримуєте можливість швидко вибирати "
-"необхідну розкладку за допомогою скорочень. Післе того, як функцію "
-"активовано, налаштуйте скорочення у вікні, що розташоване нижче. Ця "
-"можливість особливо корисна, якщо ви встановили три або чотири розкладки."
+"Якщо цю функцію активовано, ви отримуєте можливість швидко обирати необхідну "
+"розкладку за допомогою скорочень. Після того, як функцію активовано, "
+"налаштуйте скорочення у вікні, що розташоване нижче. Ця можливість особливо "
+"корисна коли ви встановили три або чотири розкладки"
#: kbpickicondlg.cpp:42
msgid "Pick an icon"
@@ -237,7 +256,7 @@ msgstr "Виберіть один зі значків"
#: kbpickicondlg.cpp:52
msgid "&Browse..."
-msgstr "&Перегляд..."
+msgstr "&Оглянути..."
#: kbpickicondlg.cpp:54
msgid "Browse for an image file to use as an icon"
@@ -261,11 +280,11 @@ msgstr ""
#: kbpickicondlg.cpp:106
msgid " and also too wide"
-msgstr "та є занадто широкою"
+msgstr " і також зашироке"
#: kbpickicondlg.cpp:107
msgid " and also too narrow"
-msgstr "та є занадто вузькою"
+msgstr " і також завузьке"
#: kbpickicondlg.cpp:108
#, c-format
@@ -308,9 +327,7 @@ msgstr "Автор та основний розробник"
#: main.cpp:45
msgid "Default group config and per-window groups"
-msgstr ""
-"Конфігурація уставної розкладки\n"
-"та призначення розкладки для кожного вікна"
+msgstr "Конфігурація типової групи та груп за вікнами"
#: main.cpp:47
msgid "FreeBSD port, feature suggestions"
@@ -330,7 +347,7 @@ msgstr "Переклад грецькою мовою"
#: main.cpp:52
msgid "Slovak translation"
-msgstr "Переклад словацькою мовою"
+msgstr "Словацький переклад"
#: xkeyboard.cpp:42
msgid ""
@@ -339,10 +356,10 @@ msgid ""
"This may cause various problems and even result in a complete\n"
"failure to function\n"
msgstr ""
-"Ця програма була скомпильована з бібліотекою XKB версії %1.%2,\n"
-"а запускається з бібліотекою версії %3.%4.\n"
-"Це може спричинити різні проблеми, навіть унеможливити використання цієї "
-"програми.\n"
+"Цю програму було зібрано із бібліотекою XKB\n"
+"версії %1.%2, але запущено із версією %3.%4.\n"
+"Це може спричинити різні проблеми, навіть\n"
+"унеможливити використання цієї програми.\n"
#: xkeyboard.cpp:51
msgid ""