mirror of https://gitee.com/openkylin/quarkai.git
Renice process priority
This commit is contained in:
parent
80db2923ac
commit
687462b007
|
@ -589,7 +589,7 @@ bool SessionDispatcher::set_mate_panel_icon_size_qt(QString positon, int num)
|
|||
|
||||
int SessionDispatcher::get_mate_panel_icon_size_qt(QString positon)
|
||||
{
|
||||
QDBusReply<bool> reply = sessioniface->call("get_mate_panel_icon_size", positon);
|
||||
QDBusReply<int> reply = sessioniface->call("get_mate_panel_icon_size", positon);
|
||||
return reply.value();
|
||||
}
|
||||
|
||||
|
|
|
@ -23,5 +23,6 @@ kylin-assistant (1.0.0-0ubuntu1) bionic; urgency=low
|
|||
* Rewrite cleaner ui module.
|
||||
* Rewrite theme ui module.
|
||||
* Scaning system with Thread.
|
||||
* Renice process priority.
|
||||
|
||||
-- lixiang <lixiang@kylinos.cn> Mon, 29 Jan 2018 17:54:44 +0800
|
||||
|
|
|
@ -36,6 +36,7 @@ Depends: python3-dbus,
|
|||
python3-pil,
|
||||
python3-piston-mini-client,
|
||||
inotify-hookable,
|
||||
bsdutils,
|
||||
hdparm,
|
||||
lm-sensors,
|
||||
ethtool,
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
#include "propertiesdialog.h"
|
||||
#include "processdata.h"
|
||||
#include "processcategory.h"
|
||||
#include "renicedialog.h"
|
||||
#include "util.h"
|
||||
|
||||
#include <QStringList>
|
||||
|
@ -166,6 +167,7 @@ ProcessDialog::ProcessDialog(QList<bool> toBeDisplayedColumns, int currentSortIn
|
|||
connect(killProcessDialog, &MyDialog::buttonClicked, this, &ProcessDialog::killDialogButtonClicked);
|
||||
|
||||
m_menu = new QMenu();
|
||||
m_menu->setObjectName("MonitorMenu");
|
||||
m_stopAction = new QAction(tr("Stop process"), this);
|
||||
connect(m_stopAction, &QAction::triggered, this, &ProcessDialog::stopProcesses);
|
||||
m_continueAction = new QAction(tr("Continue process"), this);
|
||||
|
@ -175,27 +177,28 @@ ProcessDialog::ProcessDialog(QList<bool> toBeDisplayedColumns, int currentSortIn
|
|||
m_killAction = new QAction(tr("Kill process"), this);
|
||||
connect(m_killAction, &QAction::triggered, this, &ProcessDialog::showKillProcessDialog);
|
||||
|
||||
// priorityGroup = new MyActionGroup(this);
|
||||
// veryHighAction = new MyActionGroupItem(this, priorityGroup, "very_high_action", -20);
|
||||
// highAction = new MyActionGroupItem(this, priorityGroup, "high_action", -5);
|
||||
// normalAction = new MyActionGroupItem(this, priorityGroup, "normal_action", 0);
|
||||
// lowAction = new MyActionGroupItem(this, priorityGroup, "low_action", 5);
|
||||
// veryLowAction = new MyActionGroupItem(this, priorityGroup, "very_low_action", 19);
|
||||
// customAction = new MyActionGroupItem(this, priorityGroup, "custom_action", 32);
|
||||
// {
|
||||
// QAction *sep = new QAction(priorityGroup);
|
||||
// sep->setSeparator(true);
|
||||
// }
|
||||
// veryHighAction->change(tr("Very High"));
|
||||
// highAction->change(tr("High"));
|
||||
// normalAction->change(tr("Normal"));
|
||||
// lowAction->change(tr("Low"));
|
||||
// veryLowAction->change(tr("Very Low"));
|
||||
// customAction->change(tr("Custom"));
|
||||
// connect(priorityGroup, SIGNAL(activated(int)), this, SLOT(changeProcPriority(int)));
|
||||
// m_priorityMenu = new QMenu();
|
||||
// m_priorityMenu->addActions(priorityGroup->actions());
|
||||
// m_priorityMenu->menuAction()->setText(tr("Change Priority"));
|
||||
priorityGroup = new MyActionGroup(this);
|
||||
veryHighAction = new MyActionGroupItem(this, priorityGroup, "very_high_action", -20);
|
||||
highAction = new MyActionGroupItem(this, priorityGroup, "high_action", -5);
|
||||
normalAction = new MyActionGroupItem(this, priorityGroup, "normal_action", 0);
|
||||
lowAction = new MyActionGroupItem(this, priorityGroup, "low_action", 5);
|
||||
veryLowAction = new MyActionGroupItem(this, priorityGroup, "very_low_action", 19);
|
||||
customAction = new MyActionGroupItem(this, priorityGroup, "custom_action", 32);
|
||||
{
|
||||
QAction *sep = new QAction(priorityGroup);
|
||||
sep->setSeparator(true);
|
||||
}
|
||||
veryHighAction->change(tr("Very High"));
|
||||
highAction->change(tr("High"));
|
||||
normalAction->change(tr("Normal"));
|
||||
lowAction->change(tr("Low"));
|
||||
veryLowAction->change(tr("Very Low"));
|
||||
customAction->change(tr("Custom"));
|
||||
connect(priorityGroup, SIGNAL(activated(int)), this, SLOT(changeProcPriority(int)));
|
||||
m_priorityMenu = new QMenu();
|
||||
m_priorityMenu->setObjectName("MonitorMenu");
|
||||
m_priorityMenu->addActions(priorityGroup->actions());
|
||||
m_priorityMenu->menuAction()->setText(tr("Change Priority"));
|
||||
|
||||
m_propertiyAction = new QAction(tr("Properties"), this);
|
||||
connect(m_propertiyAction, &QAction::triggered, this, &ProcessDialog::showPropertiesDialog);
|
||||
|
@ -204,8 +207,8 @@ ProcessDialog::ProcessDialog(QList<bool> toBeDisplayedColumns, int currentSortIn
|
|||
m_menu->addAction(m_continueAction);//继续进程
|
||||
m_menu->addAction(m_endAction);//结束
|
||||
m_menu->addAction(m_killAction);//杀死
|
||||
// m_menu->addSeparator();
|
||||
// m_menu->addMenu(m_priorityMenu);
|
||||
m_menu->addSeparator();
|
||||
m_menu->addMenu(m_priorityMenu);
|
||||
m_menu->addSeparator();
|
||||
m_menu->addAction(m_propertiyAction);
|
||||
|
||||
|
@ -239,13 +242,15 @@ ProcessDialog::~ProcessDialog()
|
|||
delete m_continueAction;
|
||||
delete m_endAction;
|
||||
delete m_killAction;
|
||||
// delete veryHighAction;
|
||||
// delete highAction;
|
||||
// delete normalAction;
|
||||
// delete lowAction;
|
||||
// delete veryLowAction;
|
||||
// delete customAction;
|
||||
// delete m_priorityMenu;
|
||||
|
||||
delete veryHighAction;
|
||||
delete highAction;
|
||||
delete normalAction;
|
||||
delete lowAction;
|
||||
delete veryLowAction;
|
||||
delete customAction;
|
||||
delete m_priorityMenu;
|
||||
|
||||
delete m_propertiyAction;
|
||||
delete m_menu;
|
||||
delete actionPids;
|
||||
|
@ -312,20 +317,29 @@ void ProcessDialog::clearOriginProcList()
|
|||
ProcessWorker::all.clear();
|
||||
}
|
||||
|
||||
QString rootCommand(QString command, int value, pid_t pid)
|
||||
{
|
||||
return QString("gksu \"%1 %1 %1\"").arg(command, value, pid);
|
||||
}
|
||||
|
||||
void startRenice(QString command, int value, pid_t pid)
|
||||
{
|
||||
QProcess::startDetached(rootCommand(command, value, pid));
|
||||
}
|
||||
|
||||
void ProcessDialog::changeProcPriority(int nice)
|
||||
{
|
||||
if (nice == 32) {
|
||||
//show renice dialog
|
||||
pid_t cur_pid = -1;
|
||||
for (pid_t pid : *actionPids) {
|
||||
cur_pid = pid;
|
||||
break;
|
||||
}
|
||||
if (cur_pid > -1) {
|
||||
ProcessWorker *info = ProcessWorker::find(cur_pid);
|
||||
if (!info) {
|
||||
actionPids->clear();
|
||||
return;
|
||||
}
|
||||
QString name = QString::fromStdString(info->name);
|
||||
ReniceDialog *w = new ReniceDialog(tr("Change Priority of Process %1 (PID: %2)").arg(name).arg(QString::number(cur_pid)));
|
||||
w->loadData(info->nice);
|
||||
connect(w, &ReniceDialog::resetReniceValue, [=] (int value) {
|
||||
this->changeProcPriority(value);
|
||||
});
|
||||
w->exec();
|
||||
}
|
||||
}
|
||||
else {
|
||||
pid_t cur_pid = -1;
|
||||
|
@ -355,138 +369,40 @@ void ProcessDialog::changeProcPriority(int nice)
|
|||
//need to be root
|
||||
if(errno == EPERM || errno == EACCES) {
|
||||
qDebug() << "Change priority need to be root!!!";
|
||||
/*
|
||||
* renice: sudo apt install bsdutils
|
||||
* Maybe: QProcess::startDetached(command)
|
||||
* QProcess::start()与QProcess::execute()都能完成启动外部程序的任务,区别在于start()是非阻塞的,而execute()是阻塞的: execute()=start()+waitforFinished()
|
||||
*/
|
||||
|
||||
//kobe test
|
||||
//startRenice("renice", nice, cur_pid);
|
||||
|
||||
bool success = false;
|
||||
QString command = QString("renice %1 %1").arg(nice).arg(cur_pid);
|
||||
QFile file("/usr/bin/pkexec");
|
||||
if(file.exists()) {
|
||||
// gint *exit_status = NULL;
|
||||
// GError *error = NULL;
|
||||
QString cmd = QString("pkexec --disable-internal-agent /usr/lib/gnome-system-monitor/gnome-system-monitor/gsm-%1").arg(command);//gsm-renice
|
||||
qDebug() << "cmd="<<cmd;
|
||||
// if (!g_spawn_command_line_sync(command_line, NULL, NULL, exit_status, &error)) {
|
||||
// g_critical("Could not run pkexec(\"%s\") : %s\n",
|
||||
// command, error->message);
|
||||
// g_error_free(error);
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// g_debug("pkexec did fine\n");
|
||||
// ret = TRUE;
|
||||
// }
|
||||
if (QFileInfo("/usr/bin/pkexec").exists()) {//sudo apt install policykit-1
|
||||
QProcess process;
|
||||
process.execute(QString("pkexec --disable-internal-agent %1 %2 %3").arg("renice").arg(nice).arg(cur_pid));
|
||||
/*process.start(QString("pkexec --disable-internal-agent %1 %2 %3").arg("renice").arg(nice).arg(cur_pid));
|
||||
process.waitForStarted(1000);
|
||||
process.waitForFinished(20*1000);*/
|
||||
}
|
||||
else if (QFileInfo("/usr/bin/gksudo").exists()) {//sudo apt install gksu
|
||||
QProcess process;
|
||||
process.execute(QString("gksudo \"%1 %2 %3\"").arg("renice").arg(nice).arg(cur_pid));
|
||||
/*process.start(QString("gksudo \"%1 %2 %3\"").arg("renice").arg(nice).arg(cur_pid));
|
||||
process.waitForStarted(1000);
|
||||
process.waitForFinished(20*1000);*/
|
||||
}
|
||||
else if (QFileInfo("/usr/bin/gksu").exists()) {//sudo apt install gksu
|
||||
QProcess process;
|
||||
process.execute(QString("gksu \"%1 %2 %3\"").arg("renice").arg(nice).arg(cur_pid));
|
||||
// process.start(QString("gksu \"%1 %2 %3\"").arg("renice").arg(nice).arg(cur_pid));
|
||||
// process.waitForStarted(1000);
|
||||
// process.waitForFinished(20*1000);
|
||||
}
|
||||
else {
|
||||
qDebug() << "change to root failed......";
|
||||
//
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*gboolean success;
|
||||
|
||||
success = procdialog_create_root_password_dialog (
|
||||
PROCMAN_ACTION_RENICE, args->app, info->pid,
|
||||
nice);
|
||||
|
||||
if(success) return;
|
||||
|
||||
if(errno) {
|
||||
saved_errno = errno;
|
||||
}*/
|
||||
|
||||
|
||||
// static char *
|
||||
// procman_action_to_command(ProcmanActionType type,
|
||||
// gint pid,
|
||||
// gint extra_value)
|
||||
// {
|
||||
// switch (type) {
|
||||
// case PROCMAN_ACTION_KILL:
|
||||
// return g_strdup_printf("kill -s %d %d", extra_value, pid);
|
||||
// case PROCMAN_ACTION_RENICE:
|
||||
// return g_strdup_printf("renice %d %d", extra_value, pid);
|
||||
// default:
|
||||
// g_assert_not_reached();
|
||||
// }
|
||||
// }
|
||||
|
||||
// gboolean procdialog_create_root_password_dialog(ProcmanActionType type,
|
||||
// GsmApplication *app,
|
||||
// gint pid,
|
||||
// gint nice)
|
||||
// {
|
||||
// char * command;
|
||||
// gboolean ret = FALSE;
|
||||
// command = g_strdup_printf("renice %d %d", nice, pid);
|
||||
// //command = procman_action_to_command(type, pid, nice);
|
||||
|
||||
// procman_debug("Trying to run '%s' as root", command);
|
||||
|
||||
// if (g_file_test("/usr/bin/pkexec", G_FILE_TEST_EXISTS)) {
|
||||
// gboolean ret = FALSE;
|
||||
// gint *exit_status = NULL;
|
||||
// GError *error = NULL;
|
||||
// gchar *command_line = g_strdup_printf("pkexec --disable-internal-agent %s/gsm-%s",
|
||||
// GSM_LIBEXEC_DIR, command);
|
||||
// if (!g_spawn_command_line_sync(command_line, NULL, NULL, exit_status, &error)) {
|
||||
// g_critical("Could not run pkexec(\"%s\") : %s\n",
|
||||
// command, error->message);
|
||||
// g_error_free(error);
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// g_debug("pkexec did fine\n");
|
||||
// ret = TRUE;
|
||||
// }
|
||||
// g_free (command_line);
|
||||
// return ret;
|
||||
// }
|
||||
|
||||
// if (procman_has_pkexec())
|
||||
// ret = gsm_pkexec_create_root_password_dialog(command);
|
||||
// else if (procman_has_gksu())
|
||||
// ret = gsm_gksu_create_root_password_dialog(command);
|
||||
// else if (procman_has_gnomesu())
|
||||
// ret = gsm_gnomesu_create_root_password_dialog(command);
|
||||
|
||||
// g_free(command);
|
||||
// return ret;
|
||||
// }
|
||||
}
|
||||
}
|
||||
}
|
||||
actionPids->clear();
|
||||
|
||||
// static void
|
||||
// renice_scale_changed (GtkAdjustment *adj, gpointer data)
|
||||
// {
|
||||
// GtkWidget *label = GTK_WIDGET (data);
|
||||
|
||||
// new_nice_value = int(gtk_adjustment_get_value (adj));
|
||||
// gchar* text = g_strdup(procman::get_nice_level_with_priority (new_nice_value));
|
||||
// gtk_label_set_text (GTK_LABEL (label), text);
|
||||
// g_free(text);
|
||||
|
||||
// }
|
||||
|
||||
// static void
|
||||
// renice_dialog_button_pressed (GtkDialog *dialog, gint id, gpointer data)
|
||||
// {
|
||||
// GsmApplication *app = static_cast<GsmApplication *>(data);
|
||||
// if (id == 100) {
|
||||
// if (new_nice_value == -100)
|
||||
// return;
|
||||
// renice(app, new_nice_value);
|
||||
// }
|
||||
|
||||
// gtk_widget_destroy (GTK_WIDGET (dialog));
|
||||
// renice_dialog = NULL;
|
||||
// }
|
||||
|
||||
//renice_scale_changed
|
||||
//renice_dialog_button_pressed
|
||||
}
|
||||
|
||||
//void ProcessDialog::onCloseButtonClicked()
|
||||
|
@ -708,11 +624,10 @@ void ProcessDialog::onSearch(QString text)
|
|||
m_processListWidget->doSearch(text);
|
||||
}
|
||||
|
||||
//杀死
|
||||
//杀死 SIGSTOP,SIGCONT,SIGTERM,SIGKILL
|
||||
void ProcessDialog::killProcesses()
|
||||
{
|
||||
int error;
|
||||
// int saved_errno;
|
||||
|
||||
for (pid_t pid : *actionPids) {
|
||||
// Resume process first, otherwise kill process too slow.
|
||||
|
@ -727,20 +642,32 @@ void ProcessDialog::killProcesses()
|
|||
}
|
||||
else {
|
||||
//need to be root
|
||||
if(errno == EPERM) {
|
||||
if(errno == EPERM) {//(kill -s %d %d", sig, pid)
|
||||
qDebug() << QString("Kill process %1 failed, permission denied.").arg(pid);
|
||||
/*gboolean success;
|
||||
success = procdialog_create_root_password_dialog (
|
||||
PROCMAN_ACTION_KILL, args->app, info->pid,
|
||||
args->arg_value);
|
||||
if(success) {
|
||||
actionPids->clear();
|
||||
return;
|
||||
if (QFileInfo("/usr/bin/pkexec").exists()) {//sudo apt install policykit-1
|
||||
QProcess process;
|
||||
process.execute(QString("pkexec --disable-internal-agent %1 %2 %3").arg("kill").arg(SIGKILL).arg(pid));
|
||||
/*process.start(QString("pkexec --disable-internal-agent %1 %2 %3").arg("kill").arg(SIGKILL).arg(pid));
|
||||
process.waitForStarted(1000);
|
||||
process.waitForFinished(20*1000);*/
|
||||
}
|
||||
else if (QFileInfo("/usr/bin/gksudo").exists()) {//sudo apt install gksu
|
||||
QProcess process;
|
||||
process.execute(QString("gksudo \"%1 %2 %3\"").arg("kill").arg(SIGKILL).arg(pid));
|
||||
/*process.start(QString("gksudo \"%1 %2 %3\"").arg("kill").arg(SIGKILL).arg(pid));
|
||||
process.waitForStarted(1000);
|
||||
process.waitForFinished(20*1000);*/
|
||||
}
|
||||
else if (QFileInfo("/usr/bin/gksu").exists()) {//sudo apt install gksu
|
||||
QProcess process;
|
||||
process.execute(QString("gksu \"%1 %2 %3\"").arg("kill").arg(SIGKILL).arg(pid));
|
||||
// process.start(QString("gksu \"%1 %2 %3\"").arg("kill").arg(SIGKILL).arg(pid));
|
||||
// process.waitForStarted(1000);
|
||||
// process.waitForFinished(20*1000);
|
||||
}
|
||||
else {
|
||||
//
|
||||
}
|
||||
|
||||
if(errno) {
|
||||
saved_errno = errno;
|
||||
}*/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -752,8 +679,6 @@ void ProcessDialog::killProcesses()
|
|||
void ProcessDialog::endProcesses()
|
||||
{
|
||||
int error;
|
||||
// int saved_errno;
|
||||
|
||||
for (pid_t pid : *actionPids) {
|
||||
// if (kill(pid, SIGTERM) != 0) {
|
||||
// qDebug() << QString("Kill process %1 failed, permission denied.").arg(pid);
|
||||
|
@ -766,18 +691,31 @@ void ProcessDialog::endProcesses()
|
|||
//need to be root
|
||||
if(errno == EPERM) {
|
||||
qDebug() << QString("End process %1 failed, permission denied.").arg(pid);
|
||||
/*gboolean success;
|
||||
success = procdialog_create_root_password_dialog (
|
||||
PROCMAN_ACTION_KILL, args->app, info->pid,
|
||||
args->arg_value);
|
||||
if(success) {
|
||||
actionPids->clear();
|
||||
return;
|
||||
}
|
||||
|
||||
if(errno) {
|
||||
saved_errno = errno;
|
||||
}*/
|
||||
if (QFileInfo("/usr/bin/pkexec").exists()) {//sudo apt install policykit-1
|
||||
QProcess process;
|
||||
process.execute(QString("pkexec --disable-internal-agent %1 %2 %3").arg("kill").arg(SIGTERM).arg(pid));
|
||||
/*process.start(QString("pkexec --disable-internal-agent %1 %2 %3").arg("kill").arg(SIGTERM).arg(pid));
|
||||
process.waitForStarted(1000);
|
||||
process.waitForFinished(20*1000);*/
|
||||
}
|
||||
else if (QFileInfo("/usr/bin/gksudo").exists()) {//sudo apt install gksu
|
||||
QProcess process;
|
||||
process.execute(QString("gksudo \"%1 %2 %3\"").arg("kill").arg(SIGTERM).arg(pid));
|
||||
/*process.start(QString("gksudo \"%1 %2 %3\"").arg("kill").arg(SIGTERM).arg(pid));
|
||||
process.waitForStarted(1000);
|
||||
process.waitForFinished(20*1000);*/
|
||||
}
|
||||
else if (QFileInfo("/usr/bin/gksu").exists()) {//sudo apt install gksu
|
||||
QProcess process;
|
||||
process.execute(QString("gksu \"%1 %2 %3\"").arg("kill").arg(SIGTERM).arg(pid));
|
||||
// process.start(QString("gksu \"%1 %2 %3\"").arg("kill").arg(SIGTERM).arg(pid));
|
||||
// process.waitForStarted(1000);
|
||||
// process.waitForFinished(20*1000);
|
||||
}
|
||||
else {
|
||||
//
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -795,10 +733,9 @@ void ProcessDialog::popupMenu(QPoint pos, QList<ProcessListItem*> items)
|
|||
count ++;
|
||||
ProcessListItem *procItem = static_cast<ProcessListItem*>(item);
|
||||
cur_pid = procItem->getPid();
|
||||
// qDebug() << "HAHAHAH===========" << cur_pid;
|
||||
actionPids->append(cur_pid);
|
||||
}
|
||||
/*if (count == 1) {
|
||||
if (count == 1) {
|
||||
ProcessWorker *info = ProcessWorker::find(cur_pid);
|
||||
if (!info) {
|
||||
priorityGroup->setActionsEnabled(false);
|
||||
|
@ -822,7 +759,7 @@ void ProcessDialog::popupMenu(QPoint pos, QList<ProcessListItem*> items)
|
|||
}
|
||||
else {
|
||||
priorityGroup->setActionsEnabled(false);
|
||||
}*/
|
||||
}
|
||||
m_menu->exec(pos);
|
||||
}
|
||||
|
||||
|
|
|
@ -100,14 +100,16 @@ private:
|
|||
QAction *m_endAction = nullptr;//结束
|
||||
QAction *m_killAction = nullptr;//杀死
|
||||
ProcessCategory *processCategory = nullptr;
|
||||
// QMenu *m_priorityMenu;
|
||||
// MyActionGroup * priorityGroup;
|
||||
// MyAction *veryHighAction;
|
||||
// MyAction *highAction;
|
||||
// MyAction *normalAction;
|
||||
// MyAction *lowAction;
|
||||
// MyAction *veryLowAction;
|
||||
// MyAction *customAction;
|
||||
|
||||
QMenu *m_priorityMenu;
|
||||
MyActionGroup * priorityGroup;
|
||||
MyAction *veryHighAction;
|
||||
MyAction *highAction;
|
||||
MyAction *normalAction;
|
||||
MyAction *lowAction;
|
||||
MyAction *veryLowAction;
|
||||
MyAction *customAction;
|
||||
|
||||
QList<pid_t> *actionPids;
|
||||
QMenu *m_menu = nullptr;
|
||||
QString whose_processes;
|
||||
|
|
|
@ -0,0 +1,234 @@
|
|||
/*
|
||||
* Copyright (C) 2013 ~ 2018 National University of Defense Technology(NUDT) & Tianjin Kylin Ltd.
|
||||
*
|
||||
* Authors:
|
||||
* Kobe Lee xiangli@ubuntukylin.com/kobe24_lixiang@126.com
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "renicedialog.h"
|
||||
#include "../../component/utils.h"
|
||||
#include "util.h"
|
||||
|
||||
#include <QApplication>
|
||||
#include <QDesktopWidget>
|
||||
#include <QGraphicsDropShadowEffect>
|
||||
#include <QSlider>
|
||||
#include <QLabel>
|
||||
#include <QPushButton>
|
||||
#include <QIcon>
|
||||
|
||||
ReniceDialog::ReniceDialog(const QString &title, QWidget *parent)
|
||||
: QDialog(parent)
|
||||
, m_mousePressed(false)
|
||||
{
|
||||
this->setWindowFlags(Qt::FramelessWindowHint);
|
||||
this->setFixedSize(464, 200);
|
||||
this->setFixedSize(464+SHADOW_LEFT_TOP_PADDING+SHADOW_LEFT_TOP_PADDING, 200+SHADOW_RIGHT_BOTTOM_PADDING+SHADOW_RIGHT_BOTTOM_PADDING);
|
||||
this->setContentsMargins(SHADOW_LEFT_TOP_PADDING,SHADOW_LEFT_TOP_PADDING,SHADOW_RIGHT_BOTTOM_PADDING,SHADOW_RIGHT_BOTTOM_PADDING);
|
||||
this->setStyleSheet("QDialog{border: 1px solid white;border-radius:1px;background-color: #ffffff;}");
|
||||
this->setWindowIcon(QIcon(":/res/kylin-assistant.png"));
|
||||
this->setAttribute(Qt::WA_DeleteOnClose);
|
||||
|
||||
QWidget *containerWidget = new QWidget(this);
|
||||
// containerWidget->setContentsMargins(SHADOW_LEFT_TOP_PADDING,SHADOW_LEFT_TOP_PADDING,SHADOW_RIGHT_BOTTOM_PADDING,SHADOW_RIGHT_BOTTOM_PADDING);
|
||||
m_mainLayout = new QVBoxLayout(containerWidget);
|
||||
m_mainLayout->setContentsMargins(0,0,0,0);
|
||||
m_mainLayout->setSpacing(20);
|
||||
m_mainLayout->setMargin(0);
|
||||
m_titleBar = new MyTitleBar(title, false, this);
|
||||
m_titleBar->setFixedSize(this->width(), TITLE_BAR_HEIGHT);
|
||||
|
||||
m_titleLabel = new QLabel();
|
||||
m_titleLabel->setFixedWidth(80);
|
||||
m_titleLabel->setText(tr("Nice value:"));
|
||||
m_valueLabel = new QLabel();
|
||||
m_slider = new QSlider(Qt::Horizontal);
|
||||
m_slider->setFocusPolicy(Qt::NoFocus);
|
||||
m_slider->setRange(-20, 19);
|
||||
m_slider->setSingleStep(1);
|
||||
|
||||
h_layout = new QHBoxLayout();
|
||||
h_layout->setSpacing(10);
|
||||
h_layout->setMargin(0);
|
||||
h_layout->setContentsMargins(20,0,20,0);
|
||||
h_layout->addWidget(m_titleLabel);
|
||||
h_layout->addWidget(m_slider);
|
||||
h_layout->addWidget(m_valueLabel);
|
||||
|
||||
m_valueStrLabel = new QLabel;
|
||||
m_valueStrLabel->setStyleSheet("QLabel{background-color:transparent;color:#000000;font-size:13px;font-weight:bold;}");
|
||||
m_valueStrLabel->setAlignment(Qt::AlignCenter);
|
||||
m_valueStrLabel->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
|
||||
|
||||
m_tipTitle = new QLabel;
|
||||
m_tipTitle->setStyleSheet("QLabel{background-color:transparent;color:#000000;font-size:12px;font-weight:bold;}");
|
||||
m_tipTitle->setText(tr("Note:"));
|
||||
m_tipLabel = new QLabel;
|
||||
m_tipLabel->setWordWrap(true);//QLabel自动换行
|
||||
m_tipLabel->setFixedWidth(388);
|
||||
m_tipLabel->setText(tr("The priority of a process is given by its nice value. A lower nice value corresponds to a higher priority."));
|
||||
tip_layout = new QHBoxLayout();
|
||||
tip_layout->setSpacing(5);
|
||||
tip_layout->setMargin(0);
|
||||
tip_layout->setContentsMargins(20,0,20,0);
|
||||
tip_layout->addWidget(m_tipTitle);
|
||||
tip_layout->addWidget(m_tipLabel);
|
||||
|
||||
m_cancelbtn = new QPushButton;
|
||||
m_cancelbtn->setFixedSize(91, 25);
|
||||
m_cancelbtn->setObjectName("blackButton");
|
||||
m_cancelbtn->setFocusPolicy(Qt::NoFocus);
|
||||
m_cancelbtn->setText(tr("Cancel"));
|
||||
m_changeBtn = new QPushButton;
|
||||
m_changeBtn->setFixedSize(91, 25);
|
||||
m_changeBtn->setObjectName("blackButton");
|
||||
m_changeBtn->setFocusPolicy(Qt::NoFocus);
|
||||
m_changeBtn->setText(tr("Change Priority"));
|
||||
|
||||
btn_layout = new QHBoxLayout();
|
||||
btn_layout->setMargin(0);
|
||||
btn_layout->setSpacing(10);
|
||||
btn_layout->setContentsMargins(0,0,20,0);
|
||||
btn_layout->addStretch();
|
||||
btn_layout->addWidget(m_cancelbtn);
|
||||
btn_layout->addWidget(m_changeBtn);
|
||||
|
||||
|
||||
QVBoxLayout *v_layout = new QVBoxLayout();
|
||||
v_layout->setMargin(0);
|
||||
v_layout->setSpacing(15);
|
||||
v_layout->setContentsMargins(0,0,0,0);
|
||||
v_layout->addLayout(h_layout);
|
||||
v_layout->addWidget(m_valueStrLabel, 0, Qt::AlignHCenter);
|
||||
v_layout->addLayout(tip_layout);
|
||||
v_layout->addLayout(btn_layout);
|
||||
|
||||
m_mainLayout->addWidget(m_titleBar);
|
||||
m_mainLayout->addLayout(v_layout);
|
||||
|
||||
connect(m_slider, &QSlider::valueChanged, [=] (int value) {
|
||||
m_valueLabel->setText(QString::number(value));
|
||||
QString levelStr = getNiceLevelWithPriority(value);
|
||||
m_valueStrLabel->setText(levelStr);
|
||||
});
|
||||
|
||||
connect(m_titleBar, SIGNAL(minSignal()), this, SLOT(hide()));
|
||||
connect(m_titleBar, SIGNAL(closeSignal()), this, SLOT(onClose()));
|
||||
connect(m_cancelbtn, SIGNAL(clicked(bool)), this, SLOT(onClose()));
|
||||
|
||||
connect(m_changeBtn, &QPushButton::clicked, [=] (bool b) {
|
||||
emit this->resetReniceValue(m_slider->value());
|
||||
});
|
||||
|
||||
//边框阴影效果
|
||||
QGraphicsDropShadowEffect *shadow_effect = new QGraphicsDropShadowEffect(this);
|
||||
shadow_effect->setBlurRadius(5);
|
||||
shadow_effect->setColor(QColor(0, 0, 0, 127));
|
||||
shadow_effect->setOffset(2, 4);
|
||||
this->setGraphicsEffect(shadow_effect);
|
||||
|
||||
// this->moveCenter();
|
||||
|
||||
QDesktopWidget* desktop = QApplication::desktop();
|
||||
this->move((desktop->width() - this->width())/2, (desktop->height() - this->height())/3);
|
||||
}
|
||||
|
||||
ReniceDialog::~ReniceDialog()
|
||||
{
|
||||
delete m_titleBar;
|
||||
delete m_valueStrLabel;
|
||||
|
||||
QLayoutItem *child;
|
||||
while ((child = h_layout->takeAt(0)) != 0) {
|
||||
if (child->widget())
|
||||
child->widget()->deleteLater();
|
||||
delete child;
|
||||
}
|
||||
while ((child = tip_layout->takeAt(0)) != 0) {
|
||||
if (child->widget())
|
||||
child->widget()->deleteLater();
|
||||
delete child;
|
||||
}
|
||||
while ((child = btn_layout->takeAt(0)) != 0) {
|
||||
if (child->widget())
|
||||
child->widget()->deleteLater();
|
||||
delete child;
|
||||
}
|
||||
|
||||
delete m_mainLayout;
|
||||
}
|
||||
|
||||
void ReniceDialog::onClose()
|
||||
{
|
||||
this->close();
|
||||
}
|
||||
|
||||
void ReniceDialog::loadData(int nice)
|
||||
{
|
||||
m_slider->setValue(nice);
|
||||
m_valueLabel->setText(QString::number(nice));
|
||||
|
||||
QString levelStr = getNiceLevelWithPriority(nice);
|
||||
m_valueStrLabel->setText(levelStr);
|
||||
}
|
||||
|
||||
void ReniceDialog::moveCenter()
|
||||
{
|
||||
/*QPoint pos = QCursor::pos();
|
||||
QRect primaryGeometry;
|
||||
for (QScreen *screen : qApp->screens()) {
|
||||
if (screen->geometry().contains(pos)) {
|
||||
primaryGeometry = screen->geometry();
|
||||
}
|
||||
}
|
||||
|
||||
if (primaryGeometry.isEmpty()) {
|
||||
primaryGeometry = qApp->primaryScreen()->geometry();
|
||||
}
|
||||
|
||||
this->move(primaryGeometry.x() + (primaryGeometry.width() - this->width())/2,
|
||||
primaryGeometry.y() + (primaryGeometry.height() - this->height())/2);
|
||||
this->show();
|
||||
this->raise();*/
|
||||
}
|
||||
|
||||
|
||||
void ReniceDialog::mousePressEvent(QMouseEvent *event)
|
||||
{
|
||||
if (event->button() == Qt::LeftButton) {
|
||||
this->m_dragPosition = event->globalPos() - frameGeometry().topLeft();
|
||||
this->m_mousePressed = true;
|
||||
}
|
||||
|
||||
QDialog::mousePressEvent(event);
|
||||
}
|
||||
|
||||
void ReniceDialog::mouseReleaseEvent(QMouseEvent *event)
|
||||
{
|
||||
this->m_mousePressed = false;
|
||||
setWindowOpacity(1);
|
||||
|
||||
QDialog::mouseReleaseEvent(event);
|
||||
}
|
||||
|
||||
void ReniceDialog::mouseMoveEvent(QMouseEvent *event)
|
||||
{
|
||||
if (this->m_mousePressed) {
|
||||
move(event->globalPos() - this->m_dragPosition);
|
||||
setWindowOpacity(0.9);
|
||||
}
|
||||
|
||||
QDialog::mouseMoveEvent(event);
|
||||
}
|
|
@ -0,0 +1,75 @@
|
|||
/*
|
||||
* Copyright (C) 2013 ~ 2018 National University of Defense Technology(NUDT) & Tianjin Kylin Ltd.
|
||||
*
|
||||
* Authors:
|
||||
* Kobe Lee xiangli@ubuntukylin.com/kobe24_lixiang@126.com
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef SELECTWIDGET_H
|
||||
#define SELECTWIDGET_H
|
||||
|
||||
#include <QDialog>
|
||||
#include <QVBoxLayout>
|
||||
#include <QMouseEvent>
|
||||
|
||||
class QLabel;
|
||||
class QSlider;
|
||||
class QPushButton;
|
||||
|
||||
#include "../../component/mytitlebar.h"
|
||||
|
||||
class ReniceDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
ReniceDialog(const QString &title = "", QWidget *parent = 0);
|
||||
~ReniceDialog();
|
||||
|
||||
void loadData(int nice);
|
||||
void moveCenter();
|
||||
|
||||
public slots:
|
||||
void onClose();
|
||||
|
||||
signals:
|
||||
void resetReniceValue(int value);
|
||||
|
||||
protected:
|
||||
void mousePressEvent(QMouseEvent *event);
|
||||
void mouseReleaseEvent(QMouseEvent *event);
|
||||
void mouseMoveEvent(QMouseEvent *event);
|
||||
|
||||
private:
|
||||
QVBoxLayout *m_mainLayout = nullptr;
|
||||
MyTitleBar *m_titleBar = nullptr;
|
||||
|
||||
QHBoxLayout *h_layout = nullptr;
|
||||
QHBoxLayout *tip_layout = nullptr;
|
||||
QHBoxLayout *btn_layout = nullptr;
|
||||
QLabel *m_titleLabel = nullptr;
|
||||
QSlider *m_slider = nullptr;
|
||||
QLabel *m_valueLabel = nullptr;
|
||||
QLabel *m_valueStrLabel = nullptr;
|
||||
QLabel *m_tipTitle = nullptr;
|
||||
QLabel *m_tipLabel = nullptr;
|
||||
|
||||
QPushButton *m_cancelbtn = nullptr;
|
||||
QPushButton *m_changeBtn = nullptr;
|
||||
|
||||
QPoint m_dragPosition; //移动的距离
|
||||
bool m_mousePressed; //按下鼠标左键
|
||||
};
|
||||
|
||||
#endif // SELECTWIDGET_H
|
|
@ -65,7 +65,9 @@ HEADERS += \
|
|||
resourcescategory.h \
|
||||
filesystemlistwidget.h \
|
||||
filesystemlistitem.h \
|
||||
filesystemwatcher.h
|
||||
filesystemwatcher.h \
|
||||
renicedialog.h \
|
||||
../../component/mytitlebar.h
|
||||
|
||||
SOURCES += \
|
||||
systemmonitor.cpp \
|
||||
|
@ -102,7 +104,9 @@ SOURCES += \
|
|||
resourcescategory.cpp \
|
||||
filesystemlistwidget.cpp \
|
||||
filesystemlistitem.cpp \
|
||||
filesystemwatcher.cpp
|
||||
filesystemwatcher.cpp \
|
||||
renicedialog.cpp \
|
||||
../../component/mytitlebar.cpp
|
||||
|
||||
OTHER_FILES += \
|
||||
systemmonitor.json
|
||||
|
|
|
@ -241,6 +241,20 @@ QString getNiceLevel(int nice)
|
|||
return QObject::tr("Very Low");
|
||||
}
|
||||
|
||||
QString getNiceLevelWithPriority(int nice)
|
||||
{
|
||||
if (nice < -7)
|
||||
return QObject::tr("Very High Priority");
|
||||
else if (nice < -2)
|
||||
return QObject::tr("High Priority");
|
||||
else if (nice < 3)
|
||||
return QObject::tr("Normal Priority");
|
||||
else if (nice < 7)
|
||||
return QObject::tr("Low Priority");
|
||||
else
|
||||
return QObject::tr("Very Low Priority");
|
||||
}
|
||||
|
||||
void setFontSize(QPainter &painter, int textSize)
|
||||
{
|
||||
QFont font = painter.font() ;
|
||||
|
|
|
@ -41,6 +41,7 @@ QString getDisplayNameAccordProcName(QString procName, std::string desktopFile);
|
|||
std::string make_string(char *c_str);
|
||||
QString formatProcessState(guint state);
|
||||
QString getNiceLevel(int nice);
|
||||
QString getNiceLevelWithPriority(int nice);
|
||||
QString formatUnitSize(double v, const char** orders, int nb_orders);
|
||||
QString formatByteCount(double v);
|
||||
void setFontSize(QPainter &painter, int textSize);
|
||||
|
|
|
@ -43,14 +43,10 @@ MenuWidget::MenuWidget(QWidget *parent, QString cur_desktop) :
|
|||
size_bottom_value_label = new QLabel();
|
||||
position_label = new QLabel();
|
||||
|
||||
|
||||
size_slider = new QSlider(Qt::Horizontal);
|
||||
// size_slider->setTickPosition(QSlider::TicksRight);
|
||||
size_slider->setFocusPolicy(Qt::NoFocus);
|
||||
size_slider->setRange(32, 64);
|
||||
size_slider->setSingleStep(1);
|
||||
// size_slider->setMinimum(1);
|
||||
// size_slider->setMaximum(10);
|
||||
|
||||
hide_switcher = new KylinSwitcher();
|
||||
icon_switcher = new KylinSwitcher();
|
||||
|
@ -74,11 +70,6 @@ MenuWidget::MenuWidget(QWidget *parent, QString cur_desktop) :
|
|||
|
||||
position_combo = new QComboBox();
|
||||
|
||||
// QSlider *size_top_slider;
|
||||
// QSlider *size_bottom_slider;
|
||||
// KylinSwitcher *hide_top_switcher;
|
||||
// KylinSwitcher *icon_bottom_switcher;
|
||||
|
||||
if (this->desktop == "mate" || this->desktop == "MATE" || this->desktop == "UKUI" || this->desktop == "ukui") {
|
||||
size_label->hide();
|
||||
size_value_label->hide();
|
||||
|
@ -190,16 +181,6 @@ MenuWidget::MenuWidget(QWidget *parent, QString cur_desktop) :
|
|||
layout->setSpacing(10);
|
||||
layout->setContentsMargins(20, 20, 0, 0);
|
||||
|
||||
// splitter->addWidget(top_widget);
|
||||
// splitter->addWidget(bottom_widget);
|
||||
|
||||
// QHBoxLayout *main_layout = new QHBoxLayout;
|
||||
// main_layout->addStretch();
|
||||
// main_layout->addWidget(splitter);
|
||||
// main_layout->setSpacing(0);
|
||||
// main_layout->setContentsMargins(0, 0, 0, 0);
|
||||
// setLayout(main_layout);
|
||||
// this->initSettingData();
|
||||
this->setLanguage();
|
||||
}
|
||||
|
||||
|
@ -305,9 +286,6 @@ QString MenuWidget::settingModuleName()
|
|||
}
|
||||
|
||||
void MenuWidget::setLanguage() {
|
||||
// title_label->setText(tr("Launcher settings"));
|
||||
// description_label->setText(tr("Setting the Launcher display mode, Icon size."));
|
||||
// back_btn->setText(tr("Back"));
|
||||
size_label->setText(tr("Launcher icon size") + ":");
|
||||
hide_label->setText(tr("Launcher hide mode") + ":");
|
||||
icon_label->setText(tr("Display desktop icon") + ":");
|
||||
|
@ -324,64 +302,9 @@ void MenuWidget::initSettingData()
|
|||
{
|
||||
if (this->desktop == "mate" || this->desktop == "MATE" || this->desktop == "UKUI" || this->desktop == "ukui") {
|
||||
emit this->requestMateOrUnityMenuData(true);
|
||||
/*size_top_slider->setValue(sessionproxy->get_mate_panel_icon_size_qt("top"));
|
||||
size_top_value_label->setText(QString::number(size_top_slider->value()));
|
||||
size_bottom_slider->setValue(sessionproxy->get_mate_panel_icon_size_qt("bottom"));
|
||||
size_bottom_value_label->setText(QString::number(size_bottom_slider->value()));
|
||||
hide_top_switcher->switchedOn = sessionproxy->get_mate_panel_autohide_qt("top");
|
||||
hide_bottom_switcher->switchedOn = sessionproxy->get_mate_panel_autohide_qt("bottom");*/
|
||||
}
|
||||
else
|
||||
{
|
||||
else {
|
||||
emit this->requestMateOrUnityMenuData(false);
|
||||
/*size_slider->setValue(sessionproxy->get_launcher_icon_size_qt());
|
||||
size_value_label->setText(QString::number(size_slider->value()));
|
||||
hide_switcher->switchedOn = sessionproxy->get_launcher_autohide_qt();
|
||||
icon_switcher->switchedOn = sessionproxy->get_launcher_have_showdesktopicon_qt();
|
||||
transparency_slider->setValue(sessionproxy->get_launcher_transparency_qt());
|
||||
int cur_index = sessionproxy->get_launcher_icon_colouring_qt();
|
||||
QString current_icon_colouring = "";
|
||||
if (cur_index == 0) {
|
||||
current_icon_colouring = "all programs";
|
||||
}
|
||||
else if (cur_index == 1) {
|
||||
current_icon_colouring = "only run app";
|
||||
}
|
||||
else if (cur_index == 2) {
|
||||
current_icon_colouring = "no coloring";
|
||||
}
|
||||
else if (cur_index == 3) {
|
||||
current_icon_colouring = "edge coloring";
|
||||
}
|
||||
else if (cur_index == 4) {
|
||||
current_icon_colouring = "each workspace alternating coloring";
|
||||
}
|
||||
m_colourlist = sessionproxy->get_all_launcher_icon_colourings_qt();
|
||||
backgound_combo->clear();
|
||||
backgound_combo->clearEditText();
|
||||
backgound_combo->addItems(m_colourlist);
|
||||
QList<QString>::Iterator it = m_colourlist.begin(), itend = m_colourlist.end();
|
||||
int initIndex = 0;
|
||||
for(;it != itend; it++,initIndex++)
|
||||
{
|
||||
if(*it == current_icon_colouring)
|
||||
break;
|
||||
}
|
||||
backgound_combo->setCurrentIndex(initIndex);
|
||||
|
||||
QString current_position = sessionproxy->get_current_launcher_position_qt();
|
||||
m_positionlist = sessionproxy->get_all_launcher_position_qt();
|
||||
position_combo->clear();
|
||||
position_combo->clearEditText();
|
||||
position_combo->addItems(m_positionlist);
|
||||
QList<QString>::Iterator it2 = m_positionlist.begin(), itend2 = m_positionlist.end();
|
||||
initIndex = 0;
|
||||
for(;it2 != itend2; it2++,initIndex++)
|
||||
{
|
||||
if(*it2 == current_position)
|
||||
break;
|
||||
}
|
||||
position_combo->setCurrentIndex(initIndex);*/
|
||||
}
|
||||
|
||||
this->initConnect();
|
||||
|
@ -492,7 +415,6 @@ void MenuWidget::launcherwidget_notify_bool(QString key, bool value)
|
|||
|
||||
void MenuWidget::launcherwidget_notify_int(QString key, int value)
|
||||
{
|
||||
// qDebug() << "MenuWidget::launcherwidget_notify_int============";
|
||||
if (key == "icon-size") {
|
||||
size_slider->setValue(value);
|
||||
size_value_label->setText(QString::number(value));
|
||||
|
@ -574,71 +496,57 @@ void MenuWidget::launcherwidget_notify_string(QString key, QString value)
|
|||
void MenuWidget::setIconSizeValue(int value) {
|
||||
size_value_label->setText(QString::number(value));
|
||||
emit resetIconSizeValue(value);
|
||||
// sessionproxy->set_launcher_icon_size_qt(value);
|
||||
}
|
||||
|
||||
void MenuWidget::setTransparencyValue(double value)
|
||||
{
|
||||
emit resetTransparencyValue(value);
|
||||
// sessionproxy->set_launcher_transparency_qt(value);
|
||||
}
|
||||
|
||||
void MenuWidget::setIconColouring(QString selectColour) {
|
||||
if (selectColour == "all programs") {
|
||||
emit this->resetIconColouring(0);
|
||||
// sessionproxy->set_launcher_icon_colouring_qt(0);
|
||||
}
|
||||
else if (selectColour == "only run app") {
|
||||
emit this->resetIconColouring(1);
|
||||
// sessionproxy->set_launcher_icon_colouring_qt(1);
|
||||
}
|
||||
else if (selectColour == "no coloring") {
|
||||
emit this->resetIconColouring(2);
|
||||
// sessionproxy->set_launcher_icon_colouring_qt(2);
|
||||
}
|
||||
else if (selectColour == "edge coloring") {
|
||||
emit this->resetIconColouring(3);
|
||||
// sessionproxy->set_launcher_icon_colouring_qt(3);
|
||||
}
|
||||
else if (selectColour == "each workspace alternating coloring") {
|
||||
emit this->resetIconColouring(4);
|
||||
// sessionproxy->set_launcher_icon_colouring_qt(4);
|
||||
}
|
||||
}
|
||||
|
||||
void MenuWidget::setAutoHide() {
|
||||
emit this->resetAutoHide(hide_switcher->switchedOn);
|
||||
// sessionproxy->set_launcher_autohide_qt(hide_switcher->switchedOn);
|
||||
}
|
||||
|
||||
void MenuWidget::setDisplayDesktopIcon() {
|
||||
emit this->resetDisplayDesktopIcon(icon_switcher->switchedOn);
|
||||
// sessionproxy->set_launcher_have_showdesktopicon_qt(icon_switcher->switchedOn);
|
||||
}
|
||||
|
||||
void MenuWidget::setTopIconSizeValue(int value){
|
||||
size_top_value_label->setText(QString::number(value));
|
||||
emit this->resetTopIconSizeValue(value);
|
||||
// sessionproxy->set_mate_panel_icon_size_qt("top", value);
|
||||
}
|
||||
|
||||
void MenuWidget::setBottomIconSizeValue(int value){
|
||||
size_bottom_value_label->setText(QString::number(value));
|
||||
emit this->resetBottomIconSizeValue(value);
|
||||
// sessionproxy->set_mate_panel_icon_size_qt("bottom", value);
|
||||
}
|
||||
|
||||
void MenuWidget::setTopAutoHide() {
|
||||
emit this->resetTopAutoHide(hide_top_switcher->switchedOn);
|
||||
// sessionproxy->set_mate_panel_autohide_qt("top", hide_top_switcher->switchedOn);
|
||||
}
|
||||
|
||||
void MenuWidget::setBottomAutoHide() {
|
||||
emit this->resetBottomAutoHide(hide_bottom_switcher->switchedOn);
|
||||
// sessionproxy->set_mate_panel_autohide_qt("bottom", hide_bottom_switcher->switchedOn);
|
||||
}
|
||||
|
||||
void MenuWidget::setLauncherPosition(QString position) {
|
||||
emit this->resetLauncherPosition(position);
|
||||
// sessionproxy->set_launcher_position_qt(position);
|
||||
}
|
||||
|
|
|
@ -33,6 +33,7 @@ AboutDialog::AboutDialog(QWidget *parent, /*const QString &version, */QString sk
|
|||
this->setFixedSize(442, 326);
|
||||
this->setStyleSheet("QDialog{border: 1px solid white;border-radius:1px;background-color: #ffffff;}");
|
||||
this->setWindowTitle(tr("About us"));
|
||||
this->setWindowIcon(QIcon(":/res/kylin-assistant.png"));
|
||||
|
||||
aboutGroup = NULL;
|
||||
contributorGroup = NULL;
|
||||
|
@ -127,6 +128,7 @@ AboutDialog::AboutDialog(QWidget *parent, /*const QString &version, */QString sk
|
|||
aboutEdit->append(tr(" Kylin Assistant is a powerful system supporting software which is developed by Kylin team. Mainly for the naive user, it can help users manage the system. At present, It provides system junk scanning and cleaning, viewing the system hardware and software information, task manager, and some other functions."));
|
||||
aboutEdit->append(tr(" The software is still under development. Please visit ") + QString::fromLocal8Bit("<a style='color: #3f96e4;' href = http://www.ubuntukylin.com>www.ubuntukylin.com</a>") + tr(" for more information. Welcome everyone to join with us. kylin-assistant Homepage: "));
|
||||
|
||||
aboutEdit->append(QString::fromLocal8Bit("<a style='color: #3f96e4;' href=\"https://github.com/KylinAppCenter/kylin-assistant\">https://github.com/KylinAppCenter/kylin-assistant</a>"));
|
||||
aboutEdit->append(QString::fromLocal8Bit("<a style='color: #3f96e4;' href=\"https://launchpad.net/youker-assistant\">https://launchpad.net/youker-assistant</a>"));
|
||||
|
||||
contributorEdit->hide();
|
||||
|
|
|
@ -262,7 +262,7 @@ void TopBaseWidget::initContentLeftContent()
|
|||
|
||||
suggest_label->setObjectName("whiteLabel");
|
||||
suggest_label->setWordWrap(true);//QLabel自动换行
|
||||
suggest_label->setFixedWidth(550);
|
||||
suggest_label->setFixedWidth(650);
|
||||
|
||||
m_toolLeftLayout->setSpacing(10);
|
||||
m_toolLeftLayout->addStretch();
|
||||
|
|
|
@ -4,12 +4,12 @@
|
|||
<context>
|
||||
<name>AboutDialog</name>
|
||||
<message>
|
||||
<location filename="../aboutdialog.cpp" line="89"/>
|
||||
<location filename="../aboutdialog.cpp" line="90"/>
|
||||
<source>About</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog.cpp" line="128"/>
|
||||
<location filename="../aboutdialog.cpp" line="129"/>
|
||||
<source> The software is still under development. Please visit </source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -19,33 +19,33 @@
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog.cpp" line="83"/>
|
||||
<location filename="../aboutdialog.cpp" line="84"/>
|
||||
<source>Kylin Assistant</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog.cpp" line="126"/>
|
||||
<location filename="../aboutdialog.cpp" line="127"/>
|
||||
<source>Maintainer:
|
||||
Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog.cpp" line="127"/>
|
||||
<location filename="../aboutdialog.cpp" line="128"/>
|
||||
<source> Kylin Assistant is a powerful system supporting software which is developed by Kylin team. Mainly for the naive user, it can help users manage the system. At present, It provides system junk scanning and cleaning, viewing the system hardware and software information, task manager, and some other functions.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog.cpp" line="128"/>
|
||||
<location filename="../aboutdialog.cpp" line="129"/>
|
||||
<source> for more information. Welcome everyone to join with us. kylin-assistant Homepage: </source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog.cpp" line="92"/>
|
||||
<location filename="../aboutdialog.cpp" line="93"/>
|
||||
<source>Contributor</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog.cpp" line="148"/>
|
||||
<location filename="../aboutdialog.cpp" line="150"/>
|
||||
<source>Close</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -61,11 +61,16 @@ Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
|||
<context>
|
||||
<name>BoxWidget</name>
|
||||
<message>
|
||||
<location filename="../boxwidget.cpp" line="148"/>
|
||||
<location filename="../boxwidget.cpp" line="150"/>
|
||||
<location filename="../boxwidget.cpp" line="152"/>
|
||||
<source>Kylin Software Center</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../boxwidget.cpp" line="207"/>
|
||||
<source>No software center was found!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CleanSubGroup</name>
|
||||
|
@ -224,7 +229,7 @@ Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../cleaner/cleanermainwidget.cpp" line="288"/>
|
||||
<location filename="../../cleaner/cleanermainwidget.cpp" line="282"/>
|
||||
<source>Cache Items</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -249,7 +254,7 @@ Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../cleaner/cleanermainwidget.cpp" line="310"/>
|
||||
<location filename="../../cleaner/cleanermainwidget.cpp" line="304"/>
|
||||
<source>Cookies Items</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -289,7 +294,7 @@ Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../cleaner/cleanermainwidget.cpp" line="327"/>
|
||||
<location filename="../../cleaner/cleanermainwidget.cpp" line="321"/>
|
||||
<source>Trace Items</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -1311,22 +1316,22 @@ Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
|||
<context>
|
||||
<name>MainWindow</name>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="80"/>
|
||||
<location filename="../mainwindow.cpp" line="79"/>
|
||||
<source>Kylin Assistant</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="208"/>
|
||||
<location filename="../mainwindow.cpp" line="207"/>
|
||||
<source>Understand hardware information, provide more convenient channel to obtain hardware information</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="217"/>
|
||||
<location filename="../mainwindow.cpp" line="216"/>
|
||||
<source>You can perform a full range of customized systems based on personal preferences</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="226"/>
|
||||
<location filename="../mainwindow.cpp" line="225"/>
|
||||
<source>Provide a practical and lightweight tool, create fast and convenient experience for you</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -1373,52 +1378,52 @@ Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
|||
<context>
|
||||
<name>MenuWidget</name>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="311"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="289"/>
|
||||
<source>Launcher icon size</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="312"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="290"/>
|
||||
<source>Launcher hide mode</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="313"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="291"/>
|
||||
<source>Display desktop icon</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="314"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="292"/>
|
||||
<source>Launcher Transparency</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="315"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="293"/>
|
||||
<source>Icon Background</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="316"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="294"/>
|
||||
<source>Top panel icon size</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="317"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="295"/>
|
||||
<source>Top panel auto hide</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="318"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="296"/>
|
||||
<source>Bottom panel icon size</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="319"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="297"/>
|
||||
<source>Bottom panel auto hide</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="320"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="298"/>
|
||||
<source>Launcher position</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -1548,14 +1553,6 @@ Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>NormalCard</name>
|
||||
<message>
|
||||
<location filename="../../component/normalcard.ui" line="14"/>
|
||||
<source>Form</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PanelWidget</name>
|
||||
<message>
|
||||
|
@ -1660,52 +1657,92 @@ Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
|||
<context>
|
||||
<name>ProcessDialog</name>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="156"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="159"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="173"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="157"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="160"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="174"/>
|
||||
<source>End process</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="156"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="157"/>
|
||||
<source>Ending a process may destroy data, break the session or introduce a security risk. Only unresponsive processes should be ended.
|
||||
Are you sure to continue?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="158"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="164"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="159"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="165"/>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="162"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="165"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="175"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="163"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="166"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="176"/>
|
||||
<source>Kill process</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="162"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="163"/>
|
||||
<source>Killing a process may destroy data, break the session or introduce a security risk. Only unresponsive processes should be killed.
|
||||
Are you sure to continue?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="169"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="170"/>
|
||||
<source>Stop process</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="171"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="172"/>
|
||||
<source>Continue process</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="200"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="190"/>
|
||||
<source>Very High</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="191"/>
|
||||
<source>High</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="192"/>
|
||||
<source>Normal</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="193"/>
|
||||
<source>Low</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="194"/>
|
||||
<source>Very Low</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="195"/>
|
||||
<source>Custom</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="199"/>
|
||||
<source>Change Priority</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="201"/>
|
||||
<source>Properties</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="334"/>
|
||||
<source>Change Priority of Process %1 (PID: %2)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ProcessListItem</name>
|
||||
|
@ -1860,6 +1897,31 @@ Are you sure to continue?</source>
|
|||
<source>Very Low</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/util.cpp" line="247"/>
|
||||
<source>Very High Priority</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/util.cpp" line="249"/>
|
||||
<source>High Priority</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/util.cpp" line="251"/>
|
||||
<source>Normal Priority</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/util.cpp" line="253"/>
|
||||
<source>Low Priority</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/util.cpp" line="255"/>
|
||||
<source>Very Low Priority</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../topbasewidget.cpp" line="65"/>
|
||||
<source>Choose the theme what you want</source>
|
||||
|
@ -2689,6 +2751,34 @@ Are you sure to continue?</source>
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ReniceDialog</name>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/renicedialog.cpp" line="55"/>
|
||||
<source>Nice value:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/renicedialog.cpp" line="77"/>
|
||||
<source>Note:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/renicedialog.cpp" line="81"/>
|
||||
<source>The priority of a process is given by its nice value. A lower nice value corresponds to a higher priority.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/renicedialog.cpp" line="93"/>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/renicedialog.cpp" line="98"/>
|
||||
<source>Change Priority</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ResourcesCategory</name>
|
||||
<message>
|
||||
|
@ -2857,19 +2947,6 @@ Are you sure to continue?</source>
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TipDialog</name>
|
||||
<message>
|
||||
<location filename="../../component/tipdialog.cpp" line="86"/>
|
||||
<source>OK</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../component/tipdialog.cpp" line="109"/>
|
||||
<source>Tip Dialog</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TopBaseWidget</name>
|
||||
<message>
|
||||
|
|
|
@ -4,12 +4,12 @@
|
|||
<context>
|
||||
<name>AboutDialog</name>
|
||||
<message>
|
||||
<location filename="../aboutdialog.cpp" line="89"/>
|
||||
<location filename="../aboutdialog.cpp" line="90"/>
|
||||
<source>About</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog.cpp" line="128"/>
|
||||
<location filename="../aboutdialog.cpp" line="129"/>
|
||||
<source> The software is still under development. Please visit </source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -19,33 +19,33 @@
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog.cpp" line="83"/>
|
||||
<location filename="../aboutdialog.cpp" line="84"/>
|
||||
<source>Kylin Assistant</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog.cpp" line="126"/>
|
||||
<location filename="../aboutdialog.cpp" line="127"/>
|
||||
<source>Maintainer:
|
||||
Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog.cpp" line="127"/>
|
||||
<location filename="../aboutdialog.cpp" line="128"/>
|
||||
<source> Kylin Assistant is a powerful system supporting software which is developed by Kylin team. Mainly for the naive user, it can help users manage the system. At present, It provides system junk scanning and cleaning, viewing the system hardware and software information, task manager, and some other functions.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog.cpp" line="128"/>
|
||||
<location filename="../aboutdialog.cpp" line="129"/>
|
||||
<source> for more information. Welcome everyone to join with us. kylin-assistant Homepage: </source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog.cpp" line="92"/>
|
||||
<location filename="../aboutdialog.cpp" line="93"/>
|
||||
<source>Contributor</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog.cpp" line="148"/>
|
||||
<location filename="../aboutdialog.cpp" line="150"/>
|
||||
<source>Close</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -61,11 +61,16 @@ Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
|||
<context>
|
||||
<name>BoxWidget</name>
|
||||
<message>
|
||||
<location filename="../boxwidget.cpp" line="148"/>
|
||||
<location filename="../boxwidget.cpp" line="150"/>
|
||||
<location filename="../boxwidget.cpp" line="152"/>
|
||||
<source>Kylin Software Center</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../boxwidget.cpp" line="207"/>
|
||||
<source>No software center was found!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CleanSubGroup</name>
|
||||
|
@ -224,7 +229,7 @@ Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../cleaner/cleanermainwidget.cpp" line="288"/>
|
||||
<location filename="../../cleaner/cleanermainwidget.cpp" line="282"/>
|
||||
<source>Cache Items</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -249,7 +254,7 @@ Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../cleaner/cleanermainwidget.cpp" line="310"/>
|
||||
<location filename="../../cleaner/cleanermainwidget.cpp" line="304"/>
|
||||
<source>Cookies Items</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -289,7 +294,7 @@ Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../cleaner/cleanermainwidget.cpp" line="327"/>
|
||||
<location filename="../../cleaner/cleanermainwidget.cpp" line="321"/>
|
||||
<source>Trace Items</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -1311,22 +1316,22 @@ Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
|||
<context>
|
||||
<name>MainWindow</name>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="80"/>
|
||||
<location filename="../mainwindow.cpp" line="79"/>
|
||||
<source>Kylin Assistant</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="208"/>
|
||||
<location filename="../mainwindow.cpp" line="207"/>
|
||||
<source>Understand hardware information, provide more convenient channel to obtain hardware information</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="217"/>
|
||||
<location filename="../mainwindow.cpp" line="216"/>
|
||||
<source>You can perform a full range of customized systems based on personal preferences</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="226"/>
|
||||
<location filename="../mainwindow.cpp" line="225"/>
|
||||
<source>Provide a practical and lightweight tool, create fast and convenient experience for you</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -1373,52 +1378,52 @@ Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
|||
<context>
|
||||
<name>MenuWidget</name>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="311"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="289"/>
|
||||
<source>Launcher icon size</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="312"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="290"/>
|
||||
<source>Launcher hide mode</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="313"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="291"/>
|
||||
<source>Display desktop icon</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="314"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="292"/>
|
||||
<source>Launcher Transparency</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="315"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="293"/>
|
||||
<source>Icon Background</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="316"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="294"/>
|
||||
<source>Top panel icon size</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="317"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="295"/>
|
||||
<source>Top panel auto hide</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="318"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="296"/>
|
||||
<source>Bottom panel icon size</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="319"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="297"/>
|
||||
<source>Bottom panel auto hide</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="320"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="298"/>
|
||||
<source>Launcher position</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -1548,14 +1553,6 @@ Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>NormalCard</name>
|
||||
<message>
|
||||
<location filename="../../component/normalcard.ui" line="14"/>
|
||||
<source>Form</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PanelWidget</name>
|
||||
<message>
|
||||
|
@ -1660,52 +1657,92 @@ Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
|||
<context>
|
||||
<name>ProcessDialog</name>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="156"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="159"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="173"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="157"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="160"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="174"/>
|
||||
<source>End process</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="156"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="157"/>
|
||||
<source>Ending a process may destroy data, break the session or introduce a security risk. Only unresponsive processes should be ended.
|
||||
Are you sure to continue?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="158"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="164"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="159"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="165"/>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="162"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="165"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="175"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="163"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="166"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="176"/>
|
||||
<source>Kill process</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="162"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="163"/>
|
||||
<source>Killing a process may destroy data, break the session or introduce a security risk. Only unresponsive processes should be killed.
|
||||
Are you sure to continue?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="169"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="170"/>
|
||||
<source>Stop process</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="171"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="172"/>
|
||||
<source>Continue process</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="200"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="190"/>
|
||||
<source>Very High</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="191"/>
|
||||
<source>High</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="192"/>
|
||||
<source>Normal</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="193"/>
|
||||
<source>Low</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="194"/>
|
||||
<source>Very Low</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="195"/>
|
||||
<source>Custom</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="199"/>
|
||||
<source>Change Priority</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="201"/>
|
||||
<source>Properties</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="334"/>
|
||||
<source>Change Priority of Process %1 (PID: %2)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ProcessListItem</name>
|
||||
|
@ -1860,6 +1897,31 @@ Are you sure to continue?</source>
|
|||
<source>Very Low</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/util.cpp" line="247"/>
|
||||
<source>Very High Priority</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/util.cpp" line="249"/>
|
||||
<source>High Priority</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/util.cpp" line="251"/>
|
||||
<source>Normal Priority</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/util.cpp" line="253"/>
|
||||
<source>Low Priority</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/util.cpp" line="255"/>
|
||||
<source>Very Low Priority</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../topbasewidget.cpp" line="65"/>
|
||||
<source>Choose the theme what you want</source>
|
||||
|
@ -2689,6 +2751,34 @@ Are you sure to continue?</source>
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ReniceDialog</name>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/renicedialog.cpp" line="55"/>
|
||||
<source>Nice value:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/renicedialog.cpp" line="77"/>
|
||||
<source>Note:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/renicedialog.cpp" line="81"/>
|
||||
<source>The priority of a process is given by its nice value. A lower nice value corresponds to a higher priority.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/renicedialog.cpp" line="93"/>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/renicedialog.cpp" line="98"/>
|
||||
<source>Change Priority</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ResourcesCategory</name>
|
||||
<message>
|
||||
|
@ -2857,19 +2947,6 @@ Are you sure to continue?</source>
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TipDialog</name>
|
||||
<message>
|
||||
<location filename="../../component/tipdialog.cpp" line="86"/>
|
||||
<source>OK</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../component/tipdialog.cpp" line="109"/>
|
||||
<source>Tip Dialog</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TopBaseWidget</name>
|
||||
<message>
|
||||
|
|
|
@ -4,12 +4,12 @@
|
|||
<context>
|
||||
<name>AboutDialog</name>
|
||||
<message>
|
||||
<location filename="../aboutdialog.cpp" line="89"/>
|
||||
<location filename="../aboutdialog.cpp" line="90"/>
|
||||
<source>About</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog.cpp" line="128"/>
|
||||
<location filename="../aboutdialog.cpp" line="129"/>
|
||||
<source> The software is still under development. Please visit </source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -19,33 +19,33 @@
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog.cpp" line="83"/>
|
||||
<location filename="../aboutdialog.cpp" line="84"/>
|
||||
<source>Kylin Assistant</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog.cpp" line="126"/>
|
||||
<location filename="../aboutdialog.cpp" line="127"/>
|
||||
<source>Maintainer:
|
||||
Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog.cpp" line="127"/>
|
||||
<location filename="../aboutdialog.cpp" line="128"/>
|
||||
<source> Kylin Assistant is a powerful system supporting software which is developed by Kylin team. Mainly for the naive user, it can help users manage the system. At present, It provides system junk scanning and cleaning, viewing the system hardware and software information, task manager, and some other functions.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog.cpp" line="128"/>
|
||||
<location filename="../aboutdialog.cpp" line="129"/>
|
||||
<source> for more information. Welcome everyone to join with us. kylin-assistant Homepage: </source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog.cpp" line="92"/>
|
||||
<location filename="../aboutdialog.cpp" line="93"/>
|
||||
<source>Contributor</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog.cpp" line="148"/>
|
||||
<location filename="../aboutdialog.cpp" line="150"/>
|
||||
<source>Close</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -61,11 +61,16 @@ Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
|||
<context>
|
||||
<name>BoxWidget</name>
|
||||
<message>
|
||||
<location filename="../boxwidget.cpp" line="148"/>
|
||||
<location filename="../boxwidget.cpp" line="150"/>
|
||||
<location filename="../boxwidget.cpp" line="152"/>
|
||||
<source>Kylin Software Center</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../boxwidget.cpp" line="207"/>
|
||||
<source>No software center was found!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CleanSubGroup</name>
|
||||
|
@ -224,7 +229,7 @@ Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../cleaner/cleanermainwidget.cpp" line="288"/>
|
||||
<location filename="../../cleaner/cleanermainwidget.cpp" line="282"/>
|
||||
<source>Cache Items</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -249,7 +254,7 @@ Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../cleaner/cleanermainwidget.cpp" line="310"/>
|
||||
<location filename="../../cleaner/cleanermainwidget.cpp" line="304"/>
|
||||
<source>Cookies Items</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -289,7 +294,7 @@ Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../cleaner/cleanermainwidget.cpp" line="327"/>
|
||||
<location filename="../../cleaner/cleanermainwidget.cpp" line="321"/>
|
||||
<source>Trace Items</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -1311,22 +1316,22 @@ Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
|||
<context>
|
||||
<name>MainWindow</name>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="80"/>
|
||||
<location filename="../mainwindow.cpp" line="79"/>
|
||||
<source>Kylin Assistant</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="208"/>
|
||||
<location filename="../mainwindow.cpp" line="207"/>
|
||||
<source>Understand hardware information, provide more convenient channel to obtain hardware information</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="217"/>
|
||||
<location filename="../mainwindow.cpp" line="216"/>
|
||||
<source>You can perform a full range of customized systems based on personal preferences</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="226"/>
|
||||
<location filename="../mainwindow.cpp" line="225"/>
|
||||
<source>Provide a practical and lightweight tool, create fast and convenient experience for you</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -1373,52 +1378,52 @@ Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
|||
<context>
|
||||
<name>MenuWidget</name>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="311"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="289"/>
|
||||
<source>Launcher icon size</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="312"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="290"/>
|
||||
<source>Launcher hide mode</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="313"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="291"/>
|
||||
<source>Display desktop icon</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="314"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="292"/>
|
||||
<source>Launcher Transparency</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="315"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="293"/>
|
||||
<source>Icon Background</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="316"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="294"/>
|
||||
<source>Top panel icon size</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="317"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="295"/>
|
||||
<source>Top panel auto hide</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="318"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="296"/>
|
||||
<source>Bottom panel icon size</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="319"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="297"/>
|
||||
<source>Bottom panel auto hide</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="320"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="298"/>
|
||||
<source>Launcher position</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -1548,14 +1553,6 @@ Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>NormalCard</name>
|
||||
<message>
|
||||
<location filename="../../component/normalcard.ui" line="14"/>
|
||||
<source>Form</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PanelWidget</name>
|
||||
<message>
|
||||
|
@ -1660,52 +1657,92 @@ Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
|||
<context>
|
||||
<name>ProcessDialog</name>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="156"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="159"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="173"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="157"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="160"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="174"/>
|
||||
<source>End process</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="156"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="157"/>
|
||||
<source>Ending a process may destroy data, break the session or introduce a security risk. Only unresponsive processes should be ended.
|
||||
Are you sure to continue?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="158"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="164"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="159"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="165"/>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="162"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="165"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="175"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="163"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="166"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="176"/>
|
||||
<source>Kill process</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="162"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="163"/>
|
||||
<source>Killing a process may destroy data, break the session or introduce a security risk. Only unresponsive processes should be killed.
|
||||
Are you sure to continue?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="169"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="170"/>
|
||||
<source>Stop process</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="171"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="172"/>
|
||||
<source>Continue process</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="200"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="190"/>
|
||||
<source>Very High</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="191"/>
|
||||
<source>High</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="192"/>
|
||||
<source>Normal</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="193"/>
|
||||
<source>Low</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="194"/>
|
||||
<source>Very Low</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="195"/>
|
||||
<source>Custom</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="199"/>
|
||||
<source>Change Priority</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="201"/>
|
||||
<source>Properties</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="334"/>
|
||||
<source>Change Priority of Process %1 (PID: %2)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ProcessListItem</name>
|
||||
|
@ -1860,6 +1897,31 @@ Are you sure to continue?</source>
|
|||
<source>Very Low</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/util.cpp" line="247"/>
|
||||
<source>Very High Priority</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/util.cpp" line="249"/>
|
||||
<source>High Priority</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/util.cpp" line="251"/>
|
||||
<source>Normal Priority</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/util.cpp" line="253"/>
|
||||
<source>Low Priority</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/util.cpp" line="255"/>
|
||||
<source>Very Low Priority</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../topbasewidget.cpp" line="65"/>
|
||||
<source>Choose the theme what you want</source>
|
||||
|
@ -2689,6 +2751,34 @@ Are you sure to continue?</source>
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ReniceDialog</name>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/renicedialog.cpp" line="55"/>
|
||||
<source>Nice value:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/renicedialog.cpp" line="77"/>
|
||||
<source>Note:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/renicedialog.cpp" line="81"/>
|
||||
<source>The priority of a process is given by its nice value. A lower nice value corresponds to a higher priority.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/renicedialog.cpp" line="93"/>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/renicedialog.cpp" line="98"/>
|
||||
<source>Change Priority</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ResourcesCategory</name>
|
||||
<message>
|
||||
|
@ -2857,19 +2947,6 @@ Are you sure to continue?</source>
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TipDialog</name>
|
||||
<message>
|
||||
<location filename="../../component/tipdialog.cpp" line="86"/>
|
||||
<source>OK</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../component/tipdialog.cpp" line="109"/>
|
||||
<source>Tip Dialog</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TopBaseWidget</name>
|
||||
<message>
|
||||
|
|
|
@ -4,12 +4,12 @@
|
|||
<context>
|
||||
<name>AboutDialog</name>
|
||||
<message>
|
||||
<location filename="../aboutdialog.cpp" line="89"/>
|
||||
<location filename="../aboutdialog.cpp" line="90"/>
|
||||
<source>About</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog.cpp" line="128"/>
|
||||
<location filename="../aboutdialog.cpp" line="129"/>
|
||||
<source> The software is still under development. Please visit </source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -19,33 +19,33 @@
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog.cpp" line="83"/>
|
||||
<location filename="../aboutdialog.cpp" line="84"/>
|
||||
<source>Kylin Assistant</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog.cpp" line="126"/>
|
||||
<location filename="../aboutdialog.cpp" line="127"/>
|
||||
<source>Maintainer:
|
||||
Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog.cpp" line="127"/>
|
||||
<location filename="../aboutdialog.cpp" line="128"/>
|
||||
<source> Kylin Assistant is a powerful system supporting software which is developed by Kylin team. Mainly for the naive user, it can help users manage the system. At present, It provides system junk scanning and cleaning, viewing the system hardware and software information, task manager, and some other functions.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog.cpp" line="128"/>
|
||||
<location filename="../aboutdialog.cpp" line="129"/>
|
||||
<source> for more information. Welcome everyone to join with us. kylin-assistant Homepage: </source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog.cpp" line="92"/>
|
||||
<location filename="../aboutdialog.cpp" line="93"/>
|
||||
<source>Contributor</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog.cpp" line="148"/>
|
||||
<location filename="../aboutdialog.cpp" line="150"/>
|
||||
<source>Close</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -61,11 +61,16 @@ Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
|||
<context>
|
||||
<name>BoxWidget</name>
|
||||
<message>
|
||||
<location filename="../boxwidget.cpp" line="148"/>
|
||||
<location filename="../boxwidget.cpp" line="150"/>
|
||||
<location filename="../boxwidget.cpp" line="152"/>
|
||||
<source>Kylin Software Center</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../boxwidget.cpp" line="207"/>
|
||||
<source>No software center was found!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CleanSubGroup</name>
|
||||
|
@ -224,7 +229,7 @@ Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../cleaner/cleanermainwidget.cpp" line="288"/>
|
||||
<location filename="../../cleaner/cleanermainwidget.cpp" line="282"/>
|
||||
<source>Cache Items</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -249,7 +254,7 @@ Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../cleaner/cleanermainwidget.cpp" line="310"/>
|
||||
<location filename="../../cleaner/cleanermainwidget.cpp" line="304"/>
|
||||
<source>Cookies Items</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -289,7 +294,7 @@ Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../cleaner/cleanermainwidget.cpp" line="327"/>
|
||||
<location filename="../../cleaner/cleanermainwidget.cpp" line="321"/>
|
||||
<source>Trace Items</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -1311,22 +1316,22 @@ Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
|||
<context>
|
||||
<name>MainWindow</name>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="80"/>
|
||||
<location filename="../mainwindow.cpp" line="79"/>
|
||||
<source>Kylin Assistant</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="208"/>
|
||||
<location filename="../mainwindow.cpp" line="207"/>
|
||||
<source>Understand hardware information, provide more convenient channel to obtain hardware information</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="217"/>
|
||||
<location filename="../mainwindow.cpp" line="216"/>
|
||||
<source>You can perform a full range of customized systems based on personal preferences</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="226"/>
|
||||
<location filename="../mainwindow.cpp" line="225"/>
|
||||
<source>Provide a practical and lightweight tool, create fast and convenient experience for you</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -1373,52 +1378,52 @@ Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
|||
<context>
|
||||
<name>MenuWidget</name>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="311"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="289"/>
|
||||
<source>Launcher icon size</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="312"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="290"/>
|
||||
<source>Launcher hide mode</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="313"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="291"/>
|
||||
<source>Display desktop icon</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="314"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="292"/>
|
||||
<source>Launcher Transparency</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="315"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="293"/>
|
||||
<source>Icon Background</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="316"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="294"/>
|
||||
<source>Top panel icon size</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="317"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="295"/>
|
||||
<source>Top panel auto hide</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="318"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="296"/>
|
||||
<source>Bottom panel icon size</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="319"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="297"/>
|
||||
<source>Bottom panel auto hide</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="320"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="298"/>
|
||||
<source>Launcher position</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -1548,14 +1553,6 @@ Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>NormalCard</name>
|
||||
<message>
|
||||
<location filename="../../component/normalcard.ui" line="14"/>
|
||||
<source>Form</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PanelWidget</name>
|
||||
<message>
|
||||
|
@ -1660,52 +1657,92 @@ Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
|||
<context>
|
||||
<name>ProcessDialog</name>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="156"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="159"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="173"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="157"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="160"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="174"/>
|
||||
<source>End process</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="156"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="157"/>
|
||||
<source>Ending a process may destroy data, break the session or introduce a security risk. Only unresponsive processes should be ended.
|
||||
Are you sure to continue?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="158"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="164"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="159"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="165"/>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="162"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="165"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="175"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="163"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="166"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="176"/>
|
||||
<source>Kill process</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="162"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="163"/>
|
||||
<source>Killing a process may destroy data, break the session or introduce a security risk. Only unresponsive processes should be killed.
|
||||
Are you sure to continue?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="169"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="170"/>
|
||||
<source>Stop process</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="171"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="172"/>
|
||||
<source>Continue process</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="200"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="190"/>
|
||||
<source>Very High</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="191"/>
|
||||
<source>High</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="192"/>
|
||||
<source>Normal</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="193"/>
|
||||
<source>Low</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="194"/>
|
||||
<source>Very Low</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="195"/>
|
||||
<source>Custom</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="199"/>
|
||||
<source>Change Priority</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="201"/>
|
||||
<source>Properties</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="334"/>
|
||||
<source>Change Priority of Process %1 (PID: %2)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ProcessListItem</name>
|
||||
|
@ -1860,6 +1897,31 @@ Are you sure to continue?</source>
|
|||
<source>Very Low</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/util.cpp" line="247"/>
|
||||
<source>Very High Priority</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/util.cpp" line="249"/>
|
||||
<source>High Priority</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/util.cpp" line="251"/>
|
||||
<source>Normal Priority</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/util.cpp" line="253"/>
|
||||
<source>Low Priority</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/util.cpp" line="255"/>
|
||||
<source>Very Low Priority</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../topbasewidget.cpp" line="65"/>
|
||||
<source>Choose the theme what you want</source>
|
||||
|
@ -2689,6 +2751,34 @@ Are you sure to continue?</source>
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ReniceDialog</name>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/renicedialog.cpp" line="55"/>
|
||||
<source>Nice value:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/renicedialog.cpp" line="77"/>
|
||||
<source>Note:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/renicedialog.cpp" line="81"/>
|
||||
<source>The priority of a process is given by its nice value. A lower nice value corresponds to a higher priority.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/renicedialog.cpp" line="93"/>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/renicedialog.cpp" line="98"/>
|
||||
<source>Change Priority</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ResourcesCategory</name>
|
||||
<message>
|
||||
|
@ -2857,19 +2947,6 @@ Are you sure to continue?</source>
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TipDialog</name>
|
||||
<message>
|
||||
<location filename="../../component/tipdialog.cpp" line="86"/>
|
||||
<source>OK</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../component/tipdialog.cpp" line="109"/>
|
||||
<source>Tip Dialog</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TopBaseWidget</name>
|
||||
<message>
|
||||
|
|
Binary file not shown.
|
@ -9,45 +9,45 @@
|
|||
<translation>关于我们</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog.cpp" line="83"/>
|
||||
<location filename="../aboutdialog.cpp" line="84"/>
|
||||
<source>Kylin Assistant</source>
|
||||
<translation>麒麟助手</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog.cpp" line="89"/>
|
||||
<location filename="../aboutdialog.cpp" line="90"/>
|
||||
<source>About</source>
|
||||
<translatorcomment>关于本软件</translatorcomment>
|
||||
<translation>关于</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog.cpp" line="126"/>
|
||||
<location filename="../aboutdialog.cpp" line="127"/>
|
||||
<source>Maintainer:
|
||||
Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
||||
<translation>维护者:
|
||||
麒麟团队 <ubuntukylin-members@list.launchpad.net></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog.cpp" line="127"/>
|
||||
<location filename="../aboutdialog.cpp" line="128"/>
|
||||
<source> Kylin Assistant is a powerful system supporting software which is developed by Kylin team. Mainly for the naive user, it can help users manage the system. At present, It provides system junk scanning and cleaning, viewing the system hardware and software information, task manager, and some other functions.</source>
|
||||
<translation> 麒麟助手是由麒麟团队开发的一款功能强大的系统辅助软件。主要面向初级用户,能够帮助用户对系统进行管理。目前已具备了系统垃圾扫描与清理、系统软硬件信息查看、系统全方位定制、任务管理器等功能。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog.cpp" line="128"/>
|
||||
<location filename="../aboutdialog.cpp" line="129"/>
|
||||
<source> for more information. Welcome everyone to join with us. kylin-assistant Homepage: </source>
|
||||
<translation> 了解软件的最新进展并反馈问题,欢迎广大用户和爱好者一起参与。麒麟助手主页:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog.cpp" line="128"/>
|
||||
<location filename="../aboutdialog.cpp" line="129"/>
|
||||
<source> The software is still under development. Please visit </source>
|
||||
<translation> 各项功能还在不断完善,更多功能也将陆续开发,敬请关注 Ubuntu Kylin 官网 </translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog.cpp" line="92"/>
|
||||
<location filename="../aboutdialog.cpp" line="93"/>
|
||||
<source>Contributor</source>
|
||||
<translation>贡献者</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog.cpp" line="148"/>
|
||||
<location filename="../aboutdialog.cpp" line="150"/>
|
||||
<source>Close</source>
|
||||
<translatorcomment>关闭</translatorcomment>
|
||||
<translation>关闭</translation>
|
||||
|
@ -127,11 +127,16 @@ Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
|||
<context>
|
||||
<name>BoxWidget</name>
|
||||
<message>
|
||||
<location filename="../boxwidget.cpp" line="148"/>
|
||||
<location filename="../boxwidget.cpp" line="150"/>
|
||||
<location filename="../boxwidget.cpp" line="152"/>
|
||||
<source>Kylin Software Center</source>
|
||||
<translation>麒麟软件中心</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../boxwidget.cpp" line="207"/>
|
||||
<source>No software center was found!</source>
|
||||
<translation>没有找到软件中心 !</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Boot Manager</source>
|
||||
<translation type="obsolete">启动项管理</translation>
|
||||
|
@ -464,7 +469,7 @@ Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
|||
<translation>清理chromium缓存</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../cleaner/cleanermainwidget.cpp" line="288"/>
|
||||
<location filename="../../cleaner/cleanermainwidget.cpp" line="282"/>
|
||||
<source>Cache Items</source>
|
||||
<translation>缓存选项</translation>
|
||||
</message>
|
||||
|
@ -489,7 +494,7 @@ Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
|||
<translation>清理Chromium浏览器的Cookies</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../cleaner/cleanermainwidget.cpp" line="310"/>
|
||||
<location filename="../../cleaner/cleanermainwidget.cpp" line="304"/>
|
||||
<source>Cookies Items</source>
|
||||
<translation>Cookies选项</translation>
|
||||
</message>
|
||||
|
@ -529,7 +534,7 @@ Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
|||
<translation>删除调试日志</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../cleaner/cleanermainwidget.cpp" line="327"/>
|
||||
<location filename="../../cleaner/cleanermainwidget.cpp" line="321"/>
|
||||
<source>Trace Items</source>
|
||||
<translation>访问痕迹选项</translation>
|
||||
</message>
|
||||
|
@ -2439,22 +2444,22 @@ Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
|||
<context>
|
||||
<name>MainWindow</name>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="80"/>
|
||||
<location filename="../mainwindow.cpp" line="79"/>
|
||||
<source>Kylin Assistant</source>
|
||||
<translation>麒麟助手</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="208"/>
|
||||
<location filename="../mainwindow.cpp" line="207"/>
|
||||
<source>Understand hardware information, provide more convenient channel to obtain hardware information</source>
|
||||
<translation>了解电脑硬件详细信息,为用户提供更加方便的获取硬件信息渠道</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="217"/>
|
||||
<location filename="../mainwindow.cpp" line="216"/>
|
||||
<source>You can perform a full range of customized systems based on personal preferences</source>
|
||||
<translation>您可以根据个人喜好对系统进行全方位的定制</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="226"/>
|
||||
<location filename="../mainwindow.cpp" line="225"/>
|
||||
<source>Provide a practical and lightweight tool, create fast and convenient experience for you</source>
|
||||
<translation>提供轻巧使用工具,为您打造快捷方便的体验</translation>
|
||||
</message>
|
||||
|
@ -2518,52 +2523,52 @@ Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
|||
<context>
|
||||
<name>MenuWidget</name>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="311"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="289"/>
|
||||
<source>Launcher icon size</source>
|
||||
<translation>启动器图标尺寸</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="312"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="290"/>
|
||||
<source>Launcher hide mode</source>
|
||||
<translation>启动器自动隐藏</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="313"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="291"/>
|
||||
<source>Display desktop icon</source>
|
||||
<translation>显示桌面图标</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="314"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="292"/>
|
||||
<source>Launcher Transparency</source>
|
||||
<translation>启动器透明度</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="315"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="293"/>
|
||||
<source>Icon Background</source>
|
||||
<translation>图标背景</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="316"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="294"/>
|
||||
<source>Top panel icon size</source>
|
||||
<translation>顶部面板图标大小</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="317"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="295"/>
|
||||
<source>Top panel auto hide</source>
|
||||
<translation>顶部面板自动隐藏</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="318"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="296"/>
|
||||
<source>Bottom panel icon size</source>
|
||||
<translation>底部面板图标大小</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="319"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="297"/>
|
||||
<source>Bottom panel auto hide</source>
|
||||
<translation>底部面板自动隐藏</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../setting/menuwidget.cpp" line="320"/>
|
||||
<location filename="../../setting/menuwidget.cpp" line="298"/>
|
||||
<source>Launcher position</source>
|
||||
<translation>启动器位置</translation>
|
||||
</message>
|
||||
|
@ -2753,9 +2758,8 @@ Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
|||
<context>
|
||||
<name>NormalCard</name>
|
||||
<message>
|
||||
<location filename="../../component/normalcard.ui" line="14"/>
|
||||
<source>Form</source>
|
||||
<translation>框</translation>
|
||||
<translation type="vanished">框</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
|
@ -2862,82 +2866,94 @@ Kylin Team <ubuntukylin-members@list.launchpad.net></source>
|
|||
<context>
|
||||
<name>ProcessDialog</name>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="156"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="159"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="173"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="157"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="160"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="174"/>
|
||||
<source>End process</source>
|
||||
<translation>结束进程</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="156"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="157"/>
|
||||
<source>Ending a process may destroy data, break the session or introduce a security risk. Only unresponsive processes should be ended.
|
||||
Are you sure to continue?</source>
|
||||
<translation>结束进程可能导致数据损坏,中断会话或带来安全风险。您应该只结束无响应的进程。
|
||||
您确定要继续该操作?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="158"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="164"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="159"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="165"/>
|
||||
<source>Cancel</source>
|
||||
<translation>取消</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="162"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="165"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="175"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="163"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="166"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="176"/>
|
||||
<source>Kill process</source>
|
||||
<translation>杀死进程</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="162"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="163"/>
|
||||
<source>Killing a process may destroy data, break the session or introduce a security risk. Only unresponsive processes should be killed.
|
||||
Are you sure to continue?</source>
|
||||
<translation>杀死进程可能导致数据损坏,中断会话或带来安全风险。您应该只杀死无响应的进程。
|
||||
您确定要继续该操作?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="169"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="170"/>
|
||||
<source>Stop process</source>
|
||||
<translation>停止进程</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="171"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="172"/>
|
||||
<source>Continue process</source>
|
||||
<translation>继续进程</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="190"/>
|
||||
<source>Very High</source>
|
||||
<translation type="obsolete">非常高</translation>
|
||||
<translation>非常高</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="191"/>
|
||||
<source>High</source>
|
||||
<translation type="obsolete">高</translation>
|
||||
<translation>高</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="192"/>
|
||||
<source>Normal</source>
|
||||
<translation type="obsolete">普通</translation>
|
||||
<translation>普通</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="193"/>
|
||||
<source>Low</source>
|
||||
<translation type="obsolete">低</translation>
|
||||
<translation>低</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="194"/>
|
||||
<source>Very Low</source>
|
||||
<translation type="obsolete">非常低</translation>
|
||||
<translation>非常低</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="195"/>
|
||||
<source>Custom</source>
|
||||
<translation type="obsolete">自定义</translation>
|
||||
<translation>自定义</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="199"/>
|
||||
<source>Change Priority</source>
|
||||
<translation type="obsolete">改变优先级</translation>
|
||||
<translation>改变优先级</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="200"/>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="201"/>
|
||||
<source>Properties</source>
|
||||
<translation>属性</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/processdialog.cpp" line="334"/>
|
||||
<source>Change Priority of Process %1 (PID: %2)</source>
|
||||
<translation>更改进程“%1”(PID:%2)的优先级</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ProcessListItem</name>
|
||||
|
@ -3116,6 +3132,31 @@ Are you sure to continue?</source>
|
|||
<source>Very Low</source>
|
||||
<translation>非常低</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/util.cpp" line="247"/>
|
||||
<source>Very High Priority</source>
|
||||
<translation>非常高优先级</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/util.cpp" line="249"/>
|
||||
<source>High Priority</source>
|
||||
<translation>高优先级</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/util.cpp" line="251"/>
|
||||
<source>Normal Priority</source>
|
||||
<translation>普通优先级</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/util.cpp" line="253"/>
|
||||
<source>Low Priority</source>
|
||||
<translation>低优先级</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/util.cpp" line="255"/>
|
||||
<source>Very Low Priority</source>
|
||||
<translation>非常低优先级</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../topbasewidget.cpp" line="65"/>
|
||||
<source>Choose the theme what you want</source>
|
||||
|
@ -3961,6 +4002,34 @@ Are you sure to continue?</source>
|
|||
<translation></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ReniceDialog</name>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/renicedialog.cpp" line="55"/>
|
||||
<source>Nice value:</source>
|
||||
<translation>Nice 值:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/renicedialog.cpp" line="77"/>
|
||||
<source>Note:</source>
|
||||
<translation>备忘:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/renicedialog.cpp" line="81"/>
|
||||
<source>The priority of a process is given by its nice value. A lower nice value corresponds to a higher priority.</source>
|
||||
<translation>进程的优先级由它的 nice 值指定。较低的 nice 值对应较高的优先级。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/renicedialog.cpp" line="93"/>
|
||||
<source>Cancel</source>
|
||||
<translation>取消</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../plugins/systemmonitor/renicedialog.cpp" line="98"/>
|
||||
<source>Change Priority</source>
|
||||
<translation>改变优先级</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ResourcesCategory</name>
|
||||
<message>
|
||||
|
@ -4342,14 +4411,12 @@ Are you sure to continue?</source>
|
|||
<context>
|
||||
<name>TipDialog</name>
|
||||
<message>
|
||||
<location filename="../../component/tipdialog.cpp" line="86"/>
|
||||
<source>OK</source>
|
||||
<translation>确定</translation>
|
||||
<translation type="vanished">确定</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../component/tipdialog.cpp" line="109"/>
|
||||
<source>Tip Dialog</source>
|
||||
<translation>提示框</translation>
|
||||
<translation type="vanished">提示框</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
|
|
Loading…
Reference in New Issue