From a0aba0a715a95d4bd36953d9b35a05f112b24d4e Mon Sep 17 00:00:00 2001 From: Jon Tibble Date: Tue, 15 Feb 2011 14:17:35 +0000 Subject: [PATCH] Remove grammar breaking strings --- openlp/core/ui/wizard.py | 11 +---------- openlp/plugins/songs/lib/ui.py | 11 ----------- 2 files changed, 1 insertion(+), 21 deletions(-) diff --git a/openlp/core/ui/wizard.py b/openlp/core/ui/wizard.py index c72d6a084..b3b4f9233 100644 --- a/openlp/core/ui/wizard.py +++ b/openlp/core/ui/wizard.py @@ -47,7 +47,6 @@ class WizardStrings(object): CSV = u'CSV' EW = u'EasyWorship' ES = u'EasiSlides' - GDP = translate('OpenLP.Ui', 'Generic Document or Presentation') OL = u'OpenLyrics' OS = u'OpenSong' OSIS = u'OSIS' @@ -56,14 +55,9 @@ class WizardStrings(object): SSP = u'SongShow Plus' WoW = u'Words of Worship' # These strings should need a good reason to be retranslated elsewhere. - Description = unicode(translate('OpenLP.Ui', 'This wizard will help you ' - 'to %s %s from a variety of formats. Click the next button ' - 'below to start the process by selecting a format to %s from.', - 'Variable 1 & 3 are import/export. Variable 2 is a type like Bibles')) - FinishedType = unicode(translate('OpenLP.Ui', 'Finished %s.')) FormatLabel = translate('OpenLP.Ui', 'Format:') Importing = translate('OpenLP.Ui', 'Importing') - ImportingType = unicode(translate('OpenLP.Ui', 'Importing %s...')) + ImportingType = unicode(translate('OpenLP.Ui', 'Importing "%s"...')) ImportSelect = translate('OpenLP.Ui', 'Select Import Source') ImportSelectLong = unicode(translate('OpenLP.Ui', 'Select the import format and the location to import from.')) @@ -74,9 +68,6 @@ class WizardStrings(object): OpenTypeFile = unicode(translate('OpenLP.Ui', 'Open %s File')) Ready = translate('OpenLP.Ui', 'Ready.') StartingImport = translate('OpenLP.Ui', 'Starting import...') - Welcome = u'%s' % \ - translate('OpenLP.Ui', 'Welcome to the %s %s Wizard', - 'Variable 1 is the type e.g. Bible and variable 2 is import/export') YouSpecifyFile = unicode(translate('OpenLP.Ui', 'You need to specify at ' 'least one %s file to import from.', 'A file type e.g. OpenSong')) diff --git a/openlp/plugins/songs/lib/ui.py b/openlp/plugins/songs/lib/ui.py index beab16dd0..85d609762 100644 --- a/openlp/plugins/songs/lib/ui.py +++ b/openlp/plugins/songs/lib/ui.py @@ -38,18 +38,7 @@ class SongStrings(object): Authors = translate('OpenLP.Ui', 'Authors', 'Plural') AuthorUnknown = translate('OpenLP.Ui', 'Author Unknown') # Used in the UI. AuthorUnknownUnT = u'Author Unknown' # Used to populate the database. - CouldNotAdd = unicode(translate('OpenLP.Ui', 'Could not add your %s.')) - NoDeleteAssigned = unicode(translate('OpenLP.Ui', 'This %s cannot be ' - 'deleted as it is currently assigned to at least one song.')) SongBook = translate('OpenLP.Ui', 'Song Book', 'Singular') SongBooks = translate('OpenLP.Ui', 'Song Books', 'Plural') - SureDeleteType = unicode(translate('OpenLP.Ui', - 'Are you sure you want to delete the selected %s?')) - ThisTypeExists = unicode(translate('OpenLP.Ui', 'This %s already exists.')) Topic = translate('OpenLP.Ui', 'Topic', 'Singular') Topics = translate('OpenLP.Ui', 'Topics', 'Plural') - TypeInList = unicode(translate('OpenLP.Ui', - 'This %s is already in the list.')) - TypeMaintenance = unicode(translate('OpenLP.Ui', '%s Maintenance')) - TypeNotExistAdd = unicode(translate('OpenLP.Ui', - 'This %s does not exist, do you want to add it?'))