Signed-off-by: Andrew Lee (李健秋) <ajqlee@debian.org>upstream/0.9.0+20150806
parent
c9e09e4533
commit
d20435ed18
@ -1,15 +0,0 @@
|
||||
[main]
|
||||
host = https://www.transifex.com
|
||||
|
||||
[lxde-qt.liblxqt]
|
||||
file_filter = translations/liblxqt_<lang>.ts
|
||||
source_file = translations/source.ts
|
||||
source_lang = en
|
||||
type = QT
|
||||
|
||||
#[flacon.About_Translators]
|
||||
#source_file = translations/src.translators.info
|
||||
#source_lang = en
|
||||
#file_filter = translations/translators_<lang>.info
|
||||
#type = MOZILLAPROPERTIES
|
||||
|
@ -1,3 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
tx pull --all --force
|
@ -1,17 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
LUPDATE_OPTIONS="-noobsolete"
|
||||
LUPDATE_OPTIONS="${LUPDATE_OPTIONS} -locations none "
|
||||
TS_FILE="../translations/source.ts"
|
||||
|
||||
LUPDATE=$(which lupdate-qt4 2>/dev/null)
|
||||
|
||||
[ -z "${LUPDATE}" ] && LUPDATE=$(which lupdate 2>/dev/null)
|
||||
|
||||
if [ -z "${LUPDATE}" ]; then
|
||||
echo "The lupdate program not found."
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
${LUPDATE} ${LUPDATE_OPTIONS} .. -ts ${TS_FILE}
|
||||
|
@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
./updateSrc.sh && tx push --source
|
||||
|
@ -1,159 +0,0 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXQt - The Lightweight Desktop Environment
|
||||
* http://lxqt.org
|
||||
*
|
||||
* Copyright: 2010-2011 Razor team
|
||||
* Authors:
|
||||
* Petr Vanek <petr@scribus.info>
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library 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
|
||||
* Lesser General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
#include "lxqtaboutdialog.h"
|
||||
#include "ui_lxqtaboutdialog.h"
|
||||
#include "lxqtaboutdialog_p.h"
|
||||
#include "lxqttranslator.h"
|
||||
#include "technicalinfo.h"
|
||||
#include "translatorsinfo/translatorsinfo.h"
|
||||
#include <QDebug>
|
||||
#include <QDate>
|
||||
#include <QClipboard>
|
||||
|
||||
using namespace LxQt;
|
||||
|
||||
AboutDialogPrivate::AboutDialogPrivate()
|
||||
{
|
||||
Translator::translateLibrary("liblxqt");
|
||||
setupUi(this);
|
||||
|
||||
QString css="<style TYPE='text/css'> "
|
||||
"body { font-family: sans-serif;} "
|
||||
".name { font-size: 16pt; } "
|
||||
"a { white-space: nowrap ;} "
|
||||
"h2 { font-size: 10pt;} "
|
||||
"li { line-height: 120%;} "
|
||||
".techInfoKey { white-space: nowrap ; margin: 0 20px 0 16px; } "
|
||||
"</style>"
|
||||
;
|
||||
|
||||
iconLabel->setFixedSize(48, 48);
|
||||
iconLabel->setScaledContents(true);
|
||||
iconLabel->setPixmap(QPixmap(QString(LXQT_SHARE_DIR) + "/graphics/lxqt_logo.png"));
|
||||
|
||||
nameLabel->setText(css + titleText());
|
||||
|
||||
aboutBrowser->setHtml(css + aboutText());
|
||||
aboutBrowser->viewport()->setAutoFillBackground(false);
|
||||
|
||||
autorsBrowser->setHtml(css + authorsText());
|
||||
autorsBrowser->viewport()->setAutoFillBackground(false);
|
||||
|
||||
thanksBrowser->setHtml(css + thanksText());
|
||||
thanksBrowser->viewport()->setAutoFillBackground(false);
|
||||
|
||||
translationsBrowser->setHtml(css + translationsText());
|
||||
translationsBrowser->viewport()->setAutoFillBackground(false);
|
||||
|
||||
TechnicalInfo info;
|
||||
techBrowser->setHtml(info.html());
|
||||
techBrowser->viewport()->setAutoFillBackground(false);
|
||||
|
||||
connect(techCopyToClipboardButton, SIGNAL(clicked()), this, SLOT(copyToCliboardTechInfo()));
|
||||
this->setAttribute(Qt::WA_DeleteOnClose);
|
||||
show();
|
||||
|
||||
}
|
||||
|
||||
QString AboutDialogPrivate::titleText() const
|
||||
{
|
||||
return QString("<div class=name>%1</div><div class=ver>%2</div>").arg("LXQt",
|
||||
tr("Version: %1").arg(LXQT_VERSION));
|
||||
|
||||
}
|
||||
|
||||
QString AboutDialogPrivate::aboutText() const
|
||||
{
|
||||
return QString(
|
||||
"<p>%1</p>"
|
||||
"<p>%2</p>"
|
||||
"<p>%3</p>"
|
||||
"<p>%4</p>"
|
||||
"<p>%5</p>")
|
||||
.arg(
|
||||
tr("Advanced, easy-to-use, and fast desktop environment based on Qt technologies.",
|
||||
"About dialog, 'About' tab text"),
|
||||
tr("LXQt would not have been possible without the <a %1>Razor-qt</a> project and its many contributors.",
|
||||
"About dialog, 'About' tab text").arg("href=\"http://razor-qt.org\""),
|
||||
tr("Copyright: %1-%2 %3", "About dialog, 'About' tab text")
|
||||
.arg("2010", QDate::currentDate().toString("yyyy"), "LXQt team"),
|
||||
tr("Homepage: %1", "About dialog, 'About' tab text")
|
||||
.arg("<a href=\"http://lxqt.org\">http://lxqt.org</a>"),
|
||||
tr("License: %1", "About dialog, 'About' tab text")
|
||||
.arg("<a href=\"http://www.gnu.org/licenses/lgpl-2.1.html\">GNU Lesser General Public License version 2.1 or later</a>"
|
||||
" and partly under the "
|
||||
"<a href=\"http://www.gnu.org/licenses/gpl-2.0.html\">GNU General Public License version 2</a>")
|
||||
);
|
||||
}
|
||||
|
||||
QString AboutDialogPrivate::authorsText() const
|
||||
{
|
||||
return QString("<p>%1</p><p>%2</p>").arg(
|
||||
tr("LXQt is developed by the <a %1>LXQt Team and contributors</a>.", "About dialog, 'Authors' tab text")
|
||||
.arg(" href=\"https://github.com/lxde/lxde-qt\""),
|
||||
tr("If you are interested in working with our development team, <a %1>join us</a>.", "About dialog, 'Authors' tab text")
|
||||
.arg("href=\"http://lxqt.org\"")
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
QString AboutDialogPrivate::thanksText() const
|
||||
{
|
||||
return QString(
|
||||
"%1"
|
||||
"<ul>"
|
||||
"<li>Alexey Nosov (for the A-MeGo theme)</li>"
|
||||
"<li>Alexander Zakher (the Razor-qt name)</li>"
|
||||
"<li>Andy Fitzsimon (logo/icon)</li>"
|
||||
"<li>Eugene Pivnev (QtDesktop)</li>"
|
||||
"<li>Paul Gnther (desktop backgrounds)</li>"
|
||||
"<li>Manuel Meier (for ideas)</li>"
|
||||
"<li>KDE <<a href=\"http://kde.org/\">http://kde.org/</a>></li>"
|
||||
).arg(tr("Special thanks to:", "About dialog, 'Thanks' tab text"));
|
||||
}
|
||||
|
||||
QString AboutDialogPrivate::translationsText() const
|
||||
{
|
||||
TranslatorsInfo translatorsInfo;
|
||||
return QString("%1<p><ul>%2</ul>").arg(
|
||||
tr("LXQt is translated into many languages thanks to the work of the translation teams all over the world.", "About dialog, 'Translations' tab text"),
|
||||
translatorsInfo.asHtml()
|
||||
);
|
||||
}
|
||||
|
||||
AboutDialog::AboutDialog()
|
||||
{
|
||||
d_ptr = new AboutDialogPrivate();
|
||||
}
|
||||
|
||||
void AboutDialogPrivate::copyToCliboardTechInfo()
|
||||
{
|
||||
TechnicalInfo info;
|
||||
QClipboard *clipboard = QApplication::clipboard();
|
||||
clipboard->setText(info.text());
|
||||
}
|
@ -1,53 +0,0 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXQt - a lightweight, Qt based, desktop toolset
|
||||
* http://razor-qt.org
|
||||
*
|
||||
* Copyright: 2010-2011 Razor team
|
||||
* Authors:
|
||||
* Petr Vanek <petr@scribus.info>
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library 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
|
||||
* Lesser General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
#ifndef LXQTRABOUTDIALOG_H
|
||||
#define LXQTRABOUTDIALOG_H
|
||||
|
||||
#include <QDialog>
|
||||
#include "lxqtglobals.h"
|
||||
|
||||
namespace LxQt
|
||||
{
|
||||
|
||||
class AboutDialogPrivate;
|
||||
|
||||
/**
|
||||
* @brief displays a simple about dialog
|
||||
*/
|
||||
class LXQT_API AboutDialog: public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
AboutDialog();
|
||||
private:
|
||||
AboutDialogPrivate * d_ptr;
|
||||
};
|
||||
|
||||
} // namespace LxQt
|
||||
|
||||
#endif // LXQTRABOUTDIALOG_H
|
@ -1,203 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>about</class>
|
||||
<widget class="QDialog" name="about">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>633</width>
|
||||
<height>416</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string> About LXQt</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_3">
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||||
<property name="spacing">
|
||||
<number>21</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>16</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QLabel" name="iconLabel">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="sizeIncrement">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="nameLabel">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>1</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string notr="true"><h1>LXQt</h1><p>Version: %1</p></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QTabWidget" name="tabWidget">
|
||||
<property name="currentIndex">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="tab">
|
||||
<attribute name="title">
|
||||
<string comment="About dialog, Tab title ">About</string>
|
||||
</attribute>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||
<item>
|
||||
<widget class="QTextBrowser" name="aboutBrowser">
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::NoFrame</enum>
|
||||
</property>
|
||||
<property name="openExternalLinks">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="tab_3">
|
||||
<attribute name="title">
|
||||
<string comment="About dialog, Tab title">Authors</string>
|
||||
</attribute>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_4">
|
||||
<item>
|
||||
<widget class="QTextBrowser" name="autorsBrowser">
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::NoFrame</enum>
|
||||
</property>
|
||||
<property name="openExternalLinks">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="tab_4">
|
||||
<attribute name="title">
|
||||
<string comment="About dialog, Tab title">Thanks</string>
|
||||
</attribute>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_5">
|
||||
<item>
|
||||
<widget class="QTextBrowser" name="thanksBrowser">
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::NoFrame</enum>
|
||||
</property>
|
||||
<property name="openExternalLinks">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="translationsTab">
|
||||
<attribute name="title">
|
||||
<string comment="About dialog, Tab title">Translations</string>
|
||||
</attribute>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<widget class="QTextBrowser" name="translationsBrowser">
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::NoFrame</enum>
|
||||
</property>
|
||||
<property name="openExternalLinks">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="tab_2">
|
||||
<attribute name="title">
|
||||
<string comment="About dialog, Tab title">Technical Info</string>
|
||||
</attribute>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_6">
|
||||
<item>
|
||||
<widget class="QTextBrowser" name="techBrowser">
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::NoFrame</enum>
|
||||
</property>
|
||||
<property name="openExternalLinks">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<spacer name="horizontalSpacer">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="techCopyToClipboardButton">
|
||||
<property name="text">
|
||||
<string>Copy to clipboard</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QDialogButtonBox" name="buttonBox">
|
||||
<property name="standardButtons">
|
||||
<set>QDialogButtonBox::Close</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections>
|
||||
<connection>
|
||||
<sender>buttonBox</sender>
|
||||
<signal>rejected()</signal>
|
||||
<receiver>about</receiver>
|
||||
<slot>reject()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>303</x>
|
||||
<y>273</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>437</x>
|
||||
<y>290</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
</connections>
|
||||
</ui>
|
@ -1,57 +0,0 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXQt - a lightweight, Qt based, desktop toolset
|
||||
* http://razor-qt.org
|
||||
*
|
||||
* Copyright: 2010-2011 Razor team
|
||||
* Authors:
|
||||
* Petr Vanek <petr@scribus.info>
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library 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
|
||||
* Lesser General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
#ifndef LXQT_ABOUTDIALOG_P_H
|
||||
#define LXQT_ABOUTDIALOG_P_H
|
||||
|
||||
#include "ui_lxqtaboutdialog.h"
|
||||
#include <QDialog>
|
||||
|
||||
namespace LxQt
|
||||
{
|
||||
|
||||
/**
|
||||
* @brief prepares the data to show and fills the form, then shows.
|
||||
*/
|
||||
class AboutDialogPrivate: public QDialog, public Ui_about
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
AboutDialogPrivate();
|
||||
QString titleText() const;
|
||||
QString aboutText() const;
|
||||
QString authorsText() const;
|
||||
QString thanksText() const;
|
||||
QString translationsText() const;
|
||||
|
||||
public slots:
|
||||
void copyToCliboardTechInfo();
|
||||
};
|
||||
|
||||
} // namespace LxQt
|
||||
#endif // LXQT_ABOUTDIALOG_P_H
|
@ -1,187 +0,0 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXQt - a lightweight, Qt based, desktop toolset
|
||||
* http://razor-qt.org
|
||||
*
|
||||
* Copyright: 2012 Razor team
|
||||
* Authors:
|
||||
* Alexander Sokoloff <sokoloff.a@gmail.com>
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library 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
|
||||
* Lesser General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
|
||||
#include "technicalinfo.h"
|
||||
#include "lxqttranslator.h"
|
||||
|
||||
#include <XdgDirs>
|
||||
|
||||
using namespace LxQt;
|
||||
|
||||
class LxQt::TechInfoTable
|
||||
{
|
||||
public:
|
||||
TechInfoTable(const QString &title);
|
||||
void add(const QString &name, const QVariant &value);
|
||||
QString html() const;
|
||||
QString text(int nameFieldWidth) const;
|
||||
int maxNameLength() const;
|
||||
private:
|
||||
QString mTitle;
|
||||
QList<QPair<QString,QString> > mRows;
|
||||
};
|
||||
|
||||
|
||||
|
||||
TechInfoTable::TechInfoTable(const QString &title)
|
||||
{
|
||||
mTitle = title;
|
||||
}
|
||||
|
||||
void TechInfoTable::add(const QString &name, const QVariant &value)
|
||||
{
|
||||
QPair<QString,QString> row;
|
||||
row.first = name;
|
||||
row.second = value.toString();
|
||||
mRows.append(row);
|
||||
}
|
||||
|
||||
QString TechInfoTable::html() const
|
||||
{
|
||||
QString res;
|
||||
|
||||
res = "<style TYPE='text/css'> "
|
||||
".techInfoKey { white-space: nowrap ; margin: 0 20px 0 16px; } "
|
||||
"</style>";
|
||||
|
||||
res += QString("<b>%1</b>").arg(mTitle);
|
||||
res += "<table width='100%'>";
|
||||
QPair<QString,QString> row;
|
||||
foreach(row, mRows)
|
||||
{
|
||||
res += QString("<tr>"
|
||||
"<td class=techInfoTd width='1%'>"
|
||||
"<div class=techInfoKey>%1</div>"
|
||||
"</td>"
|
||||
"<td>%2</td>"
|
||||
"</tr>").arg(row.first, row.second);
|
||||
}
|
||||
|
||||
res += "</table>";
|
||||
return res;
|
||||
}
|
||||
|
||||
QString TechInfoTable::text(int nameFieldWidth) const
|
||||
{
|
||||
QString res;
|
||||
res += QString("%1\n").arg(mTitle);
|
||||
|
||||
QPair<QString,QString> row;
|
||||
foreach(row, mRows)
|
||||
{
|
||||
res += QString(" %1 %2\n")
|
||||
.arg(row.first + ":", -nameFieldWidth)
|
||||
.arg(row.second);
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
int TechInfoTable::maxNameLength() const
|
||||
{
|
||||
int res = 0;
|
||||
QPair<QString,QString> row;
|
||||
foreach (row, mRows)
|
||||
res = qMax(res, row.first.length());
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
QString TechnicalInfo::html() const
|
||||
{
|
||||
QString res;
|
||||
foreach (TechInfoTable* item, mItems)
|
||||
{
|
||||
res += item->html();
|
||||
res += "<br><br>";
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
QString TechnicalInfo::text() const
|
||||
{
|
||||
int nameWidth = 0;
|
||||
foreach (TechInfoTable* item, mItems)
|
||||
nameWidth = qMax(nameWidth, item->maxNameLength());
|
||||
|
||||
QString res;
|
||||
foreach (TechInfoTable* item, mItems)
|
||||
{
|
||||
res += item->text(nameWidth + 2);
|
||||
res += "\n\n";
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
TechInfoTable *TechnicalInfo::newTable(const QString &title)
|
||||
{
|
||||
TechInfoTable *table = new TechInfoTable(title);
|
||||
mItems.append(table);
|
||||
return table;
|
||||
}
|
||||
|
||||
TechnicalInfo::~TechnicalInfo()
|
||||
{
|
||||
qDeleteAll(mItems);
|
||||
}
|
||||
|
||||
|
||||
TechnicalInfo::TechnicalInfo()
|
||||
{
|
||||
TechInfoTable *table;
|
||||
|
||||
// ******************************************
|
||||
table = newTable("LXQt Desktop Toolbox - Technical Info<p>");
|
||||
#ifdef DEBUG
|
||||
QString buildType("Debug");
|
||||
#else
|
||||
QString buildType("Release");
|
||||
#endif
|
||||
|
||||
table->add("Version", LXQT_VERSION);
|
||||
table->add("Qt", qVersion());
|
||||
table->add("Build type", buildType);
|
||||
table->add("System Configuration", LXQT_ETC_XDG_DIR);
|
||||
table->add("Share Directory", LXQT_SHARE_DIR);
|
||||
table->add("Translations", Translator::translationSearchPaths().join("<br>\n"));
|
||||
|
||||
|
||||
// ******************************************
|
||||
table = newTable("User Directories");
|
||||
XdgDirs xdgDirs;
|
||||
|
||||
table->add("Xdg Data Home", xdgDirs.dataHome(false));
|
||||
table->add("Xdg Config Home", xdgDirs.configHome(false));
|
||||
table->add("Xdg Data Dirs", xdgDirs.dataDirs().join(":"));
|
||||
table->add("Xdg Cache Home", xdgDirs.cacheHome(false));
|
||||
table->add("Xdg Runtime Home", xdgDirs.runtimeDir());
|
||||
table->add("Xdg Autostart Dirs", xdgDirs.autostartDirs().join("<br>\n"));
|
||||
table->add("Xdg Autostart Home", xdgDirs.autostartHome(false));
|
||||
|
||||
}
|
||||
|
@ -1,61 +0,0 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXQt - a lightweight, Qt based, desktop toolset
|
||||
* http://razor-qt.org
|
||||
*
|
||||
* Copyright: 2012 Razor team
|
||||
* Authors:
|
||||
* Alexander Sokoloff <sokoloff.a@gmail.com>
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library 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
|
||||
* Lesser General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
|
||||
#ifndef TECHNICALINFO_H
|
||||
#define TECHNICALINFO_H
|
||||
|
||||
#include <QList>
|
||||
#include <QPair>
|
||||
#include <QDateTime>
|
||||
#include <QVariant>
|
||||
|
||||
namespace LxQt
|
||||
{
|
||||
|
||||
class TechInfoTable;
|
||||
|
||||
class TechnicalInfo
|
||||
{
|
||||
public:
|
||||
TechnicalInfo();
|
||||
~TechnicalInfo();
|
||||
|
||||
QString html() const;
|
||||
QString text() const;
|
||||
|
||||
TechInfoTable *newTable(const QString &title);
|
||||
void add(const TechInfoTable &table);
|
||||
|
||||
private:
|
||||
QList<TechInfoTable*> mItems;
|
||||
};
|
||||
|
||||
|
||||
} // namespace LxQt
|
||||
|
||||
#endif // TECHNICALINFO_H
|
@ -1,212 +0,0 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXQt - a lightweight, Qt based, desktop toolset
|
||||
* http://razor-qt.org
|
||||
*
|
||||
* Copyright: 2010-2011 Razor team
|
||||
* Authors:
|
||||
* Alexander Sokoloff <sokoloff.a@gmail.com>
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library 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
|
||||
* Lesser General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
#include "lxqtaddplugindialog.h"
|
||||
#include "ui_lxqtaddplugindialog.h"
|
||||
#include "lxqthtmldelegate.h"
|
||||
#include <QDebug>
|
||||
#include <QLineEdit>
|
||||
#include <XdgIcon>
|
||||
#include <QListWidgetItem>
|
||||
#include <QIcon>
|
||||
|
||||
#include "lxqttranslator.h"
|
||||
|
||||
using namespace LxQt;
|
||||
|
||||
#define SEARCH_ROLE Qt::UserRole
|
||||
#define INDEX_ROLE SEARCH_ROLE+1
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
bool pluginDescriptionLessThan(const PluginInfo &p1, const PluginInfo &p2)
|
||||
{
|
||||
int cmp = QString::compare(p1.name(), p2.name());
|
||||
if (cmp != 0)
|
||||
return cmp < 0;
|
||||
|
||||
return p1.comment() < p2.comment();
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
AddPluginDialog::AddPluginDialog(const QStringList& desktopFilesDirs,
|
||||
const QString &serviceType,
|
||||
const QString &nameFilter,
|
||||
QWidget *parent):
|
||||
QDialog(parent),
|
||||
ui(new Ui::AddPluginDialog),
|
||||
mTimerId(0)
|
||||
{
|
||||
Translator::translateLibrary("liblxqt");
|
||||
ui->setupUi(this);
|
||||
|
||||
mPlugins = PluginInfo::search(desktopFilesDirs, serviceType, nameFilter);
|
||||
qSort(mPlugins.begin(), mPlugins.end(), pluginDescriptionLessThan);
|
||||
|
||||
ui->pluginList->setItemDelegate(new HtmlDelegate(QSize(32, 32), ui->pluginList));
|
||||
|
||||
init();
|
||||
|
||||
connect(ui->pluginList, SIGNAL(doubleClicked(QModelIndex)), this, SLOT(emitPluginSelected()));
|
||||
connect(ui->pluginList, SIGNAL(itemSelectionChanged()), this, SLOT(toggleAddButtonState()));
|
||||
connect(ui->searchEdit, SIGNAL(textEdited(QString)), this, SLOT(searchEditTexChanged(QString)));
|
||||
connect(ui->addButton, SIGNAL(clicked(bool)), this, SLOT(emitPluginSelected()));
|
||||
}
|
||||
|
||||
void AddPluginDialog::setPluginsInUse(const QStringList pluginsInUseIDs)
|
||||
{
|
||||
Q_FOREACH (QString id, pluginsInUseIDs)
|
||||
{
|
||||
if (!mPluginsInUseAmount.contains(id))
|
||||
mPluginsInUseAmount[id] = 0;
|
||||
mPluginsInUseAmount[id]++;
|
||||
}
|
||||
|
||||
init();
|
||||
}
|
||||
|
||||
void AddPluginDialog::init()
|
||||
{
|
||||
QListWidget* pluginList = ui->pluginList;
|
||||
|
||||
pluginList->clear();
|
||||
|
||||
QIcon fallIco = XdgIcon::fromTheme("preferences-plugin");
|
||||
|
||||
int pluginCount = mPlugins.length();
|
||||
for (int i = 0; i < pluginCount; ++i)
|
||||
{
|
||||
const PluginInfo &plugin = mPlugins.at(i);
|
||||
|
||||
QString countStr;
|
||||
int amount = mPluginsInUseAmount[plugin.id()];
|
||||
if (amount)
|
||||
countStr = tr("(%1 active)").arg(amount);
|
||||
|
||||
QListWidgetItem* item = new QListWidgetItem(ui->pluginList);
|
||||
item->setText(QString("<b>%1 %2</b><br>\n%3\n").arg(plugin.name(), countStr, plugin.comment()));
|
||||
item->setIcon(plugin.icon(fallIco));
|
||||
item->setData(INDEX_ROLE, i);
|
||||
item->setData(SEARCH_ROLE, QString("%1 %2 %3 %4").arg(
|
||||
plugin.name(),
|
||||
plugin.comment(),
|
||||
plugin.value("Name").toString(),
|
||||
plugin.value("Comment").toString()
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
if (pluginCount > 0)
|
||||
ui->pluginList->setCurrentRow(0);
|
||||
}
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
void AddPluginDialog::pluginAdded(const QString &id)
|
||||
{
|
||||
if (!mPluginsInUseAmount.contains(id))
|
||||
mPluginsInUseAmount[id] = 0;
|
||||
mPluginsInUseAmount[id]++;
|
||||
init();
|
||||
}
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
void AddPluginDialog::pluginRemoved(const QString &id)
|
||||
{
|
||||
mPluginsInUseAmount[id]--;
|
||||
init();
|
||||
}
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
AddPluginDialog::~AddPluginDialog()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
void AddPluginDialog::searchEditTexChanged(const QString& text)
|
||||
{
|
||||
if (mTimerId)
|
||||
killTimer(mTimerId);
|
||||
|
||||
mTimerId = startTimer(SEARCH_DELAY);
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
void AddPluginDialog::timerEvent(QTimerEvent* event)
|
||||
{
|
||||
if (event->timerId() == mTimerId)
|
||||
{
|
||||
killTimer(mTimerId);
|
||||
QListWidget* pluginList = ui->pluginList;
|
||||
QString s = ui->searchEdit->text();
|
||||
|
||||
for (int i=0; i < pluginList->count(); ++i)
|
||||
{
|
||||
QListWidgetItem* item = pluginList->item(i);
|
||||
item->setHidden(! item->data(SEARCH_ROLE).toString().contains(s, Qt::CaseInsensitive));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
void AddPluginDialog::emitPluginSelected()
|
||||
{
|
||||
QListWidget* pluginList = ui->pluginList;
|
||||
if (pluginList->currentItem() && pluginList->currentItem()->isSelected())
|
||||
{
|
||||
PluginInfo plugin = mPlugins.at(pluginList->currentItem()->data(INDEX_ROLE).toInt());
|
||||
emit pluginSelected(plugin);
|
||||
}
|
||||
}
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
void AddPluginDialog::toggleAddButtonState()
|
||||
{
|
||||
ui->addButton->setEnabled(ui->pluginList->currentItem() && ui->pluginList->currentItem()->isSelected());
|
||||
}
|
@ -1,94 +0,0 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXQt - a lightweight, Qt based, desktop toolset
|
||||
* http://razor-qt.org
|
||||
*
|
||||
* Copyright: 2010-2011 Razor team
|
||||
* Authors:
|
||||
* Alexander Sokoloff <sokoloff.a@gmail.com>
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library 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
|
||||
* Lesser General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
|
||||
#ifndef LXQTADDPLUGINDIALOG_H
|
||||
#define LXQTADDPLUGINDIALOG_H
|
||||
|
||||
#include <QDialog>
|
||||
#include <lxqtplugininfo.h>
|
||||
#include "lxqtglobals.h"
|
||||
|
||||
#define SEARCH_DELAY 125
|
||||
|
||||
namespace Ui {
|
||||
class AddPluginDialog;
|
||||
}
|
||||
|
||||
|
||||
namespace LxQt
|
||||
{
|
||||
|
||||
/*! The AddPluginDialog class provides a dialog that allow users to add plugins.
|
||||
*/
|
||||
class LXQT_API AddPluginDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
/*! Constructs a dialog with the given parent that initially displays
|
||||
PluginInfo objects for the matched files in the directories
|
||||
@param desktopFilesDirs - list of the scanned directories names.
|
||||
@param serviceType - type of the plugin, for example "LxQtPanel/Plugin".
|
||||
@param nameFilter - wildcard filter that understands * and ? wildcards. */
|
||||
AddPluginDialog(const QStringList& desktopFilesDirs,
|
||||
const QString& serviceType,
|
||||
const QString& nameFilter="*",
|
||||
QWidget *parent = 0);
|
||||
|
||||
~AddPluginDialog();
|
||||
|
||||
void setPluginsInUse(const QStringList pluginsInUseIDs);
|
||||
|
||||
signals:
|
||||
void pluginSelected(const LxQt::PluginInfo &plugin);
|
||||
|
||||
protected:
|
||||
void timerEvent(QTimerEvent* event);
|
||||
|
||||
private:
|
||||
void init();
|
||||
Ui::AddPluginDialog *ui;
|
||||
PluginInfoList mPlugins;
|
||||
int mTimerId;
|
||||
|
||||
// store the amount of instances of the plugins using their ids
|
||||
QHash<QString, int> mPluginsInUseAmount;
|
||||
|
||||
public slots:
|
||||
void pluginAdded(const QString &id);
|
||||
void pluginRemoved(const QString &id);
|
||||
|
||||
private slots:
|
||||
void emitPluginSelected();
|
||||
void searchEditTexChanged(const QString& text);
|
||||
void toggleAddButtonState();
|
||||
};
|
||||
|
||||
} // namecpase LxQt
|
||||
|
||||
#endif // LXQTADDPLUGINDIALOG_H
|
@ -1,141 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>AddPluginDialog</class>
|
||||
<widget class="QDialog" name="AddPluginDialog">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>400</width>
|
||||
<height>359</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string/>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="searchLabel">
|
||||
<property name="text">
|
||||
<string>Search:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="searchEdit"/>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QListWidget" name="pluginList">
|
||||
<property name="sizeAdjustPolicy">
|
||||
<enum>QAbstractScrollArea::AdjustToContentsOnFirstShow</enum>
|
||||
</property>
|
||||
<property name="showDropIndicator" stdset="0">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="alternatingRowColors">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="selectionMode">
|
||||
<enum>QAbstractItemView::SingleSelection</enum>
|
||||
</property>
|
||||
<property name="selectionBehavior">
|
||||
<enum>QAbstractItemView::SelectRows</enum>
|
||||
</property>
|
||||
<property name="movement">
|
||||
<enum>QListView::Static</enum>
|
||||
</property>
|
||||
<property name="flow">
|
||||
<enum>QListView::TopToBottom</enum>
|
||||
</property>
|
||||
<property name="resizeMode">
|
||||
<enum>QListView::Adjust</enum>
|
||||
</property>
|
||||
<property name="spacing">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="modelColumn">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="uniformItemSizes">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="selectionRectVisible">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="currentRow">
|
||||
<number>-1</number>
|
||||
</property>
|
||||
<property name="sortingEnabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||||
<item>
|
||||
<spacer name="horizontalSpacer">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="addButton">
|
||||
<property name="text">
|
||||
<string>Add Widget</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="closeButton">
|
||||
<property name="text">
|
||||
<string>Close</string>
|
||||
</property>
|
||||
<property name="autoDefault">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="default">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<tabstops>
|
||||
<tabstop>pluginList</tabstop>
|
||||
<tabstop>addButton</tabstop>
|
||||
<tabstop>closeButton</tabstop>
|
||||
<tabstop>searchEdit</tabstop>
|
||||
</tabstops>
|
||||
<resources/>
|
||||
<connections>
|
||||
<connection>
|
||||
<sender>closeButton</sender>
|
||||
<signal>clicked()</signal>
|
||||
<receiver>AddPluginDialog</receiver>
|
||||
<slot>close()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>380</x>
|
||||
<y>279</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>118</x>
|
||||
<y>270</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
</connections>
|
||||
</ui>
|
@ -1,33 +0,0 @@
|
||||
#
|
||||
# Write a pkg-config pc file for given "name" with "decription"
|
||||
# Arguments:
|
||||
# name: a library name (withoud "lib" prefix and "so" suffixes
|
||||
# desc: a desription string
|
||||
#
|
||||
macro (create_pkgconfig_file name desc)
|
||||
set(_pkgfname "${CMAKE_CURRENT_BINARY_DIR}/${name}.pc")
|
||||
#message(STATUS "${name}: writing pkgconfig file ${_pkgfname}")
|
||||
|
||||
file(WRITE "${_pkgfname}"
|
||||
"# file generated by lxde-qt cmake build\n"
|
||||
"prefix=${CMAKE_INSTALL_PREFIX}\n"
|
||||
"libdir=\${prefix}/lib${LIB_SUFFIX}\n"
|
||||
"includedir=\${prefix}/include\n"
|
||||
"\n"
|
||||
"Name: ${name}\n"
|
||||
"Description: ${desc}\n"
|
||||
"Version: ${LXQT_VERSION}\n"
|
||||
"Libs: -L\${libdir} -l${name}\n"
|
||||
"Cflags: -I\${includedir}\n"
|
||||
"\n"
|
||||
)
|
||||
|
||||
# FreeBSD loves to install files to different locations
|
||||
# http://www.freebsd.org/doc/handbook/dirstructure.html
|
||||
if(${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
|
||||
install(FILES ${_pkgfname} DESTINATION libdata/pkgconfig)
|
||||
else()
|
||||
install(FILES ${_pkgfname} DESTINATION lib${LIB_SUFFIX}/pkgconfig)
|
||||
endif()
|
||||
|
||||
endmacro()
|
@ -1,82 +0,0 @@
|
||||
# - Find the lxqt include and library dirs and define a some macros
|
||||
#
|
||||
# The module defines the following variables
|
||||
#
|
||||
# LXQT_FOUND - Set to TRUE if all of the above has been found
|
||||
#
|
||||
# LXQT_INCLUDE_DIR - The lxqt include directory
|
||||
#
|
||||
# LXQT_INCLUDE_DIRS - The lxqt and the Qt include directory, for use with INCLUDE_DIRECTORIES()
|
||||
#
|
||||
# LXQT_LIBRARIES - The libraries needed to use lxqt
|
||||
#
|
||||
# LXQT_SHARE_DIR - This allows to install and read the configs from non-standard locations
|
||||
#
|
||||
# LXQT_TRANSLATIONS_DIR - The default translations directory
|
||||
#
|
||||
# LXQT_ETC_XDG_DIR - XDG standards expects system-wide configuration files in the
|
||||
# /etc/xdg/razor location. Unfortunately QSettings we are using internally
|
||||
# can be overriden in the Qt compilation time to use different path for
|
||||
# system-wide configs. (for example configure ... -sysconfdir /etc/settings ...)
|
||||
# This path can be found calling Qt4's qmake:
|
||||
# qmake -query QT_INSTALL_CONFIGURATION
|
||||
#
|
||||
# LXQT_USE_FILE - The variable LXQT_USE_FILE is set which is the path to a CMake file that
|
||||
# can be included to compile lxqt applications and libraries. It sets up
|
||||
# the compilation environment for include directories and populates a
|
||||
# LXQT_LIBRARIES variable.
|
||||
#
|
||||
# When using the components argument, LXQT_USE_* variables are automatically set
|
||||
# for the LXQT_USE_FILE to pick up. If one wishes to manually set them, the
|
||||
# available ones to set include:
|
||||
# LXQT_USE_MOUNT
|
||||
# LXQT_USE_GLOBAL_KEY_CLIENT
|
||||
#
|
||||
# Typical usage could be something like:
|
||||
# set(LXQT_USE_MOUNT 1)
|
||||
# find_package(LXQT REQUIRED)
|
||||
# include(${LXQT_USE_FILE})
|
||||
#
|
||||
# razor_translate_ts(QM_FILES
|
||||
# SOURCES
|
||||
# ${H_FILES}
|
||||
# ${CPP_FILES}
|
||||
# ${UI_FILES}
|
||||
# )
|
||||
# razor_translate_desktop(DESKTOP_FILES
|
||||
# SOURCES
|
||||
# ${DESKTOP_FILES_IN}
|
||||
# )
|
||||
#
|
||||
# add_executable(myexe main.cpp)
|
||||
# target_link_libraries(myexe $LXQT_LIBRARIES})
|
||||
|
||||
set(LXQT_USEQT@LXQT_QT_VERSION@ ON)
|
||||
set(LXQT_QT_VERSION @LXQT_QT_VERSION@)
|
||||
set(LXQT_MAJOR_VERSION @LXQT_MAJOR_VERSION@)
|
||||
set(LXQT_MINOR_VERSION @LXQT_MINOR_VERSION@)
|
||||
set(LXQT_PATCH_VERSION @LXQT_PATCH_VERSION@)
|
||||
set(LXQT_VERSION @LXQT_VERSION@)
|
||||
|
||||
set(LXQT_RELATIVE_SHARE_DIR @LXQT_RELATIVE_SHARE_DIR@)
|
||||
set(LXQT_SHARE_DIR @LXQT_SHARE_DIR@)
|
||||
set(LXQT_RELATIVE_TRANSLATIONS_DIR @LXQT_RELATIVE_TRANSLATIONS_DIR@)
|
||||
set(LXQT_TRANSLATIONS_DIR @LXQT_TRANSLATIONS_DIR@)
|
||||
set(LXQT_ETC_XDG_DIR @LXQT_ETC_XDG_DIR@)
|
||||
set(LXQT_CMAKE_MODULES_DIR @CFG_LXQT_CMAKE_MODULES_DIR@)
|
||||
|
||||
set(LXQT_INCLUDE_DIR @CFG_LXQT_INCLUDE_DIR@)
|
||||
set(LXQT_INCLUDE_DIRS @CFG_LXQT_INCLUDE_DIR@)
|
||||
|
||||
set(LXQT_LIBRARY @CFG_LXQT_LIBRARY@)
|
||||
set(LXQT_LIBRARIES @CFG_LXQT_LIBRARY@)
|
||||
|
||||
set(LXQT_USE_FILE @CFG_LXQT_USE_FILE@)
|
||||
set(LXQT_FOUND 1)
|
||||
set(LXQT@LXQT_QT_VERSION@_FOUND 1)
|
||||
|
||||
|
||||
include(@CFG_LXQT_TARGETS_FILE@)
|
||||
|
||||
mark_as_advanced(LXQT_LIBRARY LXQT_INCLUDE_DIR)
|
||||
|
@ -1,106 +0,0 @@
|
||||
# - Find the LXQt include and library dirs and define a some macros
|
||||
#
|
||||
# The module defines the following functions
|
||||
#
|
||||
# lxqt_set_default_value(VAR_NAME VAR_VALUE)
|
||||
#
|
||||
#
|
||||
# lxqt_create_pkgconfig_file(name
|
||||
# desc
|
||||
# requires
|
||||
# include_rel_dir
|
||||
# version)
|
||||
# Write a pkg-config pc file for given "name" with "decription"
|
||||
# Arguments:
|
||||
# name: a library name (withoud "lib" prefix and "so" suffixes
|
||||
# desc: a desription string
|
||||
# requires: required libraries
|
||||
# include_rel_dir: include directory, relative to includedir
|
||||
# version: package version
|
||||
#
|
||||
#
|
||||
#
|
||||
# The module defines the following definitions
|
||||
#
|
||||
# -DLXQT_SHARE_DIR - This allows to install and read the configs from non-standard locations
|
||||
#
|
||||
# -DLXQT_ETC_XDG_DIR - XDG standards expects system-wide configuration files in the
|
||||
# /etc/xdg/lxqt location. Unfortunately QSettings we are using internally
|
||||
# can be overriden in the Qt compilation time to use different path for
|
||||
# system-wide configs. (for example configure ... -sysconfdir /etc/settings ...)
|
||||
# This path can be found calling Qt4's qmake:
|
||||
# qmake -query QT_INSTALL_CONFIGURATION
|
||||
#
|
||||
#
|
||||
#
|
||||
|
||||
include_directories(${LXQT_INCLUDE_DIRS})
|
||||
|
||||
link_directories(${LXQT_LIBRARY_DIRS})
|
||||
|
||||
add_definitions(-DLXQT_RELATIVE_SHARE_DIR=\"${LXQT_RELATIVE_SHARE_DIR}\")
|
||||
add_definitions(-DLXQT_SHARE_DIR=\"${LXQT_SHARE_DIR}\")
|
||||
add_definitions(-DLXQT_RELATIVE_SHARE_TRANSLATIONS_DIR=\"${LXQT_RELATIVE_TRANSLATIONS_DIR}\")
|
||||
add_definitions(-DLXQT_SHARE_TRANSLATIONS_DIR=\"${LXQT_TRANSLATIONS_DIR}\")
|
||||
add_definitions(-DLXQT_ETC_XDG_DIR=\"${LXQT_ETC_XDG_DIR}\")
|
||||
add_definitions(-DLXQT_VERSION=\"${LXQT_VERSION}\")
|
||||
|
||||
SET_SOURCE_FILES_PROPERTIES(LXQT_LIBRARIES PROPERTIES OBJECT_DEPENDS lxqt${LXQT_QT_VERSION})
|
||||
|
||||
|
||||
if (LXQT_QT_VERSION EQUAL "4")
|
||||
find_package(Qt4 REQUIRED QUIET)
|
||||
include(${QT_USE_FILE})
|
||||
|
||||
find_package(QTXDG REQUIRED)
|
||||
elseif(LXQT_QT_VERSION EQUAL "5")
|
||||
find_package(Qt5Widgets REQUIRED QUIET)
|
||||
find_package(Qt5DBus REQUIRED QUIET)
|
||||
find_package(Qt5X11Extras REQUIRED QUIET)
|
||||
find_package(Qt5LinguistTools REQUIRED QUIET)
|
||||
find_package(Qt5Xdg REQUIRED)
|
||||
find_package(KF5WindowSystem REQUIRED QUIET)
|
||||
else()
|
||||
message(FATAL "Qt${LXQT_QT_VERSION} is not supported.")
|
||||
endif()
|
||||
|
||||
list(APPEND CMAKE_MODULE_PATH ${LXQT_CMAKE_MODULES_DIR})
|
||||
|
||||
# Works for Qt4 and Qt5
|
||||
include(${QTXDG_USE_FILE})
|
||||
|
||||
|
||||
macro(lxqt_set_default_value VAR_NAME VAR_VALUE)
|
||||
if (NOT DEFINED ${VAR_NAME})
|
||||
set (${VAR_NAME} ${VAR_VALUE})
|
||||
endif ()
|
||||
endmacro()
|
||||
|
||||
|
||||
#
|
||||
# Write a pkg-config pc file for given "name" with "decription"
|
||||
# Arguments:
|
||||
# name: a library name (withoud "lib" prefix and "so" suffixes
|
||||
# desc: a desription string
|
||||
#
|
||||
macro(lxqt_create_pkgconfig_file name desc requires include_rel_dir version)
|
||||
set(_pkgfname "${CMAKE_CURRENT_BINARY_DIR}/${name}.pc")
|
||||
message(STATUS "${name}: writing pkgconfig file ${_pkgfname}")
|
||||
|
||||
file(WRITE "${_pkgfname}"
|
||||
"# file generated by razor-qt cmake build\n"
|
||||
"prefix=${CMAKE_INSTALL_PREFIX}\n"
|
||||
"libdir=\${prefix}/${CMAKE_INSTALL_LIBDIR}\n"
|
||||
"includedir=\${prefix}/${CMAKE_INSTALL_INCLUDEDIR}\n"
|
||||
"\n"
|
||||
"Name: ${name}\n"
|
||||
"Description: ${desc}\n"
|
||||
"Version: ${version}\n"
|
||||
"Requires: ${requires}\n"
|
||||
"Libs: -L\${libdir} -l${name}\n"
|
||||
"Cflags: -I\${includedir} -I\${includedir}/${include_rel_dir}\n"
|
||||
"\n"
|
||||
)
|
||||
|
||||
install(FILES ${_pkgfname} DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
|
||||
endmacro()
|
@ -0,0 +1,141 @@
|
||||
#=============================================================================
|
||||
# Copyright 2015 Luís Pereira <luis.artur.pereira@gmail.com>
|
||||
# Copyright 2015 Palo Kisa <palo.kisa@gmail.com>
|
||||
# Copyright 2013 Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
# are met:
|
||||
#
|
||||
# 1. Redistributions of source code must retain the copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# 2. Redistributions in binary form must reproduce the copyright
|
||||
# notice, this list of conditions and the following disclaimer in the
|
||||
# documentation and/or other materials provided with the distribution.
|
||||
# 3. The name of the author may not be used to endorse or promote products
|
||||
# derived from this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#=============================================================================
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Honor visibility properties for all target types.
|
||||
#
|
||||
# The ``<LANG>_VISIBILITY_PRESET`` and
|
||||
# ``VISIBILITY_INLINES_HIDDEN`` target properties affect visibility
|
||||
# of symbols during dynamic linking. When first introduced these properties
|
||||
# affected compilation of sources only in shared libraries, module libraries,
|
||||
# and executables with the ``ENABLE_EXPORTS`` property set. This
|
||||
# was sufficient for the basic use cases of shared libraries and executables
|
||||
# with plugins. However, some sources may be compiled as part of static
|
||||
# libraries or object libraries and then linked into a shared library later.
|
||||
# CMake 3.3 and above prefer to honor these properties for sources compiled
|
||||
# in all target types. This policy preserves compatibility for projects
|
||||
# expecting the properties to work only for some target types.
|
||||
#
|
||||
# The ``OLD`` behavior for this policy is to ignore the visibility properties
|
||||
# for static libraries, object libraries, and executables without exports.
|
||||
# The ``NEW`` behavior for this policy is to honor the visibility properties
|
||||
# for all target types.
|
||||
#
|
||||
# This policy was introduced in CMake version 3.3. CMake version
|
||||
# 3.3.0 warns when the policy is not set and uses ``OLD`` behavior. Use
|
||||
# the ``cmake_policy()`` command to set it to ``OLD`` or ``NEW``
|
||||
# explicitly.
|
||||
#-----------------------------------------------------------------------------
|
||||
if(COMMAND CMAKE_POLICY)
|
||||
if (POLICY CMP0063)
|
||||
cmake_policy(SET CMP0063 NEW)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
include(CheckCXXCompilerFlag)
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Detect Clang compiler
|
||||
#-----------------------------------------------------------------------------
|
||||
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
|
||||
set(LXQT_COMPILER_IS_CLANGCXX 1)
|
||||
endif()
|
||||
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Set visibility to hidden to hide symbols, unless they're exported manually
|
||||
# in the code
|
||||
#-----------------------------------------------------------------------------
|
||||
set(CMAKE_CXX_VISIBILITY_PRESET hidden)
|
||||
set(CMAKE_VISIBILITY_INLINES_HIDDEN 1)
|
||||
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Disable exceptions
|
||||
#-----------------------------------------------------------------------------
|
||||
if (CMAKE_COMPILER_IS_GNUCXX OR LXQT_COMPILER_IS_CLANGCXX)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-exceptions")
|
||||
endif()
|
||||
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Common warning flags
|
||||
#-----------------------------------------------------------------------------
|
||||
set(__LXQT_COMMON_WARNING_FLAGS "-Wall")
|
||||
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Warning flags
|
||||
#-----------------------------------------------------------------------------
|
||||
if (CMAKE_COMPILER_IS_GNUCXX OR LXQT_COMPILER_IS_CLANGCXX)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${__LXQT_COMMON_WARNING_FLAGS}")
|
||||
endif()
|
||||
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Linker flags
|
||||
# Do not allow undefined symbols
|
||||
#-----------------------------------------------------------------------------
|
||||
if (CMAKE_COMPILER_IS_GNUCXX OR LXQT_COMPILER_IS_CLANGCXX)
|
||||
set(CMAKE_SHARED_LINKER_FLAGS
|
||||
"-Wl,--no-undefined ${CMAKE_SHARED_LINKER_FLAGS}"
|
||||
)
|
||||
set(CMAKE_MODULE_LINKER_FLAGS
|
||||
"-Wl,--no-undefined ${CMAKE_MODULE_LINKER_FLAGS}"
|
||||
)
|
||||
endif()
|
||||
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# CXX11 and CXX0X requirements
|
||||
#-----------------------------------------------------------------------------
|
||||
CHECK_CXX_COMPILER_FLAG("-std=c++11" COMPILER_SUPPORTS_CXX11)
|
||||
CHECK_CXX_COMPILER_FLAG("-std=c++0x" COMPILER_SUPPORTS_CXX0X)
|
||||
if(COMPILER_SUPPORTS_CXX11)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
||||
elseif(COMPILER_SUPPORTS_CXX0X)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
|
||||
else()
|
||||
message(FATAL "The compiler ${CMAKE_CXX_COMPILER} has no C++11 support. C++11 support is required")
|
||||
endif()
|
||||
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Enable exceptions for an target
|
||||
#
|
||||
# lxqt_enable_target_exceptions(<target>
|
||||
# <INTERFACE|PUBLIC|PRIVATE>
|
||||
# )
|
||||
#
|
||||
#-----------------------------------------------------------------------------
|
||||
function(lxqt_enable_target_exceptions target mode)
|
||||
target_compile_options(${target} ${mode}
|
||||
"$<$<OR:$<CXX_COMPILER_ID:GNU>,$<CXX_COMPILER_ID:Clang>>:-fexceptions>"
|
||||
)
|
||||
endfunction()
|
@ -0,0 +1,252 @@
|
||||
#=============================================================================
|
||||
# Copyright 2015 Luís Pereira <luis.artur.pereira@gmail.com>
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
# are met:
|
||||
#
|
||||
# 1. Redistributions of source code must retain the copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# 2. Redistributions in binary form must reproduce the copyright
|
||||
# notice, this list of conditions and the following disclaimer in the
|
||||
# documentation and/or other materials provided with the distribution.
|
||||
# 3. The name of the author may not be used to endorse or promote products
|
||||
# derived from this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#=============================================================================#
|
||||
|
||||
# lxqt_create_pkgconfig_file(PACKAGE_NAME <package_name>
|
||||
# VERSION <version>
|
||||
# [PREFIX <path>]
|
||||
# [EXEC_PREFIX <path>]
|
||||
# [INCLUDEDIR_PREFIX <path>]
|
||||
# [INCLUDEDIRS <path1> <path2> ... <path3>]
|
||||
# [LIBDIR_PREFIX <path>]
|
||||
# [DESCRIPTIVE_NAME <name>]
|
||||
# [DESCRIPTION <description>]
|
||||
# [URL <url>]
|
||||
# [REQUIRES <dep1> <dep2> ... <dep3>]
|
||||
# [REQUIRES_PRIVATE <dep1> <dep2> ... <dep3>]
|
||||
# [LIB_INSTALLDIR <dir>]
|
||||
# [CFLAGS <cflags>]
|
||||
# [PATH <path>]
|
||||
# [INSTALL]
|
||||
# [COMPONENT] component)
|
||||
#
|
||||
#
|
||||
# PACKAGE_NAME and VERSION are mandatory. Everything else is optional
|
||||
|
||||
include(CMakeParseArguments)
|
||||
include(GNUInstallDirs)
|
||||
|
||||
function(lxqt_create_pkgconfig_file)
|
||||
set(options INSTALL)
|
||||
set(oneValueArgs
|
||||
PACKAGE_NAME
|
||||
PREFIX
|
||||
EXEC_PREFIX
|
||||
INCLUDEDIR_PREFIX
|
||||
LIBDIR_PREFIX
|
||||
DESCRIPTIVE_NAME
|
||||
DESCRIPTION
|
||||
URL
|
||||
VERSION
|
||||
PATH
|
||||
COMPONENT
|
||||
)
|
||||
set(multiValueArgs
|
||||
INCLUDEDIRS
|
||||
REQUIRES
|
||||
REQUIRES_PRIVATE
|
||||
CONFLICTS
|
||||
CFLAGS
|
||||
LIBS
|
||||
LIBS_PRIVATE
|
||||
)
|
||||
|
||||
cmake_parse_arguments(USER "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
|
||||
|
||||
if (USER_UNPARSED_ARGUMENTS)
|
||||
message(FATAL_ERROR "Unknown keywords given to create_pkgconfig_file(): \"${USER_UNPARSED_ARGUMENTS}\"")
|
||||
endif()
|
||||
|
||||
# Check for mandatory args. Abort if not set
|
||||
if (NOT DEFINED USER_PACKAGE_NAME)
|
||||
message(FATAL_ERROR "Required argument PACKAGE_NAME missing in generate_pkgconfig_file() call")
|
||||
else()
|
||||
set(_PKGCONFIG_PACKAGE_NAME "${USER_PACKAGE_NAME}")
|
||||
endif()
|
||||
|
||||
if (NOT DEFINED USER_VERSION)
|
||||
message(FATAL_ERROR "Required argument VERSION missing in generate_pkgconfig_file() call")
|
||||
else()
|
||||
set(_PKGCONFIG_VERSION "${USER_VERSION}")
|
||||
endif()
|
||||
|
||||
|
||||
# Optional args
|
||||
if (NOT DEFINED USER_PREFIX)
|
||||
set(_PKGCONFIG_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
||||
endif()
|
||||
|
||||
if (NOT DEFINED USER_EXEC_PREFIX)
|
||||
set(_PKGCONFIG_EXEC_PREFIX "\${prefix}")
|
||||
endif()
|
||||
|
||||
if (NOT DEFINED USER_INCLUDEDIR_PREFIX)
|
||||
set(_PKGCONFIG_INCLUDEDIR_PREFIX "\${prefix}/${CMAKE_INSTALL_INCLUDEDIR}")
|
||||
endif()
|
||||
|
||||
if (NOT DEFINED USER_LIBDIR_PREFIX)
|
||||
set(_PKGCONFIG_LIBDIR_PREFIX "\${prefix}/${CMAKE_INSTALL_LIBDIR}")
|
||||
endif()
|
||||
|
||||
if (NOT DEFINED USER_DESCRIPTIVE_NAME)
|
||||
set(_PKGCONFIG_DESCRIPTIVE_NAME "")
|
||||
else()
|
||||
set(_PKGCONFIG_DESCRIPTIVE_NAME "${USER_DESCRIPTIVE_NAME}")
|
||||
endif()
|
||||
|
||||
if (DEFINED USER_INCLUDEDIRS)
|
||||
set(tmp "")
|
||||
foreach(dir ${USER_INCLUDEDIRS})
|
||||
if (NOT IS_ABSOLUTE "${dir}")
|
||||
list(APPEND tmp "-I\${includedir}/${dir}")
|
||||
endif()
|
||||
endforeach()
|
||||
string(REPLACE ";" " " _INCLUDEDIRS "${tmp}")
|
||||
endif()
|
||||
|
||||
if (DEFINED USER_REQUIRES)
|
||||
string(REPLACE ";" ", " _PKGCONFIG_REQUIRES "${USER_REQUIRES}")
|
||||
endif()
|
||||
|
||||
if (DEFINED USER_REQUIRES_PRIVATE)
|
||||
string(REPLACE ";" ", " _PKGCONFIG_REQUIRES_PRIVATE "${USER_REQUIRES_PRIVATE}")
|
||||
else()
|
||||
set(_PKGCONFIG_REQUIRES_PRIVATE "")
|
||||
endif()
|
||||
|
||||
if (NOT DEFINED USER_CFLAGS)
|
||||
set(_PKGCONFIG_CFLAGS "-I\${includedir} ${_INCLUDEDIRS}")
|
||||
endif()
|
||||
|
||||
if (NOT DEFINED USER_LIBS)
|
||||
set(_PKGCONFIG_LIBS "-L\${libdir}")
|
||||
else()
|
||||
set(tmp "-L\${libdir}")
|
||||
set(_libs "${USER_LIBS}")
|
||||
foreach(lib ${_libs})
|
||||
list(APPEND tmp "-l${lib}")
|
||||
endforeach()
|
||||
string(REPLACE ";" " " _PKGCONFIG_LIBS "${tmp}")
|
||||
endif()
|
||||
|
||||
if (NOT DEFINED USER_LIBS_PRIVATE)
|
||||
set(PKGCONFIG_LIBS "-L\${libdir}")
|
||||
else()
|
||||
set(tmp "")
|
||||
set(_libs "${USER_LIBS_PRIVATE}")
|
||||
foreach(lib ${_libs})
|
||||
list(APPEND tmp "-l${lib}")
|
||||
endforeach()
|
||||
string(REPLACE ";" " " _PKGCONFIG_LIBS_PRIVATE "${tmp}")
|
||||
endif()
|
||||
|
||||
if (DEFINED USER_DESCRIPTION)
|
||||
set(_PKGCONFIG_DESCRIPTION "${USER_DESCRIPTION}")
|
||||
else()
|
||||
set(_PKGCONFIG_DESCRIPTION "")
|
||||
endif()
|
||||
|
||||
if (DEFINED USER_URL)
|
||||
set(_PKFCONFIG_URL "${USER_URL}")
|
||||
else()
|
||||
set(_PKGCONFIG_URL "")
|
||||
endif()
|
||||
|
||||
if (NOT DEFINED USER_PATH)
|
||||
set(_PKGCONFIG_FILE "${PROJECT_BINARY_DIR}/${_PKGCONFIG_PACKAGE_NAME}.pc")
|
||||
else()
|
||||
if (IS_ABSOLUTE "${USER_PATH}")
|
||||
set(_PKGCONFIG_FILE "${USER_PATH}/${_PKGCONFIG_PACKAGE_NAME}.pc")
|
||||
else()
|
||||
set(_PKGCONFIG_FILE "${PROJECT_BINARY_DIR}/${USER_PATH}/${_PKGCONFIG_PACKAGE_NAME}.pc")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Write the .pc file
|
||||
FILE(WRITE "${_PKGCONFIG_FILE}"
|
||||
"# file generated by create_pkgconfig_file()\n"
|
||||
"prefix=${_PKGCONFIG_PREFIX}\n"
|
||||
"exec_prefix=${_PKGCONFIG_EXEC_PREFIX}\n"
|
||||
"libdir=${_PKGCONFIG_LIBDIR_PREFIX}\n"
|
||||
"includedir=${_PKGCONFIG_INCLUDEDIR_PREFIX}\n"
|
||||
"\n"
|
||||
"Name: ${_PKGCONFIG_DESCRIPTIVE_NAME}\n"
|
||||
)
|
||||
|
||||
if (NOT "${_PKGCONFIG_DESCRIPTION}" STREQUAL "")
|
||||
FILE(APPEND ${_PKGCONFIG_FILE}
|
||||
"Description: ${_PKGCONFIG_DESCRIPTION}\n"
|
||||
)
|
||||
endif()
|
||||
|
||||
if (NOT "${_PKGCONFIG_URL}" STREQUAL "")
|
||||
FILE(APPEND ${_PKGCONFIG_FILE} "URL: ${_PKGCONFIG_URL}\n")
|
||||
endif()
|
||||
|
||||
FILE(APPEND ${_PKGCONFIG_FILE} "Version: ${_PKGCONFIG_VERSION}\n")
|
||||
|
||||
if (NOT "${_PKGCONFIG_REQUIRES}" STREQUAL "")
|
||||
FILE(APPEND ${_PKGCONFIG_FILE} "Requires: ${_PKGCONFIG_REQUIRES}\n")
|
||||
endif()
|
||||
|
||||
if (NOT "${_PKGCONFIG_REQUIRES_PRIVATE}" STREQUAL "")
|
||||
FILE(APPEND ${_PKGCONFIG_FILE}
|
||||
"Requires.private: ${_PKGCONFIG_REQUIRES_PRIVATE}\n"
|
||||
)
|
||||
endif()
|
||||
|
||||
|
||||
FILE(APPEND ${_PKGCONFIG_FILE}
|
||||
"Cflags: ${_PKGCONFIG_CFLAGS}\n"
|
||||
"Libs: ${_PKGCONFIG_LIBS}\n"
|
||||
)
|
||||
|
||||
if (NOT "${_PKGCONFIG_LIBS_PRIVATE}" STREQUAL "")
|
||||
FILE(APPEND ${_PKGCONFIG_FILE}
|
||||
"Libs.private: ${_PKGCONFIG_REQUIRES_PRIVATE}\n"
|
||||
)
|
||||
endif()
|
||||
|
||||
if (DEFINED USER_INSTALL)
|
||||
# FreeBSD loves to install files to different locations
|
||||
# http://www.freebsd.org/doc/handbook/dirstructure.html
|
||||
if(${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
|
||||
set(_PKGCONFIG_INSTALL_DESTINATION "libdata/pkgconfig")
|
||||
else()
|
||||
set(_PKGCONFIG_INSTALL_DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
|
||||
endif()
|
||||
|
||||
if (DEFINED USER_COMPONENT)
|
||||
set(_COMPONENT "${USER_COMPONENT}")
|
||||
else()
|
||||
set(_COMPONENT "Devel")
|
||||
endif()
|
||||
|
||||
install(FILES "${_PKGCONFIG_FILE}"
|
||||
DESTINATION "${_PKGCONFIG_INSTALL_DESTINATION}"
|
||||
COMPONENT "${_COMPONENT}")
|
||||
endif()
|
||||
endfunction()
|
@ -1,421 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.0" language="de_DE">
|
||||
<context>
|
||||
<name>AddPluginDialog</name>
|
||||
<message>
|
||||
<source>Add plugins</source>
|
||||
<translation type="obsolete">Plugins hinzufügen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../addplugindialog/lxqtaddplugindialog.ui" line="22"/>
|
||||
<source>Search:</source>
|
||||
<translation>Suchen:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../addplugindialog/lxqtaddplugindialog.ui" line="52"/>
|
||||
<source>Add Widget</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Add plugin</source>
|
||||
<translation type="obsolete">Plugin hinzufügen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../addplugindialog/lxqtaddplugindialog.ui" line="59"/>
|
||||
<source>Close</source>
|
||||
<translation>Schließen</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ConfigDialog</name>
|
||||
<message>
|
||||
<location filename="../configdialog/lxqtconfigdialog.ui" line="14"/>
|
||||
<source>Dialog</source>
|
||||
<translation>Dialog</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQt::AboutDialogPrivate</name>
|
||||
<message>
|
||||
<location filename="../aboutdialog/lxqtaboutdialog.cpp" line="86"/>
|
||||
<source>Version: %1</source>
|
||||
<translation>Version: %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog/lxqtaboutdialog.cpp" line="99"/>
|
||||
<source>Advanced, easy-to-use, and fast desktop environment based on Qt technologies.</source>
|
||||
<comment>About dialog, 'About' tab text</comment>
|
||||
<translation>Moderne, benutzerfreundliche und schnelle Arbeitsumgebung aufbauend auf Qt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog/lxqtaboutdialog.cpp" line="101"/>
|
||||
<source>LXQt would not have been possible without the <a %1>Razor-qt</a> project and its many contributors.</source>
|
||||
<comment>About dialog, 'About' tab text</comment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog/lxqtaboutdialog.cpp" line="103"/>
|
||||
<source>Copyright: %1-%2 %3</source>
|
||||
<comment>About dialog, 'About' tab text</comment>
|
||||
<translation>Copyright: %1-%2 %3</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog/lxqtaboutdialog.cpp" line="105"/>
|
||||
<source>Homepage: %1</source>
|
||||
<comment>About dialog, 'About' tab text</comment>
|
||||
<translation>Homepage: %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog/lxqtaboutdialog.cpp" line="107"/>
|
||||
<source>License: %1</source>
|
||||
<comment>About dialog, 'About' tab text</comment>
|
||||
<translation>Lizenz: %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog/lxqtaboutdialog.cpp" line="117"/>
|
||||
<source>LXQt is developed by the <a %1>LXQt Team and contributors</a>.</source>
|
||||
<comment>About dialog, 'Authors' tab text</comment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog/lxqtaboutdialog.cpp" line="119"/>
|
||||
<source>If you are interested in working with our development team, <a %1>join us</a>.</source>
|
||||
<comment>About dialog, 'Authors' tab text</comment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog/lxqtaboutdialog.cpp" line="137"/>
|
||||
<source>Special thanks to:</source>
|
||||
<comment>About dialog, 'Thanks' tab text</comment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog/lxqtaboutdialog.cpp" line="144"/>
|
||||
<source>LXQt is translated into many languages thanks to the work of the translation teams all over the world.</source>
|
||||
<comment>About dialog, 'Translations' tab text</comment>
|
||||
<translation>LXQt ist in vielen Sprachen verfügbar dank der Arbeit von Übersetzung-Teams aus der ganzen Welt.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Yes</source>
|
||||
<translation type="obsolete">Ja</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>No</source>
|
||||
<translation type="obsolete">Nein</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source><b>LxQt Desktop Toolbox - Technical Info</b></source>
|
||||
<translation type="obsolete"><b>LxQt Desktop Toolbox - Technische Info</b></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Version</source>
|
||||
<translation type="obsolete">Version</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Qt</source>
|
||||
<translation type="obsolete">Qt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Debug Build</source>
|
||||
<translation type="obsolete">Debug Build</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>System Configuration</source>
|
||||
<translation type="obsolete">System Konfiguration</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Share Directory</source>
|
||||
<translation type="obsolete">Freigegebenes Verzeichnis</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Translations</source>
|
||||
<comment>About dialog, Tab title</comment>
|
||||
<translation type="obsolete">Übersetzung</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source><b>User Directories</b></source>
|
||||
<translation type="obsolete"><b>Benutzer Verzeichnisse</b></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Xdg Data Home</source>
|
||||
<translation type="obsolete">Xdg Daten Pfad</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Xdg Config Home</source>
|
||||
<translation type="obsolete">Xdg Konfigurations Pfad</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Xdg Data Dirs</source>
|
||||
<translation type="obsolete">Xdg Daten Verzeichnisse</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Xdg Cache Home</source>
|
||||
<translation type="obsolete">Xdg Cache Pfad</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Xdg Runtime Home</source>
|
||||
<translation type="obsolete">Xdg Laufzeit Pfad</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Xdg Autostart Dirs</source>
|
||||
<translation type="obsolete">Xdg Autostart Verzeichnisse</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Xdg Autostart Home</source>
|
||||
<translation type="obsolete">Xdg Autostart Pfad</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQt::AddPluginDialog</name>
|
||||
<message>
|
||||
<location filename="../addplugindialog/lxqtaddplugindialog.cpp" line="199"/>
|
||||
<source>(%1 active)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQt::MessageBox</name>
|
||||
<message>
|
||||
<location filename="../lxqtpowermanager.cpp" line="70"/>
|
||||
<source>LxQt Power Manager Error</source>
|
||||
<translation type="unfinished">LxQt Energieverwalter Fehler</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpowermanager.cpp" line="70"/>
|
||||
<source>Hibernate failed.</source>
|
||||
<translation type="unfinished">Ruhestand fehlgeschlagen.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQt::NotificationPrivate</name>
|
||||
<message>
|
||||
<location filename="../lxqtnotification.cpp" line="152"/>
|
||||
<source>Notifications Fallback</source>
|
||||
<translation>Benachrichtigungs Rückgriff</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQt::PowerManager</name>
|
||||
<message>
|
||||
<location filename="../lxqtpowermanager.cpp" line="113"/>
|
||||
<source>Hibernate</source>
|
||||
<translation>Ruhezustand</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpowermanager.cpp" line="120"/>
|
||||
<source>Suspend</source>
|
||||
<translation>Energie sparen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpowermanager.cpp" line="127"/>
|
||||
<source>Reboot</source>
|
||||
<translation>Neustart</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpowermanager.cpp" line="134"/>
|
||||
<source>Shutdown</source>
|
||||
<translation>Herunterfahren</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpowermanager.cpp" line="141"/>
|
||||
<source>Logout</source>
|
||||
<translation>Abmelden</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpowermanager.cpp" line="153"/>
|
||||
<source>LxQt Session Suspend</source>
|
||||
<translation>LxQt Sitzung Energie sparen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpowermanager.cpp" line="154"/>
|
||||
<source>Do you want to really suspend your computer?<p>Suspends the computer into a low power state. System state is not preserved if the power is lost.</source>
|
||||
<translation>Wollen sie wirklich Ihren Computer in den Energiesparmodus schicken?<p>Schickt den Computer in einen Energiesparmodus. Der Zustand des Systems geht verloren, wenn die Energieversorgung ausfällt.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpowermanager.cpp" line="163"/>
|
||||
<source>LxQt Session Hibernate</source>
|
||||
<translation>LxQt Sitzung Ruhestand</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpowermanager.cpp" line="164"/>
|
||||
<source>Do you want to really hibernate your computer?<p>Hibernates the computer into a low power state. System state is preserved if the power is lost.</source>
|
||||
<translation>Wollen Sie Ihren Computer wirklich in den Ruhestand setzten?<p>Schickt den Computer in einen Ernergiesparmodus. Der Stand des Systems ist gesichert, falls die Energieversorgung ausfällt.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpowermanager.cpp" line="173"/>
|
||||
<source>LxQt Session Reboot</source>
|
||||
<translation>LxQt Sitzung Neustart</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpowermanager.cpp" line="174"/>
|
||||
<source>Do you want to really restart your computer? All unsaved work will be lost...</source>
|
||||
<translation>Wollten Sie Ihren Computer wirklich neustarten? Alle ungespeicherten Arbeiten gehen verloren ...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpowermanager.cpp" line="183"/>
|
||||
<source>LxQt Session Shutdown</source>
|
||||
<translation>LxQt Sitzung Herunterfahren</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpowermanager.cpp" line="184"/>
|
||||
<source>Do you want to really switch off your computer? All unsaved work will be lost...</source>
|
||||
<translation>Wollten Sie Ihren Computer wirklich herunterfahren? Alle ungespeicherten Arbeiten gehen verloren ...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpowermanager.cpp" line="193"/>
|
||||
<source>LxQt Session Logout</source>
|
||||
<translation>LxQt Sitzung Abmelden</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpowermanager.cpp" line="194"/>
|
||||
<source>Do you want to really logout? All unsaved work will be lost...</source>
|
||||
<translation>Wollten Sie sich wirklich abmelden? Alle ungespeicherten Arbeiten gehen verloren ...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpowermanager.cpp" line="202"/>
|
||||
<location filename="../lxqtpowermanager.cpp" line="207"/>
|
||||
<source>LxQt Power Manager Error</source>
|
||||
<translation>LxQt Energieverwalter Fehler</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpowermanager.cpp" line="202"/>
|
||||
<source>Hibernate failed.</source>
|
||||
<translation>Ruhestand fehlgeschlagen.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpowermanager.cpp" line="207"/>
|
||||
<source>Suspend failed.</source>
|
||||
<translation>Energiesparmodus fehlgeschlagen.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQt::ScreenSaver</name>
|
||||
<message>
|
||||
<location filename="../lxqtscreensaver.cpp" line="52"/>
|
||||
<source>Lock Screen</source>
|
||||
<translation>Bildschirm sperren</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtscreensaver.cpp" line="71"/>
|
||||
<location filename="../lxqtscreensaver.cpp" line="79"/>
|
||||
<location filename="../lxqtscreensaver.cpp" line="87"/>
|
||||
<location filename="../lxqtscreensaver.cpp" line="99"/>
|
||||
<location filename="../lxqtscreensaver.cpp" line="107"/>
|
||||
<location filename="../lxqtscreensaver.cpp" line="115"/>
|
||||
<location filename="../lxqtscreensaver.cpp" line="124"/>
|
||||
<source>Screen Saver Activation Error</source>
|
||||
<translation>Bildschirmschoner Aktivierungs Fehler</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtscreensaver.cpp" line="72"/>
|
||||
<source>An error occurred starting screensaver. xdg-screensaver cannot be started due its crash.</source>
|
||||
<translation>Es ist ein Fehler beim Starten des Bildschirmschoners aufgetreten. xdg-screensaver kann wegen einem Crash nicht gestartet werden.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtscreensaver.cpp" line="80"/>
|
||||
<source>An error occurred starting screensaver. xdg-screensaver is not installed correctly.</source>
|
||||
<translation>Es ist ein Fehler beim Starten des Bildschirmschoners aufgetreten. xgd-screensaver ist nicht korrekt installiert.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtscreensaver.cpp" line="88"/>
|
||||
<source>An error occurred starting screensaver. xdg-screensaver cannot be started.</source>
|
||||
<translation>Es ist ein Fehler beim Starten des Bildschirmschoners aufgetreten. xdg-screensaver kann nicht gestartet werden.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtscreensaver.cpp" line="100"/>
|
||||
<source>An error occurred starting screensaver. Syntax error in xdg-screensaver arguments.</source>
|
||||
<translation>Es ist ein Fehler beim Startem des Bildschirmschoners aufgetreten. Syntaxfehler in Argumenten von xdg-screensaver.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtscreensaver.cpp" line="108"/>
|
||||
<source>An error occurred starting screensaver. Ensure you have xscreensaver installed and running.</source>
|
||||
<translation>Es ist ein Fehler beim Starten des Bildschirmschoners aufgetreten. Stelle sicher, dass xscreensaver installiert ist und ausgeführt wird.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtscreensaver.cpp" line="116"/>
|
||||
<source>An error occurred starting screensaver. Action 'activate' failed. Ensure you have xscreensaver installed and running.</source>
|
||||
<translation>Es ist ein Fehler beim Starten des Bildschirmschoners aufgetreten. Die Aktion 'aktivieren' schlug fehl. Stelle sicher, dass xscreensaver installiert ist und ausgeführt wird.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtscreensaver.cpp" line="125"/>
|
||||
<source>An error occurred starting screensaver. Unknown error - undocumented return value from xdg-screensaver=%1.</source>
|
||||
<translation>Beim Starten des Bildschirmschoners ist ein Fehler aufgetreten. Unbekannter Fehler - undokumentierter Rückgabewert von xdg-screensaver=%1.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQt::ShortcutButton</name>
|
||||
<message>
|
||||
<source>Clear</source>
|
||||
<translation type="obsolete">Säubern</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>None</source>
|
||||
<translation type="obsolete">Kein</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../lxqtpower/lxqtpowerproviders.cpp" line="91"/>
|
||||
<location filename="../lxqtpower/lxqtpowerproviders.cpp" line="141"/>
|
||||
<source>Power Manager Error</source>
|
||||
<translation>Energie Manager Fehler</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpower/lxqtpowerproviders.cpp" line="92"/>
|
||||
<location filename="../lxqtpower/lxqtpowerproviders.cpp" line="142"/>
|
||||
<source>QDBusInterface is invalid</source>
|
||||
<translation>QDBusInterface ist ungültig</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpower/lxqtpowerproviders.cpp" line="106"/>
|
||||
<location filename="../lxqtpower/lxqtpowerproviders.cpp" line="156"/>
|
||||
<source>Power Manager Error (D-BUS call)</source>
|
||||
<translation>Power Manager-Fehler (D-BUS call)</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>about</name>
|
||||
<message>
|
||||
<location filename="../aboutdialog/lxqtaboutdialog.ui" line="14"/>
|
||||
<source> About LXQt</source>
|
||||
<translation>Über LxQt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog/lxqtaboutdialog.ui" line="66"/>
|
||||
<source>About</source>
|
||||
<comment>About dialog, Tab title </comment>
|
||||
<translation>Über</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog/lxqtaboutdialog.ui" line="83"/>
|
||||
<source>Authors</source>
|
||||
<comment>About dialog, Tab title</comment>
|
||||
<translation>Authoren</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog/lxqtaboutdialog.ui" line="100"/>
|
||||
<source>Thanks</source>
|
||||
<comment>About dialog, Tab title</comment>
|
||||
<translation>Danke</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog/lxqtaboutdialog.ui" line="117"/>
|
||||
<source>Translations</source>
|
||||
<comment>About dialog, Tab title</comment>
|
||||
<translation>Übersetzung</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog/lxqtaboutdialog.ui" line="134"/>
|
||||
<source>Technical Info</source>
|
||||
<comment>About dialog, Tab title</comment>
|
||||
<translation>Technische Informationen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog/lxqtaboutdialog.ui" line="165"/>
|
||||
<source>Copy to clipboard</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -1,38 +0,0 @@
|
||||
function(create_translatorsinfo_file _infoFile)
|
||||
file(GLOB IN_FILES "${CMAKE_CURRENT_SOURCE_DIR}/translatorsinfo/*.info")
|
||||
|
||||
set(_outFile "${CMAKE_CURRENT_BINARY_DIR}/translators.info")
|
||||
file(WRITE "${_outFile}" "")
|
||||
|
||||
foreach (_file ${IN_FILES})
|
||||
get_filename_component(_name "${_file}" NAME)
|
||||
file(APPEND "${_outFile}" "[${_name}]\n")
|
||||
|
||||
file(READ "${_file}" _content)
|
||||
file(APPEND "${_outFile}" "${_content}\n")
|
||||
endforeach(_file)
|
||||
|
||||
set("${_infoFile}" "${_outFile}" PARENT_SCOPE)
|
||||
endfunction()
|
||||
|
||||
function(get_translatorsinfo_qrc _qrcFile)
|
||||
get_filename_component(srcDir translatorsinfo/ ABSOLUTE)
|
||||
string(REPLACE "${CMAKE_CURRENT_SOURCE_DIR}/" "" txSrcDir ${srcDir})
|
||||
|
||||
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/tx/translatorsinfo.tx.sh"
|
||||
"[ -f ${srcDir}/translators.info.src ] || exit 0\n"
|
||||
"echo '[lxde-qt.translatorsinfo]'\n"
|
||||
"echo 'type = MOZILLAPROPERTIES'\n"
|
||||
"echo 'source_lang = en'\n"
|
||||
"echo 'source_file = ${txSrcDir}/translators.info.src'\n"
|
||||
"echo 'file_filter = ${txSrcDir}/translators_<lang>.info'\n"
|
||||
"echo ''\n"
|
||||
)
|
||||
|
||||
create_translatorsinfo_file(TRANSLATORS_INFO_FILE)
|
||||
configure_file(
|
||||
translatorsinfo/translatorsinfo.qrc.in
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/translatorsinfo.qrc"
|
||||
)
|
||||
set(${_qrcFile} "${CMAKE_CURRENT_BINARY_DIR}/translatorsinfo.qrc PARENT_SCOPE")
|
||||
endfunction()
|
@ -1,44 +0,0 @@
|
||||
_help = Don't translate this text, it is only help. \
|
||||
I want to thank you in the "About" dialog. So, please fill the following information about yourself. \
|
||||
The number does not matter, all the names will be displayed in alphabetical order.
|
||||
|
||||
|
||||
translator_1_nameEnglish = Translator 1. Your name in English.
|
||||
translator_1_nameNative = Translator 1. Your name in the native language.
|
||||
translator_1_contact = Translator 1. Contact information, email or web site address.
|
||||
|
||||
translator_2_nameEnglish = Translator 2. Your name in English.
|
||||
translator_2_nameNative = Translator 2. Your name in the native language.
|
||||
translator_2_contact = Translator 2. Contact information, email or web site address.
|
||||
|
||||
translator_3_nameEnglish = Translator 3. Your name in English.
|
||||
translator_3_nameNative = Translator 3. Your name in the native language.
|
||||
translator_3_contact = Translator 3. Contact information, email or web site address.
|
||||
|
||||
translator_4_nameEnglish = Translator 4. Your name in English.
|
||||
translator_4_nameNative = Translator 4. Your name in the native language.
|
||||
translator_4_contact = Translator 4. Contact information, email or web site address.
|
||||
|
||||
translator_5_nameEnglish = Translator 5. Your name in English.
|
||||
translator_5_nameNative = Translator 5. Your name in the native language.
|
||||
translator_5_contact = Translator 5. Contact information, email or web site address.
|
||||
|
||||
translator_6_nameEnglish = Translator 6. Your name in English.
|
||||
translator_6_nameNative = Translator 6. Your name in the native language.
|
||||
translator_6_contact = Translator 6. Contact information, email or web site address.
|
||||
|
||||
translator_7_nameEnglish = Translator 7. Your name in English.
|
||||
translator_7_nameNative = Translator 7. Your name in the native language.
|
||||
translator_7_contact = Translator 7. Contact information, email or web site address.
|
||||
|
||||
translator_8_nameEnglish = Translator 8. Your name in English.
|
||||
translator_8_nameNative = Translator 8. Your name in the native language.
|
||||
translator_8_contact = Translator 8. Contact information, email or web site address.
|
||||
|
||||
translator_9_nameEnglish = Translator 9. Your name in English.
|
||||
translator_9_nameNative = Translator 9. Your name in the native language.
|
||||
translator_9_contact = Translator 9. Contact information, email or web site address.
|
||||
|
||||
translator_10_nameEnglish = Translator 10. Your name in English.
|
||||
translator_10_nameNative = Translator 10. Your name in the native language.
|
||||
translator_10_contact = Translator 10. Contact information, email or web site address.
|
@ -1,42 +0,0 @@
|
||||
# _help = Don't translate this text, it is only help. I want to thank you in the "About" dialog. So, please fill the following information about yourself. The number does not matter, all the names will be displayed in alphabetical order.
|
||||
|
||||
|
||||
translator_1_nameEnglish = Pavel Fric
|
||||
# translator_1_nameNative = Translator 1. Your name in the native language.
|
||||
# translator_1_contact = Translator 1. Contact information, email or web site address.
|
||||
|
||||
# translator_2_nameEnglish = Translator 2. Your name in English.
|
||||
# translator_2_nameNative = Translator 2. Your name in the native language.
|
||||
# translator_2_contact = Translator 2. Contact information, email or web site address.
|
||||
|
||||
# translator_3_nameEnglish = Translator 3. Your name in English.
|
||||
# translator_3_nameNative = Translator 3. Your name in the native language.
|
||||
# translator_3_contact = Translator 3. Contact information, email or web site address.
|
||||
|
||||
# translator_4_nameEnglish = Translator 4. Your name in English.
|
||||
# translator_4_nameNative = Translator 4. Your name in the native language.
|
||||
# translator_4_contact = Translator 4. Contact information, email or web site address.
|
||||
|
||||
# translator_5_nameEnglish = Translator 5. Your name in English.
|
||||
# translator_5_nameNative = Translator 5. Your name in the native language.
|
||||
# translator_5_contact = Translator 5. Contact information, email or web site address.
|
||||
|
||||
# translator_6_nameEnglish = Translator 6. Your name in English.
|
||||
# translator_6_nameNative = Translator 6. Your name in the native language.
|
||||
# translator_6_contact = Translator 6. Contact information, email or web site address.
|
||||
|
||||
# translator_7_nameEnglish = Translator 7. Your name in English.
|
||||
# translator_7_nameNative = Translator 7. Your name in the native language.
|
||||
# translator_7_contact = Translator 7. Contact information, email or web site address.
|
||||
|
||||
# translator_8_nameEnglish = Translator 8. Your name in English.
|
||||
# translator_8_nameNative = Translator 8. Your name in the native language.
|
||||
# translator_8_contact = Translator 8. Contact information, email or web site address.
|
||||
|
||||
# translator_9_nameEnglish = Translator 9. Your name in English.
|
||||
# translator_9_nameNative = Translator 9. Your name in the native language.
|
||||
# translator_9_contact = Translator 9. Contact information, email or web site address.
|
||||
|
||||
# translator_10_nameEnglish = Translator 10. Your name in English.
|
||||
# translator_10_nameNative = Translator 10. Your name in the native language.
|
||||
# translator_10_contact = Translator 10. Contact information, email or web site address.
|
@ -1,42 +0,0 @@
|
||||
# _help = Don't translate this text, it is only help. I want to thank you in the "About" dialog. So, please fill the following information about yourself. The number does not matter, all the names will be displayed in alphabetical order.
|
||||
|
||||
|
||||
translator_1_nameEnglish = Pavel Fric
|
||||
# translator_1_nameNative = Translator 1. Your name in the native language.
|
||||
# translator_1_contact = Translator 1. Contact information, email or web site address.
|
||||
|
||||
# translator_2_nameEnglish = Translator 2. Your name in English.
|
||||
# translator_2_nameNative = Translator 2. Your name in the native language.
|
||||
# translator_2_contact = Translator 2. Contact information, email or web site address.
|
||||
|
||||
# translator_3_nameEnglish = Translator 3. Your name in English.
|
||||
# translator_3_nameNative = Translator 3. Your name in the native language.
|
||||
# translator_3_contact = Translator 3. Contact information, email or web site address.
|
||||
|
||||
# translator_4_nameEnglish = Translator 4. Your name in English.
|
||||
# translator_4_nameNative = Translator 4. Your name in the native language.
|
||||
# translator_4_contact = Translator 4. Contact information, email or web site address.
|
||||
|
||||
# translator_5_nameEnglish = Translator 5. Your name in English.
|
||||
# translator_5_nameNative = Translator 5. Your name in the native language.
|
||||
# translator_5_contact = Translator 5. Contact information, email or web site address.
|
||||
|
||||
# translator_6_nameEnglish = Translator 6. Your name in English.
|
||||
# translator_6_nameNative = Translator 6. Your name in the native language.
|
||||
# translator_6_contact = Translator 6. Contact information, email or web site address.
|
||||
|
||||
# translator_7_nameEnglish = Translator 7. Your name in English.
|
||||
# translator_7_nameNative = Translator 7. Your name in the native language.
|
||||
# translator_7_contact = Translator 7. Contact information, email or web site address.
|
||||
|
||||
# translator_8_nameEnglish = Translator 8. Your name in English.
|
||||
# translator_8_nameNative = Translator 8. Your name in the native language.
|
||||
# translator_8_contact = Translator 8. Contact information, email or web site address.
|
||||
|
||||
# translator_9_nameEnglish = Translator 9. Your name in English.
|
||||
# translator_9_nameNative = Translator 9. Your name in the native language.
|
||||
# translator_9_contact = Translator 9. Contact information, email or web site address.
|
||||
|
||||
# translator_10_nameEnglish = Translator 10. Your name in English.
|
||||
# translator_10_nameNative = Translator 10. Your name in the native language.
|
||||
# translator_10_contact = Translator 10. Contact information, email or web site address.
|
@ -1,42 +0,0 @@
|
||||
# _help = Don't translate this text, it is only help. I want to thank you in the "About" dialog. So, please fill the following information about yourself. The number does not matter, all the names will be displayed in alphabetical order.
|
||||
|
||||
|
||||
translator_1_nameEnglish = Peter Jespersen
|
||||
translator_1_nameNative = Peter Jespersen
|
||||
translator_1_contact = flywheel@illogical.dk
|
||||
|
||||
translator_2_nameEnglish = mjjzf
|
||||
translator_2_nameNative = Morten Juhl-Johansen Zölde-Fejér
|
||||
translator_2_contact = mjjzf@syntaktisk.dk
|
||||
|
||||
translator_3_nameEnglish = Anders Graverholt
|
||||
translator_3_nameNative = Anders Graverholt
|
||||
translator_3_contact = anders@graverholt.net
|
||||
|
||||
translator_4_nameEnglish = Mikkel Skovlund
|
||||
translator_4_nameNative = Mikkel Skovlund
|
||||
# translator_4_contact = Translator 4. Contact information, email or web site address.
|
||||
|
||||
# translator_5_nameEnglish = Translator 5. Your name in English.
|
||||
# translator_5_nameNative = Translator 5. Your name in the native language.
|
||||
# translator_5_contact = Translator 5. Contact information, email or web site address.
|
||||
|
||||
# translator_6_nameEnglish = Translator 6. Your name in English.
|
||||
# translator_6_nameNative = Translator 6. Your name in the native language.
|
||||
# translator_6_contact = Translator 6. Contact information, email or web site address.
|
||||
|
||||
# translator_7_nameEnglish = Translator 7. Your name in English.
|
||||
# translator_7_nameNative = Translator 7. Your name in the native language.
|
||||
# translator_7_contact = Translator 7. Contact information, email or web site address.
|
||||
|
||||
# translator_8_nameEnglish = Translator 8. Your name in English.
|
||||
# translator_8_nameNative = Translator 8. Your name in the native language.
|
||||
# translator_8_contact = Translator 8. Contact information, email or web site address.
|
||||
|
||||
# translator_9_nameEnglish = Translator 9. Your name in English.
|
||||
# translator_9_nameNative = Translator 9. Your name in the native language.
|
||||
# translator_9_contact = Translator 9. Contact information, email or web site address.
|
||||
|
||||
# translator_10_nameEnglish = Translator 10. Your name in English.
|
||||
# translator_10_nameNative = Translator 10. Your name in the native language.
|
||||
# translator_10_contact = Translator 10. Contact information, email or web site address.
|
@ -1,42 +0,0 @@
|
||||
# _help = Don't translate this text, it is only help. I want to thank you in the "About" dialog. So, please fill the following information about yourself. The number does not matter, all the names will be displayed in alphabetical order.
|
||||
|
||||
|
||||
translator_1_nameEnglish = Nuc!eoN
|
||||
# translator_1_nameNative = Translator 1. Your name in the native language.
|
||||
# translator_1_contact = Translator 1. Contact information, email or web site address.
|
||||
|
||||
translator_2_nameEnglish = Peter Schiansky
|
||||
translator_2_nameNative = Peter Schiansky
|
||||
# translator_2_contact = Translator 2. Contact information, email or web site address.
|
||||
|
||||
translator_3_nameEnglish = Jörn Schönyan
|
||||
translator_3_nameNative = Jörn Schönyan
|
||||
# translator_3_contact = Translator 3. Contact information, email or web site address.
|
||||
|
||||
# translator_4_nameEnglish = Translator 4. Your name in English.
|
||||
# translator_4_nameNative = Translator 4. Your name in the native language.
|
||||
# translator_4_contact = Translator 4. Contact information, email or web site address.
|
||||
|
||||
# translator_5_nameEnglish = Translator 5. Your name in English.
|
||||
# translator_5_nameNative = Translator 5. Your name in the native language.
|
||||
# translator_5_contact = Translator 5. Contact information, email or web site address.
|
||||
|
||||
# translator_6_nameEnglish = Translator 6. Your name in English.
|
||||
# translator_6_nameNative = Translator 6. Your name in the native language.
|
||||
# translator_6_contact = Translator 6. Contact information, email or web site address.
|
||||
|
||||
# translator_7_nameEnglish = Translator 7. Your name in English.
|
||||
# translator_7_nameNative = Translator 7. Your name in the native language.
|
||||
# translator_7_contact = Translator 7. Contact information, email or web site address.
|
||||
|
||||
# translator_8_nameEnglish = Translator 8. Your name in English.
|
||||
# translator_8_nameNative = Translator 8. Your name in the native language.
|
||||
# translator_8_contact = Translator 8. Contact information, email or web site address.
|
||||
|
||||
# translator_9_nameEnglish = Translator 9. Your name in English.
|
||||
# translator_9_nameNative = Translator 9. Your name in the native language.
|
||||
# translator_9_contact = Translator 9. Contact information, email or web site address.
|
||||
|
||||
# translator_10_nameEnglish = Translator 10. Your name in English.
|
||||
# translator_10_nameNative = Translator 10. Your name in the native language.
|
||||
# translator_10_contact = Translator 10. Contact information, email or web site address.
|
@ -1,42 +0,0 @@
|
||||
# _help = Don't translate this text, it is only help. I want to thank you in the "About" dialog. So, please fill the following information about yourself. The number does not matter, all the names will be displayed in alphabetical order.
|
||||
|
||||
|
||||
translator_1_nameEnglish = Efstathios Iosifidis
|
||||
translator_1_nameNative = Ευστάθιος Ιωσηφίδης
|
||||
translator_1_contact = iosifidis@opensuse.org
|
||||
|
||||
translator_2_nameEnglish = Antonis Geralis
|
||||
translator_2_nameNative = Αντώνης Γέραλης
|
||||
translator_2_contact = capoiosct@gmail.com
|
||||
|
||||
# translator_3_nameEnglish = Translator 3. Your name in English.
|
||||
# translator_3_nameNative = Translator 3. Your name in the native language.
|
||||
# translator_3_contact = Translator 3. Contact information, email or web site address.
|
||||
|
||||
# translator_4_nameEnglish = Translator 4. Your name in English.
|
||||
# translator_4_nameNative = Translator 4. Your name in the native language.
|
||||
# translator_4_contact = Translator 4. Contact information, email or web site address.
|
||||
|
||||
# translator_5_nameEnglish = Translator 5. Your name in English.
|
||||
# translator_5_nameNative = Translator 5. Your name in the native language.
|
||||
# translator_5_contact = Translator 5. Contact information, email or web site address.
|
||||
|
||||
# translator_6_nameEnglish = Translator 6. Your name in English.
|
||||
# translator_6_nameNative = Translator 6. Your name in the native language.
|
||||
# translator_6_contact = Translator 6. Contact information, email or web site address.
|
||||
|
||||
# translator_7_nameEnglish = Translator 7. Your name in English.
|
||||
# translator_7_nameNative = Translator 7. Your name in the native language.
|
||||
# translator_7_contact = Translator 7. Contact information, email or web site address.
|
||||
|
||||
# translator_8_nameEnglish = Translator 8. Your name in English.
|
||||
# translator_8_nameNative = Translator 8. Your name in the native language.
|
||||
# translator_8_contact = Translator 8. Contact information, email or web site address.
|
||||
|
||||
# translator_9_nameEnglish = Translator 9. Your name in English.
|
||||
# translator_9_nameNative = Translator 9. Your name in the native language.
|
||||
# translator_9_contact = Translator 9. Contact information, email or web site address.
|
||||
|
||||
# translator_10_nameEnglish = Translator 10. Your name in English.
|
||||
# translator_10_nameNative = Translator 10. Your name in the native language.
|
||||
# translator_10_contact = Translator 10. Contact information, email or web site address.
|
@ -1,42 +0,0 @@
|
||||
# _help = Don't translate this text, it is only help. I want to thank you in the "About" dialog. So, please fill the following information about yourself. The number does not matter, all the names will be displayed in alphabetical order.
|
||||
|
||||
|
||||
translator_1_nameEnglish = Michael Moroni
|
||||
translator_1_nameNative = Michael MORONI
|
||||
translator_1_contact = michael.moroni@mailoo.org
|
||||
|
||||
# translator_2_nameEnglish = Translator 2. Your name in English.
|
||||
# translator_2_nameNative = Translator 2. Your name in the native language.
|
||||
# translator_2_contact = Translator 2. Contact information, email or web site address.
|
||||
|
||||
# translator_3_nameEnglish = Translator 3. Your name in English.
|
||||
# translator_3_nameNative = Translator 3. Your name in the native language.
|
||||
# translator_3_contact = Translator 3. Contact information, email or web site address.
|
||||
|
||||
# translator_4_nameEnglish = Translator 4. Your name in English.
|
||||
# translator_4_nameNative = Translator 4. Your name in the native language.
|
||||
# translator_4_contact = Translator 4. Contact information, email or web site address.
|
||||
|
||||
# translator_5_nameEnglish = Translator 5. Your name in English.
|
||||
# translator_5_nameNative = Translator 5. Your name in the native language.
|
||||
# translator_5_contact = Translator 5. Contact information, email or web site address.
|
||||
|
||||
# translator_6_nameEnglish = Translator 6. Your name in English.
|
||||
# translator_6_nameNative = Translator 6. Your name in the native language.
|
||||
# translator_6_contact = Translator 6. Contact information, email or web site address.
|
||||
|
||||
# translator_7_nameEnglish = Translator 7. Your name in English.
|
||||
# translator_7_nameNative = Translator 7. Your name in the native language.
|
||||
# translator_7_contact = Translator 7. Contact information, email or web site address.
|
||||
|
||||
# translator_8_nameEnglish = Translator 8. Your name in English.
|
||||
# translator_8_nameNative = Translator 8. Your name in the native language.
|
||||
# translator_8_contact = Translator 8. Contact information, email or web site address.
|
||||
|
||||
# translator_9_nameEnglish = Translator 9. Your name in English.
|
||||
# translator_9_nameNative = Translator 9. Your name in the native language.
|
||||
# translator_9_contact = Translator 9. Contact information, email or web site address.
|
||||
|
||||
# translator_10_nameEnglish = Translator 10. Your name in English.
|
||||
# translator_10_nameNative = Translator 10. Your name in the native language.
|
||||
# translator_10_contact = Translator 10. Contact information, email or web site address.
|
@ -1,42 +0,0 @@
|
||||
_help = Sorry for the mistake
|
||||
|
||||
|
||||
translator_1_nameEnglish = Francisco Ballina Sanchez
|
||||
translator_1_nameNative = Francisco Salvador Ballina Sánchez
|
||||
translator_1_contact = zballinita@gmail.com
|
||||
|
||||
# translator_2_nameEnglish = Translator 2. Your name in English.
|
||||
# translator_2_nameNative = Translator 2. Your name in the native language.
|
||||
# translator_2_contact = Translator 2. Contact information, email or web site address.
|
||||
|
||||
# translator_3_nameEnglish = Translator 3. Your name in English.
|
||||
# translator_3_nameNative = Translator 3. Your name in the native language.
|
||||
# translator_3_contact = Translator 3. Contact information, email or web site address.
|
||||
|
||||
# translator_4_nameEnglish = Translator 4. Your name in English.
|
||||
# translator_4_nameNative = Translator 4. Your name in the native language.
|
||||
# translator_4_contact = Translator 4. Contact information, email or web site address.
|
||||
|
||||
# translator_5_nameEnglish = Translator 5. Your name in English.
|
||||
# translator_5_nameNative = Translator 5. Your name in the native language.
|
||||
# translator_5_contact = Translator 5. Contact information, email or web site address.
|
||||
|
||||
# translator_6_nameEnglish = Translator 6. Your name in English.
|
||||
# translator_6_nameNative = Translator 6. Your name in the native language.
|
||||
# translator_6_contact = Translator 6. Contact information, email or web site address.
|
||||
|
||||
# translator_7_nameEnglish = Translator 7. Your name in English.
|
||||
# translator_7_nameNative = Translator 7. Your name in the native language.
|
||||
# translator_7_contact = Translator 7. Contact information, email or web site address.
|
||||
|
||||
# translator_8_nameEnglish = Translator 8. Your name in English.
|
||||
# translator_8_nameNative = Translator 8. Your name in the native language.
|
||||
# translator_8_contact = Translator 8. Contact information, email or web site address.
|
||||
|
||||
# translator_9_nameEnglish = Translator 9. Your name in English.
|
||||
# translator_9_nameNative = Translator 9. Your name in the native language.
|
||||
# translator_9_contact = Translator 9. Contact information, email or web site address.
|
||||
|
||||
# translator_10_nameEnglish = Translator 10. Your name in English.
|
||||
# translator_10_nameNative = Translator 10. Your name in the native language.
|
||||
# translator_10_contact = Translator 10. Contact information, email or web site address.
|
@ -1,42 +0,0 @@
|
||||
# _help = Don't translate this text, it is only help. I want to thank you in the "About" dialog. So, please fill the following information about yourself. The number does not matter, all the names will be displayed in alphabetical order.
|
||||
|
||||
|
||||
translator_1_nameEnglish = PICCORO Lenz McKAY
|
||||
translator_1_nameNative = PICCORO Lenz McKAY
|
||||
translator_1_contact = mckaygerhard@gmail.com
|
||||
|
||||
# translator_2_nameEnglish = Translator 2. Your name in English.
|
||||
# translator_2_nameNative = Translator 2. Your name in the native language.
|
||||
# translator_2_contact = Translator 2. Contact information, email or web site address.
|
||||
|
||||
# translator_3_nameEnglish = Translator 3. Your name in English.
|
||||
# translator_3_nameNative = Translator 3. Your name in the native language.
|
||||
# translator_3_contact = Translator 3. Contact information, email or web site address.
|
||||
|
||||
# translator_4_nameEnglish = Translator 4. Your name in English.
|
||||
# translator_4_nameNative = Translator 4. Your name in the native language.
|
||||
# translator_4_contact = Translator 4. Contact information, email or web site address.
|
||||
|
||||
# translator_5_nameEnglish = Translator 5. Your name in English.
|
||||
# translator_5_nameNative = Translator 5. Your name in the native language.
|
||||
# translator_5_contact = Translator 5. Contact information, email or web site address.
|
||||
|
||||
# translator_6_nameEnglish = Translator 6. Your name in English.
|
||||
# translator_6_nameNative = Translator 6. Your name in the native language.
|
||||
# translator_6_contact = Translator 6. Contact information, email or web site address.
|
||||
|
||||
# translator_7_nameEnglish = Translator 7. Your name in English.
|
||||
# translator_7_nameNative = Translator 7. Your name in the native language.
|
||||
# translator_7_contact = Translator 7. Contact information, email or web site address.
|
||||
|
||||
# translator_8_nameEnglish = Translator 8. Your name in English.
|
||||
# translator_8_nameNative = Translator 8. Your name in the native language.
|
||||
# translator_8_contact = Translator 8. Contact information, email or web site address.
|
||||
|
||||
# translator_9_nameEnglish = Translator 9. Your name in English.
|
||||
# translator_9_nameNative = Translator 9. Your name in the native language.
|
||||
# translator_9_contact = Translator 9. Contact information, email or web site address.
|
||||
|
||||
# translator_10_nameEnglish = Translator 10. Your name in English.
|
||||
# translator_10_nameNative = Translator 10. Your name in the native language.
|
||||
# translator_10_contact = Translator 10. Contact information, email or web site address.
|
@ -1,42 +0,0 @@
|
||||
# _help = Don't translate this text, it is only help. I want to thank you in the "About" dialog. So, please fill the following information about yourself. The number does not matter, all the names will be displayed in alphabetical order.
|
||||
|
||||
|
||||
translator_1_nameEnglish = Asier Iturralde Sarasola
|
||||
translator_1_nameNative = Asier Iturralde Sarasola
|
||||
translator_1_contact = asier.iturralde@gmail.com
|
||||
|
||||
# translator_2_nameEnglish = Translator 2. Your name in English.
|
||||
# translator_2_nameNative = Translator 2. Your name in the native language.
|
||||
# translator_2_contact = Translator 2. Contact information, email or web site address.
|
||||
|
||||
# translator_3_nameEnglish = Translator 3. Your name in English.
|
||||
# translator_3_nameNative = Translator 3. Your name in the native language.
|
||||
# translator_3_contact = Translator 3. Contact information, email or web site address.
|
||||
|
||||
# translator_4_nameEnglish = Translator 4. Your name in English.
|
||||
# translator_4_nameNative = Translator 4. Your name in the native language.
|
||||
# translator_4_contact = Translator 4. Contact information, email or web site address.
|
||||
|
||||
# translator_5_nameEnglish = Translator 5. Your name in English.
|
||||
# translator_5_nameNative = Translator 5. Your name in the native language.
|
||||
# translator_5_contact = Translator 5. Contact information, email or web site address.
|
||||
|
||||
# translator_6_nameEnglish = Translator 6. Your name in English.
|
||||
# translator_6_nameNative = Translator 6. Your name in the native language.
|
||||
# translator_6_contact = Translator 6. Contact information, email or web site address.
|
||||
|
||||
# translator_7_nameEnglish = Translator 7. Your name in English.
|
||||
# translator_7_nameNative = Translator 7. Your name in the native language.
|
||||
# translator_7_contact = Translator 7. Contact information, email or web site address.
|
||||
|
||||
# translator_8_nameEnglish = Translator 8. Your name in English.
|
||||
# translator_8_nameNative = Translator 8. Your name in the native language.
|
||||
# translator_8_contact = Translator 8. Contact information, email or web site address.
|
||||
|
||||
# translator_9_nameEnglish = Translator 9. Your name in English.
|
||||
# translator_9_nameNative = Translator 9. Your name in the native language.
|
||||
# translator_9_contact = Translator 9. Contact information, email or web site address.
|
||||
|
||||
# translator_10_nameEnglish = Translator 10. Your name in English.
|
||||
# translator_10_nameNative = Translator 10. Your name in the native language.
|
||||
# translator_10_contact = Translator 10. Contact information, email or web site address.
|
@ -1,42 +0,0 @@
|
||||
# _help = Don't translate this text, it is only help. I want to thank you in the "About" dialog. So, please fill the following information about yourself. The number does not matter, all the names will be displayed in alphabetical order.
|
||||
|
||||
|
||||
translator_1_nameEnglish = Jiri Groenroos
|
||||
translator_1_nameNative = Jiri Grönroos
|
||||
translator_1_contact = jiri.gronroos+lxqt@iki.fi
|
||||
|
||||
# translator_2_nameEnglish = Translator 2. Your name in English.
|
||||
# translator_2_nameNative = Translator 2. Your name in the native language.
|
||||
# translator_2_contact = Translator 2. Contact information, email or web site address.
|
||||
|
||||
# translator_3_nameEnglish = Translator 3. Your name in English.
|
||||
# translator_3_nameNative = Translator 3. Your name in the native language.
|
||||
# translator_3_contact = Translator 3. Contact information, email or web site address.
|
||||
|
||||
# translator_4_nameEnglish = Translator 4. Your name in English.
|
||||
# translator_4_nameNative = Translator 4. Your name in the native language.
|
||||
# translator_4_contact = Translator 4. Contact information, email or web site address.
|
||||
|
||||
# translator_5_nameEnglish = Translator 5. Your name in English.
|
||||
# translator_5_nameNative = Translator 5. Your name in the native language.
|
||||
# translator_5_contact = Translator 5. Contact information, email or web site address.
|
||||
|
||||
# translator_6_nameEnglish = Translator 6. Your name in English.
|
||||
# translator_6_nameNative = Translator 6. Your name in the native language.
|
||||
# translator_6_contact = Translator 6. Contact information, email or web site address.
|
||||
|
||||
# translator_7_nameEnglish = Translator 7. Your name in English.
|
||||
# translator_7_nameNative = Translator 7. Your name in the native language.
|
||||
# translator_7_contact = Translator 7. Contact information, email or web site address.
|
||||
|
||||
# translator_8_nameEnglish = Translator 8. Your name in English.
|
||||
# translator_8_nameNative = Translator 8. Your name in the native language.
|
||||
# translator_8_contact = Translator 8. Contact information, email or web site address.
|
||||
|
||||
# translator_9_nameEnglish = Translator 9. Your name in English.
|
||||
# translator_9_nameNative = Translator 9. Your name in the native language.
|
||||
# translator_9_contact = Translator 9. Contact information, email or web site address.
|
||||
|
||||
# translator_10_nameEnglish = Translator 10. Your name in English.
|
||||
# translator_10_nameNative = Translator 10. Your name in the native language.
|
||||
# translator_10_contact = Translator 10. Contact information, email or web site address.
|
@ -1,42 +0,0 @@
|
||||
# _help = Don't translate this text, it is only help. I want to thank you in the "About" dialog. So, please fill the following information about yourself. The number does not matter, all the names will be displayed in alphabetical order.
|
||||
|
||||
|
||||
translator_1_nameEnglish = Giacomo
|
||||
translator_1_nameNative = Giacomo
|
||||
translator_1_contact = giacomosrv@gmail.com
|
||||
|
||||
# translator_2_nameEnglish = Translator 2. Your name in English.
|
||||
# translator_2_nameNative = Translator 2. Your name in the native language.
|
||||
# translator_2_contact = Translator 2. Contact information, email or web site address.
|
||||
|
||||
# translator_3_nameEnglish = Translator 3. Your name in English.
|
||||
# translator_3_nameNative = Translator 3. Your name in the native language.
|
||||
# translator_3_contact = Translator 3. Contact information, email or web site address.
|
||||
|
||||
# translator_4_nameEnglish = Translator 4. Your name in English.
|
||||
# translator_4_nameNative = Translator 4. Your name in the native language.
|
||||
# translator_4_contact = Translator 4. Contact information, email or web site address.
|
||||
|
||||
# translator_5_nameEnglish = Translator 5. Your name in English.
|
||||
# translator_5_nameNative = Translator 5. Your name in the native language.
|
||||
# translator_5_contact = Translator 5. Contact information, email or web site address.
|
||||
|
||||
# translator_6_nameEnglish = Translator 6. Your name in English.
|
||||
# translator_6_nameNative = Translator 6. Your name in the native language.
|
||||
# translator_6_contact = Translator 6. Contact information, email or web site address.
|
||||
|
||||
# translator_7_nameEnglish = Translator 7. Your name in English.
|
||||
# translator_7_nameNative = Translator 7. Your name in the native language.
|
||||
# translator_7_contact = Translator 7. Contact information, email or web site address.
|
||||
|
||||
# translator_8_nameEnglish = Translator 8. Your name in English.
|
||||
# translator_8_nameNative = Translator 8. Your name in the native language.
|
||||
# translator_8_contact = Translator 8. Contact information, email or web site address.
|
||||
|
||||
# translator_9_nameEnglish = Translator 9. Your name in English.
|
||||
# translator_9_nameNative = Translator 9. Your name in the native language.
|
||||
# translator_9_contact = Translator 9. Contact information, email or web site address.
|
||||
|
||||
# translator_10_nameEnglish = Translator 10. Your name in English.
|
||||
# translator_10_nameNative = Translator 10. Your name in the native language.
|
||||
# translator_10_contact = Translator 10. Contact information, email or web site address.
|
@ -1,42 +0,0 @@
|
||||
# _help = Don't translate this text, it is only help. I want to thank you in the "About" dialog. So, please fill the following information about yourself. The number does not matter, all the names will be displayed in alphabetical order.
|
||||
|
||||
|
||||
translator_1_nameEnglish = Mika Kobayashi
|
||||
translator_1_nameNative = 小林 美佳
|
||||
translator_1_contact = https://github.com/mika-k/
|
||||
|
||||
# translator_2_nameEnglish = Translator 2. Your name in English.
|
||||
# translator_2_nameNative = Translator 2. Your name in the native language.
|
||||
# translator_2_contact = Translator 2. Contact information, email or web site address.
|
||||
|
||||
# translator_3_nameEnglish = Translator 3. Your name in English.
|
||||
# translator_3_nameNative = Translator 3. Your name in the native language.
|
||||
# translator_3_contact = Translator 3. Contact information, email or web site address.
|
||||
|
||||
# translator_4_nameEnglish = Translator 4. Your name in English.
|
||||
# translator_4_nameNative = Translator 4. Your name in the native language.
|
||||
# translator_4_contact = Translator 4. Contact information, email or web site address.
|
||||
|
||||
# translator_5_nameEnglish = Translator 5. Your name in English.
|
||||
# translator_5_nameNative = Translator 5. Your name in the native language.
|
||||
# translator_5_contact = Translator 5. Contact information, email or web site address.
|
||||
|
||||
# translator_6_nameEnglish = Translator 6. Your name in English.
|
||||
# translator_6_nameNative = Translator 6. Your name in the native language.
|
||||
# translator_6_contact = Translator 6. Contact information, email or web site address.
|
||||
|
||||
# translator_7_nameEnglish = Translator 7. Your name in English.
|
||||
# translator_7_nameNative = Translator 7. Your name in the native language.
|
||||
# translator_7_contact = Translator 7. Contact information, email or web site address.
|
||||
|
||||
# translator_8_nameEnglish = Translator 8. Your name in English.
|
||||
# translator_8_nameNative = Translator 8. Your name in the native language.
|
||||
# translator_8_contact = Translator 8. Contact information, email or web site address.
|
||||
|
||||
# translator_9_nameEnglish = Translator 9. Your name in English.
|
||||
# translator_9_nameNative = Translator 9. Your name in the native language.
|
||||
# translator_9_contact = Translator 9. Contact information, email or web site address.
|
||||
|
||||
# translator_10_nameEnglish = Translator 10. Your name in English.
|
||||
# translator_10_nameNative = Translator 10. Your name in the native language.
|
||||
# translator_10_contact = Translator 10. Contact information, email or web site address.
|
@ -1,42 +0,0 @@
|
||||
# _help = Don't translate this text, it is only help. I want to thank you in the "About" dialog. So, please fill the following information about yourself. The number does not matter, all the names will be displayed in alphabetical order.
|
||||
|
||||
|
||||
translator_1_nameEnglish = Nuc!eoN
|
||||
# translator_1_nameNative = Translator 1. Your name in the native language.
|
||||
# translator_1_contact = Translator 1. Contact information, email or web site address.
|
||||
|
||||
# translator_2_nameEnglish = Translator 2. Your name in English.
|
||||
# translator_2_nameNative = Translator 2. Your name in the native language.
|
||||
# translator_2_contact = Translator 2. Contact information, email or web site address.
|
||||
|
||||
# translator_3_nameEnglish = Translator 3. Your name in English.
|
||||
# translator_3_nameNative = Translator 3. Your name in the native language.
|
||||
# translator_3_contact = Translator 3. Contact information, email or web site address.
|
||||
|
||||
# translator_4_nameEnglish = Translator 4. Your name in English.
|
||||
# translator_4_nameNative = Translator 4. Your name in the native language.
|
||||
# translator_4_contact = Translator 4. Contact information, email or web site address.
|
||||
|
||||
# translator_5_nameEnglish = Translator 5. Your name in English.
|
||||
# translator_5_nameNative = Translator 5. Your name in the native language.
|
||||
# translator_5_contact = Translator 5. Contact information, email or web site address.
|
||||
|
||||
# translator_6_nameEnglish = Translator 6. Your name in English.
|
||||
# translator_6_nameNative = Translator 6. Your name in the native language.
|
||||
# translator_6_contact = Translator 6. Contact information, email or web site address.
|
||||
|
||||
# translator_7_nameEnglish = Translator 7. Your name in English.
|
||||
# translator_7_nameNative = Translator 7. Your name in the native language.
|
||||
# translator_7_contact = Translator 7. Contact information, email or web site address.
|
||||
|
||||
# translator_8_nameEnglish = Translator 8. Your name in English.
|
||||
# translator_8_nameNative = Translator 8. Your name in the native language.
|
||||
# translator_8_contact = Translator 8. Contact information, email or web site address.
|
||||
|
||||
# translator_9_nameEnglish = Translator 9. Your name in English.
|
||||
# translator_9_nameNative = Translator 9. Your name in the native language.
|
||||
# translator_9_contact = Translator 9. Contact information, email or web site address.
|
||||
|
||||
# translator_10_nameEnglish = Translator 10. Your name in English.
|
||||
# translator_10_nameNative = Translator 10. Your name in the native language.
|
||||
# translator_10_contact = Translator 10. Contact information, email or web site address.
|
@ -1,42 +0,0 @@
|
||||
# _help = Don't translate this text, it is only help. I want to thank you in the "About" dialog. So, please fill the following information about yourself. The number does not matter, all the names will be displayed in alphabetical order.
|
||||
|
||||
|
||||
translator_1_nameEnglish = Sérgio Marques
|
||||
translator_1_nameNative = Sérgio Marques
|
||||
translator_1_contact = smarquespt@gmail.com
|
||||
|
||||
# translator_2_nameEnglish = Translator 2. Your name in English.
|
||||
# translator_2_nameNative = Translator 2. Your name in the native language.
|
||||
# translator_2_contact = Translator 2. Contact information, email or web site address.
|
||||
|
||||
# translator_3_nameEnglish = Translator 3. Your name in English.
|
||||
# translator_3_nameNative = Translator 3. Your name in the native language.
|
||||
# translator_3_contact = Translator 3. Contact information, email or web site address.
|
||||
|
||||
# translator_4_nameEnglish = Translator 4. Your name in English.
|
||||
# translator_4_nameNative = Translator 4. Your name in the native language.
|
||||
# translator_4_contact = Translator 4. Contact information, email or web site address.
|
||||
|
||||
# translator_5_nameEnglish = Translator 5. Your name in English.
|
||||
# translator_5_nameNative = Translator 5. Your name in the native language.
|
||||
# translator_5_contact = Translator 5. Contact information, email or web site address.
|
||||
|
||||
# translator_6_nameEnglish = Translator 6. Your name in English.
|
||||
# translator_6_nameNative = Translator 6. Your name in the native language.
|
||||
# translator_6_contact = Translator 6. Contact information, email or web site address.
|
||||
|
||||
# translator_7_nameEnglish = Translator 7. Your name in English.
|
||||
# translator_7_nameNative = Translator 7. Your name in the native language.
|
||||
# translator_7_contact = Translator 7. Contact information, email or web site address.
|
||||
|
||||
# translator_8_nameEnglish = Translator 8. Your name in English.
|
||||
# translator_8_nameNative = Translator 8. Your name in the native language.
|
||||
# translator_8_contact = Translator 8. Contact information, email or web site address.
|
||||
|
||||
# translator_9_nameEnglish = Translator 9. Your name in English.
|
||||
# translator_9_nameNative = Translator 9. Your name in the native language.
|
||||
# translator_9_contact = Translator 9. Contact information, email or web site address.
|
||||
|
||||
# translator_10_nameEnglish = Translator 10. Your name in English.
|
||||
# translator_10_nameNative = Translator 10. Your name in the native language.
|
||||
# translator_10_contact = Translator 10. Contact information, email or web site address.
|
@ -1,42 +0,0 @@
|
||||
# _help = Don't translate this text, it is only help. I want to thank you in the "About" dialog. So, please fill the following information about yourself. The number does not matter, all the names will be displayed in alphabetical order.
|
||||
|
||||
|
||||
translator_1_nameEnglish = Márcio Moraes
|
||||
translator_1_nameNative = Márcio Moraes
|
||||
translator_1_contact = marciopanto@gmail.com
|
||||
|
||||
translator_2_nameEnglish = Rafael Neri
|
||||
translator_2_nameNative = Rafael Neri
|
||||
translator_2_contact = rafepel@gmail.com
|
||||
|
||||
# translator_3_nameEnglish = Translator 3. Your name in English.
|
||||
# translator_3_nameNative = Translator 3. Your name in the native language.
|
||||
# translator_3_contact = Translator 3. Contact information, email or web site address.
|
||||
|
||||
# translator_4_nameEnglish = Translator 4. Your name in English.
|
||||
# translator_4_nameNative = Translator 4. Your name in the native language.
|
||||
# translator_4_contact = Translator 4. Contact information, email or web site address.
|
||||
|
||||
# translator_5_nameEnglish = Translator 5. Your name in English.
|
||||
# translator_5_nameNative = Translator 5. Your name in the native language.
|
||||
# translator_5_contact = Translator 5. Contact information, email or web site address.
|
||||
|
||||
# translator_6_nameEnglish = Translator 6. Your name in English.
|
||||
# translator_6_nameNative = Translator 6. Your name in the native language.
|
||||
# translator_6_contact = Translator 6. Contact information, email or web site address.
|
||||
|
||||
# translator_7_nameEnglish = Translator 7. Your name in English.
|
||||
# translator_7_nameNative = Translator 7. Your name in the native language.
|
||||
# translator_7_contact = Translator 7. Contact information, email or web site address.
|
||||
|
||||
# translator_8_nameEnglish = Translator 8. Your name in English.
|
||||
# translator_8_nameNative = Translator 8. Your name in the native language.
|
||||
# translator_8_contact = Translator 8. Contact information, email or web site address.
|
||||
|
||||
# translator_9_nameEnglish = Translator 9. Your name in English.
|
||||
# translator_9_nameNative = Translator 9. Your name in the native language.
|
||||
# translator_9_contact = Translator 9. Contact information, email or web site address.
|
||||
|
||||
# translator_10_nameEnglish = Translator 10. Your name in English.
|
||||
# translator_10_nameNative = Translator 10. Your name in the native language.
|
||||
# translator_10_contact = Translator 10. Contact information, email or web site address.
|
@ -1,42 +0,0 @@
|
||||
# _help = Don't translate this text, it is only help. I want to thank you in the "About" dialog. So, please fill the following information about yourself. The number does not matter, all the names will be displayed in alphabetical order.
|
||||
|
||||
|
||||
translator_1_nameEnglish = Daiana Heinrich
|
||||
# translator_1_nameNative = Translator 1. Your name in the native language.
|
||||
# translator_1_contact = Translator 1. Contact information, email or web site address.
|
||||
|
||||
# translator_2_nameEnglish = Translator 2. Your name in English.
|
||||
# translator_2_nameNative = Translator 2. Your name in the native language.
|
||||
# translator_2_contact = Translator 2. Contact information, email or web site address.
|
||||
|
||||
# translator_3_nameEnglish = Translator 3. Your name in English.
|
||||
# translator_3_nameNative = Translator 3. Your name in the native language.
|
||||
# translator_3_contact = Translator 3. Contact information, email or web site address.
|
||||
|
||||
# translator_4_nameEnglish = Translator 4. Your name in English.
|
||||
# translator_4_nameNative = Translator 4. Your name in the native language.
|
||||
# translator_4_contact = Translator 4. Contact information, email or web site address.
|
||||
|
||||
# translator_5_nameEnglish = Translator 5. Your name in English.
|
||||
# translator_5_nameNative = Translator 5. Your name in the native language.
|
||||
# translator_5_contact = Translator 5. Contact information, email or web site address.
|
||||
|
||||
# translator_6_nameEnglish = Translator 6. Your name in English.
|
||||
# translator_6_nameNative = Translator 6. Your name in the native language.
|
||||
# translator_6_contact = Translator 6. Contact information, email or web site address.
|
||||
|
||||
# translator_7_nameEnglish = Translator 7. Your name in English.
|
||||
# translator_7_nameNative = Translator 7. Your name in the native language.
|
||||
# translator_7_contact = Translator 7. Contact information, email or web site address.
|
||||
|
||||
# translator_8_nameEnglish = Translator 8. Your name in English.
|
||||
# translator_8_nameNative = Translator 8. Your name in the native language.
|
||||
# translator_8_contact = Translator 8. Contact information, email or web site address.
|
||||
|
||||
# translator_9_nameEnglish = Translator 9. Your name in English.
|
||||
# translator_9_nameNative = Translator 9. Your name in the native language.
|
||||
# translator_9_contact = Translator 9. Contact information, email or web site address.
|
||||
|
||||
# translator_10_nameEnglish = Translator 10. Your name in English.
|
||||
# translator_10_nameNative = Translator 10. Your name in the native language.
|
||||
# translator_10_contact = Translator 10. Contact information, email or web site address.
|
@ -1,42 +0,0 @@
|
||||
# _help = Don't translate this text, it is only help. I want to thank you in the "About" dialog. So, please fill the following information about yourself. The number does not matter, all the names will be displayed in alphabetical order.
|
||||
|
||||
|
||||
translator_1_nameEnglish = Alexander Sokolov
|
||||
translator_1_nameNative = Александр Соколов
|
||||
translator_1_contact = sokoloff.a@gmail.com
|
||||
|
||||
translator_2_nameEnglish = Translator 2. Oleg Maximov
|
||||
translator_2_nameNative = Translator 2. Олег Максимов
|
||||
translator_2_contact = Translator 2. gruz103@gmail.com
|
||||
|
||||
translator_3_nameEnglish = Translator 3. Ilya Shestopalov
|
||||
translator_3_nameNative = Translator 3. Илья Шестопалов
|
||||
translator_3_contact = Translator 3. yast4ik@yahoo.com
|
||||
|
||||
# translator_4_nameEnglish = Translator 4. Your name in English.
|
||||
# translator_4_nameNative = Translator 4. Your name in the native language.
|
||||
# translator_4_contact = Translator 4. Contact information, email or web site address.
|
||||
|
||||
# translator_5_nameEnglish = Translator 5. Your name in English.
|
||||
# translator_5_nameNative = Translator 5. Your name in the native language.
|
||||
# translator_5_contact = Translator 5. Contact information, email or web site address.
|
||||
|
||||
# translator_6_nameEnglish = Translator 6. Your name in English.
|
||||
# translator_6_nameNative = Translator 6. Your name in the native language.
|
||||
# translator_6_contact = Translator 6. Contact information, email or web site address.
|
||||
|
||||
# translator_7_nameEnglish = Translator 7. Your name in English.
|
||||
# translator_7_nameNative = Translator 7. Your name in the native language.
|
||||
# translator_7_contact = Translator 7. Contact information, email or web site address.
|
||||
|
||||
# translator_8_nameEnglish = Translator 8. Your name in English.
|
||||
# translator_8_nameNative = Translator 8. Your name in the native language.
|
||||
# translator_8_contact = Translator 8. Contact information, email or web site address.
|
||||
|
||||
# translator_9_nameEnglish = Translator 9. Your name in English.
|
||||
# translator_9_nameNative = Translator 9. Your name in the native language.
|
||||
# translator_9_contact = Translator 9. Contact information, email or web site address.
|
||||
|
||||
# translator_10_nameEnglish = Translator 10. Your name in English.
|
||||
# translator_10_nameNative = Translator 10. Your name in the native language.
|
||||
# translator_10_contact = Translator 10. Contact information, email or web site address.
|
@ -1,42 +0,0 @@
|
||||
# _help = Don't translate this text, it is only help. I want to thank you in the "About" dialog. So, please fill the following information about yourself. The number does not matter, all the names will be displayed in alphabetical order.
|
||||
|
||||
|
||||
translator_1_nameEnglish = Kuzma Shapran
|
||||
translator_1_nameNative = Кузьма Шапран
|
||||
translator_1_contact = Kuzma.Shapran@gmail.com
|
||||
|
||||
translator_2_nameEnglish = Rax Garfield
|
||||
translator_2_nameNative = Рекс Ґарфілд
|
||||
translator_2_contact = admin@dvizho.ks.ua
|
||||
|
||||
translator_3_nameEnglish = Vlad Golovko
|
||||
translator_3_nameNative = Владислав Головко
|
||||
translator_3_contact = golovko.vlad@gmail.com
|
||||
|
||||
# translator_4_nameEnglish = Translator 4. Your name in English.
|
||||
# translator_4_nameNative = Translator 4. Your name in the native language.
|
||||
# translator_4_contact = Translator 4. Contact information, email or web site address.
|
||||
|
||||
# translator_5_nameEnglish = Translator 5. Your name in English.
|
||||
# translator_5_nameNative = Translator 5. Your name in the native language.
|
||||
# translator_5_contact = Translator 5. Contact information, email or web site address.
|
||||
|
||||
# translator_6_nameEnglish = Translator 6. Your name in English.
|
||||
# translator_6_nameNative = Translator 6. Your name in the native language.
|
||||
# translator_6_contact = Translator 6. Contact information, email or web site address.
|
||||
|
||||
# translator_7_nameEnglish = Translator 7. Your name in English.
|
||||
# translator_7_nameNative = Translator 7. Your name in the native language.
|
||||
# translator_7_contact = Translator 7. Contact information, email or web site address.
|
||||
|
||||
# translator_8_nameEnglish = Translator 8. Your name in English.
|
||||
# translator_8_nameNative = Translator 8. Your name in the native language.
|
||||
# translator_8_contact = Translator 8. Contact information, email or web site address.
|
||||
|
||||
# translator_9_nameEnglish = Translator 9. Your name in English.
|
||||
# translator_9_nameNative = Translator 9. Your name in the native language.
|
||||
# translator_9_contact = Translator 9. Contact information, email or web site address.
|
||||
|
||||
# translator_10_nameEnglish = Translator 10. Your name in English.
|
||||
# translator_10_nameNative = Translator 10. Your name in the native language.
|
||||
# translator_10_contact = Translator 10. Contact information, email or web site address.
|
@ -1,42 +0,0 @@
|
||||
# _help = Don't translate this text, it is only help. I want to thank you in the "About" dialog. So, please fill the following information about yourself. The number does not matter, all the names will be displayed in alphabetical order.
|
||||
|
||||
|
||||
translator_1_nameEnglish = tuhaihe
|
||||
# translator_1_nameNative = Translator 1. Your name in the native language.
|
||||
translator_1_contact = 1132321739qq@gmail.com
|
||||
|
||||
# translator_2_nameEnglish = Translator 2. Your name in English.
|
||||
# translator_2_nameNative = Translator 2. Your name in the native language.
|
||||
# translator_2_contact = Translator 2. Contact information, email or web site address.
|
||||
|
||||
# translator_3_nameEnglish = Translator 3. Your name in English.
|
||||
# translator_3_nameNative = Translator 3. Your name in the native language.
|
||||
# translator_3_contact = Translator 3. Contact information, email or web site address.
|
||||
|
||||
# translator_4_nameEnglish = Translator 4. Your name in English.
|
||||
# translator_4_nameNative = Translator 4. Your name in the native language.
|
||||
# translator_4_contact = Translator 4. Contact information, email or web site address.
|
||||
|
||||
# translator_5_nameEnglish = Translator 5. Your name in English.
|
||||
# translator_5_nameNative = Translator 5. Your name in the native language.
|
||||
# translator_5_contact = Translator 5. Contact information, email or web site address.
|
||||
|
||||
# translator_6_nameEnglish = Translator 6. Your name in English.
|
||||
# translator_6_nameNative = Translator 6. Your name in the native language.
|
||||
# translator_6_contact = Translator 6. Contact information, email or web site address.
|
||||
|
||||
# translator_7_nameEnglish = Translator 7. Your name in English.
|
||||
# translator_7_nameNative = Translator 7. Your name in the native language.
|
||||
# translator_7_contact = Translator 7. Contact information, email or web site address.
|
||||
|
||||
# translator_8_nameEnglish = Translator 8. Your name in English.
|
||||
# translator_8_nameNative = Translator 8. Your name in the native language.
|
||||
# translator_8_contact = Translator 8. Contact information, email or web site address.
|
||||
|
||||
# translator_9_nameEnglish = Translator 9. Your name in English.
|
||||
# translator_9_nameNative = Translator 9. Your name in the native language.
|
||||
# translator_9_contact = Translator 9. Contact information, email or web site address.
|
||||
|
||||
# translator_10_nameEnglish = Translator 10. Your name in English.
|
||||
# translator_10_nameNative = Translator 10. Your name in the native language.
|
||||
# translator_10_contact = Translator 10. Contact information, email or web site address.
|
@ -1,42 +0,0 @@
|
||||
# _help = Don't translate this text, it is only help. I want to thank you in the "About" dialog. So, please fill the following information about yourself. The number does not matter, all the names will be displayed in alphabetical order.
|
||||
|
||||
|
||||
translator_1_nameEnglish = Cheng-Hong Wu (stuarch)
|
||||
translator_1_nameNative = 吳承鴻 (史嘟)
|
||||
translator_1_contact = stu2731652 <AT> gmail.com
|
||||
|
||||
# translator_2_nameEnglish = Translator 2. Your name in English.
|
||||
# translator_2_nameNative = Translator 2. Your name in the native language.
|
||||
# translator_2_contact = Translator 2. Contact information, email or web site address.
|
||||
|
||||
# translator_3_nameEnglish = Translator 3. Your name in English.
|
||||
# translator_3_nameNative = Translator 3. Your name in the native language.
|
||||
# translator_3_contact = Translator 3. Contact information, email or web site address.
|
||||
|
||||
# translator_4_nameEnglish = Translator 4. Your name in English.
|
||||
# translator_4_nameNative = Translator 4. Your name in the native language.
|
||||
# translator_4_contact = Translator 4. Contact information, email or web site address.
|
||||
|
||||
# translator_5_nameEnglish = Translator 5. Your name in English.
|
||||
# translator_5_nameNative = Translator 5. Your name in the native language.
|
||||
# translator_5_contact = Translator 5. Contact information, email or web site address.
|
||||
|
||||
# translator_6_nameEnglish = Translator 6. Your name in English.
|
||||
# translator_6_nameNative = Translator 6. Your name in the native language.
|
||||
# translator_6_contact = Translator 6. Contact information, email or web site address.
|
||||
|
||||
# translator_7_nameEnglish = Translator 7. Your name in English.
|
||||
# translator_7_nameNative = Translator 7. Your name in the native language.
|
||||
# translator_7_contact = Translator 7. Contact information, email or web site address.
|
||||
|
||||
# translator_8_nameEnglish = Translator 8. Your name in English.
|
||||
# translator_8_nameNative = Translator 8. Your name in the native language.
|
||||
# translator_8_contact = Translator 8. Contact information, email or web site address.
|
||||
|
||||
# translator_9_nameEnglish = Translator 9. Your name in English.
|
||||
# translator_9_nameNative = Translator 9. Your name in the native language.
|
||||
# translator_9_contact = Translator 9. Contact information, email or web site address.
|
||||
|
||||
# translator_10_nameEnglish = Translator 10. Your name in English.
|
||||
# translator_10_nameNative = Translator 10. Your name in the native language.
|
||||
# translator_10_contact = Translator 10. Contact information, email or web site address.
|
@ -1,446 +0,0 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXQt - a lightweight, Qt based, desktop toolset
|
||||
* http://razor-qt.org
|
||||
*
|
||||
* Copyright: 2010-2011 Razor team
|
||||
* Authors:
|
||||
* Alexander Sokoloff <sokoloff.a@gmail.com>
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
* This library 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
|
||||
* Lesser General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
|
||||
#include "translatorsinfo.h"
|
||||
#include <QDebug>
|
||||
#include <QSettings>
|
||||
#include <QStringList>
|
||||
#include <QTextCodec>
|
||||
#include <QTextDocument>
|
||||
|
||||
using namespace LxQt;
|
||||
|
||||
void fillLangguages(QMap<QString, QString> *languages)
|
||||
{
|
||||
languages->insert("ach" ,"Acoli");
|
||||
languages->insert("af" ,"Afrikaans");
|
||||
languages->insert("af_ZA" ,"Afrikaans (South Africa)");
|
||||
languages->insert("ak" ,"Akan");
|
||||
languages->insert("sq" ,"Albanian");
|
||||
languages->insert("sq_AL" ,"Albanian (Albania)");
|
||||
languages->insert("aln" ,"Albanian Gheg");
|
||||
languages->insert("am" ,"Amharic");
|
||||
languages->insert("am_ET" ,"Amharic (Ethiopia)");
|
||||
languages->insert("ar" ,"Arabic");
|
||||
languages->insert("ar_SA" ,"Arabic (Saudi Arabia)");
|
||||
languages->insert("ar_AA" ,"Arabic (Unitag)");
|
||||
languages->insert("an" ,"Aragonese");
|
||||
languages->insert("hy" ,"Armenian");
|
||||
languages->insert("hy_AM" ,"Armenian (Armenia)");
|
||||
languages->insert("as" ,"Assamese");
|
||||
languages->insert("as_IN" ,"Assamese (India)");
|
||||
languages->insert("ast" ,"Asturian");
|
||||
languages->insert("az" ,"Azerbaijani");
|
||||
languages->insert("az_AZ" ,"Azerbaijani (Azerbaijan)");
|
||||
languages->insert("bal" ,"Balochi");
|
||||
languages->insert("eu" ,"Basque");
|
||||
languages->insert("eu_ES" ,"Basque (Spain)");
|
||||
languages->insert("be" ,"Belarusian");
|
||||
languages->insert("be_BY" ,"Belarusian (Belarus)");
|
||||
languages->insert("be@tarask" ,"Belarusian (Tarask)");
|
||||
languages->insert("bn" ,"Bengali");
|
||||
languages->insert("bn_BD" ,"Bengali (Bangladesh)");
|
||||
languages->insert("bn_IN" ,"Bengali (India)");
|
||||
languages->insert("brx" ,"Bodo");
|
||||
languages->insert("bs" ,"Bosnian");
|
||||
languages->insert("bs_BA" ,"Bosnian (Bosnia and Herzegovina)");
|
||||
languages->insert("br" ,"Breton");
|
||||
languages->insert("bg" ,"Bulgarian");
|
||||
languages->insert("bg_BG" ,"Bulgarian (Bulgaria)");
|
||||
languages->insert("my" ,"Burmese");
|
||||
languages->insert("my_MM" ,"Burmese (Myanmar)");
|
||||
languages->insert("ca" ,"Catalan");
|
||||
languages->insert("ca_ES" ,"Catalan (Spain)");
|
||||
languages->insert("ca@valencia" ,"Catalan (Valencian)");
|
||||
languages->insert("hne" ,"Chhattisgarhi");
|
||||
languages->insert("cgg" ,"Chiga");
|
||||
languages->insert("zh" ,"Chinese");
|
||||
languages->insert("zh_CN" ,"Chinese (China)");
|
||||
languages->insert("zh_CN.GB2312" ,"Chinese (China) (GB2312)");
|
||||
languages->insert("zh_HK" ,"Chinese (Hong Kong)");
|
||||
languages->insert("zh_TW" ,"Chinese (Taiwan)");
|
||||
languages->insert("zh_TW.Big5" ,"Chinese (Taiwan) (Big5) ");
|
||||
languages->insert("kw" ,"Cornish");
|
||||
languages->insert("co" ,"Corsican");
|
||||
languages->insert("crh" ,"Crimean Turkish");
|
||||
languages->insert("hr" ,"Croatian");
|
||||
languages->insert("hr_HR" ,"Croatian (Croatia)");
|
||||
languages->insert("cs" ,"Czech");
|
||||
languages->insert("cs_CZ" ,"Czech (Czech Republic)");
|
||||
languages->insert("da" ,"Danish");
|
||||
languages->insert("da_DK" ,"Danish (Denmark)");
|
||||
languages->insert("nl" ,"Dutch");
|
||||
languages->insert("nl_BE" ,"Dutch (Belgium)");
|
||||
languages->insert("nl_NL" ,"Dutch (Netherlands)");
|
||||
languages->insert("dz" ,"Dzongkha");
|
||||
languages->insert("dz_BT" ,"Dzongkha (Bhutan)");
|
||||
languages->insert("en" ,"English");
|
||||
languages->insert("en_AU" ,"English (Australia)");
|
||||
languages->insert("en_CA" ,"English (Canada)");
|
||||
languages->insert("en_IE" ,"English (Ireland)");
|
||||
languages->insert("en_ZA" ,"English (South Africa)");
|
||||
languages->insert("en_GB" ,"English (United Kingdom)");
|
||||
languages->insert("en_US" ,"English (United States)");
|
||||
languages->insert("eo" ,"Esperanto");
|
||||
languages->insert("et" ,"Estonian");
|
||||
languages->insert("et_EE" ,"Estonian (Estonia)");
|
||||
languages->insert("fo" ,"Faroese");
|
||||
languages->insert("fo_FO" ,"Faroese (Faroe Islands)");
|
||||
languages->insert("fil" ,"Filipino");
|
||||
languages->insert("fi" ,"Finnish");
|
||||
languages->insert("fi_FI" ,"Finnish (Finland)");
|
||||
languages->insert("frp" ,"Franco-Provençal (Arpitan)");
|
||||
languages->insert("fr" ,"French");
|
||||
languages->insert("fr_CA" ,"French (Canada)");
|
||||
languages->insert("fr_FR" ,"French (France)");
|
||||
languages->insert("fr_CH" ,"French (Switzerland)");
|
||||
languages->insert("fur" ,"Friulian");
|
||||
languages->insert("ff" ,"Fulah");
|
||||
languages->insert("gd" ,"Gaelic, Scottish");
|
||||
languages->insert("gl" ,"Galician");
|
||||
languages->insert("gl_ES" ,"Galician (Spain)");
|
||||
languages->insert("lg" ,"Ganda");
|
||||
languages->insert("ka" ,"Georgian");
|
||||
languages->insert("ka_GE" ,"Georgian (Georgia)");
|
||||
languages->insert("de" ,"German");
|
||||
languages->insert("de_DE" ,"German (Germany)");
|
||||
languages->insert("de_CH" ,"German (Switzerland)");
|
||||
languages->insert("el" ,"Greek");
|
||||
languages->insert("el_GR" ,"Greek (Greece)");
|
||||
languages->insert("gu" ,"Gujarati");
|
||||
languages->insert("gu_IN" ,"Gujarati (India)");
|
||||
languages->insert("gun" ,"Gun");
|
||||
languages->insert("ht" ,"Haitian (Haitian Creole)");
|
||||
languages->insert("ht_HT" ,"Haitian (Haitian Creole) (Haiti)");
|
||||
languages->insert("ha" ,"Hausa");
|
||||
languages->insert("he" ,"Hebrew");
|
||||
languages->insert("he_IL" ,"Hebrew (Israel)");
|
||||
languages->insert("hi" ,"Hindi");
|
||||
languages->insert("hi_IN" ,"Hindi (India)");
|
||||
languages->insert("hu" ,"Hungarian");
|
||||
languages->insert("hu_HU" ,"Hungarian (Hungary)");
|
||||
languages->insert("is" ,"Icelandic");
|
||||
languages->insert("is_IS" ,"Icelandic (Iceland)");
|
||||
languages->insert("ig" ,"Igbo");
|
||||
languages->insert("ilo" ,"Iloko");
|
||||
languages->insert("id" ,"Indonesian");
|
||||
languages->insert("id_ID" ,"Indonesian (Indonesia)");
|
||||
languages->insert("ia" ,"Interlingua");
|
||||
languages->insert("ga" ,"Irish");
|
||||
languages->insert("ga_IE" ,"Irish (Ireland)");
|
||||
languages->insert("it" ,"Italian");
|
||||
languages->insert("it_IT" ,"Italian (Italy)");
|
||||
languages->insert("ja" ,"Japanese");
|
||||
languages->insert("ja_JP" ,"Japanese (Japan)");
|
||||
languages->insert("jv" ,"Javanese");
|
||||
languages->insert("kn" ,"Kannada");
|
||||
languages->insert("kn_IN" ,"Kannada (India)");
|
||||
languages->insert("ks" ,"Kashmiri");
|
||||
languages->insert("ks_IN" ,"Kashmiri (India)");
|
||||
languages->insert("csb" ,"Kashubian");
|
||||
languages->insert("kk" ,"Kazakh");
|
||||
languages->insert("kk_KZ" ,"Kazakh (Kazakhstan)");
|
||||
languages->insert("km" ,"Khmer");
|
||||
languages->insert("km_KH" ,"Khmer (Cambodia)");
|
||||
languages->insert("rw" ,"Kinyarwanda");
|
||||
languages->insert("ky" ,"Kirgyz");
|
||||
languages->insert("tlh" ,"Klingon");
|
||||
languages->insert("ko" ,"Korean");
|
||||
languages->insert("ko_KR" ,"Korean (Korea)");
|
||||
languages->insert("ku" ,"Kurdish");
|
||||
languages->insert("ku_IQ" ,"Kurdish (Iraq)");
|
||||
languages->insert("lo" ,"Lao");
|
||||
languages->insert("lo_LA" ,"Lao (Laos)");
|
||||
languages->insert("la" ,"Latin");
|
||||
languages->insert("lv" ,"Latvian");
|
||||
languages->insert("lv_LV" ,"Latvian (Latvia)");
|
||||
languages->insert("li" ,"Limburgian");
|
||||
languages->insert("ln" ,"Lingala");
|
||||
languages->insert("lt" ,"Lithuanian");
|
||||
languages->insert("lt_LT" ,"Lithuanian (Lithuania)");
|
||||
languages->insert("nds" ,"Low German");
|
||||
languages->insert("lb" ,"Luxembourgish");
|
||||
languages->insert("mk" ,"Macedonian");
|
||||
languages->insert("mk_MK" ,"Macedonian (Macedonia)");
|
||||
languages->insert("mai" ,"Maithili");
|
||||
languages->insert("mg" ,"Malagasy");
|
||||
languages->insert("ms" ,"Malay");
|
||||
languages->insert("ml" ,"Malayalam");
|
||||
languages->insert("ml_IN" ,"Malayalam (India)");
|
||||
languages->insert("ms_MY" ,"Malay (Malaysia)");
|
||||
languages->insert("mt" ,"Maltese");
|
||||
languages->insert("mt_MT" ,"Maltese (Malta)");
|
||||
languages->insert("mi" ,"Maori");
|
||||
languages->insert("arn" ,"Mapudungun");
|
||||
languages->insert("mr" ,"Marathi");
|
||||
languages->insert("mr_IN" ,"Marathi (India)");
|
||||
languages->insert("mn" ,"Mongolian");
|
||||
languages->insert("mn_MN" ,"Mongolian (Mongolia)");
|
||||
languages->insert("nah" ,"Nahuatl");
|
||||
languages->insert("nr" ,"Ndebele, South");
|
||||
languages->insert("nap" ,"Neapolitan");
|
||||
languages->insert("ne" ,"Nepali");
|
||||
languages->insert("ne_NP" ,"Nepali (Nepal)");
|
||||
languages->insert("se" ,"Northern Sami");
|
||||
languages->insert("nso" ,"Northern Sotho");
|
||||
languages->insert("no" ,"Norwegian");
|
||||
languages->insert("nb" ,"Norwegian Bokmål");
|
||||
languages->insert("nb_NO" ,"Norwegian Bokmål (Norway)");
|
||||
languages->insert("no_NO" ,"Norwegian (Norway)");
|
||||
languages->insert("nn" ,"Norwegian Nynorsk");
|
||||
languages->insert("nn_NO" ,"Norwegian Nynorsk (Norway)");
|
||||
languages->insert("ny" ,"Nyanja");
|
||||
languages->insert("oc" ,"Occitan (post 1500)");
|
||||
languages->insert("or" ,"Oriya");
|
||||
languages->insert("or_IN" ,"Oriya (India)");
|
||||
languages->insert("pa" ,"Panjabi (Punjabi)");
|
||||
languages->insert("pa_IN" ,"Panjabi (Punjabi) (India)");
|
||||
languages->insert("pap" ,"Papiamento");
|
||||
languages->insert("fa" ,"Persian");
|
||||
languages->insert("fa_IR" ,"Persian (Iran)");
|
||||
languages->insert("pms" ,"Piemontese");
|
||||
languages->insert("pl" ,"Polish");
|
||||
languages->insert("pl_PL" ,"Polish (Poland)");
|
||||
languages->insert("pt" ,"Portuguese");
|
||||
languages->insert("pt_BR" ,"Portuguese (Brazil)");
|
||||
languages->insert("pt_PT" ,"Portuguese (Portugal)");
|
||||
languages->insert("ps" ,"Pushto");
|
||||
languages->insert("ro" ,"Romanian");
|
||||
languages->insert("ro_RO" ,"Romanian (Romania)");
|
||||
languages->insert("rm" ,"Romansh");
|
||||
languages->insert("ru" ,"Russian");
|
||||
languages->insert("ru_RU" ,"Russian (Russia)");
|
||||
languages->insert("sm" ,"Samoan");
|
||||
languages->insert("sc" ,"Sardinian");
|
||||
languages->insert("sco" ,"Scots");
|
||||
languages->insert("sr" ,"Serbian");
|
||||
languages->insert("sr@latin" ,"Serbian (Latin)");
|
||||
languages->insert("sr_RS@latin" ,"Serbian (Latin) (Serbia)");
|
||||
languages->insert("sr_RS" ,"Serbian (Serbia)");
|
||||
languages->insert("sn" ,"Shona");
|
||||
languages->insert("sd" ,"Sindhi");
|
||||
languages->insert("si" ,"Sinhala");
|
||||
languages->insert("si_LK" ,"Sinhala (Sri Lanka)");
|
||||
languages->insert("sk" ,"Slovak");
|
||||
languages->insert("sk_SK" ,"Slovak (Slovakia)");
|
||||
languages->insert("sl" ,"Slovenian");
|
||||
languages->insert("sl_SI" ,"Slovenian (Slovenia)");
|
||||
languages->insert("so" ,"Somali");
|
||||
languages->insert("son" ,"Songhay");
|
||||
languages->insert("st" ,"Sotho, Southern");
|
||||
languages->insert("st_ZA" ,"Sotho, Southern (South Africa)");
|
||||
languages->insert("es" ,"Spanish");
|
||||
languages->insert("es_AR" ,"Spanish (Argentina)");
|
||||
languages->insert("es_BO" ,"Spanish (Bolivia)");
|
||||
languages->insert("es_CL" ,"Spanish (Chile)");
|
||||
languages->insert("es_CO" ,"Spanish (Colombia)");
|
||||
languages->insert("es_CR" ,"Spanish (Costa Rica)");
|
||||
languages->insert("es_DO" ,"Spanish (Dominican Republic)");
|
||||
languages->insert("es_EC" ,"Spanish (Ecuador)");
|
||||
languages->insert("es_SV" ,"Spanish (El Salvador)");
|
||||
languages->insert("es_MX" ,"Spanish (Mexico)");
|
||||
languages->insert("es_NI" ,"Spanish (Nicaragua)");
|
||||
languages->insert("es_PA" ,"Spanish (Panama)");
|
||||
languages->insert("es_PY" ,"Spanish (Paraguay)");
|
||||
languages->insert("es_PE" ,"Spanish (Peru)");
|
||||
languages->insert("es_PR" ,"Spanish (Puerto Rico)");
|
||||
languages->insert("es_ES" ,"Spanish (Spain)");
|
||||
languages->insert("es_UY" ,"Spanish (Uruguay)");
|
||||
languages->insert("es_VE" ,"Spanish (Venezuela)");
|
||||
languages->insert("su" ,"Sundanese");
|
||||
languages->insert("sw" ,"Swahili");
|
||||
languages->insert("sw_KE" ,"Swahili (Kenya)");
|
||||
languages->insert("sv" ,"Swedish");
|
||||
languages->insert("sv_FI" ,"Swedish (Finland)");
|
||||
languages->insert("sv_SE" ,"Swedish (Sweden)");
|
||||
languages->insert("tl" ,"Tagalog");
|
||||
languages->insert("tl_PH" ,"Tagalog (Philippines)");
|
||||
languages->insert("tg" ,"Tajik");
|
||||
languages->insert("tg_TJ" ,"Tajik (Tajikistan)");
|
||||
languages->insert("ta" ,"Tamil");
|
||||
languages->insert("ta_IN" ,"Tamil (India)");
|
||||
languages->insert("ta_LK" ,"Tamil (Sri-Lanka)");
|
||||
languages->insert("tt" ,"Tatar");
|
||||
languages->insert("te" ,"Telugu");
|
||||
languages->insert("te_IN" ,"Telugu (India)");
|
||||
languages->insert("th" ,"Thai");
|
||||
languages->insert("th_TH" ,"Thai (Thailand)");
|
||||
languages->insert("bo" ,"Tibetan");
|
||||
languages->insert("bo_CN" ,"Tibetan (China)");
|
||||
languages->insert("ti" ,"Tigrinya");
|
||||
languages->insert("to" ,"Tongan");
|
||||
languages->insert("tr" ,"Turkish");
|
||||
languages->insert("tr_TR" ,"Turkish (Turkey)");
|
||||
languages->insert("tk" ,"Turkmen");
|
||||
languages->insert("ug" ,"Uighur");
|
||||
languages->insert("uk" ,"Ukrainian");
|
||||
languages->insert("uk_UA" ,"Ukrainian (Ukraine)");
|
||||
languages->insert("hsb" ,"Upper Sorbian");
|
||||
languages->insert("ur" ,"Urdu");
|
||||
languages->insert("ur_PK" ,"Urdu (Pakistan)");
|
||||
languages->insert("uz" ,"Uzbek");
|
||||
languages->insert("ve" ,"Venda");
|
||||
languages->insert("vi" ,"Vietnamese");
|
||||
languages->insert("vi_VN" ,"Vietnamese (Vietnam)");
|
||||
languages->insert("vls" ,"Vlaams");
|
||||
languages->insert("wa" ,"Walloon");
|
||||
languages->insert("cy" ,"Welsh");
|
||||
languages->insert("cy_GB" ,"Welsh (United Kingdom)");
|
||||
languages->insert("fy" ,"Western Frisian");
|
||||
languages->insert("fy_NL" ,"Western Frisian (Netherlands)");
|
||||
languages->insert("wo" ,"Wolof");
|
||||
languages->insert("wo_SN" ,"Wolof (Senegal)");
|
||||
languages->insert("xh" ,"Xhosa");
|
||||
languages->insert("yi" ,"Yiddish");
|
||||
languages->insert("yo" ,"Yoruba");
|
||||
languages->insert("zu" ,"Zulu");
|
||||
languages->insert("zu_ZA" ,"Zulu (South Africa)");
|
||||
}
|
||||
|
||||
|
||||
QString getValue(const QSettings &src, const QString &key)
|
||||
{
|
||||
QString ret = src.value(key).toString().trimmed();
|
||||
if (ret == "-")
|
||||
return "";
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
|
||||
TranslatorsInfo::TranslatorsInfo()
|
||||
{
|
||||
//fillLangguages(&mLanguagesList);
|
||||
|
||||
QSettings src(":/translatorsInfo", QSettings::IniFormat);
|
||||
src.setIniCodec("UTF-8");
|
||||
|
||||
foreach(QString group, src.childGroups())
|
||||
{
|
||||
QString lang = group.section("_", 1).remove(".info");
|
||||
src.beginGroup(group);
|
||||
int cnt = src.allKeys().count();
|
||||
for (int i=0; i<cnt; i++)
|
||||
{
|
||||
QString nameEnglish = getValue(src, QString("translator_%1_nameEnglish").arg(i));
|
||||
QString nameNative = getValue(src, QString("translator_%1_nameNative").arg(i));
|
||||
QString contact = getValue(src, QString("translator_%1_contact").arg(i));
|
||||
|
||||
if (!nameEnglish.isEmpty())
|
||||
{
|
||||
process(lang, nameEnglish, nameNative, contact);
|
||||
}
|
||||
|
||||
}
|
||||
src.endGroup();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
TranslatorsInfo::~TranslatorsInfo()
|
||||
{
|
||||
qDeleteAll(mItems);
|
||||
}
|
||||
|
||||
QString TranslatorsInfo::asHtml() const
|
||||
{
|
||||
QString ret;
|
||||
foreach(TranslatorPerson *translator, mItems)
|
||||
{
|
||||
ret += "<li>" + translator->asHtml() + "</li>";
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
|
||||
void TranslatorsInfo::process(const QString &lang, const QString &englishName, const QString &nativeName, const QString &contact)
|
||||
{
|
||||
QString key = QString("%1:%2:%3").arg(englishName, nativeName, contact);
|
||||
TranslatorPerson *translator = mItems.value(key);
|
||||
|
||||
if (!translator)
|
||||
{
|
||||
translator = new TranslatorPerson(englishName, nativeName, contact);
|
||||
mItems.insert(key, translator);
|
||||
}
|
||||
|
||||
translator->addLanguage(lang);
|
||||
}
|
||||
|
||||
|
||||
TranslatorPerson::TranslatorPerson(const QString &englishName, const QString &nativeName, const QString &contact)
|
||||
{
|
||||
mEnglishName = englishName;
|
||||
|
||||
if (nativeName != englishName)
|
||||
mNativeName = nativeName;
|
||||
|
||||
mContact = contact;
|
||||
|
||||
if (mNativeName.isEmpty())
|
||||
mInfo = QString("%1").arg(mEnglishName);
|
||||
else
|
||||
mInfo = QString("%1 (%2)").arg(mEnglishName, mNativeName);
|
||||
|
||||
if (!mContact.isEmpty())
|
||||
{
|
||||
|
||||
if (mContact.contains(QRegExp("^(https?|mailto):")))
|
||||
mInfo = QString(" <a href='%1'>%2</a>").arg(contact, mInfo.toHtmlEscaped());
|
||||
else if (contact.contains("@") || contact.contains("<"))
|
||||
mInfo = QString(" <a href='mailto:%1'>%2</a>").arg(contact, mInfo.toHtmlEscaped());
|
||||
else
|
||||
mInfo = QString(" <a href='http://%1'>%2</a>").arg(contact, mInfo.toHtmlEscaped());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void TranslatorPerson::addLanguage(QString langId)
|
||||
{
|
||||
static QMap<QString, QString> mLanguagesList;
|
||||
if (mLanguagesList.isEmpty())
|
||||
{
|
||||
fillLangguages(&mLanguagesList);
|
||||
}
|
||||
|
||||
if (mLanguagesList.contains(langId))
|
||||
mLanguages << mLanguagesList.value(langId);
|
||||
else
|
||||
mLanguages << langId;
|
||||
}
|
||||
|
||||
|
||||
QString TranslatorPerson::asHtml()
|
||||
{
|
||||
QString ret(mInfo);
|
||||
ret += " - " + mLanguages.join(", ");
|
||||
return ret;
|
||||
}
|
||||
|
@ -1,74 +0,0 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXQt - a lightweight, Qt based, desktop toolset
|
||||
* http://razor-qt.org
|
||||
*
|
||||
* Copyright: 2010-2011 Razor team
|
||||
* Authors:
|
||||
* Alexander Sokoloff <sokoloff.a@gmail.com>
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
* This library 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
|
||||
* Lesser General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
|
||||
#ifndef TRANSLATORSINFO_H
|
||||
#define TRANSLATORSINFO_H
|
||||
#include <QString>
|
||||
#include <QMap>
|
||||
#include <QStringList>
|
||||
|
||||
namespace LxQt
|
||||
{
|
||||
|
||||
class TranslatorPerson
|
||||
{
|
||||
public:
|
||||
TranslatorPerson(const QString &englishName, const QString &nativeName, const QString &contact);
|
||||
|
||||
QString englishName() const { return mEnglishName; }
|
||||
QString nativeName() const { return mNativeName; }
|
||||
QString contact() const { return mContact; }
|
||||
|
||||
QString info() const { return mInfo; }
|
||||
|
||||
void addLanguage(QString langId);
|
||||
QString asHtml();
|
||||
|
||||
private:
|
||||
QString mEnglishName;
|
||||
QString mNativeName;
|
||||
QString mContact;
|
||||
|
||||
QString mInfo;
|
||||
QStringList mLanguages;
|
||||
|
||||
};
|
||||
|
||||
class TranslatorsInfo
|
||||
{
|
||||
public:
|
||||
TranslatorsInfo();
|
||||
~TranslatorsInfo();
|
||||
QString asHtml() const;
|
||||
|
||||
private:
|
||||
QMap<QString, TranslatorPerson*> mItems;
|
||||
void process(const QString &lang, const QString &englishName, const QString &nativeName, const QString &contact);
|
||||
};
|
||||
|
||||
} //namecpace LxQt
|
||||
#endif // TRANSLATORSINFO_H
|
@ -1,5 +0,0 @@
|
||||
<RCC>
|
||||
<qresource>
|
||||
<file alias="translatorsInfo">${TRANSLATORS_INFO_FILE}</file>
|
||||
</qresource>
|
||||
</RCC>
|
Loading…
Reference in new issue