r21754 by gpittman - fixed some indentation issues in Autoquote.py
scribus-commit
scribus-commit at lists.scribus.net
Mon Feb 6 23:08:23 UTC 2017
Author: gpittman
Date: Mon Feb 6 23:08:22 2017
New Revision: 21754
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21754
Log:
fixed some indentation issues in Autoquote.py
Modified:
trunk/Scribus/scribus/plugins/scriptplugin/scripts/Autoquote.py
Modified: trunk/Scribus/scribus/plugins/scriptplugin/scripts/Autoquote.py
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21754&path=/trunk/Scribus/scribus/plugins/scriptplugin/scripts/Autoquote.py
==============================================================================
--- trunk/Scribus/scribus/plugins/scriptplugin/scripts/Autoquote.py (original)
+++ trunk/Scribus/scribus/plugins/scriptplugin/scripts/Autoquote.py Mon Feb 6 23:08:22 2017
@@ -53,7 +53,7 @@
elif (lang == 'sq'):
lead_double = u"\u201e"
follow_double = u"\u201c"
- lead_single = u"\u2018"
+ lead_single = u"\u2018"
follow_single = u"\u2019"
elif ((lang == 'be') or (lang == 'ch') or (lang == 'uk') or (lang == 'ru')):
lead_double = u"\u00ab"
@@ -69,7 +69,7 @@
lead_double = u"\u00ab"
follow_double = u"\u00bb"
lead_single = u"\u2018"
- follow_single = u"\u2019"
+ follow_single = u"\u2019"
elif ((lang == 'lt') or (lang == 'is') or (lang == 'sk') or (lang == 'sl') or (lang == 'cs') or (lang == 'et')):
lead_double = u"\u201e"
follow_double = u"\u201c"
@@ -81,10 +81,10 @@
lead_single = u"\u2019"
follow_single = u"\u2018"
elif ((lang == 'hu') or (lang == 'nl')):
- lead_double = u"\u201e"
- follow_double = u"\u201d"
- lead_single = u"\u00bb"
- follow_single = u"\u00ab"
+ lead_double = u"\u201e"
+ follow_double = u"\u201d"
+ lead_single = u"\u00bb"
+ follow_single = u"\u00ab"
else:
scribus.messageBox('Language Error', 'You need to choose an available language', scribus.ICON_WARNING, scribus.BUTTON_OK)
sys.exit(2)
@@ -169,4 +169,4 @@
scribus.setRedraw(1)
scribus.docChanged(1)
endmessage = 'Successfully ran script\n Last character read was '+str(char) # Change this message to your liking
-scribus.messageBox("Finished", endmessage, icon=scribus.ICON_NONE, button1=scribus.BUTTON_OK)
+scribus.messageBox("Finished", endmessage, icon=scribus.ICON_NONE, button1=scribus.BUTTON_OK)
More information about the scribus-commit
mailing list