aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageialinux-online.org>2015-04-04 08:48:48 +0200
committerPapoteur <papoteur@mageialinux-online.org>2015-04-04 08:48:48 +0200
commite1e0b24538fba9aba5c84bc0d54683a258f69139 (patch)
tree3509d35a74c5a242ae8d9a7f26acd753911e98c3
parent23e78d292f4a6bb22c8b41d7daed6863cad46187 (diff)
downloadMageiaSync-e1e0b24538fba9aba5c84bc0d54683a258f69139.tar
MageiaSync-e1e0b24538fba9aba5c84bc0d54683a258f69139.tar.gz
MageiaSync-e1e0b24538fba9aba5c84bc0d54683a258f69139.tar.bz2
MageiaSync-e1e0b24538fba9aba5c84bc0d54683a258f69139.tar.xz
MageiaSync-e1e0b24538fba9aba5c84bc0d54683a258f69139.zip
Update link to README.md
Update strings not to translate
-rw-r--r--mageiaSync/mageiaSyncAbout.py6
-rw-r--r--mageiaSync/mageiaSyncAbout.ui4
-rw-r--r--mageiaSync/mageiasync.py2
3 files changed, 6 insertions, 6 deletions
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 @@
<string/>
</property>
<property name="pixmap">
- <pixmap>/usr/share/icons/hicolor/scalable/apps/mageiasync.svg</pixmap>
+ <pixmap>../../../../usr/share/icons/hicolor/scalable/apps/mageiasync.svg</pixmap>
</property>
<property name="scaledContents">
<bool>true</bool>
@@ -59,7 +59,7 @@
<locale language="English" country="UnitedStates"/>
</property>
<property name="text">
- <string>mageiaSync</string>
+ <string notr="true">mageiaSync</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
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