[ocrfeeder] Make ODT the first exportation format in the list
- From: Joaquim Manuel Pereira Rocha <jrocha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ocrfeeder] Make ODT the first exportation format in the list
- Date: Wed, 3 Aug 2011 22:00:34 +0000 (UTC)
commit 534c857aec5ffaa8666a6f402195ded7b2b4926d
Author: Joaquim Rocha <jrocha igalia com>
Date: Wed Aug 3 23:59:08 2011 +0200
Make ODT the first exportation format in the list
Due to a mistake, HTML was being shown as the first format in the list.
src/ocrfeeder/studio/studioBuilder.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/ocrfeeder/studio/studioBuilder.py b/src/ocrfeeder/studio/studioBuilder.py
index b1c5944..e1286f9 100644
--- a/src/ocrfeeder/studio/studioBuilder.py
+++ b/src/ocrfeeder/studio/studioBuilder.py
@@ -58,8 +58,8 @@ class Studio:
languages = languages, fallback = True)
_ = language.gettext
- self.EXPORT_FORMATS = {0: (self.exportToHtml, _('HTML')),
- 1: (self.exportToOdt, _('ODT')),
+ self.EXPORT_FORMATS = {0: (self.exportToOdt, _('ODT')),
+ 1: (self.exportToHtml, _('HTML')),
2: (self.exportToPdf, _('PDF')),
3: (self.exportToPlaintext, _('Plain Text'))}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]