Added some modules from Riaan Booysen:
* wx.lib.flagart: contains icons of the flags of many countries. * wx.lib.art.img2pyartprov: makes images embedded in a python file with img2py available via the wx.ArtProvider. * wx.lib.langlistctrl: A wx.ListCtrl for selecting a language, which uses the country flag icons. * An I18N sample for the demo. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
23
wxPython/demo/data/locale-src/af.po
Normal file
23
wxPython/demo/data/locale-src/af.po
Normal file
@@ -0,0 +1,23 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wxPython i18n demo\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2006-12-01 09:52-0800\n"
|
||||
"PO-Revision-Date: 2006-12-01 11:11-0800\n"
|
||||
"Last-Translator: Robin Dunn <robin@alldunn.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-Language: Afrikaans\n"
|
||||
"X-Poedit-Country: SOUTH AFRICA\n"
|
||||
|
||||
#: I18N.py:9
|
||||
msgid "the quick brown fox jumps over the lazy dog"
|
||||
msgstr "die vinnige bruin vos spring oor die lui hond"
|
||||
|
23
wxPython/demo/data/locale-src/de.po
Normal file
23
wxPython/demo/data/locale-src/de.po
Normal file
@@ -0,0 +1,23 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wxPython i18n demo\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2006-12-01 09:52-0800\n"
|
||||
"PO-Revision-Date: 2006-12-01 11:16-0800\n"
|
||||
"Last-Translator: Robin Dunn <robin@alldunn.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-Language: German\n"
|
||||
"X-Poedit-Country: GERMANY\n"
|
||||
|
||||
#: I18N.py:9
|
||||
msgid "the quick brown fox jumps over the lazy dog"
|
||||
msgstr "der schnelle braune Fuchs sprang über den faulen Hund"
|
||||
|
22
wxPython/demo/data/locale-src/es.po
Normal file
22
wxPython/demo/data/locale-src/es.po
Normal file
@@ -0,0 +1,22 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wxPython i18n demo\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2006-12-01 09:52-0800\n"
|
||||
"PO-Revision-Date: 2006-12-01 11:25-0800\n"
|
||||
"Last-Translator: Robin Dunn <robin@alldunn.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-Language: Spanish\n"
|
||||
|
||||
#: I18N.py:9
|
||||
msgid "the quick brown fox jumps over the lazy dog"
|
||||
msgstr "el zorro marrón rápido saltó sobre el perro perezoso"
|
||||
|
22
wxPython/demo/data/locale-src/fr.po
Normal file
22
wxPython/demo/data/locale-src/fr.po
Normal file
@@ -0,0 +1,22 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wxPython i18n demo\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2006-12-01 09:52-0800\n"
|
||||
"PO-Revision-Date: 2006-12-01 11:14-0800\n"
|
||||
"Last-Translator: Robin Dunn <robin@alldunn.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-Language: French\n"
|
||||
|
||||
#: I18N.py:9
|
||||
msgid "the quick brown fox jumps over the lazy dog"
|
||||
msgstr "le renard brun rapide a sauté par-dessus le chien paresseux"
|
||||
|
15
wxPython/demo/data/locale-src/install
Executable file
15
wxPython/demo/data/locale-src/install
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
#----------------------------------------------------------------------
|
||||
# Run msgfmt on all the .po files, and install them to ../locale
|
||||
#----------------------------------------------------------------------
|
||||
|
||||
DEST=../locale
|
||||
NAME=wxpydemo
|
||||
|
||||
for po in ??.po ??_??.po; do
|
||||
echo compiling message catalog for $po
|
||||
BASE=`basename $po .po`
|
||||
mkdir -p $DEST/$BASE/LC_MESSAGES
|
||||
msgfmt -o $DEST/$BASE/LC_MESSAGES/$NAME.mo $po
|
||||
done
|
||||
|
23
wxPython/demo/data/locale-src/it.po
Normal file
23
wxPython/demo/data/locale-src/it.po
Normal file
@@ -0,0 +1,23 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wxPython i18n demo\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2006-12-01 09:52-0800\n"
|
||||
"PO-Revision-Date: 2006-12-01 11:17-0800\n"
|
||||
"Last-Translator: Robin Dunn <robin@alldunn.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-Language: Italian\n"
|
||||
"X-Poedit-Country: ITALY\n"
|
||||
|
||||
#: I18N.py:9
|
||||
msgid "the quick brown fox jumps over the lazy dog"
|
||||
msgstr "la volpe marrone rapida ha saltato sopra il cane pigro"
|
||||
|
21
wxPython/demo/data/locale-src/wxpydemo.po
Normal file
21
wxPython/demo/data/locale-src/wxpydemo.po
Normal file
@@ -0,0 +1,21 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wxPython i18n demo\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2006-12-01 09:52-0800\n"
|
||||
"PO-Revision-Date: 2006-12-01 11:08-0800\n"
|
||||
"Last-Translator: Robin Dunn <robin@alldunn.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: I18N.py:9
|
||||
msgid "the quick brown fox jumps over the lazy dog"
|
||||
msgstr ""
|
||||
|
BIN
wxPython/demo/data/locale/af/LC_MESSAGES/wxpydemo.mo
Normal file
BIN
wxPython/demo/data/locale/af/LC_MESSAGES/wxpydemo.mo
Normal file
Binary file not shown.
BIN
wxPython/demo/data/locale/de/LC_MESSAGES/wxpydemo.mo
Normal file
BIN
wxPython/demo/data/locale/de/LC_MESSAGES/wxpydemo.mo
Normal file
Binary file not shown.
BIN
wxPython/demo/data/locale/es/LC_MESSAGES/wxpydemo.mo
Normal file
BIN
wxPython/demo/data/locale/es/LC_MESSAGES/wxpydemo.mo
Normal file
Binary file not shown.
BIN
wxPython/demo/data/locale/fr/LC_MESSAGES/wxpydemo.mo
Normal file
BIN
wxPython/demo/data/locale/fr/LC_MESSAGES/wxpydemo.mo
Normal file
Binary file not shown.
BIN
wxPython/demo/data/locale/it/LC_MESSAGES/wxpydemo.mo
Normal file
BIN
wxPython/demo/data/locale/it/LC_MESSAGES/wxpydemo.mo
Normal file
Binary file not shown.
Reference in New Issue
Block a user