fuck localization support in python standard library

This commit is contained in:
Eray Özkural
2005-11-05 21:14:05 +00:00
parent 100f54d56c
commit b52b53b395
2 changed files with 10 additions and 9 deletions
+5 -8
View File
@@ -1,16 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Project SYSTEM "Project-3.8.dtd"> <!DOCTYPE Project SYSTEM "Project-3.8.dtd">
<!-- Project file for project pisi --> <!-- Project file for project pisi -->
<!-- Saved: 2005-11-04, 03:15:17 --> <!-- Saved: 2005-11-05, 22:49:17 -->
<!-- Copyright (C) 2005 PiSi Development Team, pisi@uludag.org.tr --> <!-- Copyright (C) 2005 PiSi Development Team, pisi@uludag.org.tr -->
<Project version="3.8"> <Project version="3.8">
<ProgLanguage mixed="0">Python</ProgLanguage> <ProgLanguage mixed="0">Python</ProgLanguage>
<UIType>Qt</UIType> <UIType>Qt</UIType>
<Description>The package management software of Pardus distribution. <Description>The package management software of Pardus distribution.
</Description> </Description>
<Version></Version> <VersIon></VersIon>
<Author>PiSi Development Team</Author> <Author>PiSi Development Team</Author>
<Email>pisi@uludag.org.tr</Email> <EmaIl>pisi@uludag.org.tr</EmaIl>
<Sources> <Sources>
<Source> <Source>
<Dir>tools</Dir> <Dir>tools</Dir>
@@ -373,9 +373,6 @@
<Dir>tests</Dir> <Dir>tests</Dir>
<Name>filestests.py</Name> <Name>filestests.py</Name>
</Source> </Source>
<Source>
<Name>component.py</Name>
</Source>
<Source> <Source>
<Dir>pisi</Dir> <Dir>pisi</Dir>
<Name>component.py</Name> <Name>component.py</Name>
@@ -422,9 +419,9 @@
</Vcs> </Vcs>
<FiletypeAssociations> <FiletypeAssociations>
<FiletypeAssociation pattern="*.ui.h" type="FORMS" /> <FiletypeAssociation pattern="*.ui.h" type="FORMS" />
<FiletypeAssociation pattern="*.ptl" type="SOURCES" />
<FiletypeAssociation pattern="*.idl" type="INTERFACES" />
<FiletypeAssociation pattern="*.ui" type="FORMS" /> <FiletypeAssociation pattern="*.ui" type="FORMS" />
<FiletypeAssociation pattern="*.idl" type="INTERFACES" />
<FiletypeAssociation pattern="*.ptl" type="SOURCES" />
<FiletypeAssociation pattern="*.py" type="SOURCES" /> <FiletypeAssociation pattern="*.py" type="SOURCES" />
</FiletypeAssociations> </FiletypeAssociations>
</Project> </Project>
+5 -1
View File
@@ -525,7 +525,11 @@ class autoxml(oo.autosuper, oo.autoprop):
if identifier is "": if identifier is "":
return "" return ""
else: else:
return identifier[0].lower() + identifier[1:] if identifier[0]=='I':
lowly = 'i' # because of pythonic idiots we can't choose locale in lower
else:
lowly = identifier[0].lower()
return lowly + identifier[1:]
def tagpath_head_last(cls, tagpath): def tagpath_head_last(cls, tagpath):
"returns split of the tag path into last tag and the rest" "returns split of the tag path into last tag and the rest"