refactor: Improve GUI text and translations

Signed-off-by: Sven Sager <s.sager@kunbus.com>
This commit is contained in:
Eva-Maria Zanger
2026-07-22 11:29:11 +02:00
committed by Sven Sager
parent f08ea8ebc6
commit 6504fe962b
49 changed files with 1490 additions and 1461 deletions
+3 -3
View File
@@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
<string>IP access control list</string>
<string>IP Access Control List</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
@@ -51,7 +51,7 @@
</attribute>
<column>
<property name="text">
<string>IP Address</string>
<string>IP address</string>
</property>
</column>
<column>
@@ -97,7 +97,7 @@
<item>
<widget class="QGroupBox" name="gb_edit">
<property name="title">
<string>Add / Edit access entry</string>
<string>Add/Edit Access Entry</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="1" column="0">
+8 -8
View File
@@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
<string>Search Revolution Pi devices</string>
<string>RevPi device search</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0" colspan="2">
@@ -19,7 +19,7 @@
<item>
<widget class="QLabel" name="lbl_search">
<property name="text">
<string>Searching for Revolution Pi devices in your network...</string>
<string>Searching for RevPi devices on the network</string>
</property>
</widget>
</item>
@@ -85,7 +85,7 @@
</attribute>
<column>
<property name="text">
<string>Zero-conf name</string>
<string>ZeroConf name</string>
</property>
</column>
<column>
@@ -98,7 +98,7 @@
<item row="2" column="0">
<widget class="QPushButton" name="btn_connect">
<property name="text">
<string>&amp;Connect to Revolution Pi</string>
<string>&amp;Connect to RevPi</string>
</property>
</widget>
</item>
@@ -132,7 +132,7 @@
</action>
<action name="act_open_pictory">
<property name="text">
<string>Open piCtory</string>
<string>Open PiCtory</string>
</property>
</action>
<action name="act_connect_ssh">
@@ -140,7 +140,7 @@
<string>Connect via SSH (recommended)</string>
</property>
<property name="toolTip">
<string>Establish a connection via encrypted SSH tunnel</string>
<string>Connect via an encrypted SSH tunnel.</string>
</property>
</action>
<action name="act_connect_xmlrpc">
@@ -148,7 +148,7 @@
<string>Connect via XML-RPC</string>
</property>
<property name="toolTip">
<string>You have to configure your Revolution Pi to accept this connections</string>
<string>Enable these connections on RevPi.</string>
</property>
</action>
<action name="act_connect">
@@ -156,7 +156,7 @@
<string>Connect</string>
</property>
<property name="toolTip">
<string>Connect to Revoluton Pi</string>
<string>Connect to RevPi</string>
</property>
</action>
</widget>
+1 -1
View File
@@ -17,7 +17,7 @@
<item>
<widget class="QLabel" name="lbl_status">
<property name="text">
<string notr="true">Status message...</string>
<string notr="true">Status message</string>
</property>
</widget>
</item>
+11 -11
View File
@@ -32,7 +32,7 @@
<item row="0" column="0">
<widget class="QGroupBox" name="gb_devices">
<property name="title">
<string>Revolution Pi devices</string>
<string>RevPi Devices</string>
</property>
<layout class="QVBoxLayout" name="vl_devices"/>
</widget>
@@ -40,25 +40,25 @@
<item row="1" column="0">
<widget class="QCheckBox" name="cbx_stay_on_top">
<property name="text">
<string>Open to stay on top</string>
<string>Keep window on top</string>
</property>
</widget>
</item>
<item row="0" column="1" rowspan="2">
<widget class="QGroupBox" name="gb_control">
<property name="title">
<string>IO Control</string>
<string>I/O Control</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QPushButton" name="btn_read_io">
<property name="toolTip">
<string>Read all IO values and discard local changes (F4)
<string>Read all I/O values and discard local changes (F4).
Hold this button pressed and it will refresh the IOs every 200 ms.</string>
Hold this button to refresh the I/Os every 200 ms.</string>
</property>
<property name="text">
<string>Read &amp;all IO values</string>
<string>Read &amp;all I/O values</string>
</property>
<property name="autoRepeat">
<bool>true</bool>
@@ -74,12 +74,12 @@ Hold this button pressed and it will refresh the IOs every 200 ms.</string>
<item>
<widget class="QPushButton" name="btn_refresh_io">
<property name="toolTip">
<string>Refresh all IO values which are locally not changed (F5)
<string>Refresh all I/O values that have not been modified locally (F5).
Hold this button pressed and it will refresh the IOs every 200 ms.</string>
Hold this button to refresh the I/Os every 200 ms.</string>
</property>
<property name="text">
<string>&amp;Refresh unchanged IOs</string>
<string>&amp;Refresh unchanged I/Os</string>
</property>
<property name="autoRepeat">
<bool>true</bool>
@@ -95,7 +95,7 @@ Hold this button pressed and it will refresh the IOs every 200 ms.</string>
<item>
<widget class="QPushButton" name="btn_write_o">
<property name="toolTip">
<string>Write locally changed output values to process image (F6)</string>
<string>Write locally modified output values to process image (F6).</string>
</property>
<property name="text">
<string>&amp;Write changed outputs</string>
@@ -112,7 +112,7 @@ Hold this button pressed and it will refresh the IOs every 200 ms.</string>
<item>
<widget class="QCheckBox" name="cbx_write">
<property name="text">
<string>and write outputs</string>
<string>Write outputs</string>
</property>
</widget>
</item>
+4 -4
View File
@@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
<string>File manager</string>
<string>File Manager</string>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QGridLayout" name="gridLayout">
@@ -28,7 +28,7 @@
<item>
<widget class="QGroupBox" name="gb_select_local">
<property name="title">
<string>Local computer</string>
<string>Local Computer</string>
</property>
<layout class="QGridLayout" name="gridLayout_2" columnstretch="1,0,0">
<item row="0" column="0">
@@ -168,7 +168,7 @@
<item>
<widget class="QGroupBox" name="gb_select_revpi">
<property name="title">
<string>Revolution Pi</string>
<string>RevPi</string>
</property>
<layout class="QGridLayout" name="gridLayout_3" columnstretch="1,0">
<item row="1" column="0" colspan="2">
@@ -328,7 +328,7 @@
<item row="1" column="0">
<widget class="QPushButton" name="btn_all">
<property name="text">
<string>Stop - Upload - Start</string>
<string>Stop, upload, start</string>
</property>
</widget>
</item>
+3 -3
View File
@@ -29,7 +29,7 @@
</size>
</property>
<property name="text">
<string>The base topic is the first part of any mqtt topic, the Revolution Pi will publish. You can use any character includig '/' to structure the messages on your broker.
<string>Base topic is the prefix for MQTT topics published by RevPi. Use "/" to structure broker topics.
For example: revpi0000/data</string>
</property>
@@ -113,7 +113,7 @@ For example: revpi0000/data</string>
</size>
</property>
<property name="text">
<string>The Revolution Pi will subscribe a topic on which your mqtt client can publish messages with the new io value as payload.
<string>RevPi subscribes to an MQTT topic for setting output values. Publish the new I/O value as payload.
Publish values with topic: [basetopic]/set/[outputname]</string>
</property>
@@ -125,7 +125,7 @@ Publish values with topic: [basetopic]/set/[outputname]</string>
<item row="0" column="0">
<widget class="QCheckBox" name="cbx_write_outputs">
<property name="text">
<string>Allow MQTT to to set outputs on Revolution Pi</string>
<string>Allow MQTT to set outputs on RevPi</string>
</property>
</widget>
</item>
+3 -3
View File
@@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
<string>Open-Source licenses</string>
<string>Open source licenses</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
@@ -87,10 +87,10 @@
</layout>
<action name="action_start">
<property name="text">
<string>More licenses...</string>
<string>More licenses</string>
</property>
<property name="toolTip">
<string>Show more open-source software licenses</string>
<string>Show more open source software licenses</string>
</property>
</action>
</widget>
+5 -5
View File
@@ -210,7 +210,7 @@
</action>
<action name="act_search">
<property name="text">
<string>&amp;Search Revolution Pi...</string>
<string>&amp;Search RevPi...</string>
</property>
<property name="shortcut">
<string notr="true">Ctrl+F</string>
@@ -223,12 +223,12 @@
</action>
<action name="act_webpage">
<property name="text">
<string>Visit &amp;webpage...</string>
<string>Visit &amp;website</string>
</property>
</action>
<action name="act_info">
<property name="text">
<string>&amp;Info...</string>
<string>&amp;Info</string>
</property>
</action>
<action name="act_logs">
@@ -265,7 +265,7 @@
</action>
<action name="act_pictory">
<property name="text">
<string>piCtory configuraiton...</string>
<string>PiCtory configuration</string>
</property>
</action>
<action name="act_disconnect">
@@ -278,7 +278,7 @@
</action>
<action name="act_reset">
<property name="text">
<string>Reset driver...</string>
<string>Reset driver</string>
</property>
</action>
<action name="act_simulator">
+4 -5
View File
@@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
<string>Program information</string>
<string>Program Information</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0" colspan="3">
@@ -24,7 +24,7 @@
</font>
</property>
<property name="text">
<string>RevPi Python PLC - Commander</string>
<string>RevPi Commander (Python/PLC)</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
@@ -114,8 +114,7 @@
</property>
<property name="text">
<string>RevPiModIO, RevPiPyLoad and RevPiPyControl are community driven projects. They are all free and open source software.
All of them comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
All of them come with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.
(c) Sven Sager, License: GPLv2</string>
</property>
@@ -140,7 +139,7 @@ applicable law.
<item row="6" column="0" colspan="2">
<widget class="QLabel" name="lbl_link">
<property name="text">
<string notr="true">&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;https://revpimodio.org/&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;https://revpimodio.org/&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
<string notr="true">&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;https://revpimodio2.readthedocs.io/en/latest/&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;https://revpimodio2.readthedocs.io/en/latest/&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="openExternalLinks">
<bool>true</bool>
+4 -4
View File
@@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
<string>RevPi Python PLC Logfiles</string>
<string>RevPi Python PLC Log Files</string>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QGridLayout" name="gridLayout_3">
@@ -25,7 +25,7 @@
<item row="1" column="1">
<widget class="QCheckBox" name="cbx_wrap">
<property name="text">
<string>Linewrap</string>
<string>Line wrap</string>
</property>
</widget>
</item>
@@ -42,7 +42,7 @@
<item row="0" column="0">
<widget class="QLabel" name="lbl_daemon">
<property name="text">
<string>RevPiPyLoad - Logfile</string>
<string>RevPiPyLoad Log File</string>
</property>
</widget>
</item>
@@ -89,7 +89,7 @@
<item row="0" column="0">
<widget class="QLabel" name="lbl_app">
<property name="text">
<string>Python PLC program - Logfile</string>
<string>Python PLC Program Log File</string>
</property>
</widget>
</item>
+14 -14
View File
@@ -17,20 +17,20 @@
<item>
<widget class="QGroupBox" name="gb_plc">
<property name="title">
<string>Start / Stop behavior of PLC program</string>
<string>PLC Start/Stop Behavior</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="6" column="0">
<widget class="QLabel" name="lbl_replace_io">
<property name="text">
<string>Replace IO file:</string>
<string>Replace I/O file:</string>
</property>
</widget>
</item>
<item row="5" column="1" colspan="2">
<widget class="QCheckBox" name="cbx_zeroonerror">
<property name="text">
<string>... after exception and errors</string>
<string>after exceptions or errors</string>
</property>
</widget>
</item>
@@ -50,7 +50,7 @@
</item>
<item>
<property name="text">
<string>Restart after piCtory changed</string>
<string>Restart after PiCtory changes</string>
</property>
</item>
<item>
@@ -70,7 +70,7 @@
<item row="3" column="0" colspan="3">
<widget class="QLabel" name="lbl_plc_zero">
<property name="text">
<string>Set process image to NULL if program terminates...</string>
<string>Set process image to NULL if the program terminates</string>
</property>
</widget>
</item>
@@ -78,7 +78,7 @@
<widget class="QComboBox" name="cbb_replace_io">
<item>
<property name="text">
<string>Do not use replace io file</string>
<string>Do not replace I/O file</string>
</property>
</item>
<item>
@@ -93,7 +93,7 @@
</item>
<item>
<property name="text">
<string>Give own path and filename</string>
<string>Use custom path and file name</string>
</property>
</item>
</widget>
@@ -101,7 +101,7 @@
<item row="4" column="1" colspan="2">
<widget class="QCheckBox" name="cbx_zeroonexit">
<property name="text">
<string>... sucessfully without error</string>
<string>without errors</string>
</property>
</widget>
</item>
@@ -135,7 +135,7 @@
<item row="9" column="0" colspan="3">
<widget class="QLabel" name="lbl_lbl_reset_driver_action">
<property name="text">
<string>PLC program behavior after piCtory driver reset clicked</string>
<string>PLC program behavior after PiCtory driver reset</string>
</property>
</widget>
</item>
@@ -145,7 +145,7 @@
<item>
<widget class="QGroupBox" name="gb_server">
<property name="title">
<string>RevPiPyLoad server services</string>
<string>RevPiPyLoad Server Services</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="1">
@@ -165,7 +165,7 @@
<item row="0" column="0">
<widget class="QCheckBox" name="cbx_plcserver">
<property name="text">
<string>Start RevPi piControl server</string>
<string>Start piControl server</string>
</property>
</widget>
</item>
@@ -182,7 +182,7 @@
<item row="1" column="0">
<widget class="QLabel" name="lbl_lbl_server_status">
<property name="text">
<string>piControl server is:</string>
<string>piControl server:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@@ -202,7 +202,7 @@
<item row="3" column="0">
<widget class="QLabel" name="lbl_lbl_mqtt_status">
<property name="text">
<string>MQTT publish service is:</string>
<string>MQTT publish service:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@@ -226,7 +226,7 @@
<item row="4" column="0">
<widget class="QCheckBox" name="cbx_xmlrpc">
<property name="text">
<string>Activate XML-RPC for RevPiCommander</string>
<string>Activate XML-RPC for RevPi Commander</string>
</property>
</widget>
</item>
+5 -5
View File
@@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
<string>Revolution Pi connections</string>
<string>RevPi Connections</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="1" column="0" colspan="2">
@@ -47,7 +47,7 @@
<item row="2" column="0">
<widget class="QLabel" name="lbl_port">
<property name="text">
<string>Port (Default {0}):</string>
<string>Port (default {0}):</string>
</property>
</widget>
</item>
@@ -86,7 +86,7 @@
</sizepolicy>
</property>
<property name="suffix">
<string> sec.</string>
<string> s</string>
</property>
<property name="minimum">
<number>5</number>
@@ -99,7 +99,7 @@
<item row="4" column="0">
<widget class="QLabel" name="lbl_folder">
<property name="text">
<string>Sub folder:</string>
<string>Subfolder:</string>
</property>
</widget>
</item>
@@ -194,7 +194,7 @@
</property>
<column>
<property name="text">
<string>Connection name</string>
<string>Connection Name</string>
</property>
</column>
<column>
+13 -13
View File
@@ -11,33 +11,33 @@
</rect>
</property>
<property name="windowTitle">
<string>PLC program</string>
<string>PLC Program</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QGroupBox" name="gb_plc">
<property name="title">
<string>PLC program</string>
<string>PLC Program</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="2" column="0">
<widget class="QLabel" name="lbl_plcarguments">
<property name="text">
<string>Program arguments:</string>
<string>Arguments:</string>
</property>
</widget>
</item>
<item row="4" column="0" colspan="2">
<widget class="QLabel" name="lbl_plcprogram_watchdog">
<property name="text">
<string>Software watchdog (0=disabled):</string>
<string>Software watchdog (0 = disabled):</string>
</property>
</widget>
</item>
<item row="3" column="0" colspan="3">
<widget class="QCheckBox" name="cbx_plcworkdir_set_uid">
<property name="text">
<string>Set write permissions for plc program to workdirectory</string>
<string>Set write permissions for PLC program working directory</string>
</property>
</widget>
</item>
@@ -57,7 +57,7 @@
<item row="4" column="2">
<widget class="QSpinBox" name="sbx_plcprogram_watchdog">
<property name="suffix">
<string> sec.</string>
<string> s</string>
</property>
<property name="maximum">
<number>600</number>
@@ -70,7 +70,7 @@
<item>
<widget class="QGroupBox" name="cb_transfair">
<property name="title">
<string>Transfair PLC program</string>
<string>Transfer PLC program</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="1">
@@ -104,21 +104,21 @@
<item row="0" column="0">
<widget class="QLabel" name="lbl_format">
<property name="text">
<string>Transfair format:</string>
<string>Transfer format:</string>
</property>
</widget>
</item>
<item row="1" column="0" colspan="2">
<widget class="QCheckBox" name="cbx_pictory">
<property name="text">
<string>Including piCtory configuration</string>
<string>Include PiCtory configuration</string>
</property>
</widget>
</item>
<item row="2" column="0" colspan="2">
<widget class="QCheckBox" name="cbx_clear">
<property name="text">
<string>Remove all files on Revolution Pi before upload</string>
<string>Remove all files on RevPi before upload</string>
</property>
</widget>
</item>
@@ -128,7 +128,7 @@
<item>
<widget class="QGroupBox" name="gb_control">
<property name="title">
<string>Control files</string>
<string>Control Files</string>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<item row="1" column="1">
@@ -155,14 +155,14 @@
<item row="0" column="0">
<widget class="QLabel" name="lbl_pictory">
<property name="text">
<string>piCtory configuraiton</string>
<string>PiCtory configuration</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="lbl_procimg">
<property name="text">
<string>Process image from piControl0</string>
<string>Process image from piControl</string>
</property>
</widget>
</item>
+10 -10
View File
@@ -11,13 +11,13 @@
</rect>
</property>
<property name="windowTitle">
<string>piControl simulator</string>
<string>piControl Simulator</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QGroupBox" name="gb_settings">
<property name="title">
<string>Simulator settings</string>
<string>Simulator Settings</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
@@ -30,7 +30,7 @@
<item row="1" column="0">
<widget class="QLabel" name="lbl_configrsc">
<property name="text">
<string>piCtory file:</string>
<string>PiCtory file:</string>
</property>
</widget>
</item>
@@ -47,7 +47,7 @@
<item row="1" column="2">
<widget class="QPushButton" name="btn_configrsc">
<property name="text">
<string>select...</string>
<string>Select</string>
</property>
</widget>
</item>
@@ -99,7 +99,7 @@
<item row="4" column="1" colspan="2">
<widget class="QRadioButton" name="rb_restart_pictory">
<property name="text">
<string>Restore piCtory default values</string>
<string>Restore PiCtory default values</string>
</property>
<property name="checked">
<bool>true</bool>
@@ -109,7 +109,7 @@
<item row="5" column="1" colspan="2">
<widget class="QRadioButton" name="rb_restart_zero">
<property name="text">
<string>Reset everything to ZERO</string>
<string>Reset all values to NULL</string>
</property>
</widget>
</item>
@@ -119,13 +119,13 @@
<item>
<widget class="QGroupBox" name="gb_info">
<property name="title">
<string>RevPiModIO integration</string>
<string>RevPiModIO Integration</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QLabel" name="lbl_info">
<property name="text">
<string>You can work with this simulator if you call RevPiModIO with this additional parameters:</string>
<string>To use this simulator, call RevPiModIO with the following additional parameters:</string>
</property>
<property name="wordWrap">
<bool>true</bool>
@@ -151,7 +151,7 @@
<item>
<widget class="QPushButton" name="btn_start_pictory">
<property name="text">
<string>Start with piCtory default values</string>
<string>Start with PiCtory default values</string>
</property>
<property name="shortcut">
<string notr="true">Ctrl+1</string>
@@ -171,7 +171,7 @@
<item>
<widget class="QPushButton" name="btn_start_nochange">
<property name="text">
<string>Start without changing actual process image</string>
<string>Start without changing the current process image</string>
</property>
<property name="shortcut">
<string notr="true">Ctrl+3</string>
+4 -4
View File
@@ -26,7 +26,7 @@
<item row="0" column="0">
<widget class="QLabel" name="lbl_username">
<property name="text">
<string>SSH username:</string>
<string>SSH user name:</string>
</property>
</widget>
</item>
@@ -53,10 +53,10 @@
<item>
<widget class="QCheckBox" name="cbx_save_password">
<property name="toolTip">
<string>Username and password will be saved in secured operating systems's password storage.</string>
<string>Save user name and password in secure password storage.</string>
</property>
<property name="text">
<string>Save username and password</string>
<string>Save user name and password</string>
</property>
</widget>
</item>
@@ -79,7 +79,7 @@
</sizepolicy>
</property>
<property name="text">
<string>Note: The default user for SSH is &quot;pi&quot; which differs from the web configuration. You can find the password on the sticker on the device.</string>
<string>Default SSH user is &quot;pi&quot;. The device password is on the RevPi housing sticker.</string>
</property>
<property name="wordWrap">
<bool>true</bool>