ALT Linux Bugzilla
– Attachment 4484 Details for
Bug 20154
GtkBuilder в не-UTF8 локалях некорректно выводит переводы
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
Модификация тесткейса
1.py (text/x-python), 472 bytes, created by
real@altlinux.org
on 2010-08-05 06:04:01 MSD
(
hide
)
Description:
Модификация тесткейса
Filename:
MIME Type:
Creator:
real@altlinux.org
Created:
2010-08-05 06:04:01 MSD
Size:
472 bytes
patch
obsolete
>#!/usr/bin/python >import gtk >import locale >from locale import * > >setlocale(LC_ALL, '') >locale.bind_textdomain_codeset("libc", "UTF-8") >Builder = gtk.Builder() >Builder.set_translation_domain("libc") >Builder.add_from_string( >"""<?xml version="1.0"?> ><interface><object class="GtkDialog" id="dialog"> ><property name="title" translatable="yes">Success</property> ></object></interface>""") >Dialog = Builder.get_object("dialog") >Dialog.resize(300, 100) >Dialog.show() >gtk.main()
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 20154
:
3596
| 4484