update shell to latte shell

--updated also the translations mechanism
for shell
v0.6
Michail Vourlakos 8 years ago
parent 54d19482a2
commit 433da2aed7

@ -29,8 +29,8 @@ IF(NOT GETTEXT_MSGFMT_EXECUTABLE)
------")
ELSE(NOT GETTEXT_MSGFMT_EXECUTABLE)
SET(catalogname plasma_applet_org.kde.nowdock.containment)
#containment translations
SET(catalogname plasma_applet_org.kde.latte.containment)
ADD_CUSTOM_TARGET(translations-containment ALL)
FILE(GLOB PO_FILES po/containment/*.po)
@ -47,18 +47,19 @@ ELSE(NOT GETTEXT_MSGFMT_EXECUTABLE)
ADD_CUSTOM_COMMAND(TARGET translations-containment
COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} --check -o ${_gmoFile} ${_poFile}
DEPENDS ${_poFile})
INSTALL(FILES ${_gmoFile} DESTINATION ${LOCALE_INSTALL_DIR}/${_langCode}/LC_MESSAGES/ RENAME ${catalogname}.mo)
INSTALL(FILES ${_gmoFile} DESTINATION ${LOCALE_INSTALL_DIR}/kf5/${_langCode}/LC_MESSAGES/ RENAME ${catalogname}.mo)
ENDIF( _langCode )
ENDFOREACH(_poFile ${PO_FILES})
SET(catalogname2 plasma_applet_org.kde.store.nowdock.plasmoid)
#plasmoid translations
SET(catalogname-plasmoid plasma_applet_org.kde.store.nowdock.plasmoid)
ADD_CUSTOM_TARGET(translations-plasmoid ALL)
FILE(GLOB PO_FILES2 po/plasmoid/*.po)
FILE(GLOB PO_FILES_PLASMOID po/plasmoid/*.po)
FOREACH(_poFile ${PO_FILES2})
FOREACH(_poFile ${PO_FILES_PLASMOID})
GET_FILENAME_COMPONENT(_poFileName ${_poFile} NAME)
STRING(REGEX REPLACE "^${catalogname2}_?" "" _langCode ${_poFileName} )
STRING(REGEX REPLACE "^${catalogname-plasmoid}_?" "" _langCode ${_poFileName} )
STRING(REGEX REPLACE "\\.po$" "" _langCode ${_langCode} )
IF( _langCode )
@ -68,10 +69,31 @@ ELSE(NOT GETTEXT_MSGFMT_EXECUTABLE)
ADD_CUSTOM_COMMAND(TARGET translations-plasmoid
COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} --check -o ${_gmoFile} ${_poFile}
DEPENDS ${_poFile})
INSTALL(FILES ${_gmoFile} DESTINATION ${LOCALE_INSTALL_DIR}/${_langCode}/LC_MESSAGES/ RENAME ${catalogname2}.mo)
INSTALL(FILES ${_gmoFile} DESTINATION ${LOCALE_INSTALL_DIR}/kf5/${_langCode}/LC_MESSAGES/ RENAME ${catalogname-plasmoid}.mo)
ENDIF( _langCode )
ENDFOREACH(_poFile ${PO_FILES})
#shell translations
SET(catalogname-shell plasma_shell_org.kde.latte.shell)
ADD_CUSTOM_TARGET(translations-shell ALL)
FILE(GLOB PO_FILES_SHELL po/shell/*.po)
FOREACH(_poFile ${PO_FILES_SHELL})
GET_FILENAME_COMPONENT(_poFileName ${_poFile} NAME)
STRING(REGEX REPLACE "^${catalogname-shell}_?" "" _langCode ${_poFileName} )
STRING(REGEX REPLACE "\\.po$" "" _langCode ${_langCode} )
IF( _langCode )
GET_FILENAME_COMPONENT(_lang ${_poFile} NAME_WE)
SET(_gmoFile ${CMAKE_CURRENT_BINARY_DIR}/shell/${_lang}.gmo)
ADD_CUSTOM_COMMAND(TARGET translations-shell
COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} --check -o ${_gmoFile} ${_poFile}
DEPENDS ${_poFile})
INSTALL(FILES ${_gmoFile} DESTINATION ${LOCALE_INSTALL_DIR}/kf5/${_langCode}/LC_MESSAGES/ RENAME ${catalogname-shell}.mo)
ENDIF( _langCode )
ENDFOREACH(_poFile ${PO_FILES})
ENDIF(NOT GETTEXT_MSGFMT_EXECUTABLE)
add_subdirectory(liblattedock)
@ -80,7 +102,8 @@ plasma_install_package(build/containment/release org.kde.latte.containment)
add_subdirectory(plasmoid)
plasma_install_package(build/plasmoid/release org.kde.store.nowdock.plasmoid)
plasma_install_package(shell org.kde.nowdock.shell shells shell)
add_subdirectory(shell)
plasma_install_package(build/shell/release org.kde.latte.shell shells shell)
add_subdirectory(corona)

@ -111,10 +111,12 @@ Item{
}
function slotMustBeRaised() {
if ((window.visibility.panelVisibility === LatteDock.Types.AutoHide) || window.visibility.isDockWindowType) {
slidingAnimationAutoHiddenIn.init();
} else {
slidingAnimation.init(true,false);
if (window) {
if ((window.visibility.panelVisibility === LatteDock.Types.AutoHide) || window.visibility.isDockWindowType) {
slidingAnimationAutoHiddenIn.init();
} else {
slidingAnimation.init(true,false);
}
}
}
@ -123,10 +125,12 @@ Item{
}
function slotMustBeLowered() {
if ((window.visibility.panelVisibility === LatteDock.Types.AutoHide) || window.visibility.isDockWindowType ) {
slidingAnimationAutoHiddenOut.init();
} else {
slidingAnimation.init(false,false);
if (window) {
if ((window.visibility.panelVisibility === LatteDock.Types.AutoHide) || window.visibility.isDockWindowType ) {
slidingAnimationAutoHiddenOut.init();
} else {
slidingAnimation.init(false,false);
}
}
}

@ -18,10 +18,10 @@ void NowDockPackage::initPackage(KPackage::Package *package)
auto fallback = KPackage::PackageLoader::self()->loadPackage("Plasma/Shell", "org.kde.plasma.desktop");
package->setDefaultPackageRoot(QStringLiteral("plasma/shells/"));
package->setPath("org.kde.nowdock.shell");
package->setPath("org.kde.latte.shell");
package->addFileDefinition("nowdockui", QStringLiteral("views/Panel.qml"), i18n("Now Dock panel"));
//Configuration
package->addFileDefinition("nowdockconfigurationui", QStringLiteral("configuration/NowDockConfiguration.qml"), i18n("Dock configuration UI"));
package->addFileDefinition("nowdockconfigurationui", QStringLiteral("configuration/LatteDockConfiguration.qml"), i18n("Dock configuration UI"));
package->addFileDefinition("configmodel", QStringLiteral("configuration/config.qml"), i18n("Config model"));
package->setFallbackPackage(fallback);
qDebug() << "package is valid" << package->isValid();
@ -34,10 +34,10 @@ void NowDockPackage::pathChanged(KPackage::Package *package)
const QString pluginName = package->metadata().pluginId();
if (!pluginName.isEmpty() && pluginName != "org.kde.nowdock.shell") {
auto fallback = KPackage::PackageLoader::self()->loadPackage("NowDock/Shell", "org.kde.nowdock.shell");
if (!pluginName.isEmpty() && pluginName != "org.kde.latte.shell") {
auto fallback = KPackage::PackageLoader::self()->loadPackage("LatteDock/Shell", "org.kde.latte.shell");
package->setFallbackPackage(fallback);
} else if (pluginName.isEmpty() || pluginName == "org.kde.nowdock.shell") {
} else if (pluginName.isEmpty() || pluginName == "org.kde.latte.shell") {
package->setFallbackPackage(KPackage::Package());
}
}

@ -1,7 +1,7 @@
#!/bin/sh
BASEDIR="../.." # root of translatable sources
PROJECT="plasma_applet_org.kde.nowdock.containment" # project name
PROJECT="plasma_applet_org.kde.latte.containment" # project name
PROJECTPATH="../../containment" # project path
BUGADDR="https://github.com/psifidotos/nowdock-panel/" # MSGID-Bugs
WDIR="`pwd`/containment" # working dir
@ -10,6 +10,10 @@ PROJECTPLASMOID="plasma_applet_org.kde.store.nowdock.plasmoid" # project name
PROJECTPATHPLASMOID="../../plasmoid" # project path
WDIRPLASMOID="`pwd`/plasmoid" # working di
PROJECTSHELL="plasma_shell_org.kde.latte.shell" # project name
PROJECTPATHSHELL="../../shell" # project path
WDIRSHELL="`pwd`/shell" # working di
echo "Preparing rc files for panel"
cd containment
@ -18,9 +22,6 @@ cd containment
find "${PROJECTPATH}" -name '*.rc' -o -name '*.ui' -o -name '*.kcfg' | sort > "${WDIR}/rcfiles.list"
xargs --arg-file="${WDIR}/rcfiles.list" extractrc > "${WDIR}/rc.cpp"
# additional string for KAboutData
# echo 'i18nc("NAME OF TRANSLATORS","Your names");' >> "${WDIR}/rc.cpp"
# echo 'i18nc("EMAIL OF TRANSLATORS","Your emails");' >> "${WDIR}/rc.cpp"
intltool-extract --quiet --type=gettext/ini ../../containment.metadata.desktop.template
@ -61,10 +62,6 @@ echo "Done translations for panel"
#---------------------- Plasmoid section ----------------#
#!/bin/sh
#BASEDIR=".." # root of translatable sources
echo "Preparing rc files for plasmoid"
cd ../plasmoid
@ -109,5 +106,47 @@ rm "${WDIRPLASMOID}/rc.cpp"
echo "Done"
#---------------------- Shell Section ----------------#
echo "Preparing rc files for shell"
cd ../shell
# we use simple sorting to make sure the lines do not jump around too much from system to system
find "${PROJECTPATHSHELL}" -name '*.rc' -o -name '*.ui' -o -name '*.kcfg' | sort > "${WDIRSHELL}/rcfiles.list"
xargs --arg-file="${WDIRSHELL}/rcfiles.list" extractrc > "${WDIRSHELL}/rc.cpp"
intltool-extract --quiet --type=gettext/ini ../../shell.metadata.desktop.template
cat ../../shell.metadata.desktop.template.h >> ${WDIRSHELL}/rc.cpp
rm ../../shell.metadata.desktop.template.h
echo "Done preparing rc files for shell"
echo "Extracting messages for shell"
# see above on sorting
find "${PROJECTPATHSHELL}" -name '*.cpp' -o -name '*.h' -o -name '*.c' -o -name '*.qml' -o -name '*.qml.cmake' | sort > "${WDIRSHELL}/infiles.list"
echo "rc.cpp" >> "${WDIRSHELL}/infiles.list"
xgettext --from-code=UTF-8 -C -kde -ci18n -ki18n:1 -ki18nc:1c,2 -ki18np:1,2 -ki18ncp:1c,2,3 \
-ktr2i18n:1 -kI18N_NOOP:1 -kI18N_NOOP2:1c,2 -kN_:1 -kaliasLocale -kki18n:1 -kki18nc:1c,2 \
-kki18np:1,2 -kki18ncp:1c,2,3 --msgid-bugs-address="${BUGADDR}" --files-from=infiles.list \
-D "${BASEDIR}" -D "${WDIRSHELL}" -o "${PROJECTSHELL}.pot" || \
{ echo "error while calling xgettext. aborting."; exit 1; }
echo "Done extracting messages for shell"
echo "Merging translations for shell"
catalogs=`find . -name '*.po'`
for cat in $catalogs; do
echo "$cat"
msgmerge -o "$cat.new" "$cat" "${WDIRSHELL}/${PROJECTSHELL}.pot"
mv "$cat.new" "$cat"
done
intltool-merge --quiet --desktop-style . ../../shell.metadata.desktop.template "${PROJECTPATHSHELL}"/metadata.desktop.cmake
echo "Done merging translations for shell"
echo "Cleaning up for shell"
rm "${WDIRSHELL}/rcfiles.list"
rm "${WDIRSHELL}/infiles.list"
rm "${WDIRSHELL}/rc.cpp"
echo "Done"

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/psifidotos/nowdock-panel/\n"
"POT-Creation-Date: 2016-12-25 15:57+0200\n"
"POT-Creation-Date: 2016-12-25 18:53+0200\n"
"PO-Revision-Date: 2016-11-25 00:08+0200\n"
"Last-Translator: Michail Vοurlakos <mvourlakos@gmail.com>\n"
"Language-Team: Greek <kde-i18n-doc@kde.org>\n"

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/psifidotos/nowdock-panel/\n"
"POT-Creation-Date: 2016-12-25 15:57+0200\n"
"POT-Creation-Date: 2016-12-25 18:53+0200\n"
"PO-Revision-Date: 2016-10-14 14:20+0100\n"
"Last-Translator: Damian Kopeć <damikope@gmail.com>\n"
"Language-Team: Polish <kde-i18n-doc@kde.org>\n"

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: https://github.com/psifidotos/nowdock-panel/\n"
"POT-Creation-Date: 2016-12-22 18:00+0200\n"
"POT-Creation-Date: 2016-12-25 18: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"
@ -18,17 +18,9 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
#: rc.cpp:1
msgid "Now Dock"
msgid "Latte"
msgstr ""
#: rc.cpp:2
msgid "A dock for Plasma that tries to animate its plasmoids on hovering"
msgstr ""
#: rc.cpp:3
msgid "Now Dock Default Panel"
msgstr ""
#: rc.cpp:4
msgid "Empty Now Dock Panel"
msgid "Containment provided for the Latte Dock"
msgstr ""

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/psifidotos/nowdock-panel/\n"
"POT-Creation-Date: 2016-12-25 15:57+0200\n"
"POT-Creation-Date: 2016-12-25 18:53+0200\n"
"PO-Revision-Date: 2016-09-25 04:15+0300\n"
"Last-Translator: Viorel-Cătălin Răpițeanu <rapiteanu DOT catalin AT gmail "
"DOT com>\n"

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/psifidotos/nowdock-panel/\n"
"POT-Creation-Date: 2016-12-25 15:57+0200\n"
"POT-Creation-Date: 2016-12-25 18:53+0200\n"
"PO-Revision-Date: 2016-11-26 17:31+0800\n"
"Last-Translator: Jeff Huang <s8321414@gmail.com>\n"
"Language-Team: Chinese <kde-i18n-doc@kde.org>\n"

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/psifidotos/nowdock-panel/\n"
"POT-Creation-Date: 2016-12-25 15:57+0200\n"
"POT-Creation-Date: 2016-12-25 18:53+0200\n"
"PO-Revision-Date: 2016-11-25 00:01+0200\n"
"Last-Translator: Michail Vοurlakos <mvourlakos@gmail.com>\n"
"Language-Team: Greek <kde-i18n-doc@kde.org>\n"

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/psifidotos/nowdock-panel/\n"
"POT-Creation-Date: 2016-12-25 15:57+0200\n"
"POT-Creation-Date: 2016-12-25 18:53+0200\n"
"PO-Revision-Date: 2016-10-16 13:14+0100\n"
"Last-Translator: Damian Kopeć <damikope@gmail.com>\n"
"Language-Team: Polish <kde-i18n-doc@kde.org>\n"

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: https://github.com/psifidotos/nowdock-panel/\n"
"POT-Creation-Date: 2016-12-25 15:57+0200\n"
"POT-Creation-Date: 2016-12-25 18: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"

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/psifidotos/nowdock-panel/\n"
"POT-Creation-Date: 2016-12-25 15:57+0200\n"
"POT-Creation-Date: 2016-12-25 18:53+0200\n"
"PO-Revision-Date: 2016-11-26 17:34+0800\n"
"Last-Translator: Jeff Huang <s8321414@gmail.com>\n"
"Language-Team: Chinese <kde-i18n-doc@kde.org>\n"

@ -0,0 +1,198 @@
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
#
# Michail Vοurlakos <mvourlakos@gmail.com>, 2016.
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/psifidotos/nowdock-panel/\n"
"POT-Creation-Date: 2016-12-25 18:53+0200\n"
"PO-Revision-Date: 2016-12-25 18:54+0200\n"
"Last-Translator: Michail Vοurlakos <mvourlakos@gmail.com>\n"
"Language-Team: Greek <kde-i18n-doc@kde.org>\n"
"Language: el_GR\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: Lokalize 2.0\n"
#: ../../shell/contents/configuration/config.qml:26
msgid "General"
msgstr "Γενικά"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:38
msgid "Applets Alignment"
msgstr "Στοίχιση Εφαρμογών"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:52
msgid "ver: "
msgstr "εκδ: "
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:109
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:155
msgid "Top"
msgstr "Πάνω"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:109
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:155
msgid "Left"
msgstr "Αριστερά"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:125
msgid "Center"
msgstr "Κέντρο"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:138
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:155
msgid "Bottom"
msgstr "Κάτω"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:138
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:155
msgid "Right"
msgstr "Δεξιά"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:181
msgid "Visibility"
msgstr "Ορατότητα"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:237
msgid "Below Active"
msgstr "Κάτω από Ενεργό"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:250
msgid "Below Maximized"
msgstr "Κάτω από Μεγιστοποίηση"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:263
msgid "Let Windows Cover"
msgstr "Παράθυρα από Πάνω"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:277
msgid "Windows Go Below"
msgstr "Παράθυρα από Κάτω"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:291
msgid "Auto Hide"
msgstr "Αυτόματη Απόκρυψη"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:304
msgid "Always Visible"
msgstr "Πάντα Ορατό"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:324
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:345
msgid "Applets Size"
msgstr "Μέγεθος Εφαρμογών"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:392
msgid "Zoom On Hover"
msgstr "Εστίαση"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:411
msgid "Zoom Factor"
msgstr "Συντελεστής Εστίασης"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:460
msgid "Background"
msgstr "Παρασκήνιο"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:466
msgid "Show Panel Background"
msgstr "Εμφάνιση Παρασκηνίου"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:496
msgid "Size"
msgstr "Μέγεθος"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:542
msgid "Shadows"
msgstr "Σκιές"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:580
msgid "None"
msgstr "Καμία"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:585
msgid "Only for locked applets"
msgstr "Μόνο κλειδωμένες εφαρμογές"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:590
msgid "All applets"
msgstr "Παντού"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:600
msgid "Add New Dock"
msgstr "Προσθήκη Πίνακα"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:606
msgid "Remove Dock"
msgstr "Αφαίρεση Πίνακα"
#: rc.cpp:1
msgid "Latte Shell"
msgstr "Κέλυφος Latte"
#: rc.cpp:2
msgid "Shell provided for the Latte Dock"
msgstr "Κέλυφος που παρέχεται από το Latte"
#, fuzzy
#~ msgctxt "@item:inlistbox config ui, location"
#~ msgid "Top"
#~ msgstr "Πάνω"
#, fuzzy
#~ msgctxt "@item:inlistbox config ui, location"
#~ msgid "Bottom"
#~ msgstr "Κάτω"
#, fuzzy
#~ msgctxt "@item:inlistbox config ui, location"
#~ msgid "Left"
#~ msgstr "Αριστερά"
#, fuzzy
#~ msgctxt "@item:inlistbox config ui, location"
#~ msgid "Right"
#~ msgstr "Δεξιά"
#, fuzzy
#~ msgctxt "@label:listbox config ui"
#~ msgid "Alignment:"
#~ msgstr "Στοίχιση Εφαρμογών"
#, fuzzy
#~ msgctxt "@item:inlistbox config ui, alignment"
#~ msgid "Center"
#~ msgstr "Κέντρο"
#, fuzzy
#~ msgctxt "@label:listbox config ui"
#~ msgid "Visibility:"
#~ msgstr "Ορατότητα"
#, fuzzy
#~ msgctxt "@item:inlistbox config ui, visibility"
#~ msgid "Auto hide"
#~ msgstr "Αυτόματη Απόκρυψη"
#~ msgid "Now Dock Panel"
#~ msgstr "Now Dock Πίνακας"
#~ msgid "A plasma panel that tries to animate its plasmoid on hovering"
#~ msgstr ""
#~ "Ένας πίνακας του Plasma που χρησιμοποιεί ποικίλα εφέ για τις εφαρμογές του"
#~ msgid "Now Dock Default Panel"
#~ msgstr "Προκαθορισμένος Now Dock"
#~ msgid "Empty Now Dock Panel"
#~ msgstr "Κενός Now Dock"
#~ msgid "Automatic"
#~ msgstr "Αυτόματα"
#~ msgid "Small steps for icon sizes in automatic modes"
#~ msgstr "Μικρά βήματα στην αυτόματη εναλλαγή μεγέθους"

@ -0,0 +1,189 @@
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
#
# Damian Kopeć <damikope@gmail.com>, 2016.
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/psifidotos/nowdock-panel/\n"
"POT-Creation-Date: 2016-12-25 18:53+0200\n"
"PO-Revision-Date: 2016-10-14 14:20+0100\n"
"Last-Translator: Damian Kopeć <damikope@gmail.com>\n"
"Language-Team: Polish <kde-i18n-doc@kde.org>\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=2; plural=(n != 1);\n"
"X-Generator: Lokalize 2.0\n"
#: ../../shell/contents/configuration/config.qml:26
msgid "General"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:38
msgid "Applets Alignment"
msgstr "Wyrównanie Apletów "
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:52
msgid "ver: "
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:109
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:155
msgid "Top"
msgstr "Góra"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:109
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:155
msgid "Left"
msgstr "Lewa"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:125
msgid "Center"
msgstr "Środek"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:138
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:155
msgid "Bottom"
msgstr "Dół"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:138
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:155
msgid "Right"
msgstr "Prawa"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:181
msgid "Visibility"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:237
msgid "Below Active"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:250
msgid "Below Maximized"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:263
msgid "Let Windows Cover"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:277
msgid "Windows Go Below"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:291
msgid "Auto Hide"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:304
msgid "Always Visible"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:324
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:345
msgid "Applets Size"
msgstr "Wielkość Apletów"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:392
msgid "Zoom On Hover"
msgstr "Zbliżenie Przy Najechaniu"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:411
msgid "Zoom Factor"
msgstr "Stopień Zbliżenia"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:460
msgid "Background"
msgstr "Tło"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:466
msgid "Show Panel Background"
msgstr "Pokaż Tło Panelu"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:496
msgid "Size"
msgstr "Rozmiar"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:542
msgid "Shadows"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:580
msgid "None"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:585
#, fuzzy
msgid "Only for locked applets"
msgstr "Cień dla zablokowanych apletów"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:590
#, fuzzy
msgid "All applets"
msgstr "Wielkość Apletów"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:600
msgid "Add New Dock"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:606
msgid "Remove Dock"
msgstr ""
#: rc.cpp:1
msgid "Latte Shell"
msgstr ""
#: rc.cpp:2
msgid "Shell provided for the Latte Dock"
msgstr ""
#, fuzzy
#~ msgctxt "@item:inlistbox config ui, location"
#~ msgid "Top"
#~ msgstr "Góra"
#, fuzzy
#~ msgctxt "@item:inlistbox config ui, location"
#~ msgid "Bottom"
#~ msgstr "Dół"
#, fuzzy
#~ msgctxt "@item:inlistbox config ui, location"
#~ msgid "Left"
#~ msgstr "Lewa"
#, fuzzy
#~ msgctxt "@item:inlistbox config ui, location"
#~ msgid "Right"
#~ msgstr "Prawa"
#, fuzzy
#~ msgctxt "@label:listbox config ui"
#~ msgid "Alignment:"
#~ msgstr "Wyrównanie Apletów "
#, fuzzy
#~ msgctxt "@item:inlistbox config ui, alignment"
#~ msgid "Center"
#~ msgstr "Środek"
#~ msgid "Now Dock Panel"
#~ msgstr "Panel Now Dock"
#~ msgid "A plasma panel that tries to animate its plasmoid on hovering"
#~ msgstr "Panel plazmy próbujący animowac plazmoidy podczas najechania na nie"
#~ msgid "Now Dock Default Panel"
#~ msgstr "Domyślny Panel Now Dock"
#~ msgid "Empty Now Dock Panel"
#~ msgstr "Pusty Panel Now Dock"
#~ msgid "Automatic"
#~ msgstr "Automatyczna"
#~ msgid "Small steps for icon sizes in automatic modes"
#~ msgstr "Mały skok wielkości ikon w tryb automatycznym"

@ -0,0 +1,139 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: https://github.com/psifidotos/nowdock-panel/\n"
"POT-Creation-Date: 2016-12-25 18: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=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../../shell/contents/configuration/config.qml:26
msgid "General"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:38
msgid "Applets Alignment"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:52
msgid "ver: "
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:109
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:155
msgid "Top"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:109
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:155
msgid "Left"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:125
msgid "Center"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:138
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:155
msgid "Bottom"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:138
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:155
msgid "Right"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:181
msgid "Visibility"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:237
msgid "Below Active"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:250
msgid "Below Maximized"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:263
msgid "Let Windows Cover"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:277
msgid "Windows Go Below"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:291
msgid "Auto Hide"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:304
msgid "Always Visible"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:324
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:345
msgid "Applets Size"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:392
msgid "Zoom On Hover"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:411
msgid "Zoom Factor"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:460
msgid "Background"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:466
msgid "Show Panel Background"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:496
msgid "Size"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:542
msgid "Shadows"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:580
msgid "None"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:585
msgid "Only for locked applets"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:590
msgid "All applets"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:600
msgid "Add New Dock"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:606
msgid "Remove Dock"
msgstr ""
#: rc.cpp:1
msgid "Latte Shell"
msgstr ""
#: rc.cpp:2
msgid "Shell provided for the Latte Dock"
msgstr ""

@ -0,0 +1,193 @@
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
#
# Viorel-Cătălin Răpițeanu <rapiteanu.catalin@gmail.com>, 2016.
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/psifidotos/nowdock-panel/\n"
"POT-Creation-Date: 2016-12-25 18:53+0200\n"
"PO-Revision-Date: 2016-09-25 04:15+0300\n"
"Last-Translator: Viorel-Cătălin Răpițeanu <rapiteanu DOT catalin AT gmail "
"DOT com>\n"
"Language-Team: Romanian <kde-i18n-doc@kde.org>\n"
"Language: ro_RO\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%100>19)||((n%100==0)&&(n!=0)))?"
"2:1));\n"
"X-Generator: Poedit 1.8.9\n"
#: ../../shell/contents/configuration/config.qml:26
msgid "General"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:38
msgid "Applets Alignment"
msgstr "Alinierea miniaplicațiilor"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:52
msgid "ver: "
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:109
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:155
msgid "Top"
msgstr "Sus"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:109
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:155
msgid "Left"
msgstr "Stânga"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:125
msgid "Center"
msgstr "Centru"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:138
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:155
msgid "Bottom"
msgstr "Jos"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:138
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:155
msgid "Right"
msgstr "Dreapta"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:181
msgid "Visibility"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:237
msgid "Below Active"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:250
msgid "Below Maximized"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:263
msgid "Let Windows Cover"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:277
msgid "Windows Go Below"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:291
msgid "Auto Hide"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:304
msgid "Always Visible"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:324
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:345
msgid "Applets Size"
msgstr "Dimensiunea miniaplicațiilor"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:392
msgid "Zoom On Hover"
msgstr "Panoramează la trecerea peste"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:411
msgid "Zoom Factor"
msgstr "Factor de panoramare"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:460
msgid "Background"
msgstr "Fundal"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:466
msgid "Show Panel Background"
msgstr "Arată fundalul panoului"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:496
msgid "Size"
msgstr "Dimensiune"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:542
msgid "Shadows"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:580
msgid "None"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:585
msgid "Only for locked applets"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:590
#, fuzzy
msgid "All applets"
msgstr "Dimensiunea miniaplicațiilor"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:600
msgid "Add New Dock"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:606
msgid "Remove Dock"
msgstr ""
#: rc.cpp:1
msgid "Latte Shell"
msgstr ""
#: rc.cpp:2
msgid "Shell provided for the Latte Dock"
msgstr ""
#, fuzzy
#~ msgctxt "@item:inlistbox config ui, location"
#~ msgid "Top"
#~ msgstr "Sus"
#, fuzzy
#~ msgctxt "@item:inlistbox config ui, location"
#~ msgid "Bottom"
#~ msgstr "Jos"
#, fuzzy
#~ msgctxt "@item:inlistbox config ui, location"
#~ msgid "Left"
#~ msgstr "Stânga"
#, fuzzy
#~ msgctxt "@item:inlistbox config ui, location"
#~ msgid "Right"
#~ msgstr "Dreapta"
#, fuzzy
#~ msgctxt "@label:listbox config ui"
#~ msgid "Alignment:"
#~ msgstr "Alinierea miniaplicațiilor"
#, fuzzy
#~ msgctxt "@item:inlistbox config ui, alignment"
#~ msgid "Center"
#~ msgstr "Centru"
#~ msgid "Now Dock Panel"
#~ msgstr "Panou Now Dock"
#~ msgid "A plasma panel that tries to animate its plasmoid on hovering"
#~ msgstr ""
#~ "Un panou plasma care încearcă să animeze miniaplicațiile la trecerea peste"
#, fuzzy
#~ msgid "Now Dock Default Panel"
#~ msgstr "Panou Now Dock"
#, fuzzy
#~ msgid "Empty Now Dock Panel"
#~ msgstr "Panou Now Dock"
#~ msgid "Automatic"
#~ msgstr "Automat"
#~ msgid "Small steps for icon sizes in automatic modes"
#~ msgstr "Pași mici pentru dimensiunea pictogramelor în modurile automate"

@ -0,0 +1,198 @@
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
#
# Jeff Huang <s8321414@gmail.com>, 2016.
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/psifidotos/nowdock-panel/\n"
"POT-Creation-Date: 2016-12-25 18:53+0200\n"
"PO-Revision-Date: 2016-11-26 17:31+0800\n"
"Last-Translator: Jeff Huang <s8321414@gmail.com>\n"
"Language-Team: Chinese <kde-i18n-doc@kde.org>\n"
"Language: zh_TW\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: Lokalize 2.0\n"
#: ../../shell/contents/configuration/config.qml:26
msgid "General"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:38
msgid "Applets Alignment"
msgstr "小程式對齊"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:52
msgid "ver: "
msgstr "版本:"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:109
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:155
msgid "Top"
msgstr "頂部"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:109
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:155
msgid "Left"
msgstr "左邊"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:125
msgid "Center"
msgstr "置中"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:138
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:155
msgid "Bottom"
msgstr "底部"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:138
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:155
msgid "Right"
msgstr "右邊"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:181
msgid "Visibility"
msgstr "可見度"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:237
msgid "Below Active"
msgstr "在作用中的視窗後"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:250
msgid "Below Maximized"
msgstr "在最大化的視窗後"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:263
msgid "Let Windows Cover"
msgstr " 讓視窗蓋過"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:277
msgid "Windows Go Below"
msgstr "視窗在下面"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:291
msgid "Auto Hide"
msgstr "自動隱藏"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:304
msgid "Always Visible"
msgstr "永遠可見"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:324
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:345
msgid "Applets Size"
msgstr "小程式大小"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:392
msgid "Zoom On Hover"
msgstr "滑鼠游標置於其上時縮放"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:411
msgid "Zoom Factor"
msgstr "縮放係數"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:460
msgid "Background"
msgstr "背景"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:466
msgid "Show Panel Background"
msgstr "顯示面板背景"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:496
msgid "Size"
msgstr "大小"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:542
msgid "Shadows"
msgstr "陰影"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:580
msgid "None"
msgstr "無"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:585
msgid "Only for locked applets"
msgstr "僅鎖定小程式"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:590
msgid "All applets"
msgstr "所有小程式"
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:600
msgid "Add New Dock"
msgstr ""
#: ../../shell/contents/configuration/LatteDockConfiguration.qml.cmake:606
msgid "Remove Dock"
msgstr ""
#: rc.cpp:1
msgid "Latte Shell"
msgstr ""
#: rc.cpp:2
msgid "Shell provided for the Latte Dock"
msgstr ""
#, fuzzy
#~ msgctxt "@item:inlistbox config ui, location"
#~ msgid "Top"
#~ msgstr "頂部"
#, fuzzy
#~ msgctxt "@item:inlistbox config ui, location"
#~ msgid "Bottom"
#~ msgstr "底部"
#, fuzzy
#~ msgctxt "@item:inlistbox config ui, location"
#~ msgid "Left"
#~ msgstr "左邊"
#, fuzzy
#~ msgctxt "@item:inlistbox config ui, location"
#~ msgid "Right"
#~ msgstr "右邊"
#, fuzzy
#~ msgctxt "@label:listbox config ui"
#~ msgid "Alignment:"
#~ msgstr "小程式對齊"
#, fuzzy
#~ msgctxt "@item:inlistbox config ui, alignment"
#~ msgid "Center"
#~ msgstr "置中"
#, fuzzy
#~ msgctxt "@label:listbox config ui"
#~ msgid "Visibility:"
#~ msgstr "可見度"
#, fuzzy
#~ msgctxt "@item:inlistbox config ui, visibility"
#~ msgid "Auto hide"
#~ msgstr "自動隱藏"
#~ msgid "Now Dock Panel"
#~ msgstr "Now Dock 面板"
#~ msgid "A plasma panel that tries to animate its plasmoid on hovering"
#~ msgstr ""
#~ "一個嘗試讓滑鼠游標停在上面時會讓它的 plasmoid 產生動畫的 plasma 面板"
#~ msgid "Now Dock Default Panel"
#~ msgstr "Now Dock 預設面板"
#~ msgid "Empty Now Dock Panel"
#~ msgstr "空的 Now Dock 面板"
#~ msgid "Automatic"
#~ msgstr "自動"
#~ msgid "Small steps for icon sizes in automatic modes"
#~ msgstr "自動模式中,圖示大小少量步進"

@ -1,17 +1,21 @@
#!/bin/sh
BASEDIR=".." # root of translatable sources
PROJECT="plasma_applet_org.kde.store.nowdock.panel" # project name
PROJECTPATH="../../containment" # project path
PROJECTPATHPLASMOID="../../plasmoid" # project path
BUGADDR="https://github.com/psifidotos/nowdock-panel/" # MSGID-Bugs
WDIR="`pwd`/containment" # working dir
PROJECTPATHCONTAINMENT="../../containment" # containment path
PROJECTPATHPLASMOID="../../plasmoid" # plasmoid path
PROJECTPATHSHELL="../../shell" # shell path
BUGADDR="https://github.com/psifidotos/latte-dock/" # MSGID-Bugs
cd containment
intltool-merge --quiet --desktop-style . ../../containment.metadata.desktop.template "${PROJECTPATH}"/metadata.desktop.cmake
echo "metadata.desktop files for panel were updated..."
intltool-merge --quiet --desktop-style . ../../containment.metadata.desktop.template "${PROJECTPATHCONTAINMENT}"/metadata.desktop.cmake
echo "metadata.desktop files for containment were updated..."
cd ../plasmoid
intltool-merge --quiet --desktop-style . ../../plasmoid.metadata.desktop.template "${PROJECTPATHPLASMOID}"/metadata.desktop.cmake
echo "metadata.desktop files for plasmoid were updated..."
cd ../shell
intltool-merge --quiet --desktop-style . ../../shell.metadata.desktop.template "${PROJECTPATHSHELL}"/metadata.desktop.cmake
echo "metadata.desktop files for shell were updated..."

@ -0,0 +1,16 @@
[Desktop Entry]
Encoding=UTF-8
_Name=Latte Shell
_Comment=Shell provided for the Latte Dock
Keywords=shell
Type=Service
X-KDE-ServiceTypes=Plasma/Shell
X-KDE-ParentApp=latte-dock
X-KDE-PluginInfo-Author=@AUTHOR@
X-KDE-PluginInfo-Email=@EMAIL@
X-KDE-PluginInfo-License=GPLv3+
X-KDE-PluginInfo-Name=org.kde.latte.shell
X-KDE-PluginInfo-Version=@VERSION@
X-KDE-PluginInfo-Website=@WEBSITE@

@ -0,0 +1,5 @@
file(COPY "contents" DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/release)
#update the version number in the configuration window
file(REMOVE ${CMAKE_CURRENT_BINARY_DIR}/release/contents/configuration/LatteDockConfiguration.qml.cmake)
configure_file(metadata.desktop.cmake release/metadata.desktop)
configure_file(contents/configuration/LatteDockConfiguration.qml.cmake release/contents/configuration/LatteDockConfiguration.qml)

@ -1,366 +0,0 @@
/*
* Copyright 2016 Smith AR <audoban@openmailbox.org>
*
* This file is part of Candil-Dock
*
* Candil-Dock is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 3 of
* the License, or (at your option) any later version.
*
* Candil-Dock is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import QtQuick 2.5
import QtQuick.Window 2.2
import QtQuick.Controls 1.4
import QtQuick.Controls.Styles.Plasma 2.0 as Styles
import QtQuick.Layouts 1.1
import org.kde.plasma.plasmoid 2.0
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.plasma.extras 2.0 as PlasmaExtras
//import org.candildock.shell 1.0
//import "../controls" as Controls
PlasmaCore.FrameSvgItem {
id: root
imagePath: "dialogs/background"
Component.onCompleted: {
console.log("showing candil dock configuration")
}
property Item dock;
width: content.width + units.largeSpacing * 2
height: content.height + units.smallSpacing * 2
//! BEGIN: UI Components
GridLayout {
id: content
anchors.centerIn: parent
width: implicitWidth
height: implicitHeight
Layout.minimumWidth: width
Layout.minimumHeight: height
rowSpacing: units.smallSpacing
columnSpacing: units.largeSpacing
columns: 2
PlasmaExtras.Heading {
id: appearanceHeading
Layout.columnSpan: 2
Layout.fillWidth: true
text: i18nc("@title:group config ui", "Appearance")
level: 2
}
//! BEGIN: Location
PlasmaComponents.Label {
Layout.row: 1
Layout.alignment: Qt.AlignRight
text: i18nc("@label:listbox config ui", "Location:")
}
PlasmaComponents.ButtonRow {
Layout.fillWidth: true
spacing: 1
exclusive: true
PlasmaComponents.ToolButton {
text: i18nc("@item:inlistbox config ui, location", "Top")
flat: false
checked: dock.location === edge
checkable: true
property int edge: PlasmaCore.Types.TopEdge
}
PlasmaComponents.ToolButton {
text: i18nc("@item:inlistbox config ui, location", "Bottom")
flat: false
checked: dock.location === edge
checkable: true
property int edge: PlasmaCore.Types.BottomEdge
}
PlasmaComponents.ToolButton {
text: i18nc("@item:inlistbox config ui, location", "Left")
flat: false
checked: dock.location === edge
checkable: true
property int edge: PlasmaCore.Types.LeftEdge
}
PlasmaComponents.ToolButton {
text: i18nc("@item:inlistbox config ui, location", "Right")
flat: false
checked: dock.location === edge
checkable: true
property int edge: PlasmaCore.Types.RightEdge
}
onCheckedButtonChanged: {
dock.location = checkedButton.edge
}
}
//! END: Location
//! BEGIN: Alignment
PlasmaComponents.Label {
Layout.row: 2
Layout.alignment: Qt.AlignRight
text: i18nc("@label:listbox config ui", "Alignment:")
}
PlasmaComponents.ButtonRow {
Layout.fillWidth: true
spacing: 1
exclusive: true
PlasmaComponents.ToolButton {
text: i18nc("@item:inlistbox config ui, alignment", "Begin")
flat: false
checked: dock.alignment === align
checkable: true
property int align: Dock.Begin
}
PlasmaComponents.ToolButton {
text: i18nc("@item:inlistbox config ui, alignment", "Center")
flat: false
checked: dock.alignment === align
checkable: true
property int align: Dock.Center
}
PlasmaComponents.ToolButton {
text: i18nc("@item:inlistbox config ui, alignment", "End")
flat: false
checked: dock.alignment === align
checkable: true
property int align: Dock.End
}
PlasmaComponents.ToolButton {
text: i18nc("@item:inlistbox config ui, alignment", "Fill")
flat: false
checked: dock.alignment === align
checkable: true
property int align: Dock.Fill
}
onCheckedButtonChanged: {
dock.alignment = checkedButton.align
}
}
PlasmaComponents.Label {
Layout.row: 3
Layout.alignment: Qt.AlignRight
text: i18nc("@label:slider config ui, align icons",
"Alignment of icons:")
}
RowLayout {
Layout.fillWidth: true
spacing: units.largeSpacing
readonly property int maxOffset: (dock.maxLength - dock.length) / 2
PlasmaComponents.Slider {
id: alignmentSlider
Layout.fillWidth: true
enabled: dock.alignment === Dock.Center
maximumValue: 200
minimumValue: 0
stepSize: 2
Component.onCompleted: {
value = 100 * (dock.offset / parent.maxOffset + 1)
dock.offset = Qt.binding(function () {
return parent.maxOffset * (value / 100 - 1)
})
}
updateValueWhileDragging: true
}
PlasmaComponents.Label {
Layout.alignment: Qt.AlignLeft
Layout.minimumWidth: theme.mSize(theme.defaultFont).width * 4
Layout.maximumWidth: Layout.minimumWidth
horizontalAlignment: Text.AlignLeft
text: i18nc("@label:slider percent", "%1%", (100 * dock.offset / parent.maxOffset) | 0)
}
}
//! END: Alignment
//! BEGIN: Icons
PlasmaComponents.Label {
Layout.row: 4
Layout.alignment: Qt.AlignRight
text: i18nc("@label:spinbox config ui, size icons", "Size icons:")
}
RowLayout {
Layout.fillWidth: true
spacing: units.largeSpacing
/* Controls.SpinBox {
suffix: i18nc(
"@item:spinbox config ui, size icons, suffix in pixels",
" pixels")
maximumValue: 128
minimumValue: 48
stepSize: 2
value: dock.iconSize
onValueChanged: {
dock.iconSize = value
}
}*/
PlasmaComponents.Label {
text: i18nc("@label:slider config ui, icons zoom", "Zoom:")
Layout.alignment: Qt.AlignRight
}
PlasmaComponents.Slider {
Layout.fillWidth: true
value: 100
maximumValue: 200
minimumValue: 100
stepSize: 1
updateValueWhileDragging: true
Component.onCompleted: {
value = (dock.zoomFactor * 100) | 0
dock.zoomFactor = Qt.binding(function(){
return value / 100
})
}
}
}
//! END: Icons
PlasmaExtras.Heading {
Layout.row: 5
Layout.columnSpan: 2
Layout.fillWidth: true
text: i18nc("@title:group config ui", "Behavior")
level: 2
}
//! BEGIN: Visibility
PlasmaComponents.Label {
Layout.row: 6
Layout.alignment: Qt.AlignRight
text: i18nc("@label:listbox config ui", "Visibility:")
}
PlasmaComponents.ComboBox {
Layout.fillWidth: true
model: [i18nc("@item:inlistbox config ui, visibility",
"Normal"), i18nc(
"@item:inlistbox config ui, visibility",
"Auto hide"), i18nc(
"@item:inlistbox config ui, visibility",
"Dodge active window"), i18nc(
"@item:inlistbox config ui, visibility", "Dodge windows")]
currentIndex: dock.visibility.mode
onActivated: {
dock.visibility.mode = index
}
}
RowLayout {
Layout.row: 7
Layout.column: 1
Layout.fillWidth: true
spacing: units.largeSpacing
PlasmaComponents.Label {
Layout.fillWidth: false
horizontalAlignment: Text.AlignRight
text: i18nc("@label:spinbox config ui, timers",
"Delay in show:")
}
/* Controls.SpinBox {
enabled: dock.visibility.mode !== Dock.Normal
Layout.fillWidth: false
Layout.maximumWidth: implicitWidth
maximumValue: 3000
minimumValue: 0
value: dock.visibility.timerShow
stepSize: 100
onValueChanged: {
dock.visibility.timerShow = value
}
suffix: i18nc(
"@item:spinbox config ui, suffix in milliseconds",
" ms")
}*/
PlasmaComponents.Label {
Layout.fillWidth: true
horizontalAlignment: Text.AlignRight
text: i18nc("@label:spinbox config ui, timers",
"Delay in hidding:")
}
/* Controls.SpinBox {
enabled: dock.visibility.mode !== Dock.Normal
Layout.fillWidth: false
Layout.maximumWidth: implicitWidth
maximumValue: 3000
minimumValue: 0
value: dock.visibility.timerHide
stepSize: 100
onValueChanged: {
dock.visibility.timerHide = value
}
suffix: i18nc(
"@item:spinbox config ui, suffix in milliseconds",
" ms")
}*/
}
RowLayout {
Layout.row: 8
Layout.column: 1
Layout.fillWidth: true
spacing: units.largeSpacing
PlasmaComponents.Label {
text: i18nc("@option:check config ui", "Show in all screens:")
Layout.alignment: Qt.AlignRight
}
Switch {
id: switchScreen
// TODO: Show on all screens
style: Styles.SwitchStyle {
property bool checked: switchScreen.checked
}
}
PlasmaComponents.ComboBox {
Layout.fillWidth: true
Component.onCompleted: {
var screens = []
for (var i = 0; i < dock.screens.length; i++) {
screens.push(dock.screens[i].name)
}
model = screens
}
}
}
//! END: Visibility
}
//! END: UI Components
}

@ -1,14 +0,0 @@
[Desktop Entry]
Name=Now Dock Shell
Encoding=UTF-8
Keywords=shell
Type=Service
X-KDE-ServiceTypes=Plasma/Shell
X-KDE-ParentApp=nowdock
X-KDE-PluginInfo-Author=Michail Vourlakos
X-KDE-PluginInfo-Email=mvourlakos@gmail.com
X-KDE-PluginInfo-License=GPLv3+
X-KDE-PluginInfo-Name=org.kde.nowdock.shell
X-KDE-PluginInfo-Version=1.0
X-KDE-PluginInfo-Website=https://github.com/psifidotos/nowdock-panel

@ -0,0 +1,16 @@
[Desktop Entry]
Encoding=UTF-8
Name=Latte Shell
Comment=Shell provided for the Latte Dock
Keywords=shell
Type=Service
X-KDE-ServiceTypes=Plasma/Shell
X-KDE-ParentApp=latte-dock
X-KDE-PluginInfo-Author=@AUTHOR@
X-KDE-PluginInfo-Email=@EMAIL@
X-KDE-PluginInfo-License=GPLv3+
X-KDE-PluginInfo-Name=org.kde.latte.shell
X-KDE-PluginInfo-Version=@VERSION@
X-KDE-PluginInfo-Website=@WEBSITE@
Loading…
Cancel
Save