Commit Graph

338 Commits

Author SHA1 Message Date
Andreas Preikschat 0924bfc246 fixed bug #804747; clean ups
Fixes: https://launchpad.net/bugs/804747
2011-08-12 15:11:30 +02:00
Jon Tibble 40d31106b3 Head r1686 2011-07-14 19:42:38 +01:00
Andreas Preikschat 822db59c4f - use map instead of list comprehension
- make some instance variables (in connection with re) constants
- removed some blank lines

bzr-revno: 1686
2011-07-14 17:20:25 +01:00
Tim Bentley f1cf256d99 Fix 2011-07-13 18:41:37 +01:00
Andreas Preikschat b98e36aff2 regex clean ups 2011-07-13 15:32:19 +02:00
Tim Bentley b83048ff4e Fix outstanding strings in Error for translations
Fixes: https://launchpad.net/bugs/796440
2011-07-11 17:32:25 +01:00
Jon Tibble 623b56742c Cleanups 2011-07-07 19:03:12 +01:00
Tim Bentley 608910a098 Fix name 2011-06-12 17:02:52 +01:00
Tim Bentley c812770153 Copyright fixes 2011-06-12 16:41:01 +01:00
Jonathan Corwin d26c1b20f8 A few more from IRC 2011-06-11 09:41:32 +01:00
Jonathan Corwin 0c6049917a Head 2011-06-11 09:32:36 +01:00
Jonathan Corwin ee8b11e4e9 More strings 2011-06-10 22:50:44 +01:00
Stevan Pettit 729f38f158 Added code to close the oldBibleDB so it can be deleted after conversion 2011-06-09 17:17:04 -04:00
Armin Köhler c85e953d4e remove unnecessary code 2011-06-05 19:39:13 +02:00
Armin Köhler 1b2956a9e6 remove unnecessary code 2011-06-05 19:33:46 +02:00
Armin Köhler 346bf24267 changed behaviour if the user cancel the import so that after a traceback it is possible to cancel the dialog 2011-06-05 14:40:26 +02:00
Armin Köhler 52bab3e415 Fix right parent for all used dialogs
small fixes
2011-06-04 22:35:24 +02:00
Armin Köhler 937cfd2260 Fix Bug #792811 - Traceback UnicodeEncodeError while importing a webbible
If upgrade fails new bible databases now should be deleted always
2011-06-04 20:43:59 +02:00
Armin Köhler 7e519464f6 Change upgrade of bibles: bibleupgradeform now trys to upgrade existing verses from webbibles.
bzr-revno: 1611
2011-06-04 14:52:26 +01:00
Armin Köhler c4e6e91c81 change log usage 2011-06-03 14:43:54 +02:00
Armin Köhler eda3e9ebe0 change log usage 2011-06-02 13:52:06 +02:00
Armin Köhler 877ea4e13d Change upgrade of bibles: bibleupgradeform now trys to upgrade existing verses from webbibles. 2011-06-02 12:42:42 +02:00
Andreas Preikschat b9dfd1f7d2 more spelling fixes 2011-06-01 14:08:40 +02:00
Andreas Preikschat 6b1f8f36f2 fixed spelling 2011-06-01 11:35:08 +02:00
Andreas Preikschat d7ebb73fd1 - do not show an error message when the directory does not exist, instead create items
- trivial clean ups
2011-06-01 08:24:35 +02:00
Armin Köhler 81fca6bedb change layout of backup page
change some strings
2011-05-28 23:01:27 +02:00
Armin Köhler 9b9f47a5be small fix 2011-05-28 15:33:15 +02:00
Armin Köhler 6a1ee02cdd add Backup page to the wizard
remove blank item on Combobox in BookNameForm
2011-05-28 14:48:10 +02:00
Armin Köhler 5f9b23f8e7 remove unnecessary line 2011-05-27 22:53:46 +02:00
Armin Köhler 010373b798 Fixed Traceback if BookNameDialog was canceled while upgrading non webbibles
Replace LineEdit in BookNameDialog with Label
2011-05-27 22:33:23 +02:00
Armin Köhler 8eb261ee88 bug fixes
setFocus to the Combobox in booknameform
2011-05-27 11:39:58 +02:00
Armin Köhler e5231aba41 change using old bible databases in bibleupgradeform 2011-05-27 11:23:46 +02:00
Armin Köhler af38bf7cc8 HEAD r1578 2011-05-26 22:41:19 +02:00
Armin Köhler f29830b98e change BookNameDialog like Raoul want. 2011-05-26 22:38:07 +02:00
Armin Köhler b5c392112b test close database 2011-05-26 22:15:38 +02:00
Armin Köhler c435127585 some fixes in relation with the extened LanguageForm
close cursor from OldBibleDB
2011-05-26 21:13:11 +02:00
Tim Bentley acdbefd922 Fixes 2011-05-26 18:11:22 +01:00
Tim Bentley 8f6ed366a1 Copyright updates 2011-05-26 17:25:54 +01:00
Armin Köhler f3864cb4aa HEAD r1572 2011-05-26 09:27:50 +02:00
Armin Köhler 6486d41b8c correct some words and code
changed behaviour if the "cancel" button is pressed while upgrading
2011-05-26 09:25:17 +02:00
Armin Köhler 2930510461 change languageform like Raoul suggest 2011-05-26 09:00:40 +02:00
Armin Köhler 0f98c4fd8f change behaviour if "Cancel" button is pushed. 2011-05-25 22:20:17 +02:00
Armin Köhler 175d6cebb2 add Bible Name to LanguageDialog
renamed "Importing" to "Upgrading" and "Choose" to "Select"
fixed traceback while textsearch
removed unnecessary code
2011-05-25 21:13:37 +02:00
M2j 7a1a83a98a Head 1570 2011-05-25 20:42:03 +02:00
Armin Köhler dd4543ad2d HEAD r1569 2011-05-25 16:29:16 +02:00
Armin Köhler 0c83471ee4 move some code
stop moving bibles to subfolders
some fixes
2011-05-25 16:18:03 +02:00
Raoul Snyman 7669643774 Updated the copyright notice, adding Jeffrey Smith back in after he accidentally got removed somewhere somehow. 2011-05-24 22:47:05 +02:00
Raoul Snyman da45bb0b06 Fixed various strings, as listed in bug #734445. 2011-05-24 19:32:36 +02:00
M2j 06d561f9fc localized string sorting 2011-05-23 22:42:07 +02:00
Armin Köhler c51d8182a6 delete all sucessfull imported bibles by default
remove the possibility to choose which bibles should be deleted after the upgrade
2011-05-18 20:19:11 +02:00
Armin Köhler fbd5349c2f small bugfixes
hide entry in tools menu if there are no bibles to upgrade
2011-05-15 20:42:08 +02:00
Armin Köhler 4ffa5c59d7 change some strings to better english
small fixes
2011-05-12 22:04:33 +02:00
Armin Köhler 4ee247c8b1 code cleanup
small fixes
2011-05-03 22:34:39 +02:00
Armin Köhler 368987bb67 code cleanup 2011-05-03 19:09:30 +02:00
Armin Köhler d44b42aaff improve BookNameForm (add possibility to reduce the books in the ComboBox and try to autodetect if a bible only contains only parts of a bible, so that only a part of the bible books are displayed at startup) 2011-05-03 13:44:23 +02:00
Armin Köhler 4bee8ca5f6 add a dialog at startup which inform the user that the bible format has changed and provide a possibility to upgrade
small cleanup
2011-05-03 09:41:03 +02:00
Armin Köhler 3eca8f6b50 updated bibles_resources.sqlite with some additional apocryph books
comparing books with lower()
display only which are not added to a bible in BookNameForm
small fixes
2011-05-02 15:45:30 +02:00
Armin Köhler 3b99f531f3 small fixes 2011-04-26 20:39:08 +02:00
Armin Köhler d7dc4def53 change name from reimport to upgrade
fix speed problem while changing the advanced bible
change some "for" loops
2011-04-26 20:18:13 +02:00
Armin Köhler 8e1ef8c890 little bug fix
add check if openlp/bibles/resources directory exists and mkdir if not
2011-04-21 16:32:04 +02:00
Armin Köhler b0b127022c bug fixes
add some additional Apocrypha books
2011-04-20 11:00:29 +02:00
Armin Köhler 81fe6f13e3 add attention picture 2011-04-20 09:25:16 +02:00
Armin Köhler e8c2d7e805 add reimportwizard for older bible databases 2011-04-19 22:25:27 +02:00
Armin Köhler dabc4415d2 HEAD r1469 2011-04-16 14:29:49 +02:00
Raoul Snyman 8090adf1bc Made UiStrings a Singleton, and updated all usage of it. 2011-04-15 23:43:59 +02:00
Armin Köhler e8202924f7 delete unused testament stuff 2011-04-14 22:33:02 +02:00
Armin Köhler a1c5ece681 HEAD r1456 2011-04-11 22:57:27 +02:00
Andreas Preikschat 53660fe23f enable/disable next button if bible importer is not available 2011-04-11 17:01:42 +02:00
Armin Köhler a9c87798eb moved get_book_ref_id_by_name() from BibleManager to BibleDB
moved content from BookNameDialog() from bibleimport.py in BibleDB.get_book_ref_id_by_name().
2011-04-03 22:09:18 +02:00
Armin Köhler 3d184f89a4 moved languageDialog() into BIBLEDB.get_language() 2011-04-03 20:44:08 +02:00
Armin Köhler 9de33cf194 moved Dialog from mediaitem.py to bibleimportform.py
some fixes
2011-04-02 21:17:48 +02:00
Armin Köhler c04a76e12d split BibleImportRequest in BookNameForm and LanugageForm 2011-04-01 22:26:25 +02:00
Armin Köhler 1923faf18a HEAD r1441 2011-04-01 19:56:11 +02:00
Armin Köhler 9d1c1b1fbb mark and comment out some unused code in csv import form
bug fix
2011-04-01 19:54:12 +02:00
Raoul Snyman efbcfd0772 Updated copyright information. 2011-03-24 21:04:02 +02:00
Armin Köhler 7a15251ffc Clean up
changed create_book in cscbible, openlp1, opensong and osis
2011-03-17 20:40:01 +01:00
Armin Köhler 1c59fd656f add download of all books a webbible contains
add dialog while the import of a webbible if the book could not be assign to a reference_book
add dialog while tho import of a webbible if the language is unknown
change the bible database
2011-03-17 19:36:54 +01:00
Armin Köhler e52a80c9c3 rename httpbooks.sqlite to bibles_resources.sqlite and change database scheme
moved the content of biblegateway.csv, bibleserver.csv and crosswalkbooks.csv into bibles_resources.sqlite
adapt loadWebBibles() process according to the changes above
remove class HTTPBible from http.py and add the functions to a new class BiblesResourcesDB in db.py which now handels the reading of bibles_resources.sqlite
2011-03-12 11:23:42 +01:00
Jon Tibble 8df9a5a18e Head r1353 2011-03-05 17:14:13 +00:00
Raoul Snyman 95e951c758 Updated translations. 2011-03-04 23:09:08 +02:00
Raoul Snyman 5f48a38769 Removed the need for the extra variable. 2011-02-25 08:24:35 +02:00
Raoul Snyman 6bcbd3526e Fixed bug #700859: Bible importers do not clean up properly after a failed import. 2011-02-25 08:16:32 +02:00
Raoul Snyman 780a87e840 Updated copyright information. Removed .eric4project directory from version control. 2011-02-24 07:47:38 +02:00
Jon Tibble dc41ce5ab4 Enumerations and magic numbers 2011-02-18 03:15:09 +00:00
Jon Tibble 032c48df60 Finish grammar corrections, more strings and cleanups 2011-02-16 17:54:31 +00:00
Jon Tibble a8d2d3661d Sort grammar breakers 2011-02-16 03:06:34 +00:00
Jon Tibble d5596583ff Fixes, cleanups, strings 2011-02-14 16:08:17 +00:00
Jon Tibble 321269b11b Fixes and cleanups 2011-02-13 01:24:47 +00:00
Jon Tibble 323ab52848 Strings and magic numbers 2011-02-13 01:09:04 +00:00
Jon Tibble bffa44a1cb Wizards and applications 2011-02-12 20:25:40 +00:00
Jon Tibble 34cf16fd06 WizardStrings 2011-02-12 15:37:02 +00:00
Jon Tibble 0988158c56 Import fixes 2011-02-12 04:20:53 +00:00
Jon Tibble a8f16262fc More string refactoring 2011-02-12 04:09:03 +00:00
Jon Tibble 8d18a51f09 WizardStrings 2011-02-12 02:43:13 +00:00
Jon Tibble 9366155924 UiStrings and SongStrings 2011-02-11 21:17:56 +00:00
Jon Tibble a7f8d5ca84 Fixes 2011-02-10 21:07:28 +00:00
Jon Tibble 79d93c515a Another wizard refactor 2011-02-10 19:37:02 +00:00
Jon Tibble 5607b09f0d Dedupe translations 2011-02-09 05:04:12 +00:00
Jon Tibble 1ecaab4fa9 Cleanup import wizard spacers 2011-02-03 20:12:06 +00:00
Jon Tibble 842e4ba5f3 Cleanup bible import form 2011-02-03 19:44:03 +00:00