diff --git a/README.md b/README.md index 23ea418..e95aca6 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ However, unless you print them out, it's difficult to quickly switch between the To run from source, you need Python 3, and some requirements: ``` pip install -r requirements.txt -pip install -r asl-cards/requirements.txt +pip install -r asl_cards/requirements.txt python3 main.py ``` diff --git a/constants.py b/constants.py index ca929c3..e41f23d 100644 --- a/constants.py +++ b/constants.py @@ -1,5 +1,5 @@ APP_VENDOR = "Pacman Ghost" -APP_HOME_URL = "https://github.com/pacman-ghost" +APP_HOME_URL = "https://github.com/pacman-ghost/aslcards" APP_NAME = "ASL Cards" APP_VERSION = "v0.1" APP_DESCRIPTION = "ASL Cards viewer." diff --git a/startup_widget.py b/startup_widget.py index 922095d..8276f9e 100644 --- a/startup_widget.py +++ b/startup_widget.py @@ -235,6 +235,10 @@ class StartupWidget( QWidget ) : @pyqtSlot( str ) def on_error( self , msg ) : """Show an error message box.""" + msg = " {}".format( msg ) \ + + "
Check here if you're having trouble analyzing your files." \
+ + " "
+ msg = msg.replace( "\n" , "
\n" )
MainWindow.show_error_msg( msg )
@pyqtSlot( str , QMessageBox.StandardButtons , QMessageBox.StandardButton , result=QMessageBox.StandardButton )
@@ -260,7 +264,7 @@ class StartupWidget( QWidget ) :
self.progress_animation.stop()
# check if the analysis failed
if ex :
- MainWindow.show_error_msg( "Analyze failed:\n\n{}".format( ex ) )
+ self.on_error( "Analyze failed:\n\n{}".format( ex ) )
self._update_analyze_ui( True )
self.frm_analyze_progress.hide()
self.le_cards_dir.setFocus()
diff --git a/ui/about_widget.ui b/ui/about_widget.ui
index cc381e8..e9a9c3f 100644
--- a/ui/about_widget.ui
+++ b/ui/about_widget.ui
@@ -108,7 +108,7 @@