From e1e0b24538fba9aba5c84bc0d54683a258f69139 Mon Sep 17 00:00:00 2001 From: Papoteur Date: Sat, 4 Apr 2015 08:48:48 +0200 Subject: Update link to README.md Update strings not to translate --- mageiaSync/mageiaSyncAbout.py | 6 +++--- mageiaSync/mageiaSyncAbout.ui | 4 ++-- mageiaSync/mageiasync.py | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'mageiaSync') diff --git a/mageiaSync/mageiaSyncAbout.py b/mageiaSync/mageiaSyncAbout.py index a8c44c4..da261c9 100644 --- a/mageiaSync/mageiaSyncAbout.py +++ b/mageiaSync/mageiaSyncAbout.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'mageiaSyncAbout.ui' # -# Created: Fri Apr 3 19:15:18 2015 +# Created: Fri Apr 3 22:22:01 2015 # by: PyQt5 UI code generator 5.1.1 # # WARNING! All changes made in this file will be lost! @@ -23,7 +23,7 @@ class Ui_aboutDialog(object): self.label_4 = QtWidgets.QLabel(aboutDialog) self.label_4.setMaximumSize(QtCore.QSize(200, 200)) self.label_4.setText("") - self.label_4.setPixmap(QtGui.QPixmap("/usr/share/icons/hicolor/scalable/apps/mageiasync.svg")) + self.label_4.setPixmap(QtGui.QPixmap("../../../../usr/share/icons/hicolor/scalable/apps/mageiasync.svg")) self.label_4.setScaledContents(True) self.label_4.setAlignment(QtCore.Qt.AlignCenter) self.label_4.setContentsMargins(30, 30, 30, 30) @@ -36,6 +36,7 @@ class Ui_aboutDialog(object): font.setPointSize(11) self.label.setFont(font) self.label.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates)) + self.label.setText("mageiaSync") self.label.setAlignment(QtCore.Qt.AlignCenter) self.label.setObjectName("label") self.verticalLayout_3.addWidget(self.label) @@ -66,7 +67,6 @@ class Ui_aboutDialog(object): def retranslateUi(self, aboutDialog): _translate = QtCore.QCoreApplication.translate - self.label.setText(_translate("aboutDialog", "mageiaSync")) self.label_2.setText(_translate("aboutDialog", "A tool for loading ISO images. It is a frontend to rsync.")) self.label_3.setText(_translate("aboutDialog", "License: GNU GPL v3")) self.creditsButton.setText(_translate("aboutDialog", "Credits")) diff --git a/mageiaSync/mageiaSyncAbout.ui b/mageiaSync/mageiaSyncAbout.ui index 6867d98..551ba28 100644 --- a/mageiaSync/mageiaSyncAbout.ui +++ b/mageiaSync/mageiaSyncAbout.ui @@ -30,7 +30,7 @@ - /usr/share/icons/hicolor/scalable/apps/mageiasync.svg + ../../../../usr/share/icons/hicolor/scalable/apps/mageiasync.svg true @@ -59,7 +59,7 @@ - mageiaSync + mageiaSync Qt::AlignCenter diff --git a/mageiaSync/mageiasync.py b/mageiaSync/mageiasync.py index fb2b658..59d875b 100644 --- a/mageiaSync/mageiasync.py +++ b/mageiaSync/mageiasync.py @@ -51,7 +51,7 @@ class creditsDialog(QDialog,mageiaSyncCredits.Ui_creditsDialog ): self.setupUi(self) text='' try: - with open('/usr/share/doc/mageiasync/README.md', 'r') as f: + with open('/usr/share/doc/python-mageiasync/README.md', 'r') as f: block = f.readlines() for line in block: text+= line -- cgit v1.2.1