r15710 by christoph - 9455: Added Hungarian to Autoquote
scribus-commit
scribus-commit at lists.scribus.net
Sun Oct 31 20:14:06 CET 2010
Author: christoph
Date: Sun Oct 31 19:14:06 2010
New Revision: 15710
URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=15710
Log:
9455: Added Hungarian to Autoquote
Modified:
trunk/Scribus/scribus/plugins/scriptplugin/scripts/Autoquote.py
Modified: trunk/Scribus/scribus/plugins/scriptplugin/scripts/Autoquote.py
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=15710&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 Sun Oct 31 19:14:06 2010
@@ -19,7 +19,7 @@
if scribus.haveDoc():
c = 0
- lang = scribus.valueDialog("Choose language", 'Language: en, de, pl, se, fi, ru, af, sq,\n be, uk, es, lt, mk, is, sk, sl, and et\n are current choices','en')
+ lang = scribus.valueDialog("Choose language", 'Language: en, de, pl, se, fi, ru, af, sq,\n be, uk, es, lt, mk, is, sk, sl, hu, and et\n are current choices','en')
if (lang == 'en'):
lead_double = u"\u201c"
follow_double = u"\u201d"
@@ -75,6 +75,11 @@
follow_double = u"\u201c"
lead_single = u"\u2019"
follow_single = u"\u201a"
+ elif (lang == 'hu'):
+ 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', icon=0, button1=1)
sys.exit(2)
More information about the scribus-commit
mailing list