Move gettext, ngettext and sgettext calls into the new ggettext module. All of them return unicode all of the time.
svn: r14091
This commit is contained in:
po/test
src
Assistant.pyBookmarks.pyColumnOrder.pyDateEdit.pyDisplayState.pyExportAssistant.pyExportOptions.pyGrampsAboutDialog.pyGrampsCfg.py
Filters
Rules
Event
_AllEvents.py_ChangedSince.py_EventPrivate.py_HasAttribute.py_HasData.py_HasGallery.py_HasIdOf.py_HasMarkerOf.py_HasNote.py_HasNoteMatchingSubstringOf.py_HasNoteRegexp.py_HasReferenceCountOf.py_HasSource.py_HasType.py_MatchesFilter.py_MatchesPersonFilter.py_MatchesSourceFilter.py_RegExpIdOf.py
Family
_AllFamilies.py_ChangedSince.py_ChildHasIdOf.py_ChildHasNameOf.py_FamilyPrivate.py_FatherHasIdOf.py_FatherHasNameOf.py_HasAttribute.py_HasEvent.py_HasGallery.py_HasIdOf.py_HasLDS.py_HasMarkerOf.py_HasNote.py_HasNoteMatchingSubstringOf.py_HasNoteRegexp.py_HasReferenceCountOf.py_HasRelType.py_HasSource.py_IsBookmarked.py_MatchesFilter.py_MotherHasIdOf.py_MotherHasNameOf.py_RegExpChildName.py_RegExpFatherName.py_RegExpIdOf.py_RegExpMotherName.py_SearchChildName.py_SearchFatherName.py_SearchMotherName.py
MediaObject
_AllMedia.py_ChangedSince.py_HasAttribute.py_HasIdOf.py_HasMedia.py_HasNoteMatchingSubstringOf.py_HasNoteRegexp.py_HasReferenceCountOf.py_MatchesFilter.py_MediaPrivate.py_RegExpIdOf.py
Note
_AllNotes.py_ChangedSince.py_HasIdOf.py_HasMarkerOf.py_HasNote.py_HasReferenceCountOf.py_MatchesFilter.py_MatchesRegexpOf.py_MatchesSubstringOf.py_NotePrivate.py_RegExpIdOf.py
Person
_ChangedSince.py_DeepRelationshipPathBetween.py_Disconnected.py_Everyone.py_FamilyWithIncompleteEvent.py_HasAddress.py_HasAssociation.py_HasAttribute.py_HasBirth.py_HasCommonAncestorWith.py_HasCommonAncestorWithFilterMatch.py_HasCompleteRecord.py_HasDeath.py_HasEvent.py_HasFamilyAttribute.py_HasFamilyEvent.py_HasGallery.py_HasIdOf.py_HasLDS.py_HasMarkerOf.py_HasNameOf.py_HasNote.py_HasNoteMatchingSubstringOf.py_HasNoteRegexp.py_HasRelationship.py_HasSource.py_HasSourceOf.py_HasTextMatchingSubstringOf.py_HasUnknownGender.py_HaveAltFamilies.py_HaveChildren.py_IncompleteNames.py_IsAncestorOf.py_IsAncestorOfFilterMatch.py_IsBookmarked.py_IsChildOfFilterMatch.py_IsDefaultPerson.py_IsDescendantFamilyOf.py_IsDescendantOf.py_IsDescendantOfFilterMatch.py_IsFemale.py_IsLessThanNthGenerationAncestorOf.py_IsLessThanNthGenerationAncestorOfBookmarked.py_IsLessThanNthGenerationAncestorOfDefaultPerson.py_IsLessThanNthGenerationDescendantOf.py_IsMale.py_IsMoreThanNthGenerationAncestorOf.py_IsMoreThanNthGenerationDescendantOf.py_IsParentOfFilterMatch.py_IsSiblingOfFilterMatch.py_IsSpouseOfFilterMatch.py_IsWitness.py_MatchIdOf.py_MatchesEventFilter.py_MatchesFilter.py_MissingParent.py_MultipleMarriages.py_NeverMarried.py_NoBirthdate.py_PeoplePrivate.py_PersonWithIncompleteEvent.py_ProbablyAlive.py_RegExpIdOf.py_RegExpName.py_RelationshipPathBetween.py_RelationshipPathBetweenBookmarks.py_SearchName.py
Place
_AllPlaces.py_ChangedSince.py_HasGallery.py_HasIdOf.py_HasNoLatOrLon.py_HasNote.py_HasNoteMatchingSubstringOf.py_HasNoteRegexp.py_HasPlace.py_HasReferenceCountOf.py_InLatLonNeighborhood.py_MatchesEventFilter.py_MatchesFilter.py_PlacePrivate.py_RegExpIdOf.py
Repository
_AllRepos.py_ChangedSince.py_HasIdOf.py_HasNoteMatchingSubstringOf.py_HasNoteRegexp.py_HasReferenceCountOf.py_HasRepo.py_MatchesFilter.py_RegExpIdOf.py_RepoPrivate.py
Source
_AllSources.py_ChangedSince.py_HasGallery.py_HasIdOf.py_HasNote.py_HasNoteMatchingSubstringOf.py_HasNoteRegexp.py_HasReferenceCountOf.py_HasRepository.py_HasSource.py_MatchesFilter.py_RegExpIdOf.py_SourcePrivate.py
_ChangedSinceBase.py_Everything.py_HasAttributeBase.py_HasEventBase.py_HasGalleryBase.py_HasGrampsId.py_HasLDSBase.py_HasMarkerBase.py_HasNoteBase.py_HasNoteRegexBase.py_HasNoteSubstrBase.py_HasReferenceCountBase.py_HasSourceBase.py_HasTextMatchingSubstringOf.py_IsPrivate.py_MatchesFilterBase.py_RegExpIdBase.py_Rule.pySideBar
_EventSidebarFilter.py_FamilySidebarFilter.py_MediaSidebarFilter.py_NoteSidebarFilter.py_PersonSidebarFilter.py_PlaceSidebarFilter.py_RepoSidebarFilter.py_SidebarFilter.py_SourceSidebarFilter.py
_FilterParser.py_FilterStore.py_SearchBar.pyGrampsLogger
LdsUtils.pyMerge
Mime
PlaceUtils.pyPluginUtils
QuestionDialog.pyQuickReports.pyRelationship.pyReorder.pyReportBase
_CommandLineReport.py_Constants.py_DocReportDialog.py_Endnotes.py_GraphvizReportDialog.py_PaperMenu.py_ReportDialog.py_ReportUtils.py_StyleComboBox.py_StyleEditor.py
ScratchPad.pySimple
Spell.pyTipOfDay.pyToolTips.pyTransUtils.pyUndoHistory.pyUtils.pycli
config.pydocgen
gen
Makefile.am
db
display
ggettext.pylib
attrtype.pychildreftype.pydate.pyeventroletype.pyeventtype.pyfamilyreltype.pygrampstype.pyldsord.pymarkertype.pynametype.pynotetype.pyrepotype.pysrcmediatype.pystyledtexttagtype.pyurltype.py
plug
proxy
gui
dbloader.pydbman.py
editors
addmedia.py
filtereditor.pygrampsgui.pydisplaytabs
addrembedlist.pyattrembedlist.pybackreflist.pybackrefmodel.pybuttontab.pydataembedlist.pyembeddedlist.pyeventembedlist.pyeventrefmodel.pyfamilyldsembedlist.pygallerytab.pyldsembedlist.pylocationembedlist.pynameembedlist.pynamemodel.pynotetab.pypersoneventembedlist.pypersonrefembedlist.pyrepoembedlist.pysourceembedlist.pywebembedlist.py
editaddress.pyeditattribute.pyeditchildref.pyeditevent.pyediteventref.pyeditfamily.pyeditldsord.pyeditlocation.pyeditmedia.pyeditmediaref.pyeditname.pyeditnote.pyeditperson.pyeditpersonref.pyeditplace.pyeditprimary.pyeditreporef.pyeditrepository.pyeditsource.pyeditsourceref.pyediturl.pyobjectentries.pyselectors
selectevent.pyselectfamily.pyselectnote.pyselectobject.pyselectperson.pyselectplace.pyselectrepository.pyselectsource.py
utils.pyviewmanager.pyviews
widgets
plugins
BookReport.pyRecords.py
docgen
drawreport
export
ExportCsv.pyExportFtree.pyExportGedcom.pyExportGeneWeb.pyExportPkg.pyExportVCalendar.pyExportVCard.pyExportXml.py
gramplet
AgeOnDateGramplet.pyAgeStats.pyAttributesGramplet.pyCalendarGramplet.pyDescendGramplet.pyFanChartGramplet.pyFaqGramplet.pyGivenNameGramplet.pyPedigreeGramplet.pyPluginManagerGramplet.pyQuickViewGramplet.pyRelativeGramplet.pySessionLogGramplet.pyStatsGramplet.pySurnameCloudGramplet.pyToDoGramplet.pyTopSurnamesGramplet.pyWelcomeGramplet.pyWhatsNext.py
graph
import
ImportCsv.pyImportGedcom.pyImportGeneWeb.pyImportGpkg.pyImportGrdb.pyImportProGen.pyImportVCard.pyImportXml.py
lib
mapservices
quickview
AgeOnDate.pyAttributeMatch.pyFilterByName.pyOnThisDay.pyReferences.pyReporef.pySameSurnames.pyall_events.pyall_relations.pylineage.pysiblings.py
textreport
AncestorReport.pyBirthdayReport.pyCustomBookText.pyDescendReport.pyDetAncestralReport.pyDetDescendantReport.pyEndOfLineReport.pyFamilyGroup.pyIndivComplete.pyKinshipReport.pyMarkerReport.pyNumberOfAncestorsReport.pyPlaceReport.pySimpleBookTitle.pySummary.py
tool
CalculateEstimatedDates.pyChangeNames.pyChangeTypes.pyCheck.pyDateParserDisplayTest.pyDesbrowser.pyDumpGenderStats.pyEval.pyEventCmp.pyEventNames.pyExtractCity.pyFindDupes.pyLeak.pyMediaManager.pyNotRelated.pyOwnerEditor.pyPHPGedViewConnector.pyPatchNames.pyRebuild.pyRebuildRefMap.pyRelCalc.pyRemoveUnused.pyReorderIds.pySortEvents.pySoundGen.pyTestcaseGenerator.pyVerify.py
view
eventview.pyfamilyview.pyfanchartview.pygeoview.pygrampletview.pyhtmlrenderer.pymediaview.pynoteview.pypedigreeview.pypedigreeviewext.pypersonview.pyplacetreeview.pyplaceview.pyrelview.pyrepoview.pysourceview.py
webreport
@@ -29,8 +29,8 @@ Relationship View
|
||||
# Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from TransUtils import sgettext as _
|
||||
from gettext import ngettext
|
||||
from gen.ggettext import sgettext as _
|
||||
from gen.ggettext import ngettext
|
||||
import cgi
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user