* src/docgen/AbiWord2Doc.py, src/docgen/AsciiDoc.py,
src/docgen/HtmlDoc.py, src/docgen/KwordDoc.py, src/docgen/OpenOfficeDoc.py, src/docgen/PdfDoc.py, src/docgen/RTFDoc.py: Translate type descriptions; correct print_label. svn: r3491
This commit is contained in:
@@ -976,6 +976,7 @@ def pt2cm(val):
|
||||
# Register plugins
|
||||
#
|
||||
#--------------------------------------------------------------------------
|
||||
print_label = None
|
||||
try:
|
||||
import Utils
|
||||
|
||||
@@ -987,17 +988,10 @@ try:
|
||||
else:
|
||||
print_label = None
|
||||
|
||||
Plugins.register_text_doc(mtype,OpenOfficeDoc,1,1,1,".sxw", print_label)
|
||||
Plugins.register_text_doc(mtype,OpenOfficeDoc,1,1,1,".sxw",print_label)
|
||||
Plugins.register_book_doc(mtype,OpenOfficeDoc,1,1,1,".sxw")
|
||||
Plugins.register_draw_doc(mtype,OpenOfficeDoc,1,1, ".sxd",print_label);
|
||||
except:
|
||||
Plugins.register_text_doc('OpenOffice.org Writer', OpenOfficeDoc,1,1,1,".sxw", None)
|
||||
Plugins.register_book_doc("OpenOffice.org Writer", OpenOfficeDoc,1,1,1,".sxw")
|
||||
|
||||
|
||||
Plugins.register_draw_doc(
|
||||
_("OpenOffice.org Draw"),
|
||||
OpenOfficeDoc,
|
||||
1,
|
||||
1,
|
||||
".sxd",
|
||||
print_label);
|
||||
Plugins.register_text_doc(_('OpenOffice.org Writer'), OpenOfficeDoc,1,1,1,".sxw", None)
|
||||
Plugins.register_book_doc(_("OpenOffice.org Writer"), OpenOfficeDoc,1,1,1,".sxw")
|
||||
Plugins.register_draw_doc(_("OpenOffice.org Draw"), OpenOfficeDoc,1,1,".sxd",None);
|
||||
|
Reference in New Issue
Block a user