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:
Robin Dunn
2006-12-02 04:51:13 +00:00
parent d8dd53b239
commit 13db99f1f5
22 changed files with 5993 additions and 110 deletions

View 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"

View 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"

View 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"

View 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"

View 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

View 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"

View 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 ""

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.