diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 833e78f..0000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -*kdev4 -build diff --git a/.translation-update b/.translation-update new file mode 100644 index 0000000..f25285c --- /dev/null +++ b/.translation-update @@ -0,0 +1 @@ +translations='./src' diff --git a/CHANGELOG b/CHANGELOG index d238081..b4c5862 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,4 +1,15 @@ +qps-1.10.19 / 2019-01-25 +======================== + * Bumped version to 1.10.19 + * Improved cmake scripting + - set cmake_minimum_required to 3.1.0 + - removed locale compile definitons, use lxqt-build-tools instead + - use lxqt-build-tools translation scripts + * Added translation support and fixed some source strings + * Translations updated + * Added translation promo to README.md + qps-1.10.18 / 2018-05-21 ======================== diff --git a/CMakeLists.txt b/CMakeLists.txt index 352cdf4..9d74f53 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,40 +1,31 @@ -cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR) -project(qps) +cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR) +# CMP0000: Call the cmake_minimum_required() command at the beginning of the top-level +# CMakeLists.txt file even before calling the project() command. +# The cmake_minimum_required(VERSION) command implicitly invokes the cmake_policy(VERSION) +# command to specify that the current project code is written for the given range of CMake +# versions. +Project(qps) option(UPDATE_TRANSLATIONS "Update source translation translations/*.ts files" OFF) -# additional cmake files -list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") - -if(NOT CMAKE_BUILD_TYPE) - set(CMAKE_BUILD_TYPE Release) -endif() - set(MAJOR_VERSION 1) set(MINOR_VERSION 10) -set(PATCH_VERSION 18) +set(PATCH_VERSION 19) set(QPS_VERSION_STRING ${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}) add_definitions( -DQPS_VERSION="${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}" - -DQT_NO_FOREACH ) -# C++11 support -include(CheckCXXCompilerFlag) -CHECK_CXX_COMPILER_FLAG("-std=c++11" COMPILER_SUPPORTS_CXX11) -CHECK_CXX_COMPILER_FLAG("-std=c++0x" COMPILER_SUPPORTS_CXX0X) -if(COMPILER_SUPPORTS_CXX11) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") -elseif(COMPILER_SUPPORTS_CXX0X) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x") -else() - message(FATAL "The compiler ${CMAKE_CXX_COMPILER} has no C++11 support. C++11 support is required") -endif() - -find_package(Qt5 5.7.1 REQUIRED COMPONENTS Widgets X11Extras DBus LinguistTools) +# Minimum Versions +set(LXQTBT_MINIMUM_VERSION "0.6.0") +set(QT_MINIMUM_VERSION "5.7.1") +find_package(Qt5 ${QT_MINIMUM_VERSION} REQUIRED COMPONENTS Widgets X11Extras DBus LinguistTools) +find_package(lxqt-build-tools ${LXQTBT_MINIMUM_VERSION} REQUIRED) include(GNUInstallDirs) -include(LXQtTranslateTs) # Although the name it doesn't depend on LXQt in any way +include(LXQtPreventInSourceBuilds) +include(LXQtCompilerSettings) +include(LXQtTranslateTs) include(LXQtTranslateDesktop) include(Qt5TranslationLoader) diff --git a/README.md b/README.md index d1c86b1..d2a66b4 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,9 @@ Qps is licensed under the terms of the [GPLv2](http://choosealicense.com/licenses/gpl-2.0/) or any later version. -### Translation Status - -Translation status +### Translation (Weblate) + + +Translation status diff --git a/cmake/LXQtTranslateDesktop.cmake b/cmake/LXQtTranslateDesktop.cmake deleted file mode 100644 index 63b0ea5..0000000 --- a/cmake/LXQtTranslateDesktop.cmake +++ /dev/null @@ -1,107 +0,0 @@ -#============================================================================= -# The lxqt_translate_desktop() function was copied from the -# LXQt LxQtTranslate.cmake -# -# Original Author: Alexander Sokolov -# -# funtion lxqt_translate_desktop(_RESULT -# SOURCES -# [TRANSLATION_DIR] translation_directory -# ) -# Output: -# _RESULT The generated .desktop (.desktop) files -# -# Input: -# -# SOURCES List of input desktop files (.destktop.in) to be translated -# (merged), relative to the CMakeList.txt. -# -# TRANSLATION_DIR Optional path to the directory with the .ts files, -# relative to the CMakeList.txt. Defaults to -# "translations". -# -#============================================================================= - -function(lxqt_translate_desktop _RESULT) - # Parse arguments *************************************** - set(oneValueArgs TRANSLATION_DIR) - set(multiValueArgs SOURCES) - - cmake_parse_arguments(_ARGS "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN}) - - # check for unknown arguments - set(_UNPARSED_ARGS ${_ARGS_UNPARSED_ARGUMENTS}) - if (NOT ${_UNPARSED_ARGS} STREQUAL "") - MESSAGE(FATAL_ERROR - "Unknown arguments '${_UNPARSED_ARGS}'.\n" - "See lxqt_translate_desktop() documentation for more information.\n" - ) - endif() - - if (NOT DEFINED _ARGS_SOURCES) - set(${_RESULT} "" PARENT_SCOPE) - return() - else() - set(_sources ${_ARGS_SOURCES}) - endif() - - if (NOT DEFINED _ARGS_TRANSLATION_DIR) - set(_translationDir "translations") - else() - set(_translationDir ${_ARGS_TRANSLATION_DIR}) - endif() - - - get_filename_component (_translationDir ${_translationDir} ABSOLUTE) - - foreach (_inFile ${_sources}) - get_filename_component(_inFile ${_inFile} ABSOLUTE) - get_filename_component(_fileName ${_inFile} NAME_WE) - #Extract the real extension ............ - get_filename_component(_fileExt ${_inFile} EXT) - string(REPLACE ".in" "" _fileExt ${_fileExt}) - #....................................... - set(_outFile "${CMAKE_CURRENT_BINARY_DIR}/${_fileName}${_fileExt}") - - file(GLOB _translations - ${_translationDir}/${_fileName}_*${_fileExt} - ) - - set(_pattern "'\\[.*]\\s*='") - if (_translations) - list(SORT _translations) - add_custom_command(OUTPUT ${_outFile} - COMMAND grep -v -a "'#TRANSLATIONS_DIR='" ${_inFile} > ${_outFile} - COMMAND grep -h -a ${_pattern} ${_translations} >> ${_outFile} - COMMENT "Generating ${_fileName}${_fileExt}" - ) - else() - add_custom_command(OUTPUT ${_outFile} - COMMAND grep -v -a "'#TRANSLATIONS_DIR='" ${_inFile} > ${_outFile} - COMMENT "Generating ${_fileName}${_fileExt}" - ) - endif() - - set(__result ${__result} ${_outFile}) - - - # TX file *********************************************** - set(_txFile "${CMAKE_BINARY_DIR}/tx/${_fileName}${_fileExt}.tx.sh") - string(REPLACE "${CMAKE_SOURCE_DIR}/" "" _tx_translationDir ${_translationDir}) - string(REPLACE "${CMAKE_SOURCE_DIR}/" "" _tx_inFile ${_inFile}) - string(REPLACE "." "" _fileType ${_fileExt}) - - file(WRITE ${_txFile} - "[ -f ${_inFile} ] || exit 0\n" - "echo '[lxde-qt.${_fileName}_${_fileType}]'\n" - "echo 'type = DESKTOP'\n" - "echo 'source_lang = en'\n" - "echo 'source_file = ${_tx_inFile}'\n" - "echo 'file_filter = ${_tx_translationDir}/${_fileName}_${_fileExt}'\n" - "echo ''\n" - ) - - endforeach() - - set(${_RESULT} ${__result} PARENT_SCOPE) -endfunction(lxqt_translate_desktop) diff --git a/cmake/LXQtTranslateTs.cmake b/cmake/LXQtTranslateTs.cmake deleted file mode 100644 index cf52e15..0000000 --- a/cmake/LXQtTranslateTs.cmake +++ /dev/null @@ -1,140 +0,0 @@ -#============================================================================= -# Copyright 2014 Luís Pereira -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# -# 1. Redistributions of source code must retain the copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# 3. The name of the author may not be used to endorse or promote products -# derived from this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. -# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -#============================================================================= -# -# funtion lxqt_translate_ts(qmFiles -# [USE_QT5 [Yes | No]] -# [UPDATE_TRANSLATIONS [Yes | No]] -# SOURCES -# [TEMPLATE] translation_template -# [TRANSLATION_DIR] translation_directory -# [INSTALL_DIR] install_directory -# [COMPONENT] component -# ) -# Output: -# qmFiles The generated compiled translations (.qm) files -# -# Input: -# USE_QT5 Optional flag to choose between Qt4 and Qt5. Defaults to Qt5 -# -# UPDATE_TRANSLATIONS Optional flag. Setting it to Yes, extracts and -# compiles the translations. Setting it No, only -# compiles them. -# -# TEMPLATE Optional translations files base name. Defaults to -# ${PROJECT_NAME}. An .ts extensions is added. -# -# TRANSLATION_DIR Optional path to the directory with the .ts files, -# relative to the CMakeList.txt. Defaults to -# "translations". -# -# INSTALL_DIR Optional destination of the file compiled files (qmFiles). -# If not present no installation is performed -# -# COMPONENT Optional install component. Only effective if INSTALL_DIR -# present. Defaults to "Runtime". - -# CMake v2.8.3 needed to use the CMakeParseArguments module -cmake_minimum_required(VERSION 2.8.3 FATAL_ERROR) - -# We use our patched version to round a annoying bug. -include(Qt5PatchedLinguistToolsMacros) - -function(lxqt_translate_ts qmFiles) - set(oneValueArgs USE_QT5 UPDATE_TRANSLATIONS TEMPLATE TRANSLATION_DIR INSTALL_DIR COMPONENT) - set(multiValueArgs SOURCES) - cmake_parse_arguments(TR "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN}) - - if (NOT DEFINED TR_UPDATE_TRANSLATIONS) - set(TR_UPDATE_TRANSLATIONS "No") - endif() - - if (NOT DEFINED TR_USE_QT5) - set(TR_USE_QT5 "Yes") - endif() - - if(NOT DEFINED TR_TEMPLATE) - set(TR_TEMPLATE "${PROJECT_NAME}") - endif() - - if (NOT DEFINED TR_TRANSLATION_DIR) - set(TR_TRANSLATION_DIR "translations") - endif() - - file(GLOB tsFiles "${TR_TRANSLATION_DIR}/${TR_TEMPLATE}_*.ts") - set(templateFile "${TR_TRANSLATION_DIR}/${TR_TEMPLATE}.ts") - - if(TR_USE_QT5) - # Qt5 - if (TR_UPDATE_TRANSLATIONS) - qt5_patched_create_translation(QMS - ${TR_SOURCES} - ${templateFile} - OPTIONS -locations absolute - ) - qt5_patched_create_translation(QM - ${TR_SOURCES} - ${tsFiles} - OPTIONS -locations absolute - ) - else() - qt5_patched_add_translation(QM ${tsFiles}) - endif() - else() - # Qt4 - if(TR_UPDATE_TRANSLATIONS) - qt4_create_translation(QMS - ${TR_SOURCES} - ${templateFile} - OPTIONS -locations absolute - ) - qt4_create_translation(QM - ${TR_SOURCES} - ${tsFiles} - OPTIONS -locations absolute - ) - else() - qt4_add_translation(QM ${tsFiles}) - endif() - endif() - - if(TR_UPDATE_TRANSLATIONS) - add_custom_target("update_${TR_TEMPLATE}_ts" ALL DEPENDS ${QMS}) - endif() - - if(DEFINED TR_INSTALL_DIR) - if(NOT DEFINED TR_COMPONENT) - set(TR_COMPONENT "Runtime") - endif() - - install(FILES ${QM} - DESTINATION "${TR_INSTALL_DIR}" - COMPONENT "${TR_COMPONENT}" - ) - endif() - - set(${qmFiles} ${QM} PARENT_SCOPE) -endfunction() diff --git a/cmake/Qt5TranslationLoader.cmake b/cmake/Qt5TranslationLoader.cmake deleted file mode 100644 index 26e2850..0000000 --- a/cmake/Qt5TranslationLoader.cmake +++ /dev/null @@ -1,47 +0,0 @@ -#============================================================================= -# Copyright 2014 Luís Pereira -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# -# 1. Redistributions of source code must retain the copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# 3. The name of the author may not be used to endorse or promote products -# derived from this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. -# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -#============================================================================= -# -# These functions enables "automatic" translation loading in Qt5 apps -# and libs. They generate a .cpp file that takes care of everything. The -# user doesn't have to do anything in the source code. -# -# qt5_translation_loader( ) -# -# Output: -# Appends the generated file to this variable. -# -# Input: -# Full path name to the translations dir. -# Translation catalog to be loaded. - -function(qt5_translation_loader source_files translations_dir catalog_name) - configure_file( - "${CMAKE_SOURCE_DIR}/Qt5TranslationLoader.cpp.in" - Qt5TranslationLoader.cpp @ONLY - ) - set(${source_files} ${${source_files}} ${CMAKE_CURRENT_BINARY_DIR}/Qt5TranslationLoader.cpp PARENT_SCOPE) -endfunction() diff --git a/debian/changelog b/debian/changelog index fd278c1..87e4d16 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,15 @@ +qps (1.10.19-1) unstable; urgency=medium + + * Cherry-picking upstream-version 1.10.19. + * Bumped Standards to 4.3.0, no changes needed + * Dropped d/compat, use debhelper-compat = 12, no changes needed + * Fixed years in d/copyright + * Removed some deprecated files from d/copyright + * Added build dependency lxqt-build-tools (>= 0.6.0~) + * Added d/upstream/metadata + + -- Alf Gaida Sun, 27 Jan 2019 14:05:17 +0100 + qps (1.10.18-1) unstable; urgency=medium * Cherry-picking upstream-version 1.10.18. diff --git a/debian/compat b/debian/compat deleted file mode 100644 index b4de394..0000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -11 diff --git a/debian/control b/debian/control index c27c25d..f249022 100644 --- a/debian/control +++ b/debian/control @@ -5,13 +5,14 @@ Uploaders: Alf Gaida , Andrew Lee (李健秋) Section: x11 Priority: optional -Build-Depends: debhelper (>= 11~), +Build-Depends: debhelper-compat (= 12), cmake, libxrender-dev, libqt5x11extras5-dev, + lxqt-build-tools (>= 0.6.0~), qttools5-dev, qttools5-dev-tools -Standards-Version: 4.1.4 +Standards-Version: 4.3.0 Vcs-Browser: https://salsa.debian.org/lxqt-team/qps Vcs-Git: https://salsa.debian.org/lxqt-team/qps.git Homepage: https://github.com/lxqt/qps diff --git a/debian/copyright b/debian/copyright index 56a0ace..aeacd5f 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,16 +1,11 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: qps -Source: http://github.com/lxqt/qps +Source: https://github.com/lxqt/qps Files: * Copyright: 1997-1999 Mattias Engdegård License: GPL-2.0+ -Files: cmake/LXQtTranslateTs.cmake - cmake/Qt5TranslationLoader.cmake -Copyright: Copyright 2014 Luís Pereira -License: BSD-3-clause - Files: cmake/Qt5PatchedLinguistToolsMacros.cmake Copyright: Copyright 2005-2011 Kitware, Inc. License: BSD-3-clause @@ -35,7 +30,7 @@ Copyright: 2003 Justin Karneges License: LGPL-2.1+ Files: debian/* -Copyright: 2015-2018 Alf Gaida +Copyright: 2015-2019 Alf Gaida 2015-2016 ChangZhuo Chen (陳昌倬) License: GPL-2.0+ diff --git a/debian/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..382fa8a --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,7 @@ +Name: qps +Bug-Database: https://github.com/lxqt/qps/issues +Bug-Submit: https://github.com/lxqt/qps/issues/new +Changelog: https://github.com/lxqt/qps/blob/master/CHANGELOG +Repository: https://github.com/lxqt/qps +Repository-Browser: https://github.com/lxqt/qps + diff --git a/qps.desktop.in b/qps.desktop.in index a802f1f..8398900 100644 --- a/qps.desktop.in +++ b/qps.desktop.in @@ -2,10 +2,14 @@ Type=Application Name=qps GenericName=Qt process manager +GenericName[ca]=Gestor de processos Qt GenericName[da]=Qt-proceshåndtering +GenericName[lt]=Qt procesų tvarkytuvė GenericName[pl]=Menedżer procesów Qt Comment=Qt application to display and manage running processes +Comment[ca]=Aplicació Qt per visualitzar i gestionar els processos en execució Comment[da]=Qt-program til at vise og håndtere kørende processer +Comment[lt]=Qt programa, skirta rodyti ir tvarkyti vykdomus procesus Comment[pl]=Aplikacja Qt do wyświetlania i zarządzania uruchomionymi procesami Icon=qps Categories=System; diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b6e0abb..f7b8d15 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -71,7 +71,7 @@ set(RESOURCES "../qps.qrc") lxqt_translate_ts(QM_FILES UPDATE_TRANSLATIONS ${UPDATE_TRANSLATIONS} SOURCES ${SOURCES} ${HEADERS} ${UIS} - INSTALL_DIR "${QPS_TRANSLATIONS_DIR}/${PROJECT_NAME}" + INSTALL_DIR "${QPS_TRANSLATIONS_DIR}" ) qt5_translation_loader( diff --git a/src/command.cpp b/src/command.cpp index 447e972..ca418e0 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -206,14 +206,17 @@ void Command::call(Procinfo *p) if (ret) { - msg = "The command:\n\n"; + msg = tr( "The command:\n\n" ); msg.append(s); if (ret == -1) { - msg.append("\n\nfailed with the error:\n\n"); - const char *e = - (errno == EAGAIN) ? "Too many processes" : strerror(errno); - msg.append(e ? e : "Unknown error"); + msg.append( tr( "\n\nfailed with the error:\n\n" ) ); + const char *e = static_cast< const char * >( 0 ); + msg.append( ( errno == EAGAIN ) + ? tr( "Too many processes" ) + : ( ( e = strerror( errno ) ) ) + ? QString::fromLocal8Bit( e ) + : tr( "Unknown error" ) ); } else if (ret & 0xff) { @@ -223,16 +226,16 @@ void Command::call(Procinfo *p) } else if (ret == 0x7f00) { - msg.append("\n\ncould not be executed because it was not " - "found,\nor you did not have execute permission."); + msg.append( tr( "\n\ncould not be executed because it was not " + "found,\nor you did not have execute permission." ) ); } else { - msg.append("\n\nexited with status "); + msg.append( tr( "\n\nexited with status " ) ); msg.append(QString().setNum(ret >> 8)); msg.append("."); } - QMessageBox::warning(0, "Command Failed", msg); + QMessageBox::warning(0, tr( "Command Failed" ), msg); } } diff --git a/src/command.h b/src/command.h index c586b00..88653ea 100644 --- a/src/command.h +++ b/src/command.h @@ -39,6 +39,7 @@ class ListModel; class Command { + Q_DECLARE_TR_FUNCTIONS(Command) public: Command(){}; Command(QString n, QString cmd, bool toolbar = false); diff --git a/src/commanddialog.cpp b/src/commanddialog.cpp index 12d75cf..e221f85 100644 --- a/src/commanddialog.cpp +++ b/src/commanddialog.cpp @@ -44,7 +44,7 @@ extern QList commands; CommandDialog::CommandDialog() { - setWindowTitle("Edit Commands 0.1 alpha"); + setWindowTitle( tr( "Edit Commands 0.1 alpha" ) ); // setWindowFlags(Qt::WindowStaysOnTopHint); QHBoxLayout *hbox = new QHBoxLayout(this); // TOP @@ -60,7 +60,7 @@ CommandDialog::CommandDialog() QHBoxLayout *h1 = new QHBoxLayout; vbox->addLayout(h1); - QLabel *l1 = new QLabel("Name:", this); + QLabel *l1 = new QLabel( tr( "Name:" ), this); h1->addWidget(l1); name = new QLineEdit(this); name->setMinimumWidth(170); @@ -76,12 +76,12 @@ CommandDialog::CommandDialog() if (0) { qcheck2 = new QCheckBox(this); - qcheck2->setText("Popup"); + qcheck2->setText( tr( "Popup" ) ); qcheck2->setEnabled(false); hbox2->addWidget(qcheck2); } - QLabel *l2 = new QLabel("Command Line:", this); + QLabel *l2 = new QLabel( tr( "Command Line:" ), this); l2->setFixedHeight(l2->sizeHint().height()); l2->setAlignment(Qt::AlignVCenter | Qt::AlignLeft); vbox->addWidget(l2); @@ -92,11 +92,11 @@ CommandDialog::CommandDialog() cmdline->setText(""); vbox->addWidget(cmdline); - QLabel *l3 = new QLabel("Substitutions:\n" - "%p\tPID\n" - "%c\tCOMMAND\n%C\tCMDLINE\n%u\tUSER\n" - "%%\t%\n" - "\n", + QLabel *l3 = new QLabel( tr( "Substitutions:\n" + "%p\tPID\n" + "%c\tCOMMAND\n%C\tCMDLINE\n%u\tUSER\n" + "%%\t%\n" + "\n" ), this); l3->setFrameStyle(QFrame::Panel); @@ -106,13 +106,13 @@ CommandDialog::CommandDialog() QHBoxLayout *hl = new QHBoxLayout; vbox->addLayout(hl); - new0 = new QPushButton("New...", this); + new0 = new QPushButton( tr( "New..." ), this); hl->addWidget(new0); - add = new QPushButton("Add...", this); + add = new QPushButton( tr( "Add..." ), this); hl->addWidget(add); - del = new QPushButton("Delete", this); + del = new QPushButton( tr( "Delete" ), this); hl->addWidget(del); - button_ok = new QPushButton("Close", this); + button_ok = new QPushButton( tr( "Close" ), this); hl->addWidget(button_ok); connect(listview, SIGNAL(clicked(const QModelIndex &)), @@ -226,7 +226,7 @@ void CommandDialog::reset() listview->reset(); name->setText(""); cmdline->setText(""); - add->setText("Add..."); + add->setText( tr( "Add..." ) ); add->setEnabled(0); button_ok->setEnabled(1); listview->clearSelection(); diff --git a/src/details.cpp b/src/details.cpp index 877cf4f..fce97d1 100644 --- a/src/details.cpp +++ b/src/details.cpp @@ -29,14 +29,12 @@ #include "qps.h" // static flag Details::Details(Procinfo *p, Proc *proc) : QWidget(0) { - QString cap; pi = p; pi->detail = this; pr = proc; // printf("pi=%x\n",pi); - cap.sprintf("Process %d ( %s ) - details", pi->pid, - qPrintable(pi->command)); - setWindowTitle(cap); + setWindowTitle( tr( "Process %1 ( %2 ) - details" ).arg( pi->pid ) + .arg( pi->command ) ); tbar = new QTabWidget(this); // tbar->setMargin(5); @@ -44,7 +42,7 @@ Details::Details(Procinfo *p, Proc *proc) : QWidget(0) // if(pi->fd_files) //if(pi->fd_files->size()) if (pi->read_fds()) { - tbar->addTab(new Files(this), "&Files"); + tbar->addTab(new Files(this), tr( "Files" ) ); // if(pi->read_fds()) // create sock_inodes #ifdef LINUX @@ -53,15 +51,15 @@ Details::Details(Procinfo *p, Proc *proc) : QWidget(0) // no socket pane show in Detail dialog. // Procinfo::read_sockets(); if (pi->sock_inodes.size() != 0) - tbar->addTab(new Sockets(this), "&Sockets"); + tbar->addTab(new Sockets(this), tr( "Sockets" ) ); #endif } if (pi->read_maps()) - tbar->addTab(new Maps(this), "&Memory Maps"); + tbar->addTab(new Maps(this), tr( "Memory Maps" ) ); if (pi->read_environ()) - tbar->addTab(new Environ(this), "&Environment"); - tbar->addTab(new AllFields(this), "&All Fields"); + tbar->addTab(new Environ(this), tr( "Environment" ) ); + tbar->addTab(new AllFields(this), tr( "All Fields" ) ); tbar->adjustSize(); QSize s0 = tbar->sizeHint(); @@ -148,18 +146,21 @@ bool Sockets::have_services = false; QHash Sockets::servdict; Lookup *Sockets::lookup = 0; -TableField Sockets::fields[] = { - {"Fd", 5, 8, Qt::AlignRight, "File descriptor"}, - {"Proto", 4, 8, Qt::AlignLeft, "Protocol (TCP or UDP)"}, - {"Recv-Q", 9, 8, Qt::AlignRight, "Bytes in receive queue"}, - {"Send-Q", 9, 8, Qt::AlignRight, "Bytes in send queue"}, - {"Local Addr", -1, 8, Qt::AlignLeft, "Local IP address"}, - {"Port", 6, 8, Qt::AlignLeft, "Local port"}, - {"Remote Addr", -1, 8, Qt::AlignLeft, "Remote IP address"}, - {"Port", 6, 8, Qt::AlignLeft, "Remote port"}, - {"State", 18, 8, Qt::AlignLeft, "Connection state"}}; +TableField *Sockets::fields() +{ + static QVector< TableField > fields( { { tr( "Fd" ), 5, 8, Qt::AlignRight, tr( "File descriptor" ) } + , { tr( "Proto" ), 4, 8, Qt::AlignLeft, tr( "Protocol (TCP or UDP)" ) } + , { tr( "Recv-Q" ), 9, 8, Qt::AlignRight, tr( "Bytes in receive queue" ) } + , { tr( "Send-Q" ), 9, 8, Qt::AlignRight, tr( "Bytes in send queue" ) } + , { tr( "Local Addr" ), -1, 8, Qt::AlignLeft, tr( "Local IP address" ) } + , { tr( "Port" ), 6, 8, Qt::AlignLeft, tr( "Local port" ) } + , { tr( "Remote Addr" ), -1, 8, Qt::AlignLeft, tr( "Remote IP address" ) } + , { tr( "Port" ), 6, 8, Qt::AlignLeft, tr( "Remote port" ) } + , { tr( "State" ), 18, 8, Qt::AlignLeft, tr( "Connection state" ) } } ); + return fields.data(); +} -Sockets::Sockets(QWidget *parent) : SimpleTable(parent, SOCKFIELDS, fields) +Sockets::Sockets(QWidget *parent) : SimpleTable(parent, SOCKFIELDS, fields() ) { if (!lookup) lookup = new Lookup(); @@ -390,18 +391,20 @@ Sockets::~Sockets() {} void Sockets::update_hostname(unsigned int) {} #endif - -TableField Maps::fields[] = { - {"Address Range", -1, 8, Qt::AlignLeft, "Mapped addresses (hex)"}, - {"Size", 8, 8, Qt::AlignRight, "Kbytes mapped (dec)"}, - {"Perm", 5, 8, Qt::AlignLeft, "Permission flags"}, - {"Offset", -1, 8, Qt::AlignRight, "File offset at start of mapping (hex)"}, - {"Device", 8, 8, Qt::AlignLeft, "Major,Minor device numbers (dec)"}, - {"Inode", 10, 8, Qt::AlignRight, "Inode number (dec)"}, - {"File", -9, 8, Qt::AlignLeft, "File name (if available)"}}; +TableField *Maps::fields() +{ + static QVector< TableField > fields( { { tr( "Address Range" ), -1, 8, Qt::AlignLeft, tr( "Mapped addresses (hex) )" ) } + , { tr( "Size" ), 8, 8, Qt::AlignRight, tr( "Kbytes mapped (dec)" ) } + , { tr( "Perm" ), 5, 8, Qt::AlignLeft, tr( "Permission flags" ) } + , { tr( "Offset" ), -1, 8, Qt::AlignRight, tr( "File offset at start of mapping (hex)" ) } + , { tr( "Device" ), 8, 8, Qt::AlignLeft, tr( "Major,Minor device numbers (dec)" ) } + , { tr( "Inode" ), 10, 8, Qt::AlignRight, tr( "Inode number (dec)" ) } + , { tr( "File" ), -9, 8, Qt::AlignLeft, tr( "File name (if available)" ) } } ); + return fields.data(); +} // memory leak -Maps::Maps(QWidget *parent) : SimpleTable(parent, MAPSFIELDS, fields) +Maps::Maps(QWidget *parent) : SimpleTable(parent, MAPSFIELDS, fields() ) { // monospaced font looks best in the table body since it contains // hex numerals and flag fields. Pick Courier (why not) @@ -517,14 +520,17 @@ void Maps::refresh() bool Maps::refresh_maps() { return procinfo()->read_maps(); } -TableField Files::fields[] = { - {"Fd", 5, 8, Qt::AlignRight, "File descriptor"}, +TableField *Files::fields() +{ + static QVector< TableField > fields( { { tr( "Fd" ), 5, 8, Qt::AlignRight, tr( "File descriptor" ) } #ifdef LINUX - {"Mode", 3, 8, Qt::AlignLeft, "Open mode"}, + , { tr( "Mode" ), 3, 8, Qt::AlignLeft, tr( "Open mode" ) } #endif - {"Name", -1, 8, Qt::AlignLeft, "File name (if available)"}}; + , { tr( "Name" ), -1, 8, Qt::AlignLeft, tr( "File name (if available)" )} } ); + return fields.data(); +} -Files::Files(QWidget *parent) : SimpleTable(parent, FILEFIELDS, fields) +Files::Files(QWidget *parent) : SimpleTable(parent, FILEFIELDS, fields() ) { // compute total width = window width refresh_window(); @@ -598,13 +604,16 @@ QString Files::text(int row, int col) return s; } -TableField Environ::fields[] = { - {"Variable", -1, 8, Qt::AlignLeft, "Variable name"}, - {"Value", -1, 8, Qt::AlignLeft, "Variable value"}}; +TableField *Environ::fields() +{ + static QVector< TableField > fields( { { tr( "Variable" ), -1, 8, Qt::AlignLeft, tr( "Variable name" ) } + , { tr( "Value" ), -1, 8, Qt::AlignLeft, tr( "Variable value" ) } } ); + return fields.data(); +} Environ *Environ::static_env = 0; Environ::Environ(QWidget *parent) - : SimpleTable(parent, ENVFIELDS, fields), rev(false) + : SimpleTable(parent, ENVFIELDS, fields() ), rev(false) { connect(this, SIGNAL(titleClicked(int)), SLOT(sort_change(int))); refresh(); @@ -684,13 +693,17 @@ int Environ::compare(const NameValue *a, const NameValue *b) return e->rev ? -r : r; } -TableField AllFields::fields[] = { - {"Field", -1, 8, Qt::AlignLeft, "Field name"}, - {"Description", -1, 8, Qt::AlignLeft, "Field description"}, - {"Value", -1, 8, Qt::AlignLeft, "Field value"}}; +TableField *AllFields::fields() +{ + static QVector< TableField > fields( { { tr( "Field" ), -1, 8, Qt::AlignLeft, tr( "Field name" ) } + , { tr( "Description" ), -1, 8, Qt::AlignLeft, tr( "Field description" ) } + , { tr( "Value" ), -1, 8, Qt::AlignLeft, tr( "Field value" ) } } ); + return fields.data(); +} + AllFields::AllFields(QWidget *parent) - : SimpleTable(parent, FIELDSFIELDS, fields) + : SimpleTable(parent, FIELDSFIELDS, fields() ) { refresh(); // compute total width = window width diff --git a/src/details.h b/src/details.h index 313bef9..0bd1960 100644 --- a/src/details.h +++ b/src/details.h @@ -125,7 +125,7 @@ class Sockets : public SimpleTable STATE, SOCKFIELDS }; - static TableField fields[SOCKFIELDS]; + static TableField *fields(); bool doing_lookup; // if table painted with host lookup @@ -159,7 +159,7 @@ class Maps : public SimpleTable FILENAME, MAPSFIELDS }; - static TableField fields[MAPSFIELDS]; + static TableField *fields(); }; class Files : public SimpleTable @@ -185,7 +185,7 @@ class Files : public SimpleTable FILENAME, FILEFIELDS }; - static TableField fields[FILEFIELDS]; + static TableField *fields(); }; class Environ : public SimpleTable @@ -216,7 +216,7 @@ class Environ : public SimpleTable }; bool rev; // sorting reversed static Environ *static_env; // for sorting, must have static pointer - static TableField fields[ENVFIELDS]; + static TableField *fields(); }; class AllFields : public SimpleTable @@ -239,7 +239,7 @@ class AllFields : public SimpleTable FIELDVALUE, FIELDSFIELDS }; - static TableField fields[FIELDSFIELDS]; + static TableField *fields(); }; #endif // DETAILS_H diff --git a/src/dialogs.cpp b/src/dialogs.cpp index 73d597d..ddccd34 100644 --- a/src/dialogs.cpp +++ b/src/dialogs.cpp @@ -48,13 +48,13 @@ static void fix_size(QWidget *w) { w->setFixedSize(w->sizeHint()); } // Modal dialog IntervalDialog::IntervalDialog(const char *ed_txt, bool enabled) : QDialog() { - setWindowTitle("Change Update Period"); + setWindowTitle( tr( "Change Update Period" ) ); QVBoxLayout *tl = new QVBoxLayout; QHBoxLayout *h1 = new QHBoxLayout; setLayout(tl); tl->addLayout(h1); - QLabel *label1 = new QLabel("New Update Period", this); + QLabel *label1 = new QLabel( tr( "New Update Period" ), this); h1->addWidget(label1); h1->addStretch(1); @@ -91,9 +91,9 @@ IntervalDialog::IntervalDialog(const char *ed_txt, bool enabled) : QDialog() */ QHBoxLayout *h2 = new QHBoxLayout; // h2->addStretch(1); - cancel = new QPushButton("Cancel", this); + cancel = new QPushButton( tr( "Cancel" ), this); h2->addWidget(cancel); - ok = new QPushButton("OK", this); + ok = new QPushButton( tr( "OK" ), this); // ok->setFocus(); h2->addWidget(ok); tl->addLayout(h2); @@ -127,7 +127,7 @@ void IntervalDialog::event_label_changed() QString s = ed_result; if (s.length() == 0) { - label->setText("No UPDATE"); + label->setText( tr( "No UPDATE" ) ); return; } @@ -145,7 +145,7 @@ void IntervalDialog::event_label_changed() period = -1; if (period <= 0) { - label->setText("Invalid value"); + label->setText( tr( "Invalid value" ) ); return; } @@ -185,13 +185,13 @@ void IntervalDialog::done_dialog() SliderDialog::SliderDialog(int defaultval, int minval, int maxval) : QDialog() { - setWindowTitle("Renice Process"); + setWindowTitle( tr( "Renice Process" ) ); QVBoxLayout *tl = new QVBoxLayout; QHBoxLayout *h1 = new QHBoxLayout; setLayout(tl); tl->addLayout(h1); - label = new QLabel("New nice value:", this); + label = new QLabel( tr( "New nice value:" ), this); h1->addWidget(label); h1->addStretch(1); @@ -231,11 +231,11 @@ SliderDialog::SliderDialog(int defaultval, int minval, int maxval) : QDialog() tl->addLayout(h3); h3->addStretch(1); - cancel = new QPushButton("Cancel", this); + cancel = new QPushButton( tr( "Cancel" ), this); // fix_size(cancel); h3->addWidget(cancel); - ok = new QPushButton("OK", this); + ok = new QPushButton( tr( "OK" ), this); ok->setFixedSize(cancel->sizeHint()); h3->addWidget(ok); @@ -270,7 +270,7 @@ void SliderDialog::slider_change(int val) // DRAFT CODE, PermissionDialog::PermissionDialog(QString msg, QString passwd) : QDialog() { - setWindowTitle("Permission"); + setWindowTitle( tr( "Permission" ) ); QVBoxLayout *vbox = new QVBoxLayout; label = new QLabel(msg, this); vbox->addWidget(label); @@ -279,17 +279,17 @@ PermissionDialog::PermissionDialog(QString msg, QString passwd) : QDialog() QHBoxLayout *hbox = new QHBoxLayout; vbox->addLayout(hbox); - label = new QLabel("root password", this); + label = new QLabel( tr( "Root password" ), this); hbox->addWidget(label); lined = new QLineEdit(this); hbox->addWidget(lined); hbox = new QHBoxLayout; vbox->addLayout(hbox); - QPushButton *cancel = new QPushButton("Cancel", this); + QPushButton *cancel = new QPushButton( tr( "Cancel" ), this); hbox->addWidget(cancel); - QPushButton *ok = new QPushButton("OK", this); + QPushButton *ok = new QPushButton( tr( "OK" ), this); hbox->addWidget(ok); connect(ok, SIGNAL(clicked()), SLOT(accept())); @@ -298,15 +298,15 @@ PermissionDialog::PermissionDialog(QString msg, QString passwd) : QDialog() SchedDialog::SchedDialog(int policy, int prio) : QDialog() { - setWindowTitle("Change scheduling"); + setWindowTitle( tr( "Change scheduling" ) ); QVBoxLayout *vl = new QVBoxLayout; setLayout(vl); - bgrp = new QGroupBox("Scheduling Policy", this); + bgrp = new QGroupBox( tr( "Scheduling Policy" ), this); vl->addWidget(bgrp); // bgrp->setCheckable(1); - rb_other = new QRadioButton("SCHED_OTHER (time-sharing)", bgrp); - rb_fifo = new QRadioButton("SCHED_FIFO (real-time)", bgrp); - rb_rr = new QRadioButton("SCHED_RR (real-time)", bgrp); + rb_other = new QRadioButton( tr( "SCHED_OTHER (time-sharing)" ), bgrp); + rb_fifo = new QRadioButton( tr( "SCHED_FIFO (real-time)" ), bgrp); + rb_rr = new QRadioButton( tr( "SCHED_RR (real-time)" ), bgrp); QVBoxLayout *vbox = new QVBoxLayout; vbox->addWidget(rb_other); @@ -320,9 +320,9 @@ SchedDialog::SchedDialog(int policy, int prio) : QDialog() QHBoxLayout *hbox1 = new QHBoxLayout; QPushButton *ok, *cancel; - ok = new QPushButton("OK", this); + ok = new QPushButton( tr( "OK" ), this); ok->setDefault(true); - cancel = new QPushButton("Cancel", this); + cancel = new QPushButton( tr( "Cancel" ), this); hbox1->addWidget(ok); hbox1->addWidget(cancel); vl->addLayout(hbox1); @@ -352,7 +352,7 @@ SchedDialog::SchedDialog(int policy, int prio) : QDialog() out_prio = prio; QHBoxLayout *hbox = new QHBoxLayout; - lbl = new QLabel("Priority (1-99):", this); + lbl = new QLabel( tr( "Priority (1-99):" ), this); lined = new QLineEdit(this); hbox->addWidget(lbl); hbox->addWidget(lined); @@ -384,8 +384,9 @@ void SchedDialog::done_dialog() out_prio = s.toInt(&ok); if (out_policy != SCHED_OTHER && (!ok || out_prio < 1 || out_prio > 99)) { - QMessageBox::warning(this, "Invalid Input", - "The priority must be in the range 1..99"); + QMessageBox::warning( this + , tr( "Invalid Input" ) + , tr( "The priority must be in the range 1..99" ) ); } else accept(); diff --git a/src/execwindow.cpp b/src/execwindow.cpp index 1b24bb5..fd85694 100644 --- a/src/execwindow.cpp +++ b/src/execwindow.cpp @@ -39,7 +39,7 @@ ExecWindow::~ExecWindow() {} ExecWindow::ExecWindow(watchCond *wc, int pid, QString cmd) { setupUi(this); - setWindowTitle("Qps Watchdog"); + setWindowTitle( tr( "Qps Watchdog" ) ); wcond = wc; @@ -94,16 +94,16 @@ void ExecWindow::cmd_ok() // slot : catch terminate signal. void ExecWindow::cmd_finished(int exitCode, QProcess::ExitStatus exitStatus) { - textEdit->append(wcond->command + " exit with code " + - QString::number(exitStatus)); - okButton->setText("Close"); + textEdit->append( tr( "%1 exit with code %2" ).arg( wcond->command ) + .arg( exitStatus ) ); + okButton->setText( tr( "Close" ) ); delete pr; } void ExecWindow::cmd_started() { - textEdit->append(wcond->command + " [running]"); - okButton->setText("terminate command"); + textEdit->append( tr( "%1 [running]" ).arg( wcond->command ) ); + okButton->setText( tr( "terminate command" ) ); flag_started = true; } @@ -112,11 +112,8 @@ void ExecWindow::cmd_error(QProcess::ProcessError e) // not found command // Error ? : if (e == QProcess::FailedToStart) - // textEdit->append("Error : command not found [" + - // command + "]" + "(code - //" + QString::number(e) + ")" ); - textEdit->append("Error " + QString::number(e) + " : [" + - wcond->command + "] Maybe command not found"); + textEdit->append( tr( "Error %1 : [%2] Maybe command not found" ).arg( e ) + .arg( wcond->command ) ); delete pr; } diff --git a/src/fieldsel.cpp b/src/fieldsel.cpp index 978e8c5..d2b53a2 100644 --- a/src/fieldsel.cpp +++ b/src/fieldsel.cpp @@ -31,7 +31,7 @@ FieldSelect::FieldSelect(Procview *pv) int half = (nbuttons + 1) / 2; updating = false; - setWindowTitle("Select Custom Fields "); + setWindowTitle(tr( "Select Custom Fields " ) ); QBoxLayout *v_layout = new QVBoxLayout; setLayout(v_layout); @@ -65,7 +65,7 @@ FieldSelect::FieldSelect(Procview *pv) } update_boxes(); - QPushButton *closebut = new QPushButton("Close", this); + QPushButton *closebut = new QPushButton( tr( "Close" ), this); connect(closebut, SIGNAL(clicked()), SLOT(closed())); closebut->setFocus(); @@ -82,7 +82,7 @@ void FieldSelect::field_toggled(bool) for (int i = 0; i < nbuttons; i++) { - Category *cat = procview->cat_by_name(buts[i]->text().toLatin1()); + Category *cat = procview->cat_by_name(buts[i]->text()); if (buts[i]->isChecked() != disp_fields.testBit(cat->id)) { @@ -116,7 +116,7 @@ void FieldSelect::update_boxes() updating = true; for (int i = 0; i < nbuttons; i++) { - Category *cat = procview->cat_by_name(buts[i]->text().toLatin1()); + Category *cat = procview->cat_by_name(buts[i]->text()); buts[i]->setChecked(disp_fields.testBit(cat->id)); } updating = false; diff --git a/src/listmodel.cpp b/src/listmodel.cpp index 5ffbbcc..986846b 100644 --- a/src/listmodel.cpp +++ b/src/listmodel.cpp @@ -63,9 +63,9 @@ QVariant ListModel::headerData(int section, Qt::Orientation orientation, if (role == Qt::DisplayRole) { if (section == 0) - return QString("Event Category"); + return QString(tr( "Event Category" ) ); if (section == 1) - return QString("Enable"); + return QString( tr( "Enable" ) ); } /* if (role == Qt::FontRole) diff --git a/src/misc.cpp b/src/misc.cpp index 0ebd8da..9dc63c4 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -344,7 +344,7 @@ TBloon::TBloon(QWidget *parent) : QLabel(parent) "rgb(255,120,60); }"); // COLOR orange FF5d00 - setText(" This is unstable Alpha feature\n You maybe see a SEGFAULT..."); + setText( tr( " This is unstable Alpha feature\n You maybe see a SEGFAULT..." ) ); resize(sizeHint()); // parent->installEventFilter(this); // parent->setMouseTracking(true); @@ -423,7 +423,7 @@ void TBloon::paintEvent( QPaintEvent * event ) TFrame::TFrame(QWidget *parent) : QLabel(parent) // TFrame::TFrame(QWidget *parent):QFrame(parent) { - text = "this is Tframe widget"; + text = tr( "this is Tframe widget" ); // setAutoFillBackground(false); // setGeometry(50,50,100,100); // setAttribute(Qt::WA_OpaquePaintEvent); @@ -612,7 +612,7 @@ UFrame::UFrame(QWidget *parent) : QFrame(parent) hide(); QVBoxLayout *vlayout = new QVBoxLayout; - QLabel *label = new QLabel("title"); + QLabel *label = new QLabel( tr( "title" ) ); vlayout->addWidget(label); setLayout(vlayout); @@ -803,7 +803,7 @@ void XButton::paintEvent(QPaintEvent *event) SearchBox::SearchBox(QWidget *parent) : QLineEdit(parent) { - setToolTip("PID,COMMAND,USER..."); + setToolTip( tr( "PID,COMMAND,USER..." ) ); left_time = 0; setMaximumWidth(300); setMinimumWidth(20); @@ -892,9 +892,7 @@ void StatusBar::refresh() {} extern int num_opened_files; void StatusBar::update(int total_n) { - QString str; - int x = 0; - label->setText("Process count: " + str.setNum(total_n)); + label->setText(tr( "Process count: %1" ).arg( total_n ) ); // button2->setTextLabel ("Network Process(testing): "+ // str.setNum(Procinfo::num_network_process)); // button3->setText ("Opened files : "+ @@ -924,10 +922,10 @@ ControlBar::ControlBar(QWidget *parent) : QFrame(parent) min-width: 80px; */ /* image: url(:/icon/vista.png);*/ - b_linear = new QRadioButton("Linear", this); + b_linear = new QRadioButton(tr( "Linear" ), this); b_linear->setFocusPolicy(Qt::NoFocus); - b_tree = new QRadioButton("Tree", this); + b_tree = new QRadioButton( tr( "Tree" ), this); b_tree->setFocusPolicy(Qt::NoFocus); search_box = new SearchBox(this); @@ -941,17 +939,17 @@ ControlBar::ControlBar(QWidget *parent) : QFrame(parent) if (flag_thread_ok) { - check_thread = new QCheckBox("Thread", this); + check_thread = new QCheckBox( ( "Thread" ), this); check_thread->setFocusPolicy(Qt::NoFocus); connect(check_thread, SIGNAL(clicked()), SLOT(show_thread_clicked())); check_thread->setChecked(flag_show_thread); } view = new QComboBox(this); - view->insertItem(0, "All Processes", Procview::ALL); - view->insertItem(1, "Your Processes", Procview::OWNED); - view->insertItem(2, "Non-Root Processes", Procview::NROOT); - view->insertItem(3, "Running Processes", Procview::RUNNING); + view->insertItem(0, tr( "All Processes" ), Procview::ALL); + view->insertItem(1, tr( "Your Processes" ), Procview::OWNED); + view->insertItem(2, tr( "Non-Root Processes" ), Procview::NROOT); + view->insertItem(3, tr( "Running Processes" ), Procview::RUNNING); connect(view, SIGNAL(activated(int)), SLOT(view_changed(int))); view->setFocusPolicy(Qt::NoFocus); // PAUSED view->insertItem("Hidden Processes", Procview::HIDDEN); diff --git a/src/prefs.cpp b/src/prefs.cpp index 20f9afe..e873907 100644 --- a/src/prefs.cpp +++ b/src/prefs.cpp @@ -46,60 +46,86 @@ class Swapvalid : public QValidator struct Boxvar { - const char *text; +Q_DECLARE_TR_FUNCTIONS(Boxvar) +public: + const QString text; bool *variable; // CrossBox *cb; QCheckBox *cb; -}; -static Boxvar general_boxes[] = { - // {"Graphic Load Display", &Qps::show_load_graph, 0}, - // {"Graphic CPU Display", &Qps::show_cpu_bar, 0}, - //{"Minimized on Close Button", &Qps::flag_systray, 0}, - {"Exit On Close Button", &Qps::flag_exit, 0}, - - // TEMPO - // {"Use Tab-View", &Qps::flag_useTabView, 0}, - // {"Hide qps in Linear mode", &Qps::flag_qps_hide, 0}, - // {"Load Graph in Icon", &Qps::load_in_icon, 0}, - // {"Selection: Copy PIDs to Clipboard", &Qps::pids_to_selection, 0}, - // {"show underdevelopment ", &Qps::flag_devel, 0}, - // {"Vertical CPU Bar (under development)", &Qps::vertical_cpu_bar, 0}, - {0, 0, 0}}; + Boxvar() : text( QString() ), variable( static_cast< bool * >( 0 ) ), cb( static_cast< QCheckBox *>( 0 ) ) {} + Boxvar( const QString t, bool *v, QCheckBox *c ) : text( t ), variable( v ), cb( c ) {} -#ifdef LINUX -static Boxvar sockinfo_boxes[] = { - {"Host Name Lookup", &Qps::hostname_lookup, 0}, - {"Service Name Lookup", &Qps::service_lookup, 0}, - {0, 0, 0}}; -#endif + static QVector< Boxvar > *general_boxes() + { + static QVector< Boxvar > boxes( { { tr( "Exit On Close Button" ), &Qps::flag_exit, 0} +// , { tr( "Graphic Load Display" ), &Qps::show_load_graph, 0 } +// , { tr( "Graphic CPU Display" ), &Qps::show_cpu_bar, 0} +// , { tr( "Minimized on Close Button" ), &Qps::flag_systray, 0} +// TEMPO +// , { tr( "Use Tab-View" ), &Qps::flag_useTabView, 0} +// , { tr( "Hide qps in Linear mode" ), &Qps::flag_qps_hide, 0} +// , { tr( "Load Graph in Icon" ), &Qps::load_in_icon, 0} +// , { tr( "Selection: Copy PIDs to Clipboard" ), &Qps::pids_to_selection, 0} +// , { tr( "show underdevelopment" ), &Qps::flag_devel, 0} +// , { tr( "Vertical CPU Bar (under development)" ), &Qps::vertical_cpu_bar, 0} + } ); + return &boxes; + } -static Boxvar tree_boxes[] = {{"Disclosure Triangles", &Qps::tree_gadgets, 0}, - {"Branch Lines", &Qps::tree_lines, 0}, - {0, 0, 0}}; +//#ifdef LINUX + static QVector< Boxvar > *sockinfo_boxes() + { + static QVector< Boxvar > boxes( { { tr( "Host Name Lookup" ), &Qps::hostname_lookup, 0} + , { tr( "Service Name Lookup" ), &Qps::service_lookup, 0} } ); + return &boxes; + } +//#endif + static QVector< Boxvar > *tree_boxes() + { + static QVector< Boxvar > boxes( { { tr( "Disclosure Triangles" ), &Qps::tree_gadgets, 0} + , { tr( "Branch Lines" ), &Qps::tree_lines, 0} } ); + return &boxes; + } -static Boxvar misc_boxes[] = { - {"Auto Save Settings on Exit", &Qps::auto_save_options, 0}, - {"Selection: Copy PIDs to Clipboard", &Qps::pids_to_selection, 0}, + static QVector< Boxvar > *misc_boxes() + { + static QVector< Boxvar > boxes( { { tr( "Auto Save Settings on Exit" ), &Qps::auto_save_options, 0} + , { tr( "Selection: Copy PIDs to Clipboard" ), &Qps::pids_to_selection, 0} #ifdef SOLARIS - {"Normalize NICE", &Qps::normalize_nice, 0}, - {"Use pmap for Map Names", &Qps::use_pmap, 0}, + , { tr( "Normalize NICE" ), &Qps::normalize_nice, 0} + , { tr( "Use pmap for Map Names" ), &Qps::use_pmap, 0} #endif - {0, 0, 0}}; + } ); + return &boxes; + } + +}; struct Cbgroup { - const char *caption; - Boxvar *boxvar; -}; +Q_DECLARE_TR_FUNCTIONS(Cbgroup) +public: + const QString caption; + QVector< Boxvar > *boxvar; -static Cbgroup groups[] = {{"General", general_boxes}, + Cbgroup() : caption( QString() ), boxvar( static_cast< QVector< Boxvar > * >( 0 ) ) {} + Cbgroup( const QString c, QVector< Boxvar > *b ) : caption( c ), boxvar( b ) {} + + static QVector< Cbgroup > &groups() + { + static QVector< Cbgroup > groups( { { tr( "General" ), Boxvar::general_boxes() } #ifdef LINUX -// {"Socket Info Window", sockinfo_boxes}, +// , { tr( "Socket Info Window" ), Boxvar::sockinfo_boxes() } #endif - // {"Tree View", tree_boxes}, - // {"Miscellaneous", misc_boxes}, - {0, 0}}; +// , { tr( "Tree View" ), Boxvar::tree_boxes() } +// , { tr( "Miscellaneous" ), Boxvar::misc_boxes() } + } ); + return groups; + } + +}; + void find_fontsets(); // dual use function: both validate and apply changes @@ -137,14 +163,14 @@ QValidator::State Swapvalid::validate(QString &s, int &) const Preferences::Preferences() : QDialog() { int flag_test = 0; - setWindowTitle("Preferences"); + setWindowTitle( tr( "Preferences" ) ); QVBoxLayout *v_layout = new QVBoxLayout; if (flag_test) { QTabWidget *tbar = new QTabWidget(this); QWidget *w = new QWidget(this); - tbar->addTab(w, "&Setting"); + tbar->addTab(w, tr( "Setting" ) ); w->setLayout(v_layout); } else @@ -155,20 +181,26 @@ Preferences::Preferences() : QDialog() const int border_x = 10; int min_x = 0; - for (Cbgroup *g = groups; g->caption; g++) + QVector< Cbgroup >::iterator endItG = Cbgroup::groups().end(); + for( QVector< Cbgroup >::iterator itG = Cbgroup::groups().begin(); itG != endItG; ++ itG ) { - QGroupBox *grp = new QGroupBox(g->caption, this); + QGroupBox *grp = new QGroupBox( itG->caption, this ); QVBoxLayout *vbox = new QVBoxLayout; - for (Boxvar *b = g->boxvar; b->text; b++) + if ( itG->boxvar ) { - b->cb = new QCheckBox(b->text, grp); - vbox->addWidget(b->cb); - connect(b->cb, SIGNAL(clicked()), SLOT(update_reality())); - // -> EMIT prefs_change() + QVector< Boxvar >::iterator endItB = itG->boxvar->end(); + for( QVector< Boxvar >::iterator itB = itG->boxvar->begin(); itB != endItB; ++ itB ) + { + itB->cb = new QCheckBox( itB->text, grp ); + vbox->addWidget( itB->cb ); + connect( itB->cb, SIGNAL(clicked()), SLOT(update_reality())); + // -> EMIT prefs_change() + } } grp->setLayout(vbox); v_layout->addWidget(grp); } + update_boxes(); /* @@ -200,23 +232,22 @@ Preferences::Preferences() : QDialog() if (QPS_PROCVIEW_CPU_NUM() > 1) { - QGroupBox *grp_cpu = new QGroupBox("%CPU divided by", this); + QGroupBox *grp_cpu = new QGroupBox( tr( "%CPU divided by" ), this); QVBoxLayout *vboxlayout = new QVBoxLayout; QHBoxLayout *hbox = new QHBoxLayout; vboxlayout->addLayout(hbox); // num_cpus - QString str; - str.sprintf("Total cpu: %d", QPS_PROCVIEW_CPU_NUM()); - rb_totalcpu = new QRadioButton(str, grp_cpu); - QRadioButton *rb2 = new QRadioButton("Single cpu: 1", grp_cpu); + + rb_totalcpu = new QRadioButton( tr( "Total cpu: %1" ).arg( QPS_PROCVIEW_CPU_NUM() ), grp_cpu); + QRadioButton *rb2 = new QRadioButton( tr( "Single cpu: 1" ), grp_cpu); if (!Procview::flag_pcpu_single) rb_totalcpu->setChecked(true); else rb2->setChecked(true); - rb_totalcpu->setToolTip("default"); - rb2->setToolTip("for developer"); + rb_totalcpu->setToolTip( tr( "default" ) ); + rb2->setToolTip( tr( "for developer" ) ); hbox->addWidget(rb_totalcpu); hbox->addWidget(rb2); grp_cpu->setLayout(vboxlayout); @@ -252,7 +283,7 @@ Preferences::Preferences() : QDialog() { font_cb->show(); - QGroupBox *gbox = new QGroupBox("Appearance", this); + QGroupBox *gbox = new QGroupBox( tr( "Appearance" ), this); QVBoxLayout *vbox = new QVBoxLayout; QHBoxLayout *hbox = new QHBoxLayout(); @@ -324,17 +355,37 @@ void Preferences::init_font_size() // slot: update check boxes to reflect current status void Preferences::update_boxes() { - for (Cbgroup *g = groups; g->caption; g++) - for (Boxvar *b = g->boxvar; b->text; b++) - b->cb->setChecked(*b->variable); + QVector< Cbgroup >::iterator endItG = Cbgroup::groups().end(); + for( QVector< Cbgroup >::iterator itG = Cbgroup::groups().begin(); itG != endItG; ++ itG ) + { + if ( ! itG->boxvar ) + { + continue; + } + QVector< Boxvar >::iterator endItB = itG->boxvar->end(); + for( QVector< Boxvar >::iterator itB = itG->boxvar->begin(); itB != endItB; ++ itB ) + { + itB->cb->setChecked( *( itB->variable ) ); + } + } } // slot: update flags and repaint to reflect state of check boxes void Preferences::update_reality() { - for (Cbgroup *g = groups; g->caption; g++) - for (Boxvar *b = g->boxvar; b->text; b++) - *b->variable = b->cb->isChecked(); + QVector< Cbgroup >::iterator endItG = Cbgroup::groups().end(); + for( QVector< Cbgroup >::iterator itG = Cbgroup::groups().begin(); itG != endItG; ++ itG ) + { + if ( ! itG->boxvar ) + { + continue; + } + QVector< Boxvar >::iterator endItB = itG->boxvar->end(); + for( QVector< Boxvar >::iterator itB = itG->boxvar->begin(); itB != endItB; ++ itB ) + { + *( itB->variable ) = itB->cb->isChecked(); + } + } emit prefs_change(); } diff --git a/src/proc.cpp b/src/proc.cpp index bf48dcb..ea09307 100644 --- a/src/proc.cpp +++ b/src/proc.cpp @@ -1650,7 +1650,7 @@ bool Procinfo::read_environ() } // CWD,ROOT only so... -Cat_dir::Cat_dir(const char *heading, const char *explain, const char *dirname, +Cat_dir::Cat_dir(const QString &heading, const QString &explain, const char *dirname, QString Procinfo::*member) : Cat_string(heading, explain), dir(dirname), cache(member) { @@ -1706,7 +1706,7 @@ QString Cat_dir::string(Procinfo *p) return p->*cache; } -Cat_state::Cat_state(const char *heading, const char *explain) +Cat_state::Cat_state(const QString &heading, const QString &explain) : Category(heading, explain) { } @@ -1723,7 +1723,7 @@ QString Cat_state::string(Procinfo *p) } // LINUX -Cat_policy::Cat_policy(const char *heading, const char *explain) +Cat_policy::Cat_policy(const QString &heading, const QString &explain) : Category(heading, explain) { } @@ -1754,7 +1754,7 @@ int Cat_policy::compare(Procinfo *a, Procinfo *b) return b->get_policy() - a->get_policy(); } -Cat_rtprio::Cat_rtprio(const char *heading, const char *explain) +Cat_rtprio::Cat_rtprio(const QString &heading, const QString &explain) : Category(heading, explain) { } @@ -1772,7 +1772,7 @@ int Cat_rtprio::compare(Procinfo *a, Procinfo *b) } // maybe tms COMMON -Cat_tms::Cat_tms(const char *heading, const char *explain) +Cat_tms::Cat_tms(const QString &heading, const QString &explain) : Category(heading, explain) { } @@ -1791,7 +1791,7 @@ int Cat_tms::compare(Procinfo *a, Procinfo *b) return (int)((b->get_tms() - a->get_tms()) * 1000); } -Cat_affcpu::Cat_affcpu(const char *heading, const char *explain) +Cat_affcpu::Cat_affcpu(const QString &heading, const QString &explain) : Category(heading, explain) { } @@ -1811,7 +1811,7 @@ QString Cat_affcpu::string(Procinfo *p) */ // LINUX or COMMON? -Cat_time::Cat_time(const char *heading, const char *explain) +Cat_time::Cat_time(const QString &heading, const QString &explain) : Category(heading, explain) { } @@ -1880,7 +1880,7 @@ int Cat_time::compare(Procinfo *a, Procinfo *b) } // LINUX ? -Cat_tty::Cat_tty(const char *heading, const char *explain) +Cat_tty::Cat_tty(const QString &heading, const QString &explain) : Cat_string(heading, explain) { } @@ -1890,146 +1890,111 @@ QString Cat_tty::string(Procinfo *p) { return Ttystr::name(p->tty); } Proc::Proc() { // Note: - categories.insert(F_PID, - new Cat_int("PID", "Process ID", 6, &Procinfo::pid)); - categories.insert(F_TGID, - new Cat_int("TGID", "Task group ID ( parent of threads )", - 6, &Procinfo::tgid)); - categories.insert( - F_PPID, new Cat_int("PPID", "Parent process ID", 6, &Procinfo::ppid)); - categories.insert( - F_PGID, new Cat_int("PGID", "Process group ID", 6, &Procinfo::pgrp)); - categories.insert(F_SID, - new Cat_int("SID", "Session ID", 6, &Procinfo::session)); - categories.insert(F_TTY, new Cat_tty("TTY", "Terminal")); - categories.insert(F_TPGID, - new Cat_int("TPGID", "Process group ID of tty owner", 6, - &Procinfo::tpgid)); - - categories.insert( - F_USER, new Cat_string("USER", "Owner (*=suid root, +=suid a user)", - &Procinfo::username)); - categories.insert(F_GROUP, - new Cat_string("GROUP", "Group name (*=sgid other)", - &Procinfo::groupname)); - - categories.insert(F_UID, - new Cat_int("UID", "Real user ID", 6, &Procinfo::uid)); - categories.insert( - F_EUID, new Cat_int("EUID", "Effective user ID", 6, &Procinfo::euid)); - categories.insert(F_SUID, new Cat_int("SUID", "Saved user ID (Posix)", 6, - &Procinfo::suid)); - categories.insert(F_FSUID, new Cat_int("FSUID", "File system user ID", 6, - &Procinfo::fsuid)); - categories.insert(F_GID, - new Cat_int("GID", "Real group ID", 6, &Procinfo::gid)); - categories.insert( - F_EGID, new Cat_int("EGID", "Effective group ID", 6, &Procinfo::egid)); - categories.insert(F_SGID, new Cat_int("SGID", "Saved group ID (Posix)", 6, - &Procinfo::sgid)); - categories.insert(F_FSGID, new Cat_int("FSGID", "File system group ID", 6, - &Procinfo::fsgid)); - categories.insert( - F_PRI, new Cat_int("PRI", "Dynamic priority", 4, &Procinfo::priority)); - categories.insert(F_NICE, - new Cat_int("NICE", - "Scheduling favour (higher -> less cpu time)", - 4, &Procinfo::nice)); - categories.insert( - F_NLWP, new Cat_int("NLWP", "Number of tasks(threads) in task group", 5, - &Procinfo::nthreads)); - - categories.insert(F_PLCY, new Cat_policy("PLCY", "Scheduling policy")); - categories.insert( - F_RPRI, - new Cat_rtprio("RPRI", "Realtime priority (0-99, more is better)")); - categories.insert(F_TMS, new Cat_tms("TMS", "Time slice in milliseconds")); - categories.insert(F_SLPAVG, - new Cat_int("%SAVG", - "Percentage average sleep time (-1 -> N/A)", - 4, &Procinfo::slpavg)); - categories.insert( - F_AFFCPU, - new Cat_affcpu("CPUSET", - "Affinity CPU mask (0 -> API not supported)")); // ??? - categories.insert(F_MAJFLT, - new Cat_uintl("MAJFLT", - "Number of major faults (disk access)", 8, - &Procinfo::majflt)); - categories.insert(F_MINFLT, - new Cat_uintl("MINFLT", - "Number of minor faults (no disk access)", - 8, &Procinfo::minflt)); - + categories.insert( F_PID + , new Cat_int( tr( "PID" ), tr( "Process ID" ), 6, &Procinfo::pid) ); + categories.insert( F_TGID + , new Cat_int( tr( "TGID" ), tr( "Task group ID ( parent of threads )" ),6, &Procinfo::tgid)); + categories.insert( F_PPID + , new Cat_int( tr( "PPID" ), tr( "Parent process ID" ), 6, &Procinfo::ppid)); + categories.insert( F_PGID + , new Cat_int( tr( "PGID" ), tr( "Process group ID" ), 6, &Procinfo::pgrp)); + categories.insert( F_SID + , new Cat_int( tr( "SID" ), tr( "Session ID" ), 6, &Procinfo::session)); + categories.insert( F_TTY + , new Cat_tty( tr( "TTY" ), tr( "Terminal") ) ); + categories.insert( F_TPGID + , new Cat_int( tr( "TPGID" ), tr( "Process group ID of tty owner" ), 6, &Procinfo::tpgid)); + categories.insert( F_USER + , new Cat_string( tr( "USER" ), tr( "Owner (*=suid root, +=suid a user)" ),&Procinfo::username)); + categories.insert( F_GROUP + , new Cat_string( tr( "GROUP" ), tr( "Group name (*=sgid other)" ),&Procinfo::groupname)); + categories.insert( F_UID + , new Cat_int( tr( "UID" ), tr( "Real user ID" ), 6, &Procinfo::uid)); + categories.insert( F_EUID + , new Cat_int( tr( "EUID" ), tr( "Effective user ID" ), 6, &Procinfo::euid)); + categories.insert( F_SUID + , new Cat_int( tr( "SUID" ), tr( "Saved user ID (Posix)" ), 6,&Procinfo::suid)); + categories.insert( F_FSUID + , new Cat_int( tr( "FSUID" ), tr( "File system user ID" ), 6,&Procinfo::fsuid)); + categories.insert( F_GID + , new Cat_int( tr( "GID" ), tr( "Real group ID" ), 6, &Procinfo::gid)); + categories.insert( F_EGID + , new Cat_int( tr( "EGID" ), tr( "Effective group ID" ), 6, &Procinfo::egid)); + categories.insert( F_SGID + , new Cat_int( tr( "SGID" ), tr( "Saved group ID (Posix)" ), 6,&Procinfo::sgid)); + categories.insert( F_FSGID + , new Cat_int( tr( "FSGID" ), tr( "File system group ID" ), 6,&Procinfo::fsgid)); + categories.insert( F_PRI + , new Cat_int( tr( "PRI" ), tr( "Dynamic priority" ), 4, &Procinfo::priority)); + categories.insert( F_NICE + , new Cat_int( tr( "NICE" ), tr( "Scheduling favour (higher -> less cpu time)" ), 4, &Procinfo::nice)); + categories.insert( F_NLWP + , new Cat_int( tr( "NLWP" ), tr( "Number of tasks(threads) in task group" ), 5, &Procinfo::nthreads)); + categories.insert( F_PLCY + , new Cat_policy( tr( "PLCY" ), tr( "Scheduling policy" ) ) ); + categories.insert( F_RPRI + , new Cat_rtprio( tr( "RPRI" ), tr( "Realtime priority (0-99, more is better)" ) ) ); + categories.insert( F_TMS + , new Cat_tms( tr( "TMS" ), tr( "Time slice in milliseconds" ) ) ); + categories.insert( F_SLPAVG + , new Cat_int( tr( "%SAVG" ), tr( "Percentage average sleep time (-1 -> N/A)" ), 4, &Procinfo::slpavg)); + categories.insert( F_AFFCPU + , new Cat_affcpu( tr( "CPUSET" ), tr( "Affinity CPU mask (0 -> API not supported)" ) ) ); // ??? + categories.insert( F_MAJFLT + , new Cat_uintl( tr( "MAJFLT" ), tr( "Number of major faults (disk access)" ), 8, &Procinfo::majflt)); + categories.insert( F_MINFLT + , new Cat_uintl( tr( "MINFLT" ), tr( "Number of minor faults (no disk access)" ), 8, &Procinfo::minflt)); // Memory - categories.insert(F_SIZE, - new Cat_memory("VSIZE", "Virtual image size of process", - 8, &Procinfo::size)); - categories.insert(F_RSS, new Cat_memory("RSS", "Resident set size", 8, - &Procinfo::resident)); - categories.insert(F_MEM, new Cat_memory("MEM", "memory usage (RSS-SHARE)", - 8, &Procinfo::mem)); - categories.insert(F_TRS, - new Cat_memory("TRS", "Text(code) resident set size", 8, - &Procinfo::trs)); - categories.insert( - F_DRS, - new Cat_memory("DRS", "Data resident set size(malloc+global variable)", - 8, &Procinfo::drs)); - categories.insert( - F_STACK, new Cat_memory("STACK", "Stack size", 8, &Procinfo::stack)); - categories.insert(F_SHARE, - new Cat_memory("SHARE", "Shared memory with other libs", - 8, &Procinfo::share)); - categories.insert(F_SWAP, new Cat_swap("SWAP", "Kbytes on swap device")); - categories.insert( - F_IOR, new Cat_memory("IO_R", "io read (file)", 8, &Procinfo::io_read)); - categories.insert(F_IOW, new Cat_memory("IO_W", "io write (file)", 8, - &Procinfo::io_write)); - - categories.insert(F_DT, - new Cat_uintl("DT", "Number of dirty (non-written) pages", - 7, &Procinfo::dt)); - categories.insert(F_STAT, new Cat_state("STAT", "State of the process ")); - categories.insert(F_FLAGS, new Cat_hex("FLAGS", "Process flags (hex)", 9, - &Procinfo::flags)); - categories.insert( - F_WCHAN, - new Cat_wchan("WCHAN", "Kernel function where process is sleeping")); - categories.insert( - F_WCPU, - new Cat_percent("%WCPU", "Weighted percentage of CPU (30 s average)", 6, - &Procinfo::wcpu)); - categories.insert( - F_CPU, - new Cat_percent("%CPU", "Percentage of CPU used since last update", 6, - &Procinfo::pcpu)); - categories.insert( - F_PMEM, - new Cat_percent("%MEM", "Percentage of memory used (RSS/total mem)", 6, - &Procinfo::pmem)); - categories.insert(F_START, new Cat_start("START", "Time process started")); - categories.insert(F_TIME, - new Cat_time("TIME", "Total CPU time used since start")); - categories.insert( - F_CPUNUM, - new Cat_int("CPU", "CPU the process is executing on (SMP system)", 3, - &Procinfo::which_cpu)); - - categories.insert(F_CMD, new Cat_string("Process Name", "the process name", - &Procinfo::command)); - // categories.insert(F_PROCESSNAME, new Cat_string("Process Name", - //"the - // process name", &Procinfo::command)); - categories.insert(F_CWD, new Cat_dir("CWD", "Current working directory", - "cwd", &Procinfo::cwd)); - categories.insert(F_ROOT, new Cat_dir("ROOT", "Root directory of process", - "root", &Procinfo::root)); - + categories.insert( F_SIZE + , new Cat_memory( tr( "VSIZE" ), tr( "Virtual image size of process" ), 8, &Procinfo::size)); + categories.insert( F_RSS + , new Cat_memory( tr( "RSS" ), tr( "Resident set size" ), 8, &Procinfo::resident)); + categories.insert( F_MEM + , new Cat_memory( tr( "MEM" ), tr( "memory usage (RSS-SHARE)" ), 8, &Procinfo::mem)); + categories.insert( F_TRS + , new Cat_memory( tr( "TRS" ), tr( "Text(code) resident set size" ), 8, &Procinfo::trs)); + categories.insert( F_DRS + , new Cat_memory( tr( "DRS" ), tr( "Data resident set size(malloc+global variable)" ), 8, &Procinfo::drs)); + categories.insert( F_STACK + , new Cat_memory( tr( "STACK" ), tr( "Stack size" ), 8, &Procinfo::stack)); + categories.insert( F_SHARE + , new Cat_memory( tr( "SHARE" ), tr( "Shared memory with other libs" ), 8, &Procinfo::share)); + categories.insert( F_SWAP + , new Cat_swap( tr( "SWAP" ), tr( "Kbytes on swap device" ) ) ); + categories.insert( F_IOR + , new Cat_memory( tr( "IO_R" ), tr( "io read (file)" ), 8, &Procinfo::io_read)); + categories.insert( F_IOW + , new Cat_memory( tr( "IO_W" ), tr( "io write (file)" ), 8, &Procinfo::io_write)); + categories.insert( F_DT + , new Cat_uintl( tr( "DT" ), tr( "Number of dirty (non-written) pages" ), 7, &Procinfo::dt)); + categories.insert( F_STAT + , new Cat_state( tr( "STAT" ), tr( "State of the process " ) ) ); + categories.insert( F_FLAGS + , new Cat_hex( tr( "FLAGS" ), tr( "Process flags (hex)" ), 9, &Procinfo::flags)); + categories.insert( F_WCHAN + , new Cat_wchan( tr( "WCHAN" ), tr( "Kernel function where process is sleeping" ) ) ); + categories.insert( F_WCPU + , new Cat_percent( tr( "%WCPU" ), tr( "Weighted percentage of CPU (30 s average)" ), 6, &Procinfo::wcpu)); + categories.insert( F_CPU + , new Cat_percent( tr( "%CPU" ), tr( "Percentage of CPU used since last update" ), 6, &Procinfo::pcpu)); + categories.insert( F_PMEM + , new Cat_percent( tr( "%MEM" ), tr( "Percentage of memory used (RSS/total mem)" ), 6, &Procinfo::pmem)); + categories.insert( F_START + , new Cat_start( tr( "START" ), tr( "Time process started" ) ) ); + categories.insert( F_TIME, + new Cat_time( tr( "TIME" ), tr( "Total CPU time used since start" ) ) ); + categories.insert( F_CPUNUM + , new Cat_int( tr( "CPU" ), tr( "CPU the process is executing on (SMP system)" ), 3, &Procinfo::which_cpu)); + categories.insert( F_CMD + , new Cat_string( tr( "Process Name" ), tr( "the process name" ), &Procinfo::command)); +// categories.insert( F_PROCESSNAME +// , new Cat_string( tr( "Process Name " ),tr( "the process name" ), &Procinfo::command)); + categories.insert( F_CWD + , new Cat_dir( tr( "CWD" ), tr( "Current working directory" ), "cwd", &Procinfo::cwd)); + categories.insert( F_ROOT, new Cat_dir( tr( "ROOT" ), tr( "Root directory of process" ), "root", &Procinfo::root)); // command_line="COMMAND_LINE"; //reference to /proc/1234/cmdline - categories.insert(F_CMDLINE, - new Cat_cmdline("COMMAND_LINE", - "Command line that started the process")); + categories.insert( F_CMDLINE, + new Cat_cmdline( tr( "COMMAND_LINE" ), tr( "Command line that started the process") ) ); commonPostInit(); diff --git a/src/proc.h b/src/proc.h index 0634f70..7a537c8 100644 --- a/src/proc.h +++ b/src/proc.h @@ -24,6 +24,7 @@ #define PROC_H #include "config.h" +#include #ifdef SOLARIS #include // kstat_ctl_t @@ -214,9 +215,7 @@ class NameValue class Category { public: - Category(const char *heading, const char *explain) - : name(heading), help(explain), reversed(false), - flag_int_value(false){}; + Category( const QString &heading, const QString &explain ) : name(heading), help(explain), reversed(false),flag_int_value(false){} virtual ~Category(); virtual int alignment() = 0; @@ -224,8 +223,8 @@ class Category virtual int width() = 0; virtual int compare(Procinfo *a, Procinfo *b); - const char *name; - const char *help; + QString name; + QString help; int index; int id; bool reversed; // testing @@ -236,7 +235,7 @@ class Category class Cat_int : public Category { public: - Cat_int(const char *heading, const char *explain, int w, + Cat_int(const QString &heading, const QString &explain, int w, int Procinfo::*member); virtual int alignment() { return Qt::AlignRight; }; virtual QString string(Procinfo *p); @@ -252,7 +251,7 @@ class Cat_int : public Category class Cat_memory : public Category { public: - Cat_memory(const char *heading, const char *explain, int w, + Cat_memory(const QString &heading, const QString &explain, int w, unsigned long Procinfo::*member); virtual int alignment() { return Qt::AlignRight; }; virtual QString string(Procinfo *p); @@ -267,7 +266,7 @@ class Cat_memory : public Category class Cat_uintl : public Category { public: - Cat_uintl(const char *heading, const char *explain, int w, + Cat_uintl(const QString &heading, const QString &explain, int w, unsigned long Procinfo::*member); virtual int alignment() { return Qt::AlignRight; }; virtual QString string(Procinfo *p); @@ -282,7 +281,7 @@ class Cat_uintl : public Category class Cat_hex : public Cat_uintl { public: - Cat_hex(const char *heading, const char *explain, int w, + Cat_hex(const QString &heading, const QString &explain, int w, unsigned long Procinfo::*member); virtual QString string(Procinfo *p); }; @@ -290,7 +289,7 @@ class Cat_hex : public Cat_uintl class Cat_swap : public Category { public: - Cat_swap(const char *heading, const char *explain); + Cat_swap(const QString &heading, const QString &explain); virtual int alignment() { return Qt::AlignRight; }; virtual QString string(Procinfo *p); virtual int width() { return 8; }; @@ -300,7 +299,7 @@ class Cat_swap : public Category class Cat_string : public Category { public: - Cat_string(const char *heading, const char *explain, + Cat_string(const QString &heading, const QString &explain, QString Procinfo::*member = 0); virtual int alignment() { return Qt::AlignLeft; }; virtual QString string(Procinfo *p); @@ -314,28 +313,28 @@ class Cat_string : public Category class Cat_user : public Cat_string { public: - Cat_user(const char *heading, const char *explain); + Cat_user(const QString &heading, const QString &explain); virtual QString string(Procinfo *p); }; class Cat_group : public Cat_string { public: - Cat_group(const char *heading, const char *explain); + Cat_group(const QString &heading, const QString &explain); virtual QString string(Procinfo *p); }; class Cat_wchan : public Cat_string { public: - Cat_wchan(const char *heading, const char *explain); + Cat_wchan(const QString &heading, const QString &explain); virtual QString string(Procinfo *p); }; class Cat_dir : public Cat_string { public: - Cat_dir(const char *heading, const char *explain, const char *dirname, + Cat_dir(const QString &heading, const QString &explain, const char *dirname, QString Procinfo::*member); virtual QString string(Procinfo *p); @@ -347,14 +346,14 @@ class Cat_dir : public Cat_string class Cat_cmdline : public Cat_string { public: - Cat_cmdline(const char *heading, const char *explain); + Cat_cmdline(const QString &heading, const QString &explain); virtual QString string(Procinfo *p); }; class Cat_state : public Category { public: - Cat_state(const char *heading, const char *explain); + Cat_state(const QString &heading, const QString &explain); virtual int alignment() { return Qt::AlignLeft; }; virtual QString string(Procinfo *p); virtual int width() { return 6; }; @@ -364,7 +363,7 @@ class Cat_state : public Category class Cat_policy : public Category { public: - Cat_policy(const char *heading, const char *explain); + Cat_policy(const QString &heading, const QString &explain); virtual int alignment() { return Qt::AlignLeft; }; virtual QString string(Procinfo *p); virtual int width() { return 3; }; @@ -375,7 +374,7 @@ class Cat_policy : public Category class Cat_rtprio : public Category { public: - Cat_rtprio(const char *heading, const char *explain); + Cat_rtprio(const QString &heading, const QString &explain); virtual int alignment() { return Qt::AlignRight; }; virtual QString string(Procinfo *p); virtual int width() { return 5; }; @@ -386,7 +385,7 @@ class Cat_rtprio : public Category class Cat_tms : public Category { public: - Cat_tms(const char *heading, const char *explain); + Cat_tms(const QString &heading, const QString &explain); virtual int alignment() { return Qt::AlignRight; }; virtual QString string(Procinfo *p); virtual int width() { return 5; }; @@ -396,7 +395,7 @@ class Cat_tms : public Category class Cat_affcpu : public Category { public: - Cat_affcpu(const char *heading, const char *explain); + Cat_affcpu(const QString &heading, const QString &explain); virtual int alignment() { return Qt::AlignRight; }; virtual QString string(Procinfo *p); virtual int width() { return 8; }; @@ -407,7 +406,7 @@ class Cat_affcpu : public Category class Cat_time : public Category { public: - Cat_time(const char *heading, const char *explain); + Cat_time(const QString &heading, const QString &explain); virtual int alignment() { return Qt::AlignRight; }; virtual QString string(Procinfo *p); virtual int width() { return 7; }; @@ -417,7 +416,7 @@ class Cat_time : public Category class Cat_start : public Category { public: - Cat_start(const char *heading, const char *explain); + Cat_start(const QString &heading, const QString &explain); virtual int alignment() { return Qt::AlignRight; }; virtual QString string(Procinfo *p); virtual int width() { return 8; }; @@ -427,7 +426,7 @@ class Cat_start : public Category class Cat_percent : public Category { public: - Cat_percent(const char *heading, const char *explain, int w, + Cat_percent(const QString &heading, const QString &explain, int w, float Procinfo::*member); virtual int alignment() { return Qt::AlignRight; }; virtual QString string(Procinfo *p); @@ -442,7 +441,7 @@ class Cat_percent : public Category class Cat_tty : public Cat_string { public: - Cat_tty(const char *heading, const char *explain); + Cat_tty(const QString &heading, const QString &explain); virtual QString string(Procinfo *p); }; @@ -655,11 +654,13 @@ class SysHistory ~SysHistory(); }; + // for A System // cf. Procinfo is for a Process // class Proc { +Q_DECLARE_TR_FUNCTIONS(Proc) public: Proc(); ~Proc(); @@ -674,8 +675,8 @@ class Proc int read_pid_tasks(int pid); - Category *cat_by_name(const char *s); - int field_id_by_name(const char *s); + Category *cat_by_name( const QString &s ); + int field_id_by_name( const QString &s ); #ifdef LINUX /* from /proc/net/{tcp,udp,unix} */ diff --git a/src/proc_common.cpp b/src/proc_common.cpp index c06a26e..ab17443 100644 --- a/src/proc_common.cpp +++ b/src/proc_common.cpp @@ -90,7 +90,7 @@ int Category::compare(Procinfo *a, Procinfo *b) return string(a).compare(string(b)); } -Cat_int::Cat_int(const char *heading, const char *explain, int w, +Cat_int::Cat_int(const QString &heading, const QString &explain, int w, int Procinfo::*member) : Category(heading, explain), int_member(member), field_width(w) { @@ -111,7 +111,7 @@ int Cat_int::compare(Procinfo *a, Procinfo *b) } // COMMON -Cat_percent::Cat_percent(const char *heading, const char *explain, int w, +Cat_percent::Cat_percent(const QString &heading, const QString &explain, int w, float Procinfo::*member) : Category(heading, explain), float_member(member), field_width(w) { @@ -130,7 +130,7 @@ int Cat_percent::compare(Procinfo *a, Procinfo *b) return at < bt ? 1 : (at > bt ? -1 : 0); } // added 2006/05/07 -Cat_memory::Cat_memory(const char *heading, const char *explain, int w, +Cat_memory::Cat_memory(const QString &heading, const QString &explain, int w, unsigned long Procinfo::*member) : Category(heading, explain), uintl_member(member), field_width(w) { @@ -170,7 +170,7 @@ int Cat_memory::compare(Procinfo *a, Procinfo *b) return bu >= au ? (bu == au ? 0 : 1) : -1; } -Cat_uintl::Cat_uintl(const char *heading, const char *explain, int w, +Cat_uintl::Cat_uintl(const QString &heading, const QString &explain, int w, unsigned long Procinfo::*member) : Category(heading, explain), uintl_member(member), field_width(w) { @@ -189,7 +189,7 @@ int Cat_uintl::compare(Procinfo *a, Procinfo *b) return bu >= au ? (bu == au ? 0 : 1) : -1; } -Cat_hex::Cat_hex(const char *heading, const char *explain, int w, +Cat_hex::Cat_hex(const QString &heading, const QString &explain, int w, unsigned long Procinfo::*member) : Cat_uintl(heading, explain, w, member) { @@ -205,7 +205,7 @@ QString Cat_hex::string(Procinfo *p) } // COMMON, -Cat_swap::Cat_swap(const char *heading, const char *explain) +Cat_swap::Cat_swap(const QString &heading, const QString &explain) : Category(heading, explain) { } @@ -236,7 +236,7 @@ int Cat_swap::compare(Procinfo *a, Procinfo *b) return (b->size - b->resident) - (a->size - a->resident); } -Cat_string::Cat_string(const char *heading, const char *explain, +Cat_string::Cat_string(const QString &heading, const QString &explain, QString Procinfo::*member) : Category(heading, explain), str_member(member) { @@ -244,7 +244,7 @@ Cat_string::Cat_string(const char *heading, const char *explain, QString Cat_string::string(Procinfo *p) { return p->*str_member; } -Cat_user::Cat_user(const char *heading, const char *explain) +Cat_user::Cat_user(const QString &heading, const QString &explain) : Cat_string(heading, explain) { } @@ -261,7 +261,7 @@ QString Cat_user::string(Procinfo *p) } } -Cat_group::Cat_group(const char *heading, const char *explain) +Cat_group::Cat_group(const QString &heading, const QString &explain) : Cat_string(heading, explain) { } @@ -278,7 +278,7 @@ QString Cat_group::string(Procinfo *p) } } -Cat_wchan::Cat_wchan(const char *heading, const char *explain) +Cat_wchan::Cat_wchan(const QString &heading, const QString &explain) : Cat_string(heading, explain) { } @@ -292,7 +292,7 @@ QString Cat_wchan::string(Procinfo *p) #endif } -Cat_cmdline::Cat_cmdline(const char *heading, const char *explain) +Cat_cmdline::Cat_cmdline(const QString &heading, const QString &explain) : Cat_string(heading, explain) { } @@ -329,7 +329,7 @@ QString Cat_cmdline::string(Procinfo *p) } // hmm COMMON? almost same...but Solaris's zombie process... -Cat_start::Cat_start(const char *heading, const char *explain) +Cat_start::Cat_start(const QString &heading, const QString &explain) : Category(heading, explain) { } @@ -799,21 +799,19 @@ int Procview::compare_backwards(Procinfo *const *a, Procinfo *const *b) } // COMMON -Category *Proc::cat_by_name(const char *s) +Category *Proc::cat_by_name( const QString &s ) { - if (s) + if ( ! s.isNull() ) { // java style QHashIterator i(categories); while (i.hasNext()) { - const char *p; i.next(); - p = i.value()->name; - if (*p == ' ') - p++; - if (strcmp(p, s) == 0) + const QString &p = i.value()->name; + int index = p.indexOf( QRegExp( "\\S" ) ); + if ( p.indexOf( s, index ) == index ) return i.value(); // cout << i.key() << ": " << i.value() << endl; } @@ -823,15 +821,15 @@ Category *Proc::cat_by_name(const char *s) // COMMON // call by -int Proc::field_id_by_name(const char *s) +int Proc::field_id_by_name(const QString &s) { - if (s) + if ( ! s.isNull() ) { // STL style QHash::iterator i = categories.begin(); while (i != categories.end()) { - if (strcmp(i.value()->name, s) == 0) + if ( i.value()->name == s ) return i.key(); // cout << i.key() << ": " << // i.value() << endl; ++i; diff --git a/src/qps.cpp b/src/qps.cpp index 0907c6c..cb8dda2 100644 --- a/src/qps.cpp +++ b/src/qps.cpp @@ -186,41 +186,42 @@ Qps::Qps() make_signal_popup_menu(); // MOVETO Pstable !! - m_headpopup = new QMenu("header_popup", this); - m_headpopup->addAction("Remove Field", this, SLOT(menu_remove_field())); - m_fields = new QMenu("Add Field", this); + m_headpopup = new QMenu( tr( "header_popup" ), this); + m_headpopup->addAction( tr( "Remove Field" ), this, SLOT(menu_remove_field())); + m_fields = new QMenu( tr( "Add Field" ), this); m_headpopup->addMenu(m_fields); // connect(m_fields, SIGNAL(activated(int)), // SLOT(add_fields_menu(int))); // m_headpopup->addAction("Select Field", this, SLOT(menu_custom()) ); - m_command = new QMenu("Command", this); // filled in later + m_command = new QMenu( tr( "Command" ), this); // filled in later QAction *act; - m_view = new QMenu("View", this); - act = m_view->addAction("Process"); // act->setData(Procview::CUSTOM); - act = m_view->addAction("Log"); // act->setData(Procview::CUSTOM); + m_view = new QMenu( tr( "View" ), this); + act = m_view->addAction( tr( "Process" ) ); // act->setData(Procview::CUSTOM); + act = m_view->addAction( tr( "Log" ) ); // act->setData(Procview::CUSTOM); // m_view->hide(); m_field = new QMenu("Field", this); - act = m_field->addAction("Custom Fields"); + act = m_field->addAction( tr( "Custom Fields" ) ); act->setData(Procview::CUSTOM); - act = m_field->addAction("Basic Fields "); + act = m_field->addAction( tr( "Basic Fields " ) ); act->setData(Procview::USER); - act = m_field->addAction("Jobs Fields "); + act = m_field->addAction( tr( "Jobs Fields " ) ); act->setData(Procview::JOBS); - act = m_field->addAction("Memory Fields "); + act = m_field->addAction( tr( "Memory Fields " ) ); act->setData(Procview::MEM); #ifdef LINUX - act = m_field->addAction("Scheduling Fields "); + act = m_field->addAction( tr( "Scheduling Fields " ) ); act->setData(Procview::SCHED); #endif m_field->addSeparator(); - act = m_field->addAction(QIcon::fromTheme(QStringLiteral("edit-find-replace")), - "Select Custom Fields...", this, - SLOT(menu_custom())); + act = m_field->addAction( QIcon::fromTheme(QStringLiteral("edit-find-replace")) + , tr( "Select Custom Fields..." ) + , this + , SLOT(menu_custom())); act->setData(MENU_CUSTOM); connect(m_field, SIGNAL(triggered(QAction *)), this, @@ -232,8 +233,8 @@ Qps::Qps() /// *))); /// connect(m_view, SIGNAL(aboutToShow ()), SLOT(update_menu_status())); - m_options = new QMenu("Option", this); - m_options->addAction("Update Period...", this, SLOT(menu_update())); + m_options = new QMenu( tr( "Option" ), this); + m_options->addAction( tr( "Update Period..." ), this, SLOT(menu_update())); m_options->addSeparator(); act = m_options->addAction("", /* MENU_PATH */ this, SLOT(menu_toggle_path())); @@ -242,22 +243,24 @@ Qps::Qps() act->setData(QVariant(MENU_INFOBAR)); act = m_options->addAction("", this, SLOT(menu_toggle_ctrlbar())); act->setData(QVariant(MENU_CTRLBAR)); - act = m_options->addAction("Show Status bar", this, - SLOT(menu_toggle_statusbar())); + act = m_options->addAction( tr( "Show Status bar" ) + , this + ,SLOT(menu_toggle_statusbar())); act->setData(QVariant(MENU_STATUS)); act = m_options->addAction("", this, SLOT(menu_toggle_cumul())); act->setData(QVariant(MENU_CUMUL)); m_options->addSeparator(); - m_options->addAction(QIcon::fromTheme(QStringLiteral("preferences-system")), - "Preferences...", this, - SLOT(menu_prefs())); // MENU_PREFS + m_options->addAction( QIcon::fromTheme(QStringLiteral("preferences-system")) + , tr( "Preferences..." ) + , this + , SLOT(menu_prefs())); // MENU_PREFS connect(m_options, SIGNAL(aboutToShow()), SLOT(update_menu_status())); - QMenu *m_help = new QMenu("&Help", this); + QMenu *m_help = new QMenu( tr( "Help" ), this); // m_help->addAction("FAQ", this, SLOT(license())); - m_help->addAction(QIcon::fromTheme("help-about"), "&About", this, + m_help->addAction(QIcon::fromTheme("help-about"), tr( "About" ), this, SLOT(about())); // menu = new QMenuBar(this); @@ -389,8 +392,8 @@ Qps::Qps() bar_visibility(); // need // testing - popupx = new QMenu("test", this); - popupx->addAction("Copied to Clipboard"); + popupx = new QMenu( tr( "test" ), this); + popupx->addAction( tr( "Copied to Clipboard" ) ); } // explicit destructor needed for gcc @@ -499,17 +502,17 @@ QMenu *Qps::make_signal_popup_menu() // move to pstable? QAction *act; // show_popup_menu() callback - m_popup = new QMenu("context popup", this); - m_popup->addAction("Renice...", this, SLOT(menu_renice())); - m_popup->addAction("Scheduling...", this, SLOT(menu_sched())); + m_popup = new QMenu( tr( "context popup" ), this); + m_popup->addAction( tr( "Renice..." ), this, SLOT(menu_renice())); + m_popup->addAction( tr( "Scheduling..." ), this, SLOT(menu_sched())); m_popup->addSeparator(); - m_popup->addAction("Terminate", this, SLOT(sig_term()), + m_popup->addAction( tr( "Terminate" ), this, SLOT(sig_term()), Qt::Key_Delete); // better - m_popup->addAction("Hangup", this, SLOT(sig_hup()), Qt::ALT + Qt::Key_H); - m_popup->addAction("Kill", this, SLOT(sig_kill()), Qt::ALT + Qt::Key_K); - act = m_popup->addAction("Stop", this, SLOT(sig_stop())); + m_popup->addAction( tr( "Hangup" ), this, SLOT(sig_hup()), Qt::ALT + Qt::Key_H); + m_popup->addAction( tr( "Kill" ), this, SLOT(sig_kill()), Qt::ALT + Qt::Key_K); + act = m_popup->addAction( tr( "Stop" ), this, SLOT(sig_stop())); act->setData(MENU_SIGSTOP); - act = m_popup->addAction("Continue", this, SLOT(sig_cont())); + act = m_popup->addAction( tr( "Continue" ), this, SLOT(sig_cont())); act->setData(MENU_SIGCONT); // connect(m_popup, SIGNAL(aboutToShow ()),this, @@ -522,44 +525,44 @@ QMenu *Qps::make_signal_popup_menu() /// SLOT(menu_dynasty()),0,MENU_DYNASTY); QMenu *m = new QMenu("Other Signals"); - act = m->addAction("SIGINT (interrupt)"); + act = m->addAction( tr( "SIGINT (interrupt)" ) ); act->setData(SIGINT); - act = m->addAction("SIGCONT (continue)"); + act = m->addAction( tr( "SIGCONT (continue)" ) ); act->setData(SIGCONT); - act = m->addAction("SIGSTOP (stop)"); + act = m->addAction( tr( "SIGSTOP (stop)" ) ); act->setData(SIGSTOP); - act = m->addAction("SIGQUIT (quit)"); + act = m->addAction( tr( "SIGQUIT (quit)" ) ); act->setData(SIGQUIT); - act = m->addAction("SIGILL (illegal instruction)"); + act = m->addAction( tr( "SIGILL (illegal instruction)" )); act->setData(SIGILL); - act = m->addAction("SIGABRT (abort)"); + act = m->addAction( tr( "SIGABRT (abort)" ) ); act->setData(SIGABRT); - act = m->addAction("SIGFPE (floating point exception)"); + act = m->addAction( tr( "SIGFPE (floating point exception)" ) ); act->setData(SIGFPE); - act = m->addAction("SIGSEGV (segmentation violation)"); + act = m->addAction( tr( "SIGSEGV (segmentation violation)" ) ); act->setData(SIGSEGV); - act = m->addAction("SIGPIPE (broken pipe)"); + act = m->addAction( tr( "SIGPIPE (broken pipe)" ) ); act->setData(SIGPIPE); - act = m->addAction("SIGALRM (timer signal)"); + act = m->addAction( tr( "SIGALRM (timer signal)" ) ); act->setData(SIGALRM); - act = m->addAction("SIGUSR1 (user-defined 1)"); + act = m->addAction( tr( "SIGUSR1 (user-defined 1)" ) ); act->setData(SIGUSR1); - act = m->addAction("SIGUSR2 (user-defined 2)"); + act = m->addAction( tr( "SIGUSR2 (user-defined 2)" ) ); act->setData(SIGUSR2); - act = m->addAction("SIGCHLD (child death)"); + act = m->addAction( tr( "SIGCHLD (child death)" ) ); act->setData(SIGCHLD); - act = m->addAction("SIGTSTP (stop from tty)"); + act = m->addAction( tr( "SIGTSTP (stop from tty)" ) ); act->setData(SIGTSTP); - act = m->addAction("SIGTTIN (tty input)"); + act = m->addAction( tr( "SIGTTIN (tty input)" ) ); act->setData(SIGTTIN); - act = m->addAction("SIGTTOU (tty output)"); + act = m->addAction( tr( "SIGTTOU (tty output)" ) ); act->setData(SIGTTOU); connect(m, SIGNAL(triggered(QAction *)), SLOT(signal_menu(QAction *))); m_popup->addMenu(m); m_popup->addSeparator(); - m_popup->addAction("View Details", this, SLOT(Action_Detail())); + m_popup->addAction( tr( "View Details" ), this, SLOT(Action_Detail())); return m; } @@ -1175,11 +1178,11 @@ void Qps::make_command_menu() if (flag_devel) { - m_command->addAction("WatchDog", watchdogDialog, + m_command->addAction( tr( "WatchDog" ), watchdogDialog, SLOT(show())); //, m_event); // m_command->addAction("ScreenShot", screenshot, // SLOT(show()) ); - act = m_command->addAction("Edit Commands...", this, + act = m_command->addAction( tr( "Edit Commands..." ), this, SLOT(menu_edit_cmd())); // act->setEnabled(false); } @@ -1203,8 +1206,11 @@ void Qps::make_command_menu() //#ifdef SOLARIS /* Solaris CDE don't have a tray, so we need a method to terminate */ m_command->addSeparator(); - m_command->addAction(QIcon::fromTheme(QStringLiteral("application-exit")), "&Quit", this, - SLOT(save_quit()), Qt::ALT + Qt::Key_Q); + m_command->addAction(QIcon::fromTheme(QStringLiteral("application-exit")) + , tr( "Quit" ) + , this + , SLOT(save_quit()) + , Qt::ALT + Qt::Key_Q); //#endif } @@ -1580,13 +1586,9 @@ void Qps::menu_renice() if (!possible) { - QString s; - s.sprintf("You do not have permission to renice the\n" - "selected process%s.\n" - "Only the process owner and the super-user\n" - "are allowed to do that.", - (pstable->hasSelection() == 1) ? "" : "es"); - QMessageBox::warning(this, "Permission denied", s); + QMessageBox::warning( this + , tr( "Permission denied" ) + , tr( "You do not have permission to renice the selected processes. Only the process owner and the super-user are allowed to do that." ) ); return; } @@ -1621,21 +1623,16 @@ void Qps::menu_renice() case EPERM: // this shouldn't happen, but (e)uid // could be changed... - s.sprintf("You do not have permission " - "to renice" - " process %d (", - p->pid); - s.append(p->command); - s.append(").\n" - "Only the process owner and " - "the super-user are" - " allowed to do that."); - QMessageBox::warning(this, "Permission denied", s); + QMessageBox::warning( this + , tr( "Permission denied" ) + , tr( "You do not have permission to renice process %1 (%2).Only the process owner and the super-user are allowed to do that." ) + .arg( p->pid ) + .arg( p->command ) ); break; case EACCES: - QMessageBox::warning(this, "Permission denied", - "Only the super-user may lower" - " the nice value of a process."); + QMessageBox::warning( this + , tr( "Permission denied" ) + , tr( "Only the super-user may lower the nice value of a process." ) ); return; } } @@ -1655,9 +1652,9 @@ void Qps::menu_sched() // if(pstable->hasSelection()==false) return; if (geteuid() != 0) { - QMessageBox::warning(this, "Permission denied", - "Only the super-user may change the\n" - "scheduling policy and static priority."); + QMessageBox::warning( this + , tr( "Permission denied" ) + , tr( "Only the super-user may change the scheduling policy and static priority." ) ); return; } @@ -1691,18 +1688,13 @@ void Qps::menu_sched() sp.sched_priority = sd.out_prio; if (sched_setscheduler(p->pid, sd.out_policy, &sp) < 0) { - QString s; if (errno == EPERM) { - s.sprintf("You do not have permission to " - "change the\n" - "scheduling and/or priority of" - " process %d (", - p->pid); - s.append(p->command); - s.append(").\n" - "Only the super-user may do that."); - QMessageBox::warning(this, "Permission denied", s); + QMessageBox::warning( this + , tr( "Permission denied" ) + , tr( "You do not have permission to change the scheduling and/or priority of process %1 (%2). Only the super-user may do that." ) + .arg( p->pid ) + .arg( p->command ) ); break; } } @@ -1777,15 +1769,11 @@ void Qps::sendsig(Procinfo *p, int sig) // user if (errno == EPERM) { - QString s; - s.sprintf("You do not have permission to send a signal to" - " process %d (", - p->pid); - s.append(p->command); - s.append(").\n" - "Only the super-user and the owner of the process" - " may send signals to it."); - QMessageBox::warning(this, "Permission denied", s); + QMessageBox::warning( this + , tr( "Permission denied" ) + , tr( "You do not have permission to send a signal to process %1 (%2). Only the super-user and the owner of the process may send signals to it." ) + .arg( p->pid ) + .arg( p->command ) ); // PermissionDialog *pd = new // PermissionDialog(s,supasswd); // pd->exec(); @@ -1908,8 +1896,7 @@ bool Qps::read_settings() procview->viewfields = Procview::CUSTOM; } - QString str = set.value("sort/field").toString(); // procview->sortcat->name - int fid = procview->field_id_by_name(str.toUtf8().data()); + int fid = procview->field_id_by_name( set.value("sort/field").toString() ); // procview->sortcat->name int col = procview->findCol(fid); if (col >= 0) // pstable->setSortColumn(col); // Pstable::refresh() @@ -2216,10 +2203,8 @@ int main(int argc, char **argv, char **envp) qps = new Qps(); // sleep(20); - QString caption = ""; - caption.append(getenv("USER")); - caption.append("@"); - caption.append(short_hostname()); // geteuid() + QString caption( QString( "%1@%2").arg( getenv( "USER" ) ) + .arg( short_hostname() ) ); // geteuid() qps->setWindowTitle(UniString(caption)); qps->setWindowIcon(QPixmap((const char **)icon_xpm)); @@ -2227,12 +2212,24 @@ int main(int argc, char **argv, char **envp) // MOVETO Systray QMenu *menu = new QMenu(qps); /// menu->addAction( UniString("About"), qps, SLOT(about()) ); - menu->addAction("Show", qps, SLOT(showNormal())); - menu->addAction("Hide", qps, SLOT(hide())); + menu->addAction( QObject::tr( "Show" ) + , qps + , SLOT( showNormal() ) ); + menu->addAction( QObject::tr( "Hide" ) + , qps + , SLOT( hide() ) ); menu->addSeparator(); if (flag_devel) - menu->addAction("ScreenShot", qps, SLOT(start_screenshot())); - menu->addAction("&Quit", qps, SLOT(save_quit()), Qt::ALT + Qt::Key_Q); + { + menu->addAction( QObject::tr( "ScreenShot" ) + , qps + , SLOT(start_screenshot())); + } + + menu->addAction( QObject::tr( "Quit" ) + , qps + , SLOT(save_quit()) + , Qt::ALT + Qt::Key_Q); trayicon = new TrayIcon(QPixmap((const char **)icon_xpm /* init icon */), "qps", menu); @@ -2269,11 +2266,7 @@ int main(int argc, char **argv, char **envp) // 4px ;" //"background-color : rgba(0,0,0); padding: 3px; color: rgb(0,255,150); //}"); - QString str; - str.append("Qps "); - str.append(QPS_VERSION); - str.append(" launched."); - AddLog(str); + AddLog( QString( "Qps %1 launched." ).arg( QPS_VERSION ) ); return app.exec(); } @@ -2295,7 +2288,7 @@ void Qps::test_popup(const QUrl &link) void Qps::about() { QDialog *diag = new QDialog(this); - diag->setWindowTitle("About"); + diag->setWindowTitle( tr( "About" ) ); QVBoxLayout *lay = new QVBoxLayout(diag); QLabel *label = new QLabel(diag); @@ -2315,43 +2308,41 @@ void Qps::about() // QDesktopServices::openUrl(QUrl("file:///", QUrl::TolerantMode)); // - QString str("

qps " QPS_VERSION " - A Visual Process Manager

" + QString str( tr( "

Qps %1 - A Visual Process Manager

%2 using Qt library %3" + "

" + "Source: https://github.com/lxqt/qps/" + "
" + "Bugtracker: https://github.com/lxqt/qps/issues") + .arg( QPS_VERSION ) + .arg( #ifdef SOLARIS #ifdef _LP64 - "64-bit " + "64-bit " #else - "32-bit " + "32-bit " #endif - "Solaris version " + "Solaris version " +#else + "" #endif // SOLARIS - "using Qt library "); - - str.append(qVersion()); - str.append("

" - "Source: https://github.com/lxqt/qps/" - "
" - "Bugtracker: https://github.com/lxqt/qps/issues" - ); - - label->setText(str); - - str = ""; - str.append("Original Qps by
" - "Mattias Engdegård (f91-men@nada.kth.se)

" - "Contributors
" - "Olivier.Daudel@u-paris10.fr
" - "jsanchez@todounix.homeip.net
" - "daehyun.yang@gmail.com
" - "Luís Pereira (luis.artur.pereira@gmail.com)
" - "Alf Gaida (agaida@siduction.org)
" - "Paulo Lieuthier (paulolieuthier@gmail.com)
" - "Jerome Leclanche (jerome@leclan.ch)
" - ); - + ) + .arg( qVersion() ) ); + label->setText( str ); + str.append( tr( "Original Qps by
" + "Mattias Engdegård (f91-men@nada.kth.se)

" + "Contributors
" + "Olivier.Daudel@u-paris10.fr
" + "jsanchez@todounix.homeip.net
" + "daehyun.yang@gmail.com
" + "Luís Pereira (luis.artur.pereira@gmail.com)
" + "Alf Gaida (agaida@siduction.org)
" + "Paulo Lieuthier (paulolieuthier@gmail.com)
" + "Jerome Leclanche (jerome@leclan.ch)
" ) ); browser->setText(str); - QDialogButtonBox *bbox = - new QDialogButtonBox(QDialogButtonBox::Ok, Qt::Horizontal, diag); + QDialogButtonBox *bbox = new QDialogButtonBox( QDialogButtonBox::Ok + , Qt::Horizontal + , diag ); lay->addWidget(bbox); @@ -2379,38 +2370,37 @@ void Qps::license() // -> help() // QLabel::setOpenExternalLinks ( bool open ); browser->setOpenExternalLinks(true); browser->setOpenLinks(true); - browser->setText( - "

QPS Help

" - "Updated: May 24 2005
" - "http://kldp.net/projects/" - "qps
" - - "" - " " - " " - " Quit" - " " - " " - " " - " " - " Update" - " " - " " - " " - " " - "" - " " - " " - "
  CTRL + q , CTRL + x" - "
 Space , Enter " - "
process Terminate ALT + T , DELETE
process Kill ALT + K
"); + browser->setText( tr( "

QPS Help

" + "Updated: May 24 2005
" + "
http://kldp.net/projects/" + "qps
" + + "" + " " + " " + " Quit" + " " + " " + " " + " " + " Update" + " " + " " + " " + " " + "" + " " + " " + "
  CTRL + q , CTRL + x" + "
 Space , Enter " + "
process Terminate ALT + T , DELETE
process Kill ALT + K
" ) ); diag->exec(); } diff --git a/src/tablefield.h b/src/tablefield.h index 2d6d529..787eb6b 100644 --- a/src/tablefield.h +++ b/src/tablefield.h @@ -23,13 +23,15 @@ #ifndef TABLEFIELD_H #define TABLEFIELD_H +#include + struct TableField { - const char *name; + QString name; int width; int gap; int align; - const char *tooltip; + QString tooltip; }; #endif // TABLEFIELD_H diff --git a/src/translations/qps.ts b/src/translations/qps.ts index d32ecb5..c43cf0b 100644 --- a/src/translations/qps.ts +++ b/src/translations/qps.ts @@ -1,14 +1,294 @@ + + AllFields + + + Field + + + + + Field name + + + + + Description + + + + + Field description + + + + + Value + + + + + Field value + + + + + Boxvar + + + Exit On Close Button + + + + + Host Name Lookup + + + + + Service Name Lookup + + + + + Disclosure Triangles + + + + + Branch Lines + + + + + Auto Save Settings on Exit + + + + + Selection: Copy PIDs to Clipboard + + + + + Normalize NICE + + + + + Use pmap for Map Names + + + + + Cbgroup + + + General + + + + + Command + + + The command: + + + + + + + + +failed with the error: + + + + + + + Too many processes + + + + + Unknown error + + + + + + +could not be executed because it was not found, +or you did not have execute permission. + + + + + + +exited with status + + + + + Command Failed + + + + + CommandDialog + + + Edit Commands 0.1 alpha + + + + + Name: + + + + + Popup + + + + + Command Line: + + + + + Substitutions: +%p PID +%c COMMAND +%C CMDLINE +%u USER +%% % + + + + + + + New... + + + + + + Add... + + + + + Delete + + + + + Close + + + ControlBar - + + Linear + + + + + Tree + + + + + All Processes + + + + + Your Processes + + + + + Non-Root Processes + + + + + Running Processes + + + + Pause (Ctrl+Space) + + Details + + + Process %1 ( %2 ) - details + + + + + Files + + + + + Sockets + + + + + Memory Maps + + + + + Environment + + + + + All Fields + + + + + Environ + + + Variable + + + + + Variable name + + + + + Value + + + + + Variable value + + + EventDialog @@ -110,60 +390,1382 @@ Ok + + + Qps Watchdog + + + + + %1 exit with code %2 + + + + + Close + + + + + %1 [running] + + + + + terminate command + + + + + Error %1 : [%2] Maybe command not found + + - Qps + FieldSelect - - Detail + + Select Custom Fields + + + + + Close - Screenshot + Files - - /untitled. + + Fd - - Save As + + File descriptor - - %1 Files (*.%2);;All Files (*) + + Mode - - Options + + Open mode - - s + + Name - - Screenshot Delay: + + File name (if available) + + + IntervalDialog - - Hide This Window + + Change Update Period - - New Screenshot + + New Update Period - - Quit + + Cancel + + + + + OK + + + + + No UPDATE + + + + + Invalid value + + + + + ListModel + + + Event Category + + + + + Enable + + + + + Maps + + + Address Range + + + + + Mapped addresses (hex) ) + + + + + Size + + + + + Kbytes mapped (dec) + + + + + Perm + + + + + Permission flags + + + + + Offset + + + + + File offset at start of mapping (hex) + + + + + Device + + + + + Major,Minor device numbers (dec) + + + + + Inode + + + + + Inode number (dec) + + + + + File + + + + + File name (if available) + + + + + PermissionDialog + + + Permission + + + + + Root password + + + + + Cancel + + + + + OK + + + + + Preferences + + + Preferences + + + + + Setting + + + + + %CPU divided by + + + + + Total cpu: %1 + + + + + Single cpu: 1 + + + + + default + + + + + for developer + + + + + Appearance + + + + + Proc + + + PID + + + + + Process ID + + + + + TGID + + + + + Task group ID ( parent of threads ) + + + + + PPID + + + + + Parent process ID + + + + + PGID + + + + + Process group ID + + + + + SID + + + + + Session ID + + + + + TTY + + + + + Terminal + + + + + TPGID + + + + + Process group ID of tty owner + + + + + USER + + + + + Owner (*=suid root, +=suid a user) + + + + + GROUP + + + + + Group name (*=sgid other) + + + + + UID + + + + + Real user ID + + + + + EUID + + + + + Effective user ID + + + + + SUID + + + + + Saved user ID (Posix) + + + + + FSUID + + + + + File system user ID + + + + + GID + + + + + Real group ID + + + + + EGID + + + + + Effective group ID + + + + + SGID + + + + + Saved group ID (Posix) + + + + + FSGID + + + + + File system group ID + + + + + PRI + + + + + Dynamic priority + + + + + NICE + + + + + Scheduling favour (higher -> less cpu time) + + + + + NLWP + + + + + Number of tasks(threads) in task group + + + + + PLCY + + + + + Scheduling policy + + + + + RPRI + + + + + Realtime priority (0-99, more is better) + + + + + TMS + + + + + Time slice in milliseconds + + + + + %SAVG + + + + + Percentage average sleep time (-1 -> N/A) + + + + + CPUSET + + + + + Affinity CPU mask (0 -> API not supported) + + + + + MAJFLT + + + + + Number of major faults (disk access) + + + + + MINFLT + + + + + Number of minor faults (no disk access) + + + + + VSIZE + + + + + Virtual image size of process + + + + + RSS + + + + + Resident set size + + + + + MEM + + + + + memory usage (RSS-SHARE) + + + + + TRS + + + + + Text(code) resident set size + + + + + DRS + + + + + Data resident set size(malloc+global variable) + + + + + STACK + + + + + Stack size + + + + + SHARE + + + + + Shared memory with other libs + + + + + SWAP + + + + + Kbytes on swap device + + + + + IO_R + + + + + io read (file) + + + + + IO_W + + + + + io write (file) + + + + + DT + + + + + Number of dirty (non-written) pages + + + + + STAT + + + + + State of the process + + + + + FLAGS + + + + + Process flags (hex) + + + + + WCHAN + + + + + Kernel function where process is sleeping + + + + + %WCPU + + + + + Weighted percentage of CPU (30 s average) + + + + + %CPU + + + + + Percentage of CPU used since last update + + + + + %MEM + + + + + Percentage of memory used (RSS/total mem) + + + + + START + + + + + Time process started + + + + + TIME + + + + + Total CPU time used since start + + + + + CPU + + + + + CPU the process is executing on (SMP system) + + + + + the process name + + + + + Process Name + + + + + CWD + + + + + Current working directory + + + + + ROOT + + + + + Root directory of process + + + + + COMMAND_LINE + + + + + Command line that started the process + + + + + QObject + + + Show + + + + + Hide + + + + + ScreenShot + + + + + Quit + + + + + Qps + + + header_popup + + + + + Remove Field + + + + + Add Field + + + + + Command + + + + + View + + + + + Process + + + + + Log + + + + + Custom Fields + + + + + Basic Fields + + + + + Jobs Fields + + + + + Memory Fields + + + + + Scheduling Fields + + + + + Select Custom Fields... + + + + + Option + + + + + Update Period... + + + + + Show Status bar + + + + + Preferences... + + + + + Help + + + + + + About + + + + + Detail + + + + + test + + + + + Copied to Clipboard + + + + + context popup + + + + + Renice... + + + + + Scheduling... + + + + + Terminate + + + + + Hangup + + + + + Kill + + + + + Stop + + + + + Continue + + + + + SIGINT (interrupt) + + + + + SIGCONT (continue) + + + + + SIGSTOP (stop) + + + + + SIGQUIT (quit) + + + + + SIGILL (illegal instruction) + + + + + SIGABRT (abort) + + + + + SIGFPE (floating point exception) + + + + + SIGSEGV (segmentation violation) + + + + + SIGPIPE (broken pipe) + + + + + SIGALRM (timer signal) + + + + + SIGUSR1 (user-defined 1) + + + + + SIGUSR2 (user-defined 2) + + + + + SIGCHLD (child death) + + + + + SIGTSTP (stop from tty) + + + + + SIGTTIN (tty input) + + + + + SIGTTOU (tty output) + + + + + View Details + + + + + WatchDog + + + + + Edit Commands... + + + + + Quit + + + + + + + + + + Permission denied + + + + + You do not have permission to renice the selected processes. Only the process owner and the super-user are allowed to do that. + + + + + You do not have permission to renice process %1 (%2).Only the process owner and the super-user are allowed to do that. + + + + + Only the super-user may lower the nice value of a process. + + + + + Only the super-user may change the scheduling policy and static priority. + + + + + You do not have permission to change the scheduling and/or priority of process %1 (%2). Only the super-user may do that. + + + + + You do not have permission to send a signal to process %1 (%2). Only the super-user and the owner of the process may send signals to it. + + + + + <h2> Qps %1 - A Visual Process Manager </h2> %2 using Qt library %3<br><br><b>Source: </b><a href="https://github.com/lxqt/qps">https://github.com/lxqt/qps/</a><br><b>Bugtracker: </b><a href="https://github.com/lxqt/qps/issues">https://github.com/lxqt/qps/issues</a> + + + + + <b>Original Qps by</b><br>Mattias Engdegård (f91-men@nada.kth.se)<br><br><b>Contributors</b><br>Olivier.Daudel@u-paris10.fr<br>jsanchez@todounix.homeip.net <br>daehyun.yang@gmail.com <br>Luís Pereira (luis.artur.pereira@gmail.com)<br>Alf Gaida (agaida@siduction.org)<br>Paulo Lieuthier (paulolieuthier@gmail.com)<br>Jerome Leclanche (jerome@leclan.ch)<br> + + + + + <H1>QPS Help</H1>Updated: May 24 2005<BR><A HREF="http://kldp.net/projects/qps">http://kldp.net/projects/qps</A><HR><table style="text-align: center; width: 100%;" border="1" cellpadding="1" cellspacing="0"> <tbody> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Quit </td> <td >&nbsp; CTRL + q , CTRL + x </td> </tr> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Update </td> <td>&nbsp;Space , Enter </td> </tr> <tr><td> process Terminate </td> <td> ALT + T , DELETE </td> </tr> <tr><td> process Kill </td> <td> ALT + K </td> </tr> </tbody></table> + + + + + SchedDialog + + + Change scheduling + + + + + Scheduling Policy + + + + + SCHED_OTHER (time-sharing) + + + + + SCHED_FIFO (real-time) + + + + + SCHED_RR (real-time) + + + + + OK + + + + + Cancel + + + + + Priority (1-99): + + + + + Invalid Input + + + + + The priority must be in the range 1..99 + + + + + Screenshot + + + /untitled. + + + + + Save As + + + + + %1 Files (*.%2);;All Files (*) + + + + + Options + + + + + s + + + + + Screenshot Delay: + + + + + Hide This Window + + + + + New Screenshot + + + + + Quit + + + + + SearchBox + + + PID,COMMAND,USER... + + + + + SliderDialog + + + Renice Process + + + + + New nice value: + + + + + Cancel + + + + + OK + + + + + Sockets + + + Fd + + + + + File descriptor + + + + + Proto + + + + + Protocol (TCP or UDP) + + + + + Recv-Q + + + + + Bytes in receive queue + + + + + Send-Q + + + + + Bytes in send queue + + + + + Local Addr + + + + + Local IP address + + + + + + Port + + + + + Local port + + + + + Remote Addr + + + + + Remote IP address + + + + + Remote port + + + + + State + + + + + Connection state + + + + + StatusBar + + + Process count: %1 + + + + + TBloon + + + This is unstable Alpha feature + You maybe see a SEGFAULT... + + + + + TFrame + + + this is Tframe widget + + + + + UFrame + + + title + + + + + WatchdogDialog + + + if process start + + + + + if process finish + + + + + select condition diff --git a/src/translations/qps_ca.ts b/src/translations/qps_ca.ts new file mode 100644 index 0000000..24e2e70 --- /dev/null +++ b/src/translations/qps_ca.ts @@ -0,0 +1,1791 @@ + + + + + AllFields + + + Field + Camp + + + + Field name + Nom del camp + + + + Description + Descripció + + + + Field description + Descripció del camp + + + + Value + Valor + + + + Field value + Valor del camp + + + + Boxvar + + + Exit On Close Button + Botó tanca en sortir + + + + Host Name Lookup + Recerca del nom d'amfitrió + + + + Service Name Lookup + Recerca del nom de servei + + + + Disclosure Triangles + Triangles de divulgació + + + + Branch Lines + Línies de bifurcació + + + + Auto Save Settings on Exit + Desa automàticament els ajusts en sortir + + + + Selection: Copy PIDs to Clipboard + Selecció: copia els PID al porta-retalls + + + + Normalize NICE + Normalitza NICE + + + + Use pmap for Map Names + Utilitza pmap per al mapatge dels noms + + + + Cbgroup + + + General + + + + + Command + + + The command: + + + L'ordre: + + + + + + + +failed with the error: + + + + +ha fallat amb l'error: + + + + + + Too many processes + Hi ha massa processos + + + + Unknown error + Error desconegut + + + + + +could not be executed because it was not found, +or you did not have execute permission. + + +no s'ha pogut executar perquè no s'ha trobat, +o no teniu permisos d'execució. + + + + + +exited with status + + +ha sortit amb l'estat + + + + Command Failed + Ordre fallida + + + + CommandDialog + + + Edit Commands 0.1 alpha + Editor d'ordres 0.1 alfa + + + + Name: + Nom: + + + + Popup + Emergent + + + + Command Line: + Línia d'ordres: + + + + Substitutions: +%p PID +%c COMMAND +%C CMDLINE +%u USER +%% % + + + Substitucions: +%p PID +%c ORDRE +%C LÍNIA_ORDRES +%u USUARI +%% % + + + + + + New... + Nou... + + + + + Add... + Afegeix... + + + + Delete + + + + + Close + Tanca + + + + ControlBar + + + Linear + Lineal + + + + Tree + Arbre + + + + All Processes + Tots els processos + + + + Your Processes + Els vostres processos + + + + Non-Root Processes + Els processos que no siguin de root + + + + Running Processes + Els processos en execució + + + + Pause (Ctrl+Space) + Pausa (Ctrl+Espai) + + + + Details + + + Process %1 ( %2 ) - details + Procés %1 ( %2 ) - detalls + + + + Files + Fitxers + + + + Sockets + Sòcols + + + + Memory Maps + Mapatges de memòria + + + + Environment + Entorn + + + + All Fields + Tots els camps + + + + Environ + + + Variable + + + + + Variable name + Nom de la variable + + + + Value + Valor + + + + Variable value + Valor de la variable + + + + EventDialog + + + Watchdog 0.1 alpha + Vigilant 0.1 alfa + + + + Eventcat + + + + + Select condition + Condició de selecció + + + + labelDescrition + Descripció + + + + Enable + Habilita + + + + process name + nom del procés + + + + cpu + + + + + % + + + + + include already running process + inclou el procés que ja s'està executant + + + + run command + executa l'ordre + + + + show Message + mostra el missatge + + + + Help (Not yet. just concept) + Ajuda (encara no. tan sols el concepte) + + + + %p : pid +%c : command + %p : pid +%c : ordre + + + + New + Nou + + + + Add + Afegeix + + + + Delete + Elimina + + + + Close + Tanca + + + + ExecWindow + + + Qps + + + + + Ok + D'acord + + + + Qps Watchdog + Vigilant de Qps + + + + %1 exit with code %2 + %1 surt amb el codi %2 + + + + Close + Tanca + + + + %1 [running] + %1 [en execució] + + + + terminate command + finalitza l'ordre + + + + Error %1 : [%2] Maybe command not found + Error %1 : [%2] Potser no s'ha trobat l'ordre + + + + FieldSelect + + + Select Custom Fields + Selecció dels camps personalitzats + + + + Close + Tanca + + + + Files + + + Fd + + + + + File descriptor + Descriptor de fitxer + + + + Mode + + + + + Open mode + + + + + Name + Nom + + + + File name (if available) + Nom de fitxer (si està disponible) + + + + IntervalDialog + + + Change Update Period + Canvi del període d'actualització + + + + New Update Period + Període d'actualització nou + + + + Cancel + Cancel·la + + + + OK + D'acord + + + + No UPDATE + + + + + Invalid value + Valor no vàlid + + + + ListModel + + + Event Category + Categoria d'esdeveniment + + + + Enable + Habilita + + + + Maps + + + Address Range + Interval d'adreces + + + + Mapped addresses (hex) ) + Adreces assignades (hex) ) + + + + Size + Mida + + + + Kbytes mapped (dec) + Kbytes assignats (dec) + + + + Perm + + + + + Permission flags + Indicadors dels permisos + + + + Offset + Desplaçament + + + + File offset at start of mapping (hex) + Desplaçament de fitxer al començament del mapatge (hex) + + + + Device + Dispositiu + + + + Major,Minor device numbers (dec) + Nombres de dispositius major,menor (dec) + + + + Inode + + + + + Inode number (dec) + Nombre d'inode (dec) + + + + File + Fitxer + + + + File name (if available) + Nom de fitxer (si està disponible) + + + + PermissionDialog + + + Permission + Permisos + + + + Root password + Contrasenya de root + + + + Cancel + Cancel·la + + + + OK + D'acord + + + + Preferences + + + Preferences + Preferències + + + + Setting + Establiment + + + + %CPU divided by + %CPU dividida per + + + + Total cpu: %1 + cpu total: %1 + + + + Single cpu: 1 + cpu individual: 1 + + + + default + per defecte + + + + for developer + per al desenvolupador + + + + Appearance + Aparença + + + + Proc + + + PID + + + + + Process ID + ID procés + + + + TGID + + + + + Task group ID ( parent of threads ) + ID de grup de tasques ( pare dels fils ) + + + + PPID + + + + + Parent process ID + ID de procés pare + + + + PGID + + + + + Process group ID + ID de grup de processos + + + + SID + + + + + Session ID + ID de sessió + + + + TTY + + + + + Terminal + + + + + TPGID + + + + + Process group ID of tty owner + ID de grup de processos del propietari del tty + + + + USER + USUARI + + + + Owner (*=suid root, +=suid a user) + Propietari (*=suid root, +=suid un usuari) + + + + GROUP + GRUP + + + + Group name (*=sgid other) + Nom de grup (*=sgid altres) + + + + UID + + + + + Real user ID + ID d'usuari real + + + + EUID + + + + + Effective user ID + ID d'usuari efectiu + + + + SUID + + + + + Saved user ID (Posix) + ID d'usuari desat (Posix) + + + + FSUID + + + + + File system user ID + ID d'usuari de sistema de fitxers + + + + GID + + + + + Real group ID + ID de grup real + + + + EGID + + + + + Effective group ID + ID de grup efectiu + + + + SGID + + + + + Saved group ID (Posix) + ID de grup desat (Posix) + + + + FSGID + + + + + File system group ID + ID de grup de sistemes de fitxers + + + + PRI + + + + + Dynamic priority + Prioritat dinàmica + + + + NICE + + + + + Scheduling favour (higher -> less cpu time) + A favor de la planificació (més alt -> menys temps de CPU) + + + + NLWP + + + + + Number of tasks(threads) in task group + Nombre de tasques(fils) al grup de tasques + + + + PLCY + + + + + Scheduling policy + Política de planificació + + + + RPRI + + + + + Realtime priority (0-99, more is better) + Prioritat de temps real (0-99, més és millor) + + + + TMS + + + + + Time slice in milliseconds + Porció de temps en mil·lisegons + + + + %SAVG + + + + + Percentage average sleep time (-1 -> N/A) + Percentatge mitjà de temps d'adormiment (-1 -> N/D) + + + + CPUSET + + + + + Affinity CPU mask (0 -> API not supported) + Màscara de CPU d'afinitat (0 -> API no admesa) + + + + MAJFLT + + + + + Number of major faults (disk access) + Nombre de falles major (accés de disc) + + + + MINFLT + + + + + Number of minor faults (no disk access) + Nombre de falles menor (sense accés de disc) + + + + VSIZE + + + + + Virtual image size of process + Mida d'imatge virtual del procés + + + + RSS + + + + + Resident set size + Mida d'establiment resident + + + + MEM + + + + + memory usage (RSS-SHARE) + ús de memòria (RSS-SHARE) + + + + TRS + + + + + Text(code) resident set size + Mida d'establiment resident de Text(code) + + + + DRS + + + + + Data resident set size(malloc+global variable) + + + + + STACK + PILA + + + + Stack size + Mida de pila + + + + SHARE + + + + + Shared memory with other libs + Memòria compartida amb altres biblioteques + + + + SWAP + INTERCANI + + + + Kbytes on swap device + Kbytes al dispositiu d'intercanvi + + + + IO_R + ES_L + + + + io read (file) + lectura e/s (fitxer) + + + + IO_W + ES_E + + + + io write (file) + escriptura e/s (fitxer) + + + + DT + + + + + Number of dirty (non-written) pages + Nombre de pàgines brutes (no escrites) + + + + STAT + ESTAT + + + + State of the process + Estat del procés + + + + FLAGS + INDICADORS + + + + Process flags (hex) + Indicadors de procés (hex) + + + + WCHAN + + + + + Kernel function where process is sleeping + Funció del Kernel on el procés està dormint + + + + %WCPU + + + + + Weighted percentage of CPU (30 s average) + Percentatge ponderat de CPU (mitjana de 30 s) + + + + %CPU + + + + + Percentage of CPU used since last update + Percentatge de CPU utilitzat des de l'última actualització + + + + %MEM + + + + + Percentage of memory used (RSS/total mem) + Percentatge utilitzat de memòria (RSS/total mem) + + + + START + INICI + + + + Time process started + L'hora en què es va iniciar el procés + + + + TIME + TEMPS + + + + Total CPU time used since start + Temps de CPU total que s'ha utilitzat des de que es va iniciar + + + + CPU + + + + + CPU the process is executing on (SMP system) + CPU en què s'està executant el procés (sistema SMP) + + + + the process name + el nom del procés + + + + Process Name + Nom del procés + + + + CWD + + + + + Current working directory + Directori actual de treball + + + + ROOT + ARREL + + + + Root directory of process + Directori arrel del procés + + + + COMMAND_LINE + LÍNEA_ORDRE + + + + Command line that started the process + Línia de l'ordre que va iniciar el procés + + + + QObject + + + Show + Mostra + + + + Hide + Oculta + + + + ScreenShot + Captura de pantalla + + + + Quit + Surt + + + + Qps + + + header_popup + + + + + Remove Field + Suprimeix el camp + + + + Add Field + Afegeix un camp + + + + Command + Ordre + + + + View + Visualitza + + + + Process + Procés + + + + Log + Registre + + + + Custom Fields + Camps personalitzats + + + + Basic Fields + Camps bàsics + + + + Jobs Fields + Camps dels treballs + + + + Memory Fields + Camps de la memòria + + + + Scheduling Fields + Camps de la planificació + + + + Select Custom Fields... + Selecciona els camps personalitzats... + + + + Option + Opció + + + + Update Period... + Període d'actualització... + + + + Show Status bar + Mostra la barra d'estat + + + + Preferences... + Preferències... + + + + Help + Ajuda + + + + + About + Quant a + + + + Detail + Detallat + + + + test + prova + + + + Copied to Clipboard + S'ha copiat al porta-retalls + + + + context popup + + + + + Renice... + + + + + Scheduling... + Planificació... + + + + Terminate + + + + + Hangup + + + + + Kill + Mata + + + + Stop + Atura + + + + Continue + Continua + + + + SIGINT (interrupt) + SIGINT (interromp) + + + + SIGCONT (continue) + SIGCONT (continua) + + + + SIGSTOP (stop) + SIGSTOP (atura) + + + + SIGQUIT (quit) + SIGQUIT (surt) + + + + SIGILL (illegal instruction) + SIGILL (instrucció il·legal) + + + + SIGABRT (abort) + SIGABRT (avorta) + + + + SIGFPE (floating point exception) + SIGFPE (excepció de punt flotant) + + + + SIGSEGV (segmentation violation) + SIGSEGV (violació de la segmentació) + + + + SIGPIPE (broken pipe) + SIGPIPE (canonada trencada) + + + + SIGALRM (timer signal) + SIGALRM (senyal del temporitzador) + + + + SIGUSR1 (user-defined 1) + SIGUSR1 (definida de l'usuari 1) + + + + SIGUSR2 (user-defined 2) + SIGUSR2 (definida de l'usuari 2) + + + + SIGCHLD (child death) + SIGCHLD (mort del fill) + + + + SIGTSTP (stop from tty) + SIGTSTP (aturada des del tty) + + + + SIGTTIN (tty input) + SIGTTIN (entrada tty) + + + + SIGTTOU (tty output) + SIGTTOU (sortida tty) + + + + View Details + Mostra els detalls + + + + WatchDog + Vigilant + + + + Edit Commands... + Edita les ordres... + + + + Quit + Surt + + + + + + + + + Permission denied + Permís denegat + + + + You do not have permission to renice the selected processes. Only the process owner and the super-user are allowed to do that. + + + + + You do not have permission to renice process %1 (%2).Only the process owner and the super-user are allowed to do that. + + + + + Only the super-user may lower the nice value of a process. + + + + + Only the super-user may change the scheduling policy and static priority. + + + + + You do not have permission to change the scheduling and/or priority of process %1 (%2). Only the super-user may do that. + + + + + You do not have permission to send a signal to process %1 (%2). Only the super-user and the owner of the process may send signals to it. + + + + + <h2> Qps %1 - A Visual Process Manager </h2> %2 using Qt library %3<br><br><b>Source: </b><a href="https://github.com/lxqt/qps">https://github.com/lxqt/qps/</a><br><b>Bugtracker: </b><a href="https://github.com/lxqt/qps/issues">https://github.com/lxqt/qps/issues</a> + + + + + <b>Original Qps by</b><br>Mattias Engdegård (f91-men@nada.kth.se)<br><br><b>Contributors</b><br>Olivier.Daudel@u-paris10.fr<br>jsanchez@todounix.homeip.net <br>daehyun.yang@gmail.com <br>Luís Pereira (luis.artur.pereira@gmail.com)<br>Alf Gaida (agaida@siduction.org)<br>Paulo Lieuthier (paulolieuthier@gmail.com)<br>Jerome Leclanche (jerome@leclan.ch)<br> + + + + + <H1>QPS Help</H1>Updated: May 24 2005<BR><A HREF="http://kldp.net/projects/qps">http://kldp.net/projects/qps</A><HR><table style="text-align: center; width: 100%;" border="1" cellpadding="1" cellspacing="0"> <tbody> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Quit </td> <td >&nbsp; CTRL + q , CTRL + x </td> </tr> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Update </td> <td>&nbsp;Space , Enter </td> </tr> <tr><td> process Terminate </td> <td> ALT + T , DELETE </td> </tr> <tr><td> process Kill </td> <td> ALT + K </td> </tr> </tbody></table> + + + + + SchedDialog + + + Change scheduling + Canvia la planificació + + + + Scheduling Policy + Política de planificació + + + + SCHED_OTHER (time-sharing) + SCHED_OTHER (compartició del temps) + + + + SCHED_FIFO (real-time) + SCHED_FIFO (temps real) + + + + SCHED_RR (real-time) + SCHED_RR (temps real) + + + + OK + D'acord + + + + Cancel + Cancel·la + + + + Priority (1-99): + Prioritat (1-99): + + + + Invalid Input + Entrada no vàlida + + + + The priority must be in the range 1..99 + La prioritat ha d'estar dins de l'interval 1..99 + + + + Screenshot + + + /untitled. + + + + + Save As + Anomena i desa + + + + %1 Files (*.%2);;All Files (*) + Fitxers %1 (*.%2);;Tots els fitxers (*) + + + + Options + Opcions + + + + s + + + + + Screenshot Delay: + Retard de la captura de pantalla: + + + + Hide This Window + Oculta aquesta finestra + + + + New Screenshot + Captura de pantalla nova + + + + Quit + Surt + + + + SearchBox + + + PID,COMMAND,USER... + PID,ORDRE,USUARI... + + + + SliderDialog + + + Renice Process + + + + + New nice value: + + + + + Cancel + Cancel·la + + + + OK + D'acord + + + + Sockets + + + Fd + + + + + File descriptor + Descriptor de fitxer + + + + Proto + + + + + Protocol (TCP or UDP) + Protocol (TCP o UDP) + + + + Recv-Q + + + + + Bytes in receive queue + Bytes a la cua de recepció + + + + Send-Q + + + + + Bytes in send queue + Bytes a la cua d'enviament + + + + Local Addr + Adreça local + + + + Local IP address + Adreça IP local + + + + + Port + + + + + Local port + Port local + + + + Remote Addr + Adreça remota + + + + Remote IP address + Adreça IP remota + + + + Remote port + Port remot + + + + State + Estat + + + + Connection state + Estat de la connexió + + + + StatusBar + + + Process count: %1 + Nombre de processos: %1 + + + + TBloon + + + This is unstable Alpha feature + You maybe see a SEGFAULT... + + + + + TFrame + + + this is Tframe widget + + + + + UFrame + + + title + títol + + + + WatchdogDialog + + + if process start + si s'inicia el procés + + + + if process finish + si s'acaba el procés + + + + select condition + seleccioneu la condició + + + diff --git a/src/translations/qps_cs.ts b/src/translations/qps_cs.ts new file mode 100644 index 0000000..899e555 --- /dev/null +++ b/src/translations/qps_cs.ts @@ -0,0 +1,1792 @@ + + + + + AllFields + + + Field + Kolonka + + + + Field name + Název kolonky + + + + Description + Popis + + + + Field description + Popis kolonky + + + + Value + Hodnota + + + + Field value + Hodnota v kolonce + + + + Boxvar + + + Exit On Close Button + Při kliknutí na tlačítko zavření ukončit + + + + Host Name Lookup + Překládat IP adresy na názvy strojů + + + + Service Name Lookup + Překládat čísla portů na názvy služeb + + + + Disclosure Triangles + Šipky pro zobrazení (ovládací prvek) + + + + Branch Lines + Linky větve + + + + Auto Save Settings on Exit + Při ukončování automaticky uložit nastavení + + + + Selection: Copy PIDs to Clipboard + Výběr: zkopírovat identif. procesů do schránky + + + + Normalize NICE + Normalizovat prioritu (NICE) + + + + Use pmap for Map Names + Použít pro názvy map mapu procesů + + + + Cbgroup + + + General + Obecné + + + + Command + + + The command: + + + Příkaz: + + + + + + + +failed with the error: + + + + +nezdařilo se s chybou: + + + + + + Too many processes + Příliš mnoho procesů + + + + Unknown error + Neznámá chyba + + + + + +could not be executed because it was not found, +or you did not have execute permission. + + +se nepodařilo spustit protože nebylo nalezeno, +nebo nemá nastavené oprávnění pro spouštění. + + + + + +exited with status + + +skončilo se stavem + + + + Command Failed + Příkaz se nezdařil + + + + CommandDialog + + + Edit Commands 0.1 alpha + Úprava příkazů verze 0.1 alfa + + + + Name: + Název: + + + + Popup + Vyskakovací + + + + Command Line: + Příkazový řádek: + + + + Substitutions: +%p PID +%c COMMAND +%C CMDLINE +%u USER +%% % + + + Dosazování: +%p identif. procesu +%c příkaz +%C příkazový řádek +%u uživatel +%% % + + + + + + New... + Nové… + + + + + Add... + Přidat… + + + + Delete + Smazat + + + + Close + Zavřít + + + + ControlBar + + + Linear + Lineární + + + + Tree + Strom + + + + All Processes + Všechny procesy + + + + Your Processes + Vaše procesy + + + + Non-Root Processes + Procesy nenáležející správci systému (root) + + + + Running Processes + Spuštěné procesy + + + + Pause (Ctrl+Space) + Pozastavit (Ctrl+mezerník) + + + + Details + + + Process %1 ( %2 ) - details + Proces %1 ( %2 ) – podrobnosti + + + + Files + Soubory + + + + Sockets + Sokety + + + + Memory Maps + Mapy paměti + + + + Environment + Prostředí + + + + All Fields + Všechny kolonky + + + + Environ + + + Variable + Proměnná + + + + Variable name + Název proměnné + + + + Value + Hodnota + + + + Variable value + Hodnota v proměnné + + + + EventDialog + + + Watchdog 0.1 alpha + Resetátor (watchdog) verze 0.1 alfa + + + + Eventcat + + + + + Select condition + Vybrat podmínku + + + + labelDescrition + štítekPopis + + + + Enable + Zapnout + + + + process name + název procesu + + + + cpu + procesor + + + + % + + + + + include already running process + zahrnout už spuštěný proces + + + + run command + spustit příkaz + + + + show Message + zobrazit hlášení + + + + Help (Not yet. just concept) + Nápověda (zatím neimplementováno, pouze náčrt) + + + + %p : pid +%c : command + %p : identif. procesu +%c : příkaz + + + + New + Nový + + + + Add + Přidat + + + + Delete + Smazat + + + + Close + Zavřít + + + + ExecWindow + + + Qps + + + + + Ok + + + + + Qps Watchdog + Qps resetátor (watchdog) + + + + %1 exit with code %2 + %1 ukončit s kódem %2 + + + + Close + Zavřít + + + + %1 [running] + %1 [spuštěné] + + + + terminate command + ukončit příkaz + + + + Error %1 : [%2] Maybe command not found + Chyba %1 : [%2] Příkaz se nejspíš nepodařilo najít + + + + FieldSelect + + + Select Custom Fields + Vybrat uživatelem určené kolonky + + + + Close + Zavřít + + + + Files + + + Fd + Popis. soub. + + + + File descriptor + Popisovač souboru + + + + Mode + Režim + + + + Open mode + Režim otevírání + + + + Name + Název + + + + File name (if available) + Název souboru (pokud je k dispozici) + + + + IntervalDialog + + + Change Update Period + Změnit interval aktualizace + + + + New Update Period + Nový interval aktualizace + + + + Cancel + Storno + + + + OK + + + + + No UPDATE + Neaktualizovat + + + + Invalid value + Neplatná hodnota + + + + ListModel + + + Event Category + Kategorie události + + + + Enable + Zapnout + + + + Maps + + + Address Range + Adresní rozsah + + + + Mapped addresses (hex) ) + Mapované adresy (osmičkově) ) + + + + Size + Velikost + + + + Kbytes mapped (dec) + Mapováno kilobajtů (desítkově) + + + + Perm + Oprávnění + + + + Permission flags + Příznaky oprávnění + + + + Offset + Posun + + + + File offset at start of mapping (hex) + Posun souboru na začátku mapování (osmičkově) + + + + Device + Zařízení + + + + Major,Minor device numbers (dec) + Hlavní,vedlejší čísla zařízení (desítkově) + + + + Inode + I-uzel + + + + Inode number (dec) + Číslo i-uzlu (desítkově) + + + + File + Soubor + + + + File name (if available) + Název souboru (pokud je k dispozici) + + + + PermissionDialog + + + Permission + Oprávnění + + + + Root password + Heslo správce systému + + + + Cancel + Storno + + + + OK + + + + + Preferences + + + Preferences + Předvolby + + + + Setting + Nastavení + + + + %CPU divided by + %procesoru děleno + + + + Total cpu: %1 + Celkem procesoru: %1 + + + + Single cpu: 1 + Jediný procesor: 1 + + + + default + výchozí + + + + for developer + pro vývojáře + + + + Appearance + Vzhled + + + + Proc + + + PID + + + + + Process ID + Identif. procesu + + + + TGID + + + + + Task group ID ( parent of threads ) + Identif. skupiny úlohy (nadřazené vláknům) + + + + PPID + + + + + Parent process ID + Identif. nadřazeného procesu + + + + PGID + + + + + Process group ID + Identif. skupiny procesu + + + + SID + + + + + Session ID + Identif. sezení + + + + TTY + + + + + Terminal + Konzole + + + + TPGID + + + + + Process group ID of tty owner + Identif. skupiny vlastníka konzole + + + + USER + UŽIVATEL + + + + Owner (*=suid root, +=suid a user) + Vlastník (*=suid správce, +=suid uživatel) + + + + GROUP + SKUPINA + + + + Group name (*=sgid other) + Název skupiny (*=sgid ostatní) + + + + UID + + + + + Real user ID + Skutečný identif. uživatele + + + + EUID + + + + + Effective user ID + Efektivní identif. uživatele + + + + SUID + + + + + Saved user ID (Posix) + Uložený identif. uživatele (Posix) + + + + FSUID + + + + + File system user ID + Identifikátor uživatele soubor. systému + + + + GID + + + + + Real group ID + Skutečný identif. skupiny + + + + EGID + + + + + Effective group ID + Efektivní identif. skupiny + + + + SGID + + + + + Saved group ID (Posix) + Uložený identif. skupiny (Posix) + + + + FSGID + + + + + File system group ID + Identif. skupiny souborového systému + + + + PRI + + + + + Dynamic priority + Dynamická priorita + + + + NICE + + + + + Scheduling favour (higher -> less cpu time) + Přednost při plánování (vyšší -> méně času procesoru) + + + + NLWP + + + + + Number of tasks(threads) in task group + Počet úloh (vláken) ve skupině úlohy + + + + PLCY + + + + + Scheduling policy + Zásada plánování + + + + RPRI + + + + + Realtime priority (0-99, more is better) + Priorita pro reálný čas (0-99, vyšší je lepší) + + + + TMS + + + + + Time slice in milliseconds + Časové okno (v milisekundách) + + + + %SAVG + + + + + Percentage average sleep time (-1 -> N/A) + Průměrné procento doby spánku (-1 -> N/A) + + + + CPUSET + + + + + Affinity CPU mask (0 -> API not supported) + Maska přiřazení procesoru CPU (0 -> aplikační program. rozhraní není podporováno) + + + + MAJFLT + + + + + Number of major faults (disk access) + Počet velkých nezdarů (přístup k disku) + + + + MINFLT + + + + + Number of minor faults (no disk access) + Počet drobných nezdarů (žádný přístup k disku) + + + + VSIZE + + + + + Virtual image size of process + Velikost virtuálního obrazu procesu + + + + RSS + + + + + Resident set size + Velikost rezidentní sady + + + + MEM + + + + + memory usage (RSS-SHARE) + využití paměti (RSS-SHARE) + + + + TRS + + + + + Text(code) resident set size + Velikost rezidentní sady textu (kódu) + + + + DRS + + + + + Data resident set size(malloc+global variable) + Velikost rezidentní sady dat (přiřazení paměti + globální proměnná) + + + + STACK + + + + + Stack size + Velikost stacku + + + + SHARE + + + + + Shared memory with other libs + Paměť sdílená s ostatními knihovnami + + + + SWAP + + + + + Kbytes on swap device + Kilobajtů na zařízení pro odkládání stránek paměti (swap) + + + + IO_R + + + + + io read (file) + čtení vst/výst. (soubor) + + + + IO_W + + + + + io write (file) + zápis vst/výst. (soubor) + + + + DT + + + + + Number of dirty (non-written) pages + Počet nezapsaných („dirty“) stránek + + + + STAT + + + + + State of the process + Stav procesu + + + + FLAGS + + + + + Process flags (hex) + Příznaky procesu (osmičkově) + + + + WCHAN + + + + + Kernel function where process is sleeping + Funkce jádra kde proces spí + + + + %WCPU + + + + + Weighted percentage of CPU (30 s average) + Vážený průměr procent procesoru (za 30 s) + + + + %CPU + + + + + Percentage of CPU used since last update + Procento využití procesoru od minulé aktualizace + + + + %MEM + + + + + Percentage of memory used (RSS/total mem) + Procento využití paměti (RSS / celkem paměti) + + + + START + + + + + Time process started + Okamžik spuštění procesu + + + + TIME + + + + + Total CPU time used since start + Celkový čas procesoru spotřebovaný od spuštění + + + + CPU + Procesor + + + + CPU the process is executing on (SMP system) + Jádro procesoru na kterém je proces vykonáván + + + + the process name + název procesu + + + + Process Name + Název procesu + + + + CWD + + + + + Current working directory + Stávající pracovní složka + + + + ROOT + + + + + Root directory of process + Kořenová složka procesu + + + + COMMAND_LINE + + + + + Command line that started the process + Příkaz kterým byl proces spuštěn + + + + QObject + + + Show + Zobrazit + + + + Hide + Skrýt + + + + ScreenShot + Snímek obrazovky + + + + Quit + Ukončit + + + + Qps + + + header_popup + vyskakovací hlavička + + + + Remove Field + Odebrat kolonku + + + + Add Field + Přidat kolonku + + + + Command + Příkaz + + + + View + Zobrazit + + + + Process + Proces + + + + Log + Záznam událostí (log) + + + + Custom Fields + Uživatelem určené kolonky + + + + Basic Fields + Základní kolonky + + + + Jobs Fields + Kolonky úloh + + + + Memory Fields + Kolonky paměti + + + + Scheduling Fields + Kolonky plánování + + + + Select Custom Fields... + Vybrat uživatelem určené kolonky… + + + + Option + Volba + + + + Update Period... + Perioda aktualizace… + + + + Show Status bar + Zobrazit stavový pruh + + + + Preferences... + Předvolby… + + + + Help + Nápověda + + + + + About + O aplikaci + + + + Detail + Podrobnosti + + + + test + + + + + Copied to Clipboard + Zkopírováno do schránky + + + + context popup + kontextová vyskakovací nabídka + + + + Renice... + Změnit prioritu (nice)… + + + + Scheduling... + Plánování… + + + + Terminate + Ukončit + + + + Hangup + Zavěsit + + + + Kill + Vynutit ukončení (kill) + + + + Stop + Zastavit + + + + Continue + Pokračovat + + + + SIGINT (interrupt) + SIGINT (přerušení) + + + + SIGCONT (continue) + SIGCONT (pokračovat) + + + + SIGSTOP (stop) + SIGSTOP (zastavit) + + + + SIGQUIT (quit) + SIGQUIT (ukončit) + + + + SIGILL (illegal instruction) + SIGILL (neplatná instrukce) + + + + SIGABRT (abort) + SIGABRT (přerušit) + + + + SIGFPE (floating point exception) + SIGFPE (výjimka v plovoucí desetinné čárce) + + + + SIGSEGV (segmentation violation) + SIGSEGV (porušení ochrany paměti) + + + + SIGPIPE (broken pipe) + SIGPIPE (neočekávané uzavření roury) + + + + SIGALRM (timer signal) + SIGALRM (signál časovače) + + + + SIGUSR1 (user-defined 1) + SIGUSR1 (uživatelem určený 1) + + + + SIGUSR2 (user-defined 2) + SIGUSR2 (uživatelem určený 2) + + + + SIGCHLD (child death) + SIGCHLD (podřízený proces ukončen) + + + + SIGTSTP (stop from tty) + SIGTSTP (zastavení z konzole) + + + + SIGTTIN (tty input) + SIGTTIN (vstup z konzole) + + + + SIGTTOU (tty output) + SIGTTOU (výstup z konzole) + + + + View Details + Zobrazit podrobnosti + + + + WatchDog + Resetátor (watchdog) + + + + Edit Commands... + Upravit příkazy… + + + + Quit + Ukončit + + + + + + + + + Permission denied + Přístup odepřen + + + + You do not have permission to renice the selected processes. Only the process owner and the super-user are allowed to do that. + Nemáte oprávnění upravovat prioritu procesů (nice). To může udělat pouze vlastník procesu nebo správce systému. + + + + You do not have permission to renice process %1 (%2).Only the process owner and the super-user are allowed to do that. + Nemáte oprávnění upravovat prioritu procesu %1 (%2). To může udělat pouze vlastník procesu nebo správce systému. + + + + Only the super-user may lower the nice value of a process. + Zvýšit nebo snížit prioritu procesu (nice) může pouze správce systému. + + + + Only the super-user may change the scheduling policy and static priority. + Pouze správce systému může měnit zásadu plánování a pevně danou prioritu. + + + + You do not have permission to change the scheduling and/or priority of process %1 (%2). Only the super-user may do that. + Nemáte oprávnění měnit plánování a/nebo prioritu procesu %1 (%2). To může udělat pouze vlastník procesu nebo správce systému. + + + + You do not have permission to send a signal to process %1 (%2). Only the super-user and the owner of the process may send signals to it. + Nemáte oprávnění poslat signál procesu %1 (%2). To může udělat pouze vlastník procesu nebo správce systému. + + + + <h2> Qps %1 - A Visual Process Manager </h2> %2 using Qt library %3<br><br><b>Source: </b><a href="https://github.com/lxqt/qps">https://github.com/lxqt/qps/</a><br><b>Bugtracker: </b><a href="https://github.com/lxqt/qps/issues">https://github.com/lxqt/qps/issues</a> + <h2> Qps %1 – vizuální správce procesů </h2> %2 založený na knihovně Qt %3<br><br><b>Zdrojové kódy: </b><a href="https://github.com/lxqt/qps">https://github.com/lxqt/qps/</a><br><b>Hlášení chyb: </b><a href="https://github.com/lxqt/qps/issues">https://github.com/lxqt/qps/issues</a> + + + + <b>Original Qps by</b><br>Mattias Engdegård (f91-men@nada.kth.se)<br><br><b>Contributors</b><br>Olivier.Daudel@u-paris10.fr<br>jsanchez@todounix.homeip.net <br>daehyun.yang@gmail.com <br>Luís Pereira (luis.artur.pereira@gmail.com)<br>Alf Gaida (agaida@siduction.org)<br>Paulo Lieuthier (paulolieuthier@gmail.com)<br>Jerome Leclanche (jerome@leclan.ch)<br> + <b>Původní Qps vytvořil </b><br>Mattias Engdegård (f91-men@nada.kth.se)<br><br><b>Na vývoji se podíleli</b><br>Olivier.Daudel@u-paris10.fr<br>jsanchez@todounix.homeip.net <br>daehyun.yang@gmail.com <br>Luís Pereira (luis.artur.pereira@gmail.com)<br>Alf Gaida (agaida@siduction.org)<br>Paulo Lieuthier (paulolieuthier@gmail.com)<br>Jerome Leclanche (jerome@leclan.ch)<br> + + + + <H1>QPS Help</H1>Updated: May 24 2005<BR><A HREF="http://kldp.net/projects/qps">http://kldp.net/projects/qps</A><HR><table style="text-align: center; width: 100%;" border="1" cellpadding="1" cellspacing="0"> <tbody> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Quit </td> <td >&nbsp; CTRL + q , CTRL + x </td> </tr> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Update </td> <td>&nbsp;Space , Enter </td> </tr> <tr><td> process Terminate </td> <td> ALT + T , DELETE </td> </tr> <tr><td> process Kill </td> <td> ALT + K </td> </tr> </tbody></table> + <H1>Nápověda ke QPS</H1>Aktualizováno: 24. květen 2005<BR><A HREF="http://kldp.net/projects/qps">http://kldp.net/projects/qps</A><HR><table style="text-align: center; width: 100%;" border="1" cellpadding="1" cellspacing="0"> <tbody> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Ukončit </td> <td >&nbsp; CTRL + q , CTRL + x </td> </tr> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Aktualizovat </td> <td>&nbsp;Space , Enter </td> </tr> <tr><td> process Terminate </td> <td> ALT + T , DELETE </td> </tr> <tr><td> Vynucené ukončení procesu </td> <td> ALT + K </td> </tr> </tbody></table> + + + + SchedDialog + + + Change scheduling + Změnit plánování + + + + Scheduling Policy + Zásada plánování + + + + SCHED_OTHER (time-sharing) + SCHED_OTHER (sdílení času) + + + + SCHED_FIFO (real-time) + SCHED_FIFO (v reálném čase) + + + + SCHED_RR (real-time) + SCHED_RR (v reálném čase) + + + + OK + + + + + Cancel + Storno + + + + Priority (1-99): + Priorita (1-99): + + + + Invalid Input + Neplatné zadání + + + + The priority must be in the range 1..99 + Je třeba, aby priorita byla z rozsahu 1 až 99 + + + + Screenshot + + + /untitled. + /beznazvu. + + + + Save As + Uložit jako + + + + %1 Files (*.%2);;All Files (*) + %1 soubory (*.%2);;Všechny soubory (*) + + + + Options + Volby + + + + s + + + + + Screenshot Delay: + Prodleva pořízení snímku obrazovky: + + + + Hide This Window + Skrýt toto okno + + + + New Screenshot + Nový snímek obrazovky + + + + Quit + Ukončit + + + + SearchBox + + + PID,COMMAND,USER... + PID,COMMAND,USER… + + + + SliderDialog + + + Renice Process + Změnit prioritu (nice) procesu + + + + New nice value: + Nová hodnota priority: + + + + Cancel + Storno + + + + OK + + + + + Sockets + + + Fd + + + + + File descriptor + Popisovač souboru + + + + Proto + + + + + Protocol (TCP or UDP) + Protokol (TCP nebo UDP) + + + + Recv-Q + + + + + Bytes in receive queue + Bajtů ve frontě příjmu + + + + Send-Q + + + + + Bytes in send queue + Bajtů ve frontě odesílání + + + + Local Addr + Místní adr. + + + + Local IP address + Místní IP adresa + + + + + Port + + + + + Local port + Místní port + + + + Remote Addr + Vzdálená adr. + + + + Remote IP address + IP adresa protějšku + + + + Remote port + Vzdálený port + + + + State + Stav + + + + Connection state + Stav spojení + + + + StatusBar + + + Process count: %1 + Počet procesů: %1 + + + + TBloon + + + This is unstable Alpha feature + You maybe see a SEGFAULT... + Toto je nestabilní funkce v ranném stádiu vývoje + Může vyvolávat porušení ochrany paměti… + + + + TFrame + + + this is Tframe widget + toto je Tframe ovládací prvek + + + + UFrame + + + title + titulek + + + + WatchdogDialog + + + if process start + pokud je proces spuštěn + + + + if process finish + pokud proces skončí + + + + select condition + vybrat podmínku + + + diff --git a/src/translations/qps_cy.ts b/src/translations/qps_cy.ts new file mode 100644 index 0000000..e0b0bf8 --- /dev/null +++ b/src/translations/qps_cy.ts @@ -0,0 +1,1772 @@ + + + + + AllFields + + + Field + + + + + Field name + + + + + Description + + + + + Field description + + + + + Value + + + + + Field value + + + + + Boxvar + + + Exit On Close Button + + + + + Host Name Lookup + + + + + Service Name Lookup + + + + + Disclosure Triangles + + + + + Branch Lines + + + + + Auto Save Settings on Exit + + + + + Selection: Copy PIDs to Clipboard + + + + + Normalize NICE + + + + + Use pmap for Map Names + + + + + Cbgroup + + + General + + + + + Command + + + The command: + + + + + + + + +failed with the error: + + + + + + + Too many processes + + + + + Unknown error + + + + + + +could not be executed because it was not found, +or you did not have execute permission. + + + + + + +exited with status + + + + + Command Failed + + + + + CommandDialog + + + Edit Commands 0.1 alpha + + + + + Name: + + + + + Popup + + + + + Command Line: + + + + + Substitutions: +%p PID +%c COMMAND +%C CMDLINE +%u USER +%% % + + + + + + + New... + + + + + + Add... + + + + + Delete + + + + + Close + + + + + ControlBar + + + Linear + + + + + Tree + + + + + All Processes + + + + + Your Processes + + + + + Non-Root Processes + + + + + Running Processes + + + + + Pause (Ctrl+Space) + + + + + Details + + + Process %1 ( %2 ) - details + + + + + Files + + + + + Sockets + + + + + Memory Maps + + + + + Environment + + + + + All Fields + + + + + Environ + + + Variable + + + + + Variable name + + + + + Value + + + + + Variable value + + + + + EventDialog + + + Watchdog 0.1 alpha + + + + + Eventcat + + + + + Select condition + + + + + labelDescrition + + + + + Enable + + + + + process name + + + + + cpu + + + + + % + + + + + include already running process + + + + + run command + + + + + show Message + + + + + Help (Not yet. just concept) + + + + + %p : pid +%c : command + + + + + New + + + + + Add + + + + + Delete + + + + + Close + + + + + ExecWindow + + + Qps + + + + + Ok + + + + + Qps Watchdog + + + + + %1 exit with code %2 + + + + + Close + + + + + %1 [running] + + + + + terminate command + + + + + Error %1 : [%2] Maybe command not found + + + + + FieldSelect + + + Select Custom Fields + + + + + Close + + + + + Files + + + Fd + + + + + File descriptor + + + + + Mode + + + + + Open mode + + + + + Name + + + + + File name (if available) + + + + + IntervalDialog + + + Change Update Period + + + + + New Update Period + + + + + Cancel + + + + + OK + + + + + No UPDATE + + + + + Invalid value + + + + + ListModel + + + Event Category + + + + + Enable + + + + + Maps + + + Address Range + + + + + Mapped addresses (hex) ) + + + + + Size + + + + + Kbytes mapped (dec) + + + + + Perm + + + + + Permission flags + + + + + Offset + + + + + File offset at start of mapping (hex) + + + + + Device + + + + + Major,Minor device numbers (dec) + + + + + Inode + + + + + Inode number (dec) + + + + + File + + + + + File name (if available) + + + + + PermissionDialog + + + Permission + + + + + Root password + + + + + Cancel + + + + + OK + + + + + Preferences + + + Preferences + + + + + Setting + + + + + %CPU divided by + + + + + Total cpu: %1 + + + + + Single cpu: 1 + + + + + default + + + + + for developer + + + + + Appearance + + + + + Proc + + + PID + + + + + Process ID + + + + + TGID + + + + + Task group ID ( parent of threads ) + + + + + PPID + + + + + Parent process ID + + + + + PGID + + + + + Process group ID + + + + + SID + + + + + Session ID + + + + + TTY + + + + + Terminal + + + + + TPGID + + + + + Process group ID of tty owner + + + + + USER + + + + + Owner (*=suid root, +=suid a user) + + + + + GROUP + + + + + Group name (*=sgid other) + + + + + UID + + + + + Real user ID + + + + + EUID + + + + + Effective user ID + + + + + SUID + + + + + Saved user ID (Posix) + + + + + FSUID + + + + + File system user ID + + + + + GID + + + + + Real group ID + + + + + EGID + + + + + Effective group ID + + + + + SGID + + + + + Saved group ID (Posix) + + + + + FSGID + + + + + File system group ID + + + + + PRI + + + + + Dynamic priority + + + + + NICE + + + + + Scheduling favour (higher -> less cpu time) + + + + + NLWP + + + + + Number of tasks(threads) in task group + + + + + PLCY + + + + + Scheduling policy + + + + + RPRI + + + + + Realtime priority (0-99, more is better) + + + + + TMS + + + + + Time slice in milliseconds + + + + + %SAVG + + + + + Percentage average sleep time (-1 -> N/A) + + + + + CPUSET + + + + + Affinity CPU mask (0 -> API not supported) + + + + + MAJFLT + + + + + Number of major faults (disk access) + + + + + MINFLT + + + + + Number of minor faults (no disk access) + + + + + VSIZE + + + + + Virtual image size of process + + + + + RSS + + + + + Resident set size + + + + + MEM + + + + + memory usage (RSS-SHARE) + + + + + TRS + + + + + Text(code) resident set size + + + + + DRS + + + + + Data resident set size(malloc+global variable) + + + + + STACK + + + + + Stack size + + + + + SHARE + + + + + Shared memory with other libs + + + + + SWAP + + + + + Kbytes on swap device + + + + + IO_R + + + + + io read (file) + + + + + IO_W + + + + + io write (file) + + + + + DT + + + + + Number of dirty (non-written) pages + + + + + STAT + + + + + State of the process + + + + + FLAGS + + + + + Process flags (hex) + + + + + WCHAN + + + + + Kernel function where process is sleeping + + + + + %WCPU + + + + + Weighted percentage of CPU (30 s average) + + + + + %CPU + + + + + Percentage of CPU used since last update + + + + + %MEM + + + + + Percentage of memory used (RSS/total mem) + + + + + START + + + + + Time process started + + + + + TIME + + + + + Total CPU time used since start + + + + + CPU + + + + + CPU the process is executing on (SMP system) + + + + + the process name + + + + + Process Name + + + + + CWD + + + + + Current working directory + + + + + ROOT + + + + + Root directory of process + + + + + COMMAND_LINE + + + + + Command line that started the process + + + + + QObject + + + Show + + + + + Hide + + + + + ScreenShot + + + + + Quit + + + + + Qps + + + header_popup + + + + + Remove Field + + + + + Add Field + + + + + Command + + + + + View + + + + + Process + + + + + Log + + + + + Custom Fields + + + + + Basic Fields + + + + + Jobs Fields + + + + + Memory Fields + + + + + Scheduling Fields + + + + + Select Custom Fields... + + + + + Option + + + + + Update Period... + + + + + Show Status bar + + + + + Preferences... + + + + + Help + + + + + + About + + + + + Detail + + + + + test + + + + + Copied to Clipboard + + + + + context popup + + + + + Renice... + + + + + Scheduling... + + + + + Terminate + + + + + Hangup + + + + + Kill + + + + + Stop + + + + + Continue + + + + + SIGINT (interrupt) + + + + + SIGCONT (continue) + + + + + SIGSTOP (stop) + + + + + SIGQUIT (quit) + + + + + SIGILL (illegal instruction) + + + + + SIGABRT (abort) + + + + + SIGFPE (floating point exception) + + + + + SIGSEGV (segmentation violation) + + + + + SIGPIPE (broken pipe) + + + + + SIGALRM (timer signal) + + + + + SIGUSR1 (user-defined 1) + + + + + SIGUSR2 (user-defined 2) + + + + + SIGCHLD (child death) + + + + + SIGTSTP (stop from tty) + + + + + SIGTTIN (tty input) + + + + + SIGTTOU (tty output) + + + + + View Details + + + + + WatchDog + + + + + Edit Commands... + + + + + Quit + + + + + + + + + + Permission denied + + + + + You do not have permission to renice the selected processes. Only the process owner and the super-user are allowed to do that. + + + + + You do not have permission to renice process %1 (%2).Only the process owner and the super-user are allowed to do that. + + + + + Only the super-user may lower the nice value of a process. + + + + + Only the super-user may change the scheduling policy and static priority. + + + + + You do not have permission to change the scheduling and/or priority of process %1 (%2). Only the super-user may do that. + + + + + You do not have permission to send a signal to process %1 (%2). Only the super-user and the owner of the process may send signals to it. + + + + + <h2> Qps %1 - A Visual Process Manager </h2> %2 using Qt library %3<br><br><b>Source: </b><a href="https://github.com/lxqt/qps">https://github.com/lxqt/qps/</a><br><b>Bugtracker: </b><a href="https://github.com/lxqt/qps/issues">https://github.com/lxqt/qps/issues</a> + + + + + <b>Original Qps by</b><br>Mattias Engdegård (f91-men@nada.kth.se)<br><br><b>Contributors</b><br>Olivier.Daudel@u-paris10.fr<br>jsanchez@todounix.homeip.net <br>daehyun.yang@gmail.com <br>Luís Pereira (luis.artur.pereira@gmail.com)<br>Alf Gaida (agaida@siduction.org)<br>Paulo Lieuthier (paulolieuthier@gmail.com)<br>Jerome Leclanche (jerome@leclan.ch)<br> + + + + + <H1>QPS Help</H1>Updated: May 24 2005<BR><A HREF="http://kldp.net/projects/qps">http://kldp.net/projects/qps</A><HR><table style="text-align: center; width: 100%;" border="1" cellpadding="1" cellspacing="0"> <tbody> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Quit </td> <td >&nbsp; CTRL + q , CTRL + x </td> </tr> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Update </td> <td>&nbsp;Space , Enter </td> </tr> <tr><td> process Terminate </td> <td> ALT + T , DELETE </td> </tr> <tr><td> process Kill </td> <td> ALT + K </td> </tr> </tbody></table> + + + + + SchedDialog + + + Change scheduling + + + + + Scheduling Policy + + + + + SCHED_OTHER (time-sharing) + + + + + SCHED_FIFO (real-time) + + + + + SCHED_RR (real-time) + + + + + OK + + + + + Cancel + + + + + Priority (1-99): + + + + + Invalid Input + + + + + The priority must be in the range 1..99 + + + + + Screenshot + + + /untitled. + + + + + Save As + + + + + %1 Files (*.%2);;All Files (*) + + + + + Options + + + + + s + + + + + Screenshot Delay: + + + + + Hide This Window + + + + + New Screenshot + + + + + Quit + + + + + SearchBox + + + PID,COMMAND,USER... + + + + + SliderDialog + + + Renice Process + + + + + New nice value: + + + + + Cancel + + + + + OK + + + + + Sockets + + + Fd + + + + + File descriptor + + + + + Proto + + + + + Protocol (TCP or UDP) + + + + + Recv-Q + + + + + Bytes in receive queue + + + + + Send-Q + + + + + Bytes in send queue + + + + + Local Addr + + + + + Local IP address + + + + + + Port + + + + + Local port + + + + + Remote Addr + + + + + Remote IP address + + + + + Remote port + + + + + State + + + + + Connection state + + + + + StatusBar + + + Process count: %1 + + + + + TBloon + + + This is unstable Alpha feature + You maybe see a SEGFAULT... + + + + + TFrame + + + this is Tframe widget + + + + + UFrame + + + title + + + + + WatchdogDialog + + + if process start + + + + + if process finish + + + + + select condition + + + + diff --git a/src/translations/qps_da.ts b/src/translations/qps_da.ts index 2cd6f6a..bc7ffe4 100644 --- a/src/translations/qps_da.ts +++ b/src/translations/qps_da.ts @@ -1,14 +1,312 @@ + + AllFields + + + Field + Felt + + + + Field name + Feltnavn + + + + Description + Beskrivelse + + + + Field description + Feltbeskrivelse + + + + Value + Værdi + + + + Field value + Feltværdi + + + + Boxvar + + + Exit On Close Button + Afslut ved luk-knap + + + + Host Name Lookup + Opslag af host navn + + + + Service Name Lookup + Opslag af service navn + + + + Disclosure Triangles + Afsløringstrekanter + + + + Branch Lines + Grenlinjer + + + + Auto Save Settings on Exit + Gem indstillinger automatisk ved afslut + + + + Selection: Copy PIDs to Clipboard + Markering: Kopiér PID'er til udklipsholder + + + + Normalize NICE + Normaliser NICE + + + + Use pmap for Map Names + Brug pmap til kortnavne + + + + Cbgroup + + + General + Generelt + + + + Command + + + The command: + + + Kommandoen: + + + + + + + +failed with the error: + + + + +mislykkede med fejlen: + + + + + + Too many processes + For mange processer + + + + Unknown error + Ukendt fejl + + + + + +could not be executed because it was not found, +or you did not have execute permission. + + +kunne ikke eksekveres da den ikke blev fundet, +eller du ikke har tilladelse til at eksekvere. + + + + + +exited with status + + +afsluttede med status + + + + Command Failed + Kommando mislykkedes + + + + CommandDialog + + + Edit Commands 0.1 alpha + Rediger kommandoer 0,1 alfa + + + + Name: + Navn: + + + + Popup + Pop op + + + + Command Line: + Kommandolinje: + + + + Substitutions: +%p PID +%c COMMAND +%C CMDLINE +%u USER +%% % + + + Erstatninger: +%p PID +%c KOMMANDO +%C KOMMANDOLINJE +%u BRUGER +%% % + + + + + + New... + Ny... + + + + + Add... + Tilføj... + + + + Delete + Slet + + + + Close + Luk + + ControlBar - + + Linear + Lineær + + + + Tree + Træ + + + + All Processes + Alle processer + + + + Your Processes + Dine processer + + + + Non-Root Processes + Ikke-root processer + + + + Running Processes + Kørende processer + + + Pause (Ctrl+Space) Pause (Ctrl+Mellemrum) + + Details + + + Process %1 ( %2 ) - details + Proces %1 ( %2 ) - detaljer + + + + Files + Filer + + + + Sockets + Sokler + + + + Memory Maps + Hukommelseskort + + + + Environment + Miljø + + + + All Fields + Alle felter + + + + Environ + + + Variable + Variabel + + + + Variable name + Variabelnavn + + + + Value + Værdi + + + + Variable value + Variabelværdi + + EventDialog @@ -19,7 +317,7 @@ Eventcat - + Eventcat @@ -49,7 +347,7 @@ % - % + % @@ -111,61 +409,1384 @@ Ok OK + + + Qps Watchdog + Qps-watchdog + + + + %1 exit with code %2 + %1 afsluttede med koden %2 + + + + Close + Luk + + + + %1 [running] + %1 [kørende] + + + + terminate command + terminer kommando + + + + Error %1 : [%2] Maybe command not found + Fejl %1 : [%2] Måske findes kommendoen ikke + + + + FieldSelect + + + Select Custom Fields + Vælg tilpassede felter + + + + Close + Luk + + + + Files + + + Fd + Fb + + + + File descriptor + Filbeskriver + + + + Mode + Tilstand + + + + Open mode + Åbningstilstand + + + + Name + Navn + + + + File name (if available) + Filnavn (hvis tilgængeligt) + + + + IntervalDialog + + + Change Update Period + Skift opdateringsperiode + + + + New Update Period + Ny opdateringsperiode + + + + Cancel + Annuller + + + + OK + OK + + + + No UPDATE + Ingen opdatering + + + + Invalid value + Ugyldig værdi + - Qps + ListModel - - Detail - Detalje + + Event Category + Begivenhedskategori + + + + Enable + Aktivér - Screenshot + Maps - - /untitled. - /unavngivet. + + Address Range + Adresseområde - - Save As - Gem som + + Mapped addresses (hex) ) + Kortlagte adresser (hex) ) - - %1 Files (*.%2);;All Files (*) - %1 filer (*.%2);;Alle filer (*) + + Size + Størrelse - - Options - Valgmuligheder + + Kbytes mapped (dec) + Kbytes-kortlagt (dec) - - s - s + + Perm + Till - - Screenshot Delay: - Forsinkelse for skærmbillede: + + Permission flags + Tilladelsesflag - - Hide This Window - Skjul vinduet + + Offset + Forskydning - - New Screenshot - Nyt skærmbillede + + File offset at start of mapping (hex) + Filforskydning ved begyndelse af kortlægning (hex) - - Quit - Afslut + + Device + Enhed + + + + Major,Minor device numbers (dec) + Større,mindre-enhedsnummre (dec) + + + + Inode + Inode + + + + Inode number (dec) + Inode-nummer (dec) + + + + File + Fil + + + + File name (if available) + Filnavn (hvis tilgængeligt) + + + + PermissionDialog + + + Permission + Tilladelse + + + + Root password + Root-adgangskode + + + + Cancel + Annuller + + + + OK + OK + + + + Preferences + + + Preferences + Præferencer + + + + Setting + Indstilling + + + + %CPU divided by + %CPU divideret med + + + + Total cpu: %1 + Samlet cpu: %1 + + + + Single cpu: 1 + Enkelt cpu: 1 + + + + default + standard + + + + for developer + til udvikler + + + + Appearance + Udseende + + + + Proc + + + PID + PID + + + + Process ID + Proces-ID + + + + TGID + OGID + + + + Task group ID ( parent of threads ) + Opgavens gruppe-ID ( forælder af tråde ) + + + + PPID + FPID + + + + Parent process ID + Forælderens proces-ID + + + + PGID + PGID + + + + Process group ID + Processens gruppe-ID + + + + SID + SID + + + + Session ID + Session-ID + + + + TTY + TTY + + + + Terminal + Terminal + + + + TPGID + TPGID + + + + Process group ID of tty owner + Processens gruppe-ID af tty-ejer + + + + USER + BRUGER + + + + Owner (*=suid root, +=suid a user) + Ejer (*=suid root, +=suid en bruger) + + + + GROUP + GRUPPE + + + + Group name (*=sgid other) + Gruppenavn (*=sgid andet) + + + + UID + BID + + + + Real user ID + Rigtige bruger-ID + + + + EUID + VBID + + + + Effective user ID + Virkende bruger-ID + + + + SUID + GBID + + + + Saved user ID (Posix) + Gemte bruger-ID (Posix) + + + + FSUID + FSBID + + + + File system user ID + Filsystemets bruger-ID + + + + GID + GID + + + + Real group ID + Rigtige gruppe-ID + + + + EGID + VGID + + + + Effective group ID + Virkende gruppe-ID + + + + SGID + GBID + + + + Saved group ID (Posix) + Gemte gruppe-ID (Posix) + + + + FSGID + FSGID + + + + File system group ID + Filsystemets gruppe-ID + + + + PRI + PRI + + + + Dynamic priority + Dynamisk prioritet + + + + NICE + NICE + + + + Scheduling favour (higher -> less cpu time) + Planlægningsfavør (højere -> mindre cpu-tid) + + + + NLWP + NLWP + + + + Number of tasks(threads) in task group + Antal grupper (tråde) i opgavegruppe + + + + PLCY + PLTK + + + + Scheduling policy + Planlægningspolitik + + + + RPRI + RPRI + + + + Realtime priority (0-99, more is better) + Realtidsprioritet (0-99, mere er bedre) + + + + TMS + TMS + + + + Time slice in milliseconds + Tidsskive i millisekunder + + + + %SAVG + %SGEN + + + + Percentage average sleep time (-1 -> N/A) + Procent gennemsnitlig sovetid (-1 -> ikke relevant) + + + + CPUSET + CPUSET + + + + Affinity CPU mask (0 -> API not supported) + Affinitet CPU-maske (0 -> API understøttes ikke) + + + + MAJFLT + STØFJL + + + + Number of major faults (disk access) + Antal større fejl (diskadgang) + + + + MINFLT + MINFJL + + + + Number of minor faults (no disk access) + Antal mindre fejl (diskadgang) + + + + VSIZE + VSTØR + + + + Virtual image size of process + Virtuelt aftryksstørrelse af proces + + + + RSS + RSS + + + + Resident set size + Resident set-størrelse + + + + MEM + HUK + + + + memory usage (RSS-SHARE) + hukommelsesforbrug (RSS-DELING) + + + + TRS + TRS + + + + Text(code) resident set size + Tekst (kode) resident set-størrelse + + + + DRS + DRS + + + + Data resident set size(malloc+global variable) + Data resident set-størrelse (malloc+global variabel) + + + + STACK + STAK + + + + Stack size + Stakstørrelse + + + + SHARE + DELT + + + + Shared memory with other libs + Delt hukommelse med andre biblioteker + + + + SWAP + SWAP + + + + Kbytes on swap device + Kbytes på swap-enhed + + + + IO_R + IO_L + + + + io read (file) + io-læs (fil) + + + + IO_W + IO_S + + + + io write (file) + io-skriv (fil) + + + + DT + BS + + + + Number of dirty (non-written) pages + Antal beskidte (ikke skrevne) sider + + + + STAT + STAT + + + + State of the process + Tilstand af processen + + + + FLAGS + FLAG + + + + Process flags (hex) + Procesflag (hex) + + + + WCHAN + WKAN + + + + Kernel function where process is sleeping + Kernefunktion hvor processen sover + + + + %WCPU + %VCPU + + + + Weighted percentage of CPU (30 s average) + Vægtet procent af CPU (30 s i gennemsnit) + + + + %CPU + %CPU + + + + Percentage of CPU used since last update + Procent af CPU brugt siden sidste opdatering + + + + %MEM + %HUK + + + + Percentage of memory used (RSS/total mem) + Procent af hukommelse brugt (RSS/samlet hukommelse) + + + + START + START + + + + Time process started + Tidsproces startet + + + + TIME + TID + + + + Total CPU time used since start + Samlet CPU-tid brugt siden start + + + + CPU + CPU + + + + CPU the process is executing on (SMP system) + CPU som processen udføres på (SMP-system) + + + + the process name + processens navn + + + + Process Name + Processens navn + + + + CWD + NAM + + + + Current working directory + Nuværende arbejdsmappe + + + + ROOT + ROD + + + + Root directory of process + Rodmappen for processen + + + + COMMAND_LINE + KOMMANDOLINJE + + + + Command line that started the process + Kommandolinje som startede processen + + + + QObject + + + Show + Vis + + + + Hide + Skjul + + + + ScreenShot + Skærmbillede + + + + Quit + Afslut + + + + Qps + + + header_popup + header_popop + + + + Remove Field + Fjern felt + + + + Add Field + Tilføj felt + + + + Command + Kommando + + + + View + Vis + + + + Process + Proces + + + + Log + Log + + + + Custom Fields + Tilpassede felter + + + + Basic Fields + Grundlæggende felter + + + + Jobs Fields + Jobfelter + + + + Memory Fields + Hukommelsesfelter + + + + Scheduling Fields + Planlægningsfelter + + + + Select Custom Fields... + Vælg tilpassede felter... + + + + Option + Valgmulighed + + + + Update Period... + Opdater periode... + + + + Show Status bar + Vis statuslinje + + + + Preferences... + Præferencer... + + + + Help + Hjælp + + + + + About + Om + + + + Detail + Detalje + + + + test + test + + + + Copied to Clipboard + Kopieret til udklipsholder + + + + context popup + genvejsmenu + + + + Renice... + Renice... + + + + Scheduling... + Planlægning... + + + + Terminate + Terminér + + + + Hangup + Læg på + + + + Kill + Dræb + + + + Stop + Stop + + + + Continue + Fortsæt + + + + SIGINT (interrupt) + SIGINT (interrupt) + + + + SIGCONT (continue) + SIGCONT (fortsæt) + + + + SIGSTOP (stop) + SIGSTOP (stop) + + + + SIGQUIT (quit) + SIGQUIT (afslut) + + + + SIGILL (illegal instruction) + SIGILL (ulovlig instruktion) + + + + SIGABRT (abort) + SIGABRT (afbryd) + + + + SIGFPE (floating point exception) + SIGFPE (undtagelse med flydende kommatal) + + + + SIGSEGV (segmentation violation) + SIGSEGV (overtrædelse af segmentering) + + + + SIGPIPE (broken pipe) + SIGPIPE (ødelagt pipe) + + + + SIGALRM (timer signal) + SIGALRM (timersignal) + + + + SIGUSR1 (user-defined 1) + SIGUSR1 (brugerdefineret 1) + + + + SIGUSR2 (user-defined 2) + SIGUSR2 (brugerdefineret 2) + + + + SIGCHLD (child death) + SIGCHLD (barnedød) + + + + SIGTSTP (stop from tty) + SIGTSTP (stop fra tty) + + + + SIGTTIN (tty input) + SIGTTIN (tty-input) + + + + SIGTTOU (tty output) + SIGTTOU (tty-output) + + + + View Details + Vis detaljer + + + + WatchDog + WatchDog + + + + Edit Commands... + Rediger kommandoer... + + + + Quit + Afslut + + + + + + + + + Permission denied + Tilladelse nægtet + + + + You do not have permission to renice the selected processes. Only the process owner and the super-user are allowed to do that. + Du har ikke tilladelse til at renice de valgte processer. Det er kun processens ejer og superbrugeren som har tilladelse til det. + + + + You do not have permission to renice process %1 (%2).Only the process owner and the super-user are allowed to do that. + Du har ikke tilladelse til at renice processen %1 (%2). Det er kun processens ejer og superbrugeren som har tilladelse til det. + + + + Only the super-user may lower the nice value of a process. + Det er kun superbrugeren som må mindske nice-værdien af en process. + + + + Only the super-user may change the scheduling policy and static priority. + Det er kun superbrugeren som må skifte planlægningspolitikken og statisk prioritet. + + + + You do not have permission to change the scheduling and/or priority of process %1 (%2). Only the super-user may do that. + Du har ikke tilladelse til at skifte planlægningen og/eller prioriteten af processen %1 (%2). Det er kun superbrugeren som må det. + + + + You do not have permission to send a signal to process %1 (%2). Only the super-user and the owner of the process may send signals to it. + Du har ikke tilladelse til at sende et signal til processen %1 (%2). Det er kun superbrugeren og ejeren af processen som må sende signaler til den. + + + + <h2> Qps %1 - A Visual Process Manager </h2> %2 using Qt library %3<br><br><b>Source: </b><a href="https://github.com/lxqt/qps">https://github.com/lxqt/qps/</a><br><b>Bugtracker: </b><a href="https://github.com/lxqt/qps/issues">https://github.com/lxqt/qps/issues</a> + <h2> Qps %1 - En visuel proceshåndtering </h2> %2 bruger Qt-biblioteket %3<br><br><b>Kilde: </b><a href="https://github.com/lxqt/qps">https://github.com/lxqt/qps/</a><br><b>Fejlsporing: </b><a href="https://github.com/lxqt/qps/issues">https://github.com/lxqt/qps/issues</a> + + + + <b>Original Qps by</b><br>Mattias Engdegård (f91-men@nada.kth.se)<br><br><b>Contributors</b><br>Olivier.Daudel@u-paris10.fr<br>jsanchez@todounix.homeip.net <br>daehyun.yang@gmail.com <br>Luís Pereira (luis.artur.pereira@gmail.com)<br>Alf Gaida (agaida@siduction.org)<br>Paulo Lieuthier (paulolieuthier@gmail.com)<br>Jerome Leclanche (jerome@leclan.ch)<br> + <b>Original Qps af</b><br>Mattias Engdegård (f91-men@nada.kth.se)<br><br><b>Bidragydere</b><br>Olivier.Daudel@u-paris10.fr<br>jsanchez@todounix.homeip.net <br>daehyun.yang@gmail.com <br>Luís Pereira (luis.artur.pereira@gmail.com)<br>Alf Gaida (agaida@siduction.org)<br>Paulo Lieuthier (paulolieuthier@gmail.com)<br>Jerome Leclanche (jerome@leclan.ch)<br> + + + + <H1>QPS Help</H1>Updated: May 24 2005<BR><A HREF="http://kldp.net/projects/qps">http://kldp.net/projects/qps</A><HR><table style="text-align: center; width: 100%;" border="1" cellpadding="1" cellspacing="0"> <tbody> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Quit </td> <td >&nbsp; CTRL + q , CTRL + x </td> </tr> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Update </td> <td>&nbsp;Space , Enter </td> </tr> <tr><td> process Terminate </td> <td> ALT + T , DELETE </td> </tr> <tr><td> process Kill </td> <td> ALT + K </td> </tr> </tbody></table> + <H1>QPS hjælp</H1>Opdateret: 24. maj 2005<BR><A HREF="http://kldp.net/projects/qps">http://kldp.net/projects/qps</A><HR><table style="text-align: center; width: 100%;" border="1" cellpadding="1" cellspacing="0"> <tbody> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Afslut </td> <td >&nbsp; CTRL + q , CTRL + x </td> </tr> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Opdater </td> <td>&nbsp;Mellemrum , Enter </td> </tr> <tr><td> proces terminér </td> <td> ALT + T , DELETE </td> </tr> <tr><td> proces dræb </td> <td> ALT + K </td> </tr> </tbody></table> + + + + SchedDialog + + + Change scheduling + Skift planlægning + + + + Scheduling Policy + Planlægningspolitik + + + + SCHED_OTHER (time-sharing) + PLANL_ANDET (tidsdeling) + + + + SCHED_FIFO (real-time) + PLANL_FIFO (realtid) + + + + SCHED_RR (real-time) + PLANL_RR (realtid) + + + + OK + OK + + + + Cancel + Annuller + + + + Priority (1-99): + Prioritet (1-99): + + + + Invalid Input + Ugyldig input + + + + The priority must be in the range 1..99 + Prioriteten skal være i området 1..99 + + + + Screenshot + + + /untitled. + /unavngivet. + + + + Save As + Gem som + + + + %1 Files (*.%2);;All Files (*) + %1 filer (*.%2);;Alle filer (*) + + + + Options + Valgmuligheder + + + + s + s + + + + Screenshot Delay: + Forsinkelse for skærmbillede: + + + + Hide This Window + Skjul vinduet + + + + New Screenshot + Nyt skærmbillede + + + + Quit + Afslut + + + + SearchBox + + + PID,COMMAND,USER... + PID,KOMMANDO,BRUGER... + + + + SliderDialog + + + Renice Process + Renice proces + + + + New nice value: + Ny nice-værdi: + + + + Cancel + Annuller + + + + OK + OK + + + + Sockets + + + Fd + Fb + + + + File descriptor + Filbeskriver + + + + Proto + Proto + + + + Protocol (TCP or UDP) + Protokol (TCP eller UDP) + + + + Recv-Q + Modt-Q + + + + Bytes in receive queue + Bytes i modtagekø + + + + Send-Q + Send-Q + + + + Bytes in send queue + Bytes i sendekø + + + + Local Addr + Lokal adre + + + + Local IP address + Lokal IP-adresse + + + + + Port + Port + + + + Local port + Lokal port + + + + Remote Addr + Fjernadre + + + + Remote IP address + Fjern-IP-adresse + + + + Remote port + Fjernport + + + + State + Tilstand + + + + Connection state + Forbindelsestilstand + + + + StatusBar + + + Process count: %1 + Procestælling: %1 + + + + TBloon + + + This is unstable Alpha feature + You maybe see a SEGFAULT... + Dette er en ustabil alfa-funktionalitet + Det kan være du ser en SEGFAULT... + + + + TFrame + + + this is Tframe widget + dette er Tframe-widget + + + + UFrame + + + title + titel + + + + WatchdogDialog + + + if process start + hvis processen starter + + + + if process finish + hvis processen afslutter + + + + select condition + vælg betingelse diff --git a/src/translations/qps_de.ts b/src/translations/qps_de.ts index 5dbfcd6..ace5370 100644 --- a/src/translations/qps_de.ts +++ b/src/translations/qps_de.ts @@ -1,14 +1,312 @@ - + + + AllFields + + + Field + Feld + + + + Field name + Feldname + + + + Description + Beschreibung + + + + Field description + Feldbeschreibung + + + + Value + Wert + + + + Field value + Feldwert + + + + Boxvar + + + Exit On Close Button + Beenden durch Schließen-Schaltfläche + + + + Host Name Lookup + Nachschlagen des Hostnamens + + + + Service Name Lookup + Nachschlagen des Dienstnamens + + + + Disclosure Triangles + Aufdeckungsdreiecke + + + + Branch Lines + Zweiglinien + + + + Auto Save Settings on Exit + Einstellungen beim Beenden automatisch speichern + + + + Selection: Copy PIDs to Clipboard + Auswahl: PIDs in die Zwischenablage kopieren + + + + Normalize NICE + NICE normalisieren + + + + Use pmap for Map Names + Pmap zur Namensgebung bei der Prozessabbildung verwenden + + + + Cbgroup + + + General + Allgemein + + + + Command + + + The command: + + + Der Befehl: + + + + + + + +failed with the error: + + + + +scheiterte mit dem Fehler: + + + + + + Too many processes + Zu viele Prozesse + + + + Unknown error + Unbekannter Fehler + + + + + +could not be executed because it was not found, +or you did not have execute permission. + + +konnte nicht ausgeführt werden, mangels fehlender +Identifizierbarkeit oder Ausführungsberechtigung. + + + + + +exited with status + + +endete mit Status + + + + Command Failed + Befehl fehlgeschlagen + + + + CommandDialog + + + Edit Commands 0.1 alpha + + + + + Name: + Name: + + + + Popup + Pop-up + + + + Command Line: + Befehlszeile: + + + + Substitutions: +%p PID +%c COMMAND +%C CMDLINE +%u USER +%% % + + + Substitutionen: +%p PID +%c BEFEHL +%C BEFEHLSZEILE +%u BENUTZER +%% % + + + + + + New... + Neu... + + + + + Add... + Hinzufügen... + + + + Delete + Löschen + + + + Close + Schließen + + ControlBar - + + Linear + Linear + + + + Tree + Baum + + + + All Processes + Alle Prozesse + + + + Your Processes + Ihre Prozesse + + + + Non-Root Processes + Keine Root-Prozesse + + + + Running Processes + Laufende Prozesse + + + Pause (Ctrl+Space) Pause (Strg+Leertaste) + + Details + + + Process %1 ( %2 ) - details + Prozess %1 ( %2 ) - Details + + + + Files + Dateien + + + + Sockets + Sockets + + + + Memory Maps + Memory Maps + + + + Environment + Umgebung + + + + All Fields + Alle Felder + + + + Environ + + + Variable + Variable + + + + Variable name + Variablenname + + + + Value + Wert + + + + Variable value + Variablenwert + + EventDialog @@ -29,7 +327,7 @@ labelDescrition - + Etikettbezeichnung @@ -54,12 +352,12 @@ include already running process - bereits laufenden Prozess einbeziehen + derzeitig laufenden Prozess einbeziehen run command - starte Befehl + Befehl ausführen @@ -69,13 +367,14 @@ Help (Not yet. just concept) - Hilfe (Noch nicht. Nur Konzept) + Hilfe (Existiert noch nicht.) %p : pid %c : command - + %p : pid +%c : Befehl @@ -110,61 +409,1384 @@ Ok + + + Qps Watchdog + Qps Watchdog + + + + %1 exit with code %2 + %1 beendet mit Rückgabewert %2 + + + + Close + Schließen + + + + %1 [running] + %1 [laufend] + + + + terminate command + Befehl abbrechen + + + + Error %1 : [%2] Maybe command not found + Fehler %1 : [%2] Der Befehl wurde wahrscheinlich nicht gefunden + - Qps + FieldSelect - - Detail - + + Select Custom Fields + Benutzerdefinierte Felder auswählen + + + + Close + Schließen - Screenshot + Files - - /untitled. - + + Fd + Fd - - Save As - Speichern unter + + File descriptor + Dateideskriptor - - %1 Files (*.%2);;All Files (*) - %1 Dateien (*.%2);;Alle Dateien (*) + + Mode + Modus - - Options - Optionen + + Open mode + Offener Modus - - s - + + Name + Name - - Screenshot Delay: - Bildschirmfoto Verzögerung: + + File name (if available) + Dateiname (falls verfügbar) + + + IntervalDialog - - Hide This Window - Verstecke Dieses Fenster + + Change Update Period + Aktualisierungsintervall ändern - - New Screenshot - Neues Bildschirmfoto + + New Update Period + Aktualisierungsintervall - - Quit - Beenden + + Cancel + Abbrechen + + + + OK + OK + + + + No UPDATE + Keine AKTUALISIERUNG + + + + Invalid value + Ungültiger Wert + + + + ListModel + + + Event Category + Ereigniskategorie + + + + Enable + Aktivieren + + + + Maps + + + Address Range + Adressbereich + + + + Mapped addresses (hex) ) + Gemappte Adressen (hex) ) + + + + Size + Größe + + + + Kbytes mapped (dec) + Kbytes gemappt (dez) + + + + Perm + Berechtigung + + + + Permission flags + Berechtigungskennzeichen + + + + Offset + Versatz + + + + File offset at start of mapping (hex) + Dateiversatz bei Beginn des Mappings (hex) + + + + Device + Gerät + + + + Major,Minor device numbers (dec) + Haupt-,Nebengerätsnummern (dez) + + + + Inode + Inode + + + + Inode number (dec) + Inode Nummer (dez) + + + + File + Datei + + + + File name (if available) + Dateiname (falls verfügbar) + + + + PermissionDialog + + + Permission + Berechtigung + + + + Root password + Root-Passwort + + + + Cancel + Abbrechen + + + + OK + OK + + + + Preferences + + + Preferences + Einstellungen + + + + Setting + Einstellung + + + + %CPU divided by + Durchschnittliche Prozessorlast dargestellt als + + + + Total cpu: %1 + Quotient aller %1 Prozessorkerne + + + + Single cpu: 1 + Gesamtheit + + + + default + Vorgabe + + + + for developer + für Entwicker + + + + Appearance + Erscheinungsbild + + + + Proc + + + PID + PID + + + + Process ID + Prozess-ID + + + + TGID + TGID + + + + Task group ID ( parent of threads ) + Taskgruppen ID ( Eltern von Threads ) + + + + PPID + PPID + + + + Parent process ID + Elternprozess-ID + + + + PGID + PGID + + + + Process group ID + Prozessgruppen-ID + + + + SID + SID + + + + Session ID + Sitzungs-ID + + + + TTY + TTY + + + + Terminal + Terminal + + + + TPGID + TPGID + + + + Process group ID of tty owner + Prozessgruppen-ID des tty-Besitzers + + + + USER + BENUTZER + + + + Owner (*=suid root, +=suid a user) + Besitzer (*=suid Root, +=suid ein Benutzer) + + + + GROUP + GRUPPE + + + + Group name (*=sgid other) + Gruppenname (*=sgid Weitere) + + + + UID + UID + + + + Real user ID + Tatsächliche Benutzer-ID + + + + EUID + EUID + + + + Effective user ID + Effektive Benutzer-ID + + + + SUID + SUID + + + + Saved user ID (Posix) + Gespeicherte Benutzer-ID (Posix) + + + + FSUID + FSUID + + + + File system user ID + Dateisystem Benutzer-ID + + + + GID + GID + + + + Real group ID + Tatsächliche Gruppen-ID + + + + EGID + EGID + + + + Effective group ID + Wirksame Gruppen-ID + + + + SGID + SGID + + + + Saved group ID (Posix) + Gespeicherte Gruppen-ID (Posix) + + + + FSGID + FSGID + + + + File system group ID + Dateisystem Gruppen-ID + + + + PRI + PRI + + + + Dynamic priority + Dynamische Priorität + + + + NICE + NICE + + + + Scheduling favour (higher -> less cpu time) + Ressourcenbereitstellung (Höhersetzung verringert Rechenzeit) + + + + NLWP + NLWP + + + + Number of tasks(threads) in task group + Task-/Threadanzahl in einer Taskgruppe + + + + PLCY + PLCY + + + + Scheduling policy + Ausführungsrichtlinien + + + + RPRI + RPRI + + + + Realtime priority (0-99, more is better) + Echtzeitpriorität (0-99, höher ist besser) + + + + TMS + TMS + + + + Time slice in milliseconds + Zeitausschnitt in Millisekunden + + + + %SAVG + %SAVG + + + + Percentage average sleep time (-1 -> N/A) + Prozentsatz durchschnittlicher Auszeit (-1 -> N/V) + + + + CPUSET + CPUSET + + + + Affinity CPU mask (0 -> API not supported) + CPU-Affinitätsmaske (0 -> API nicht unterstützt) + + + + MAJFLT + MAJFLT + + + + Number of major faults (disk access) + Anzahl großer Fehler (Datenträgerzugriff) + + + + MINFLT + MINFLT + + + + Number of minor faults (no disk access) + Anzahl kleiner Fehler (kein Datenträgerzugriff) + + + + VSIZE + VSIZE + + + + Virtual image size of process + Virtuelle Abbildgröße des Prozesses + + + + RSS + RSS + + + + Resident set size + Residente Speicherzuweisung + + + + MEM + MEM + + + + memory usage (RSS-SHARE) + Speichernutzung (RSS_SHARE) + + + + TRS + TRS + + + + Text(code) resident set size + Text(code) residente Speicherzuweisung + + + + DRS + DRS + + + + Data resident set size(malloc+global variable) + Residente Datenspeicherzuweisung (malloc+globale Variable) + + + + STACK + STAPEL + + + + Stack size + Stapelgröße + + + + SHARE + SHARE + + + + Shared memory with other libs + Geteilter Speicher mit anderen Bibliotheken + + + + SWAP + SWAP + + + + Kbytes on swap device + Kbytes auf Auslagerungsbereich + + + + IO_R + IO_R + + + + io read (file) + io lesen (Datei) + + + + IO_W + IO_W + + + + io write (file) + io schreiben (Datei) + + + + DT + DT + + + + Number of dirty (non-written) pages + Anzahl unreiner (nicht-geschriebener) Seiten + + + + STAT + STAT + + + + State of the process + Prozessstatus + + + + FLAGS + FLAGS + + + + Process flags (hex) + Prozessindikatoren (hex) + + + + WCHAN + WCHAN + + + + Kernel function where process is sleeping + Kernelfunktion bei ruhenden Prozessen + + + + %WCPU + %WCPU + + + + Weighted percentage of CPU (30 s average) + Durchschnittlich prozentuale CPU-Auslastung innerhalb 30 Sekunden + + + + %CPU + %CPU + + + + Percentage of CPU used since last update + Prozentual verwendete CPU-Ressourcen seit letzter Aktualisierung + + + + %MEM + %MEM + + + + Percentage of memory used (RSS/total mem) + Prozentual verwendeter Speicher (RSS/gesamter Speicher) + + + + START + START + + + + Time process started + Startzeit des Prozesses + + + + TIME + ZEIT + + + + Total CPU time used since start + Seit dem Start verbrauchte gesamte CPU-Zeit + + + + CPU + CPU + + + + CPU the process is executing on (SMP system) + CPU, auf der der Prozess ausgeführt wird (SMP-System) + + + + the process name + der Prozessname + + + + Process Name + Prozessname + + + + CWD + CWD + + + + Current working directory + Aktuelles Arbeitsverzeichnis + + + + ROOT + ROOT + + + + Root directory of process + Rootverzeichnis des Prozesses + + + + COMMAND_LINE + COMMAND_LINE + + + + Command line that started the process + Befehlszeile, die den Prozess startete + + + + QObject + + + Show + Anzeigen + + + + Hide + Ausblenden + + + + ScreenShot + Bildschirmfoto + + + + Quit + Beenden + + + + Qps + + + header_popup + Kopfzeile_Popup + + + + Remove Field + Feld Entfernen + + + + Add Field + Feld hinzufügen + + + + Command + Befehl + + + + View + Ansicht + + + + Process + Prozess + + + + Log + Log + + + + Custom Fields + Benutzerdefiniertes + + + + Basic Fields + Grundlegendes + + + + Jobs Fields + Aufträge + + + + Memory Fields + Speicher + + + + Scheduling Fields + Terminierungen + + + + Select Custom Fields... + Benutzerdefinierte auswählen... + + + + Option + Optionen + + + + Update Period... + Aktualisierungsperiode... + + + + Show Status bar + Statusleiste anzeigen + + + + Preferences... + Einstellungen... + + + + Help + Hilfe + + + + + About + Über + + + + Detail + + + + + test + Test + + + + Copied to Clipboard + In die Zwischenablage kopiert + + + + context popup + Kontext Popup + + + + Renice... + Ressourcenbereitstellung... + + + + Scheduling... + Ausführungsrichtlinien... + + + + Terminate + Beenden + + + + Hangup + Auflegen + + + + Kill + Schließen erzwingen + + + + Stop + Anhalten + + + + Continue + Fortsetzen + + + + SIGINT (interrupt) + SIGINT (unterbrechen) + + + + SIGCONT (continue) + SIGCONT (fortfahren) + + + + SIGSTOP (stop) + SIGSTOP (anhalten) + + + + SIGQUIT (quit) + SIGQUIT (verlassen) + + + + SIGILL (illegal instruction) + SIGILL (verbotene Anweisung) + + + + SIGABRT (abort) + SIGABRT (abbrechen) + + + + SIGFPE (floating point exception) + SIGFPE (Gleitkomma-Ausnahme) + + + + SIGSEGV (segmentation violation) + SIGSEGV (Segmentierungsverletzung) + + + + SIGPIPE (broken pipe) + SIGPIPE (fehlerhafte Pipe-Verbindung) + + + + SIGALRM (timer signal) + SIGALRM (Timersignal) + + + + SIGUSR1 (user-defined 1) + SIGUSR1 (Benutzerdefiniert 1) + + + + SIGUSR2 (user-defined 2) + SIGUSR2 (Benutzerdefiniert 2) + + + + SIGCHLD (child death) + SIGCHLD (Unterprozessabbruch) + + + + SIGTSTP (stop from tty) + SIGTSTP (Vom TTY anhalten) + + + + SIGTTIN (tty input) + SIGTTIN (TTY Eingabe) + + + + SIGTTOU (tty output) + SIGTTOU (TTY Ausgabe) + + + + View Details + Siehe Einzelheiten + + + + WatchDog + WatchDog + + + + Edit Commands... + Befehle bearbeiten... + + + + Quit + Beenden + + + + + + + + + Permission denied + Berechtigung verweigert + + + + You do not have permission to renice the selected processes. Only the process owner and the super-user are allowed to do that. + Keine Berechtigung die Ressourcenbereitstellung des ausgewählten Prozesses zu ändern. Dies ist ausschließlich dem Prozesseigentümer und "Super-Usern" vorbehalten. + + + + You do not have permission to renice process %1 (%2).Only the process owner and the super-user are allowed to do that. + Keine Berechtigung die Ressourcenbereitstellung des Prozesses %1 (%2) zu ändern. Dies ist ausschließlich dem Prozesseigentümer und "Super-Usern" vorbehalten. + + + + Only the super-user may lower the nice value of a process. + Ausschließlich "Super-User" sind berechtigt den Wert der Ressourcenbereitstellung zu reduzieren. + + + + Only the super-user may change the scheduling policy and static priority. + Ausschließlich "Super-User" sind berechtigt Ausführungsrichtlinien und statische Priorität zu ändern. + + + + You do not have permission to change the scheduling and/or priority of process %1 (%2). Only the super-user may do that. + Keine Berechtigung Ausführungsrichtlinien und/oder statische Priorität des Prozesses 1% (%2) zu ändern. Dies ist ausschließlich "Super-Usern" vorbehalten. + + + + You do not have permission to send a signal to process %1 (%2). Only the super-user and the owner of the process may send signals to it. + Keine Berechtigung Signal an Prozess 1% (%2) zu senden. Dies ist ausschließlich "Super-Usern" vorbehalten. + + + + <h2> Qps %1 - A Visual Process Manager </h2> %2 using Qt library %3<br><br><b>Source: </b><a href="https://github.com/lxqt/qps">https://github.com/lxqt/qps/</a><br><b>Bugtracker: </b><a href="https://github.com/lxqt/qps/issues">https://github.com/lxqt/qps/issues</a> + <h2> Qps %1 - Eine Prozessverwaltung mit grafischer Benutzeroberfläche </h2> %2 unter Verwendung der Qt Bibliothek %3<br><br><b>Source: </b><a href="https://github.com/lxqt/qps">https://github.com/lxqt/qps/</a><br><b>Bugtracker: </b><a href="https://github.com/lxqt/qps/issues">https://github.com/lxqt/qps/issues</a> + + + + <b>Original Qps by</b><br>Mattias Engdegård (f91-men@nada.kth.se)<br><br><b>Contributors</b><br>Olivier.Daudel@u-paris10.fr<br>jsanchez@todounix.homeip.net <br>daehyun.yang@gmail.com <br>Luís Pereira (luis.artur.pereira@gmail.com)<br>Alf Gaida (agaida@siduction.org)<br>Paulo Lieuthier (paulolieuthier@gmail.com)<br>Jerome Leclanche (jerome@leclan.ch)<br> + <b>Ursprüngliche Entwickelung von Qps</b><br>Mattias Engdegård (f91-men@nada.kth.se)<br><br><b>Beitragende</b><br>Olivier.Daudel@u-paris10.fr<br>jsanchez@todounix.homeip.net <br>daehyun.yang@gmail.com <br>Luís Pereira (luis.artur.pereira@gmail.com)<br>Alf Gaida (agaida@siduction.org)<br>Paulo Lieuthier (paulolieuthier@gmail.com)<br>Jerome Leclanche (jerome@leclan.ch)<br> + + + + <H1>QPS Help</H1>Updated: May 24 2005<BR><A HREF="http://kldp.net/projects/qps">http://kldp.net/projects/qps</A><HR><table style="text-align: center; width: 100%;" border="1" cellpadding="1" cellspacing="0"> <tbody> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Quit </td> <td >&nbsp; CTRL + q , CTRL + x </td> </tr> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Update </td> <td>&nbsp;Space , Enter </td> </tr> <tr><td> process Terminate </td> <td> ALT + T , DELETE </td> </tr> <tr><td> process Kill </td> <td> ALT + K </td> </tr> </tbody></table> + <H1>QPS Hilfe</H1>Aktualisiert: 24.05.2005<BR><A HREF="http://kldp.net/projects/qps">http://kldp.net/projects/qps</A><HR><table style="text-align: center; width: 100%;" border="1" cellpadding="1" cellspacing="0"> <tbody> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Quit </td> <td >&nbsp; CTRL + q , CTRL + x </td> </tr> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Update </td> <td>&nbsp;Space , Enter </td> </tr> <tr><td> process Terminate </td> <td> ALT + T , DELETE </td> </tr> <tr><td> process Kill </td> <td> ALT + K </td> </tr> </tbody></table> + + + + SchedDialog + + + Change scheduling + Ausführungsrichtlinien ändern + + + + Scheduling Policy + Ausführungsrichtlinien + + + + SCHED_OTHER (time-sharing) + SCHED_OTHER (Rechenzeitaufteilung) + + + + SCHED_FIFO (real-time) + SCHED_FIFO (Echtzeit) + + + + SCHED_RR (real-time) + SCHED_RR (Echtzeit) + + + + OK + OK + + + + Cancel + Abbrechen + + + + Priority (1-99): + Priorität (1-99): + + + + Invalid Input + Ungültige Eingabe + + + + The priority must be in the range 1..99 + Die Priorität muss im Bereich von 1..99 liegen + + + + Screenshot + + + /untitled. + + + + + Save As + Speichern unter + + + + %1 Files (*.%2);;All Files (*) + %1 Dateien (*.%2);;Alle Dateien (*) + + + + Options + Optionen + + + + s + + + + + Screenshot Delay: + Bildschirmfotoverzögerung: + + + + Hide This Window + Verstecke Dieses Fenster + + + + New Screenshot + Neues Bildschirmfoto + + + + Quit + Beenden + + + + SearchBox + + + PID,COMMAND,USER... + PID,BEFEHL,BENUTZER... + + + + SliderDialog + + + Renice Process + Ressourcenbereitstellungsprozess + + + + New nice value: + Neuer Ressourcenbereitstellungswert: + + + + Cancel + Abbrechen + + + + OK + OK + + + + Sockets + + + Fd + Fd + + + + File descriptor + Dateideskriptor + + + + Proto + Proto + + + + Protocol (TCP or UDP) + Protokoll (TCP oder UDP) + + + + Recv-Q + Recv-Q + + + + Bytes in receive queue + Bytes innerhalb Empfangswarteschlange + + + + Send-Q + Send-Q + + + + Bytes in send queue + Bytes innerhalb Sendewarteschlange + + + + Local Addr + Local Addr + + + + Local IP address + Lokale IP-Adresse + + + + + Port + Port + + + + Local port + Lokaler Port + + + + Remote Addr + Rechnerferne Addresse + + + + Remote IP address + Rechnerferne IP-Adresse + + + + Remote port + Rechnerferner Anschluss + + + + State + Status + + + + Connection state + Verbindungsstatus + + + + StatusBar + + + Process count: %1 + Prozessanzahl: %1 + + + + TBloon + + + This is unstable Alpha feature + You maybe see a SEGFAULT... + Dies ist eine instabile Alphafunktion. + SEGFAULTs sind möglich. + + + + TFrame + + + this is Tframe widget + Dies ist ein Tframe-Steuerelement + + + + UFrame + + + title + Titel + + + + WatchdogDialog + + + if process start + wenn der Prozess startet + + + + if process finish + wenn der Prozess abgeschlossen ist + + + + select condition + Bedingung auswählen diff --git a/src/translations/qps_el.ts b/src/translations/qps_el.ts new file mode 100644 index 0000000..919d635 --- /dev/null +++ b/src/translations/qps_el.ts @@ -0,0 +1,1772 @@ + + + + + AllFields + + + Field + + + + + Field name + + + + + Description + + + + + Field description + + + + + Value + + + + + Field value + + + + + Boxvar + + + Exit On Close Button + + + + + Host Name Lookup + + + + + Service Name Lookup + + + + + Disclosure Triangles + + + + + Branch Lines + + + + + Auto Save Settings on Exit + + + + + Selection: Copy PIDs to Clipboard + + + + + Normalize NICE + + + + + Use pmap for Map Names + + + + + Cbgroup + + + General + + + + + Command + + + The command: + + + + + + + + +failed with the error: + + + + + + + Too many processes + + + + + Unknown error + + + + + + +could not be executed because it was not found, +or you did not have execute permission. + + + + + + +exited with status + + + + + Command Failed + + + + + CommandDialog + + + Edit Commands 0.1 alpha + + + + + Name: + + + + + Popup + + + + + Command Line: + + + + + Substitutions: +%p PID +%c COMMAND +%C CMDLINE +%u USER +%% % + + + + + + + New... + + + + + + Add... + + + + + Delete + + + + + Close + + + + + ControlBar + + + Linear + + + + + Tree + + + + + All Processes + + + + + Your Processes + + + + + Non-Root Processes + + + + + Running Processes + + + + + Pause (Ctrl+Space) + + + + + Details + + + Process %1 ( %2 ) - details + + + + + Files + + + + + Sockets + + + + + Memory Maps + + + + + Environment + + + + + All Fields + + + + + Environ + + + Variable + + + + + Variable name + + + + + Value + + + + + Variable value + + + + + EventDialog + + + Watchdog 0.1 alpha + + + + + Eventcat + + + + + Select condition + + + + + labelDescrition + + + + + Enable + + + + + process name + + + + + cpu + + + + + % + + + + + include already running process + + + + + run command + + + + + show Message + + + + + Help (Not yet. just concept) + + + + + %p : pid +%c : command + + + + + New + + + + + Add + + + + + Delete + + + + + Close + + + + + ExecWindow + + + Qps + + + + + Ok + + + + + Qps Watchdog + + + + + %1 exit with code %2 + + + + + Close + + + + + %1 [running] + + + + + terminate command + + + + + Error %1 : [%2] Maybe command not found + + + + + FieldSelect + + + Select Custom Fields + + + + + Close + + + + + Files + + + Fd + + + + + File descriptor + + + + + Mode + + + + + Open mode + + + + + Name + + + + + File name (if available) + + + + + IntervalDialog + + + Change Update Period + + + + + New Update Period + + + + + Cancel + + + + + OK + + + + + No UPDATE + + + + + Invalid value + + + + + ListModel + + + Event Category + + + + + Enable + + + + + Maps + + + Address Range + + + + + Mapped addresses (hex) ) + + + + + Size + + + + + Kbytes mapped (dec) + + + + + Perm + + + + + Permission flags + + + + + Offset + + + + + File offset at start of mapping (hex) + + + + + Device + + + + + Major,Minor device numbers (dec) + + + + + Inode + + + + + Inode number (dec) + + + + + File + + + + + File name (if available) + + + + + PermissionDialog + + + Permission + + + + + Root password + + + + + Cancel + + + + + OK + + + + + Preferences + + + Preferences + + + + + Setting + + + + + %CPU divided by + + + + + Total cpu: %1 + + + + + Single cpu: 1 + + + + + default + + + + + for developer + + + + + Appearance + + + + + Proc + + + PID + + + + + Process ID + + + + + TGID + + + + + Task group ID ( parent of threads ) + + + + + PPID + + + + + Parent process ID + + + + + PGID + + + + + Process group ID + + + + + SID + + + + + Session ID + + + + + TTY + + + + + Terminal + + + + + TPGID + + + + + Process group ID of tty owner + + + + + USER + + + + + Owner (*=suid root, +=suid a user) + + + + + GROUP + + + + + Group name (*=sgid other) + + + + + UID + + + + + Real user ID + + + + + EUID + + + + + Effective user ID + + + + + SUID + + + + + Saved user ID (Posix) + + + + + FSUID + + + + + File system user ID + + + + + GID + + + + + Real group ID + + + + + EGID + + + + + Effective group ID + + + + + SGID + + + + + Saved group ID (Posix) + + + + + FSGID + + + + + File system group ID + + + + + PRI + + + + + Dynamic priority + + + + + NICE + + + + + Scheduling favour (higher -> less cpu time) + + + + + NLWP + + + + + Number of tasks(threads) in task group + + + + + PLCY + + + + + Scheduling policy + + + + + RPRI + + + + + Realtime priority (0-99, more is better) + + + + + TMS + + + + + Time slice in milliseconds + + + + + %SAVG + + + + + Percentage average sleep time (-1 -> N/A) + + + + + CPUSET + + + + + Affinity CPU mask (0 -> API not supported) + + + + + MAJFLT + + + + + Number of major faults (disk access) + + + + + MINFLT + + + + + Number of minor faults (no disk access) + + + + + VSIZE + + + + + Virtual image size of process + + + + + RSS + + + + + Resident set size + + + + + MEM + + + + + memory usage (RSS-SHARE) + + + + + TRS + + + + + Text(code) resident set size + + + + + DRS + + + + + Data resident set size(malloc+global variable) + + + + + STACK + + + + + Stack size + + + + + SHARE + + + + + Shared memory with other libs + + + + + SWAP + + + + + Kbytes on swap device + + + + + IO_R + + + + + io read (file) + + + + + IO_W + + + + + io write (file) + + + + + DT + + + + + Number of dirty (non-written) pages + + + + + STAT + + + + + State of the process + + + + + FLAGS + + + + + Process flags (hex) + + + + + WCHAN + + + + + Kernel function where process is sleeping + + + + + %WCPU + + + + + Weighted percentage of CPU (30 s average) + + + + + %CPU + + + + + Percentage of CPU used since last update + + + + + %MEM + + + + + Percentage of memory used (RSS/total mem) + + + + + START + + + + + Time process started + + + + + TIME + + + + + Total CPU time used since start + + + + + CPU + + + + + CPU the process is executing on (SMP system) + + + + + the process name + + + + + Process Name + + + + + CWD + + + + + Current working directory + + + + + ROOT + + + + + Root directory of process + + + + + COMMAND_LINE + + + + + Command line that started the process + + + + + QObject + + + Show + + + + + Hide + + + + + ScreenShot + + + + + Quit + + + + + Qps + + + header_popup + + + + + Remove Field + + + + + Add Field + + + + + Command + + + + + View + + + + + Process + + + + + Log + + + + + Custom Fields + + + + + Basic Fields + + + + + Jobs Fields + + + + + Memory Fields + + + + + Scheduling Fields + + + + + Select Custom Fields... + + + + + Option + + + + + Update Period... + + + + + Show Status bar + + + + + Preferences... + + + + + Help + + + + + + About + + + + + Detail + + + + + test + + + + + Copied to Clipboard + + + + + context popup + + + + + Renice... + + + + + Scheduling... + + + + + Terminate + + + + + Hangup + + + + + Kill + + + + + Stop + + + + + Continue + + + + + SIGINT (interrupt) + + + + + SIGCONT (continue) + + + + + SIGSTOP (stop) + + + + + SIGQUIT (quit) + + + + + SIGILL (illegal instruction) + + + + + SIGABRT (abort) + + + + + SIGFPE (floating point exception) + + + + + SIGSEGV (segmentation violation) + + + + + SIGPIPE (broken pipe) + + + + + SIGALRM (timer signal) + + + + + SIGUSR1 (user-defined 1) + + + + + SIGUSR2 (user-defined 2) + + + + + SIGCHLD (child death) + + + + + SIGTSTP (stop from tty) + + + + + SIGTTIN (tty input) + + + + + SIGTTOU (tty output) + + + + + View Details + + + + + WatchDog + + + + + Edit Commands... + + + + + Quit + + + + + + + + + + Permission denied + + + + + You do not have permission to renice the selected processes. Only the process owner and the super-user are allowed to do that. + + + + + You do not have permission to renice process %1 (%2).Only the process owner and the super-user are allowed to do that. + + + + + Only the super-user may lower the nice value of a process. + + + + + Only the super-user may change the scheduling policy and static priority. + + + + + You do not have permission to change the scheduling and/or priority of process %1 (%2). Only the super-user may do that. + + + + + You do not have permission to send a signal to process %1 (%2). Only the super-user and the owner of the process may send signals to it. + + + + + <h2> Qps %1 - A Visual Process Manager </h2> %2 using Qt library %3<br><br><b>Source: </b><a href="https://github.com/lxqt/qps">https://github.com/lxqt/qps/</a><br><b>Bugtracker: </b><a href="https://github.com/lxqt/qps/issues">https://github.com/lxqt/qps/issues</a> + + + + + <b>Original Qps by</b><br>Mattias Engdegård (f91-men@nada.kth.se)<br><br><b>Contributors</b><br>Olivier.Daudel@u-paris10.fr<br>jsanchez@todounix.homeip.net <br>daehyun.yang@gmail.com <br>Luís Pereira (luis.artur.pereira@gmail.com)<br>Alf Gaida (agaida@siduction.org)<br>Paulo Lieuthier (paulolieuthier@gmail.com)<br>Jerome Leclanche (jerome@leclan.ch)<br> + + + + + <H1>QPS Help</H1>Updated: May 24 2005<BR><A HREF="http://kldp.net/projects/qps">http://kldp.net/projects/qps</A><HR><table style="text-align: center; width: 100%;" border="1" cellpadding="1" cellspacing="0"> <tbody> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Quit </td> <td >&nbsp; CTRL + q , CTRL + x </td> </tr> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Update </td> <td>&nbsp;Space , Enter </td> </tr> <tr><td> process Terminate </td> <td> ALT + T , DELETE </td> </tr> <tr><td> process Kill </td> <td> ALT + K </td> </tr> </tbody></table> + + + + + SchedDialog + + + Change scheduling + + + + + Scheduling Policy + + + + + SCHED_OTHER (time-sharing) + + + + + SCHED_FIFO (real-time) + + + + + SCHED_RR (real-time) + + + + + OK + + + + + Cancel + + + + + Priority (1-99): + + + + + Invalid Input + + + + + The priority must be in the range 1..99 + + + + + Screenshot + + + /untitled. + + + + + Save As + + + + + %1 Files (*.%2);;All Files (*) + + + + + Options + + + + + s + + + + + Screenshot Delay: + + + + + Hide This Window + + + + + New Screenshot + + + + + Quit + + + + + SearchBox + + + PID,COMMAND,USER... + + + + + SliderDialog + + + Renice Process + + + + + New nice value: + + + + + Cancel + + + + + OK + + + + + Sockets + + + Fd + + + + + File descriptor + + + + + Proto + + + + + Protocol (TCP or UDP) + + + + + Recv-Q + + + + + Bytes in receive queue + + + + + Send-Q + + + + + Bytes in send queue + + + + + Local Addr + + + + + Local IP address + + + + + + Port + + + + + Local port + + + + + Remote Addr + + + + + Remote IP address + + + + + Remote port + + + + + State + + + + + Connection state + + + + + StatusBar + + + Process count: %1 + + + + + TBloon + + + This is unstable Alpha feature + You maybe see a SEGFAULT... + + + + + TFrame + + + this is Tframe widget + + + + + UFrame + + + title + + + + + WatchdogDialog + + + if process start + + + + + if process finish + + + + + select condition + + + + diff --git a/src/translations/qps_es.ts b/src/translations/qps_es.ts new file mode 100644 index 0000000..8c2a590 --- /dev/null +++ b/src/translations/qps_es.ts @@ -0,0 +1,1792 @@ + + + + + AllFields + + + Field + Campo + + + + Field name + Nombre del campo + + + + Description + Descripción + + + + Field description + Descripción del campo + + + + Value + Valor + + + + Field value + Valor del campo + + + + Boxvar + + + Exit On Close Button + Salir al pulsar el botón de cerrar + + + + Host Name Lookup + Búsqueda del nombre de host + + + + Service Name Lookup + Búsqueda del nombre del servicio + + + + Disclosure Triangles + Triángulos de expansión + + + + Branch Lines + Líneas de las ramas + + + + Auto Save Settings on Exit + Autoguardar la configuración al salir + + + + Selection: Copy PIDs to Clipboard + Selección: copiar los PID al portapapeles + + + + Normalize NICE + Normalizar NICE + + + + Use pmap for Map Names + Usar pmap para el nombre del mapa + + + + Cbgroup + + + General + General + + + + Command + + + The command: + + + El comando: + + + + + + + +failed with the error: + + + + +ha fallado con el error: + + + + + + Too many processes + Demasiados procesos + + + + Unknown error + Error desconocido + + + + + +could not be executed because it was not found, +or you did not have execute permission. + + +no se ha podido ejecutar porque no se ha encontrado +o porque usted no tiene los permisos para ejecutarlo. + + + + + +exited with status + + +ha terminado con el código de salida + + + + Command Failed + El comando ha fallado + + + + CommandDialog + + + Edit Commands 0.1 alpha + Editar comandos 0.1 alfa + + + + Name: + Nombre: + + + + Popup + Ventana emergente + + + + Command Line: + Línea de comandos: + + + + Substitutions: +%p PID +%c COMMAND +%C CMDLINE +%u USER +%% % + + + Sustituciones: +%p PID +%c COMANDO +%C COMANDO COMPLETO +%u USUARIO +%% % + + + + + + New... + Nuevo... + + + + + Add... + Añadir... + + + + Delete + Borrar + + + + Close + Cerrar + + + + ControlBar + + + Linear + Lineal + + + + Tree + Árbol + + + + All Processes + Todos los procesos + + + + Your Processes + Sus procesos + + + + Non-Root Processes + Procesos que no son de «root» + + + + Running Processes + Procesos en ejecución + + + + Pause (Ctrl+Space) + Pausar (Ctrl+Espacio) + + + + Details + + + Process %1 ( %2 ) - details + Proceso %1 (%2) - detalles + + + + Files + Archivos + + + + Sockets + + + + + Memory Maps + Mapas de memoria + + + + Environment + Entorno + + + + All Fields + Todos los campos + + + + Environ + + + Variable + Variable + + + + Variable name + Nombre de la variable + + + + Value + Valor + + + + Variable value + Valor de la variable + + + + EventDialog + + + Watchdog 0.1 alpha + Watchdog 0.1 alfa + + + + Eventcat + + + + + Select condition + Seleccionar la condición + + + + labelDescrition + + + + + Enable + Habilitar + + + + process name + nombre del proceso + + + + cpu + + + + + % + % + + + + include already running process + incluir los procesos ya en ejecución + + + + run command + ejecutar comando + + + + show Message + mostrar Mensaje + + + + Help (Not yet. just concept) + Ayuda (Aún no disponible) + + + + %p : pid +%c : command + %p : pid +%c : comando + + + + New + Nuevo + + + + Add + Añadir + + + + Delete + Borrar + + + + Close + Cerrar + + + + ExecWindow + + + Qps + + + + + Ok + Aceptar + + + + Qps Watchdog + Vigilante de Qps + + + + %1 exit with code %2 + %1 termina con el código %2 + + + + Close + Cerrar + + + + %1 [running] + %1 [ejecución] + + + + terminate command + terminar el comando + + + + Error %1 : [%2] Maybe command not found + Error %1 : [%2] Puede que no se haya encontrado el comando + + + + FieldSelect + + + Select Custom Fields + Elegir los campos personalizados + + + + Close + Cerrar + + + + Files + + + Fd + + + + + File descriptor + Descriptor de fichero + + + + Mode + Modo + + + + Open mode + Modo de apertura + + + + Name + Nombre + + + + File name (if available) + Nombre del archivo (si está disponible) + + + + IntervalDialog + + + Change Update Period + Cambiar el intervalo de actualización + + + + New Update Period + Nuevo intervalo de actualización + + + + Cancel + Cancelar + + + + OK + Aceptar + + + + No UPDATE + No ACTUALIZAR + + + + Invalid value + Valor no válido + + + + ListModel + + + Event Category + Categoría del evento + + + + Enable + Habilitar + + + + Maps + + + Address Range + Rango de direcciones + + + + Mapped addresses (hex) ) + Direcciones mapeadas (hexadecimal) + + + + Size + Tamaño + + + + Kbytes mapped (dec) + Kbytes mapeados (decimal) + + + + Perm + Permiso + + + + Permission flags + Indicadores de permiso + + + + Offset + Desplazamiento + + + + File offset at start of mapping (hex) + Desplazamiento del archivo al principio del mapeado (hexadecimal) + + + + Device + Dispositivo + + + + Major,Minor device numbers (dec) + Números mayor y menor del dispositivo (decimal) + + + + Inode + Inodo + + + + Inode number (dec) + Número de inodo (decimal) + + + + File + Archivo + + + + File name (if available) + Nombre del archivo (si está disponible) + + + + PermissionDialog + + + Permission + Permiso + + + + Root password + Contraseña de «root» + + + + Cancel + Cancelar + + + + OK + Aceptar + + + + Preferences + + + Preferences + Preferencias + + + + Setting + Opción + + + + %CPU divided by + %CPU dividido por + + + + Total cpu: %1 + Total de cpu: %1 + + + + Single cpu: 1 + Una CPU: 1 + + + + default + predefinido + + + + for developer + para desarrollador + + + + Appearance + Apariencia + + + + Proc + + + PID + PID + + + + Process ID + ID del proceso + + + + TGID + TGID + + + + Task group ID ( parent of threads ) + ID del grupo de la tarea ( padre de hebras ) + + + + PPID + PPID + + + + Parent process ID + ID del proceso padre + + + + PGID + + + + + Process group ID + ID del grupo del proceso + + + + SID + SID + + + + Session ID + ID de la sesión + + + + TTY + TTY + + + + Terminal + + + + + TPGID + TPGID + + + + Process group ID of tty owner + ID del grupo del proceso del propietario de la tty + + + + USER + USUARIO + + + + Owner (*=suid root, +=suid a user) + Propietario (*=suid a «root», +=suid a un usuario) + + + + GROUP + GRUPO + + + + Group name (*=sgid other) + Nombre del grupo (*=sgid otro) + + + + UID + UID + + + + Real user ID + ID real del usuario + + + + EUID + + + + + Effective user ID + ID de usuario efectivo + + + + SUID + + + + + Saved user ID (Posix) + ID de usuario guardado (Posix) + + + + FSUID + FSUID + + + + File system user ID + ID de usuario del sistema de archivos + + + + GID + + + + + Real group ID + ID real del grupo + + + + EGID + + + + + Effective group ID + ID de grupo efectivo + + + + SGID + + + + + Saved group ID (Posix) + ID de grupo guardado (Posix) + + + + FSGID + + + + + File system group ID + ID de usuario del sistema de archivos + + + + PRI + + + + + Dynamic priority + Prioridad dinámica + + + + NICE + + + + + Scheduling favour (higher -> less cpu time) + Prioridad de planificación (mayor -> menos tiempo de CPU) + + + + NLWP + + + + + Number of tasks(threads) in task group + Número de tareas (hebras) en el grupo de la tarea + + + + PLCY + + + + + Scheduling policy + Prioridad de planificación + + + + RPRI + + + + + Realtime priority (0-99, more is better) + Prioridad de tiempo real (0-99, más es mejor) + + + + TMS + + + + + Time slice in milliseconds + Fracción de tiempo en milisegundos + + + + %SAVG + + + + + Percentage average sleep time (-1 -> N/A) + Porcentaje de tiempo medio dormido (-1 -> No disponible) + + + + CPUSET + + + + + Affinity CPU mask (0 -> API not supported) + Máscara de afinidad de la CPU (0 -> API no disponible) + + + + MAJFLT + + + + + Number of major faults (disk access) + Número de fallos graves (acceso al disco) + + + + MINFLT + + + + + Number of minor faults (no disk access) + Número de fallos leves (no acceso al disco) + + + + VSIZE + Tamaño virtual + + + + Virtual image size of process + Tamaño de la imagen virtual del proceso + + + + RSS + + + + + Resident set size + Tamaño del conjunto residente + + + + MEM + Memoria + + + + memory usage (RSS-SHARE) + Uso de memoria (RSS-SHARE) + + + + TRS + + + + + Text(code) resident set size + Tamaño del conjunto de texto(código) residente + + + + DRS + + + + + Data resident set size(malloc+global variable) + Tamaño del conjunto residente de datos (malloc+variable global) + + + + STACK + Pila + + + + Stack size + Tamaño de la pila + + + + SHARE + + + + + Shared memory with other libs + Memoria compartida con otras bibliotecas + + + + SWAP + + + + + Kbytes on swap device + Kbytes de swap en el dispositivo + + + + IO_R + + + + + io read (file) + Lectura E/S (archivo) + + + + IO_W + + + + + io write (file) + Escritura E/S (archivo) + + + + DT + + + + + Number of dirty (non-written) pages + Número de páginas sucias (no escritas) + + + + STAT + Estado + + + + State of the process + Estado del proceso + + + + FLAGS + + + + + Process flags (hex) + Indicadores del proceso (hexadecimal) + + + + WCHAN + + + + + Kernel function where process is sleeping + Función del kernel donde está durmiendo el proceso + + + + %WCPU + + + + + Weighted percentage of CPU (30 s average) + Porcentaje ponderado de CPU (media de 30 s) + + + + %CPU + + + + + Percentage of CPU used since last update + Porcentaje de CPU usado desde la última actualización + + + + %MEM + %Memoria + + + + Percentage of memory used (RSS/total mem) + Porcentaje de memoria usada (RSS/memoria total) + + + + START + INICIO + + + + Time process started + Hora a la que empezó el proceso + + + + TIME + HORA + + + + Total CPU time used since start + Tiempo total de uso de CPU desde el inicio + + + + CPU + + + + + CPU the process is executing on (SMP system) + La CPU donde se está ejecutando el proceso (sistema SMP) + + + + the process name + el nombre del proceso + + + + Process Name + Nombre el proceso + + + + CWD + + + + + Current working directory + Directorio de trabajo actual + + + + ROOT + + + + + Root directory of process + Directorio raíz del proceso + + + + COMMAND_LINE + Orden completa + + + + Command line that started the process + Comando que inició el proceso + + + + QObject + + + Show + Mostar + + + + Hide + Ocultar + + + + ScreenShot + Captura de pantalla + + + + Quit + Salir + + + + Qps + + + header_popup + + + + + Remove Field + Borrar el campo + + + + Add Field + Añadir campo + + + + Command + Comando + + + + View + Vista + + + + Process + Proceso + + + + Log + Registro + + + + Custom Fields + Campos personalizados + + + + Basic Fields + Campos básicos + + + + Jobs Fields + Campos de tareas + + + + Memory Fields + Campo de memoria + + + + Scheduling Fields + Campos de planificación + + + + Select Custom Fields... + Elegir los campos personalizados... + + + + Option + Opciones + + + + Update Period... + Intervalo de actualización... + + + + Show Status bar + Mostrar la barra de tareas + + + + Preferences... + Preferencias... + + + + Help + Ayuda + + + + + About + Acerca de + + + + Detail + Detalle + + + + test + + + + + Copied to Clipboard + Copiado al portapapeles + + + + context popup + menú contextual + + + + Renice... + Cambiar la prioridad (renice)... + + + + Scheduling... + Planificación... + + + + Terminate + Terminar + + + + Hangup + Pausar + + + + Kill + Matar + + + + Stop + Detener + + + + Continue + Continuar + + + + SIGINT (interrupt) + SIGINT (interrumpir) + + + + SIGCONT (continue) + SIGCONT (continuar) + + + + SIGSTOP (stop) + SIGSTOP (detener) + + + + SIGQUIT (quit) + SIGQUIT (terminar) + + + + SIGILL (illegal instruction) + SIGILL (instrucción ilegal) + + + + SIGABRT (abort) + SIGABRT (abortar) + + + + SIGFPE (floating point exception) + SIGFPE (excepción de punto flotante) + + + + SIGSEGV (segmentation violation) + SIGSEGV (violación de segmento) + + + + SIGPIPE (broken pipe) + SIGPIPE (tubería rota) + + + + SIGALRM (timer signal) + SIGALRM (señal de temporizador) + + + + SIGUSR1 (user-defined 1) + SIGUSR1 (definida por el usuario 1) + + + + SIGUSR2 (user-defined 2) + SIGUSR2 (definida por el usuario 2) + + + + SIGCHLD (child death) + SIGCHLD (hijo muerto) + + + + SIGTSTP (stop from tty) + SIGTSTP (detener desde tty) + + + + SIGTTIN (tty input) + SIGTTIN (entrada de tty) + + + + SIGTTOU (tty output) + SIGTTOU (salida de tty) + + + + View Details + Ver los detalles + + + + WatchDog + Vigilante + + + + Edit Commands... + Editar comandos... + + + + Quit + Salir + + + + + + + + + Permission denied + Permiso denegado + + + + You do not have permission to renice the selected processes. Only the process owner and the super-user are allowed to do that. + No tiene el permiso para cambiar la prioridad de los procesos seleccionados. Solo pueden hacerlo el dueño del proceso y el superusuario. + + + + You do not have permission to renice process %1 (%2).Only the process owner and the super-user are allowed to do that. + No tiene permiso para cambiar la prioridad del proceso %1 (%2). Solo pueden hacerlo el dueño del proceso y el superusuario. + + + + Only the super-user may lower the nice value of a process. + El superusuario es el único que puede bajar el valor de la prioridad de un proceso. + + + + Only the super-user may change the scheduling policy and static priority. + El superusuario es el único que puede cambiar el valor de la política de planificación y la prioridad estática. + + + + You do not have permission to change the scheduling and/or priority of process %1 (%2). Only the super-user may do that. + No tiene permiso para cambiar la planificación y/o prioridad del proceso %1 (%2). Solo puede hacerlo el superusuario. + + + + You do not have permission to send a signal to process %1 (%2). Only the super-user and the owner of the process may send signals to it. + No tiene permiso para enviar una señal al proceso %1 (%2). El superusuario y el dueño del proceso.son los únicos que pueden enviarle señales. + + + + <h2> Qps %1 - A Visual Process Manager </h2> %2 using Qt library %3<br><br><b>Source: </b><a href="https://github.com/lxqt/qps">https://github.com/lxqt/qps/</a><br><b>Bugtracker: </b><a href="https://github.com/lxqt/qps/issues">https://github.com/lxqt/qps/issues</a> + <h2> Qps %1 - Un administrador de tareas visual </h2> %2 que usa la biblioteca Qt %3<br><br><b>Fuente: </b><a href="https://github.com/lxqt/qps">https://github.com/lxqt/qps/</a><br><b>Seguimiento de errores: </b><a href="https://github.com/lxqt/qps/issues">https://github.com/lxqt/qps/issues</a><br><br> + + + + <b>Original Qps by</b><br>Mattias Engdegård (f91-men@nada.kth.se)<br><br><b>Contributors</b><br>Olivier.Daudel@u-paris10.fr<br>jsanchez@todounix.homeip.net <br>daehyun.yang@gmail.com <br>Luís Pereira (luis.artur.pereira@gmail.com)<br>Alf Gaida (agaida@siduction.org)<br>Paulo Lieuthier (paulolieuthier@gmail.com)<br>Jerome Leclanche (jerome@leclan.ch)<br> + <b>La versión original de original es de</b><br>Mattias Engdegård (f91-men@nada.kth.se)<br><br><b>Colaboradores</b><br>Olivier.Daudel@u-paris10.fr<br>jsanchez@todounix.homeip.net <br>daehyun.yang@gmail.com <br>Luís Pereira (luis.artur.pereira@gmail.com)<br>Alf Gaida (agaida@siduction.org)<br>Paulo Lieuthier (paulolieuthier@gmail.com)<br>Jerome Leclanche (jerome@leclan.ch)<br> + + + + <H1>QPS Help</H1>Updated: May 24 2005<BR><A HREF="http://kldp.net/projects/qps">http://kldp.net/projects/qps</A><HR><table style="text-align: center; width: 100%;" border="1" cellpadding="1" cellspacing="0"> <tbody> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Quit </td> <td >&nbsp; CTRL + q , CTRL + x </td> </tr> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Update </td> <td>&nbsp;Space , Enter </td> </tr> <tr><td> process Terminate </td> <td> ALT + T , DELETE </td> </tr> <tr><td> process Kill </td> <td> ALT + K </td> </tr> </tbody></table> + <H1>Ayuda de QPS</H1>Actualizada: 24 de Mayo de 2005<BR><A HREF="http://kldp.net/projects/qps">http://kldp.net/projects/qps</A><HR><table style="text-align: center; width: 100%;" border="1" cellpadding="1" cellspacing="0"> <tbody> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Salir </td> <td >&nbsp; CTRL + q , CTRL + x </td> </tr> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Actualizar </td> <td>&nbsp;Espacio , Intro </td> </tr> <tr><td> Terminar proceso </td> <td> ALT + T , SUPRIMIR </td> </tr> <tr><td> Matar proceso </td> <td> ALT + K </td> </tr> </tbody></table> + + + + SchedDialog + + + Change scheduling + Cambiar la planificación + + + + Scheduling Policy + Política de planificación + + + + SCHED_OTHER (time-sharing) + SHED_OTHER (tiempo compartido) + + + + SCHED_FIFO (real-time) + SCHED_FIFO (tiempo real) + + + + SCHED_RR (real-time) + SCHED_RR (tiempo real) + + + + OK + Aceptar + + + + Cancel + Cancelar + + + + Priority (1-99): + Prioridad (1-99): + + + + Invalid Input + Entrada no válida + + + + The priority must be in the range 1..99 + La prioridad debe estar en el rango 1..99 + + + + Screenshot + + + /untitled. + /sin título. + + + + Save As + Guardar como + + + + %1 Files (*.%2);;All Files (*) + Archivos %1 (*.%2);; Todos los archivos (*) + + + + Options + Opciones + + + + s + + + + + Screenshot Delay: + Retardo al capturar la pantalla: + + + + Hide This Window + Ocultar esta ventana + + + + New Screenshot + Nueva captura de pantalla + + + + Quit + Salir + + + + SearchBox + + + PID,COMMAND,USER... + PID,COMANDO,USUARIO... + + + + SliderDialog + + + Renice Process + Cambiar la prioridad del proceso (renice) + + + + New nice value: + Nuevo valor de prioridad (nice): + + + + Cancel + Cancelar + + + + OK + Aceptar + + + + Sockets + + + Fd + + + + + File descriptor + Descriptor de archivo + + + + Proto + + + + + Protocol (TCP or UDP) + Protocolo (TCP o UDP) + + + + Recv-Q + + + + + Bytes in receive queue + Bytes en la cola de recibidos + + + + Send-Q + + + + + Bytes in send queue + Bytes en la cola de enviados + + + + Local Addr + Dirección local + + + + Local IP address + Dirección IP local + + + + + Port + Puerto + + + + Local port + Puerto local + + + + Remote Addr + Dirección remota + + + + Remote IP address + Dirección IP remota + + + + Remote port + Puerto remoto + + + + State + Estado + + + + Connection state + Estado de la conexión + + + + StatusBar + + + Process count: %1 + Número de procesos: %1 + + + + TBloon + + + This is unstable Alpha feature + You maybe see a SEGFAULT... + Esta es una función alfa inestable + Puede que vea algún SEGFAULT... + + + + TFrame + + + this is Tframe widget + este es el control Tframe + + + + UFrame + + + title + título + + + + WatchdogDialog + + + if process start + si el proceso empieza + + + + if process finish + si el proceso termina + + + + select condition + seleccionar condición + + + diff --git a/src/translations/qps_fr.ts b/src/translations/qps_fr.ts new file mode 100644 index 0000000..21a0779 --- /dev/null +++ b/src/translations/qps_fr.ts @@ -0,0 +1,1782 @@ + + + + + AllFields + + + Field + Champ + + + + Field name + Nom du champ + + + + Description + + + + + Field description + Champ de la description + + + + Value + Valeur + + + + Field value + Champ de la valeur + + + + Boxvar + + + Exit On Close Button + Quitter avec le bouton Fermer + + + + Host Name Lookup + Recherche du nom d'hôte + + + + Service Name Lookup + Recherche du nom de service + + + + Disclosure Triangles + + + + + Branch Lines + + + + + Auto Save Settings on Exit + Sauvegarde automatiquement les paramètres en sortant + + + + Selection: Copy PIDs to Clipboard + Selection: Copier les PIDs dans le presse-papier + + + + Normalize NICE + + + + + Use pmap for Map Names + Utiliser pmap pour les Map Names + + + + Cbgroup + + + General + + + + + Command + + + The command: + + + + + + + + +failed with the error: + + + + +Echec sur l'erreur: + + + + + + Too many processes + Processus trop nombreux + + + + Unknown error + Erreur inconnue + + + + + +could not be executed because it was not found, +or you did not have execute permission. + + +N'a pu être exécuté car n'a pas été trouvé, +ou bien vous n'avez pas la permission d'exécuter. + + + + + +exited with status + + +arrêt avec le statut. + + + + Command Failed + Echec de la commande + + + + CommandDialog + + + Edit Commands 0.1 alpha + + + + + Name: + Nom: + + + + Popup + + + + + Command Line: + Ligne de commande: + + + + Substitutions: +%p PID +%c COMMAND +%C CMDLINE +%u USER +%% % + + + + + + + + New... + + + + + + Add... + Ajouter... + + + + Delete + + + + + Close + Fermer + + + + ControlBar + + + Linear + + + + + Tree + Arborescence + + + + All Processes + Tous les processus + + + + Your Processes + Vos processus + + + + Non-Root Processes + Processus non root + + + + Running Processes + Processus en cours d'exécution + + + + Pause (Ctrl+Space) + + + + + Details + + + Process %1 ( %2 ) - details + + + + + Files + + + + + Sockets + + + + + Memory Maps + + + + + Environment + + + + + All Fields + Tous les champs + + + + Environ + + + Variable + + + + + Variable name + + + + + Value + Valeur + + + + Variable value + Valeur variable + + + + EventDialog + + + Watchdog 0.1 alpha + + + + + Eventcat + + + + + Select condition + Condition de sélection + + + + labelDescrition + + + + + Enable + Activer + + + + process name + + + + + cpu + + + + + % + + + + + include already running process + inclus les processus déjà en cours d'exécution + + + + run command + + + + + show Message + afficher le message + + + + Help (Not yet. just concept) + + + + + %p : pid +%c : command + + + + + New + + + + + Add + Ajouter + + + + Delete + + + + + Close + Fermer + + + + ExecWindow + + + Qps + + + + + Ok + + + + + Qps Watchdog + + + + + %1 exit with code %2 + %1 s'arrête avec le code %2 + + + + Close + Fermer + + + + %1 [running] + %1 [en cours] + + + + terminate command + + + + + Error %1 : [%2] Maybe command not found + Erreur %1: [%2] Peut-être la commande n'a-t-elle pas été trouvée + + + + FieldSelect + + + Select Custom Fields + Choisissez les champs personnalisés + + + + Close + Fermer + + + + Files + + + Fd + + + + + File descriptor + Descripteur de fichier + + + + Mode + + + + + Open mode + + + + + Name + + + + + File name (if available) + Nom de fichier (si disponible) + + + + IntervalDialog + + + Change Update Period + Changer la fréquence de mise-à-jour + + + + New Update Period + Nouvelle fréquence de mise-à-jour + + + + Cancel + Annuler + + + + OK + + + + + No UPDATE + + + + + Invalid value + Valeur non valable + + + + ListModel + + + Event Category + Catégorie d'événement + + + + Enable + Activer + + + + Maps + + + Address Range + Plage d'adresses + + + + Mapped addresses (hex) ) + + + + + Size + Taille + + + + Kbytes mapped (dec) + + + + + Perm + + + + + Permission flags + Flags de permission + + + + Offset + + + + + File offset at start of mapping (hex) + + + + + Device + + + + + Major,Minor device numbers (dec) + Chiffres majeurs et mineurs des devices (dec) + + + + Inode + + + + + Inode number (dec) + Numéro d'inode (dec) + + + + File + + + + + File name (if available) + Nom de fichier (si disponible) + + + + PermissionDialog + + + Permission + + + + + Root password + + + + + Cancel + Annuler + + + + OK + + + + + Preferences + + + Preferences + + + + + Setting + + + + + %CPU divided by + %CPU divisé par + + + + Total cpu: %1 + + + + + Single cpu: 1 + CPU unique: 1 + + + + default + + + + + for developer + + + + + Appearance + Apparence + + + + Proc + + + PID + + + + + Process ID + + + + + TGID + + + + + Task group ID ( parent of threads ) + ID de groupe de tâches ( parent de threads ) + + + + PPID + + + + + Parent process ID + ID du processus parent + + + + PGID + + + + + Process group ID + ID de groupe de processus + + + + SID + + + + + Session ID + ID de session + + + + TTY + + + + + Terminal + + + + + TPGID + + + + + Process group ID of tty owner + ID du groupe de processus du propriétaire tty + + + + USER + + + + + Owner (*=suid root, +=suid a user) + Propriétaire (*=suid root, +=suid a user) + + + + GROUP + + + + + Group name (*=sgid other) + Nom de groupe (*=sgid autre) + + + + UID + + + + + Real user ID + + + + + EUID + + + + + Effective user ID + ID d'utilisateur effectif + + + + SUID + + + + + Saved user ID (Posix) + ID d'utilisateur sauvegardé (Posix) + + + + FSUID + + + + + File system user ID + + + + + GID + + + + + Real group ID + ID de groupe réel + + + + EGID + + + + + Effective group ID + ID de groupe effectif + + + + SGID + + + + + Saved group ID (Posix) + ID de groupe sauvegardé (Posix) + + + + FSGID + + + + + File system group ID + ID de groupe de système de fichiers + + + + PRI + + + + + Dynamic priority + Priorité dynamique + + + + NICE + + + + + Scheduling favour (higher -> less cpu time) + + + + + NLWP + + + + + Number of tasks(threads) in task group + Nombre de tâches (threads) dans le groupe de tâches + + + + PLCY + + + + + Scheduling policy + + + + + RPRI + + + + + Realtime priority (0-99, more is better) + Priorité temps réel (0-99, avantage au plus élevé) + + + + TMS + + + + + Time slice in milliseconds + Tranche de temps en milliseconds + + + + %SAVG + + + + + Percentage average sleep time (-1 -> N/A) + + + + + CPUSET + + + + + Affinity CPU mask (0 -> API not supported) + Masque d'affinité de CPU (0 -> API non supportée) + + + + MAJFLT + + + + + Number of major faults (disk access) + + + + + MINFLT + + + + + Number of minor faults (no disk access) + + + + + VSIZE + + + + + Virtual image size of process + Taille de l'image virtuelle du processus + + + + RSS + + + + + Resident set size + Taille du resident set + + + + MEM + + + + + memory usage (RSS-SHARE) + Utilisation mémoire (RSS-SHARE) + + + + TRS + + + + + Text(code) resident set size + Taille du resident set texte (code) + + + + DRS + + + + + Data resident set size(malloc+global variable) + Taille du resident set data (malloc+global variable) + + + + STACK + + + + + Stack size + Taille de la pile + + + + SHARE + + + + + Shared memory with other libs + Mémoire partagée avec d'autres libs + + + + SWAP + + + + + Kbytes on swap device + Kbytes sur le disque de swap + + + + IO_R + + + + + io read (file) + io en lecture (fichier) + + + + IO_W + + + + + io write (file) + io en écriture (fichier) + + + + DT + + + + + Number of dirty (non-written) pages + + + + + STAT + + + + + State of the process + Etat du processus + + + + FLAGS + + + + + Process flags (hex) + Flags de processus (hex) + + + + WCHAN + + + + + Kernel function where process is sleeping + + + + + %WCPU + + + + + Weighted percentage of CPU (30 s average) + Pourcentage pondéré de CPU (30 s en moyenne) + + + + %CPU + + + + + Percentage of CPU used since last update + Pourcentage de CPU utilisé depuis la dernière mise-à-jour + + + + %MEM + + + + + Percentage of memory used (RSS/total mem) + Pourcentage de mémoire utilisé (RSS/total mem) + + + + START + + + + + Time process started + Moment de démarrage du processus + + + + TIME + + + + + Total CPU time used since start + Temps total de CPU utilisé depuis le démarrage + + + + CPU + + + + + CPU the process is executing on (SMP system) + CPU sur laquelle le processus s'exécute (SMP system) + + + + the process name + + + + + Process Name + Nom du processus + + + + CWD + + + + + Current working directory + Répertoire courant + + + + ROOT + + + + + Root directory of process + Répertoire racine du processus + + + + COMMAND_LINE + + + + + Command line that started the process + Ligne de commande qui a lancé le processus + + + + QObject + + + Show + Afficher + + + + Hide + Cacher + + + + ScreenShot + + + + + Quit + Abandonner + + + + Qps + + + header_popup + + + + + Remove Field + Retirer le champ + + + + Add Field + Ajouter un champ + + + + Command + + + + + View + + + + + Process + + + + + Log + + + + + Custom Fields + Champs personnalisés + + + + Basic Fields + Champs de base + + + + Jobs Fields + + + + + Memory Fields + Champs mémoire + + + + Scheduling Fields + + + + + Select Custom Fields... + Choisir des champs personnalisés... + + + + Option + + + + + Update Period... + Fréquence de mise-à-jour... + + + + Show Status bar + Afficher la barre de statut + + + + Preferences... + + + + + Help + + + + + + About + A propos + + + + Detail + + + + + test + + + + + Copied to Clipboard + Copié dans le presse-papier + + + + context popup + popup de contexte + + + + Renice... + + + + + Scheduling... + Ordonnancement... + + + + Terminate + Arrêter + + + + Hangup + Suspendre + + + + Kill + + + + + Stop + + + + + Continue + Continuer + + + + SIGINT (interrupt) + + + + + SIGCONT (continue) + + + + + SIGSTOP (stop) + + + + + SIGQUIT (quit) + + + + + SIGILL (illegal instruction) + SIGILL (instruction illégale) + + + + SIGABRT (abort) + + + + + SIGFPE (floating point exception) + + + + + SIGSEGV (segmentation violation) + + + + + SIGPIPE (broken pipe) + + + + + SIGALRM (timer signal) + + + + + SIGUSR1 (user-defined 1) + SIGUSR1 (défini par l'utilisateur 1) + + + + SIGUSR2 (user-defined 2) + SIGUSR2 (défini par l'utilisateur 2) + + + + SIGCHLD (child death) + + + + + SIGTSTP (stop from tty) + + + + + SIGTTIN (tty input) + + + + + SIGTTOU (tty output) + + + + + View Details + + + + + WatchDog + + + + + Edit Commands... + Modifier les commandes... + + + + Quit + Abandonner + + + + + + + + + Permission denied + Permission refusée + + + + You do not have permission to renice the selected processes. Only the process owner and the super-user are allowed to do that. + + + + + You do not have permission to renice process %1 (%2).Only the process owner and the super-user are allowed to do that. + + + + + Only the super-user may lower the nice value of a process. + + + + + Only the super-user may change the scheduling policy and static priority. + + + + + You do not have permission to change the scheduling and/or priority of process %1 (%2). Only the super-user may do that. + Vous n'avez pas la permission de changer l'ordonnancement et/ou la priorité du processus %1 (%2). Seul le super utilisateur en a le droit. + + + + You do not have permission to send a signal to process %1 (%2). Only the super-user and the owner of the process may send signals to it. + Vous n'avez pas la permission d'envoyer un signal au processus %1 (%2). Seuls le super utilisateur et le propriétaire du processus ont le droit de lui envoyer des signaux. + + + + <h2> Qps %1 - A Visual Process Manager </h2> %2 using Qt library %3<br><br><b>Source: </b><a href="https://github.com/lxqt/qps">https://github.com/lxqt/qps/</a><br><b>Bugtracker: </b><a href="https://github.com/lxqt/qps/issues">https://github.com/lxqt/qps/issues</a> + + + + + <b>Original Qps by</b><br>Mattias Engdegård (f91-men@nada.kth.se)<br><br><b>Contributors</b><br>Olivier.Daudel@u-paris10.fr<br>jsanchez@todounix.homeip.net <br>daehyun.yang@gmail.com <br>Luís Pereira (luis.artur.pereira@gmail.com)<br>Alf Gaida (agaida@siduction.org)<br>Paulo Lieuthier (paulolieuthier@gmail.com)<br>Jerome Leclanche (jerome@leclan.ch)<br> + + + + + <H1>QPS Help</H1>Updated: May 24 2005<BR><A HREF="http://kldp.net/projects/qps">http://kldp.net/projects/qps</A><HR><table style="text-align: center; width: 100%;" border="1" cellpadding="1" cellspacing="0"> <tbody> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Quit </td> <td >&nbsp; CTRL + q , CTRL + x </td> </tr> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Update </td> <td>&nbsp;Space , Enter </td> </tr> <tr><td> process Terminate </td> <td> ALT + T , DELETE </td> </tr> <tr><td> process Kill </td> <td> ALT + K </td> </tr> </tbody></table> + + + + + SchedDialog + + + Change scheduling + Changer l'ordonnancement + + + + Scheduling Policy + Politique d'ordonnancement + + + + SCHED_OTHER (time-sharing) + + + + + SCHED_FIFO (real-time) + + + + + SCHED_RR (real-time) + + + + + OK + + + + + Cancel + Annuler + + + + Priority (1-99): + + + + + Invalid Input + Entrée invalide + + + + The priority must be in the range 1..99 + La priorité doit se situer dans la plage 1..99 + + + + Screenshot + + + /untitled. + + + + + Save As + Sauvegarder sous + + + + %1 Files (*.%2);;All Files (*) + %1 Fichier (*.%2);;Tous les fichiers (*) + + + + Options + + + + + s + + + + + Screenshot Delay: + Attente pour la copie d'écran: + + + + Hide This Window + Cacher cette fenêtre + + + + New Screenshot + + + + + Quit + Abandonner + + + + SearchBox + + + PID,COMMAND,USER... + + + + + SliderDialog + + + Renice Process + + + + + New nice value: + Nouvelle valeur nice: + + + + Cancel + Annuler + + + + OK + + + + + Sockets + + + Fd + + + + + File descriptor + Descripteur de fichier + + + + Proto + + + + + Protocol (TCP or UDP) + Protocole (TCP ou UDP) + + + + Recv-Q + + + + + Bytes in receive queue + Octets dans la file de réception + + + + Send-Q + + + + + Bytes in send queue + Octets dans la file d'émission + + + + Local Addr + Addresse locale + + + + Local IP address + + + + + + Port + + + + + Local port + + + + + Remote Addr + Adresse distante + + + + Remote IP address + Adresse IP distante + + + + Remote port + Port distant + + + + State + Etat + + + + Connection state + Etat de la connexion + + + + StatusBar + + + Process count: %1 + Nombre de processus: %1 + + + + TBloon + + + This is unstable Alpha feature + You maybe see a SEGFAULT... + + + + + TFrame + + + this is Tframe widget + + + + + UFrame + + + title + titre + + + + WatchdogDialog + + + if process start + + + + + if process finish + si le processus se termine + + + + select condition + condition de sélection + + + diff --git a/src/translations/qps_gl.ts b/src/translations/qps_gl.ts new file mode 100644 index 0000000..04188cb --- /dev/null +++ b/src/translations/qps_gl.ts @@ -0,0 +1,1792 @@ + + + + + AllFields + + + Field + Campo + + + + Field name + Nome do campo + + + + Description + Descrición + + + + Field description + Descrición do campo + + + + Value + Valor + + + + Field value + Valor do campo + + + + Boxvar + + + Exit On Close Button + Saír ao premer no botón de peche + + + + Host Name Lookup + Busca do nome da máquina/servidor + + + + Service Name Lookup + Busca do nome do servizo + + + + Disclosure Triangles + Triángulos de expansión + + + + Branch Lines + Liñas das bifurcacións + + + + Auto Save Settings on Exit + Gardar automaticamente a configuración ao saír + + + + Selection: Copy PIDs to Clipboard + Selección: copiar os PID no portapapeis + + + + Normalize NICE + Normalizar NICE + + + + Use pmap for Map Names + Usar pmap para os nomes das asignacións + + + + Cbgroup + + + General + Xeral + + + + Command + + + The command: + + + A orde: + + + + + + + +failed with the error: + + + + +produciuse un fallo co erro: + + + + + + Too many processes + Demasiados procesos + + + + Unknown error + Produciuse un erro descoñecido + + + + + +could not be executed because it was not found, +or you did not have execute permission. + + +non foi posíbel executalo xa que non foi atopado, +ou vostede non ten permisos para executalo. + + + + + +exited with status + + +saíu co estado + + + + Command Failed + Produciuse un fallo na orde + + + + CommandDialog + + + Edit Commands 0.1 alpha + Editor de ordes 0.1 alfa + + + + Name: + Nome: + + + + Popup + Xanela emerxente + + + + Command Line: + Liña de ordes: + + + + Substitutions: +%p PID +%c COMMAND +%C CMDLINE +%u USER +%% % + + + Substitucións: +%p PID +%c ORDE +%C LIÑA_ORDES +%u USUARIO +%% % + + + + + + New... + Novo... + + + + + Add... + Engadir... + + + + Delete + Eliminar + + + + Close + Pechar + + + + ControlBar + + + Linear + Lineal + + + + Tree + Árbore + + + + All Processes + Todos os procesos + + + + Your Processes + Os seus procesos + + + + Non-Root Processes + Procesos que no son de «root» + + + + Running Processes + Procesos en execución + + + + Pause (Ctrl+Space) + Pausa (Ctrl+Espazo) + + + + Details + + + Process %1 ( %2 ) - details + Proceso %1 ( %2 ) - detalles + + + + Files + Ficheiros + + + + Sockets + Zócolos + + + + Memory Maps + Mapas de memoria + + + + Environment + Contorno + + + + All Fields + Todos os campos + + + + Environ + + + Variable + Variábel + + + + Variable name + Nome da variábel + + + + Value + Valor + + + + Variable value + Valor da variábel + + + + EventDialog + + + Watchdog 0.1 alpha + Vixiante 0.1 alfa + + + + Eventcat + Cat. do evento + + + + Select condition + Seleccionar a condición + + + + labelDescrition + Descrición + + + + Enable + Activar + + + + process name + nome do proceso + + + + cpu + + + + + % + + + + + include already running process + incluír os procesos que xa están en execución + + + + run command + executar a orde + + + + show Message + amosar a mensaxe + + + + Help (Not yet. just concept) + Axuda (aínda non, só o concepto) + + + + %p : pid +%c : command + %p : pid +%c : orde + + + + New + Novo + + + + Add + Engadir + + + + Delete + Eliminar + + + + Close + Pechar + + + + ExecWindow + + + Qps + Qps + + + + Ok + Aceptar + + + + Qps Watchdog + Vixiante do Qps + + + + %1 exit with code %2 + %1 sae co código %2 + + + + Close + Pechar + + + + %1 [running] + %1 [en execución] + + + + terminate command + rematar a orde + + + + Error %1 : [%2] Maybe command not found + Produciuse un erro %1 : [%2] É probábel que non se atopara a orde + + + + FieldSelect + + + Select Custom Fields + Escoller os campos personalizados + + + + Close + Pechar + + + + Files + + + Fd + Df + + + + File descriptor + Descritor de ficheiro + + + + Mode + Modo + + + + Open mode + Modo de apertura + + + + Name + Nome + + + + File name (if available) + Nome do ficheiro (se está dispoñíbel) + + + + IntervalDialog + + + Change Update Period + Cambiar o intervalo de actualización + + + + New Update Period + Novo intervalo de actualización + + + + Cancel + Cancelar + + + + OK + Aceptar + + + + No UPDATE + Non ACTUALIZAR + + + + Invalid value + Valor incorrecto + + + + ListModel + + + Event Category + Categoría do evento + + + + Enable + Activar + + + + Maps + + + Address Range + Intervalo de enderezos + + + + Mapped addresses (hex) ) + Enderezos asignados (hex) ) + + + + Size + Tamaño + + + + Kbytes mapped (dec) + Kbytes asignados (dec) + + + + Perm + Perm. + + + + Permission flags + Indicadores de permisos + + + + Offset + Desprazamento + + + + File offset at start of mapping (hex) + Desprazamento do ficheiro no inicio da asignación (hex) + + + + Device + Dispositivo + + + + Major,Minor device numbers (dec) + Números maior e menor do dispositivo (dec) + + + + Inode + Inodo + + + + Inode number (dec) + Número de inodo (dec) + + + + File + Ficheiro + + + + File name (if available) + Nome do ficheiro (se está dispoñíbel) + + + + PermissionDialog + + + Permission + Permiso + + + + Root password + Contrasinal de «root» + + + + Cancel + Cancelar + + + + OK + Aceptar + + + + Preferences + + + Preferences + Preferencias + + + + Setting + Axuste + + + + %CPU divided by + %CPU dividida por + + + + Total cpu: %1 + Total de CPU: %1 + + + + Single cpu: 1 + CPU única: 1 + + + + default + predefinido + + + + for developer + para o desenvolvedor + + + + Appearance + Aparencia + + + + Proc + + + PID + + + + + Process ID + ID do proceso + + + + TGID + + + + + Task group ID ( parent of threads ) + ID do grupo da tarefa ( pai de fíos) + + + + PPID + + + + + Parent process ID + ID do proceso pai + + + + PGID + + + + + Process group ID + ID do grupo do proceso + + + + SID + + + + + Session ID + ID da sesión + + + + TTY + + + + + Terminal + + + + + TPGID + + + + + Process group ID of tty owner + ID do grupo do proceso do propietario do tty + + + + USER + USUARIO + + + + Owner (*=suid root, +=suid a user) + Propietario (*=suid «root», +=suid un usuario) + + + + GROUP + GRUPO + + + + Group name (*=sgid other) + Nome do grupo (*=sgid outro) + + + + UID + + + + + Real user ID + ID do usuario real + + + + EUID + + + + + Effective user ID + ID do usuario efectivo + + + + SUID + + + + + Saved user ID (Posix) + ID do usuario gardado (Posix) + + + + FSUID + + + + + File system user ID + ID do usuario do sistema de ficheiros + + + + GID + + + + + Real group ID + ID do grupo real + + + + EGID + + + + + Effective group ID + ID do grupo efectivo + + + + SGID + + + + + Saved group ID (Posix) + ID do grupo gardado (Posix) + + + + FSGID + + + + + File system group ID + ID do grupo do sistema de ficheiros + + + + PRI + + + + + Dynamic priority + Prioridade dinámica + + + + NICE + + + + + Scheduling favour (higher -> less cpu time) + Prioridade de planificación (maior -> menos tempo de CPU) + + + + NLWP + + + + + Number of tasks(threads) in task group + Número de tarefas (fíos) no grupo da tarefa + + + + PLCY + + + + + Scheduling policy + Prioridade de planificación + + + + RPRI + + + + + Realtime priority (0-99, more is better) + Prioridade de tempo real (0-99, máis é mellor) + + + + TMS + + + + + Time slice in milliseconds + Fracción de tempo en milisegundos + + + + %SAVG + + + + + Percentage average sleep time (-1 -> N/A) + Porcentaxe de tempo medio durmido (-1 -> N/D) + + + + CPUSET + + + + + Affinity CPU mask (0 -> API not supported) + Máscara de afinidade da CPU (0 -> API non admitida) + + + + MAJFLT + + + + + Number of major faults (disk access) + Número de fallos graves (acceso ao disco) + + + + MINFLT + + + + + Number of minor faults (no disk access) + Número de fallos lenes (sen acceso ao disco) + + + + VSIZE + + + + + Virtual image size of process + Tamaño da imaxe virtual do proceso + + + + RSS + + + + + Resident set size + Tamaño do conxunto residente + + + + MEM + + + + + memory usage (RSS-SHARE) + uso de memoria (RSS-SHARE) + + + + TRS + + + + + Text(code) resident set size + Tamaño do conxunto de texto(código) residente + + + + DRS + + + + + Data resident set size(malloc+global variable) + Tamaño do conxunto residente de datos (malloc+variábel global) + + + + STACK + MOREA + + + + Stack size + Tamaño da morea + + + + SHARE + COMPARTIDA + + + + Shared memory with other libs + Memoria compartida con outras bibliotecas + + + + SWAP + INTERCAMBIO + + + + Kbytes on swap device + Kbytes no dispositivo de intercambio + + + + IO_R + L_ES + + + + io read (file) + lectura e/s (ficheiro) + + + + IO_W + E_ES + + + + io write (file) + escritura e/s (ficheiro) + + + + DT + + + + + Number of dirty (non-written) pages + Número de páxinas sucias (non escritas) + + + + STAT + ESTADO + + + + State of the process + Estado do proceso + + + + FLAGS + INDICADORES + + + + Process flags (hex) + Indicadores do proceso (hex) + + + + WCHAN + + + + + Kernel function where process is sleeping + Función do núcleo (kernel) onde esta a durmir o proceso + + + + %WCPU + + + + + Weighted percentage of CPU (30 s average) + Porcentaxe ponderado de CPU (media de 30 s) + + + + %CPU + + + + + Percentage of CPU used since last update + Porcentaxe de CPU usado dende a última actualización + + + + %MEM + + + + + Percentage of memory used (RSS/total mem) + Porcentaxe de memoria usada (RSS/memoria total) + + + + START + INICIO + + + + Time process started + Momento no que se iniciou o proceso + + + + TIME + TEMPO + + + + Total CPU time used since start + Tempo total de uso de CPU desde o inicio + + + + CPU + + + + + CPU the process is executing on (SMP system) + A CPU onde se está a executar o proceso (sistema SMP) + + + + the process name + o nome do proceso + + + + Process Name + Nome do proceso + + + + CWD + + + + + Current working directory + Directorio de traballo actual + + + + ROOT + RAÍZ + + + + Root directory of process + Directorio raíz do proceso + + + + COMMAND_LINE + LIÑA_ORDES + + + + Command line that started the process + Liña de ordes que iniciou o proceso + + + + QObject + + + Show + Amosar + + + + Hide + Agachar + + + + ScreenShot + Captura de pantalla + + + + Quit + Saír + + + + Qps + + + header_popup + header_popup + + + + Remove Field + Retirar o campo + + + + Add Field + Engadir un campo + + + + Command + Orde + + + + View + Ver + + + + Process + Proceso + + + + Log + Rexistro + + + + Custom Fields + Campos personalizados + + + + Basic Fields + Campos básicos + + + + Jobs Fields + Campos de tarefas + + + + Memory Fields + Campos de memoria + + + + Scheduling Fields + Campos de planificación + + + + Select Custom Fields... + Escoller os campos personalizados... + + + + Option + Opción + + + + Update Period... + Intervalo de actualización... + + + + Show Status bar + Amosar a barra de tarefas + + + + Preferences... + Preferencias... + + + + Help + Axuda + + + + + About + Sobre + + + + Detail + Detalle + + + + test + proba + + + + Copied to Clipboard + Copiado no portapapeis + + + + context popup + xanela emerxente contextual + + + + Renice... + Cambiar a prioridade (renice)... + + + + Scheduling... + Planificación... + + + + Terminate + Rematar + + + + Hangup + Suspender + + + + Kill + Matar + + + + Stop + Deter + + + + Continue + Continuar + + + + SIGINT (interrupt) + SIGINT (interromper) + + + + SIGCONT (continue) + SIGCONT (continuar) + + + + SIGSTOP (stop) + SIGSTOP (deter) + + + + SIGQUIT (quit) + SIGQUIT (saír) + + + + SIGILL (illegal instruction) + SIGILL (instrución incorrecta) + + + + SIGABRT (abort) + SIGABRT (anular) + + + + SIGFPE (floating point exception) + SIGFPE (excepción de punto flotante) + + + + SIGSEGV (segmentation violation) + SIGSEGV (infracción de segmento) + + + + SIGPIPE (broken pipe) + SIGPIPE (canalización rachada) + + + + SIGALRM (timer signal) + SIGALRM (sinal do temporizador) + + + + SIGUSR1 (user-defined 1) + SIGUSR1 (definida polo usuario 1) + + + + SIGUSR2 (user-defined 2) + SIGUSR2 (definida polo usuario 2) + + + + SIGCHLD (child death) + SIGCHLD (fillo morto) + + + + SIGTSTP (stop from tty) + SIGTSTP (detida dende o tty) + + + + SIGTTIN (tty input) + SIGTTIN (entrada do tty) + + + + SIGTTOU (tty output) + SIGTTOU (saída do tty) + + + + View Details + Ver os detalles + + + + WatchDog + Vixiante + + + + Edit Commands... + Editar as ordes... + + + + Quit + Saír + + + + + + + + + Permission denied + Permiso denegado + + + + You do not have permission to renice the selected processes. Only the process owner and the super-user are allowed to do that. + Non ten permiso para cambiar a prioridade dos procesos seleccionados. Só o dono do proceso e o superusuario poden facelo. + + + + You do not have permission to renice process %1 (%2).Only the process owner and the super-user are allowed to do that. + Non ten permiso para cambiar a prioridade do proceso s%1 (%2). Só o dono do proceso e o superusuario poden facelo. + + + + Only the super-user may lower the nice value of a process. + O superusuario é o único que pode baixar o valor da prioridade dun proceso. + + + + Only the super-user may change the scheduling policy and static priority. + O superusuario é o único que pode cambiar o valor da política de planificación e a prioridade estática. + + + + You do not have permission to change the scheduling and/or priority of process %1 (%2). Only the super-user may do that. + Non ten permiso para cambiar a planificación e/ou a prioridade do proceso s%1 (%2). Só pode facelo o superusuario. + + + + You do not have permission to send a signal to process %1 (%2). Only the super-user and the owner of the process may send signals to it. + Non ten permiso para enviar un sinal ao proceso s%1 (%2). O superusuario e o dono do proceso son os únicos que poden enviarlle sinais. + + + + <h2> Qps %1 - A Visual Process Manager </h2> %2 using Qt library %3<br><br><b>Source: </b><a href="https://github.com/lxqt/qps">https://github.com/lxqt/qps/</a><br><b>Bugtracker: </b><a href="https://github.com/lxqt/qps/issues">https://github.com/lxqt/qps/issues</a> + <h2> Qps %1 - Un administrador visual de tarefas </h2> %2 que emprega a biblioteca Qt %3<br><br><b>Código: </b><a href="https://github.com/lxqt/qps">https://github.com/lxqt/qps/</a><br><b>Seguemento de erros: </b><a href="https://github.com/lxqt/qps/issues">https://github.com/lxqt/qps/issues</a><br><br> + + + + <b>Original Qps by</b><br>Mattias Engdegård (f91-men@nada.kth.se)<br><br><b>Contributors</b><br>Olivier.Daudel@u-paris10.fr<br>jsanchez@todounix.homeip.net <br>daehyun.yang@gmail.com <br>Luís Pereira (luis.artur.pereira@gmail.com)<br>Alf Gaida (agaida@siduction.org)<br>Paulo Lieuthier (paulolieuthier@gmail.com)<br>Jerome Leclanche (jerome@leclan.ch)<br> + <b>O desenvolvemento orixinal do Qps e de</b><br>Mattias Engdegård (f91-men@nada.kth.se)<br><br><b>Colaboradores</b><br>Olivier.Daudel@u-paris10.fr<br>jsanchez@todounix.homeip.net <br>daehyun.yang@gmail.com <br>Luís Pereira (luis.artur.pereira@gmail.com)<br>Alf Gaida (agaida@siduction.org)<br>Paulo Lieuthier (paulolieuthier@gmail.com)<br>Jerome Leclanche (jerome@leclan.ch)<br> + + + + <H1>QPS Help</H1>Updated: May 24 2005<BR><A HREF="http://kldp.net/projects/qps">http://kldp.net/projects/qps</A><HR><table style="text-align: center; width: 100%;" border="1" cellpadding="1" cellspacing="0"> <tbody> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Quit </td> <td >&nbsp; CTRL + q , CTRL + x </td> </tr> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Update </td> <td>&nbsp;Space , Enter </td> </tr> <tr><td> process Terminate </td> <td> ALT + T , DELETE </td> </tr> <tr><td> process Kill </td> <td> ALT + K </td> </tr> </tbody></table> + <H1>Axuda doQPS</H1>Actualizada: 24 de maio de 2005<BR><A HREF="http://kldp.net/projects/qps">http://kldp.net/projects/qps</A><HR><table style="text-align: center; width: 100%;" border="1" cellpadding="1" cellspacing="0"> <tbody> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Saír </td> <td >&nbsp; CTRL + q , CTRL + x </td> </tr> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Actualizar </td> <td>&nbsp;Espazo , Intro </td> </tr> <tr><td> Rematar o proceso </td> <td> ALT + T , SUPRIMIR </td> </tr> <tr><td> Matar o proceso </td> <td> ALT + K </td> </tr> </tbody></table> + + + + SchedDialog + + + Change scheduling + Cambiar a planificación + + + + Scheduling Policy + Política de planificación + + + + SCHED_OTHER (time-sharing) + SCHED_OTHER (tempo compartido) + + + + SCHED_FIFO (real-time) + SCHED_FIFO (tempo real) + + + + SCHED_RR (real-time) + SCHED_RR (tempo real) + + + + OK + Aceptar + + + + Cancel + Cancelar + + + + Priority (1-99): + Prioridade (1-99): + + + + Invalid Input + Entrada incorrecta + + + + The priority must be in the range 1..99 + A prioridade debe estar no intervalo 1..99 + + + + Screenshot + + + /untitled. + /sen_título. + + + + Save As + Gardar como + + + + %1 Files (*.%2);;All Files (*) + %1 ficheiros (*.%2);;Todos os ficheiros (*) + + + + Options + Opcións + + + + s + + + + + Screenshot Delay: + Demora ao capturar a pantalla: + + + + Hide This Window + Agachar esta xanela + + + + New Screenshot + Nova captura de pantalla + + + + Quit + Saír + + + + SearchBox + + + PID,COMMAND,USER... + PID,ORDE,USUARIO... + + + + SliderDialog + + + Renice Process + Cambiar a prioridade do proceso (renice) + + + + New nice value: + Novo valor de prioridade (nice): + + + + Cancel + Cancelar + + + + OK + Aceptar + + + + Sockets + + + Fd + Df + + + + File descriptor + Descritor de ficheiro + + + + Proto + Proto. + + + + Protocol (TCP or UDP) + Protocolo (TCP ou UDP) + + + + Recv-Q + Cola_rec + + + + Bytes in receive queue + Bytes na cola de recibidos + + + + Send-Q + Cola_env + + + + Bytes in send queue + Bytes na cola de enviados + + + + Local Addr + Enderezo local + + + + Local IP address + Enderezo IP local + + + + + Port + Porto + + + + Local port + Porto local + + + + Remote Addr + Enderezo remoto + + + + Remote IP address + Enderezo IP remoto + + + + Remote port + Porto remoto + + + + State + Estado + + + + Connection state + Estado da conexión + + + + StatusBar + + + Process count: %1 + Número de procesos: %1 + + + + TBloon + + + This is unstable Alpha feature + You maybe see a SEGFAULT... + Esta é unha función alfa inestábel + É probábel que vexa algún SEGFAULT... + + + + TFrame + + + this is Tframe widget + este é o trebello Tframe + + + + UFrame + + + title + título + + + + WatchdogDialog + + + if process start + se inicia o proceso + + + + if process finish + se acaba o proceso + + + + select condition + seleccionar a condición + + + diff --git a/src/translations/qps_he.ts b/src/translations/qps_he.ts new file mode 100644 index 0000000..23783fc --- /dev/null +++ b/src/translations/qps_he.ts @@ -0,0 +1,1786 @@ + + + + + AllFields + + + Field + שדה + + + + Field name + שם השדה + + + + Description + תיאור + + + + Field description + תיאור שדה + + + + Value + ערך + + + + Field value + ערך שדה + + + + Boxvar + + + Exit On Close Button + + + + + Host Name Lookup + + + + + Service Name Lookup + + + + + Disclosure Triangles + + + + + Branch Lines + + + + + Auto Save Settings on Exit + שמירת ההגדרות אוטומטית עם היציאה + + + + Selection: Copy PIDs to Clipboard + בחירה: העתקת מזהי תהליכים ללוח הגזירים + + + + Normalize NICE + + + + + Use pmap for Map Names + + + + + Cbgroup + + + General + כללי + + + + Command + + + The command: + + + הפקודה: + + + + + + + +failed with the error: + + + + +נכשל עם השגיאה: + + + + + + Too many processes + יותר מדי תהליכים + + + + Unknown error + שגיאה לא ידועה + + + + + +could not be executed because it was not found, +or you did not have execute permission. + + + + + + +exited with status + + + + + Command Failed + הפקודה נכשלה + + + + CommandDialog + + + Edit Commands 0.1 alpha + עריכת פקודות 0.1 אלפא + + + + Name: + שם: + + + + Popup + חלון מוקפץ + + + + Command Line: + שורת פקודה: + + + + Substitutions: +%p PID +%c COMMAND +%C CMDLINE +%u USER +%% % + + + החלפות: +%p מזהה תהליך +%c פקודה +%C שורת פקודה +%u משתמש +%% % + + + + + + New... + חדש… + + + + + Add... + הוספה… + + + + Delete + מחיקה + + + + Close + סגירה + + + + ControlBar + + + Linear + קווי + + + + Tree + עץ + + + + All Processes + כל התהליכים + + + + Your Processes + התהליכים שלך + + + + Non-Root Processes + תהליכים שאינם של משתמש העל + + + + Running Processes + תהליכים פעילים + + + + Pause (Ctrl+Space) + עצירה (Ctrl+Space) + + + + Details + + + Process %1 ( %2 ) - details + תהליך %1 ( %2 ) - פרטים + + + + Files + קבצים + + + + Sockets + שקעים + + + + Memory Maps + מפות זיכרון + + + + Environment + סביבה + + + + All Fields + כל השדות + + + + Environ + + + Variable + משתנה + + + + Variable name + שם המשתנה + + + + Value + ערך + + + + Variable value + ערך המשתנה + + + + EventDialog + + + Watchdog 0.1 alpha + משגיח 0.1 אלפא + + + + Eventcat + יומן אירועים + + + + Select condition + בחירת מצב + + + + labelDescrition + תווית תיאור + + + + Enable + הפעלה + + + + process name + שם תהליך + + + + cpu + מעבד + + + + % + + + + + include already running process + כולל תהליך שכבר רץ + + + + run command + הפעלת פקודה + + + + show Message + הצגת הודעה + + + + Help (Not yet. just concept) + עזרה (בינתיים אין, זה בגדר רעיון) + + + + %p : pid +%c : command + ‎%p : מזהה תהליך +‎%c : פקודה + + + + New + חדש + + + + Add + הוספה + + + + Delete + מחיקה + + + + Close + סגירה + + + + ExecWindow + + + Qps + + + + + Ok + אישור + + + + Qps Watchdog + משגיח Qps + + + + %1 exit with code %2 + %1 יצא עם קוד %2 + + + + Close + סגירה + + + + %1 [running] + %1 [פעיל] + + + + terminate command + חיסול פקודה + + + + Error %1 : [%2] Maybe command not found + שגיאה %1 ‏: [%2] אולי הפקודה לא נמצאה + + + + FieldSelect + + + Select Custom Fields + + + + + Close + סגירה + + + + Files + + + Fd + + + + + File descriptor + + + + + Mode + מצב + + + + Open mode + + + + + Name + שם + + + + File name (if available) + שם קובץ (אם יש) + + + + IntervalDialog + + + Change Update Period + שינוי טווח עדכון + + + + New Update Period + טווח עדכון חדש + + + + Cancel + ביטול + + + + OK + אישור + + + + No UPDATE + אין עדכון + + + + Invalid value + ערך שגוי + + + + ListModel + + + Event Category + + + + + Enable + הפעלה + + + + Maps + + + Address Range + טווח כתובות + + + + Mapped addresses (hex) ) + כתובות ממופות (הקס) + + + + Size + גודל + + + + Kbytes mapped (dec) + קילובתים ממופים (עשרוני) + + + + Perm + הרש׳ + + + + Permission flags + דגלוני הרשאה + + + + Offset + היסט + + + + File offset at start of mapping (hex) + היסט מהקובץ לתחילת המיפוי (הקס) + + + + Device + התקן + + + + Major,Minor device numbers (dec) + מספרי התקנים עיקריים, משניים (עשרוני) + + + + Inode + תא מפרק + + + + Inode number (dec) + + + + + File + קובץ + + + + File name (if available) + שם קובץ (אם יש) + + + + PermissionDialog + + + Permission + הרשאה + + + + Root password + ססמת משתמש על + + + + Cancel + ביטול + + + + OK + אישור + + + + Preferences + + + Preferences + העדפות + + + + Setting + הגדרות + + + + %CPU divided by + %מעבד לפי חלוקה של + + + + Total cpu: %1 + סך ניצולת מעבד: %1 + + + + Single cpu: 1 + מעבד יחיד: 1 + + + + default + בררת מחדל + + + + for developer + למפתח + + + + Appearance + מראה + + + + Proc + + + PID + מזהה תהליך + + + + Process ID + מזהה תהליך + + + + TGID + TGID + + + + Task group ID ( parent of threads ) + + + + + PPID + + + + + Parent process ID + + + + + PGID + + + + + Process group ID + + + + + SID + + + + + Session ID + + + + + TTY + TTY + + + + Terminal + מסוף + + + + TPGID + + + + + Process group ID of tty owner + + + + + USER + משתמש + + + + Owner (*=suid root, +=suid a user) + בעלות (‎*=suid root,‏ ‎+=suid a user) + + + + GROUP + קבוצה + + + + Group name (*=sgid other) + שם קבוצה ‎(*=sgid other) + + + + UID + + + + + Real user ID + + + + + EUID + + + + + Effective user ID + + + + + SUID + + + + + Saved user ID (Posix) + + + + + FSUID + + + + + File system user ID + + + + + GID + + + + + Real group ID + + + + + EGID + + + + + Effective group ID + + + + + SGID + + + + + Saved group ID (Posix) + + + + + FSGID + + + + + File system group ID + + + + + PRI + + + + + Dynamic priority + + + + + NICE + + + + + Scheduling favour (higher -> less cpu time) + + + + + NLWP + + + + + Number of tasks(threads) in task group + + + + + PLCY + + + + + Scheduling policy + + + + + RPRI + + + + + Realtime priority (0-99, more is better) + + + + + TMS + + + + + Time slice in milliseconds + + + + + %SAVG + + + + + Percentage average sleep time (-1 -> N/A) + + + + + CPUSET + + + + + Affinity CPU mask (0 -> API not supported) + + + + + MAJFLT + + + + + Number of major faults (disk access) + + + + + MINFLT + + + + + Number of minor faults (no disk access) + + + + + VSIZE + + + + + Virtual image size of process + + + + + RSS + + + + + Resident set size + + + + + MEM + + + + + memory usage (RSS-SHARE) + + + + + TRS + + + + + Text(code) resident set size + + + + + DRS + + + + + Data resident set size(malloc+global variable) + + + + + STACK + + + + + Stack size + + + + + SHARE + + + + + Shared memory with other libs + + + + + SWAP + + + + + Kbytes on swap device + + + + + IO_R + + + + + io read (file) + + + + + IO_W + + + + + io write (file) + + + + + DT + + + + + Number of dirty (non-written) pages + + + + + STAT + + + + + State of the process + + + + + FLAGS + + + + + Process flags (hex) + + + + + WCHAN + + + + + Kernel function where process is sleeping + + + + + %WCPU + + + + + Weighted percentage of CPU (30 s average) + + + + + %CPU + + + + + Percentage of CPU used since last update + + + + + %MEM + + + + + Percentage of memory used (RSS/total mem) + + + + + START + + + + + Time process started + + + + + TIME + + + + + Total CPU time used since start + + + + + CPU + מעבד + + + + CPU the process is executing on (SMP system) + המעבד עליו פועל התהליך (מערכת SMP) + + + + the process name + שם התהליך + + + + Process Name + שם התהליך + + + + CWD + CWD + + + + Current working directory + תיקיית העבודה הנוכחית + + + + ROOT + ROOT + + + + Root directory of process + תיקיית הבסיס של התהליך + + + + COMMAND_LINE + COMMAND_LINE + + + + Command line that started the process + שורת הפקודה שהפעילה את התהליך + + + + QObject + + + Show + הצגה + + + + Hide + הסתרה + + + + ScreenShot + צילום מסך + + + + Quit + יציאה + + + + Qps + + + header_popup + + + + + Remove Field + הסרת שדה + + + + Add Field + הוספת שדה + + + + Command + פקודה + + + + View + הצגה + + + + Process + תהליך + + + + Log + יומן + + + + Custom Fields + שדות בהתאמה אישית + + + + Basic Fields + שדות בסיסיים + + + + Jobs Fields + שדות משימות + + + + Memory Fields + שדות זיכרון + + + + Scheduling Fields + שדות תזמון + + + + Select Custom Fields... + בחירת שדות בהתאמה אישית… + + + + Option + אפשרות + + + + Update Period... + טווח עדכון… + + + + Show Status bar + הצגת סרגל מצב + + + + Preferences... + העדפות… + + + + Help + עזרה + + + + + About + על אודות + + + + Detail + פרט + + + + test + בדיקה + + + + Copied to Clipboard + הועתק ללוח גזירים + + + + context popup + + + + + Renice... + + + + + Scheduling... + תזמון… + + + + Terminate + חיסול + + + + Hangup + ניתוק + + + + Kill + הריגה + + + + Stop + עצירה + + + + Continue + המשך + + + + SIGINT (interrupt) + SIGINT (פסיקה) + + + + SIGCONT (continue) + SIGCONT (המשך) + + + + SIGSTOP (stop) + SIGSTOP (עצירה) + + + + SIGQUIT (quit) + SIGQUIT (יציאה) + + + + SIGILL (illegal instruction) + SIGILL (הנחייה בלתי חוקית) + + + + SIGABRT (abort) + SIGABRT (ביטול) + + + + SIGFPE (floating point exception) + SIGFPE (חריגת נקודה עשרונית) + + + + SIGSEGV (segmentation violation) + SIGSEGV (הפרת סגמנטציה) + + + + SIGPIPE (broken pipe) + + + + + SIGALRM (timer signal) + SIGALRM (אות תזמון) + + + + SIGUSR1 (user-defined 1) + SIGUSR1 (הגדרת משתמש 1) + + + + SIGUSR2 (user-defined 2) + SIGUSR2 (הגדרת משתמש 2) + + + + SIGCHLD (child death) + SIGCHLD (מות צאצא) + + + + SIGTSTP (stop from tty) + SIGTSTP (עצירה מ־tty) + + + + SIGTTIN (tty input) + SIGTTIN (קלט tty) + + + + SIGTTOU (tty output) + SIGTTOU (פלט tty) + + + + View Details + הצגת פרטים + + + + WatchDog + משגיח + + + + Edit Commands... + עריכת פקודות… + + + + Quit + יציאה + + + + + + + + + Permission denied + ההרשאה נדחתה + + + + You do not have permission to renice the selected processes. Only the process owner and the super-user are allowed to do that. + אין לך אפשרות לשנות nice של התהליכים הנבחרים. רק הבעלים ומשתמש העל מורשים לעשות זאת. + + + + You do not have permission to renice process %1 (%2).Only the process owner and the super-user are allowed to do that. + אין לך אפשרות לשנות nice לתהליך %1 (%2). רק הבעלים של התהליך ומשתמש העל מורשים לעשות זאת. + + + + Only the super-user may lower the nice value of a process. + רק משתמש העל יכול להוריד את ערך ה־nice של תהליך. + + + + Only the super-user may change the scheduling policy and static priority. + רק משתמש העל יכול לשנות את מדיניות התזמון ואת העדיפות הסטטית. + + + + You do not have permission to change the scheduling and/or priority of process %1 (%2). Only the super-user may do that. + אין לך הרשאות לשנות את התזמון ו/או העדיפות של התהליך %1 (%2). רק משתמש העל יכול לעשות זאת. + + + + You do not have permission to send a signal to process %1 (%2). Only the super-user and the owner of the process may send signals to it. + אין לך הרשאות לשלוח אות לתהליך %1 (%2). רק משתמש העל והבעלים של התהליך יכולים לשלוח אליו אותות. + + + + <h2> Qps %1 - A Visual Process Manager </h2> %2 using Qt library %3<br><br><b>Source: </b><a href="https://github.com/lxqt/qps">https://github.com/lxqt/qps/</a><br><b>Bugtracker: </b><a href="https://github.com/lxqt/qps/issues">https://github.com/lxqt/qps/issues</a> + <h2> Qps %1 - מנהל תהליכים חזותי </h2> %2 משתמש בספריית Qt %3<br><br><b>מקור: </b><a href="https://github.com/lxqt/qps">https://github.com/lxqt/qps/</a><br><b>עוקב תקלות: </b><a href="https://github.com/lxqt/qps/issues">https://github.com/lxqt/qps/issues</a> + + + + <b>Original Qps by</b><br>Mattias Engdegård (f91-men@nada.kth.se)<br><br><b>Contributors</b><br>Olivier.Daudel@u-paris10.fr<br>jsanchez@todounix.homeip.net <br>daehyun.yang@gmail.com <br>Luís Pereira (luis.artur.pereira@gmail.com)<br>Alf Gaida (agaida@siduction.org)<br>Paulo Lieuthier (paulolieuthier@gmail.com)<br>Jerome Leclanche (jerome@leclan.ch)<br> + <b>ה־Qps המקורי נוצר על ידי</b><br>Mattias Engdegård (f91-men@nada.kth.se)<br><br><b>תורמים</b><br>Olivier.Daudel@u-paris10.fr<br>jsanchez@todounix.homeip.net <br>daehyun.yang@gmail.com <br>Luís Pereira (luis.artur.pereira@gmail.com)<br>Alf Gaida (agaida@siduction.org)<br>Paulo Lieuthier (paulolieuthier@gmail.com)<br>Jerome Leclanche (jerome@leclan.ch)<br> + + + + <H1>QPS Help</H1>Updated: May 24 2005<BR><A HREF="http://kldp.net/projects/qps">http://kldp.net/projects/qps</A><HR><table style="text-align: center; width: 100%;" border="1" cellpadding="1" cellspacing="0"> <tbody> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Quit </td> <td >&nbsp; CTRL + q , CTRL + x </td> </tr> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Update </td> <td>&nbsp;Space , Enter </td> </tr> <tr><td> process Terminate </td> <td> ALT + T , DELETE </td> </tr> <tr><td> process Kill </td> <td> ALT + K </td> </tr> </tbody></table> + + + + + SchedDialog + + + Change scheduling + החלפת תזמון + + + + Scheduling Policy + מדיניות תזמון + + + + SCHED_OTHER (time-sharing) + + + + + SCHED_FIFO (real-time) + + + + + SCHED_RR (real-time) + + + + + OK + אישור + + + + Cancel + ביטול + + + + Priority (1-99): + + + + + Invalid Input + + + + + The priority must be in the range 1..99 + + + + + Screenshot + + + /untitled. + + + + + Save As + שמירה בשם + + + + %1 Files (*.%2);;All Files (*) + קובצי %1 (‎*.%2);;כל הקבצים (*) + + + + Options + אפשרויות + + + + s + שנ׳ + + + + Screenshot Delay: + השהיית צילום מסך: + + + + Hide This Window + הסתרת החלון הזה + + + + New Screenshot + צילום מסך חדש + + + + Quit + יציאה + + + + SearchBox + + + PID,COMMAND,USER... + + + + + SliderDialog + + + Renice Process + + + + + New nice value: + + + + + Cancel + ביטול + + + + OK + אישור + + + + Sockets + + + Fd + + + + + File descriptor + + + + + Proto + פרוטו + + + + Protocol (TCP or UDP) + פרוטוקול (TCP או UDP) + + + + Recv-Q + תור נכנס + + + + Bytes in receive queue + בתים בתור הקבלה + + + + Send-Q + תור יוצא + + + + Bytes in send queue + בתים בתור השליחה + + + + Local Addr + כת׳ מקומית + + + + Local IP address + כתובת IP מקומית + + + + + Port + פתחה + + + + Local port + פתחה מקומית + + + + Remote Addr + כת׳ מרוחקת + + + + Remote IP address + כתובת IP מרוחקת + + + + Remote port + פתחה מרוחקת + + + + State + מצב + + + + Connection state + מצב החיבור + + + + StatusBar + + + Process count: %1 + + + + + TBloon + + + This is unstable Alpha feature + You maybe see a SEGFAULT... + + + + + TFrame + + + this is Tframe widget + + + + + UFrame + + + title + + + + + WatchdogDialog + + + if process start + אם תהליך מתחיל + + + + if process finish + אם תהליך מסתיים + + + + select condition + בחירת תנאי + + + diff --git a/src/translations/qps_lt.ts b/src/translations/qps_lt.ts new file mode 100644 index 0000000..1563c0e --- /dev/null +++ b/src/translations/qps_lt.ts @@ -0,0 +1,1792 @@ + + + + + AllFields + + + Field + Laukas + + + + Field name + Lauko pavadinimas + + + + Description + Aprašas + + + + Field description + Lauko aprašas + + + + Value + Reikšmė + + + + Field value + Lauko reikšmė + + + + Boxvar + + + Exit On Close Button + Išeiti, užvėrus langą + + + + Host Name Lookup + Serverių vardų paieška + + + + Service Name Lookup + Tarnybų pavadinimų paieška + + + + Disclosure Triangles + Trikampių atskleidimas + + + + Branch Lines + Atšakų linijos + + + + Auto Save Settings on Exit + Išeinant, automatiškai įrašyti nustatymus + + + + Selection: Copy PIDs to Clipboard + Žymėjimas: Kopijuoti PID į iškarpinę + + + + Normalize NICE + Normalizuoti "NICE" + + + + Use pmap for Map Names + Planų pavadinimams naudoti pmap + + + + Cbgroup + + + General + Bendra + + + + Command + + + The command: + + + Komanda: + + + + + + + +failed with the error: + + + + +patyrė nesėkmę su klaida: + + + + + + Too many processes + Per daug procesų + + + + Unknown error + Nežinoma klaida + + + + + +could not be executed because it was not found, +or you did not have execute permission. + + +nepavyko įvykdyti, nes ji nebuvo rasta, +arba jūs neturite leidimo jos vykdyti. + + + + + +exited with status + + +išėjo su būsena + + + + Command Failed + Komanda nepavyko + + + + CommandDialog + + + Edit Commands 0.1 alpha + Taisyti komandas 0.1 alfa + + + + Name: + Pavadinimas: + + + + Popup + Iškylantysis langas + + + + Command Line: + Komandų eilutė: + + + + Substitutions: +%p PID +%c COMMAND +%C CMDLINE +%u USER +%% % + + + Pakaitalai: +%p PID +%c KOMANDA +%C KOMANDŲ EILUTĖ +%u NAUDOTOJAS +%% % + + + + + + New... + Nauja... + + + + + Add... + Pridėti... + + + + Delete + Ištrinti + + + + Close + Užverti + + + + ControlBar + + + Linear + Linijinis + + + + Tree + Medis + + + + All Processes + Visi procesai + + + + Your Processes + Jūsų procesai + + + + Non-Root Processes + Ne šaknies procesai + + + + Running Processes + Vykdomi procesai + + + + Pause (Ctrl+Space) + Pristabdyti (Ctrl(Vald)+Tarpas) + + + + Details + + + Process %1 ( %2 ) - details + Procesas %1 ( %2 ) - išsamiau + + + + Files + Failai + + + + Sockets + Lizdai + + + + Memory Maps + Atminties schemos + + + + Environment + Aplinka + + + + All Fields + Visi laukai + + + + Environ + + + Variable + Kintamasis + + + + Variable name + Kintamojo pavadinimas + + + + Value + Reikšmė + + + + Variable value + Kintamojo reikšmė + + + + EventDialog + + + Watchdog 0.1 alpha + + + + + Eventcat + + + + + Select condition + Pasirinkti sąlygą + + + + labelDescrition + Aprašas + + + + Enable + Įjungti + + + + process name + proceso pavadinimas + + + + cpu + procesorius + + + + % + + + + + include already running process + įtraukti jau vykdomą procesą + + + + run command + vykdyti komandą + + + + show Message + rodyti pranešimą + + + + Help (Not yet. just concept) + Žinynas (Kol kas nėra. Tik koncepcija) + + + + %p : pid +%c : command + %p : pid +%c : komanda + + + + New + Naujas + + + + Add + Pridėti + + + + Delete + Ištrinti + + + + Close + Užverti + + + + ExecWindow + + + Qps + + + + + Ok + Gerai + + + + Qps Watchdog + Qps kontrolierius + + + + %1 exit with code %2 + %1 išėjo su kodu %2 + + + + Close + Užverti + + + + %1 [running] + %1 [vykdoma] + + + + terminate command + baigti komandą + + + + Error %1 : [%2] Maybe command not found + Klaida %1 : [%2] Galbūt, komanda nerasta + + + + FieldSelect + + + Select Custom Fields + Pasirinkti tinkintus laukus + + + + Close + Užverti + + + + Files + + + Fd + Fd + + + + File descriptor + Failo deskriptorius + + + + Mode + Veiksena + + + + Open mode + Atvėrimo veiksena + + + + Name + Pavadinimas + + + + File name (if available) + Failo pavadinimas (jei prieinama) + + + + IntervalDialog + + + Change Update Period + Keisti atnaujinimo intervalą + + + + New Update Period + Naujas atnaujinimo intervalas + + + + Cancel + Atsisakyti + + + + OK + Gerai + + + + No UPDATE + Jokio ATNAUJINIMO + + + + Invalid value + Neteisinga reikšmė + + + + ListModel + + + Event Category + Įvykio kategorija + + + + Enable + Įjungti + + + + Maps + + + Address Range + Adresų rėžis + + + + Mapped addresses (hex) ) + Atvaizduojami adresai (šešiolikt.) + + + + Size + Dydis + + + + Kbytes mapped (dec) + Atvaizduojama kilobaitų (dešimt.) + + + + Perm + Leid. + + + + Permission flags + Leidimų vėliavėlės + + + + Offset + Poslinkis + + + + File offset at start of mapping (hex) + Failo poslinkis atvaizdavimo pradžioje (šešiolikt.) + + + + Device + Įrenginys + + + + Major,Minor device numbers (dec) + Pagrindinio, šalutinio įrenginio numeriai (dešimt.) + + + + Inode + Inode + + + + Inode number (dec) + Inode numeris (dešimt.) + + + + File + Failas + + + + File name (if available) + Failo pavadinimas (jei prieinama) + + + + PermissionDialog + + + Permission + Leidimas + + + + Root password + Šaknies slaptažodis + + + + Cancel + Atsisakyti + + + + OK + Gerai + + + + Preferences + + + Preferences + Nuostatos + + + + Setting + Nustatymas + + + + %CPU divided by + %CPU padalintas iš + + + + Total cpu: %1 + Iš viso procesorių: %1 + + + + Single cpu: 1 + Vienas procesorius: 1 + + + + default + numatytasis + + + + for developer + kūrėjui + + + + Appearance + Išvaizda + + + + Proc + + + PID + PID + + + + Process ID + Proceso ID + + + + TGID + TGID + + + + Task group ID ( parent of threads ) + Užduočių grupės ID (gijų pirminio) + + + + PPID + PPID + + + + Parent process ID + Pirminio proceso ID + + + + PGID + PGID + + + + Process group ID + Proceso grupės ID + + + + SID + SID + + + + Session ID + Seanso ID + + + + TTY + TTY + + + + Terminal + Terminalas + + + + TPGID + TPGID + + + + Process group ID of tty owner + TTY savininko proceso grupės ID + + + + USER + NAUDOTOJAS + + + + Owner (*=suid root, +=suid a user) + Savininkas (*=suid šaknis, +=suid naudotojas) + + + + GROUP + GRUPĖ + + + + Group name (*=sgid other) + Grupės pavadinimas (*=sgid kita) + + + + UID + UID + + + + Real user ID + Tikrasis naudotojo ID + + + + EUID + EUID + + + + Effective user ID + Efektyvusis naudotojo ID + + + + SUID + SUID + + + + Saved user ID (Posix) + Įrašytas naudotojo ID (Posix) + + + + FSUID + FSUID + + + + File system user ID + Failų sistemos naudotojo ID + + + + GID + GID + + + + Real group ID + Tikrasis grupės ID + + + + EGID + EGID + + + + Effective group ID + Efektyvusis grupės ID + + + + SGID + SGID + + + + Saved group ID (Posix) + Įrašytas grupės ID (Posix) + + + + FSGID + FSGID + + + + File system group ID + Failų sistemos grupės ID + + + + PRI + PRI + + + + Dynamic priority + Dinaminė pirmenybė + + + + NICE + NICE + + + + Scheduling favour (higher -> less cpu time) + Planavimo palankumas (didesnis -> mažesnis apdorojimo laikas) + + + + NLWP + NLWP + + + + Number of tasks(threads) in task group + Užduočių (gijų) skaičius užduočių grupėje + + + + PLCY + PLCY + + + + Scheduling policy + Planavimo politika + + + + RPRI + RPRI + + + + Realtime priority (0-99, more is better) + Tikralaikė pirmenybė (0-99, daugiau yra geriau) + + + + TMS + TMS + + + + Time slice in milliseconds + Laiko tarpas, milisekundėmis + + + + %SAVG + %SAVG + + + + Percentage average sleep time (-1 -> N/A) + Vidutinio miego laiko procentinė dalis (-1 -> Nėra) + + + + CPUSET + CPUSET + + + + Affinity CPU mask (0 -> API not supported) + Procesoriaus atitikimo kaukė (0 -> API nepalaikomas) + + + + MAJFLT + MAJFLT + + + + Number of major faults (disk access) + Stambių klaidų skaičius (disko prieiga) + + + + MINFLT + MINFLT + + + + Number of minor faults (no disk access) + Nežymių klaidų skaičius (jokios disko prieigos) + + + + VSIZE + VSIZE + + + + Virtual image size of process + Proceso virtualaus atvaizdžio dydis + + + + RSS + RSS + + + + Resident set size + Rezidentinio rinkinio dydis + + + + MEM + MEM + + + + memory usage (RSS-SHARE) + atminties naudojimas (RSS-SHARE) + + + + TRS + TRS + + + + Text(code) resident set size + Teksto (kodo) rezidentinio rinkinio dydis + + + + DRS + DRS + + + + Data resident set size(malloc+global variable) + Duomenų rezidentinio rinkinio dydis (malloc+visuotinis kintamasis) + + + + STACK + STACK + + + + Stack size + Dėklo dydis + + + + SHARE + SHARE + + + + Shared memory with other libs + Bendrinama atmintis su kitomis bibliotekomis + + + + SWAP + SWAP + + + + Kbytes on swap device + Kilobaitų sukeitimų įrenginyje + + + + IO_R + IO_R + + + + io read (file) + io skaitymas (failai) + + + + IO_W + IO_W + + + + io write (file) + io rašymas (failai) + + + + DT + DT + + + + Number of dirty (non-written) pages + "Nešvarių" (neįrašytų) puslapių skaičius + + + + STAT + STAT + + + + State of the process + Proceso būsena + + + + FLAGS + VĖLIAVĖLĖS + + + + Process flags (hex) + Proceso vėliavėlės (šešiolikt.) + + + + WCHAN + WCHAN + + + + Kernel function where process is sleeping + Branduolio funkcija, kurioje miega procesas + + + + %WCPU + %WCPU + + + + Weighted percentage of CPU (30 s average) + Svertinė procesoriaus procentinė dalis (30 sek. vidurkis) + + + + %CPU + %CPU + + + + Percentage of CPU used since last update + Procesoriaus procentinė dalis, naudota nuo paskutinio atnaujinimo + + + + %MEM + %MEM + + + + Percentage of memory used (RSS/total mem) + Naudotos atminties procentinė dalis (RSS/viso atminties) + + + + START + PRADŽIA + + + + Time process started + Laikas, kai procesas buvo paleistas + + + + TIME + LAIKAS + + + + Total CPU time used since start + Bendras procesoriaus laikas, naudotas nuo paleidimo + + + + CPU + Procesorius + + + + CPU the process is executing on (SMP system) + Procesorius, kuriame yra vykdomas procesas (SMP sistemose) + + + + the process name + proceso pavadinimas + + + + Process Name + Proceso pavadinimas + + + + CWD + CWD + + + + Current working directory + Esamas darbinis katalogas + + + + ROOT + ŠAKNIS + + + + Root directory of process + Proceso šaknies katalogas + + + + COMMAND_LINE + KOMANDŲ EILUTĖ + + + + Command line that started the process + Komandų eilutė, kuri paleido procesą + + + + QObject + + + Show + Rodyti + + + + Hide + Slėpti + + + + ScreenShot + Ekrano kopija + + + + Quit + Išeiti + + + + Qps + + + header_popup + header_popup + + + + Remove Field + Šalinti lauką + + + + Add Field + Pridėti lauką + + + + Command + Komanda + + + + View + Rodinys + + + + Process + Procesas + + + + Log + Žurnalas + + + + Custom Fields + Tinkinti laukai + + + + Basic Fields + Pagrindiniai laukai + + + + Jobs Fields + Užduočių laukai + + + + Memory Fields + Atminties laukai + + + + Scheduling Fields + Planavimo laukai + + + + Select Custom Fields... + Pasirinkti tinkintus laukus... + + + + Option + Parinktis + + + + Update Period... + Atnaujinimo intervalas... + + + + Show Status bar + Rodyti būsenos juostą + + + + Preferences... + Nuostatos... + + + + Help + Žinynas + + + + + About + Apie + + + + Detail + Išsamiau + + + + test + išbandyti + + + + Copied to Clipboard + Nukopijuota į iškarpinę + + + + context popup + iškylantysis kontekstinis langas + + + + Renice... + Iš naujo nustatyti "nice"... + + + + Scheduling... + Planavimas... + + + + Terminate + Baigti + + + + Hangup + Užstrigdinti + + + + Kill + Nutraukti + + + + Stop + Stabdyti + + + + Continue + Tęsti + + + + SIGINT (interrupt) + SIGINT (pertraukti) + + + + SIGCONT (continue) + SIGCONT (tęsti) + + + + SIGSTOP (stop) + SIGSTOP (stabdyti) + + + + SIGQUIT (quit) + SIGQUIT (išeiti) + + + + SIGILL (illegal instruction) + SIGILL (neleidžiamoji komanda) + + + + SIGABRT (abort) + SIGABRT (nutraukti) + + + + SIGFPE (floating point exception) + SIGFPE (slankiojo kablelio išimtis) + + + + SIGSEGV (segmentation violation) + SIGSEGV (segmentavimo pažeidimas) + + + + SIGPIPE (broken pipe) + SIGPIPE (neveikiantis kanalas) + + + + SIGALRM (timer signal) + SIGALRM (laikmačio signalas) + + + + SIGUSR1 (user-defined 1) + SIGUSR1 (naudotojo apibrėžtas 1) + + + + SIGUSR2 (user-defined 2) + SIGUSR2 (naudotojo apibrėžtas 2) + + + + SIGCHLD (child death) + SIGCHLD (vyksnio mirtis) + + + + SIGTSTP (stop from tty) + SIGTSTP (stabdyti iš tty) + + + + SIGTTIN (tty input) + SIGTTIN (tty įvestis) + + + + SIGTTOU (tty output) + SIGTTOU (tty išvestis) + + + + View Details + Rodyti išsamiau + + + + WatchDog + Kontrolierius + + + + Edit Commands... + Taisyti komandas... + + + + Quit + Išeiti + + + + + + + + + Permission denied + Leidimas atmestas + + + + You do not have permission to renice the selected processes. Only the process owner and the super-user are allowed to do that. + Jūs neturite leidimo iš naujo nustatyti pažymėtų procesų "nice" reikšmę. Tai leidžiama daryti tik proceso savininkui ir supernaudotojui. + + + + You do not have permission to renice process %1 (%2).Only the process owner and the super-user are allowed to do that. + Jūs neturite leidimo iš naujo nustatyti proceso %1 (%2) "nice" reikšmę. Tai leidžiama daryti tik proceso savininkui ir supernaudotojui. + + + + Only the super-user may lower the nice value of a process. + Tik supernaudotojas gali mažinti proceso "nice" reikšmę. + + + + Only the super-user may change the scheduling policy and static priority. + Tik supernaudotojas gali keisti planavimo politiką ir statinę pirmenybę. + + + + You do not have permission to change the scheduling and/or priority of process %1 (%2). Only the super-user may do that. + Jūs neturite leidimo keisti proceso %1 (%2) planavimą ir/ar pirmenybę. Tai gali daryti tik supernaudotojas. + + + + You do not have permission to send a signal to process %1 (%2). Only the super-user and the owner of the process may send signals to it. + Jūs neturite leidimo siųsti signalą procesui %1 (%2). Tik supernaudotojas ir proceso savininkas gali siųsti jam signalus. + + + + <h2> Qps %1 - A Visual Process Manager </h2> %2 using Qt library %3<br><br><b>Source: </b><a href="https://github.com/lxqt/qps">https://github.com/lxqt/qps/</a><br><b>Bugtracker: </b><a href="https://github.com/lxqt/qps/issues">https://github.com/lxqt/qps/issues</a> + <h2> Qps %1 - Vaizdinė procesų tvarkytuvė </h2> %2 naudoja Qt biblioteką %3<br><br><b>Šaltinis: </b><a href="https://github.com/lxqt/qps">https://github.com/lxqt/qps/</a><br><b>Klaidų seklys: </b><a href="https://github.com/lxqt/qps/issues">https://github.com/lxqt/qps/issues</a> + + + + <b>Original Qps by</b><br>Mattias Engdegård (f91-men@nada.kth.se)<br><br><b>Contributors</b><br>Olivier.Daudel@u-paris10.fr<br>jsanchez@todounix.homeip.net <br>daehyun.yang@gmail.com <br>Luís Pereira (luis.artur.pereira@gmail.com)<br>Alf Gaida (agaida@siduction.org)<br>Paulo Lieuthier (paulolieuthier@gmail.com)<br>Jerome Leclanche (jerome@leclan.ch)<br> + <b>Pradinė Qps pagal</b><br>Mattias Engdegård (f91-men@nada.kth.se)<br><br><b>Talkininkai</b><br>Olivier.Daudel@u-paris10.fr<br>jsanchez@todounix.homeip.net <br>daehyun.yang@gmail.com <br>Luís Pereira (luis.artur.pereira@gmail.com)<br>Alf Gaida (agaida@siduction.org)<br>Paulo Lieuthier (paulolieuthier@gmail.com)<br>Jerome Leclanche (jerome@leclan.ch)<br> + + + + <H1>QPS Help</H1>Updated: May 24 2005<BR><A HREF="http://kldp.net/projects/qps">http://kldp.net/projects/qps</A><HR><table style="text-align: center; width: 100%;" border="1" cellpadding="1" cellspacing="0"> <tbody> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Quit </td> <td >&nbsp; CTRL + q , CTRL + x </td> </tr> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Update </td> <td>&nbsp;Space , Enter </td> </tr> <tr><td> process Terminate </td> <td> ALT + T , DELETE </td> </tr> <tr><td> process Kill </td> <td> ALT + K </td> </tr> </tbody></table> + <H1>QPS žinynas</H1>Atnaujintas: 2005 gegužės 24<BR><A HREF="http://kldp.net/projects/qps">http://kldp.net/projects/qps</A><HR><table style="text-align: center; width: 100%;" border="1" cellpadding="1" cellspacing="0"> <tbody> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Išeiti </td> <td >&nbsp; CTRL(VALD) + q , CTRL(VALD) + x </td> </tr> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Atnaujinti </td> <td>&nbsp;Tarpas , Enter(Įvedimas) </td> </tr> <tr><td> Baigti procesą </td> <td> ALT + T , DELETE(Naik) </td> </tr> <tr><td> Nutraukti procesą </td> <td> ALT + K </td> </tr> </tbody></table> + + + + SchedDialog + + + Change scheduling + Keisti planavimą + + + + Scheduling Policy + Planavimo politika + + + + SCHED_OTHER (time-sharing) + SCHED_OTHER (laiko paskirstymo) + + + + SCHED_FIFO (real-time) + SCHED_FIFO (tikralaikė) + + + + SCHED_RR (real-time) + SCHED_RR (tikralaikė) + + + + OK + Gerai + + + + Cancel + Atsisakyti + + + + Priority (1-99): + Pirmenybė (1-99): + + + + Invalid Input + Neteisinga įvestis + + + + The priority must be in the range 1..99 + Pirmenybė privalo būti rėžyje 1..99 + + + + Screenshot + + + /untitled. + /be_pavadinimo. + + + + Save As + Įrašyti kaip + + + + %1 Files (*.%2);;All Files (*) + %1 failai (*.%2);;Visi failai (*) + + + + Options + Parinktys + + + + s + sek. + + + + Screenshot Delay: + Ekrano kopijos delsa: + + + + Hide This Window + Slėpti šį langą + + + + New Screenshot + Nauja ekrano kopija + + + + Quit + Išeiti + + + + SearchBox + + + PID,COMMAND,USER... + PID,KOMANDA,NAUDOTOJAS... + + + + SliderDialog + + + Renice Process + Iš naujo nustatyti procesui "nice" reikšmę + + + + New nice value: + Nauja "nice" reikšmė: + + + + Cancel + Atsisakyti + + + + OK + Gerai + + + + Sockets + + + Fd + Fd + + + + File descriptor + Failo deskriptorius + + + + Proto + Protokolas + + + + Protocol (TCP or UDP) + Protokolas (TCP ar UDP) + + + + Recv-Q + Gavimo eilė + + + + Bytes in receive queue + Baitai gavimo eilėje + + + + Send-Q + Siuntimo eilė + + + + Bytes in send queue + Baitai siuntimo eilėje + + + + Local Addr + Vietinis adresas + + + + Local IP address + Vietinis IP adresas + + + + + Port + Prievadas + + + + Local port + Vietinis prievadas + + + + Remote Addr + Nuotolinis adresas + + + + Remote IP address + Nuotolinis IP adresas + + + + Remote port + Nuotolinis prievadas + + + + State + Būsena + + + + Connection state + Ryšio būsena + + + + StatusBar + + + Process count: %1 + Procesų skaičius: %1 + + + + TBloon + + + This is unstable Alpha feature + You maybe see a SEGFAULT... + Tai yra nestabili Alfa ypatybė + Galite pamatyti SEGFAULT... + + + + TFrame + + + this is Tframe widget + tai yra Tframe valdiklis + + + + UFrame + + + title + pavadinimas + + + + WatchdogDialog + + + if process start + jei procesas prasidėjo + + + + if process finish + jei procesas pasibaigė + + + + select condition + pasirinkite sąlygą + + + diff --git a/src/translations/qps_nb_NO.ts b/src/translations/qps_nb_NO.ts new file mode 100644 index 0000000..dec3328 --- /dev/null +++ b/src/translations/qps_nb_NO.ts @@ -0,0 +1,1772 @@ + + + + + AllFields + + + Field + + + + + Field name + + + + + Description + + + + + Field description + + + + + Value + + + + + Field value + + + + + Boxvar + + + Exit On Close Button + + + + + Host Name Lookup + + + + + Service Name Lookup + + + + + Disclosure Triangles + + + + + Branch Lines + + + + + Auto Save Settings on Exit + + + + + Selection: Copy PIDs to Clipboard + + + + + Normalize NICE + + + + + Use pmap for Map Names + + + + + Cbgroup + + + General + + + + + Command + + + The command: + + + + + + + + +failed with the error: + + + + + + + Too many processes + + + + + Unknown error + + + + + + +could not be executed because it was not found, +or you did not have execute permission. + + + + + + +exited with status + + + + + Command Failed + + + + + CommandDialog + + + Edit Commands 0.1 alpha + + + + + Name: + + + + + Popup + + + + + Command Line: + + + + + Substitutions: +%p PID +%c COMMAND +%C CMDLINE +%u USER +%% % + + + + + + + New... + + + + + + Add... + + + + + Delete + + + + + Close + + + + + ControlBar + + + Linear + + + + + Tree + + + + + All Processes + + + + + Your Processes + + + + + Non-Root Processes + + + + + Running Processes + + + + + Pause (Ctrl+Space) + + + + + Details + + + Process %1 ( %2 ) - details + + + + + Files + + + + + Sockets + + + + + Memory Maps + + + + + Environment + + + + + All Fields + + + + + Environ + + + Variable + + + + + Variable name + + + + + Value + + + + + Variable value + + + + + EventDialog + + + Watchdog 0.1 alpha + + + + + Eventcat + + + + + Select condition + + + + + labelDescrition + + + + + Enable + + + + + process name + + + + + cpu + + + + + % + + + + + include already running process + + + + + run command + + + + + show Message + + + + + Help (Not yet. just concept) + + + + + %p : pid +%c : command + + + + + New + + + + + Add + + + + + Delete + + + + + Close + + + + + ExecWindow + + + Qps + + + + + Ok + + + + + Qps Watchdog + + + + + %1 exit with code %2 + + + + + Close + + + + + %1 [running] + + + + + terminate command + + + + + Error %1 : [%2] Maybe command not found + + + + + FieldSelect + + + Select Custom Fields + + + + + Close + + + + + Files + + + Fd + + + + + File descriptor + + + + + Mode + + + + + Open mode + + + + + Name + + + + + File name (if available) + + + + + IntervalDialog + + + Change Update Period + + + + + New Update Period + + + + + Cancel + + + + + OK + + + + + No UPDATE + + + + + Invalid value + + + + + ListModel + + + Event Category + + + + + Enable + + + + + Maps + + + Address Range + + + + + Mapped addresses (hex) ) + + + + + Size + + + + + Kbytes mapped (dec) + + + + + Perm + + + + + Permission flags + + + + + Offset + + + + + File offset at start of mapping (hex) + + + + + Device + + + + + Major,Minor device numbers (dec) + + + + + Inode + + + + + Inode number (dec) + + + + + File + + + + + File name (if available) + + + + + PermissionDialog + + + Permission + + + + + Root password + + + + + Cancel + + + + + OK + + + + + Preferences + + + Preferences + + + + + Setting + + + + + %CPU divided by + + + + + Total cpu: %1 + + + + + Single cpu: 1 + + + + + default + + + + + for developer + + + + + Appearance + + + + + Proc + + + PID + + + + + Process ID + + + + + TGID + + + + + Task group ID ( parent of threads ) + + + + + PPID + + + + + Parent process ID + + + + + PGID + + + + + Process group ID + + + + + SID + + + + + Session ID + + + + + TTY + + + + + Terminal + + + + + TPGID + + + + + Process group ID of tty owner + + + + + USER + + + + + Owner (*=suid root, +=suid a user) + + + + + GROUP + + + + + Group name (*=sgid other) + + + + + UID + + + + + Real user ID + + + + + EUID + + + + + Effective user ID + + + + + SUID + + + + + Saved user ID (Posix) + + + + + FSUID + + + + + File system user ID + + + + + GID + + + + + Real group ID + + + + + EGID + + + + + Effective group ID + + + + + SGID + + + + + Saved group ID (Posix) + + + + + FSGID + + + + + File system group ID + + + + + PRI + + + + + Dynamic priority + + + + + NICE + + + + + Scheduling favour (higher -> less cpu time) + + + + + NLWP + + + + + Number of tasks(threads) in task group + + + + + PLCY + + + + + Scheduling policy + + + + + RPRI + + + + + Realtime priority (0-99, more is better) + + + + + TMS + + + + + Time slice in milliseconds + + + + + %SAVG + + + + + Percentage average sleep time (-1 -> N/A) + + + + + CPUSET + + + + + Affinity CPU mask (0 -> API not supported) + + + + + MAJFLT + + + + + Number of major faults (disk access) + + + + + MINFLT + + + + + Number of minor faults (no disk access) + + + + + VSIZE + + + + + Virtual image size of process + + + + + RSS + + + + + Resident set size + + + + + MEM + + + + + memory usage (RSS-SHARE) + + + + + TRS + + + + + Text(code) resident set size + + + + + DRS + + + + + Data resident set size(malloc+global variable) + + + + + STACK + + + + + Stack size + + + + + SHARE + + + + + Shared memory with other libs + + + + + SWAP + + + + + Kbytes on swap device + + + + + IO_R + + + + + io read (file) + + + + + IO_W + + + + + io write (file) + + + + + DT + + + + + Number of dirty (non-written) pages + + + + + STAT + + + + + State of the process + + + + + FLAGS + + + + + Process flags (hex) + + + + + WCHAN + + + + + Kernel function where process is sleeping + + + + + %WCPU + + + + + Weighted percentage of CPU (30 s average) + + + + + %CPU + + + + + Percentage of CPU used since last update + + + + + %MEM + + + + + Percentage of memory used (RSS/total mem) + + + + + START + + + + + Time process started + + + + + TIME + + + + + Total CPU time used since start + + + + + CPU + + + + + CPU the process is executing on (SMP system) + + + + + the process name + + + + + Process Name + + + + + CWD + + + + + Current working directory + + + + + ROOT + + + + + Root directory of process + + + + + COMMAND_LINE + + + + + Command line that started the process + + + + + QObject + + + Show + + + + + Hide + + + + + ScreenShot + + + + + Quit + + + + + Qps + + + header_popup + + + + + Remove Field + + + + + Add Field + + + + + Command + + + + + View + + + + + Process + + + + + Log + + + + + Custom Fields + + + + + Basic Fields + + + + + Jobs Fields + + + + + Memory Fields + + + + + Scheduling Fields + + + + + Select Custom Fields... + + + + + Option + + + + + Update Period... + + + + + Show Status bar + + + + + Preferences... + + + + + Help + + + + + + About + + + + + Detail + + + + + test + + + + + Copied to Clipboard + + + + + context popup + + + + + Renice... + + + + + Scheduling... + + + + + Terminate + + + + + Hangup + + + + + Kill + + + + + Stop + + + + + Continue + + + + + SIGINT (interrupt) + + + + + SIGCONT (continue) + + + + + SIGSTOP (stop) + + + + + SIGQUIT (quit) + + + + + SIGILL (illegal instruction) + + + + + SIGABRT (abort) + + + + + SIGFPE (floating point exception) + + + + + SIGSEGV (segmentation violation) + + + + + SIGPIPE (broken pipe) + + + + + SIGALRM (timer signal) + + + + + SIGUSR1 (user-defined 1) + + + + + SIGUSR2 (user-defined 2) + + + + + SIGCHLD (child death) + + + + + SIGTSTP (stop from tty) + + + + + SIGTTIN (tty input) + + + + + SIGTTOU (tty output) + + + + + View Details + + + + + WatchDog + + + + + Edit Commands... + + + + + Quit + + + + + + + + + + Permission denied + + + + + You do not have permission to renice the selected processes. Only the process owner and the super-user are allowed to do that. + + + + + You do not have permission to renice process %1 (%2).Only the process owner and the super-user are allowed to do that. + + + + + Only the super-user may lower the nice value of a process. + + + + + Only the super-user may change the scheduling policy and static priority. + + + + + You do not have permission to change the scheduling and/or priority of process %1 (%2). Only the super-user may do that. + + + + + You do not have permission to send a signal to process %1 (%2). Only the super-user and the owner of the process may send signals to it. + + + + + <h2> Qps %1 - A Visual Process Manager </h2> %2 using Qt library %3<br><br><b>Source: </b><a href="https://github.com/lxqt/qps">https://github.com/lxqt/qps/</a><br><b>Bugtracker: </b><a href="https://github.com/lxqt/qps/issues">https://github.com/lxqt/qps/issues</a> + + + + + <b>Original Qps by</b><br>Mattias Engdegård (f91-men@nada.kth.se)<br><br><b>Contributors</b><br>Olivier.Daudel@u-paris10.fr<br>jsanchez@todounix.homeip.net <br>daehyun.yang@gmail.com <br>Luís Pereira (luis.artur.pereira@gmail.com)<br>Alf Gaida (agaida@siduction.org)<br>Paulo Lieuthier (paulolieuthier@gmail.com)<br>Jerome Leclanche (jerome@leclan.ch)<br> + + + + + <H1>QPS Help</H1>Updated: May 24 2005<BR><A HREF="http://kldp.net/projects/qps">http://kldp.net/projects/qps</A><HR><table style="text-align: center; width: 100%;" border="1" cellpadding="1" cellspacing="0"> <tbody> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Quit </td> <td >&nbsp; CTRL + q , CTRL + x </td> </tr> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Update </td> <td>&nbsp;Space , Enter </td> </tr> <tr><td> process Terminate </td> <td> ALT + T , DELETE </td> </tr> <tr><td> process Kill </td> <td> ALT + K </td> </tr> </tbody></table> + + + + + SchedDialog + + + Change scheduling + + + + + Scheduling Policy + + + + + SCHED_OTHER (time-sharing) + + + + + SCHED_FIFO (real-time) + + + + + SCHED_RR (real-time) + + + + + OK + + + + + Cancel + + + + + Priority (1-99): + + + + + Invalid Input + + + + + The priority must be in the range 1..99 + + + + + Screenshot + + + /untitled. + + + + + Save As + + + + + %1 Files (*.%2);;All Files (*) + + + + + Options + + + + + s + + + + + Screenshot Delay: + + + + + Hide This Window + + + + + New Screenshot + + + + + Quit + + + + + SearchBox + + + PID,COMMAND,USER... + + + + + SliderDialog + + + Renice Process + + + + + New nice value: + + + + + Cancel + + + + + OK + + + + + Sockets + + + Fd + + + + + File descriptor + + + + + Proto + + + + + Protocol (TCP or UDP) + + + + + Recv-Q + + + + + Bytes in receive queue + + + + + Send-Q + + + + + Bytes in send queue + + + + + Local Addr + + + + + Local IP address + + + + + + Port + + + + + Local port + + + + + Remote Addr + + + + + Remote IP address + + + + + Remote port + + + + + State + + + + + Connection state + + + + + StatusBar + + + Process count: %1 + + + + + TBloon + + + This is unstable Alpha feature + You maybe see a SEGFAULT... + + + + + TFrame + + + this is Tframe widget + + + + + UFrame + + + title + + + + + WatchdogDialog + + + if process start + + + + + if process finish + + + + + select condition + + + + diff --git a/src/translations/qps_pl.ts b/src/translations/qps_pl.ts index 904c8ae..1cf6289 100644 --- a/src/translations/qps_pl.ts +++ b/src/translations/qps_pl.ts @@ -1,14 +1,294 @@ - + + + AllFields + + + Field + + + + + Field name + + + + + Description + + + + + Field description + + + + + Value + + + + + Field value + + + + + Boxvar + + + Exit On Close Button + + + + + Host Name Lookup + + + + + Service Name Lookup + + + + + Disclosure Triangles + + + + + Branch Lines + + + + + Auto Save Settings on Exit + + + + + Selection: Copy PIDs to Clipboard + + + + + Normalize NICE + + + + + Use pmap for Map Names + + + + + Cbgroup + + + General + + + + + Command + + + The command: + + + + + + + + +failed with the error: + + + + + + + Too many processes + + + + + Unknown error + + + + + + +could not be executed because it was not found, +or you did not have execute permission. + + + + + + +exited with status + + + + + Command Failed + + + + + CommandDialog + + + Edit Commands 0.1 alpha + + + + + Name: + + + + + Popup + + + + + Command Line: + + + + + Substitutions: +%p PID +%c COMMAND +%C CMDLINE +%u USER +%% % + + + + + + + New... + + + + + + Add... + + + + + Delete + Usuń + + + + Close + Zamknij + + ControlBar - + + Linear + + + + + Tree + + + + + All Processes + + + + + Your Processes + + + + + Non-Root Processes + + + + + Running Processes + + + + Pause (Ctrl+Space) Pauzuj (Ctrl+Spacja) + + Details + + + Process %1 ( %2 ) - details + + + + + Files + + + + + Sockets + + + + + Memory Maps + + + + + Environment + + + + + All Fields + + + + + Environ + + + Variable + + + + + Variable name + + + + + Value + + + + + Variable value + + + EventDialog @@ -111,61 +391,1383 @@ Ok OK + + + Qps Watchdog + + + + + %1 exit with code %2 + + + + + Close + Zamknij + + + + %1 [running] + + + + + terminate command + + + + + Error %1 : [%2] Maybe command not found + + - Qps + FieldSelect - - Detail - Szczegół + + Select Custom Fields + + + + + Close + Zamknij - Screenshot + Files - - /untitled. - /bez tytułu. + + Fd + - - Save As - Zapisz jako + + File descriptor + - - %1 Files (*.%2);;All Files (*) - %1 plików (*.%2);;Wszystkie pliki (*) + + Mode + - - Options - Opcje + + Open mode + - - s - sek + + Name + - - Screenshot Delay: - Opóźnienie wykonania zrzutu ekranu: + + File name (if available) + + + + IntervalDialog - - Hide This Window - Ukryj to okno + + Change Update Period + - - New Screenshot - Nowy zrzut ekranu + + New Update Period + - - Quit - Wyjdź + + Cancel + + + + + OK + + + + + No UPDATE + + + + + Invalid value + + + + + ListModel + + + Event Category + + + + + Enable + Włącz + + + + Maps + + + Address Range + + + + + Mapped addresses (hex) ) + + + + + Size + + + + + Kbytes mapped (dec) + + + + + Perm + + + + + Permission flags + + + + + Offset + + + + + File offset at start of mapping (hex) + + + + + Device + + + + + Major,Minor device numbers (dec) + + + + + Inode + + + + + Inode number (dec) + + + + + File + + + + + File name (if available) + + + + + PermissionDialog + + + Permission + + + + + Root password + + + + + Cancel + + + + + OK + + + + + Preferences + + + Preferences + + + + + Setting + + + + + %CPU divided by + + + + + Total cpu: %1 + + + + + Single cpu: 1 + + + + + default + + + + + for developer + + + + + Appearance + + + + + Proc + + + PID + + + + + Process ID + + + + + TGID + + + + + Task group ID ( parent of threads ) + + + + + PPID + + + + + Parent process ID + + + + + PGID + + + + + Process group ID + + + + + SID + + + + + Session ID + + + + + TTY + + + + + Terminal + + + + + TPGID + + + + + Process group ID of tty owner + + + + + USER + + + + + Owner (*=suid root, +=suid a user) + + + + + GROUP + + + + + Group name (*=sgid other) + + + + + UID + + + + + Real user ID + + + + + EUID + + + + + Effective user ID + + + + + SUID + + + + + Saved user ID (Posix) + + + + + FSUID + + + + + File system user ID + + + + + GID + + + + + Real group ID + + + + + EGID + + + + + Effective group ID + + + + + SGID + + + + + Saved group ID (Posix) + + + + + FSGID + + + + + File system group ID + + + + + PRI + + + + + Dynamic priority + + + + + NICE + + + + + Scheduling favour (higher -> less cpu time) + + + + + NLWP + + + + + Number of tasks(threads) in task group + + + + + PLCY + + + + + Scheduling policy + + + + + RPRI + + + + + Realtime priority (0-99, more is better) + + + + + TMS + + + + + Time slice in milliseconds + + + + + %SAVG + + + + + Percentage average sleep time (-1 -> N/A) + + + + + CPUSET + + + + + Affinity CPU mask (0 -> API not supported) + + + + + MAJFLT + + + + + Number of major faults (disk access) + + + + + MINFLT + + + + + Number of minor faults (no disk access) + + + + + VSIZE + + + + + Virtual image size of process + + + + + RSS + + + + + Resident set size + + + + + MEM + + + + + memory usage (RSS-SHARE) + + + + + TRS + + + + + Text(code) resident set size + + + + + DRS + + + + + Data resident set size(malloc+global variable) + + + + + STACK + + + + + Stack size + + + + + SHARE + + + + + Shared memory with other libs + + + + + SWAP + + + + + Kbytes on swap device + + + + + IO_R + + + + + io read (file) + + + + + IO_W + + + + + io write (file) + + + + + DT + + + + + Number of dirty (non-written) pages + + + + + STAT + + + + + State of the process + + + + + FLAGS + + + + + Process flags (hex) + + + + + WCHAN + + + + + Kernel function where process is sleeping + + + + + %WCPU + + + + + Weighted percentage of CPU (30 s average) + + + + + %CPU + + + + + Percentage of CPU used since last update + + + + + %MEM + + + + + Percentage of memory used (RSS/total mem) + + + + + START + + + + + Time process started + + + + + TIME + + + + + Total CPU time used since start + + + + + CPU + + + + + CPU the process is executing on (SMP system) + + + + + the process name + + + + + Process Name + + + + + CWD + + + + + Current working directory + + + + + ROOT + + + + + Root directory of process + + + + + COMMAND_LINE + + + + + Command line that started the process + + + + + QObject + + + Show + + + + + Hide + + + + + ScreenShot + + + + + Quit + Wyjdź + + + + Qps + + + header_popup + + + + + Remove Field + + + + + Add Field + + + + + Command + + + + + View + + + + + Process + + + + + Log + + + + + Custom Fields + + + + + Basic Fields + + + + + Jobs Fields + + + + + Memory Fields + + + + + Scheduling Fields + + + + + Select Custom Fields... + + + + + Option + + + + + Update Period... + + + + + Show Status bar + + + + + Preferences... + + + + + Help + + + + + + About + + + + + Detail + Szczegół + + + + test + + + + + Copied to Clipboard + + + + + context popup + + + + + Renice... + + + + + Scheduling... + + + + + Terminate + + + + + Hangup + + + + + Kill + + + + + Stop + + + + + Continue + + + + + SIGINT (interrupt) + + + + + SIGCONT (continue) + + + + + SIGSTOP (stop) + + + + + SIGQUIT (quit) + + + + + SIGILL (illegal instruction) + + + + + SIGABRT (abort) + + + + + SIGFPE (floating point exception) + + + + + SIGSEGV (segmentation violation) + + + + + SIGPIPE (broken pipe) + + + + + SIGALRM (timer signal) + + + + + SIGUSR1 (user-defined 1) + + + + + SIGUSR2 (user-defined 2) + + + + + SIGCHLD (child death) + + + + + SIGTSTP (stop from tty) + + + + + SIGTTIN (tty input) + + + + + SIGTTOU (tty output) + + + + + View Details + + + + + WatchDog + + + + + Edit Commands... + + + + + Quit + Wyjdź + + + + + + + + + Permission denied + + + + + You do not have permission to renice the selected processes. Only the process owner and the super-user are allowed to do that. + + + + + You do not have permission to renice process %1 (%2).Only the process owner and the super-user are allowed to do that. + + + + + Only the super-user may lower the nice value of a process. + + + + + Only the super-user may change the scheduling policy and static priority. + + + + + You do not have permission to change the scheduling and/or priority of process %1 (%2). Only the super-user may do that. + + + + + You do not have permission to send a signal to process %1 (%2). Only the super-user and the owner of the process may send signals to it. + + + + + <h2> Qps %1 - A Visual Process Manager </h2> %2 using Qt library %3<br><br><b>Source: </b><a href="https://github.com/lxqt/qps">https://github.com/lxqt/qps/</a><br><b>Bugtracker: </b><a href="https://github.com/lxqt/qps/issues">https://github.com/lxqt/qps/issues</a> + + + + + <b>Original Qps by</b><br>Mattias Engdegård (f91-men@nada.kth.se)<br><br><b>Contributors</b><br>Olivier.Daudel@u-paris10.fr<br>jsanchez@todounix.homeip.net <br>daehyun.yang@gmail.com <br>Luís Pereira (luis.artur.pereira@gmail.com)<br>Alf Gaida (agaida@siduction.org)<br>Paulo Lieuthier (paulolieuthier@gmail.com)<br>Jerome Leclanche (jerome@leclan.ch)<br> + + + + + <H1>QPS Help</H1>Updated: May 24 2005<BR><A HREF="http://kldp.net/projects/qps">http://kldp.net/projects/qps</A><HR><table style="text-align: center; width: 100%;" border="1" cellpadding="1" cellspacing="0"> <tbody> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Quit </td> <td >&nbsp; CTRL + q , CTRL + x </td> </tr> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Update </td> <td>&nbsp;Space , Enter </td> </tr> <tr><td> process Terminate </td> <td> ALT + T , DELETE </td> </tr> <tr><td> process Kill </td> <td> ALT + K </td> </tr> </tbody></table> + + + + + SchedDialog + + + Change scheduling + + + + + Scheduling Policy + + + + + SCHED_OTHER (time-sharing) + + + + + SCHED_FIFO (real-time) + + + + + SCHED_RR (real-time) + + + + + OK + + + + + Cancel + + + + + Priority (1-99): + + + + + Invalid Input + + + + + The priority must be in the range 1..99 + + + + + Screenshot + + + /untitled. + /bez tytułu. + + + + Save As + Zapisz jako + + + + %1 Files (*.%2);;All Files (*) + %1 plików (*.%2);;Wszystkie pliki (*) + + + + Options + Opcje + + + + s + sek + + + + Screenshot Delay: + Opóźnienie wykonania zrzutu ekranu: + + + + Hide This Window + Ukryj to okno + + + + New Screenshot + Nowy zrzut ekranu + + + + Quit + Wyjdź + + + + SearchBox + + + PID,COMMAND,USER... + + + + + SliderDialog + + + Renice Process + + + + + New nice value: + + + + + Cancel + + + + + OK + + + + + Sockets + + + Fd + + + + + File descriptor + + + + + Proto + + + + + Protocol (TCP or UDP) + + + + + Recv-Q + + + + + Bytes in receive queue + + + + + Send-Q + + + + + Bytes in send queue + + + + + Local Addr + + + + + Local IP address + + + + + + Port + + + + + Local port + + + + + Remote Addr + + + + + Remote IP address + + + + + Remote port + + + + + State + + + + + Connection state + + + + + StatusBar + + + Process count: %1 + + + + + TBloon + + + This is unstable Alpha feature + You maybe see a SEGFAULT... + + + + + TFrame + + + this is Tframe widget + + + + + UFrame + + + title + + + + + WatchdogDialog + + + if process start + + + + + if process finish + + + + + select condition + diff --git a/src/translations/qps_pt.ts b/src/translations/qps_pt.ts new file mode 100644 index 0000000..d5a6f45 --- /dev/null +++ b/src/translations/qps_pt.ts @@ -0,0 +1,1778 @@ + + + + + AllFields + + + Field + Campo + + + + Field name + Nome do campo + + + + Description + Descrição + + + + Field description + Descrição do campo + + + + Value + Valor + + + + Field value + Valor do campo + + + + Boxvar + + + Exit On Close Button + Saída no botão fechar + + + + Host Name Lookup + + + + + Service Name Lookup + + + + + Disclosure Triangles + + + + + Branch Lines + + + + + Auto Save Settings on Exit + + + + + Selection: Copy PIDs to Clipboard + Seleção: Copiar PID(s) para a área de transferência + + + + Normalize NICE + Normalizar NICE + + + + Use pmap for Map Names + Usar pmap para nomes de mapas + + + + Cbgroup + + + General + Geral + + + + Command + + + The command: + + + O comando: + + + + + + + +failed with the error: + + + + +falhou com o erro: + + + + + + Too many processes + Demasiados processos + + + + Unknown error + Erro desconhecido + + + + + +could not be executed because it was not found, +or you did not have execute permission. + + + + + + +exited with status + + + + + Command Failed + + + + + CommandDialog + + + Edit Commands 0.1 alpha + + + + + Name: + + + + + Popup + + + + + Command Line: + + + + + Substitutions: +%p PID +%c COMMAND +%C CMDLINE +%u USER +%% % + + + + + + + New... + + + + + + Add... + + + + + Delete + + + + + Close + + + + + ControlBar + + + Linear + + + + + Tree + + + + + All Processes + + + + + Your Processes + + + + + Non-Root Processes + + + + + Running Processes + + + + + Pause (Ctrl+Space) + + + + + Details + + + Process %1 ( %2 ) - details + + + + + Files + + + + + Sockets + + + + + Memory Maps + + + + + Environment + + + + + All Fields + + + + + Environ + + + Variable + + + + + Variable name + + + + + Value + + + + + Variable value + + + + + EventDialog + + + Watchdog 0.1 alpha + + + + + Eventcat + + + + + Select condition + + + + + labelDescrition + + + + + Enable + + + + + process name + + + + + cpu + + + + + % + + + + + include already running process + + + + + run command + + + + + show Message + + + + + Help (Not yet. just concept) + + + + + %p : pid +%c : command + + + + + New + + + + + Add + + + + + Delete + + + + + Close + + + + + ExecWindow + + + Qps + + + + + Ok + + + + + Qps Watchdog + + + + + %1 exit with code %2 + + + + + Close + + + + + %1 [running] + + + + + terminate command + + + + + Error %1 : [%2] Maybe command not found + + + + + FieldSelect + + + Select Custom Fields + + + + + Close + + + + + Files + + + Fd + + + + + File descriptor + + + + + Mode + + + + + Open mode + + + + + Name + + + + + File name (if available) + + + + + IntervalDialog + + + Change Update Period + + + + + New Update Period + + + + + Cancel + + + + + OK + + + + + No UPDATE + + + + + Invalid value + + + + + ListModel + + + Event Category + + + + + Enable + + + + + Maps + + + Address Range + + + + + Mapped addresses (hex) ) + + + + + Size + + + + + Kbytes mapped (dec) + + + + + Perm + + + + + Permission flags + + + + + Offset + + + + + File offset at start of mapping (hex) + + + + + Device + + + + + Major,Minor device numbers (dec) + + + + + Inode + + + + + Inode number (dec) + + + + + File + + + + + File name (if available) + + + + + PermissionDialog + + + Permission + + + + + Root password + + + + + Cancel + + + + + OK + + + + + Preferences + + + Preferences + + + + + Setting + + + + + %CPU divided by + + + + + Total cpu: %1 + + + + + Single cpu: 1 + + + + + default + + + + + for developer + + + + + Appearance + + + + + Proc + + + PID + + + + + Process ID + + + + + TGID + + + + + Task group ID ( parent of threads ) + + + + + PPID + + + + + Parent process ID + + + + + PGID + + + + + Process group ID + + + + + SID + + + + + Session ID + + + + + TTY + + + + + Terminal + + + + + TPGID + + + + + Process group ID of tty owner + + + + + USER + + + + + Owner (*=suid root, +=suid a user) + + + + + GROUP + + + + + Group name (*=sgid other) + + + + + UID + + + + + Real user ID + + + + + EUID + + + + + Effective user ID + + + + + SUID + + + + + Saved user ID (Posix) + + + + + FSUID + + + + + File system user ID + + + + + GID + + + + + Real group ID + + + + + EGID + + + + + Effective group ID + + + + + SGID + + + + + Saved group ID (Posix) + + + + + FSGID + + + + + File system group ID + + + + + PRI + + + + + Dynamic priority + + + + + NICE + + + + + Scheduling favour (higher -> less cpu time) + + + + + NLWP + + + + + Number of tasks(threads) in task group + + + + + PLCY + + + + + Scheduling policy + + + + + RPRI + + + + + Realtime priority (0-99, more is better) + + + + + TMS + + + + + Time slice in milliseconds + + + + + %SAVG + + + + + Percentage average sleep time (-1 -> N/A) + + + + + CPUSET + + + + + Affinity CPU mask (0 -> API not supported) + + + + + MAJFLT + + + + + Number of major faults (disk access) + + + + + MINFLT + + + + + Number of minor faults (no disk access) + + + + + VSIZE + + + + + Virtual image size of process + + + + + RSS + + + + + Resident set size + + + + + MEM + + + + + memory usage (RSS-SHARE) + + + + + TRS + + + + + Text(code) resident set size + + + + + DRS + + + + + Data resident set size(malloc+global variable) + + + + + STACK + + + + + Stack size + + + + + SHARE + + + + + Shared memory with other libs + + + + + SWAP + + + + + Kbytes on swap device + + + + + IO_R + + + + + io read (file) + + + + + IO_W + + + + + io write (file) + + + + + DT + + + + + Number of dirty (non-written) pages + + + + + STAT + + + + + State of the process + + + + + FLAGS + + + + + Process flags (hex) + + + + + WCHAN + + + + + Kernel function where process is sleeping + + + + + %WCPU + + + + + Weighted percentage of CPU (30 s average) + + + + + %CPU + + + + + Percentage of CPU used since last update + + + + + %MEM + + + + + Percentage of memory used (RSS/total mem) + + + + + START + + + + + Time process started + + + + + TIME + + + + + Total CPU time used since start + + + + + CPU + + + + + CPU the process is executing on (SMP system) + + + + + the process name + + + + + Process Name + + + + + CWD + + + + + Current working directory + + + + + ROOT + + + + + Root directory of process + + + + + COMMAND_LINE + + + + + Command line that started the process + + + + + QObject + + + Show + + + + + Hide + + + + + ScreenShot + + + + + Quit + + + + + Qps + + + header_popup + + + + + Remove Field + + + + + Add Field + + + + + Command + + + + + View + + + + + Process + + + + + Log + + + + + Custom Fields + + + + + Basic Fields + + + + + Jobs Fields + + + + + Memory Fields + + + + + Scheduling Fields + + + + + Select Custom Fields... + + + + + Option + + + + + Update Period... + + + + + Show Status bar + + + + + Preferences... + + + + + Help + + + + + + About + + + + + Detail + + + + + test + + + + + Copied to Clipboard + + + + + context popup + + + + + Renice... + + + + + Scheduling... + + + + + Terminate + + + + + Hangup + + + + + Kill + + + + + Stop + + + + + Continue + + + + + SIGINT (interrupt) + + + + + SIGCONT (continue) + + + + + SIGSTOP (stop) + + + + + SIGQUIT (quit) + + + + + SIGILL (illegal instruction) + + + + + SIGABRT (abort) + + + + + SIGFPE (floating point exception) + + + + + SIGSEGV (segmentation violation) + + + + + SIGPIPE (broken pipe) + + + + + SIGALRM (timer signal) + + + + + SIGUSR1 (user-defined 1) + + + + + SIGUSR2 (user-defined 2) + + + + + SIGCHLD (child death) + + + + + SIGTSTP (stop from tty) + + + + + SIGTTIN (tty input) + + + + + SIGTTOU (tty output) + + + + + View Details + + + + + WatchDog + + + + + Edit Commands... + + + + + Quit + + + + + + + + + + Permission denied + + + + + You do not have permission to renice the selected processes. Only the process owner and the super-user are allowed to do that. + + + + + You do not have permission to renice process %1 (%2).Only the process owner and the super-user are allowed to do that. + + + + + Only the super-user may lower the nice value of a process. + + + + + Only the super-user may change the scheduling policy and static priority. + + + + + You do not have permission to change the scheduling and/or priority of process %1 (%2). Only the super-user may do that. + + + + + You do not have permission to send a signal to process %1 (%2). Only the super-user and the owner of the process may send signals to it. + + + + + <h2> Qps %1 - A Visual Process Manager </h2> %2 using Qt library %3<br><br><b>Source: </b><a href="https://github.com/lxqt/qps">https://github.com/lxqt/qps/</a><br><b>Bugtracker: </b><a href="https://github.com/lxqt/qps/issues">https://github.com/lxqt/qps/issues</a> + + + + + <b>Original Qps by</b><br>Mattias Engdegård (f91-men@nada.kth.se)<br><br><b>Contributors</b><br>Olivier.Daudel@u-paris10.fr<br>jsanchez@todounix.homeip.net <br>daehyun.yang@gmail.com <br>Luís Pereira (luis.artur.pereira@gmail.com)<br>Alf Gaida (agaida@siduction.org)<br>Paulo Lieuthier (paulolieuthier@gmail.com)<br>Jerome Leclanche (jerome@leclan.ch)<br> + + + + + <H1>QPS Help</H1>Updated: May 24 2005<BR><A HREF="http://kldp.net/projects/qps">http://kldp.net/projects/qps</A><HR><table style="text-align: center; width: 100%;" border="1" cellpadding="1" cellspacing="0"> <tbody> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Quit </td> <td >&nbsp; CTRL + q , CTRL + x </td> </tr> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Update </td> <td>&nbsp;Space , Enter </td> </tr> <tr><td> process Terminate </td> <td> ALT + T , DELETE </td> </tr> <tr><td> process Kill </td> <td> ALT + K </td> </tr> </tbody></table> + + + + + SchedDialog + + + Change scheduling + + + + + Scheduling Policy + + + + + SCHED_OTHER (time-sharing) + + + + + SCHED_FIFO (real-time) + + + + + SCHED_RR (real-time) + + + + + OK + + + + + Cancel + + + + + Priority (1-99): + + + + + Invalid Input + + + + + The priority must be in the range 1..99 + + + + + Screenshot + + + /untitled. + + + + + Save As + + + + + %1 Files (*.%2);;All Files (*) + + + + + Options + + + + + s + + + + + Screenshot Delay: + + + + + Hide This Window + + + + + New Screenshot + + + + + Quit + + + + + SearchBox + + + PID,COMMAND,USER... + + + + + SliderDialog + + + Renice Process + + + + + New nice value: + + + + + Cancel + + + + + OK + + + + + Sockets + + + Fd + + + + + File descriptor + + + + + Proto + + + + + Protocol (TCP or UDP) + + + + + Recv-Q + + + + + Bytes in receive queue + + + + + Send-Q + + + + + Bytes in send queue + + + + + Local Addr + + + + + Local IP address + + + + + + Port + + + + + Local port + + + + + Remote Addr + + + + + Remote IP address + + + + + Remote port + + + + + State + + + + + Connection state + + + + + StatusBar + + + Process count: %1 + + + + + TBloon + + + This is unstable Alpha feature + You maybe see a SEGFAULT... + + + + + TFrame + + + this is Tframe widget + + + + + UFrame + + + title + + + + + WatchdogDialog + + + if process start + + + + + if process finish + + + + + select condition + + + + diff --git a/src/translations/qps_ru.ts b/src/translations/qps_ru.ts new file mode 100644 index 0000000..e80bbb3 --- /dev/null +++ b/src/translations/qps_ru.ts @@ -0,0 +1,1792 @@ + + + + + AllFields + + + Field + Поле + + + + Field name + Имя поля + + + + Description + Описание + + + + Field description + Описание поля + + + + Value + Значение + + + + Field value + Значение поля + + + + Boxvar + + + Exit On Close Button + Выход при закрытии + + + + Host Name Lookup + Определение имен компьютеров + + + + Service Name Lookup + Определение имен служб + + + + Disclosure Triangles + + + + + Branch Lines + + + + + Auto Save Settings on Exit + Сохранять настройки при выходе + + + + Selection: Copy PIDs to Clipboard + Выделение: копировать PID'ы в Буфер обмена + + + + Normalize NICE + Нормализовать NICE + + + + Use pmap for Map Names + Использовать pmap для имен карт памяти + + + + Cbgroup + + + General + Общие + + + + Command + + + The command: + + + Команда: + + + + + + + +failed with the error: + + + + +завершилась с ошибкой: + + + + + + Too many processes + Слишком много процессов + + + + Unknown error + Неизвестная ошибка + + + + + +could not be executed because it was not found, +or you did not have execute permission. + + +не была выполнена, поскольку она не была найдена, +или у вас нет разрешения на ее исполнение. + + + + + +exited with status + + +завершилась с кодом возврата + + + + Command Failed + Не удалось выполнить команду + + + + CommandDialog + + + Edit Commands 0.1 alpha + Правка команд 0.1 альфа + + + + Name: + Имя: + + + + Popup + + + + + Command Line: + Командная строка: + + + + Substitutions: +%p PID +%c COMMAND +%C CMDLINE +%u USER +%% % + + + Доступные замены: +%p PID +%c COMMAND +%C CMDLINE +%u USER +%% % + + + + + + New... + Создать... + + + + + Add... + Добавить... + + + + Delete + Удалить + + + + Close + Закрыть + + + + ControlBar + + + Linear + Линейный + + + + Tree + Иерархический + + + + All Processes + Все процессы + + + + Your Processes + Ваши процессы + + + + Non-Root Processes + Пользовательские процессы + + + + Running Processes + Выполняющиеся процессы + + + + Pause (Ctrl+Space) + Пауза (Ctrl+пробел) + + + + Details + + + Process %1 ( %2 ) - details + Процесс %1 ( %2 ) - подробности + + + + Files + Файлы + + + + Sockets + Сокеты + + + + Memory Maps + Карта памяти + + + + Environment + Окружение + + + + All Fields + Все поля + + + + Environ + + + Variable + Переменная + + + + Variable name + Имя переменной окружения + + + + Value + Значение + + + + Variable value + Значение переменной + + + + EventDialog + + + Watchdog 0.1 alpha + Сторожевой таймер 0.1 альфа + + + + Eventcat + + + + + Select condition + Выбор условия + + + + labelDescrition + + + + + Enable + Включить + + + + process name + имя процесса + + + + cpu + цп + + + + % + + + + + include already running process + включая уже запущенные процессы + + + + run command + выполнить команду + + + + show Message + вывести сообщение + + + + Help (Not yet. just concept) + Справка (еще не реализовано) + + + + %p : pid +%c : command + %p : pid +%c : команда + + + + New + Создать + + + + Add + Добавить + + + + Delete + Удалить + + + + Close + Закрыть + + + + ExecWindow + + + Qps + + + + + Ok + ОК + + + + Qps Watchdog + Сторожевой таймер Qps + + + + %1 exit with code %2 + %1 завершился с кодом %2 + + + + Close + Закрыть + + + + %1 [running] + %1 [выполняется] + + + + terminate command + Завершить команду + + + + Error %1 : [%2] Maybe command not found + Ошибка %1 : [%2] Возможно, команда не найдена + + + + FieldSelect + + + Select Custom Fields + Выбор полей пользователя + + + + Close + Закрыть + + + + Files + + + Fd + + + + + File descriptor + Дескриптор файла + + + + Mode + Режим + + + + Open mode + Режим открытия + + + + Name + Имя + + + + File name (if available) + Имя файла (если доступно) + + + + IntervalDialog + + + Change Update Period + Изменить период обновления + + + + New Update Period + Новый период обновления + + + + Cancel + Отмена + + + + OK + ОК + + + + No UPDATE + + + + + Invalid value + Неверное значение + + + + ListModel + + + Event Category + Категория события + + + + Enable + Включить + + + + Maps + + + Address Range + Диапазон адресов + + + + Mapped addresses (hex) ) + Отображенные адреса (шестн.) + + + + Size + Размер + + + + Kbytes mapped (dec) + Кбайт в отображении (десят.) + + + + Perm + Разр. + + + + Permission flags + Флаги разрешений + + + + Offset + Смещение + + + + File offset at start of mapping (hex) + Смещение в файле до начала отображения (шестн.) + + + + Device + Устр-во + + + + Major,Minor device numbers (dec) + Верхнее и нижнее число устройства (десят.) + + + + Inode + + + + + Inode number (dec) + Номер Inode (десят.) + + + + File + Файл + + + + File name (if available) + Имя файла (если доступно) + + + + PermissionDialog + + + Permission + Разрешения + + + + Root password + Пароль суперпользователя + + + + Cancel + Отмена + + + + OK + + + + + Preferences + + + Preferences + Настройки + + + + Setting + Параметр + + + + %CPU divided by + Делить %ЦП на + + + + Total cpu: %1 + Число ЦП: %1 + + + + Single cpu: 1 + Один ЦП: 1 + + + + default + + + + + for developer + для разработчика + + + + Appearance + Внешний вид + + + + Proc + + + PID + + + + + Process ID + ID процесса + + + + TGID + + + + + Task group ID ( parent of threads ) + ID группы задач (родителя потоков) + + + + PPID + + + + + Parent process ID + ID родительского процесса + + + + PGID + + + + + Process group ID + ID группы процессов + + + + SID + + + + + Session ID + ID сеанса + + + + TTY + + + + + Terminal + Терминал + + + + TPGID + + + + + Process group ID of tty owner + ID группы процесса владельца терминала + + + + USER + + + + + Owner (*=suid root, +=suid a user) + Пользователь (*=suid root, +=suid пользоват.) + + + + GROUP + + + + + Group name (*=sgid other) + Имя группы (*=sgid other) + + + + UID + + + + + Real user ID + Настоящий ID пользователя + + + + EUID + + + + + Effective user ID + Эффективный ID пользователя + + + + SUID + + + + + Saved user ID (Posix) + Сохраненный ID пользователя (Posix) + + + + FSUID + + + + + File system user ID + ID пользователя файл. сист. + + + + GID + + + + + Real group ID + Настоящий ID группы + + + + EGID + + + + + Effective group ID + Эффективный ID группы + + + + SGID + + + + + Saved group ID (Posix) + Сохраненный ID группы (Posix) + + + + FSGID + + + + + File system group ID + ID группы файл. сист. + + + + PRI + + + + + Dynamic priority + Динамический приоритет + + + + NICE + + + + + Scheduling favour (higher -> less cpu time) + Предпочтение планировщика (выше -> меньше времени ЦП) + + + + NLWP + + + + + Number of tasks(threads) in task group + Число задач (потоков) в группе задач + + + + PLCY + + + + + Scheduling policy + Политика планировщика + + + + RPRI + + + + + Realtime priority (0-99, more is better) + Приоритет реального времени (0-99, чем больше тем лучше) + + + + TMS + + + + + Time slice in milliseconds + + + + + %SAVG + + + + + Percentage average sleep time (-1 -> N/A) + Среднее время сна в процентах (-1 -> недоступно) + + + + CPUSET + + + + + Affinity CPU mask (0 -> API not supported) + Маска привязки ЦП (0 -> API не поддерживается) + + + + MAJFLT + + + + + Number of major faults (disk access) + + + + + MINFLT + + + + + Number of minor faults (no disk access) + + + + + VSIZE + + + + + Virtual image size of process + Размер виртуального образа + + + + RSS + + + + + Resident set size + Размер резидентного набора + + + + MEM + + + + + memory usage (RSS-SHARE) + Использование памяти (RSS-SHARE) + + + + TRS + + + + + Text(code) resident set size + Размер резидентного набора текста(кода) + + + + DRS + + + + + Data resident set size(malloc+global variable) + Размер резидентного набора данных (malloc+глоб. перем.) + + + + STACK + + + + + Stack size + Размер стека + + + + SHARE + + + + + Shared memory with other libs + Память, разделенная с другими библиотеками + + + + SWAP + + + + + Kbytes on swap device + Kбайт на устройстве подкачки + + + + IO_R + + + + + io read (file) + Прочитано ввода (файлы) + + + + IO_W + + + + + io write (file) + Записано вывода (файлы) + + + + DT + + + + + Number of dirty (non-written) pages + Число «грязных» (незаписанных) страниц + + + + STAT + + + + + State of the process + Состояние процесса + + + + FLAGS + + + + + Process flags (hex) + Флаги процесса (шестн.) + + + + WCHAN + + + + + Kernel function where process is sleeping + Функция ядра, в которой спит процесс + + + + %WCPU + + + + + Weighted percentage of CPU (30 s average) + Взвешенный процент ЦП (среднее за 30 с.) + + + + %CPU + + + + + Percentage of CPU used since last update + Процент ЦП с момента последнего обновления + + + + %MEM + + + + + Percentage of memory used (RSS/total mem) + Процент использования памяти (RSS/всего) + + + + START + + + + + Time process started + Время запуска процесса + + + + TIME + + + + + Total CPU time used since start + Общее время ЦП с момента запуска + + + + CPU + + + + + CPU the process is executing on (SMP system) + ЦП, на котором выполняется процесс (системы SMP) + + + + the process name + Имя процесса + + + + Process Name + Имя процесса + + + + CWD + + + + + Current working directory + Текущий рабочий каталог + + + + ROOT + + + + + Root directory of process + Корневой каталог процесса + + + + COMMAND_LINE + + + + + Command line that started the process + Командная строка процесса + + + + QObject + + + Show + Показать окно + + + + Hide + Скрыть окно + + + + ScreenShot + Снимок экрана + + + + Quit + Выход + + + + Qps + + + header_popup + + + + + Remove Field + Удалить поле + + + + Add Field + Добавить поле + + + + Command + Команда + + + + View + Вид + + + + Process + Процесс + + + + Log + Журнал + + + + Custom Fields + Поля пользователя + + + + Basic Fields + Основные поля + + + + Jobs Fields + Поля задач + + + + Memory Fields + Поля памяти + + + + Scheduling Fields + Поля планировщика + + + + Select Custom Fields... + Выбор полей... + + + + Option + Параметры + + + + Update Period... + Период обновления... + + + + Show Status bar + Строка состояния + + + + Preferences... + Настройки... + + + + Help + Справка + + + + + About + О программе + + + + Detail + Подробности + + + + test + + + + + Copied to Clipboard + Скопировано в Буфер обмена + + + + context popup + + + + + Renice... + Изменить nice... + + + + Scheduling... + Планирование... + + + + Terminate + Прервать + + + + Hangup + Обрыв линии + + + + Kill + Прервать (SIGKILL) + + + + Stop + Остановить + + + + Continue + Продолжить + + + + SIGINT (interrupt) + SIGINT (прерывание) + + + + SIGCONT (continue) + SIGCONT (продолжить) + + + + SIGSTOP (stop) + SIGSTOP (остановить) + + + + SIGQUIT (quit) + SIGQUIT (выйти) + + + + SIGILL (illegal instruction) + SIGILL (неверная инструкция) + + + + SIGABRT (abort) + SIGABRT (принудительное завершение) + + + + SIGFPE (floating point exception) + SIGFPE (исключение плавающей точки) + + + + SIGSEGV (segmentation violation) + SIGSEGV (ошибка сегментирования) + + + + SIGPIPE (broken pipe) + SIGPIPE (обрыв канала) + + + + SIGALRM (timer signal) + SIGALRM (сигнал таймера) + + + + SIGUSR1 (user-defined 1) + SIGUSR1 (пользовательский 1) + + + + SIGUSR2 (user-defined 2) + SIGUSR2 (пользовательский 2) + + + + SIGCHLD (child death) + SIGCHLD (завершился порожденный) + + + + SIGTSTP (stop from tty) + SIGTSTP (остановка с терминала) + + + + SIGTTIN (tty input) + SIGTTIN (ввод с терминала) + + + + SIGTTOU (tty output) + SIGTTOU (вывод на терминал) + + + + View Details + Просмотр подробностей + + + + WatchDog + Сторожевой таймер + + + + Edit Commands... + Правка команд... + + + + Quit + Выход + + + + + + + + + Permission denied + Отказ в доступе + + + + You do not have permission to renice the selected processes. Only the process owner and the super-user are allowed to do that. + У вас нет разрешения на изменение приоритета процессов. Только владелец процесса и суперпользователь может это сделать. + + + + You do not have permission to renice process %1 (%2).Only the process owner and the super-user are allowed to do that. + У вас нет разрешения на изменение приоритета процесса %1 (%2). Только владелец процесса и суперпользователь может это сделать. + + + + Only the super-user may lower the nice value of a process. + Только суперпользователь может понизить значение nice. + + + + Only the super-user may change the scheduling policy and static priority. + Только суперпользователь может изменить политику планировщика и статический приоритет. + + + + You do not have permission to change the scheduling and/or priority of process %1 (%2). Only the super-user may do that. + У вас нет разрешения на смену политики планировщика или приоритета процесса %1 (%2). Только суперпользователь может это сделать. + + + + You do not have permission to send a signal to process %1 (%2). Only the super-user and the owner of the process may send signals to it. + У вас нет разрешения на отправку сигнала процессу %1 (%2). Только владелец процесса и суперпользователь могут отправлять ему сигналы. + + + + <h2> Qps %1 - A Visual Process Manager </h2> %2 using Qt library %3<br><br><b>Source: </b><a href="https://github.com/lxqt/qps">https://github.com/lxqt/qps/</a><br><b>Bugtracker: </b><a href="https://github.com/lxqt/qps/issues">https://github.com/lxqt/qps/issues</a> + <h2> Qps %1 - Графический диспетчер процессов </h2> %2 использует библиотеку Qt %3<br><br><b>Исходный код: </b><a href="https://github.com/lxqt/qps">https://github.com/lxqt/qps/</a><br><b>Отчеты об ошибках: </b><a href="https://github.com/lxqt/qps/issues">https://github.com/lxqt/qps/issues</a> + + + + <b>Original Qps by</b><br>Mattias Engdegård (f91-men@nada.kth.se)<br><br><b>Contributors</b><br>Olivier.Daudel@u-paris10.fr<br>jsanchez@todounix.homeip.net <br>daehyun.yang@gmail.com <br>Luís Pereira (luis.artur.pereira@gmail.com)<br>Alf Gaida (agaida@siduction.org)<br>Paulo Lieuthier (paulolieuthier@gmail.com)<br>Jerome Leclanche (jerome@leclan.ch)<br> + <b>Оригинальный Qps разработан:</b><br>Маттиас Энгдегорд (f91-men@nada.kth.se)<br><br><b>Участники:</b><br>Olivier.Daudel@u-paris10.fr<br>jsanchez@todounix.homeip.net <br>daehyun.yang@gmail.com <br>Луис Перейра (luis.artur.pereira@gmail.com)<br>Элф Гаида (agaida@siduction.org)<br>Пауло Лютье (paulolieuthier@gmail.com)<br>Жером Лекланш (jerome@leclan.ch)<br> + + + + <H1>QPS Help</H1>Updated: May 24 2005<BR><A HREF="http://kldp.net/projects/qps">http://kldp.net/projects/qps</A><HR><table style="text-align: center; width: 100%;" border="1" cellpadding="1" cellspacing="0"> <tbody> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Quit </td> <td >&nbsp; CTRL + q , CTRL + x </td> </tr> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Update </td> <td>&nbsp;Space , Enter </td> </tr> <tr><td> process Terminate </td> <td> ALT + T , DELETE </td> </tr> <tr><td> process Kill </td> <td> ALT + K </td> </tr> </tbody></table> + <H1>Справка QPS</H1>Обновлено: 24 мая 2005 г.<BR><A HREF="http://kldp.net/projects/qps">http://kldp.net/projects/qps</A><HR><table style="text-align: center; width: 100%;" border="1" cellpadding="1" cellspacing="0"> <tbody> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Выход </td> <td >&nbsp; CTRL + q , CTRL + x </td> </tr> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Обновить </td> <td>&nbsp;Пробел , Ввод </td> </tr> <tr><td> завершить процесс </td> <td> ALT + T , DELETE </td> </tr> <tr><td> прервать процесс (kill) </td> <td> ALT + K </td> </tr> </tbody></table> + + + + SchedDialog + + + Change scheduling + Изменить планирование + + + + Scheduling Policy + Политика планировщика + + + + SCHED_OTHER (time-sharing) + SCHED_OTHER (разделение времени) + + + + SCHED_FIFO (real-time) + SCHED_FIFO (реального времени) + + + + SCHED_RR (real-time) + SCHED_RR (реального времени) + + + + OK + ОК + + + + Cancel + Отмена + + + + Priority (1-99): + Приоритет (1-99): + + + + Invalid Input + Неверный ввод + + + + The priority must be in the range 1..99 + Приоритет должен быть в диапазоне 1..99 + + + + Screenshot + + + /untitled. + + + + + Save As + Сохранить как + + + + %1 Files (*.%2);;All Files (*) + Файлы %1 (*.%2);;Все файлы (*) + + + + Options + Параметры + + + + s + с. + + + + Screenshot Delay: + Задержка снимка экрана: + + + + Hide This Window + Скрыть это окно + + + + New Screenshot + Новый снимок + + + + Quit + Выход + + + + SearchBox + + + PID,COMMAND,USER... + + + + + SliderDialog + + + Renice Process + Изменить nice + + + + New nice value: + Новое значение nice: + + + + Cancel + Отмена + + + + OK + + + + + Sockets + + + Fd + + + + + File descriptor + Дескриптор файла + + + + Proto + + + + + Protocol (TCP or UDP) + Протокол (TCP или UDP) + + + + Recv-Q + + + + + Bytes in receive queue + Байт в очереди приема + + + + Send-Q + + + + + Bytes in send queue + Байт в очереди отправки + + + + Local Addr + + + + + Local IP address + Локальный IP-адрес + + + + + Port + + + + + Local port + Локальный порт + + + + Remote Addr + + + + + Remote IP address + Удаленный IP-адрес + + + + Remote port + Удаленный порт + + + + State + Состояние + + + + Connection state + Состояние соединения + + + + StatusBar + + + Process count: %1 + Число процессов: %1 + + + + TBloon + + + This is unstable Alpha feature + You maybe see a SEGFAULT... + Это нестабильная альфа функции +Она может привести к ошибке сегментации... + + + + TFrame + + + this is Tframe widget + + + + + UFrame + + + title + + + + + WatchdogDialog + + + if process start + при запуске процесса + + + + if process finish + при завершении процесса + + + + select condition + выберите условие + + + diff --git a/src/translations/qps_ru_RU.ts b/src/translations/qps_ru_RU.ts new file mode 100644 index 0000000..58a3283 --- /dev/null +++ b/src/translations/qps_ru_RU.ts @@ -0,0 +1,1772 @@ + + + + + AllFields + + + Field + + + + + Field name + + + + + Description + + + + + Field description + + + + + Value + + + + + Field value + + + + + Boxvar + + + Exit On Close Button + + + + + Host Name Lookup + + + + + Service Name Lookup + + + + + Disclosure Triangles + + + + + Branch Lines + + + + + Auto Save Settings on Exit + + + + + Selection: Copy PIDs to Clipboard + + + + + Normalize NICE + + + + + Use pmap for Map Names + + + + + Cbgroup + + + General + + + + + Command + + + The command: + + + + + + + + +failed with the error: + + + + + + + Too many processes + + + + + Unknown error + + + + + + +could not be executed because it was not found, +or you did not have execute permission. + + + + + + +exited with status + + + + + Command Failed + + + + + CommandDialog + + + Edit Commands 0.1 alpha + + + + + Name: + + + + + Popup + + + + + Command Line: + + + + + Substitutions: +%p PID +%c COMMAND +%C CMDLINE +%u USER +%% % + + + + + + + New... + + + + + + Add... + + + + + Delete + + + + + Close + + + + + ControlBar + + + Linear + + + + + Tree + + + + + All Processes + + + + + Your Processes + + + + + Non-Root Processes + + + + + Running Processes + + + + + Pause (Ctrl+Space) + + + + + Details + + + Process %1 ( %2 ) - details + + + + + Files + + + + + Sockets + + + + + Memory Maps + + + + + Environment + + + + + All Fields + + + + + Environ + + + Variable + + + + + Variable name + + + + + Value + + + + + Variable value + + + + + EventDialog + + + Watchdog 0.1 alpha + + + + + Eventcat + + + + + Select condition + + + + + labelDescrition + + + + + Enable + + + + + process name + + + + + cpu + + + + + % + + + + + include already running process + + + + + run command + + + + + show Message + + + + + Help (Not yet. just concept) + + + + + %p : pid +%c : command + + + + + New + + + + + Add + + + + + Delete + + + + + Close + + + + + ExecWindow + + + Qps + + + + + Ok + + + + + Qps Watchdog + + + + + %1 exit with code %2 + + + + + Close + + + + + %1 [running] + + + + + terminate command + + + + + Error %1 : [%2] Maybe command not found + + + + + FieldSelect + + + Select Custom Fields + + + + + Close + + + + + Files + + + Fd + + + + + File descriptor + + + + + Mode + + + + + Open mode + + + + + Name + + + + + File name (if available) + + + + + IntervalDialog + + + Change Update Period + + + + + New Update Period + + + + + Cancel + + + + + OK + + + + + No UPDATE + + + + + Invalid value + + + + + ListModel + + + Event Category + + + + + Enable + + + + + Maps + + + Address Range + + + + + Mapped addresses (hex) ) + + + + + Size + + + + + Kbytes mapped (dec) + + + + + Perm + + + + + Permission flags + + + + + Offset + + + + + File offset at start of mapping (hex) + + + + + Device + + + + + Major,Minor device numbers (dec) + + + + + Inode + + + + + Inode number (dec) + + + + + File + + + + + File name (if available) + + + + + PermissionDialog + + + Permission + + + + + Root password + + + + + Cancel + + + + + OK + + + + + Preferences + + + Preferences + + + + + Setting + + + + + %CPU divided by + + + + + Total cpu: %1 + + + + + Single cpu: 1 + + + + + default + + + + + for developer + + + + + Appearance + + + + + Proc + + + PID + + + + + Process ID + + + + + TGID + + + + + Task group ID ( parent of threads ) + + + + + PPID + + + + + Parent process ID + + + + + PGID + + + + + Process group ID + + + + + SID + + + + + Session ID + + + + + TTY + + + + + Terminal + + + + + TPGID + + + + + Process group ID of tty owner + + + + + USER + + + + + Owner (*=suid root, +=suid a user) + + + + + GROUP + + + + + Group name (*=sgid other) + + + + + UID + + + + + Real user ID + + + + + EUID + + + + + Effective user ID + + + + + SUID + + + + + Saved user ID (Posix) + + + + + FSUID + + + + + File system user ID + + + + + GID + + + + + Real group ID + + + + + EGID + + + + + Effective group ID + + + + + SGID + + + + + Saved group ID (Posix) + + + + + FSGID + + + + + File system group ID + + + + + PRI + + + + + Dynamic priority + + + + + NICE + + + + + Scheduling favour (higher -> less cpu time) + + + + + NLWP + + + + + Number of tasks(threads) in task group + + + + + PLCY + + + + + Scheduling policy + + + + + RPRI + + + + + Realtime priority (0-99, more is better) + + + + + TMS + + + + + Time slice in milliseconds + + + + + %SAVG + + + + + Percentage average sleep time (-1 -> N/A) + + + + + CPUSET + + + + + Affinity CPU mask (0 -> API not supported) + + + + + MAJFLT + + + + + Number of major faults (disk access) + + + + + MINFLT + + + + + Number of minor faults (no disk access) + + + + + VSIZE + + + + + Virtual image size of process + + + + + RSS + + + + + Resident set size + + + + + MEM + + + + + memory usage (RSS-SHARE) + + + + + TRS + + + + + Text(code) resident set size + + + + + DRS + + + + + Data resident set size(malloc+global variable) + + + + + STACK + + + + + Stack size + + + + + SHARE + + + + + Shared memory with other libs + + + + + SWAP + + + + + Kbytes on swap device + + + + + IO_R + + + + + io read (file) + + + + + IO_W + + + + + io write (file) + + + + + DT + + + + + Number of dirty (non-written) pages + + + + + STAT + + + + + State of the process + + + + + FLAGS + + + + + Process flags (hex) + + + + + WCHAN + + + + + Kernel function where process is sleeping + + + + + %WCPU + + + + + Weighted percentage of CPU (30 s average) + + + + + %CPU + + + + + Percentage of CPU used since last update + + + + + %MEM + + + + + Percentage of memory used (RSS/total mem) + + + + + START + + + + + Time process started + + + + + TIME + + + + + Total CPU time used since start + + + + + CPU + + + + + CPU the process is executing on (SMP system) + + + + + the process name + + + + + Process Name + + + + + CWD + + + + + Current working directory + + + + + ROOT + + + + + Root directory of process + + + + + COMMAND_LINE + + + + + Command line that started the process + + + + + QObject + + + Show + + + + + Hide + + + + + ScreenShot + + + + + Quit + + + + + Qps + + + header_popup + + + + + Remove Field + + + + + Add Field + + + + + Command + + + + + View + + + + + Process + + + + + Log + + + + + Custom Fields + Заданные поля + + + + Basic Fields + + + + + Jobs Fields + + + + + Memory Fields + + + + + Scheduling Fields + + + + + Select Custom Fields... + Выбор заданных полей... + + + + Option + + + + + Update Period... + + + + + Show Status bar + + + + + Preferences... + + + + + Help + + + + + + About + + + + + Detail + + + + + test + + + + + Copied to Clipboard + + + + + context popup + + + + + Renice... + + + + + Scheduling... + + + + + Terminate + + + + + Hangup + + + + + Kill + + + + + Stop + + + + + Continue + + + + + SIGINT (interrupt) + + + + + SIGCONT (continue) + + + + + SIGSTOP (stop) + + + + + SIGQUIT (quit) + + + + + SIGILL (illegal instruction) + + + + + SIGABRT (abort) + + + + + SIGFPE (floating point exception) + + + + + SIGSEGV (segmentation violation) + + + + + SIGPIPE (broken pipe) + + + + + SIGALRM (timer signal) + + + + + SIGUSR1 (user-defined 1) + + + + + SIGUSR2 (user-defined 2) + + + + + SIGCHLD (child death) + + + + + SIGTSTP (stop from tty) + + + + + SIGTTIN (tty input) + + + + + SIGTTOU (tty output) + + + + + View Details + + + + + WatchDog + + + + + Edit Commands... + + + + + Quit + + + + + + + + + + Permission denied + + + + + You do not have permission to renice the selected processes. Only the process owner and the super-user are allowed to do that. + + + + + You do not have permission to renice process %1 (%2).Only the process owner and the super-user are allowed to do that. + + + + + Only the super-user may lower the nice value of a process. + + + + + Only the super-user may change the scheduling policy and static priority. + + + + + You do not have permission to change the scheduling and/or priority of process %1 (%2). Only the super-user may do that. + + + + + You do not have permission to send a signal to process %1 (%2). Only the super-user and the owner of the process may send signals to it. + + + + + <h2> Qps %1 - A Visual Process Manager </h2> %2 using Qt library %3<br><br><b>Source: </b><a href="https://github.com/lxqt/qps">https://github.com/lxqt/qps/</a><br><b>Bugtracker: </b><a href="https://github.com/lxqt/qps/issues">https://github.com/lxqt/qps/issues</a> + + + + + <b>Original Qps by</b><br>Mattias Engdegård (f91-men@nada.kth.se)<br><br><b>Contributors</b><br>Olivier.Daudel@u-paris10.fr<br>jsanchez@todounix.homeip.net <br>daehyun.yang@gmail.com <br>Luís Pereira (luis.artur.pereira@gmail.com)<br>Alf Gaida (agaida@siduction.org)<br>Paulo Lieuthier (paulolieuthier@gmail.com)<br>Jerome Leclanche (jerome@leclan.ch)<br> + + + + + <H1>QPS Help</H1>Updated: May 24 2005<BR><A HREF="http://kldp.net/projects/qps">http://kldp.net/projects/qps</A><HR><table style="text-align: center; width: 100%;" border="1" cellpadding="1" cellspacing="0"> <tbody> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Quit </td> <td >&nbsp; CTRL + q , CTRL + x </td> </tr> <tr> <td style="vertical-align: top; background-color: rgb(204, 204, 204);">Update </td> <td>&nbsp;Space , Enter </td> </tr> <tr><td> process Terminate </td> <td> ALT + T , DELETE </td> </tr> <tr><td> process Kill </td> <td> ALT + K </td> </tr> </tbody></table> + + + + + SchedDialog + + + Change scheduling + + + + + Scheduling Policy + + + + + SCHED_OTHER (time-sharing) + + + + + SCHED_FIFO (real-time) + + + + + SCHED_RR (real-time) + + + + + OK + + + + + Cancel + + + + + Priority (1-99): + + + + + Invalid Input + + + + + The priority must be in the range 1..99 + + + + + Screenshot + + + /untitled. + + + + + Save As + + + + + %1 Files (*.%2);;All Files (*) + + + + + Options + + + + + s + + + + + Screenshot Delay: + + + + + Hide This Window + + + + + New Screenshot + + + + + Quit + + + + + SearchBox + + + PID,COMMAND,USER... + + + + + SliderDialog + + + Renice Process + + + + + New nice value: + + + + + Cancel + + + + + OK + + + + + Sockets + + + Fd + + + + + File descriptor + + + + + Proto + + + + + Protocol (TCP or UDP) + + + + + Recv-Q + + + + + Bytes in receive queue + + + + + Send-Q + + + + + Bytes in send queue + + + + + Local Addr + + + + + Local IP address + + + + + + Port + + + + + Local port + + + + + Remote Addr + + + + + Remote IP address + + + + + Remote port + + + + + State + + + + + Connection state + + + + + StatusBar + + + Process count: %1 + + + + + TBloon + + + This is unstable Alpha feature + You maybe see a SEGFAULT... + + + + + TFrame + + + this is Tframe widget + + + + + UFrame + + + title + + + + + WatchdogDialog + + + if process start + + + + + if process finish + + + + + select condition + + + + diff --git a/src/watchdogdialog.cpp b/src/watchdogdialog.cpp index d122402..9b9b083 100644 --- a/src/watchdogdialog.cpp +++ b/src/watchdogdialog.cpp @@ -190,8 +190,8 @@ void WatchdogDialog::checkCombo() if (comboBox->count() == 1) { comboBox->clear(); - comboBox->addItem("if process start"); - comboBox->addItem("if process finish"); + comboBox->addItem(tr( "if process start" ) ); + comboBox->addItem(tr( "if process finish" ) ); return; } } @@ -214,7 +214,7 @@ void WatchdogDialog::_new() command->clear(); message->clear(); comboBox->clear(); - comboBox->addItem("select condition"); + comboBox->addItem( tr( "select condition" ) ); } void WatchdogDialog::add()