[New-bugs-announce] [issue8938] Mac OS dialogs(Save As..., Load) translation
Pavel Denisow
report at bugs.python.org
Tue Jun 8 13:34:32 CEST 2010
New submission from Pavel Denisow <denisov at ext.panasonic.ru>:
We have a problem with using native Mac OS dialogs (Save As..., Load) on Russian Mac:
Dialogs are not translated even with file-translation. See attached screenshots.
Same code in Linux works perfect. C++ QT project in Mac has translation in native dialogs.
Test project on python and PyQT contains not-translated dialogs.
For tk and EasyDialogs result is the same - not translated.
Mac OS: 10.5.2, Russian locale.
Python: 2.5.1
PyQt test project
----------------------------------------
from PyQt4 import QtGui, QtCore
app = QtGui.QApplication(sys.argv)
QtGui.QFileDialog().getSaveFileName()
QtGui.QFileDialog().getOpenFileName()
sys.exit(app.exec_())
----------------------------------------
tk test project
----------------------------------------
from tkCommonDialog import Dialog
class OpenDialog(Dialog):
command = "tk_getOpenFile"
class SaveDialog(Dialog):
command = "tk_getSaveFile"
OpenDialog().show()
SaveDialog().show()
----------------------------------------
EasyDialogs test project
----------------------------------------
import EasyDialogs
EasyDialogs.AskFileForSave()
EasyDialogs.AskFileForOpen()
----------------------------------------
----------
assignee: ronaldoussoren
components: Macintosh, Unicode
files: filedialogs_mac.zip
messages: 107314
nosy: Pavel.Denisow, ronaldoussoren
priority: normal
severity: normal
status: open
title: Mac OS dialogs(Save As..., Load) translation
type: behavior
versions: Python 2.5
Added file: http://bugs.python.org/file17588/filedialogs_mac.zip
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8938>
_______________________________________
More information about the New-bugs-announce
mailing list