New submission from Pavel Denisow <[email protected]>:
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 <[email protected]>
<http://bugs.python.org/issue8938>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com