Merge pull request #42 from Konubinix/master
Add initial message indicating why the Gui did not launch
This commit is contained in:
commit
9fdb8d080d
1
syncplay/messages.py
Normal file → Executable file
1
syncplay/messages.py
Normal file → Executable file
@ -76,6 +76,7 @@ en = {
|
||||
"hostname-empty-error" : "Hostname can't be empty",
|
||||
"empty-error" : "{} can't be empty", # Configuration
|
||||
"media-player-error": "Media player error: \"{}\"", # Error line
|
||||
"unable-import-gui-error": "Could not import Gui libraries. To use them, please install PySide.",
|
||||
|
||||
"arguments-missing-error" : "Some necessary arguments are missing, refer to --help",
|
||||
|
||||
|
||||
1
syncplay/ui/ConfigurationGetter.py
Normal file → Executable file
1
syncplay/ui/ConfigurationGetter.py
Normal file → Executable file
@ -11,6 +11,7 @@ try:
|
||||
from PySide import QtGui # @UnresolvedImport
|
||||
from PySide.QtCore import QCoreApplication
|
||||
except ImportError:
|
||||
print getMessage("unable-import-gui-error")
|
||||
GuiConfiguration = None
|
||||
|
||||
class InvalidConfigValue(Exception):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user