UI Text check and translation-de

This commit is contained in:
2020-11-12 19:51:01 +01:00
parent 1fd1d37fa7
commit 7ee84bf305
22 changed files with 3251 additions and 3169 deletions

View File

@@ -2,12 +2,15 @@
# Form implementation generated from reading ui file 'aclmanager.ui'
#
# Created by: PyQt5 UI code generator 5.10.1
# Created by: PyQt5 UI code generator 5.15.0
#
# WARNING! All changes made in this file will be lost!
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_diag_aclmanager(object):
def setupUi(self, diag_aclmanager):
diag_aclmanager.setObjectName("diag_aclmanager")
@@ -157,4 +160,3 @@ if __name__ == "__main__":
ui.setupUi(diag_aclmanager)
diag_aclmanager.show()
sys.exit(app.exec_())

View File

@@ -2,12 +2,15 @@
# Form implementation generated from reading ui file 'avahisearch.ui'
#
# Created by: PyQt5 UI code generator 5.10.1
# Created by: PyQt5 UI code generator 5.15.0
#
# WARNING! All changes made in this file will be lost!
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_diag_search(object):
def setupUi(self, diag_search):
diag_search.setObjectName("diag_search")
@@ -74,14 +77,14 @@ class Ui_diag_search(object):
self.btn_restart.setToolTip(_translate("diag_search", "Restart search"))
self.tb_revpi.setSortingEnabled(True)
item = self.tb_revpi.horizontalHeaderItem(0)
item.setText(_translate("diag_search", "Zero conf Name"))
item.setText(_translate("diag_search", "Zero-conf name"))
item = self.tb_revpi.horizontalHeaderItem(1)
item.setText(_translate("diag_search", "IP address"))
self.btn_connect.setText(_translate("diag_search", "&Connect to Revolution Pi"))
self.btn_save.setText(_translate("diag_search", "&Save connection"))
from . import ressources_rc
if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
@@ -90,4 +93,3 @@ if __name__ == "__main__":
ui.setupUi(diag_search)
diag_search.show()
sys.exit(app.exec_())

View File

@@ -2,12 +2,15 @@
# Form implementation generated from reading ui file 'debugcontrol.ui'
#
# Created by: PyQt5 UI code generator 5.10.1
# Created by: PyQt5 UI code generator 5.15.0
#
# WARNING! All changes made in this file will be lost!
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_wid_debugcontrol(object):
def setupUi(self, wid_debugcontrol):
wid_debugcontrol.setObjectName("wid_debugcontrol")
@@ -80,4 +83,3 @@ if __name__ == "__main__":
ui.setupUi(wid_debugcontrol)
wid_debugcontrol.show()
sys.exit(app.exec_())

View File

@@ -2,12 +2,15 @@
# Form implementation generated from reading ui file 'debugios.ui'
#
# Created by: PyQt5 UI code generator 5.10.1
# Created by: PyQt5 UI code generator 5.15.0
#
# WARNING! All changes made in this file will be lost!
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_win_debugios(object):
def setupUi(self, win_debugios):
win_debugios.setObjectName("win_debugios")
@@ -72,4 +75,3 @@ if __name__ == "__main__":
ui.setupUi(win_debugios)
win_debugios.show()
sys.exit(app.exec_())

View File

@@ -2,12 +2,15 @@
# Form implementation generated from reading ui file 'files.ui'
#
# Created by: PyQt5 UI code generator 5.10.1
# Created by: PyQt5 UI code generator 5.15.0
#
# WARNING! All changes made in this file will be lost!
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_win_files(object):
def setupUi(self, win_files):
win_files.setObjectName("win_files")
@@ -168,9 +171,9 @@ class Ui_win_files(object):
self.btn_refresh_revpi.setToolTip(_translate("win_files", "Reload file list"))
self.tree_files_revpi.setSortingEnabled(True)
self.btn_all.setText(_translate("win_files", "Stop - Upload - Start"))
from . import ressources_rc
if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
@@ -179,4 +182,3 @@ if __name__ == "__main__":
ui.setupUi(win_files)
win_files.show()
sys.exit(app.exec_())

View File

@@ -2,16 +2,19 @@
# Form implementation generated from reading ui file 'mqttmanager.ui'
#
# Created by: PyQt5 UI code generator 5.10.1
# Created by: PyQt5 UI code generator 5.15.0
#
# WARNING! All changes made in this file will be lost!
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_diag_mqtt(object):
def setupUi(self, diag_mqtt):
diag_mqtt.setObjectName("diag_mqtt")
diag_mqtt.resize(492, 704)
diag_mqtt.resize(489, 709)
self.verticalLayout = QtWidgets.QVBoxLayout(diag_mqtt)
self.verticalLayout.setObjectName("verticalLayout")
self.gb_basetopic = QtWidgets.QGroupBox(diag_mqtt)
@@ -123,7 +126,9 @@ class Ui_diag_mqtt(object):
_translate = QtCore.QCoreApplication.translate
diag_mqtt.setWindowTitle(_translate("diag_mqtt", "MQTT settings"))
self.gb_basetopic.setTitle(_translate("diag_mqtt", "Base topic"))
self.lbl_basetopic_description.setText(_translate("diag_mqtt", "<html><head/><body><p>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.</p><p>For example: revpi0000/data</p></body></html>"))
self.lbl_basetopic_description.setText(_translate("diag_mqtt", "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.\n"
"\n"
"For example: revpi0000/data"))
self.lbl_basetopic.setText(_translate("diag_mqtt", "Base topic:"))
self.gb_send_on_event.setTitle(_translate("diag_mqtt", "Publish settings"))
self.lbl_sendinterval.setText(_translate("diag_mqtt", "Publish all exported values every n seconds:"))
@@ -135,7 +140,7 @@ class Ui_diag_mqtt(object):
"\n"
"Publish values with topic: [basetopic]/set/[outputname]"))
self.cbx_write_outputs.setText(_translate("diag_mqtt", "Allow MQTT to to set outputs on Revolution Pi"))
self.gb_broker.setTitle(_translate("diag_mqtt", "Brocker settings"))
self.gb_broker.setTitle(_translate("diag_mqtt", "Broker settings"))
self.lbl_broker_address.setText(_translate("diag_mqtt", "Broker address:"))
self.lbl_port.setText(_translate("diag_mqtt", "Broker port:"))
self.lbl_username.setText(_translate("diag_mqtt", "User name:"))
@@ -152,4 +157,3 @@ if __name__ == "__main__":
ui.setupUi(diag_mqtt)
diag_mqtt.show()
sys.exit(app.exec_())

File diff suppressed because it is too large Load Diff

View File

@@ -2,12 +2,15 @@
# Form implementation generated from reading ui file 'revpicommander.ui'
#
# Created by: PyQt5 UI code generator 5.10.1
# Created by: PyQt5 UI code generator 5.15.0
#
# WARNING! All changes made in this file will be lost!
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_win_revpicommander(object):
def setupUi(self, win_revpicommander):
win_revpicommander.setObjectName("win_revpicommander")
@@ -152,9 +155,9 @@ class Ui_win_revpicommander(object):
self.act_disconnect.setShortcut(_translate("win_revpicommander", "Ctrl+X"))
self.act_reset.setText(_translate("win_revpicommander", "Reset driver..."))
self.act_simulator.setText(_translate("win_revpicommander", "Start local si&mulator..."))
from . import ressources_rc
if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
@@ -163,4 +166,3 @@ if __name__ == "__main__":
ui.setupUi(win_revpicommander)
win_revpicommander.show()
sys.exit(app.exec_())

View File

@@ -2,12 +2,15 @@
# Form implementation generated from reading ui file 'revpiinfo.ui'
#
# Created by: PyQt5 UI code generator 5.10.1
# Created by: PyQt5 UI code generator 5.15.0
#
# WARNING! All changes made in this file will be lost!
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_diag_revpiinfo(object):
def setupUi(self, diag_revpiinfo):
diag_revpiinfo.setObjectName("diag_revpiinfo")
@@ -81,8 +84,8 @@ class Ui_diag_revpiinfo(object):
def retranslateUi(self, diag_revpiinfo):
_translate = QtCore.QCoreApplication.translate
diag_revpiinfo.setWindowTitle(_translate("diag_revpiinfo", "Dialog"))
self.lbl_head.setText(_translate("diag_revpiinfo", "RevPi Python PLC - Control"))
diag_revpiinfo.setWindowTitle(_translate("diag_revpiinfo", "Program information"))
self.lbl_head.setText(_translate("diag_revpiinfo", "RevPi Python PLC - Commander"))
self.lbl_lbl_version_pyload.setText(_translate("diag_revpiinfo", "RevPiPyLoad version on RevPi:"))
self.lbl_version_pyload.setText(_translate("diag_revpiinfo", "0.0.0"))
self.lbl_link.setText(_translate("diag_revpiinfo", "<html><head/><body><p><a href=\"https://revpimodio.org/\"><span style=\" text-decoration: underline; color:#0000ff;\">https://revpimodio.org/</span></a></p></body></html>"))
@@ -103,4 +106,3 @@ if __name__ == "__main__":
ui.setupUi(diag_revpiinfo)
diag_revpiinfo.show()
sys.exit(app.exec_())

View File

@@ -2,12 +2,15 @@
# Form implementation generated from reading ui file 'revpilogfile.ui'
#
# Created by: PyQt5 UI code generator 5.10.1
# Created by: PyQt5 UI code generator 5.15.0
#
# WARNING! All changes made in this file will be lost!
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_win_revpilogfile(object):
def setupUi(self, win_revpilogfile):
win_revpilogfile.setObjectName("win_revpilogfile")
@@ -93,4 +96,3 @@ if __name__ == "__main__":
ui.setupUi(win_revpilogfile)
win_revpilogfile.show()
sys.exit(app.exec_())

View File

@@ -2,16 +2,19 @@
# Form implementation generated from reading ui file 'revpioption.ui'
#
# Created by: PyQt5 UI code generator 5.10.1
# Created by: PyQt5 UI code generator 5.15.0
#
# WARNING! All changes made in this file will be lost!
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_diag_options(object):
def setupUi(self, diag_options):
diag_options.setObjectName("diag_options")
diag_options.resize(416, 522)
diag_options.resize(458, 557)
self.verticalLayout = QtWidgets.QVBoxLayout(diag_options)
self.verticalLayout.setObjectName("verticalLayout")
self.gb_plc = QtWidgets.QGroupBox(diag_options)
@@ -147,7 +150,7 @@ class Ui_diag_options(object):
self.lbl_lbl_mqtt_status.setText(_translate("diag_options", "MQTT publish service is:"))
self.btn_mqtt.setText(_translate("diag_options", "Settings"))
self.btn_aclxmlrpc.setText(_translate("diag_options", "Edit ACL"))
self.cbx_xmlrpc.setText(_translate("diag_options", "Activate XML-RPC for RevPiPyControl"))
self.cbx_xmlrpc.setText(_translate("diag_options", "Activate XML-RPC for RevPiCommander"))
if __name__ == "__main__":
@@ -158,4 +161,3 @@ if __name__ == "__main__":
ui.setupUi(diag_options)
diag_options.show()
sys.exit(app.exec_())

View File

@@ -2,12 +2,15 @@
# Form implementation generated from reading ui file 'revpiplclist.ui'
#
# Created by: PyQt5 UI code generator 5.10.1
# Created by: PyQt5 UI code generator 5.15.0
#
# WARNING! All changes made in this file will be lost!
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_diag_connections(object):
def setupUi(self, diag_connections):
diag_connections.setObjectName("diag_connections")
@@ -112,9 +115,9 @@ class Ui_diag_connections(object):
self.lbl_folder.setText(_translate("diag_connections", "Sub folder:"))
self.lbl_address.setText(_translate("diag_connections", "Address (DNS/IP):"))
self.lbl_port.setText(_translate("diag_connections", "Port (Default {0}):"))
from . import ressources_rc
if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
@@ -123,4 +126,3 @@ if __name__ == "__main__":
ui.setupUi(diag_connections)
diag_connections.show()
sys.exit(app.exec_())

View File

@@ -2,12 +2,15 @@
# Form implementation generated from reading ui file 'revpiprogram.ui'
#
# Created by: PyQt5 UI code generator 5.10.1
# Created by: PyQt5 UI code generator 5.15.0
#
# WARNING! All changes made in this file will be lost!
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_diag_program(object):
def setupUi(self, diag_program):
diag_program.setObjectName("diag_program")
@@ -154,4 +157,3 @@ if __name__ == "__main__":
ui.setupUi(diag_program)
diag_program.show()
sys.exit(app.exec_())

View File

@@ -85,7 +85,7 @@
</attribute>
<column>
<property name="text">
<string>Zero conf Name</string>
<string>Zero-conf name</string>
</property>
</column>
<column>

View File

@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>492</width>
<height>704</height>
<width>489</width>
<height>709</height>
</rect>
</property>
<property name="windowTitle">
@@ -29,7 +29,9 @@
</size>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;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.&lt;/p&gt;&lt;p&gt;For example: revpi0000/data&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
<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.
For example: revpi0000/data</string>
</property>
<property name="wordWrap">
<bool>true</bool>
@@ -133,7 +135,7 @@ Publish values with topic: [basetopic]/set/[outputname]</string>
<item>
<widget class="QGroupBox" name="gb_broker">
<property name="title">
<string>Brocker settings</string>
<string>Broker settings</string>
</property>
<layout class="QFormLayout" name="formLayout">
<item row="0" column="0">

View File

@@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
<string>Dialog</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 - Control</string>
<string>RevPi Python PLC - Commander</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>

View File

@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>416</width>
<height>522</height>
<width>458</width>
<height>557</height>
</rect>
</property>
<property name="windowTitle">
@@ -226,7 +226,7 @@
<item row="4" column="0">
<widget class="QCheckBox" name="cbx_xmlrpc">
<property name="text">
<string>Activate XML-RPC for RevPiPyControl</string>
<string>Activate XML-RPC for RevPiCommander</string>
</property>
</widget>
</item>

File diff suppressed because it is too large Load Diff

View File

@@ -78,7 +78,7 @@ class MqttManager(QtWidgets.QDialog, Ui_diag_mqtt):
if self._changesdone():
ask = QtWidgets.QMessageBox.question(
self, self.tr("Question"), self.tr(
"Do you really want to quit? \nUnsaved changes will be lost!"
"Do you really want to quit? \nUnsaved changes will be lost."
)
) == QtWidgets.QMessageBox.Yes
if ask:

View File

@@ -369,8 +369,10 @@ class RevPiCommander(QtWidgets.QMainWindow, Ui_win_revpicommander):
self, self.tr("Error"), self.tr(
"Can not connect to RevPi XML-RPC Service! \n\n"
"This could have the following reasons: The RevPi is not "
"online, the XML-RPC service is not running or the ACL "
"permission is not set for your IP!!!"
"online, the XML-RPC service is not running / bind to "
"localhost or the ACL permission is not set for your "
"IP!!!\n\nRun 'sudo revpipyload_secure_installation' on "
"Revolution Pi to setup this function!"
)
)
@@ -475,6 +477,9 @@ class RevPiCommander(QtWidgets.QMainWindow, Ui_win_revpicommander):
if __name__ == "__main__":
import sys
#QtWidgets.QApplication.setAttribute(QtCore.Qt.AA_EnableHighDpiScaling, True)
#QtWidgets.QApplication.setAttribute(QtCore.Qt.AA_UseHighDpiPixmaps, True)
app = QtWidgets.QApplication(sys.argv)
try:

View File

@@ -108,10 +108,10 @@ class RevPiFiles(QtWidgets.QMainWindow, Ui_win_files):
# Tell user, we did not find the auto start program in files
if uploaded:
QtWidgets.QMessageBox.information(
self, self.tr("Information..."), self.tr(
self, self.tr("Information"), self.tr(
"A PLC program has been uploaded. Please check the "
"PLC options to see if the correct program is "
"specified as the start program."
"PLC program settings to see if the correct program "
"is specified as the start program."
)
)